Gutenberg Blocks – Ultimate Addons for Gutenberg - Version 1.14.0

Version Description

  • Improvement: A dynamic CSS file will be generated, earlier inline CSS was loading on the page.
  • Improvement: WordPress 5.3 compatibility changes.
  • Improvement: Content Timeline - P and Span tag options added for Price List Title.
  • Improvement - EditorsKit navigator toolbar support.
  • Improvement - Filter added to disable redirect on activation
  • Improvement: Post - Show/Hide Category option added.
  • Improvement: Post - Show/Hide Title option added.
  • Improvement: Post - Filter for attributes.
  • Improvement: Price List - P and Span tag options added for Price List Title.
  • Improvement: Post Timeline - P and Span tag options added for Price List Title.
  • Improvement: Rank Math SEO compatibility.
  • Improvement: Social Share - Removed jQuery dependency for Social Share script.
  • Improvement: Table of Contents - Margin option added.
  • Improvement: Testimonial - Enabled to add more than 10 testimonials.
  • Fix: Correctly added nonce to allow notice to be dismissed.
  • Fix: Advanced Columns - Nested Columns causing an issue for stacking options.
  • Fix: Multi Buttons - Font Size not replicating on front end issue in few themes.
  • Fix: Post - Added {$attributes} parameter to the Query filter.
  • Fix: Post - Border Color not being applied on hover.
  • Fix: Post - Invalid Font Family being applied issue.
  • Fix: Post - Seo analysis tool scan timed out issue.
  • Fix: Post Carousel - Console error fixed in editor.
  • Fix: Post Carousel - Carousel arrows issue with OceanWP theme.
  • Fix: Post Masonry - Masonry not working in Safari browser issue.
  • Fix: Table of Contents - JS issue with Social Share.
  • Fix: Typography - Decimal values allowed for the Font Sizes.
  • Deprecated: Advanced Columns - Deprecated Content Alignment option.
Download this release

Release Info

Developer vrundakansara
Plugin Icon Gutenberg Blocks – Ultimate Addons for Gutenberg
Version 1.14.0
Comparing to
See all releases

Code changes from version 1.13.6 to 1.14.0

admin/assets/admin-menu-settings.js CHANGED
@@ -94,6 +94,38 @@
94
  $( document ).delegate( ".uag-install-theme", "click", UAGBAdmin._installNow )
95
  $( document ).delegate( ".uag-activate-theme", "click", UAGBAdmin._activateTheme)
96
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
97
  },
98
 
99
  /**
94
  $( document ).delegate( ".uag-install-theme", "click", UAGBAdmin._installNow )
95
  $( document ).delegate( ".uag-activate-theme", "click", UAGBAdmin._activateTheme)
96
 
97
+ $( document ).delegate( ".uag-file-generation", "click", UAGBAdmin._fileGeneration )
98
+
99
+ },
100
+
101
+ _fileGeneration: function( e ) {
102
+
103
+ e.preventDefault()
104
+ var button = $( this ),
105
+ value = button.data("value")
106
+
107
+ var data = {
108
+ value : value,
109
+ action: "uagb_file_generation",
110
+ nonce: uagb.ajax_nonce,
111
+ }
112
+
113
+ if ( button.hasClass( "updating-message" ) ) {
114
+ return
115
+ }
116
+
117
+ $( button ).addClass("updating-message")
118
+
119
+ UAGBAjaxQueue.add({
120
+ url: ajaxurl,
121
+ type: "POST",
122
+ data: data,
123
+ success: function(data){
124
+ console.log(data);
125
+ location.reload();
126
+ }
127
+ })
128
+
129
  },
130
 
131
  /**
admin/uagb-admin.php CHANGED
@@ -1,41 +1,45 @@
1
- <?php
2
- /**
3
- * UAGB Admin HTML.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- ?>
9
- <div class="uagb-menu-page-wrapper wrap uagb-clear general">
10
- <div id="uagb-menu-page">
11
- <div class="uagb-menu-page-header <?php echo esc_attr( implode( ' ', $uagb_header_wrapper_class ) ); ?>">
12
- <div class="uagb-container uagb-flex">
13
- <div class="uagb-title">
14
- <a href="<?php echo esc_url( $uagb_visit_site_url ); ?>" target="_blank" rel="noopener" >
15
- <?php if ( $uagb_icon ) { ?>
16
- <img src="<?php echo esc_url( UAGB_URL . 'admin/assets/images/uagb_logo.svg' ); ?>" class="uagb-header-icon" alt="<?php echo UAGB_PLUGIN_NAME; ?> " >
17
- <?php
18
- } else {
19
- echo '<h4>' . UAGB_PLUGIN_NAME . '</h4>'; }
20
- ?>
21
- <span class="uagb-plugin-version"><?php echo UAGB_VER; ?></span>
22
- </a>
23
- </div>
24
- <div class="uagb-top-links">
25
- <?php esc_attr_e( 'Take Gutenberg to The Next Level! - ', 'ultimate-addons-for-gutenberg' ); ?>
26
- <a href="<?php echo esc_url( $uagb_visit_site_url ); ?>" target="_blank" rel=""><?php _e( 'View Demos', 'ultimate-addons-for-gutenberg' ); ?></a>
27
- </div>
28
- </div>
29
- </div>
30
-
31
- <?php
32
- // Settings update message.
33
- if ( isset( $_REQUEST['message'] ) && ( 'saved' === $_REQUEST['message'] || 'saved_ext' === $_REQUEST['message'] ) ) {
34
- ?>
35
- <div id="message" class="notice notice-success is-dismissive uagb-notice"><p> <?php esc_html_e( 'Settings saved successfully.', 'ultimate-addons-for-gutenberg' ); ?> </p></div>
36
- <?php
37
- }
38
- do_action( 'uagb_render_admin_content' );
39
- ?>
40
- </div>
41
- </div>
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Admin HTML.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ ?>
13
+ <div class="uagb-menu-page-wrapper wrap uagb-clear general">
14
+ <div id="uagb-menu-page">
15
+ <div class="uagb-menu-page-header <?php echo esc_attr( implode( ' ', $uagb_header_wrapper_class ) ); ?>">
16
+ <div class="uagb-container uagb-flex">
17
+ <div class="uagb-title">
18
+ <a href="<?php echo esc_url( $uagb_visit_site_url ); ?>" target="_blank" rel="noopener" >
19
+ <?php if ( $uagb_icon ) { ?>
20
+ <img src="<?php echo esc_url( UAGB_URL . 'admin/assets/images/uagb_logo.svg' ); ?>" class="uagb-header-icon" alt="<?php echo UAGB_PLUGIN_NAME; ?> " >
21
+ <?php
22
+ } else {
23
+ echo '<h4>' . UAGB_PLUGIN_NAME . '</h4>'; }
24
+ ?>
25
+ <span class="uagb-plugin-version"><?php echo UAGB_VER; ?></span>
26
+ </a>
27
+ </div>
28
+ <div class="uagb-top-links">
29
+ <?php esc_attr_e( 'Take Gutenberg to The Next Level! - ', 'ultimate-addons-for-gutenberg' ); ?>
30
+ <a href="<?php echo esc_url( $uagb_visit_site_url ); ?>" target="_blank" rel=""><?php _e( 'View Demos', 'ultimate-addons-for-gutenberg' ); ?></a>
31
+ </div>
32
+ </div>
33
+ </div>
34
+
35
+ <?php
36
+ // Settings update message.
37
+ if ( isset( $_REQUEST['message'] ) && ( 'saved' === $_REQUEST['message'] || 'saved_ext' === $_REQUEST['message'] ) ) {
38
+ ?>
39
+ <div id="message" class="notice notice-success is-dismissive uagb-notice"><p> <?php esc_html_e( 'Settings saved successfully.', 'ultimate-addons-for-gutenberg' ); ?> </p></div>
40
+ <?php
41
+ }
42
+ do_action( 'uagb_render_admin_content' );
43
+ ?>
44
+ </div>
45
+ </div>
admin/uagb-general.php CHANGED
@@ -1,192 +1,238 @@
1
- <?php
2
- /**
3
- * General Setting Form
4
- *
5
- * @package UAGB
6
- */
7
-
8
- $blocks = UAGB_Helper::get_block_options();
9
- $kb_data = UAGB_Helper::knowledgebase_data();
10
- $enable_kb = $kb_data['enable_knowledgebase'];
11
- $kb_url = $kb_data['knowledgebase_url'];
12
-
13
- $support_data = UAGB_Helper::support_data();
14
- $enable_support = $support_data['enable_support'];
15
- $support_url = $support_data['support_url'];
16
-
17
- $uagb_support_link = apply_filters( 'uagb_support_link', $support_url );
18
- $uagb_support_link_text = apply_filters( 'uagb_support_link_text', __( 'Submit a Ticket »', 'ultimate-addons-for-gutenberg' ) );
19
- ?>
20
-
21
- <div class="uagb-container uagb-general">
22
- <div id="poststuff">
23
- <div id="post-body" class="columns-2">
24
- <div id="post-body-content">
25
- <!-- All WordPress Notices below header -->
26
- <h1 class="screen-reader-text"> <?php esc_html_e( 'Ultimate Addons for Gutenberg', 'ultimate-addons-for-gutenberg' ); ?> </h1>
27
- <div class="widgets postbox">
28
- <div class="uagb-intro-section">
29
- <div class="uagb-intro-col">
30
- <h2>
31
- <span class="uagb-intro-icon dashicons dashicons-megaphone"></span>
32
- <span><?php esc_html_e( 'Welcome to the Ultimate Addons for Gutenberg!', 'ultimate-addons-for-gutenberg' ); ?></span>
33
- </h2>
34
- <p><?php esc_html_e( 'Thank you for choosing Ultimate Addons for Gutenberg - the most comprehensive library of advanced and creative blocks to build a stunning website and blog faster than ever before!', 'ultimate-addons-for-gutenberg' ); ?></p>
35
- <a href="https://www.ultimategutenberg.com/getting-started-with-gutenberg-blocks/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'How to use the Ultimate Addons for Gutenberg Blocks »', 'ultimate-addons-for-gutenberg' ); ?></a>
36
- <p><strong><?php esc_html_e( 'Ready-to-use Full Demo Websites - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Get professionally designed 20+ pre-built FREE starter sites built using Gutenberg, Ultimate Addons for Gutenberg and the Astra theme. These can be imported in just a few clicks. Tweak them easily and build awesome websites in minutes!', 'ultimate-addons-for-gutenberg' ); ?></p>
37
- <a href="https://www.ultimategutenberg.com/ready-websites-for-gutenberg/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'Know More »', 'ultimate-addons-for-gutenberg' ); ?></a>
38
- </div>
39
- </div>
40
- </div>
41
- <div class="widgets postbox">
42
- <div class="uagb-intro-section">
43
- <div class="uagb-intro-col">
44
- <h2>
45
- <span class="uagb-intro-icon dashicons dashicons-smiley"></span>
46
- <span><?php esc_html_e( 'Ever-growing Library of Gutenberg Blocks', 'ultimate-addons-for-gutenberg' ); ?></span>
47
- </h2>
48
- <p><?php esc_html_e( 'The easy-to-use and extremely powerful blocks of the Ultimate Addons for Gutenberg (UAG) are now available within your Gutenberg Editor. Search for "UAG" in the block inserter and see all the Ultimate Addons for Gutenberg blocks listed below. Simply click on the block you wish to add on your page or post.', 'ultimate-addons-for-gutenberg' ); ?></p>
49
- <p><?php esc_html_e( 'Wish to see some real design implementations with these blocks?', 'ultimate-addons-for-gutenberg' ); ?></p>
50
- <a href="https://www.ultimategutenberg.com/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'See Demos »', 'ultimate-addons-for-gutenberg' ); ?></a>
51
- <p><?php esc_html_e( 'Check out the detailed knowledge base articles that will help you understand the working of each block.', 'ultimate-addons-for-gutenberg' ); ?></p>
52
- <a href="<?php echo esc_url( $uagb_support_link ); ?>" target="_blank" rel="noopener"><?php esc_attr_e( 'Visit Knowledge Base »', 'ultimate-addons-for-gutenberg' ); ?></a>
53
- </div>
54
- </div>
55
- </div>
56
- <div class="widgets postbox">
57
- <h2 class="hndle uagb-flex uagb-widgets-heading"><span><?php esc_html_e( 'Blocks', 'ultimate-addons-for-gutenberg' ); ?></span>
58
- <div class="uagb-bulk-actions-wrap">
59
- <a class="bulk-action uagb-activate-all button"> <?php esc_html_e( 'Activate All', 'ultimate-addons-for-gutenberg' ); ?> </a>
60
- <a class="bulk-action uagb-deactivate-all button"> <?php esc_html_e( 'Deactivate All', 'ultimate-addons-for-gutenberg' ); ?> </a>
61
- <a class="uagb-reusable-block-link button button-primary" href="<?php echo admin_url( 'edit.php?post_type=wp_block' ); ?>" rel="noopener"> <?php esc_html_e( 'Reusable Blocks', 'ultimate-addons-for-gutenberg' ); ?> <span class="dashicons-controls-repeat dashicons"></span></a>
62
- </div>
63
- </h2>
64
- <div class="uagb-list-section">
65
- <?php
66
- if ( is_array( $blocks ) && ! empty( $blocks ) ) :
67
- ?>
68
- <ul class="uagb-widget-list">
69
- <?php
70
- foreach ( $blocks as $addon => $info ) {
71
-
72
- $addon = str_replace( 'uagb/', '', $addon );
73
-
74
- if ( 'column' === $addon ) {
75
- continue; }
76
-
77
- $title_url = ( isset( $info['title_url'] ) && ! empty( $info['title_url'] ) ) ? 'href="' . esc_url( $info['title_url'] ) . '"' : '';
78
- $anchor_target = ( isset( $info['title_url'] ) && ! empty( $info['title_url'] ) ) ? "target='_blank' rel='noopener'" : '';
79
-
80
- $class = 'deactivate';
81
- $link = array(
82
- 'link_class' => 'uagb-activate-widget',
83
- 'link_text' => __( 'Activate', 'ultimate-addons-for-gutenberg' ),
84
- );
85
-
86
- if ( $info['is_activate'] ) {
87
- $class = 'activate';
88
- $link = array(
89
- 'link_class' => 'uagb-deactivate-widget',
90
- 'link_text' => __( 'Deactivate', 'ultimate-addons-for-gutenberg' ),
91
- );
92
- }
93
-
94
- echo '<li id="' . esc_attr( $addon ) . '" class="' . esc_attr( $class ) . '"><a class="uagb-widget-title"' . $title_url . $anchor_target . ' >' . esc_html( $info['title'] ) . '</a><div class="uagb-widget-link-wrapper">';
95
-
96
- printf(
97
- '<a href="%1$s" class="%2$s"> %3$s </a>',
98
- ( isset( $link['link_url'] ) && ! empty( $link['link_url'] ) ) ? esc_url( $link['link_url'] ) : '#',
99
- esc_attr( $link['link_class'] ),
100
- esc_html( $link['link_text'] )
101
- );
102
-
103
- if ( $info['is_activate'] && isset( $info['setting_url'] ) ) {
104
-
105
- printf(
106
- '<a href="%1$s" class="%2$s"> %3$s </a>',
107
- esc_url( $info['setting_url'] ),
108
- esc_attr( 'uagb-advanced-settings' ),
109
- esc_html( $info['setting_text'] )
110
- );
111
- }
112
-
113
- echo '</div></li>';
114
- }
115
- ?>
116
- </ul>
117
- <?php endif; ?>
118
- </div>
119
- </div>
120
- </div>
121
- <div class="postbox-container uagb-sidebar" id="postbox-container-1">
122
- <div id="side-sortables">
123
- <?php if ( ! defined( 'ASTRA_THEME_VERSION' ) ) { ?>
124
- <div class="postbox uagb-astra-sidebar">
125
- <h2 class="hndle uagb-normal-cusror">
126
- <span class="dashicons dashicons-admin-customizer"></span>
127
- <span><?php esc_html_e( 'Free Theme for Gutenberg', 'ultimate-addons-for-gutenberg' ); ?></span>
128
- </h2>
129
- <img class="uagb-ast-img" src="<?php echo esc_url( UAGB_URL . 'admin/assets/images/welcome-screen-astra.jpg' ); ?>">
130
- <div class="inside">
131
- <p><?php esc_html_e( 'Join over 200,000+ active users empowering their websites with Astra! From beginners to industry leaders, everyone loves the Astra theme.', 'ultimate-addons-for-gutenberg' ); ?></p>
132
- <h4><?php esc_html_e( 'Why Astra Theme?', 'ultimate-addons-for-gutenberg' ); ?></h4>
133
- <p><strong><?php esc_html_e( 'Faster Performance - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Built with speed and performance in mind, Astra follows the best coding standards and lets you build faster loading and better performing websites.', 'ultimate-addons-for-gutenberg' ); ?></p>
134
- <p><strong><?php esc_html_e( 'Easy Customization - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'With all the settings managed through the customizer, Astra keeps it simple and gives you lots of options to customize everything with a few clicks.', 'ultimate-addons-for-gutenberg' ); ?></p>
135
- <p><strong><?php esc_html_e( 'Pixel Perfect Design - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Astra reduces your design time by giving you pixel-perfect FREE ready-to-use websites demos within a huge library of starter sites.', 'ultimate-addons-for-gutenberg' ); ?></p>
136
- <?php
137
- $theme = wp_get_theme();
138
- if ( ! file_exists( get_theme_root() . '/astra/functions.php' ) ) {
139
- ?>
140
- <a class="button button-primary ast-sites-inactive uag-install-theme" href="#" data-slug="astra"><?php esc_html_e( 'Install Astra Now!', 'ultimate-addons-for-gutenberg' ); ?></a>
141
- <?php } elseif ( 'Astra' !== $theme->name || 'Astra' !== $theme->parent_theme && file_exists( get_theme_root() . '/astra/functions.php' ) ) { ?>
142
- <a class="button button-primary ast-sites-inactive uag-activate-theme" href="#" data-slug="astra" data-init="astra/astra.php"><?php esc_html_e( 'Activate Astra Now!', 'ultimate-addons-for-gutenberg' ); ?></a>
143
- <?php } ?>
144
- <div>
145
- </div>
146
- </div>
147
- </div>
148
- <?php } ?>
149
- <div class="postbox">
150
- <h2 class="hndle uagb-normal-cusror">
151
- <span class="dashicons dashicons-book"></span>
152
- <span><?php esc_html_e( 'Knowledge Base', 'ultimate-addons-for-gutenberg' ); ?></span>
153
- </h2>
154
- <div class="inside">
155
- <p>
156
- <?php esc_html_e( 'Not sure how something works? Take a peek at the knowledge base and learn.', 'ultimate-addons-for-gutenberg' ); ?>
157
- </p>
158
- <a href='<?php echo esc_url( $kb_url ); ?> ' target="_blank" rel="noopener"><?php esc_attr_e( 'Visit Knowledge Base »', 'ultimate-addons-for-gutenberg' ); ?></a>
159
- </div>
160
- </div>
161
- <div class="postbox">
162
- <h2 class="hndle uagb-normal-cusror">
163
- <span class="dashicons dashicons-awards"></span>
164
- <span><?php esc_html_e( 'Five Star Support', 'ultimate-addons-for-gutenberg' ); ?></span>
165
- </h2>
166
- <div class="inside">
167
- <p>
168
- <?php
169
- printf(
170
- /* translators: %1$s: uagb name. */
171
- esc_html__( 'Got a question? Get in touch with %1$s developers. We\'re happy to help!', 'ultimate-addons-for-gutenberg' ),
172
- UAGB_PLUGIN_NAME
173
- );
174
- ?>
175
- </p>
176
- <?php
177
- printf(
178
- /* translators: %1$s: uagb support link. */
179
- '%1$s',
180
- ! empty( $uagb_support_link ) ? '<a href=' . esc_url( $uagb_support_link ) . ' target="_blank" rel="noopener">' . esc_html( $uagb_support_link_text ) . '</a>' :
181
- esc_html( $uagb_support_link_text )
182
- );
183
- ?>
184
- </div>
185
- </div>
186
- </div>
187
- </div>
188
- </div>
189
- <!-- /post-body -->
190
- <br class="clear">
191
- </div>
192
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * General Setting Form
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ $blocks = UAGB_Helper::get_block_options();
13
+ $allow_file_generation = UAGB_Helper::allow_file_generation();
14
+ $kb_data = UAGB_Helper::knowledgebase_data();
15
+ $enable_kb = $kb_data['enable_knowledgebase'];
16
+ $kb_url = $kb_data['knowledgebase_url'];
17
+
18
+ $support_data = UAGB_Helper::support_data();
19
+ $enable_support = $support_data['enable_support'];
20
+ $support_url = $support_data['support_url'];
21
+
22
+ $uagb_support_link = apply_filters( 'uagb_support_link', $support_url );
23
+ $uagb_support_link_text = apply_filters( 'uagb_support_link_text', __( 'Submit a Ticket »', 'ultimate-addons-for-gutenberg' ) );
24
+ ?>
25
+
26
+ <div class="uagb-container uagb-general">
27
+ <div id="poststuff">
28
+ <div id="post-body" class="columns-2">
29
+ <div id="post-body-content">
30
+ <!-- All WordPress Notices below header -->
31
+ <h1 class="screen-reader-text"> <?php esc_html_e( 'Ultimate Addons for Gutenberg', 'ultimate-addons-for-gutenberg' ); ?> </h1>
32
+ <div class="widgets postbox">
33
+ <div class="uagb-intro-section">
34
+ <div class="uagb-intro-col">
35
+ <h2>
36
+ <span class="uagb-intro-icon dashicons dashicons-megaphone"></span>
37
+ <span><?php esc_html_e( 'Welcome to the Ultimate Addons for Gutenberg!', 'ultimate-addons-for-gutenberg' ); ?></span>
38
+ </h2>
39
+ <p><?php esc_html_e( 'Thank you for choosing Ultimate Addons for Gutenberg - the most comprehensive library of advanced and creative blocks to build a stunning website and blog faster than ever before!', 'ultimate-addons-for-gutenberg' ); ?></p>
40
+ <a href="https://www.ultimategutenberg.com/getting-started-with-gutenberg-blocks/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'How to use the Ultimate Addons for Gutenberg Blocks »', 'ultimate-addons-for-gutenberg' ); ?></a>
41
+ <p><strong><?php esc_html_e( 'Ready-to-use Full Demo Websites - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Get professionally designed 20+ pre-built FREE starter sites built using Gutenberg, Ultimate Addons for Gutenberg and the Astra theme. These can be imported in just a few clicks. Tweak them easily and build awesome websites in minutes!', 'ultimate-addons-for-gutenberg' ); ?></p>
42
+ <a href="https://www.ultimategutenberg.com/ready-websites-for-gutenberg/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'Know More »', 'ultimate-addons-for-gutenberg' ); ?></a>
43
+ </div>
44
+ </div>
45
+ </div>
46
+ <div class="widgets postbox">
47
+ <div class="uagb-intro-section">
48
+ <div class="uagb-intro-col">
49
+ <h2>
50
+ <span class="uagb-intro-icon dashicons dashicons-smiley"></span>
51
+ <span><?php esc_html_e( 'Ever-growing Library of Gutenberg Blocks', 'ultimate-addons-for-gutenberg' ); ?></span>
52
+ </h2>
53
+ <p><?php esc_html_e( 'The easy-to-use and extremely powerful blocks of the Ultimate Addons for Gutenberg (UAG) are now available within your Gutenberg Editor. Search for "UAG" in the block inserter and see all the Ultimate Addons for Gutenberg blocks listed below. Simply click on the block you wish to add on your page or post.', 'ultimate-addons-for-gutenberg' ); ?></p>
54
+ <p><?php esc_html_e( 'Wish to see some real design implementations with these blocks?', 'ultimate-addons-for-gutenberg' ); ?></p>
55
+ <a href="https://www.ultimategutenberg.com/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard" target="_blank" rel="noopener"><?php esc_attr_e( 'See Demos »', 'ultimate-addons-for-gutenberg' ); ?></a>
56
+ <p><?php esc_html_e( 'Check out the detailed knowledge base articles that will help you understand the working of each block.', 'ultimate-addons-for-gutenberg' ); ?></p>
57
+ <a href="<?php echo esc_url( $uagb_support_link ); ?>" target="_blank" rel="noopener"><?php esc_attr_e( 'Visit Knowledge Base »', 'ultimate-addons-for-gutenberg' ); ?></a>
58
+ </div>
59
+ </div>
60
+ </div>
61
+ <div class="widgets postbox">
62
+ <h2 class="hndle uagb-flex uagb-widgets-heading"><span><?php esc_html_e( 'Blocks', 'ultimate-addons-for-gutenberg' ); ?></span>
63
+ <div class="uagb-bulk-actions-wrap">
64
+ <a class="bulk-action uagb-activate-all button"> <?php esc_html_e( 'Activate All', 'ultimate-addons-for-gutenberg' ); ?> </a>
65
+ <a class="bulk-action uagb-deactivate-all button"> <?php esc_html_e( 'Deactivate All', 'ultimate-addons-for-gutenberg' ); ?> </a>
66
+ <a class="uagb-reusable-block-link button button-primary" href="<?php echo admin_url( 'edit.php?post_type=wp_block' ); ?>" rel="noopener"> <?php esc_html_e( 'Reusable Blocks', 'ultimate-addons-for-gutenberg' ); ?> <span class="dashicons-controls-repeat dashicons"></span></a>
67
+ </div>
68
+ </h2>
69
+ <div class="uagb-list-section">
70
+ <?php
71
+ if ( is_array( $blocks ) && ! empty( $blocks ) ) :
72
+ ?>
73
+ <ul class="uagb-widget-list">
74
+ <?php
75
+ foreach ( $blocks as $addon => $info ) {
76
+
77
+ $addon = str_replace( 'uagb/', '', $addon );
78
+
79
+ if ( 'column' === $addon ) {
80
+ continue; }
81
+
82
+ $title_url = ( isset( $info['title_url'] ) && ! empty( $info['title_url'] ) ) ? 'href="' . esc_url( $info['title_url'] ) . '"' : '';
83
+ $anchor_target = ( isset( $info['title_url'] ) && ! empty( $info['title_url'] ) ) ? "target='_blank' rel='noopener'" : '';
84
+
85
+ $class = 'deactivate';
86
+ $link = array(
87
+ 'link_class' => 'uagb-activate-widget',
88
+ 'link_text' => __( 'Activate', 'ultimate-addons-for-gutenberg' ),
89
+ );
90
+
91
+ if ( $info['is_activate'] ) {
92
+ $class = 'activate';
93
+ $link = array(
94
+ 'link_class' => 'uagb-deactivate-widget',
95
+ 'link_text' => __( 'Deactivate', 'ultimate-addons-for-gutenberg' ),
96
+ );
97
+ }
98
+
99
+ echo '<li id="' . esc_attr( $addon ) . '" class="' . esc_attr( $class ) . '"><a class="uagb-widget-title"' . $title_url . $anchor_target . ' >' . esc_html( $info['title'] ) . '</a><div class="uagb-widget-link-wrapper">';
100
+
101
+ printf(
102
+ '<a href="%1$s" class="%2$s"> %3$s </a>',
103
+ ( isset( $link['link_url'] ) && ! empty( $link['link_url'] ) ) ? esc_url( $link['link_url'] ) : '#',
104
+ esc_attr( $link['link_class'] ),
105
+ esc_html( $link['link_text'] )
106
+ );
107
+
108
+ if ( $info['is_activate'] && isset( $info['setting_url'] ) ) {
109
+
110
+ printf(
111
+ '<a href="%1$s" class="%2$s"> %3$s </a>',
112
+ esc_url( $info['setting_url'] ),
113
+ esc_attr( 'uagb-advanced-settings' ),
114
+ esc_html( $info['setting_text'] )
115
+ );
116
+ }
117
+
118
+ echo '</div></li>';
119
+ }
120
+ ?>
121
+ </ul>
122
+ <?php endif; ?>
123
+ </div>
124
+ </div>
125
+ </div>
126
+ <div class="postbox-container uagb-sidebar" id="postbox-container-1">
127
+ <div id="side-sortables">
128
+ <?php if ( ! defined( 'ASTRA_THEME_VERSION' ) ) { ?>
129
+ <div class="postbox uagb-astra-sidebar">
130
+ <h2 class="hndle uagb-normal-cusror">
131
+ <span class="dashicons dashicons-admin-customizer"></span>
132
+ <span><?php esc_html_e( 'Free Theme for Gutenberg', 'ultimate-addons-for-gutenberg' ); ?></span>
133
+ </h2>
134
+ <img class="uagb-ast-img" src="<?php echo esc_url( UAGB_URL . 'admin/assets/images/welcome-screen-astra.jpg' ); ?>">
135
+ <div class="inside">
136
+ <p><?php esc_html_e( 'Join over 200,000+ active users empowering their websites with Astra! From beginners to industry leaders, everyone loves the Astra theme.', 'ultimate-addons-for-gutenberg' ); ?></p>
137
+ <h4><?php esc_html_e( 'Why Astra Theme?', 'ultimate-addons-for-gutenberg' ); ?></h4>
138
+ <p><strong><?php esc_html_e( 'Faster Performance - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Built with speed and performance in mind, Astra follows the best coding standards and lets you build faster loading and better performing websites.', 'ultimate-addons-for-gutenberg' ); ?></p>
139
+ <p><strong><?php esc_html_e( 'Easy Customization - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'With all the settings managed through the customizer, Astra keeps it simple and gives you lots of options to customize everything with a few clicks.', 'ultimate-addons-for-gutenberg' ); ?></p>
140
+ <p><strong><?php esc_html_e( 'Pixel Perfect Design - ', 'ultimate-addons-for-gutenberg' ); ?></strong><?php esc_html_e( 'Astra reduces your design time by giving you pixel-perfect FREE ready-to-use websites demos within a huge library of starter sites.', 'ultimate-addons-for-gutenberg' ); ?></p>
141
+ <?php
142
+ $theme = wp_get_theme();
143
+ if ( ! file_exists( get_theme_root() . '/astra/functions.php' ) ) {
144
+ ?>
145
+ <a class="button button-primary ast-sites-inactive uag-install-theme" href="#" data-slug="astra"><?php esc_html_e( 'Install Astra Now!', 'ultimate-addons-for-gutenberg' ); ?></a>
146
+ <?php } elseif ( 'Astra' !== $theme->name || 'Astra' !== $theme->parent_theme && file_exists( get_theme_root() . '/astra/functions.php' ) ) { ?>
147
+ <a class="button button-primary ast-sites-inactive uag-activate-theme" href="#" data-slug="astra" data-init="astra/astra.php"><?php esc_html_e( 'Activate Astra Now!', 'ultimate-addons-for-gutenberg' ); ?></a>
148
+ <?php } ?>
149
+ <div>
150
+ </div>
151
+ </div>
152
+ </div>
153
+ <?php } ?>
154
+ <div class="postbox">
155
+ <h2 class="hndle ast-normal-cusror">
156
+ <span class="dashicons dashicons-admin-page"></span>
157
+ <span>
158
+ <?php printf( esc_html( 'CSS File Generation', 'ultimate-addons-for-gutenberg' ) ); ?>
159
+ </span>
160
+ </h2>
161
+ <div class="inside">
162
+ <p class="warning">
163
+ </p>
164
+ <?php _e( 'Enabling this option will generate CSS files for Ultimate Addons for Gutenberg block styling instead of loading the CSS inline on page.', 'ultimate-addons-for-gutenberg' ); ?>
165
+ <p>
166
+ <?php
167
+ $file_generation_doc_link = esc_url( 'https://www.ultimategutenberg.com/clean-html-with-uag/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard' );
168
+ $a_tag_open = '<a target="_blank" rel="noopener" href="' . $file_generation_doc_link . '">';
169
+ $a_tag_close = '</a>';
170
+
171
+ printf(
172
+ /* translators: %1$s: a tag open. */
173
+ __( 'Please read %1$s this article %2$s to know more.', 'ultimate-addons-for-gutenberg' ),
174
+ $a_tag_open,
175
+ $a_tag_close
176
+ );
177
+ ?>
178
+ </p>
179
+ <label for="uag_file_generation">
180
+ <?php
181
+ if ( 'disabled' === $allow_file_generation ) {
182
+ $val = 'enabled';
183
+ $file_generation_string = __( 'Enable File Generation', 'ultimate-addons-for-gutenberg' );
184
+ } else {
185
+ $val = 'disabled';
186
+ $file_generation_string = __( 'Disable File Generation', 'ultimate-addons-for-gutenberg' );
187
+ }
188
+ ?>
189
+ <button class="button astra-beta-updates uag-file-generation" id="uag_file_generation" data-value="<?php echo esc_attr( $val ); ?>">
190
+ <?php echo esc_html( $file_generation_string ); ?>
191
+ </button>
192
+ </label>
193
+ </div>
194
+ </div>
195
+ <div class="postbox">
196
+ <h2 class="hndle uagb-normal-cusror">
197
+ <span class="dashicons dashicons-book"></span>
198
+ <span><?php esc_html_e( 'Knowledge Base', 'ultimate-addons-for-gutenberg' ); ?></span>
199
+ </h2>
200
+ <div class="inside">
201
+ <p>
202
+ <?php esc_html_e( 'Not sure how something works? Take a peek at the knowledge base and learn.', 'ultimate-addons-for-gutenberg' ); ?>
203
+ </p>
204
+ <a href='<?php echo esc_url( $kb_url ); ?> ' target="_blank" rel="noopener"><?php esc_attr_e( 'Visit Knowledge Base »', 'ultimate-addons-for-gutenberg' ); ?></a>
205
+ </div>
206
+ </div>
207
+ <div class="postbox">
208
+ <h2 class="hndle uagb-normal-cusror">
209
+ <span class="dashicons dashicons-awards"></span>
210
+ <span><?php esc_html_e( 'Five Star Support', 'ultimate-addons-for-gutenberg' ); ?></span>
211
+ </h2>
212
+ <div class="inside">
213
+ <p>
214
+ <?php
215
+ printf(
216
+ /* translators: %1$s: uagb name. */
217
+ esc_html__( 'Got a question? Get in touch with %1$s developers. We\'re happy to help!', 'ultimate-addons-for-gutenberg' ),
218
+ UAGB_PLUGIN_NAME
219
+ );
220
+ ?>
221
+ </p>
222
+ <?php
223
+ printf(
224
+ /* translators: %1$s: uagb support link. */
225
+ '%1$s',
226
+ ! empty( $uagb_support_link ) ? '<a href=' . esc_url( $uagb_support_link ) . ' target="_blank" rel="noopener">' . esc_html( $uagb_support_link_text ) . '</a>' :
227
+ esc_html( $uagb_support_link_text )
228
+ );
229
+ ?>
230
+ </div>
231
+ </div>
232
+ </div>
233
+ </div>
234
+ </div>
235
+ <!-- /post-body -->
236
+ <br class="clear">
237
+ </div>
238
+ </div>
assets/css/blocks/buttons.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
2
-
3
  /*# sourceMappingURL=buttons.css.map */
1
+ .uagb-buttons__outer-wrap .uagb-buttons__wrap{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-moz-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-moz-box-pack:center;-ms-flex-pack:center;justify-content:center}.uagb-buttons__outer-wrap .uagb-button__active,.uagb-buttons__outer-wrap .uagb-button__active:focus{box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}.uagb-buttons__outer-wrap a.uagb-button__link:focus,.uagb-buttons__outer-wrap .uagb-button__link:focus{box-shadow:none;text-decoration:none}.uagb-buttons__outer-wrap .uagb-button__wrapper{padding:0;border:1px solid #333;border-radius:2px;margin-left:5px;margin-right:5px;-webkit-transition:all 0.2s;-o-transition:all 0.2s;transition:all 0.2s;display:inline-flex}.uagb-buttons__outer-wrap .uagb-button__wrapper:first-child{margin-left:0}.uagb-buttons__outer-wrap .uagb-button__wrapper:last-child{margin-right:0}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link{padding:10px 14px;width:100%;color:#333;text-decoration:none;font-family:inherit;line-height:inherit;font-weight:inherit;font-size:inherit}.uagb-buttons__outer-wrap .uagb-button__wrapper a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover a.uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper .uagb-button__link,.uagb-buttons__outer-wrap .uagb-button__wrapper:hover .uagb-button__link{text-decoration:none}
2
+
3
  /*# sourceMappingURL=buttons.css.map */
assets/css/blocks/columns.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:-webkit-calc(100% + 1.3px);width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:flex;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile .uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile .uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile .uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
2
-
3
  /*# sourceMappingURL=columns.css.map */
1
+ .uagb-columns__wrap{position:relative}.uagb-columns__wrap .uagb-columns__inner-wrap{margin-left:auto;margin-right:auto;position:relative;z-index:2}.uagb-columns__wrap .uagb-columns__overlay{height:100%;width:100%;top:0;left:0;position:absolute}.uagb-columns__wrap .uagb-columns__video-wrap{height:100%;width:100%;top:0;left:0;position:absolute;overflow:hidden;z-index:0;-webkit-transition:opacity 1s;-o-transition:opacity 1s;transition:opacity 1s}.uagb-columns__wrap .uagb-columns__video-wrap video{max-width:100%;width:100%;height:100%;margin:0;line-height:1;border:none;display:inline-block;vertical-align:baseline;-o-object-fit:cover;object-fit:cover;background-size:cover}.uagb-columns__wrap .uagb-column__wrap{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.uagb-columns__wrap .uagb-columns__shape{overflow:hidden;position:absolute;left:0;width:100%;line-height:0;direction:ltr;z-index:1}.uagb-columns__wrap .uagb-columns__shape-top{top:-3px}.uagb-columns__wrap .uagb-columns__shape-bottom{bottom:-3px}.uagb-columns__wrap .uagb-columns__shape[data-negative="false"].uagb-columns__shape-bottom{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape[data-negative="true"].uagb-columns__shape-top{-webkit-transform:rotate(180deg);-ms-transform:rotate(180deg);transform:rotate(180deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-flip svg{transform:translateX(-50%) rotateY(180deg)}.uagb-columns__wrap .uagb-columns__shape svg{display:block;width:-webkit-calc(100% + 1.3px);width:calc(100% + 1.3px);position:relative;left:50%;-webkit-transform:translateX(-50%);-ms-transform:translateX(-50%);transform:translateX(-50%)}.uagb-columns__wrap .uagb-columns__shape .uagb-columns__shape-fill{fill:#333;-webkit-transform-origin:center;-ms-transform-origin:center;transform-origin:center;-webkit-transform:rotateY(0deg);transform:rotateY(0deg)}.uagb-columns__wrap .uagb-columns__shape.uagb-columns__shape-above-content{z-index:9;pointer-events:none}.uagb-columns__valign-middle .uagb-column__wrap{-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.uagb-columns__valign-top .uagb-column__wrap{-webkit-box-align:flex-start;-webkit-align-items:flex-start;-ms-flex-align:flex-start;align-items:flex-start}.uagb-columns__valign-bottom .uagb-column__wrap{-webkit-box-align:flex-end;-webkit-align-items:flex-end;-ms-flex-align:flex-end;align-items:flex-end}.uagb-columns__inner-wrap{display:flex;flex-wrap:nowrap}.uagb-columns__columns-1>.uagb-column__wrap{width:100%}.uagb-columns__columns-2>.uagb-column__wrap{width:50%}.uagb-columns__columns-3>.uagb-column__wrap{width:33.33%}.uagb-columns__columns-4>.uagb-column__wrap{width:25%}.uagb-columns__columns-5>.uagb-column__wrap{width:20%}.uagb-columns__columns-6>.uagb-column__wrap{width:16.66%}.uagb-columns__gap-nogap>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:0}.uagb-columns__gap-default>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:10px}.uagb-columns__gap-narrow>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:5px}.uagb-columns__gap-extended>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:15px}.uagb-columns__gap-wide>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:20px}.uagb-columns__gap-wider>.wp-block[data-type="uagb/column"] .uagb-column__inner-wrap{padding:30px}@media (max-width: 976px){.uagb-columns__stack-tablet>.uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-tablet>.uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-tablet>.uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-tablet>.uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-tablet>.uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-tablet>.uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-tablet>.uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-tablet .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 767px){.uagb-columns__stack-mobile>.uagb-columns__columns-1>.uagb-column__wrap,.uagb-columns__stack-mobile>.uagb-columns__columns-2>.uagb-column__wrap,.uagb-columns__stack-mobile>.uagb-columns__columns-3>.uagb-column__wrap,.uagb-columns__stack-mobile>.uagb-columns__columns-4>.uagb-column__wrap,.uagb-columns__stack-mobile>.uagb-columns__columns-5>.uagb-column__wrap,.uagb-columns__stack-mobile>.uagb-columns__columns-6>.uagb-column__wrap{width:100% !important}.uagb-columns__stack-mobile>.uagb-columns__inner-wrap{display:block}.uagb-columns__reverse-mobile .uagb-columns__inner-wrap{display:flex;flex-direction:column-reverse}}@media (max-width: 449px){.uagb-columns__wrap .uagb-column__wrap.uagb-column__background-image{background-attachment:scroll !important}}
2
+
3
  /*# sourceMappingURL=columns.css.map */
assets/css/blocks/post.css CHANGED
@@ -1,3 +1,3 @@
1
- .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:100%}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
2
-
3
  /*# sourceMappingURL=post.css.map */
1
+ .uagb-post-grid{margin:0;position:relative}.uagb-post-grid .is-grid article{float:left;display:inline-block}.uagb-post-grid .uagb-post__items{-js-display:flex;display:-webkit-box;display:-webkit-flex;display:-moz-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;-webkit-flex-wrap:wrap;flex-wrap:wrap}.uagb-post-grid .is-grid.uagb-post__equal-height .uagb-post__inner-wrap{height:100%}.uagb-post-grid .is-masonry .uagb-post__inner-wrap{height:auto}.uagb-post-grid .uagb-post__inner-wrap>p{display:none}.uagb-post-grid .uagb-post__author span,.uagb-post-grid .uagb-post__comment span,.uagb-post-grid .uagb-post__taxonomy span,.uagb-post-grid .uagb-post__date span{font-size:inherit;line-height:inherit;width:inherit;height:inherit;margin-right:4px}.uagb-post-grid .uagb-post__columns-8 article{width:12.5%}.uagb-post-grid .uagb-post__columns-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-5 article{width:20%}.uagb-post-grid .uagb-post__columns-4 article{width:25%}.uagb-post-grid .uagb-post__columns-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-2 article{width:50%}.uagb-post-grid .uagb-post__columns-1 article{width:100%}@media only screen and (max-width: 600px){.uagb-post-grid div[class*="columns"].is-grid{grid-template-columns:1fr}}.uagb-post-grid .uagb-post__image img{display:block;width:100%}.uagb-post-grid .uagb-post__text{text-align:left;box-sizing:border-box}.uagb-post-grid .uagb-post__title{margin-top:0;margin-bottom:15px;word-break:break-word}.uagb-post-grid .uagb-post__title a{color:inherit;box-shadow:none;transition:.3s ease;text-decoration:none}.uagb-post-grid .uagb-post__title a:hover{text-decoration:none}.uagb-post-grid .uagb-post__title a:focus{text-decoration:none}.uagb-post-grid .uagb-post__title a:active{text-decoration:none}.uagb-post-grid .uagb-post-grid-byline{text-transform:uppercase;font-size:11px;letter-spacing:1px;margin-bottom:15px}.uagb-post-grid .uagb-post__text .uagb-post-grid-byline>*{margin-right:10px}.uagb-post-grid .uagb-post-grid-byline a,.uagb-post-grid .uagb-post-grid-byline a:focus,.uagb-post-grid .uagb-post-grid-byline a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__title a,.uagb-post-grid .uagb-post__title a:focus,.uagb-post-grid .uagb-post__title a:active{color:inherit;font-size:inherit}.uagb-post-grid .uagb-post__author,.uagb-post-grid .uagb-post__date{display:inline-block;word-break:break-all}.uagb-post-grid .uagb-post__author:not(:last-child):after,.uagb-post-grid .uagb-post__date:not(:last-child):after{content:"\B7";vertical-align:middle;margin:0 5px;line-height:1}.uagb-post-grid .uagb-post__comment,.uagb-post-grid .uagb-post__taxonomy{display:inline-block}.uagb-post-grid .uagb-post__author a{box-shadow:none}.uagb-post-grid .uagb-post__author a:hover{color:inherit;box-shadow:0 -1px 0 inset}.uagb-post-grid .uagb-post__excerpt{margin-bottom:25px;word-break:break-word}.uagb-post-grid .uagb-post__text p{margin:0 0 15px 0}.uagb-post-grid .uagb-post__text p:last-of-type{margin-bottom:0}.uagb-post-grid .uagb-post__cta{border:none;display:inline-block}.uagb-post-grid .uagb-post__link{display:inline-block;box-shadow:none;transition:.3s ease;font-weight:bold;color:inherit;text-decoration:none;padding:5px 10px}.uagb-post-grid .uagb-post__excerpt div+p{margin-top:15px}.uagb-post-grid .uagb-post__excerpt p{color:inherit}.uagb-post-grid .uagb-post__link-complete-box{position:absolute;top:0;left:0;width:100%;height:100%;z-index:11}.uagb-post__image-position-background .uagb-post__text{opacity:1;position:relative;z-index:10;overflow:hidden;width:100%}.uagb-post__image-position-background .uagb-post__inner-wrap{position:relative;width:100%}.uagb-post__image-position-background .uagb-post__image img{position:absolute;width:auto;height:auto;min-width:100%;max-width:none;left:50%;top:50%;-webkit-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);transform:translate(-50%, -50%);min-height:100%}.uagb-post__image-position-background .uagb-post__image{-webkit-background-size:cover;background-size:cover;background-repeat:no-repeat;background-position:center;overflow:hidden;text-align:center;position:relative}.uagb-post__image-position-background .uagb-post__image{position:absolute;left:0;top:0;width:100%;height:100%;z-index:2}.uagb-post__image-position-background .uagb-post__image::before{content:'';position:absolute;left:0;top:0;width:100%;height:100%;z-index:1;background-color:rgba(255,255,255,0.5)}.uagb-post-grid[data-equal-height="yes"] .uagb-post__inner-wrap{display:inline-block;height:100%}.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:-45px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:-45px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:-45px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:-45px;right:auto}.uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:25px;z-index:1}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-prev{left:auto;right:25px}.uagb-post__arrow-inside.uagb-post-grid .slick-next{right:25px}[dir="rtl"] .uagb-post__arrow-inside.uagb-post-grid .slick-next{left:25px;right:auto}.uagb-post-grid .is-grid article,.uagb-post-grid .is-masonry article,.uagb-post-grid .is-carousel article{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}@media (max-width: 976px){.uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:15px;z-index:1}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-prev{left:auto;right:15px}.uagb-post__arrow-outside.uagb-post-grid .slick-next{right:15px}[dir="rtl"] .uagb-post__arrow-outside.uagb-post-grid .slick-next{left:15px;right:auto}.uagb-post-grid .uagb-post__columns-tablet-1 article{width:100%}.uagb-post-grid .uagb-post__columns-tablet-2 article{width:50%}.uagb-post-grid .uagb-post__columns-tablet-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-tablet-4 article{width:25%}.uagb-post-grid .uagb-post__columns-tablet-5 article{width:20%}.uagb-post-grid .uagb-post__columns-tablet-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}@media (max-width: 767px){.uagb-post-grid .uagb-post__columns-mobile-1 article{width:100%}.uagb-post-grid .uagb-post__columns-mobile-2 article{width:50%}.uagb-post-grid .uagb-post__columns-mobile-3 article{width:33.2%}.uagb-post-grid .uagb-post__columns-mobile-4 article{width:25%}.uagb-post-grid .uagb-post__columns-mobile-5 article{width:20%}.uagb-post-grid .uagb-post__columns-mobile-6 article{width:16.66%}.uagb-post-grid .uagb-post__columns-tablet-7 article{width:14.28%}.uagb-post-grid .uagb-post__columns-tablet-8 article{width:12.5%}}.entry .entry-content .uagb-post-grid a{text-decoration:none}
2
+
3
  /*# sourceMappingURL=post.css.map */
assets/css/slick.css CHANGED
@@ -103,7 +103,6 @@
103
  top: 50%;
104
  display: block;
105
  width: auto;
106
- height: auto;
107
  padding: 0;
108
  -webkit-transform: translate(0, -50%);
109
  -ms-transform: translate(0, -50%);
@@ -210,7 +209,7 @@
210
  }
211
 
212
  .uagb-slick-carousel ul.slick-dots li button:before {
213
- font-family: 'slick';
214
  font-size: 30px;
215
  line-height: 20px;
216
  position: absolute;
103
  top: 50%;
104
  display: block;
105
  width: auto;
 
106
  padding: 0;
107
  -webkit-transform: translate(0, -50%);
108
  -ms-transform: translate(0, -50%);
209
  }
210
 
211
  .uagb-slick-carousel ul.slick-dots li button:before {
212
+ font-family: none;
213
  font-size: 30px;
214
  line-height: 20px;
215
  position: absolute;
assets/js/post-carousel.js CHANGED
@@ -1,5 +1,7 @@
1
  ( function( $ ) {
2
 
 
 
3
  UAGBPostCarousel = {
4
 
5
  _setHeight: function( scope ) {
@@ -82,14 +84,14 @@
82
 
83
  // Set Carousel Height for Customiser.
84
  function uagb_carousel_height( id ) {
85
- var wrap = $("#block-"+id)
86
  var scope = wrap.find(".wp-block-uagb-post-carousel").find( ".is-carousel" )
87
  UAGBPostCarousel._setHeight( scope )
88
  }
89
 
90
  // Unset Carousel Height for Customiser.
91
  function uagb_carousel_unset_height( id ) {
92
- var wrap = $("#block-"+id)
93
  var scope = wrap.find(".wp-block-uagb-post-carousel").find( ".is-carousel" )
94
  UAGBPostCarousel._unSetHeight( scope )
95
  }
1
  ( function( $ ) {
2
 
3
+ $ = jQuery;
4
+
5
  UAGBPostCarousel = {
6
 
7
  _setHeight: function( scope ) {
84
 
85
  // Set Carousel Height for Customiser.
86
  function uagb_carousel_height( id ) {
87
+ var wrap = jQuery("#block-"+id)
88
  var scope = wrap.find(".wp-block-uagb-post-carousel").find( ".is-carousel" )
89
  UAGBPostCarousel._setHeight( scope )
90
  }
91
 
92
  // Unset Carousel Height for Customiser.
93
  function uagb_carousel_unset_height( id ) {
94
+ var wrap = jQuery("#block-"+id)
95
  var scope = wrap.find(".wp-block-uagb-post-carousel").find( ".is-carousel" )
96
  UAGBPostCarousel._unSetHeight( scope )
97
  }
classes/class-uagb-admin.php CHANGED
@@ -1,464 +1,500 @@
1
- <?php
2
- /**
3
- * UAGB Admin.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Admin' ) ) {
9
-
10
- /**
11
- * Class UAGB_Admin.
12
- */
13
- final class UAGB_Admin {
14
-
15
- /**
16
- * Calls on initialization
17
- *
18
- * @since 0.0.1
19
- */
20
- public static function init() {
21
-
22
- self::initialize_ajax();
23
- self::initialise_plugin();
24
- add_action( 'after_setup_theme', __CLASS__ . '::init_hooks' );
25
- // Activation hook.
26
- add_action( 'admin_init', __CLASS__ . '::activation_redirect' );
27
- }
28
-
29
- /**
30
- * Activation Reset
31
- */
32
- public static function activation_redirect() {
33
- if ( get_option( '__uagb_do_redirect' ) ) {
34
- update_option( '__uagb_do_redirect', false );
35
- if ( ! is_multisite() ) {
36
- exit( wp_redirect( admin_url( 'options-general.php?page=' . UAGB_SLUG ) ) );
37
- }
38
- }
39
- }
40
-
41
- /**
42
- * Adds the admin menu and enqueues CSS/JS if we are on
43
- * the builder admin settings page.
44
- *
45
- * @since 0.0.1
46
- * @return void
47
- */
48
- public static function init_hooks() {
49
- if ( ! is_admin() ) {
50
- return;
51
- }
52
-
53
- // Add UAGB menu option to admin.
54
- add_action( 'network_admin_menu', __CLASS__ . '::menu' );
55
-
56
- add_action( 'admin_menu', __CLASS__ . '::menu' );
57
-
58
- add_action( 'uagb_render_admin_content', __CLASS__ . '::render_content' );
59
-
60
- add_action( 'admin_notices', __CLASS__ . '::register_notices' );
61
-
62
- add_filter( 'wp_kses_allowed_html', __CLASS__ . '::add_data_attributes', 10, 2 );
63
-
64
- add_action( 'admin_enqueue_scripts', __CLASS__ . '::notice_styles_scripts' );
65
-
66
- add_action( 'wp_ajax_uag-theme-activate', __CLASS__ . '::theme_activate' );
67
-
68
- // Enqueue admin scripts.
69
- if ( isset( $_REQUEST['page'] ) && UAGB_SLUG === $_REQUEST['page'] ) {
70
- add_action( 'admin_enqueue_scripts', __CLASS__ . '::styles_scripts' );
71
-
72
- self::save_settings();
73
- }
74
- }
75
-
76
- /**
77
- * Filters and Returns a list of allowed tags and attributes for a given context.
78
- *
79
- * @param Array $allowedposttags Array of allowed tags.
80
- * @param String $context Context type (explicit).
81
- * @since 1.8.0
82
- * @return Array
83
- */
84
- public static function add_data_attributes( $allowedposttags, $context ) {
85
- $allowedposttags['a']['data-repeat-notice-after'] = true;
86
-
87
- return $allowedposttags;
88
- }
89
-
90
- /**
91
- * Ask Plugin Rating
92
- *
93
- * @since 1.8.0
94
- */
95
- public static function register_notices() {
96
-
97
- if ( ! current_user_can( 'manage_options' ) ) {
98
- return;
99
- }
100
-
101
- $image_path = UAGB_URL . 'admin/assets/images/uagb_notice.svg';
102
-
103
- Astra_Notices::add_notice(
104
- array(
105
- 'id' => 'uagb-admin-rating',
106
- 'type' => '',
107
- 'message' => sprintf(
108
- '<div class="notice-image">
109
- <img src="%1$s" class="custom-logo" alt="Ultimate Addons for Gutenberg" itemprop="logo"></div>
110
- <div class="notice-content">
111
- <div class="notice-heading">
112
- %2$s
113
- </div>
114
- %3$s<br />
115
- <div class="uagb-review-notice-container">
116
- <a href="%4$s" class="astra-notice-close uagb-review-notice button-primary" target="_blank">
117
- %5$s
118
- </a>
119
- <span class="dashicons dashicons-calendar"></span>
120
- <a href="#" data-repeat-notice-after="%6$s" class="astra-notice-close uagb-review-notice">
121
- %7$s
122
- </a>
123
- <span class="dashicons dashicons-smiley"></span>
124
- <a href="#" class="astra-notice-close uagb-review-notice">
125
- %8$s
126
- </a>
127
- </div>
128
- </div>',
129
- $image_path,
130
- __( 'Wow! The Ultimate Addons for Gutenberg has already powered over 5 pages on your website!', 'ultimate-addons-for-gutenberg' ),
131
- __( 'Would you please mind sharing your views and give it a 5 star rating on the WordPress repository?', 'ultimate-addons-for-gutenberg' ),
132
- 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/?filter=5#new-post',
133
- __( 'Ok, you deserve it', 'ultimate-addons-for-gutenberg' ),
134
- MONTH_IN_SECONDS,
135
- __( 'Nope, maybe later', 'ultimate-addons-for-gutenberg' ),
136
- __( 'I already did', 'ultimate-addons-for-gutenberg' )
137
- ),
138
- 'repeat-notice-after' => MONTH_IN_SECONDS,
139
- 'display-notice-after' => WEEK_IN_SECONDS,
140
- 'priority' => 20,
141
- 'display-with-other-notices' => false,
142
- 'show_if' => UAGB_Helper::show_rating_notice(),
143
- )
144
- );
145
-
146
- if ( class_exists( 'Classic_Editor' ) ) {
147
- $editor_option = get_option( 'classic-editor-replace' );
148
- if ( isset( $editor_option ) && 'block' !== $editor_option ) {
149
- Astra_Notices::add_notice(
150
- array(
151
- 'id' => 'uagb-classic-editor',
152
- 'type' => 'warning',
153
- 'message' => sprintf(
154
- /* translators: %s: html tags */
155
- __( 'Ultimate Addons for Gutenberg requires&nbsp;%3$sBlock Editor%4$s. You can change your editor settings to Block Editor from&nbsp;%1$shere%2$s. Plugin is currently NOT RUNNING.', 'ultimate-addons-for-gutenberg' ),
156
- '<a href="' . admin_url( 'options-writing.php' ) . '">',
157
- '</a>',
158
- '<strong>',
159
- '</strong>'
160
- ),
161
- 'priority' => 20,
162
- 'display-with-other-notices' => true,
163
- )
164
- );
165
- }
166
- }
167
- }
168
-
169
- /**
170
- * Initialises the Plugin Name.
171
- *
172
- * @since 0.0.1
173
- * @return void
174
- */
175
- public static function initialise_plugin() {
176
-
177
- define( 'UAGB_PLUGIN_NAME', 'Ultimate Addons for Gutenberg' );
178
- define( 'UAGB_PLUGIN_SHORT_NAME', 'UAG' );
179
- }
180
-
181
- /**
182
- * Renders the admin settings menu.
183
- *
184
- * @since 0.0.1
185
- * @return void
186
- */
187
- public static function menu() {
188
-
189
- if ( ! current_user_can( 'manage_options' ) ) {
190
- return;
191
- }
192
-
193
- add_submenu_page(
194
- 'options-general.php',
195
- UAGB_PLUGIN_SHORT_NAME,
196
- UAGB_PLUGIN_SHORT_NAME,
197
- 'manage_options',
198
- UAGB_SLUG,
199
- __CLASS__ . '::render'
200
- );
201
- }
202
-
203
- /**
204
- * Renders the admin settings.
205
- *
206
- * @since 0.0.1
207
- * @return void
208
- */
209
- public static function render() {
210
- $action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : '';
211
- $action = ( ! empty( $action ) && '' !== $action ) ? $action : 'general';
212
- $action = str_replace( '_', '-', $action );
213
-
214
- // Enable header icon filter below.
215
- $uagb_icon = apply_filters( 'uagb_header_top_icon', true );
216
- $uagb_visit_site_url = apply_filters( 'uagb_site_url', 'https://www.ultimategutenberg.com/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard' );
217
- $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
218
-
219
- include_once UAGB_DIR . 'admin/uagb-admin.php';
220
- }
221
-
222
- /**
223
- * Renders the admin settings content.
224
- *
225
- * @since 0.0.1
226
- * @return void
227
- */
228
- public static function render_content() {
229
-
230
- $action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : '';
231
- $action = ( ! empty( $action ) && '' !== $action ) ? $action : 'general';
232
- $action = str_replace( '_', '-', $action );
233
-
234
- $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
235
-
236
- $base_path = realpath( UAGB_DIR . '/admin' );
237
- $path = realpath( $base_path . '/uagb-' . $action . '.php' );
238
- if ( $path && $base_path && strpos( $path, $base_path ) === 0 ) {
239
- include_once $path;
240
- }
241
- }
242
-
243
- /**
244
- * Enqueues the needed CSS/JS for the builder's admin settings page.
245
- *
246
- * @since 1.8.0
247
- */
248
- public static function notice_styles_scripts() {
249
- // Styles.
250
- wp_enqueue_style( 'uagb-notice-settings', UAGB_URL . 'admin/assets/admin-notice.css', array(), UAGB_VER );
251
- }
252
-
253
- /**
254
- * Enqueues the needed CSS/JS for the builder's admin settings page.
255
- *
256
- * @since 1.0.0
257
- */
258
- public static function styles_scripts() {
259
-
260
- // Styles.
261
- wp_enqueue_style( 'uagb-admin-settings', UAGB_URL . 'admin/assets/admin-menu-settings.css', array(), UAGB_VER );
262
- // Script.
263
- wp_enqueue_script( 'uagb-admin-settings', UAGB_URL . 'admin/assets/admin-menu-settings.js', array( 'jquery', 'wp-util', 'updates' ), UAGB_VER );
264
-
265
- $localize = array(
266
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
267
- 'ajax_nonce' => wp_create_nonce( 'uagb-block-nonce' ),
268
- 'activate' => __( 'Activate', 'ultimate-addons-for-gutenberg' ),
269
- 'deactivate' => __( 'Deactivate', 'ultimate-addons-for-gutenberg' ),
270
- 'enable_beta' => __( 'Enable Beta Updates', 'ultimate-addons-for-gutenberg' ),
271
- 'disable_beta' => __( 'Disable Beta Updates', 'ultimate-addons-for-gutenberg' ),
272
- 'installing_text' => __( 'Installing Astra', 'ultimate-addons-for-gutenberg' ),
273
- 'activating_text' => __( 'Activating Astra', 'ultimate-addons-for-gutenberg' ),
274
- 'activated_text' => __( 'Astra Activated!', 'ultimate-addons-for-gutenberg' ),
275
- );
276
-
277
- wp_localize_script( 'uagb-admin-settings', 'uagb', apply_filters( 'uagb_js_localize', $localize ) );
278
- }
279
-
280
- /**
281
- * Save All admin settings here
282
- */
283
- public static function save_settings() {
284
-
285
- // Only admins can save settings.
286
- if ( ! current_user_can( 'manage_options' ) ) {
287
- return;
288
- }
289
-
290
- // Let extensions hook into saving.
291
- do_action( 'uagb_admin_settings_save' );
292
- }
293
-
294
- /**
295
- * Initialize Ajax
296
- */
297
- public static function initialize_ajax() {
298
- // Ajax requests.
299
- add_action( 'wp_ajax_uagb_activate_widget', __CLASS__ . '::activate_widget' );
300
- add_action( 'wp_ajax_uagb_deactivate_widget', __CLASS__ . '::deactivate_widget' );
301
-
302
- add_action( 'wp_ajax_uagb_bulk_activate_widgets', __CLASS__ . '::bulk_activate_widgets' );
303
- add_action( 'wp_ajax_uagb_bulk_deactivate_widgets', __CLASS__ . '::bulk_deactivate_widgets' );
304
-
305
- add_action( 'wp_ajax_uagb_allow_beta_updates', __CLASS__ . '::allow_beta_updates' );
306
- }
307
-
308
- /**
309
- * Activate module
310
- */
311
- public static function activate_widget() {
312
-
313
- check_ajax_referer( 'uagb-block-nonce', 'nonce' );
314
-
315
- $block_id = sanitize_text_field( $_POST['block_id'] );
316
- $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
317
- $blocks[ $block_id ] = $block_id;
318
- $blocks = array_map( 'esc_attr', $blocks );
319
-
320
- // Update blocks.
321
- UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $blocks );
322
- UAGB_Helper::create_specific_stylesheet();
323
-
324
- echo $block_id;
325
-
326
- die();
327
- }
328
-
329
- /**
330
- * Deactivate module
331
- */
332
- public static function deactivate_widget() {
333
-
334
- check_ajax_referer( 'uagb-block-nonce', 'nonce' );
335
-
336
- $block_id = sanitize_text_field( $_POST['block_id'] );
337
- $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
338
- $blocks[ $block_id ] = 'disabled';
339
- $blocks = array_map( 'esc_attr', $blocks );
340
-
341
- // Update blocks.
342
- UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $blocks );
343
- UAGB_Helper::create_specific_stylesheet();
344
-
345
- echo $block_id;
346
-
347
- die();
348
- }
349
-
350
- /**
351
- * Activate all module
352
- */
353
- public static function bulk_activate_widgets() {
354
-
355
- check_ajax_referer( 'uagb-block-nonce', 'nonce' );
356
-
357
- // Get all widgets.
358
- $all_blocks = UAGB_Helper::$block_list;
359
- $new_blocks = array();
360
-
361
- // Set all extension to enabled.
362
- foreach ( $all_blocks as $slug => $value ) {
363
- $_slug = str_replace( 'uagb/', '', $slug );
364
- $new_blocks[ $_slug ] = $_slug;
365
- }
366
-
367
- // Escape attrs.
368
- $new_blocks = array_map( 'esc_attr', $new_blocks );
369
-
370
- // Update new_extensions.
371
- UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $new_blocks );
372
- UAGB_Helper::create_specific_stylesheet();
373
-
374
- echo 'success';
375
-
376
- die();
377
- }
378
-
379
- /**
380
- * Deactivate all module
381
- */
382
- public static function bulk_deactivate_widgets() {
383
-
384
- check_ajax_referer( 'uagb-block-nonce', 'nonce' );
385
-
386
- // Get all extensions.
387
- $old_blocks = UAGB_Helper::$block_list;
388
- $new_blocks = array();
389
-
390
- // Set all extension to enabled.
391
- foreach ( $old_blocks as $slug => $value ) {
392
- $_slug = str_replace( 'uagb/', '', $slug );
393
- $new_blocks[ $_slug ] = 'disabled';
394
- }
395
-
396
- // Escape attrs.
397
- $new_blocks = array_map( 'esc_attr', $new_blocks );
398
-
399
- // Update new_extensions.
400
- UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $new_blocks );
401
- UAGB_Helper::create_specific_stylesheet();
402
-
403
- echo 'success';
404
-
405
- die();
406
- }
407
-
408
- /**
409
- * Allow beta updates
410
- */
411
- public static function allow_beta_updates() {
412
-
413
- check_ajax_referer( 'uagb-block-nonce', 'nonce' );
414
-
415
- $beta_update = sanitize_text_field( $_POST['allow_beta'] );
416
-
417
- // Update new_extensions.
418
- UAGB_Helper::update_admin_settings_option( '_uagb_beta', $beta_update );
419
-
420
- echo 'success';
421
-
422
- die();
423
- }
424
-
425
- /**
426
- * Required Plugin Activate
427
- *
428
- * @since 1.8.2
429
- */
430
- public static function theme_activate() {
431
-
432
- if ( ! current_user_can( 'switch_themes' ) || ! isset( $_POST['slug'] ) || ! $_POST['slug'] ) {
433
- wp_send_json_error(
434
- array(
435
- 'success' => false,
436
- 'message' => __( 'No Theme specified', 'ultimate-addons-for-gutenberg' ),
437
- )
438
- );
439
- }
440
-
441
- $theme_slug = ( isset( $_POST['slug'] ) ) ? esc_attr( $_POST['slug'] ) : '';
442
-
443
- $activate = switch_theme( $theme_slug );
444
-
445
- if ( is_wp_error( $activate ) ) {
446
- wp_send_json_error(
447
- array(
448
- 'success' => false,
449
- 'message' => $activate->get_error_message(),
450
- )
451
- );
452
- }
453
-
454
- wp_send_json_success(
455
- array(
456
- 'success' => true,
457
- 'message' => __( 'Theme Successfully Activated', 'ultimate-addons-for-gutenberg' ),
458
- )
459
- );
460
- }
461
- }
462
-
463
- UAGB_Admin::init();
464
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Admin.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'UAGB_Admin' ) ) {
13
+
14
+ /**
15
+ * Class UAGB_Admin.
16
+ */
17
+ final class UAGB_Admin {
18
+
19
+ /**
20
+ * Calls on initialization
21
+ *
22
+ * @since 0.0.1
23
+ */
24
+ public static function init() {
25
+
26
+ self::initialize_ajax();
27
+ self::initialise_plugin();
28
+ add_action( 'after_setup_theme', __CLASS__ . '::init_hooks' );
29
+ // Activation hook.
30
+ add_action( 'admin_init', __CLASS__ . '::activation_redirect' );
31
+ }
32
+
33
+ /**
34
+ * Activation Reset
35
+ */
36
+ public static function activation_redirect() {
37
+ $do_redirect = apply_filters( 'uagb_enable_redirect_activation', get_option( '__uagb_do_redirect' ) );
38
+ if ( $do_redirect ) {
39
+ update_option( '__uagb_do_redirect', false );
40
+ if ( ! is_multisite() ) {
41
+ exit( wp_redirect( admin_url( 'options-general.php?page=' . UAGB_SLUG ) ) );
42
+ }
43
+ }
44
+ }
45
+
46
+ /**
47
+ * Adds the admin menu and enqueues CSS/JS if we are on
48
+ * the builder admin settings page.
49
+ *
50
+ * @since 0.0.1
51
+ * @return void
52
+ */
53
+ public static function init_hooks() {
54
+ if ( ! is_admin() ) {
55
+ return;
56
+ }
57
+
58
+ // Add UAGB menu option to admin.
59
+ add_action( 'network_admin_menu', __CLASS__ . '::menu' );
60
+
61
+ add_action( 'admin_menu', __CLASS__ . '::menu' );
62
+
63
+ add_action( 'uagb_render_admin_content', __CLASS__ . '::render_content' );
64
+
65
+ add_action( 'admin_notices', __CLASS__ . '::register_notices' );
66
+
67
+ add_filter( 'wp_kses_allowed_html', __CLASS__ . '::add_data_attributes', 10, 2 );
68
+
69
+ add_action( 'admin_enqueue_scripts', __CLASS__ . '::notice_styles_scripts' );
70
+
71
+ add_action( 'wp_ajax_uag-theme-activate', __CLASS__ . '::theme_activate' );
72
+
73
+ add_action( 'wp_ajax_uagb_file_generation', __CLASS__ . '::file_generation' );
74
+
75
+ // Enqueue admin scripts.
76
+ if ( isset( $_REQUEST['page'] ) && UAGB_SLUG === $_REQUEST['page'] ) {
77
+ add_action( 'admin_enqueue_scripts', __CLASS__ . '::styles_scripts' );
78
+
79
+ self::save_settings();
80
+ }
81
+
82
+ add_filter( 'rank_math/researches/toc_plugins', __CLASS__ . '::toc_plugin' );
83
+ }
84
+
85
+ /**
86
+ * Filters and Returns a list of allowed tags and attributes for a given context.
87
+ *
88
+ * @param Array $allowedposttags Array of allowed tags.
89
+ * @param String $context Context type (explicit).
90
+ * @since 1.8.0
91
+ * @return Array
92
+ */
93
+ public static function add_data_attributes( $allowedposttags, $context ) {
94
+ $allowedposttags['a']['data-repeat-notice-after'] = true;
95
+
96
+ return $allowedposttags;
97
+ }
98
+
99
+ /**
100
+ * Ask Plugin Rating
101
+ *
102
+ * @since 1.8.0
103
+ */
104
+ public static function register_notices() {
105
+
106
+ if ( ! current_user_can( 'manage_options' ) ) {
107
+ return;
108
+ }
109
+
110
+ $image_path = UAGB_URL . 'admin/assets/images/uagb_notice.svg';
111
+
112
+ Astra_Notices::add_notice(
113
+ array(
114
+ 'id' => 'uagb-admin-rating',
115
+ 'type' => '',
116
+ 'message' => sprintf(
117
+ '<div class="notice-image">
118
+ <img src="%1$s" class="custom-logo" alt="Ultimate Addons for Gutenberg" itemprop="logo"></div>
119
+ <div class="notice-content">
120
+ <div class="notice-heading">
121
+ %2$s
122
+ </div>
123
+ %3$s<br />
124
+ <div class="uagb-review-notice-container">
125
+ <a href="%4$s" class="astra-notice-close uagb-review-notice button-primary" target="_blank">
126
+ %5$s
127
+ </a>
128
+ <span class="dashicons dashicons-calendar"></span>
129
+ <a href="#" data-repeat-notice-after="%6$s" class="astra-notice-close uagb-review-notice">
130
+ %7$s
131
+ </a>
132
+ <span class="dashicons dashicons-smiley"></span>
133
+ <a href="#" class="astra-notice-close uagb-review-notice">
134
+ %8$s
135
+ </a>
136
+ </div>
137
+ </div>',
138
+ $image_path,
139
+ __( 'Wow! The Ultimate Addons for Gutenberg has already powered over 5 pages on your website!', 'ultimate-addons-for-gutenberg' ),
140
+ __( 'Would you please mind sharing your views and give it a 5 star rating on the WordPress repository?', 'ultimate-addons-for-gutenberg' ),
141
+ 'https://wordpress.org/support/plugin/ultimate-addons-for-gutenberg/reviews/?filter=5#new-post',
142
+ __( 'Ok, you deserve it', 'ultimate-addons-for-gutenberg' ),
143
+ MONTH_IN_SECONDS,
144
+ __( 'Nope, maybe later', 'ultimate-addons-for-gutenberg' ),
145
+ __( 'I already did', 'ultimate-addons-for-gutenberg' )
146
+ ),
147
+ 'repeat-notice-after' => MONTH_IN_SECONDS,
148
+ 'display-notice-after' => WEEK_IN_SECONDS,
149
+ 'priority' => 20,
150
+ 'display-with-other-notices' => false,
151
+ 'show_if' => UAGB_Helper::show_rating_notice(),
152
+ )
153
+ );
154
+
155
+ if ( class_exists( 'Classic_Editor' ) ) {
156
+ $editor_option = get_option( 'classic-editor-replace' );
157
+ if ( isset( $editor_option ) && 'block' !== $editor_option ) {
158
+ Astra_Notices::add_notice(
159
+ array(
160
+ 'id' => 'uagb-classic-editor',
161
+ 'type' => 'warning',
162
+ 'message' => sprintf(
163
+ /* translators: %s: html tags */
164
+ __( 'Ultimate Addons for Gutenberg requires&nbsp;%3$sBlock Editor%4$s. You can change your editor settings to Block Editor from&nbsp;%1$shere%2$s. Plugin is currently NOT RUNNING.', 'ultimate-addons-for-gutenberg' ),
165
+ '<a href="' . admin_url( 'options-writing.php' ) . '">',
166
+ '</a>',
167
+ '<strong>',
168
+ '</strong>'
169
+ ),
170
+ 'priority' => 20,
171
+ 'display-with-other-notices' => true,
172
+ )
173
+ );
174
+ }
175
+ }
176
+ }
177
+
178
+ /**
179
+ * Initialises the Plugin Name.
180
+ *
181
+ * @since 0.0.1
182
+ * @return void
183
+ */
184
+ public static function initialise_plugin() {
185
+
186
+ define( 'UAGB_PLUGIN_NAME', 'Ultimate Addons for Gutenberg' );
187
+ define( 'UAGB_PLUGIN_SHORT_NAME', 'UAG' );
188
+ }
189
+
190
+ /**
191
+ * Renders the admin settings menu.
192
+ *
193
+ * @since 0.0.1
194
+ * @return void
195
+ */
196
+ public static function menu() {
197
+
198
+ if ( ! current_user_can( 'manage_options' ) ) {
199
+ return;
200
+ }
201
+
202
+ add_submenu_page(
203
+ 'options-general.php',
204
+ UAGB_PLUGIN_SHORT_NAME,
205
+ UAGB_PLUGIN_SHORT_NAME,
206
+ 'manage_options',
207
+ UAGB_SLUG,
208
+ __CLASS__ . '::render'
209
+ );
210
+ }
211
+
212
+ /**
213
+ * Renders the admin settings.
214
+ *
215
+ * @since 0.0.1
216
+ * @return void
217
+ */
218
+ public static function render() {
219
+ $action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : '';
220
+ $action = ( ! empty( $action ) && '' !== $action ) ? $action : 'general';
221
+ $action = str_replace( '_', '-', $action );
222
+
223
+ // Enable header icon filter below.
224
+ $uagb_icon = apply_filters( 'uagb_header_top_icon', true );
225
+ $uagb_visit_site_url = apply_filters( 'uagb_site_url', 'https://www.ultimategutenberg.com/?utm_source=uag-dashboard&utm_medium=link&utm_campaign=uag-dashboard' );
226
+ $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
227
+
228
+ include_once UAGB_DIR . 'admin/uagb-admin.php';
229
+ }
230
+
231
+ /**
232
+ * Renders the admin settings content.
233
+ *
234
+ * @since 0.0.1
235
+ * @return void
236
+ */
237
+ public static function render_content() {
238
+
239
+ $action = ( isset( $_GET['action'] ) ) ? $_GET['action'] : '';
240
+ $action = ( ! empty( $action ) && '' !== $action ) ? $action : 'general';
241
+ $action = str_replace( '_', '-', $action );
242
+
243
+ $uagb_header_wrapper_class = apply_filters( 'uagb_header_wrapper_class', array( $action ) );
244
+
245
+ $base_path = realpath( UAGB_DIR . '/admin' );
246
+ $path = realpath( $base_path . '/uagb-' . $action . '.php' );
247
+ if ( $path && $base_path && strpos( $path, $base_path ) === 0 ) {
248
+ include_once $path;
249
+ }
250
+ }
251
+
252
+ /**
253
+ * Enqueues the needed CSS/JS for the builder's admin settings page.
254
+ *
255
+ * @since 1.8.0
256
+ */
257
+ public static function notice_styles_scripts() {
258
+ // Styles.
259
+ wp_enqueue_style( 'uagb-notice-settings', UAGB_URL . 'admin/assets/admin-notice.css', array(), UAGB_VER );
260
+ }
261
+
262
+ /**
263
+ * Enqueues the needed CSS/JS for the builder's admin settings page.
264
+ *
265
+ * @since 1.0.0
266
+ */
267
+ public static function styles_scripts() {
268
+
269
+ // Styles.
270
+ wp_enqueue_style( 'uagb-admin-settings', UAGB_URL . 'admin/assets/admin-menu-settings.css', array(), UAGB_VER );
271
+ // Script.
272
+ wp_enqueue_script( 'uagb-admin-settings', UAGB_URL . 'admin/assets/admin-menu-settings.js', array( 'jquery', 'wp-util', 'updates' ), UAGB_VER );
273
+
274
+ $localize = array(
275
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
276
+ 'ajax_nonce' => wp_create_nonce( 'uagb-block-nonce' ),
277
+ 'activate' => __( 'Activate', 'ultimate-addons-for-gutenberg' ),
278
+ 'deactivate' => __( 'Deactivate', 'ultimate-addons-for-gutenberg' ),
279
+ 'enable_beta' => __( 'Enable Beta Updates', 'ultimate-addons-for-gutenberg' ),
280
+ 'disable_beta' => __( 'Disable Beta Updates', 'ultimate-addons-for-gutenberg' ),
281
+ 'installing_text' => __( 'Installing Astra', 'ultimate-addons-for-gutenberg' ),
282
+ 'activating_text' => __( 'Activating Astra', 'ultimate-addons-for-gutenberg' ),
283
+ 'activated_text' => __( 'Astra Activated!', 'ultimate-addons-for-gutenberg' ),
284
+ );
285
+
286
+ wp_localize_script( 'uagb-admin-settings', 'uagb', apply_filters( 'uagb_js_localize', $localize ) );
287
+ }
288
+
289
+ /**
290
+ * Save All admin settings here
291
+ */
292
+ public static function save_settings() {
293
+
294
+ // Only admins can save settings.
295
+ if ( ! current_user_can( 'manage_options' ) ) {
296
+ return;
297
+ }
298
+
299
+ // Let extensions hook into saving.
300
+ do_action( 'uagb_admin_settings_save' );
301
+ }
302
+
303
+ /**
304
+ * Initialize Ajax
305
+ */
306
+ public static function initialize_ajax() {
307
+ // Ajax requests.
308
+ add_action( 'wp_ajax_uagb_activate_widget', __CLASS__ . '::activate_widget' );
309
+ add_action( 'wp_ajax_uagb_deactivate_widget', __CLASS__ . '::deactivate_widget' );
310
+
311
+ add_action( 'wp_ajax_uagb_bulk_activate_widgets', __CLASS__ . '::bulk_activate_widgets' );
312
+ add_action( 'wp_ajax_uagb_bulk_deactivate_widgets', __CLASS__ . '::bulk_deactivate_widgets' );
313
+
314
+ add_action( 'wp_ajax_uagb_allow_beta_updates', __CLASS__ . '::allow_beta_updates' );
315
+ }
316
+
317
+ /**
318
+ * Activate module
319
+ */
320
+ public static function activate_widget() {
321
+
322
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
323
+
324
+ $block_id = sanitize_text_field( $_POST['block_id'] );
325
+ $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
326
+ $blocks[ $block_id ] = $block_id;
327
+ $blocks = array_map( 'esc_attr', $blocks );
328
+
329
+ // Update blocks.
330
+ UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $blocks );
331
+ UAGB_Helper::create_specific_stylesheet();
332
+
333
+ echo $block_id;
334
+
335
+ die();
336
+ }
337
+
338
+ /**
339
+ * Deactivate module
340
+ */
341
+ public static function deactivate_widget() {
342
+
343
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
344
+
345
+ $block_id = sanitize_text_field( $_POST['block_id'] );
346
+ $blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
347
+ $blocks[ $block_id ] = 'disabled';
348
+ $blocks = array_map( 'esc_attr', $blocks );
349
+
350
+ // Update blocks.
351
+ UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $blocks );
352
+ UAGB_Helper::create_specific_stylesheet();
353
+
354
+ echo $block_id;
355
+
356
+ die();
357
+ }
358
+
359
+ /**
360
+ * Activate all module
361
+ */
362
+ public static function bulk_activate_widgets() {
363
+
364
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
365
+
366
+ // Get all widgets.
367
+ $all_blocks = UAGB_Helper::$block_list;
368
+ $new_blocks = array();
369
+
370
+ // Set all extension to enabled.
371
+ foreach ( $all_blocks as $slug => $value ) {
372
+ $_slug = str_replace( 'uagb/', '', $slug );
373
+ $new_blocks[ $_slug ] = $_slug;
374
+ }
375
+
376
+ // Escape attrs.
377
+ $new_blocks = array_map( 'esc_attr', $new_blocks );
378
+
379
+ // Update new_extensions.
380
+ UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $new_blocks );
381
+ UAGB_Helper::create_specific_stylesheet();
382
+
383
+ echo 'success';
384
+
385
+ die();
386
+ }
387
+
388
+ /**
389
+ * Deactivate all module
390
+ */
391
+ public static function bulk_deactivate_widgets() {
392
+
393
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
394
+
395
+ // Get all extensions.
396
+ $old_blocks = UAGB_Helper::$block_list;
397
+ $new_blocks = array();
398
+
399
+ // Set all extension to enabled.
400
+ foreach ( $old_blocks as $slug => $value ) {
401
+ $_slug = str_replace( 'uagb/', '', $slug );
402
+ $new_blocks[ $_slug ] = 'disabled';
403
+ }
404
+
405
+ // Escape attrs.
406
+ $new_blocks = array_map( 'esc_attr', $new_blocks );
407
+
408
+ // Update new_extensions.
409
+ UAGB_Helper::update_admin_settings_option( '_uagb_blocks', $new_blocks );
410
+ UAGB_Helper::create_specific_stylesheet();
411
+
412
+ echo 'success';
413
+
414
+ die();
415
+ }
416
+
417
+ /**
418
+ * Allow beta updates
419
+ */
420
+ public static function allow_beta_updates() {
421
+
422
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
423
+
424
+ $beta_update = sanitize_text_field( $_POST['allow_beta'] );
425
+
426
+ // Update new_extensions.
427
+ UAGB_Helper::update_admin_settings_option( '_uagb_beta', $beta_update );
428
+
429
+ echo 'success';
430
+
431
+ die();
432
+ }
433
+
434
+ /**
435
+ * File Generation Flag
436
+ *
437
+ * @since 1.14.0
438
+ */
439
+ public static function file_generation() {
440
+
441
+ check_ajax_referer( 'uagb-block-nonce', 'nonce' );
442
+
443
+ wp_send_json_success(
444
+ array(
445
+ 'success' => true,
446
+ 'message' => update_option( '_uagb_allow_file_generation', $_POST['value'] ),
447
+ )
448
+ );
449
+ }
450
+
451
+ /**
452
+ * Required Plugin Activate
453
+ *
454
+ * @since 1.8.2
455
+ */
456
+ public static function theme_activate() {
457
+
458
+ if ( ! current_user_can( 'switch_themes' ) || ! isset( $_POST['slug'] ) || ! $_POST['slug'] ) {
459
+ wp_send_json_error(
460
+ array(
461
+ 'success' => false,
462
+ 'message' => __( 'No Theme specified', 'ultimate-addons-for-gutenberg' ),
463
+ )
464
+ );
465
+ }
466
+
467
+ $theme_slug = ( isset( $_POST['slug'] ) ) ? esc_attr( $_POST['slug'] ) : '';
468
+
469
+ $activate = switch_theme( $theme_slug );
470
+
471
+ if ( is_wp_error( $activate ) ) {
472
+ wp_send_json_error(
473
+ array(
474
+ 'success' => false,
475
+ 'message' => $activate->get_error_message(),
476
+ )
477
+ );
478
+ }
479
+
480
+ wp_send_json_success(
481
+ array(
482
+ 'success' => true,
483
+ 'message' => __( 'Theme Successfully Activated', 'ultimate-addons-for-gutenberg' ),
484
+ )
485
+ );
486
+ }
487
+
488
+ /**
489
+ * Rank Math SEO filter to add kb-elementor to the TOC list.
490
+ *
491
+ * @param array $plugins TOC plugins.
492
+ */
493
+ public static function toc_plugin( $plugins ) {
494
+ $plugins['ultimate-addons-for-gutenberg/ultimate-addons-for-gutenberg.php'] = 'Ultimate Addons for Gutenberg';
495
+ return $plugins;
496
+ }
497
+ }
498
+
499
+ UAGB_Admin::init();
500
+ }
classes/class-uagb-block-helper.php CHANGED
@@ -1,5246 +1,5255 @@
1
- <?php
2
- /**
3
- * UAGB Block Helper.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
9
-
10
- /**
11
- * Class UAGB_Block_Helper.
12
- */
13
- class UAGB_Block_Helper {
14
-
15
- /**
16
- * Get Section Block CSS
17
- *
18
- * @since 0.0.1
19
- * @param array $attr The block attributes.
20
- * @param string $id The selector ID.
21
- * @return array The Widget List.
22
- */
23
- public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
24
-
25
- global $content_width;
26
-
27
- $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
28
-
29
- $attr = array_merge( $defaults, $attr );
30
-
31
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
32
- $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'color';
33
- $gradientOverlayPosition = ( isset( $attr['gradientOverlayPosition'] ) ) ? $attr['gradientOverlayPosition'] : 'center center';
34
- $gradientPosition = ( isset( $attr['gradientPosition'] ) ) ? $attr['gradientPosition'] : 'center center';
35
-
36
- $style = array(
37
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
38
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
39
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
40
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
41
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
42
- );
43
-
44
- $m_selectors = array();
45
- $t_selectors = array();
46
-
47
- if ( 'right' == $attr['align'] ) {
48
- $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] );
49
- $style['margin-left'] = 'auto';
50
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
51
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
52
- } elseif ( 'left' == $attr['align'] ) {
53
- $style['margin-right'] = 'auto';
54
- $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] );
55
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
56
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
57
- } elseif ( 'center' == $attr['align'] ) {
58
- $style['margin-right'] = 'auto';
59
- $style['margin-left'] = 'auto';
60
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
61
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
62
- } else {
63
- $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
64
- $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
65
- }
66
-
67
- if ( "none" != $attr['borderStyle'] ) {
68
- $style["border-style"] = $attr['borderStyle'];
69
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
70
- $style["border-color"] = $attr['borderColor'];
71
- }
72
-
73
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
74
-
75
- $section_width = '100%';
76
-
77
- if ( isset( $attr['contentWidth'] ) ) {
78
-
79
- if ( 'boxed' == $attr['contentWidth'] ) {
80
- if ( isset( $attr['width'] ) ) {
81
- $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
82
- }
83
- }
84
- }
85
-
86
- if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
87
- $style['max-width'] = $section_width;
88
- }
89
-
90
- if ( 'image' === $bg_type ) {
91
-
92
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
93
- $style['background-position'] = $position;
94
- $style['background-attachment'] = $attr['backgroundAttachment'];
95
- $style['background-repeat'] = $attr['backgroundRepeat'];
96
- $style['background-size'] = $attr['backgroundSize'];
97
-
98
- }
99
-
100
- $inner_width = '100%';
101
-
102
- if ( isset( $attr['contentWidth'] ) ) {
103
- if ( 'boxed' != $attr['contentWidth'] ) {
104
- if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
105
- $inner_width = '#CONTENT_WIDTH#';
106
- } else {
107
- if ( isset( $attr['innerWidth'] ) ) {
108
- $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], $attr['innerWidthType'] );
109
- }
110
- }
111
- }
112
- }
113
-
114
- $selectors = array(
115
- '.uagb-section__wrap' => $style,
116
- ' > .uagb-section__video-wrap' => array(
117
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
118
- ),
119
- ' > .uagb-section__inner-wrap' => array(
120
- 'max-width' => $inner_width,
121
- ),
122
- );
123
-
124
- if ( 'video' == $bg_type ) {
125
- $selectors[' > .uagb-section__overlay'] = array(
126
- 'opacity' => 1,
127
- 'background-color' => $attr['backgroundVideoColor'],
128
- );
129
- } else if ( 'image' == $bg_type ) {
130
- if( 'color' == $overlay_type ){
131
- $selectors[' > .uagb-section__overlay'] = array(
132
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
133
- 'background-color' => $attr['backgroundImageColor'],
134
- );
135
- }else{
136
- $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
137
- $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
138
-
139
- if ( 'linear' === $attr['gradientOverlayType'] ) {
140
-
141
- $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
142
- } else {
143
-
144
- $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientOverlayPosition . ', ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
145
- }
146
- }
147
- } else if ( 'color' == $bg_type ) {
148
- $selectors[' > .uagb-section__overlay'] = array(
149
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
150
- 'background-color' => $attr['backgroundColor'],
151
- );
152
- } else if ( 'gradient' === $bg_type ) {
153
- $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
154
- $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
155
-
156
- if ( 'linear' === $attr['gradientType'] ) {
157
-
158
- $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
159
- } else {
160
- $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientPosition . ', ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
161
- }
162
- }
163
-
164
- $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
165
-
166
- $m_selectors = array(
167
- '.uagb-section__wrap' => array(
168
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
169
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
170
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
171
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
172
- )
173
- );
174
-
175
- $t_selectors = array(
176
- '.uagb-section__wrap' => array(
177
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
178
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
179
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
180
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
181
- )
182
- );
183
-
184
- if ( 'right' == $attr['align'] ) {
185
- $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['tabletMarginType'] );
186
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
187
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
188
-
189
- $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['mobileMarginType'] );
190
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
191
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
192
- } elseif ( 'left' == $attr['align'] ) {
193
- $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['tabletMarginType'] );
194
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
195
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
196
-
197
- $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['mobileMarginType'] );
198
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
199
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
200
- } else {
201
- $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
202
- $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
203
-
204
- $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
205
- $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
206
- }
207
-
208
- // @codingStandardsIgnoreEnd
209
-
210
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
211
-
212
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
213
-
214
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
215
-
216
- $generated_css = array(
217
- 'desktop' => $desktop,
218
- 'tablet' => $tablet,
219
- 'mobile' => $mobile,
220
- );
221
-
222
- return $generated_css;
223
- }
224
-
225
- /**
226
- * Get Columns Block CSS
227
- *
228
- * @since 1.8.0
229
- * @param array $attr The block attributes.
230
- * @param string $id The selector ID.
231
- * @return array The Widget List.
232
- */
233
- public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
234
-
235
- global $content_width;
236
-
237
- $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
238
-
239
- $attr = array_merge( $defaults, $attr );
240
-
241
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
242
-
243
- $m_selectors = array();
244
- $t_selectors = array();
245
-
246
- $style = array(
247
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
248
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
249
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
250
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
251
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
252
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
253
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], $attr['desktopMarginType'] ),
254
- );
255
-
256
- if ( "none" != $attr['borderStyle'] ) {
257
- $style["border-style"] = $attr['borderStyle'];
258
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
259
- $style["border-color"] = $attr['borderColor'];
260
- }
261
-
262
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
263
-
264
- if ( 'image' === $bg_type ) {
265
-
266
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
267
- $style['background-position'] = $position;
268
- $style['background-attachment'] = $attr['backgroundAttachment'];
269
- $style['background-repeat'] = $attr['backgroundRepeat'];
270
- $style['background-size'] = $attr['backgroundSize'];
271
-
272
- }
273
-
274
- $inner_width = '100%';
275
-
276
- if ( isset( $attr['contentWidth'] ) ) {
277
- if ( 'theme' == $attr['contentWidth'] ) {
278
- $inner_width = '#CONTENT_WIDTH#';
279
- } else if ( 'custom' == $attr['contentWidth'] ) {
280
- $inner_width = UAGB_Helper::get_css_value( $attr['width'], $attr['widthType'] );
281
- }
282
- }
283
-
284
- $selectors = array(
285
- '.uagb-columns__wrap' => $style,
286
- ' .uagb-columns__video-wrap' => array(
287
- 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
288
- ),
289
- ' > .uagb-columns__inner-wrap' => array(
290
- 'max-width' => $inner_width,
291
- ),
292
- ' .uagb-column__inner-wrap' => array(
293
- 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
294
- ),
295
- ' .uagb-columns__shape-top svg' => array(
296
- 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
297
- ),
298
- ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
299
- 'fill' => $attr['topColor'],
300
- 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
301
- ),
302
- ' .uagb-columns__shape-bottom svg' => array(
303
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
304
- ),
305
- ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
306
- 'fill' => $attr['bottomColor'],
307
- 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
308
- ),
309
- );
310
-
311
- if ( '' !== $attr['topWidth'] ) {
312
- $selectors[' .uagb-columns__shape-top svg']['width'] = "calc( " . $attr['topWidth'] . "% + 1.3px )";
313
- }
314
-
315
- if ( '' !== $attr['bottomWidth'] ) {
316
- $selectors[' .uagb-columns__shape-bottom svg']['width'] = "calc( " . $attr['bottomWidth'] . "% + 1.3px )";
317
- }
318
-
319
- if ( 'video' == $bg_type ) {
320
- $selectors[' > .uagb-columns__overlay'] = array(
321
- 'opacity' => 1,
322
- 'background-color' => $attr['backgroundVideoColor'],
323
- );
324
- } else if ( 'image' == $bg_type ) {
325
- $selectors[' > .uagb-columns__overlay'] = array(
326
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
327
- 'background-color' => $attr['backgroundImageColor'],
328
- );
329
- } else if ( 'color' == $bg_type ) {
330
- $selectors[' > .uagb-columns__overlay'] = array(
331
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
332
- 'background-color' => $attr['backgroundColor'],
333
- );
334
- } elseif ( 'gradient' === $bg_type ) {
335
- $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
336
- $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
337
-
338
- if ( 'linear' === $attr['gradientType'] ) {
339
-
340
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
341
- } else {
342
-
343
- $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
344
- }
345
- }
346
-
347
- $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
348
-
349
- $m_selectors = array(
350
- '.uagb-columns__wrap' => array(
351
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
352
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
353
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
354
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
355
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] ),
356
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] ),
357
- ),
358
- ' .uagb-columns__shape-bottom svg' => array(
359
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
360
- ),
361
- ' .uagb-columns__shape-top svg' => array(
362
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
363
- ),
364
- );
365
-
366
- $t_selectors = array(
367
- '.uagb-columns__wrap' => array(
368
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
369
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
370
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
371
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
372
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] ),
373
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] ),
374
- ),
375
- ' .uagb-columns__shape-bottom svg' => array(
376
- 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
377
- ),
378
- ' .uagb-columns__shape-top svg' => array(
379
- 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
380
- ),
381
- );
382
-
383
- // @codingStandardsIgnoreEnd
384
-
385
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
386
-
387
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
388
-
389
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
390
-
391
- $generated_css = array(
392
- 'desktop' => $desktop,
393
- 'tablet' => $tablet,
394
- 'mobile' => $mobile,
395
- );
396
-
397
- return $generated_css;
398
- }
399
-
400
- /**
401
- * Get Single Column Block CSS
402
- *
403
- * @since 1.8.0
404
- * @param array $attr The block attributes.
405
- * @param string $id The selector ID.
406
- * @return array The Widget List.
407
- */
408
- public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
409
-
410
- global $content_width;
411
-
412
- $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
413
-
414
- $attr = array_merge( $defaults, $attr );
415
-
416
- $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
417
- $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'none';
418
-
419
- $style = array(
420
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
421
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
422
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
423
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
424
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
425
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
426
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] ),
427
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] ),
428
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
429
- );
430
-
431
- $m_selectors = array();
432
- $t_selectors = array();
433
-
434
- if ( "none" != $attr['borderStyle'] ) {
435
- $style["border-style"] = $attr['borderStyle'];
436
- $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
437
- $style["border-color"] = $attr['borderColor'];
438
- }
439
-
440
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
441
-
442
- if ( 'image' === $bg_type ) {
443
-
444
- $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
445
- $style['background-position'] = $position;
446
- $style['background-attachment'] = $attr['backgroundAttachment'];
447
- $style['background-repeat'] = $attr['backgroundRepeat'];
448
- $style['background-size'] = $attr['backgroundSize'];
449
-
450
- }
451
-
452
- $selectors = array(
453
- '.uagb-column__wrap' => $style
454
- );
455
-
456
- if ( 'image' == $bg_type ) {
457
- if( 'color' == $overlay_type ){
458
- $selectors[' > .uagb-column__overlay'] = array(
459
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
460
- 'background-color' => $attr['backgroundImageColor'],
461
- );
462
- }else{
463
- $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
464
- $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
465
-
466
- if ( 'linear' === $attr['gradientOverlayType'] ) {
467
-
468
- $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
469
- } else {
470
-
471
- $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
472
- }
473
- }
474
-
475
- } else if ( 'color' == $bg_type ) {
476
- $selectors[' > .uagb-column__overlay'] = array(
477
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
478
- 'background-color' => $attr['backgroundColor'],
479
- );
480
- } elseif ( 'gradient' === $bg_type ) {
481
- $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
482
- $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
483
-
484
- if ( 'linear' === $attr['gradientType'] ) {
485
-
486
- $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
487
- } else {
488
-
489
- $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
490
- }
491
- }
492
-
493
- if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
494
-
495
- $selectors[''] = array(
496
- "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
497
- );
498
- }
499
-
500
- $m_selectors = array(
501
- '.uagb-column__wrap' => array(
502
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['tabletPaddingType'] ),
503
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['tabletPaddingType'] ),
504
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['tabletPaddingType'] ),
505
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['tabletPaddingType'] ),
506
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['tabletMarginType'] ),
507
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['tabletMarginType'] ),
508
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['tabletMarginType'] ),
509
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['tabletMarginType'] ),
510
- )
511
- );
512
-
513
- $t_selectors = array(
514
- '.uagb-column__wrap' => array(
515
- 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['mobilePaddingType'] ),
516
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['mobilePaddingType'] ),
517
- 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['mobilePaddingType'] ),
518
- 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['mobilePaddingType'] ),
519
- 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['mobileMarginType'] ),
520
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['mobileMarginType'] ),
521
- 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['mobileMarginType'] ),
522
- 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['mobileMarginType'] ),
523
- )
524
- );
525
-
526
- if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
527
-
528
- $t_selectors[''] = array(
529
- "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
530
- );
531
- }
532
-
533
- if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
534
-
535
- $m_selectors[''] = array(
536
- "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
537
- );
538
- }
539
-
540
- // @codingStandardsIgnoreEnd
541
-
542
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
543
-
544
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
545
-
546
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
547
-
548
- $generated_css = array(
549
- 'desktop' => $desktop,
550
- 'tablet' => $tablet,
551
- 'mobile' => $mobile,
552
- );
553
-
554
- return $generated_css;
555
- }
556
-
557
- /**
558
- * Get Advanced Heading Block CSS
559
- *
560
- * @since 0.0.1
561
- * @param array $attr The block attributes.
562
- * @param string $id The selector ID.
563
- * @return array The Widget List.
564
- */
565
- public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
566
-
567
- $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
568
-
569
- $attr = array_merge( $defaults, (array) $attr );
570
-
571
- $m_selectors = array();
572
- $t_selectors = array();
573
-
574
- $selectors = array(
575
- ' .uagb-heading-text' => array(
576
- 'text-align' => $attr['headingAlign'],
577
- 'font-family' => $attr['headFontFamily'],
578
- 'font-weight' => $attr['headFontWeight'],
579
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
580
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
581
- 'color' => $attr['headingColor'],
582
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
583
- ),
584
- ' .uagb-separator-wrap' => array(
585
- 'text-align' => $attr['headingAlign'],
586
- ),
587
- ' .uagb-desc-text' => array(
588
- 'text-align' => $attr['headingAlign'],
589
- 'font-family' => $attr['subHeadFontFamily'],
590
- 'font-weight' => $attr['subHeadFontWeight'],
591
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
592
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
593
- 'color' => $attr['subHeadingColor'],
594
- )
595
-
596
- );
597
-
598
- $m_selectors = array(
599
- ' .uagb-heading-text' => array(
600
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
601
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
602
- ),
603
- ' .uagb-desc-text' => array(
604
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
605
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
606
- )
607
-
608
- );
609
-
610
- $t_selectors = array(
611
- ' .uagb-heading-text' => array(
612
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
613
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
614
-
615
- ),
616
- ' .uagb-desc-text' => array(
617
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
618
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
619
- )
620
-
621
- );
622
-
623
- $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
624
-
625
- if( 'none' !== $seperatorStyle ){
626
- $selectors[' .uagb-separator'] = array (
627
- 'border-top-style' => $attr['seperatorStyle'] ,
628
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
629
- 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
630
- 'border-color' => $attr['separatorColor'],
631
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
632
- );
633
-
634
- }
635
- // @codingStandardsIgnoreEnd
636
-
637
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
638
-
639
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
640
-
641
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
642
-
643
- $generated_css = array(
644
- 'desktop' => $desktop,
645
- 'tablet' => $tablet,
646
- 'mobile' => $mobile,
647
- );
648
-
649
- return $generated_css;
650
- }
651
-
652
- /**
653
- * Get Multi Buttons Block CSS
654
- *
655
- * @since 0.0.1
656
- * @param array $attr The block attributes.
657
- * @param string $id The selector ID.
658
- * @return array The Widget List.
659
- */
660
- public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
661
-
662
- $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
663
-
664
- $attr = array_merge( $defaults, (array) $attr );
665
-
666
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
667
-
668
- $m_selectors = array();
669
- $t_selectors = array();
670
-
671
- $selectors = array(
672
- ' .uagb-button__wrapper' => array(
673
- 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
674
- 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
675
- ),
676
- ' .uagb-button__wrapper:first-child' => array (
677
- 'margin-left' => 0
678
- ),
679
- ' .uagb-button__wrapper:last-child' => array (
680
- 'margin-right' => 0
681
- ),
682
- );
683
-
684
- if( 'full' === $attr['align'] ) {
685
- $selectors[' .uagb-buttons__wrap .uagb-button__wrapper'] = array (
686
- 'justify-content' => 'center',
687
- '-webkit-box-pack'=> 'center',
688
- '-ms-flex-pack' => 'center',
689
- 'justify-content' => 'center',
690
- '-webkit-box-align' => 'center',
691
- '-ms-flex-align' => 'center',
692
- 'align-items' => 'center',
693
- 'width' => '100%',
694
- 'text-align' => 'center',
695
- );
696
- } else {
697
- $selectors[' .uagb-buttons__wrap'] = array (
698
- 'justify-content' => $alignment,
699
- '-webkit-box-pack'=> $alignment,
700
- '-ms-flex-pack' => $alignment,
701
- 'justify-content' => $alignment,
702
- '-webkit-box-align' => $alignment,
703
- '-ms-flex-align' => $alignment,
704
- 'align-items' => $alignment,
705
- );
706
- }
707
-
708
- foreach ( $attr['buttons'] as $key => $button ) {
709
-
710
- $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
711
- $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
712
- $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
713
- $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
714
- $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
715
- $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
716
- $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
717
- $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
718
- $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
719
- $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
720
- $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
721
- $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
722
- $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
723
- $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
724
- $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
725
- $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
726
- $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
727
- $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
728
- $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
729
-
730
-
731
- if ( $attr['btn_count'] <= $key ) {
732
- break;
733
- }
734
-
735
- $selectors[' .uagb-buttons-repeater-' . $key] = array (
736
- 'font-size' => $button['size'] . $button['sizeType'],
737
- 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
738
- 'font-family' => $attr['fontFamily'],
739
- 'font-weight' => $attr['fontWeight'],
740
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
741
- 'border-color' => $button['borderColor'],
742
- 'border-style' => $button['borderStyle'],
743
- 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
744
- 'background' => $button['background']
745
- );
746
-
747
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
748
- 'background' => $button['hBackground'],
749
- 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
750
- 'border-color' => $button['borderHColor'],
751
- 'border-style' => $button['borderStyle'],
752
- );
753
-
754
- $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
755
- 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
756
- 'color' => $button['color']
757
- );
758
-
759
- $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
760
- 'color' => $button['hColor']
761
- );
762
-
763
- $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
764
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
765
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
766
- );
767
-
768
- $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
769
- 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
770
- 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
771
- );
772
- }
773
-
774
- if ( "desktop" == $attr['stack'] ) {
775
-
776
- $selectors[" .uagb-button__wrapper"] = array (
777
- 'margin-left' => 0,
778
- 'margin-right' => 0,
779
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
780
- );
781
-
782
- $selectors[" .uagb-buttons__wrap"] = array (
783
- "flex-direction" => "column"
784
- );
785
-
786
- $selectors[" .uagb-button__wrapper:last-child"] = array (
787
- "margin-bottom" => 0
788
- );
789
-
790
- } else if ( "tablet" == $attr['stack'] ) {
791
-
792
- $t_selectors[" .uagb-button__wrapper"] = array (
793
- 'margin-left' => 0,
794
- 'margin-right' => 0,
795
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
796
- );
797
-
798
- $t_selectors[" .uagb-buttons__wrap"] = array (
799
- "flex-direction" => "column"
800
- );
801
-
802
- $t_selectors[" .uagb-button__wrapper:last-child"] = array (
803
- "margin-bottom" => 0
804
- );
805
-
806
- } else if ( "mobile" == $attr['stack'] ) {
807
-
808
- $m_selectors[" .uagb-button__wrapper"] = array (
809
- 'margin-left' => 0,
810
- 'margin-right' => 0,
811
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
812
- );
813
-
814
- $m_selectors[" .uagb-buttons__wrap"] = array (
815
- "flex-direction" => "column"
816
- );
817
-
818
- $m_selectors[" .uagb-button__wrapper:last-child"] = array (
819
- "margin-bottom" => 0
820
- );
821
- }
822
-
823
- // @codingStandardsIgnoreEnd
824
-
825
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
826
-
827
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
828
-
829
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
830
-
831
- $generated_css = array(
832
- 'desktop' => $desktop,
833
- 'tablet' => $tablet,
834
- 'mobile' => $mobile,
835
- );
836
-
837
- return $generated_css;
838
- }
839
-
840
- /**
841
- * Get Info Box CSS
842
- *
843
- * @since 0.0.1
844
- * @param array $attr The block attributes.
845
- * @param string $id The selector ID.
846
- * @return array The Widget List.
847
- */
848
- public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
849
- $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
850
-
851
- $attr = array_merge( $defaults, (array) $attr );
852
-
853
- $m_selectors = array();
854
- $t_selectors = array();
855
-
856
- $selectors = array(
857
- ' .uagb-ifb-icon' => array(
858
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
859
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
860
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
861
- ),
862
- ' .uagb-ifb-icon > span' => array(
863
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
864
- 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
865
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
866
- 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
867
- 'color' => $attr['iconColor'],
868
- ),
869
- ' .uagb-ifb-icon svg' => array(
870
- 'fill' => $attr['iconColor'],
871
- ),
872
- ' .uagb-ifb-icon:hover > span' => array(
873
- 'color' => $attr['iconHover'] ,
874
- ),
875
- ' .uagb-ifb-icon:hover svg' => array(
876
- 'fill' => $attr['iconHover'] ,
877
- ),
878
-
879
- ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
880
- 'fill' => $attr['iconHover'] ,
881
- ),
882
-
883
- ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
884
- 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
885
- 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
886
- 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
887
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
888
- ),
889
- ' .uagb-infobox .uagb-ifb-image-content img' => array(
890
- 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
891
- ),
892
- // CTA style .
893
- ' .uagb-infobox-cta-link' => array(
894
- 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
895
- 'font-family' => $attr['ctaFontFamily'],
896
- 'font-weight' => $attr['ctaFontWeight'],
897
- 'color' => $attr['ctaLinkColor'],
898
- ),
899
- ' .uagb-infobox-cta-link:hover' => array(
900
- 'color' => $attr['ctaLinkHoverColor'],
901
- ),
902
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
903
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
904
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
905
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
906
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
907
- ),
908
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
909
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
910
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
911
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
912
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
913
- ),
914
- ' .uagb-infobox-cta-link svg' => array(
915
- 'fill' => $attr['ctaLinkColor'],
916
- ),
917
- ' .uagb-infobox-cta-link:hover svg' => array(
918
- 'fill' => $attr['ctaLinkHoverColor'],
919
- ),
920
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
921
- 'color' => $attr['ctaBtnLinkColor'],
922
- 'background-color' => $attr['ctaBgColor'],
923
- 'border-style' => $attr['ctaBorderStyle'],
924
- 'border-color' => $attr['ctaBorderColor'],
925
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
926
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
927
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
928
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
929
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
930
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
931
-
932
- ),
933
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
934
- 'fill' => $attr['ctaBtnLinkColor'],
935
- ),
936
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
937
- 'color' => $attr['ctaLinkHoverColor'],
938
- 'background-color' => $attr['ctaBgHoverColor'],
939
- 'border-color' => $attr['ctaBorderhoverColor'],
940
- ),
941
- ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
942
- 'fill' => $attr['ctaLinkHoverColor'],
943
- ),
944
- // Prefix Style.
945
- ' .uagb-ifb-title-prefix' => array(
946
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
947
- 'font-family' => $attr['prefixFontFamily'],
948
- 'font-weight' => $attr['prefixFontWeight'],
949
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
950
- 'color' => $attr['prefixColor'],
951
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
952
- ),
953
- // Title Style.
954
- ' .uagb-ifb-title' => array(
955
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
956
- 'font-family' => $attr['headFontFamily'],
957
- 'font-weight' => $attr['headFontWeight'],
958
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
959
- 'color' => $attr['headingColor'],
960
- 'margin-bottom' => $attr['headSpace'] . 'px',
961
- ),
962
- // Description Style.
963
- ' .uagb-ifb-desc' => array(
964
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
965
- 'font-family' => $attr['subHeadFontFamily'],
966
- 'font-weight' => $attr['subHeadFontWeight'],
967
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
968
- 'color' => $attr['subHeadingColor'],
969
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
970
- ),
971
- // Seperator.
972
- ' .uagb-ifb-separator' => array(
973
- 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
974
- 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
975
- 'border-top-color' => $attr['seperatorColor'],
976
- 'border-top-style' => $attr['seperatorStyle'],
977
- ),
978
- ' .uagb-ifb-separator-parent' => array(
979
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
980
- ),
981
- // CTA icon space.
982
- ' .uagb-ifb-align-icon-after' => array(
983
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
984
- ),
985
- ' .uagb-ifb-align-icon-before' => array(
986
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
987
- ),
988
- );
989
-
990
- if ( $attr['imageWidthType'] ) {
991
- // Image.
992
- $selectors[' .uagb-ifb-image-content > img'] = array(
993
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
994
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
995
- );
996
- }
997
-
998
- if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
999
- $selectors[' .uagb-infobox__content-wrap'] = array(
1000
- 'text-align' => $attr['headingAlign'],
1001
- );
1002
- }
1003
-
1004
- $m_selectors = array(
1005
- ' .uagb-ifb-title-prefix' => array(
1006
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1007
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
1008
- ),
1009
- ' .uagb-ifb-title' => array(
1010
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
1011
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
1012
- ),
1013
- ' .uagb-ifb-desc' => array(
1014
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
1015
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
1016
- ),
1017
- ' .uagb-infobox-cta-link' => array(
1018
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1019
- ),
1020
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1021
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1022
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1023
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1024
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1025
- ),
1026
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1027
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1028
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1029
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1030
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1031
- ),
1032
- );
1033
-
1034
- $t_selectors = array(
1035
- ' .uagb-ifb-title-prefix' => array(
1036
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1037
- ),
1038
- ' .uagb-ifb-title' => array(
1039
- 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
1040
- ),
1041
- ' .uagb-ifb-desc' => array(
1042
- 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
1043
- ),
1044
- ' .uagb-infobox-cta-link' => array(
1045
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1046
- ),
1047
- ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1048
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1049
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1050
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1051
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1052
- ),
1053
- ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1054
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1055
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1056
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1057
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1058
- ),
1059
- );
1060
-
1061
- // @codingStandardsIgnoreEnd.
1062
-
1063
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1064
-
1065
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1066
-
1067
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1068
-
1069
- $generated_css = array(
1070
- 'desktop' => $desktop,
1071
- 'tablet' => $tablet,
1072
- 'mobile' => $mobile,
1073
- );
1074
-
1075
- return $generated_css;
1076
- }
1077
-
1078
- /**
1079
- * Get CTA CSS
1080
- *
1081
- * @since 1.7.0
1082
- * @param array $attr The block attributes.
1083
- * @param string $id The selector ID.
1084
- * @return array The Widget List.
1085
- */
1086
- public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1087
- $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1088
-
1089
- $attr = array_merge( $defaults, (array) $attr );
1090
-
1091
- $t_selectors = array();
1092
- $m_selectors = array();
1093
-
1094
- $selectors = array(
1095
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1096
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1097
- 'font-family' => $attr['ctaFontFamily'],
1098
- 'font-weight' => $attr['ctaFontWeight'],
1099
- 'color' => $attr['ctaBtnLinkColor'],
1100
- ),
1101
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1102
- 'color' => $attr['ctaLinkHoverColor'],
1103
- ),
1104
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1105
- 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1106
- 'font-family' => $attr['ctaFontFamily'],
1107
- 'font-weight' => $attr['ctaFontWeight'],
1108
- 'color' => $attr['ctaBtnLinkColor'],
1109
- 'background-color' => $attr['ctaBgColor'],
1110
- 'border-style' => $attr['ctaBorderStyle'],
1111
- 'border-color' => $attr['ctaBorderColor'],
1112
- 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1113
- 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1114
- 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1115
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1116
- 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1117
- 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1118
- ),
1119
- ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1120
- 'color' => $attr['ctaLinkHoverColor'],
1121
- 'background-color' => $attr['ctaBgHoverColor'],
1122
- 'border-color' => $attr['ctaBorderhoverColor'],
1123
- ),
1124
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1125
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1126
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1127
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1128
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1129
- ),
1130
- ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1131
- 'fill' => $attr['ctaBtnLinkColor'],
1132
- ),
1133
- ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1134
- 'fill' => $attr['ctaLinkHoverColor'],
1135
- ),
1136
- ' .uagb-cta__title' => array(
1137
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1138
- 'font-family' => $attr['titleFontFamily'],
1139
- 'font-weight' => $attr['titleFontWeight'],
1140
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1141
- 'color' => $attr['titleColor'],
1142
- 'margin-bottom' => $attr['titleSpace']. "px",
1143
- ),
1144
- ' .uagb-cta__desc' => array(
1145
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1146
- 'font-family' => $attr['descFontFamily'],
1147
- 'font-weight' => $attr['descFontWeight'],
1148
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1149
- 'color' => $attr['descColor'],
1150
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1151
- ),
1152
- ' .uagb-cta__align-button-after' => array(
1153
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1154
- ),
1155
- ' .uagb-cta__align-button-before' => array(
1156
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1157
- ),
1158
- );
1159
-
1160
- $selectors[' .uagb-cta__content-wrap'] = array(
1161
- 'text-align' => $attr['textAlign'],
1162
- );
1163
-
1164
- if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1165
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1166
- 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1167
- 'margin-right' => '0',
1168
- );
1169
- }
1170
-
1171
- if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1172
- $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1173
- 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1174
- 'margin-left' => '0',
1175
- );
1176
- }
1177
-
1178
- if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1179
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1180
- "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1181
- );
1182
-
1183
- $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1184
- "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1185
- );
1186
- }
1187
-
1188
- $t_selectors = array(
1189
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1190
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1191
- ),
1192
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1193
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1194
- ),
1195
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1196
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1197
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1198
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1199
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1200
- ),
1201
- ' .uagb-cta__title' => array(
1202
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1203
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1204
- ),
1205
- ' .uagb-cta__desc' => array(
1206
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1207
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1208
- ),
1209
- );
1210
-
1211
- $m_selectors = array(
1212
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1213
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1214
- ),
1215
- ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1216
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1217
- ),
1218
- ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1219
- 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1220
- 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1221
- 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1222
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1223
- ),
1224
- ' .uagb-cta__title' => array(
1225
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1226
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1227
- ),
1228
- ' .uagb-cta__desc' => array(
1229
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1230
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1231
- ),
1232
- );
1233
-
1234
- // @codingStandardsIgnoreEnd.
1235
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1236
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1237
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1238
-
1239
- $generated_css = array(
1240
- 'desktop' => $desktop,
1241
- 'tablet' => $tablet,
1242
- 'mobile' => $mobile,
1243
- );
1244
-
1245
- return $generated_css;
1246
- }
1247
-
1248
- /**
1249
- * Get Testimonial CSS
1250
- *
1251
- * @since 0.0.1
1252
- * @param array $attr The block attributes.
1253
- * @param string $id The selector ID.
1254
- * @return array The Widget List.
1255
- */
1256
- public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1257
-
1258
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1259
-
1260
- $attr = array_merge( $defaults, (array) $attr );
1261
-
1262
- $img_align = 'center';
1263
- if( 'left' === $attr['headingAlign']){
1264
- $img_align = 'flex-start';
1265
- }else if( 'right' === $attr['headingAlign']){
1266
- $img_align = 'flex-end';
1267
- }
1268
-
1269
- $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1270
-
1271
- $selectors = array(
1272
- ' .uagb-testimonial__wrap' => array(
1273
- 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1274
- 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1275
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1276
- ),
1277
- ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1278
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1279
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1280
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1281
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1282
- ),
1283
- ' .uagb-tm__image img' => array(
1284
- 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1285
- 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1286
- ),
1287
- ' .uagb-tm__content' => array(
1288
- 'text-align' => $attr['headingAlign'],
1289
- 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1290
- ),
1291
- ' .uagb-tm__author-name' => array(
1292
- 'color' => $attr['authorColor'],
1293
- 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1294
- 'font-family' => $attr['nameFontFamily'],
1295
- 'font-weight' => $attr['nameFontWeight'],
1296
- 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1297
- 'margin-bottom' => $attr['nameSpace'] . 'px',
1298
- ),
1299
- ' .uagb-tm__company' => array(
1300
- 'color' => $attr['companyColor'],
1301
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1302
- 'font-family' => $attr['companyFontFamily'],
1303
- 'font-weight' => $attr['companyFontWeight'],
1304
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1305
- ),
1306
- ' .uagb-tm__desc' => array(
1307
- 'color' => $attr['descColor'],
1308
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1309
- 'font-family' => $attr['descFontFamily'],
1310
- 'font-weight' => $attr['descFontWeight'],
1311
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1312
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1313
- ),
1314
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1315
- 'background-color' => $attr['backgroundColor'],
1316
- ),
1317
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1318
- 'background-image' => ( isset( $attr['backgroundImage']['url'] ) && isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1319
- 'background-position'=> $position,
1320
- 'background-repeat'=> $attr['backgroundRepeat'],
1321
- 'background-size'=> $attr['backgroundSize'],
1322
- ),
1323
- ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1324
- 'background-color' => $attr['backgroundImageColor'],
1325
- 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1326
- ),
1327
- ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1328
- 'border-color' => $attr['borderColor'],
1329
- 'border-style' => $attr['borderStyle'],
1330
- 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1331
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1332
- ),
1333
- ' ul.slick-dots li button:before' => array(
1334
- 'color' => $attr['arrowColor'],
1335
- ),
1336
- ' ul.slick-dots li.slick-active button:before' => array(
1337
- 'color' => $attr['arrowColor'],
1338
- ),
1339
- ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1340
- 'justify-content' => $img_align,
1341
- ),
1342
- );
1343
-
1344
- if( 'dots' === $attr['arrowDots'] ){
1345
- $selectors['.uagb-slick-carousel'] = array(
1346
- 'padding' => '0 0 35px 0',
1347
- );
1348
- }
1349
-
1350
- if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1351
- $selectors['.uagb-slick-carousel'] = array(
1352
- 'padding' => 0,
1353
- );
1354
- }
1355
-
1356
- $t_selectors = array(
1357
- ' .uagb-tm__author-name' => array(
1358
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1359
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1360
- ),
1361
- ' .uagb-tm__company' => array(
1362
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1363
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1364
- ),
1365
- ' .uagb-tm__desc' => array(
1366
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1367
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1368
- ),
1369
- );
1370
-
1371
- $m_selectors = array(
1372
- ' .uagb-tm__author-name' => array(
1373
- 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1374
- 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1375
- ),
1376
- ' .uagb-tm__company' => array(
1377
- 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1378
- 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1379
- ),
1380
- ' .uagb-tm__desc' => array(
1381
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1382
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1383
- ),
1384
- ' .uagb-tm__content' => array(
1385
- 'text-align' => 'center',
1386
- )
1387
- );
1388
-
1389
-
1390
- // @codingStandardsIgnoreEnd.
1391
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1392
-
1393
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1394
-
1395
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1396
-
1397
- $generated_css = array(
1398
- 'desktop' => $desktop,
1399
- 'tablet' => $tablet,
1400
- 'mobile' => $mobile,
1401
- );
1402
-
1403
- return $generated_css;
1404
- }
1405
-
1406
- /**
1407
- * Get Team Block CSS
1408
- *
1409
- * @since 0.0.1
1410
- * @param array $attr The block attributes.
1411
- * @param string $id The selector ID.
1412
- * @return array The Widget List.
1413
- */
1414
- public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1415
-
1416
- $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1417
-
1418
- $attr = array_merge( $defaults, (array) $attr );
1419
-
1420
- $m_selectors = array();
1421
- $t_selectors = array();
1422
-
1423
- $selectors = array(
1424
- " p.uagb-team__desc" => array(
1425
- "font-family" => $attr['descFontFamily'],
1426
- "font-weight" => $attr['descFontWeight'],
1427
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1428
- "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1429
- "color" => $attr['descColor'],
1430
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1431
- ),
1432
- " .uagb-team__prefix" => array(
1433
- "font-family" => $attr['prefixFontFamily'],
1434
- "font-weight" => $attr['prefixFontWeight'],
1435
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1436
- "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1437
- "color" => $attr['prefixColor'],
1438
- ),
1439
- " .uagb-team__desc-wrap" => array(
1440
- "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1441
- ),
1442
- " .uagb-team__social-icon a" => array(
1443
- "color" => $attr['socialColor'],
1444
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1445
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1446
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1447
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1448
- ),
1449
- " .uagb-team__social-icon svg" => array(
1450
- "fill" => $attr['socialColor'],
1451
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1452
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1453
- ),
1454
- " .uagb-team__social-icon:hover a" => array(
1455
- "color" => $attr['socialHoverColor'],
1456
- ),
1457
- " .uagb-team__social-icon:hover svg" => array(
1458
- "fill" => $attr['socialHoverColor'],
1459
- ),
1460
- ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1461
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1462
- "margin-left" => "0",
1463
- ),
1464
- ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1465
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1466
- "margin-right" => "0",
1467
- ),
1468
- ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1469
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1470
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1471
- ),
1472
- ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1473
- "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1474
- "margin-left" => "0",
1475
- ),
1476
- ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1477
- "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1478
- "margin-right" => "0",
1479
- ),
1480
- " .uagb-team__image-wrap" => array(
1481
- "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1482
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1483
- "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1484
- "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1485
- "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1486
- ),
1487
- );
1488
-
1489
- if( 'above' == $attr['imgPosition'] ) {
1490
- if ( 'center' == $attr['align'] ) {
1491
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1492
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1493
- } else if ( 'left' == $attr['align'] ) {
1494
- $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1495
- } else if ( 'right' == $attr['align'] ) {
1496
- $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1497
- }
1498
- }
1499
-
1500
- if ( "above" != $attr['imgPosition'] ) {
1501
- if ( "middle" == $attr['imgAlign'] ) {
1502
- $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1503
- }
1504
- }
1505
-
1506
- $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1507
- "font-family" => $attr['titleFontFamily'],
1508
- "font-weight" => $attr['titleFontWeight'],
1509
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1510
- "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1511
- "color" => $attr['titleColor'],
1512
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1513
- );
1514
-
1515
- $m_selectors = array(
1516
- " p.uagb-team__desc" => array(
1517
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1518
- ),
1519
- " .uagb-team__prefix" => array(
1520
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1521
- ),
1522
- " .uagb-team__social-icon a" => array(
1523
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1524
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1525
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1526
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1527
- ),
1528
- " .uagb-team__social-icon svg" => array(
1529
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1530
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1531
- ),
1532
- );
1533
-
1534
- $t_selectors = array(
1535
- " p.uagb-team__desc" => array(
1536
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1537
- ),
1538
- " .uagb-team__prefix" => array(
1539
- "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1540
- ),
1541
- " .uagb-team__social-icon a" => array(
1542
- "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1543
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1544
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1545
- "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1546
- ),
1547
- " .uagb-team__social-icon svg" => array(
1548
- "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1549
- "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1550
- ),
1551
- );
1552
-
1553
- $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1554
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1555
- );
1556
-
1557
- $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1558
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1559
- );
1560
-
1561
- // @codingStandardsIgnoreEnd
1562
-
1563
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1564
-
1565
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1566
-
1567
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1568
-
1569
- $generated_css = array(
1570
- 'desktop' => $desktop,
1571
- 'tablet' => $tablet,
1572
- 'mobile' => $mobile,
1573
- );
1574
-
1575
- return $generated_css;
1576
- }
1577
-
1578
- /**
1579
- * Get Social Share Block CSS
1580
- *
1581
- * @since 0.0.1
1582
- * @param array $attr The block attributes.
1583
- * @param string $id The selector ID.
1584
- * @return array The Widget List.
1585
- */
1586
- public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1587
-
1588
- $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1589
-
1590
- $attr = array_merge( $defaults, (array) $attr );
1591
-
1592
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1593
-
1594
- $m_selectors = array();
1595
- $t_selectors = array();
1596
-
1597
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1598
- "margin-left" => 0,
1599
- "margin-right" => 0,
1600
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1601
- );
1602
-
1603
- $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1604
- "flex-direction" => "column"
1605
- );
1606
-
1607
- $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1608
- "margin-bottom" => 0
1609
- );
1610
-
1611
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1612
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1613
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1614
- );
1615
-
1616
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1617
- "margin-left" => 0
1618
- );
1619
-
1620
- $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1621
- "margin-right" => 0
1622
- );
1623
-
1624
- $selectors[" .uagb-ss__wrapper"] = array(
1625
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1626
- );
1627
-
1628
- $selectors[" .uagb-ss__source-wrap"] = array(
1629
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1630
- );
1631
-
1632
- $selectors[" .uagb-ss__source-wrap svg"] = array(
1633
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1634
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1635
- );
1636
-
1637
- $selectors[" .uagb-ss__source-image"] = array(
1638
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1639
- );
1640
-
1641
- $selectors[" .uagb-ss__source-icon"] = array(
1642
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1643
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1644
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1645
- "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1646
- );
1647
-
1648
-
1649
- $t_selectors[" .uagb-ss__source-wrap"] = array(
1650
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1651
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1652
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1653
- );
1654
-
1655
- $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1656
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1657
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1658
- );
1659
-
1660
- $t_selectors[" .uagb-ss__source-image"] = array(
1661
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1662
- );
1663
-
1664
- $t_selectors[" .uagb-ss__source-icon"] = array(
1665
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1666
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1667
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1668
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1669
- );
1670
- $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1671
- "margin-left" => 0,
1672
- "margin-right" => 0
1673
- );
1674
-
1675
-
1676
- $m_selectors[" .uagb-ss__source-wrap"] = array(
1677
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1678
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1679
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1680
- );
1681
-
1682
- $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1683
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1684
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1685
- );
1686
-
1687
- $m_selectors[" .uagb-ss__source-image"] = array(
1688
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1689
- );
1690
-
1691
- $m_selectors[" .uagb-ss__source-icon"] = array(
1692
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1693
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1694
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1695
- "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1696
- );
1697
- $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1698
- "margin-left" => 0,
1699
- "margin-right" => 0
1700
- );
1701
-
1702
-
1703
- foreach ( $attr['socials'] as $key => $social ) {
1704
-
1705
- $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1706
- $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1707
-
1708
- if ( $attr['social_count'] <= $key ) {
1709
- break;
1710
- }
1711
-
1712
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1713
- "color" => $social['icon_color'],
1714
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1715
- );
1716
-
1717
- $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1718
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1719
- );
1720
-
1721
- $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1722
- "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1723
- );
1724
-
1725
- $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1726
- "fill" => $social['icon_color'],
1727
- );
1728
-
1729
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1730
- "color" => $social['icon_hover_color']
1731
- );
1732
-
1733
- $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1734
- "fill" => $social['icon_hover_color']
1735
- );
1736
-
1737
- $selectors[" .uagb-ss-repeater-" . $key] = array (
1738
- "background" => $social['icon_bg_color']
1739
- );
1740
-
1741
- $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1742
- "background" => $social['icon_bg_hover_color']
1743
- );
1744
- }
1745
-
1746
- $selectors[" .uagb-social-share__wrap"] = array(
1747
- "justify-content" => $alignment,
1748
- "-webkit-box-pack" => $alignment,
1749
- "-ms-flex-pack" => $alignment,
1750
- "justify-content" => $alignment,
1751
- "-webkit-box-align" => $alignment,
1752
- "-ms-flex-align" => $alignment,
1753
- "align-items" => $alignment,
1754
- );
1755
-
1756
- if ( 'horizontal' == $attr['social_layout'] ) {
1757
-
1758
- if ( "desktop" == $attr['stack'] ) {
1759
-
1760
- $selectors[" .uagb-ss__wrapper"] = array (
1761
- "margin-left" => 0,
1762
- "margin-right" => 0,
1763
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1764
- );
1765
-
1766
- $selectors[" .uagb-social-share__wrap"] = array (
1767
- "flex-direction" => "column"
1768
- );
1769
-
1770
- $selectors[" .uagb-ss__wrapper:last-child"] = array (
1771
- "margin-bottom" => 0
1772
- );
1773
-
1774
- } else if ( "tablet" == $attr['stack'] ) {
1775
-
1776
- $t_selectors[" .uagb-ss__wrapper"] = array (
1777
- "margin-left" => 0,
1778
- "margin-right" => 0,
1779
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1780
- );
1781
-
1782
- $t_selectors[" .uagb-social-share__wrap"] = array (
1783
- "flex-direction" => "column"
1784
- );
1785
-
1786
- $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1787
- "margin-bottom" => 0
1788
- );
1789
-
1790
- } else if ( "mobile" == $attr['stack'] ) {
1791
-
1792
- $m_selectors[" .uagb-ss__wrapper"] = array (
1793
- "margin-left" => 0,
1794
- "margin-right" => 0,
1795
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1796
- );
1797
-
1798
- $m_selectors[" .uagb-social-share__wrap"] = array (
1799
- "flex-direction" => "column"
1800
- );
1801
-
1802
- $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1803
- "margin-bottom" => 0
1804
- );
1805
- }
1806
- }
1807
-
1808
- // @codingStandardsIgnoreEnd
1809
-
1810
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1811
-
1812
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1813
-
1814
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1815
-
1816
- $generated_css = array(
1817
- 'desktop' => $desktop,
1818
- 'tablet' => $tablet,
1819
- 'mobile' => $mobile,
1820
- );
1821
-
1822
- return $generated_css;
1823
- }
1824
-
1825
- /**
1826
- * Get Icon List Block CSS
1827
- *
1828
- * @since 0.0.1
1829
- * @param array $attr The block attributes.
1830
- * @param string $id The selector ID.
1831
- * @return array The Widget List.
1832
- */
1833
- public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1834
-
1835
- $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1836
-
1837
- $attr = array_merge( $defaults, (array) $attr );
1838
-
1839
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1840
-
1841
- $m_selectors = array();
1842
- $t_selectors = array();
1843
-
1844
- $selectors = array(
1845
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1846
- "margin-left" => 0,
1847
- "margin-right" => 0,
1848
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1849
- ),
1850
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1851
- "flex-direction" => "column"
1852
- ),
1853
- ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1854
- "margin-bottom" => 0
1855
- ),
1856
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1857
- "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1858
- "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1859
- ),
1860
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1861
- "margin-left" => 0
1862
- ),
1863
- ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1864
- "margin-right" => 0
1865
- ),
1866
- // Desktop Icon Size CSS starts.
1867
- " .uagb-icon-list__source-image" => array(
1868
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1869
- ),
1870
- " .uagb-icon-list__source-icon" => array(
1871
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1872
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1873
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1874
- ),
1875
- " .uagb-icon-list__source-icon svg" => array(
1876
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1877
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1878
- ),
1879
- " .uagb-icon-list__source-icon:before"=> array(
1880
- "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1881
- "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1882
- "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1883
- ),
1884
- " .uagb-icon-list__label-wrap"=> array(
1885
- "text-align" => $attr['align']
1886
- ),
1887
-
1888
- " .uagb-icon-list__source-wrap"=> array(
1889
- "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1890
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1891
- "border-style" => ( $attr['border'] > 0 ) ? 'solid' : '',
1892
- "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1893
- ),
1894
- " .uagb-icon-list__wrap"=> array(
1895
- "justify-content" => $alignment,
1896
- "-webkit-box-pack" => $alignment,
1897
- "-ms-flex-pack" => $alignment,
1898
- "justify-content" => $alignment,
1899
- "-webkit-box-align" => $alignment,
1900
- "-ms-flex-align" => $alignment,
1901
- "align-items" => $alignment,
1902
- )
1903
- );
1904
-
1905
- if ( 'right' == $attr['align'] ) {
1906
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1907
- "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1908
- );
1909
- $selectors[" .uagb-icon-list__content-wrap"] = array(
1910
- "flex-direction" => "row-reverse"
1911
- );
1912
- } else {
1913
- $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1914
- "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1915
- );
1916
- }
1917
- // Desktop Icon Size CSS ends.
1918
-
1919
- // Mobile Icon Size CSS starts.
1920
- $m_selectors = array(
1921
- " .uagb-icon-list__source-image" => array(
1922
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1923
- ),
1924
- " .uagb-icon-list__source-icon" => array(
1925
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1926
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1927
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1928
- ),
1929
- " .uagb-icon-list__source-icon svg" => array(
1930
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1931
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1932
- ),
1933
- " .uagb-icon-list__source-icon:before" => array(
1934
- "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1935
- "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1936
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1937
- ),
1938
- );
1939
- // Mobile Icon Size CSS ends.
1940
-
1941
- // Tablet Icon Size CSS starts.
1942
- $t_selectors = array(
1943
- " .uagb-icon-list__source-image" => array(
1944
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1945
- ),
1946
- " .uagb-icon-list__source-icon" => array(
1947
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1948
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1949
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1950
- ),
1951
- " .uagb-icon-list__source-icon svg" => array(
1952
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1953
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1954
- ),
1955
- " .uagb-icon-list__source-icon:before" => array(
1956
- "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1957
- "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1958
- "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1959
- ),
1960
- );
1961
- // Tablet Icon Size CSS ends.
1962
-
1963
- foreach ( $attr['icons'] as $key => $icon ) {
1964
-
1965
- $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1966
- $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1967
- $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1968
- $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1969
- $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1970
- $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1971
- $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1972
- $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1973
-
1974
- if ( $attr['icon_count'] <= $key ) {
1975
- break;
1976
- }
1977
-
1978
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1979
- "color" => $icon['icon_color']
1980
- );
1981
-
1982
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1983
- "fill" => $icon['icon_color']
1984
- );
1985
-
1986
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1987
- "color" => $icon['icon_hover_color']
1988
- );
1989
-
1990
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1991
- "fill" => $icon['icon_hover_color']
1992
- );
1993
-
1994
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
1995
- "color" => $icon['label_color'],
1996
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
1997
- 'font-family' => $attr['fontFamily'],
1998
- 'font-weight' => $attr['fontWeight'],
1999
- 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
2000
- );
2001
-
2002
- $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2003
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
2004
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
2005
- );
2006
-
2007
- $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2008
- "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
2009
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
2010
- );
2011
-
2012
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
2013
- "color" => $icon['label_hover_color']
2014
- );
2015
-
2016
- $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
2017
- "background" => $icon['icon_bg_color'],
2018
- "border-color" => $icon['icon_border_color'],
2019
- );
2020
-
2021
- $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
2022
- "background" => $icon['icon_bg_hover_color'],
2023
- "border-color" => $icon['icon_border_hover_color']
2024
- );
2025
- }
2026
-
2027
- if ( 'horizontal' == $attr['icon_layout'] ) {
2028
-
2029
- if ( "tablet" == $attr['stack'] ) {
2030
-
2031
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2032
- "margin-left" => 0,
2033
- "margin-right" => 0,
2034
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2035
- );
2036
-
2037
- $t_selectors[" .uagb-icon-list__wrap"] = array (
2038
- "flex-direction" => "column"
2039
- );
2040
-
2041
- $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2042
- "margin-bottom" => 0
2043
- );
2044
-
2045
- } else if ( "mobile" == $attr['stack'] ) {
2046
-
2047
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2048
- "margin-left" => 0,
2049
- "margin-right" => 0,
2050
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2051
- );
2052
-
2053
- $m_selectors[" .uagb-icon-list__wrap"] = array (
2054
- "flex-direction" => "column"
2055
- );
2056
-
2057
- $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2058
- "margin-bottom" => 0
2059
- );
2060
- }
2061
- }
2062
-
2063
- // @codingStandardsIgnoreEnd
2064
-
2065
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2066
-
2067
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2068
-
2069
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2070
-
2071
- $generated_css = array(
2072
- 'desktop' => $desktop,
2073
- 'tablet' => $tablet,
2074
- 'mobile' => $mobile,
2075
- );
2076
-
2077
- return $generated_css;
2078
- }
2079
-
2080
- /**
2081
- * Get Content Timeline Block CSS
2082
- *
2083
- * @since 0.0.1
2084
- * @param array $attr The block attributes.
2085
- * @param string $id The selector ID.
2086
- * @return array The Widget List.
2087
- */
2088
- public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2089
-
2090
- $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2091
-
2092
- $attr = array_merge( $defaults, (array) $attr );
2093
-
2094
- $selectors = array();
2095
- $t_selectors = array();
2096
- $m_selectors = array();
2097
-
2098
- $selectors = array(
2099
- " .uagb-timeline__heading" => array(
2100
- "text-align" => $attr['align'],
2101
- "color" => $attr['headingColor'],
2102
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2103
- 'font-family' => $attr['headFontFamily'],
2104
- 'font-weight' => $attr['headFontWeight'],
2105
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2106
- ),
2107
- " .uagb-timeline__heading-text" => array(
2108
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2109
- ),
2110
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2111
- 'color'=> $attr['iconFocus'],
2112
- ),
2113
- );
2114
-
2115
- $desktop_selectors = self::get_timeline_selectors( $attr );
2116
- $selectors = array_merge( $selectors, $desktop_selectors );
2117
-
2118
- $t_selectors = array(
2119
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2120
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2121
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2122
- ),
2123
- " .uagb-timeline__date-new" => array(
2124
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2125
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2126
- ),
2127
- " .uagb-timeline__heading" => array(
2128
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2129
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2130
- ),
2131
- " .uagb-timeline-desc-content" => array(
2132
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2133
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2134
- ),
2135
- );
2136
-
2137
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2138
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2139
-
2140
- $m_selectors = array(
2141
- " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2142
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2143
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2144
- ),
2145
- " .uagb-timeline__date-new" => array(
2146
- "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2147
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2148
- ),
2149
- " .uagb-timeline__heading" => array(
2150
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2151
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2152
- ),
2153
- " .uagb-timeline-desc-content" => array(
2154
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2155
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2156
- ),
2157
- );
2158
-
2159
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2160
-
2161
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2162
-
2163
- // @codingStandardsIgnoreEnd
2164
-
2165
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2166
-
2167
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2168
-
2169
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2170
-
2171
- $generated_css = array(
2172
- 'desktop' => $desktop,
2173
- 'tablet' => $tablet,
2174
- 'mobile' => $mobile,
2175
- );
2176
-
2177
- return $generated_css;
2178
- }
2179
-
2180
- /**
2181
- * Get Content Timeline Block CSS
2182
- *
2183
- * @since 0.0.1
2184
- * @param array $attr The block attributes.
2185
- * @param string $id The selector ID.
2186
- * @return array The Widget List.
2187
- */
2188
- public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2189
-
2190
- $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2191
-
2192
- $attr = array_merge( $defaults, (array) $attr );
2193
- $t_selectors = array();
2194
-
2195
- $selectors = array(
2196
- " .uagb-timeline__heading" => array(
2197
- "text-align" => $attr['align'],
2198
- ),
2199
- " .uagb-timeline__author" => array(
2200
- "text-align" => $attr['align'],
2201
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2202
- ),
2203
- " .uagb-timeline__link_parent" => array(
2204
- "text-align" => $attr['align'],
2205
- ),
2206
- " .uagb-timeline__image a" => array(
2207
- "text-align" => $attr['align'],
2208
- ),
2209
- " .uagb-timeline__author-link" => array(
2210
- "color" => $attr['authorColor'],
2211
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2212
- 'font-family' => $attr['authorFontFamily'],
2213
- 'font-weight' => $attr['authorFontWeight'],
2214
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2215
- ),
2216
- " .dashicons-admin-users" => array(
2217
- "color" => $attr['authorColor'],
2218
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2219
- 'font-weight' => $attr['authorFontWeight'],
2220
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2221
- ),
2222
- " .uagb-timeline__link" => array(
2223
- "color" => $attr['ctaColor'],
2224
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2225
- 'font-family' => $attr['ctaFontFamily'],
2226
- 'font-weight' => $attr['ctaFontWeight'],
2227
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2228
- "background-color" => $attr['ctaBackground'],
2229
- ),
2230
- " .uagb-timeline__heading a" => array(
2231
- "text-align" => $attr['align'],
2232
- "color" => $attr['headingColor'],
2233
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2234
- 'font-family' => $attr['headFontFamily'],
2235
- 'font-weight' => $attr['headFontWeight'],
2236
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2237
- ),
2238
- " .uagb-timeline__heading-text" => array(
2239
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2240
- ),
2241
- " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2242
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2243
- ),
2244
- ' .uagb-content' => array(
2245
- 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2246
- ),
2247
- );
2248
-
2249
-
2250
-
2251
- $desktop_selectors = self::get_timeline_selectors( $attr );
2252
- $selectors = array_merge( $selectors, $desktop_selectors );
2253
-
2254
- $t_selectors = array(
2255
- " .uagb-timeline__author-link" => array(
2256
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2257
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2258
- ),
2259
- " .dashicons-admin-users" => array(
2260
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2261
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2262
- ),
2263
- " .uagb-timeline__link" => array(
2264
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2265
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2266
- ),
2267
- " .uagb-timeline__heading a" => array(
2268
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2269
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2270
- ),
2271
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2272
- "text-align" => 'left',
2273
- ),
2274
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2275
- "text-align" => 'left',
2276
- ),
2277
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2278
- 'text-align' => 'left',
2279
- ),
2280
- );
2281
-
2282
- $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2283
- $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2284
-
2285
- // Mobile responsive CSS.
2286
- $m_selectors = array(
2287
- " .uagb-timeline__author-link" => array(
2288
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2289
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2290
- ),
2291
- " .dashicons-admin-users" => array(
2292
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2293
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2294
- ),
2295
- " .uagb-timeline__link" => array(
2296
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2297
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2298
- ),
2299
- " .uagb-timeline__heading a" => array(
2300
- "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2301
- 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2302
- ),
2303
- " .uagb-timeline__heading" => array(
2304
- "text-align" => $attr['align'],
2305
- ),
2306
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2307
- "text-align" => 'left',
2308
- ),
2309
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2310
- "text-align" => 'left',
2311
- ),
2312
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2313
- 'text-align' => 'left',
2314
- ),
2315
- );
2316
-
2317
- $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2318
- $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2319
-
2320
- // @codingStandardsIgnoreEnd
2321
-
2322
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2323
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2324
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2325
-
2326
- $generated_css = array(
2327
- 'desktop' => $desktop,
2328
- 'tablet' => $tablet,
2329
- 'mobile' => $mobile,
2330
- );
2331
-
2332
- return $generated_css;
2333
- }
2334
-
2335
- /**
2336
- * Get Restaurant Menu Block CSS
2337
- *
2338
- * @since 1.0.2
2339
- * @param array $attr The block attributes.
2340
- * @param string $id The selector ID.
2341
- * @return array The Widget List.
2342
- */
2343
- public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2344
-
2345
- $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2346
-
2347
- $attr = array_merge( $defaults, (array) $attr );
2348
-
2349
- $m_selectors = array();
2350
- $t_selectors = array();
2351
-
2352
- $align = $attr['headingAlign'];
2353
- if( 'left' === $align ){
2354
- $align = 'flex-start';
2355
- }else if( 'right' === $align ){
2356
- $align = 'flex-end';
2357
- }
2358
-
2359
- $selectors = array(
2360
- " .uagb-rest_menu__wrap" => array(
2361
- 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2362
- 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2363
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2364
- ),
2365
- " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2366
- 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2367
- 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2368
- 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2369
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2370
- ),
2371
- " .uagb-rm__image img" => array(
2372
- 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2373
- 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2374
- ),
2375
- " .uagb-rm__separator-parent" => array(
2376
- 'justify-content' => $align,
2377
- ),
2378
- " .uagb-rm__content" => array(
2379
- 'text-align' => $attr['headingAlign'] ,
2380
- 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2381
- 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2382
- 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2383
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2384
- ),
2385
- " .uagb-rm__title" => array(
2386
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2387
- 'color' => $attr['titleColor'] ,
2388
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2389
- 'font-family' => $attr['titleFontFamily'],
2390
- 'font-weight' => $attr['titleFontWeight'],
2391
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2392
- ),
2393
- " .uagb-rm__price" => array(
2394
- 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2395
- 'font-family' => $attr['priceFontFamily'],
2396
- 'font-weight' => $attr['priceFontWeight'],
2397
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2398
- 'color' => $attr['priceColor'],
2399
- ),
2400
- " .uagb-rm__desc" => array(
2401
- 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2402
- 'font-family' => $attr['descFontFamily'],
2403
- 'font-weight' => $attr['descFontWeight'],
2404
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2405
- 'color'=> $attr['descColor'],
2406
- 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2407
- ),
2408
- );
2409
-
2410
- if ( $attr["seperatorStyle"] != "none" ) {
2411
- $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2412
- 'border-top-color'=> $attr['seperatorColor'],
2413
- 'border-top-style'=> $attr['seperatorStyle'],
2414
- 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2415
- 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2416
- );
2417
- }
2418
-
2419
- $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2420
- 'margin-left'=> '0',
2421
- 'clear'=> 'left',
2422
- );
2423
-
2424
- $t_selectors = array(
2425
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2426
- 'margin-left'=> 'unset',
2427
- 'clear'=> 'unset',
2428
- ),
2429
- ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2430
- 'margin-left'=> '0',
2431
- 'clear'=> 'left',
2432
- ),
2433
- " .uagb-rm__title" => array(
2434
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2435
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2436
- ),
2437
- " .uagb-rm__desc" => array(
2438
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2439
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2440
- ),
2441
- " .uagb-rm__price" => array(
2442
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2443
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2444
- )
2445
- );
2446
-
2447
- $m_selectors = array(
2448
- ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2449
- 'margin-left'=> 'unset',
2450
- 'clear'=> 'unset',
2451
- ),
2452
- ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2453
- 'margin-left'=> '0',
2454
- 'clear'=> 'left',
2455
- ),
2456
- " .uagb-rm__title" => array(
2457
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2458
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2459
- ),
2460
- " .uagb-rm__desc" => array(
2461
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2462
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2463
- ),
2464
- " .uagb-rm__price" => array(
2465
- "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2466
- 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2467
- )
2468
- );
2469
-
2470
- // @codingStandardsIgnoreEnd
2471
-
2472
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2473
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2474
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2475
-
2476
- $generated_css = array(
2477
- 'desktop' => $desktop,
2478
- 'tablet' => $tablet,
2479
- 'mobile' => $mobile,
2480
- );
2481
-
2482
- return $generated_css;
2483
- }
2484
-
2485
- /**
2486
- * Get Post Grid Block CSS
2487
- *
2488
- * @since 1.4.0
2489
- * @param array $attr The block attributes.
2490
- * @param string $id The selector ID.
2491
- * @return array The Widget List.
2492
- */
2493
- public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2494
-
2495
- $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2496
-
2497
- $attr = array_merge( $defaults, (array) $attr );
2498
-
2499
- $selectors = self::get_post_selectors( $attr );
2500
-
2501
- $m_selectors = self::get_post_mobile_selectors( $attr );
2502
-
2503
- $t_selectors = self::get_post_tablet_selectors( $attr );
2504
-
2505
- // @codingStandardsIgnoreEnd
2506
-
2507
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2508
-
2509
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2510
-
2511
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2512
-
2513
- $generated_css = array(
2514
- 'desktop' => $desktop,
2515
- 'tablet' => $tablet,
2516
- 'mobile' => $mobile,
2517
- );
2518
-
2519
- return $generated_css;
2520
- }
2521
-
2522
- /**
2523
- * Get Post Carousel Block CSS
2524
- *
2525
- * @since 1.4.0
2526
- * @param array $attr The block attributes.
2527
- * @param string $id The selector ID.
2528
- * @return array The Widget List.
2529
- */
2530
- public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2531
-
2532
- $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2533
-
2534
- $attr = array_merge( $defaults, (array) $attr );
2535
-
2536
- $selectors = self::get_post_selectors( $attr );
2537
-
2538
- $m_selectors = self::get_post_mobile_selectors( $attr );
2539
-
2540
- $t_selectors = self::get_post_tablet_selectors( $attr );
2541
-
2542
- $selectors[" .slick-arrow"] = array(
2543
- "border-color" => $attr['arrowColor']
2544
- );
2545
-
2546
- $selectors[" .slick-arrow span"] = array(
2547
- "color" => $attr['arrowColor'],
2548
- "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2549
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2550
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2551
- );
2552
-
2553
- $selectors[" .slick-arrow svg"] = array(
2554
- "fill" => $attr['arrowColor'],
2555
- "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2556
- "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2557
- );
2558
-
2559
- $selectors[" .slick-arrow"] = array(
2560
- "border-color" => $attr['arrowColor'],
2561
- "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2562
- "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2563
- );
2564
-
2565
- $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2566
- "color" => $attr['arrowColor']
2567
- );
2568
-
2569
- $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2570
- "color" => $attr['arrowColor']
2571
- );
2572
-
2573
- if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2574
-
2575
- $selectors[".uagb-slick-carousel"] = array(
2576
- "padding" => "0 0 35px 0"
2577
- );
2578
- }
2579
-
2580
- // @codingStandardsIgnoreEnd
2581
-
2582
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2583
-
2584
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2585
-
2586
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2587
-
2588
- $generated_css = array(
2589
- 'desktop' => $desktop,
2590
- 'tablet' => $tablet,
2591
- 'mobile' => $mobile,
2592
- );
2593
-
2594
- return $generated_css;
2595
- }
2596
-
2597
- /**
2598
- * Get Post Masonry Block CSS
2599
- *
2600
- * @since 1.4.0
2601
- * @param array $attr The block attributes.
2602
- * @param string $id The selector ID.
2603
- * @return array The Widget List.
2604
- */
2605
- public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2606
-
2607
- $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2608
-
2609
- $attr = array_merge( $defaults, (array) $attr );
2610
-
2611
- $selectors = self::get_post_selectors( $attr );
2612
-
2613
- $m_selectors = self::get_post_mobile_selectors( $attr );
2614
-
2615
- $t_selectors = self::get_post_tablet_selectors( $attr );
2616
-
2617
- // @codingStandardsIgnoreEnd
2618
-
2619
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2620
-
2621
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2622
-
2623
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2624
-
2625
- $generated_css = array(
2626
- 'desktop' => $desktop,
2627
- 'tablet' => $tablet,
2628
- 'mobile' => $mobile,
2629
- );
2630
-
2631
- return $generated_css;
2632
- }
2633
-
2634
- /**
2635
- * Get Post Block Selectors CSS
2636
- *
2637
- * @param array $attr The block attributes.
2638
- * @since 1.4.0
2639
- */
2640
- public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2641
- return array(
2642
- " .uagb-post__items" => array(
2643
- "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2644
- "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2645
- ),
2646
- " .uagb-post__items article" => array(
2647
- "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2648
- "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2649
- "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2650
- ),
2651
- " .uagb-post__inner-wrap" => array(
2652
- "background" => $attr['bgColor']
2653
- ),
2654
- " .uagb-post__text" => array(
2655
- "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2656
- "text-align" => $attr['align']
2657
- ),
2658
- " .uagb-post__text .uagb-post__title" => array(
2659
- "color"=> $attr['titleColor'],
2660
- "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2661
- 'font-family' => $attr['titleFontFamily'],
2662
- 'font-weight' => $attr['titleFontWeight'],
2663
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2664
- "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2665
- ),
2666
- " .uagb-post__text .uagb-post__title a" => array(
2667
- "color" => $attr['titleColor'],
2668
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2669
- 'font-family' => $attr['titleFontFamily'],
2670
- 'font-weight' => $attr['titleFontWeight'],
2671
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2672
- ),
2673
- " .uagb-post__text .uagb-post-grid-byline" => array(
2674
- "color"=> $attr['metaColor'],
2675
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2676
- 'font-family' => $attr['metaFontFamily'],
2677
- 'font-weight' => $attr['metaFontWeight'],
2678
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2679
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2680
- ),
2681
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2682
- "color" => $attr['metaColor'],
2683
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2684
- 'font-family' => $attr['metaFontFamily'],
2685
- 'font-weight' => $attr['metaFontWeight'],
2686
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2687
- ),
2688
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2689
- "color" => $attr['metaColor'],
2690
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2691
- 'font-family' => $attr['metaFontFamily'],
2692
- 'font-weight' => $attr['metaFontWeight'],
2693
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2694
- ),
2695
- " .uagb-post__text .uagb-post__excerpt" => array(
2696
- "color" => $attr['excerptColor'],
2697
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2698
- 'font-family' => $attr['excerptFontFamily'],
2699
- 'font-weight' => $attr['excerptFontWeight'],
2700
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2701
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2702
- ),
2703
- " .uagb-post__text .uagb-post__cta" => array(
2704
- "color" => $attr['ctaColor'],
2705
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2706
- 'font-family' => $attr['ctaFontFamily'],
2707
- 'font-weight' => $attr['ctaFontWeight'],
2708
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2709
- "background" => $attr['ctaBgColor'],
2710
- "border-color" => $attr['borderColor'],
2711
- "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2712
- "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2713
- "border-style" => $attr['borderStyle'],
2714
- ),
2715
- " .uagb-post__text .uagb-post__cta:hover" => array(
2716
- "border-color"=> $attr['borderHColor']
2717
- ),
2718
- " .uagb-post__text .uagb-post__cta a" => array(
2719
- "color"=> $attr['ctaColor'],
2720
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2721
- 'font-family' => $attr['ctaFontFamily'],
2722
- 'font-weight' => $attr['ctaFontWeight'],
2723
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2724
- "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2725
- ),
2726
- " .uagb-post__text .uagb-post__cta:hover" => array(
2727
- "color"=> $attr['ctaHColor'],
2728
- "background"=> $attr['ctaBgHColor']
2729
- ),
2730
- " .uagb-post__text .uagb-post__cta:hover a" => array(
2731
- "color"=> $attr['ctaHColor']
2732
- ),
2733
- " .uagb-post__image:before" => array(
2734
- "background-color" => $attr['bgOverlayColor'],
2735
- "opacity" => ( $attr['overlayOpacity'] / 100 )
2736
- ),
2737
- );
2738
- // @codingStandardsIgnoreEnd
2739
- }
2740
-
2741
- /**
2742
- * Get Post Block Selectors CSS for Mobile devices
2743
- *
2744
- * @param array $attr The block attributes.
2745
- * @since 1.6.1
2746
- */
2747
- public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2748
-
2749
- return array(
2750
- " .uagb-post__text .uagb-post__title" => array(
2751
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2752
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2753
- ),
2754
- " .uagb-post__text .uagb-post__title a" => array(
2755
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2756
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2757
- ),
2758
- " .uagb-post__text .uagb-post-grid-byline" => array(
2759
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2760
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2761
- ),
2762
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2763
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2764
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2765
- ),
2766
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2767
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2768
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2769
- ),
2770
- " .uagb-post__text .uagb-post__excerpt" => array(
2771
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2772
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2773
- ),
2774
- " .uagb-post__text .uagb-post__cta" => array(
2775
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2776
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2777
- ),
2778
- " .uagb-post__text .uagb-post__cta a" => array(
2779
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2780
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2781
- ),
2782
- " .uagb-post__text" => array(
2783
- "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2784
- ),
2785
- );
2786
- // @codingStandardsIgnoreEnd
2787
- }
2788
-
2789
- /**
2790
- * Get Post Block Selectors CSS for Tablet devices
2791
- *
2792
- * @param array $attr The block attributes.
2793
- * @since 1.8.2
2794
- */
2795
- public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2796
- return array(
2797
- " .uagb-post__text .uagb-post__title" => array(
2798
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2799
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2800
- ),
2801
- " .uagb-post__text .uagb-post__title a" => array(
2802
- "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2803
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2804
- ),
2805
- " .uagb-post__text .uagb-post-grid-byline" => array(
2806
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2807
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2808
- ),
2809
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2810
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2811
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2812
- ),
2813
- " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2814
- "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2815
- 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2816
- ),
2817
- " .uagb-post__text .uagb-post__excerpt" => array(
2818
- "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2819
- 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2820
- ),
2821
- " .uagb-post__text .uagb-post__cta" => array(
2822
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2823
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2824
- ),
2825
- " .uagb-post__text .uagb-post__cta a" => array(
2826
- "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2827
- 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2828
- ),
2829
- );
2830
- // @codingStandardsIgnoreEnd
2831
- }
2832
-
2833
- /**
2834
- * Get Blockquote CSS
2835
- *
2836
- * @since 1.8.2
2837
- * @param array $attr The block attributes.
2838
- * @param string $id The selector ID.
2839
- * @return array The Widget List.
2840
- */
2841
- public static function get_blockquote_css( $attr, $id ) {
2842
- // @codingStandardsIgnoreStart
2843
-
2844
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2845
-
2846
- $attr = array_merge( $defaults, (array) $attr );
2847
-
2848
- $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2849
-
2850
- $content_align ="center";
2851
-
2852
- if( 'left' === $attr['align'] ){
2853
- $content_align =" flex-start";
2854
- }
2855
- if( 'right' === $attr['align'] ){
2856
- $content_align =" flex-end";
2857
- }
2858
-
2859
- $author_space = $attr['authorSpace'];
2860
-
2861
- if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2862
- $author_space = 0;
2863
- }
2864
-
2865
- //Set align to left for border style.
2866
- $text_align = $attr['align'];
2867
-
2868
- if( 'border' === $attr['skinStyle'] ){
2869
- $text_align = 'left';
2870
- }
2871
-
2872
- $selectors = array(
2873
- " .uagb-blockquote__content" => array(
2874
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2875
- 'font-family' => $attr['descFontFamily'],
2876
- 'font-weight' => $attr['descFontWeight'],
2877
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2878
- "color" => $attr['descColor'],
2879
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2880
- "text-align" => $text_align,
2881
- ),
2882
- " cite.uagb-blockquote__author" => array(
2883
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2884
- 'font-family' => $attr['authorFontFamily'],
2885
- 'font-weight' => $attr['authorFontWeight'],
2886
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2887
- "color" => $attr['authorColor'],
2888
- "text-align" => $text_align,
2889
- ),
2890
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2891
- "border-color" => $attr['borderColor'],
2892
- "border-left-style" => $attr['borderStyle'],
2893
- "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2894
- "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2895
- "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2896
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2897
- ),
2898
-
2899
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2900
- "background" => $attr['quoteBgColor'],
2901
- "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2902
- "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2903
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2904
- "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2905
- "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2906
- "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2907
- ),
2908
-
2909
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2910
- "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2911
- "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2912
- ),
2913
-
2914
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2915
- "fill" => $attr['quoteColor'],
2916
- ),
2917
-
2918
- " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2919
- "text-align" => $attr['align'],
2920
- ),
2921
-
2922
- " .uagb-blockquote__author-wrap" => array(
2923
- "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2924
- ),
2925
- " .uagb-blockquote__author-image img" => array(
2926
- "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2927
- "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2928
- "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2929
- ),
2930
-
2931
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2932
- "fill" => $attr['quoteHoverColor'],
2933
- ),
2934
-
2935
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2936
- "background" => $attr['quoteBgHoverColor'],
2937
- ),
2938
-
2939
- " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2940
- "border-left-color" => $attr['borderHoverColor'],
2941
- ),
2942
- );
2943
-
2944
- if( $attr['enableTweet'] ){
2945
- $selectors[" a.uagb-blockquote__tweet-button"] = array(
2946
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2947
- 'font-family' => $attr['tweetBtnFontFamily'],
2948
- 'font-weight' => $attr['tweetBtnFontWeight'],
2949
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2950
- );
2951
-
2952
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2953
- "color" => $attr['tweetLinkColor'],
2954
- );
2955
-
2956
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2957
- "fill" => $attr['tweetLinkColor'],
2958
- );
2959
-
2960
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2961
- "color" => $attr['tweetBtnColor'],
2962
- "background-color" => $attr['tweetBtnBgColor'],
2963
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2964
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2965
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2966
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2967
- );
2968
-
2969
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2970
- "fill" => $attr['tweetBtnColor'],
2971
- );
2972
-
2973
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2974
- "color" => $attr['tweetBtnColor'],
2975
- "background-color" => $attr['tweetBtnBgColor'],
2976
- "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2977
- "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2978
- "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2979
- "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2980
- );
2981
-
2982
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2983
- "fill" => $attr['tweetBtnColor'],
2984
- );
2985
-
2986
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2987
- "border-right-color" => $attr['tweetBtnBgColor'],
2988
- );
2989
-
2990
- $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2991
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2992
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2993
- );
2994
-
2995
- $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
2996
- "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
2997
- );
2998
-
2999
- // Hover CSS.
3000
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
3001
- "color" => $attr['tweetBtnHoverColor'],
3002
- );
3003
-
3004
- $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
3005
- "fill" => $attr['tweetBtnHoverColor'],
3006
- );
3007
-
3008
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
3009
- "color" => $attr['tweetBtnHoverColor'],
3010
- "background-color" => $attr['tweetBtnBgHoverColor'],
3011
- );
3012
-
3013
- $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
3014
- "fill" => $attr['tweetBtnHoverColor'],
3015
- );
3016
-
3017
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
3018
- "color" => $attr['tweetBtnHoverColor'],
3019
- "background-color" => $attr['tweetBtnBgHoverColor'],
3020
- );
3021
-
3022
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
3023
- "fill" => $attr['tweetBtnHoverColor'],
3024
- );
3025
-
3026
- $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
3027
- "border-right-color" => $attr['tweetBtnBgHoverColor'],
3028
- );
3029
- }
3030
-
3031
- $t_selectors = array(
3032
- " .uagb-blockquote__content" => array(
3033
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
3034
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
3035
- ),
3036
- " cite.uagb-blockquote__author" =>array(
3037
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
3038
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
3039
- ),
3040
- " a.uagb-blockquote__tweet-button" => array(
3041
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3042
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
3043
- ),
3044
- " a.uagb-blockquote__tweet-button svg" => array(
3045
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3046
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3047
- ),
3048
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3049
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
3050
- ),
3051
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3052
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3053
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3054
- ),
3055
- );
3056
-
3057
- $m_selectors = array(
3058
- " .uagb-blockquote__content" => array(
3059
- "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3060
- 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3061
- ),
3062
- " cite.uagb-blockquote__author" => array(
3063
- "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3064
- 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3065
- ),
3066
- " a.uagb-blockquote__tweet-button" => array(
3067
- "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3068
- 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3069
- ),
3070
- " a.uagb-blockquote__tweet-button svg" => array(
3071
- "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3072
- "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3073
- ),
3074
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3075
- "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3076
- ),
3077
- " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3078
- "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3079
- "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3080
- ),
3081
- );
3082
-
3083
- // @codingStandardsIgnoreEnd
3084
-
3085
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3086
-
3087
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3088
-
3089
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3090
-
3091
- $generated_css = array(
3092
- 'desktop' => $desktop,
3093
- 'tablet' => $tablet,
3094
- 'mobile' => $mobile,
3095
- );
3096
-
3097
- return $generated_css;
3098
- }
3099
-
3100
- /**
3101
- * Get Timeline Block Desktop Selectors CSS
3102
- *
3103
- * @param array $attr The block attributes.
3104
- * @since 1.8.2
3105
- */
3106
- public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3107
- $selectors = array(
3108
- " .uagb-timeline__heading-text" => array(
3109
- "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3110
- ),
3111
- " .uagb-timeline-desc-content" => array(
3112
- "text-align" => $attr['align'],
3113
- "color" => $attr['subHeadingColor'],
3114
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3115
- 'font-family' => $attr['subHeadFontFamily'],
3116
- 'font-weight' => $attr['subHeadFontWeight'],
3117
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3118
- ),
3119
- ' .uagb-timeline__events-new' => array(
3120
- 'text-align' => $attr['align']
3121
- ),
3122
- ' .uagb-timeline__date-inner' => array(
3123
- 'text-align' => $attr['align']
3124
- ),
3125
- ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3126
- 'border-left-color' => $attr['backgroundColor']
3127
- ),
3128
- ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3129
- 'border-left-color' => $attr['backgroundColor']
3130
- ),
3131
- ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3132
- 'border-right-color' => $attr['backgroundColor']
3133
- ),
3134
- ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3135
- 'border-right-color' => $attr['backgroundColor']
3136
- ),
3137
- ' .uagb-timeline__line__inner' => array(
3138
- 'background-color' => $attr['separatorFillColor']
3139
- ),
3140
- ' .uagb-timeline__line' => array(
3141
- 'background-color' => $attr['separatorColor'],
3142
- 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3143
- ),
3144
- ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3145
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3146
- ),
3147
- ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3148
- 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3149
- ),
3150
- ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3151
- 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3152
- ),
3153
- ' .uagb-timeline__marker' => array(
3154
- 'background-color' => $attr['separatorBg'],
3155
- 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3156
- 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3157
- 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3158
- 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3159
- ),
3160
- ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3161
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3162
- ),
3163
- ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3164
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3165
- ),
3166
- ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3167
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3168
- ),
3169
- ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3170
- 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3171
- ),
3172
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3173
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3174
- 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3175
- ),
3176
- ' .uagb-timeline__field:not(:last-child)' => array(
3177
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3178
- ),
3179
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3180
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3181
- 'color' => $attr['dateColor'],
3182
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3183
- 'font-family' => $attr['dateFontFamily'],
3184
- 'font-weight' => $attr['dateFontWeight'],
3185
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3186
- 'text-align' => $attr['align'],
3187
- ),
3188
- ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3189
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3190
- ),
3191
- ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3192
- 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3193
- ),
3194
- ' .uagb-timeline__date-new' => array(
3195
- 'color' => $attr['dateColor'],
3196
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3197
- 'font-family' => $attr['dateFontFamily'],
3198
- 'font-weight' => $attr['dateFontWeight'],
3199
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3200
- ),
3201
- ' .uagb-timeline__events-inner-new' => array(
3202
- 'background-color' => $attr['backgroundColor'],
3203
- 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3204
- 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3205
- ),
3206
- ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3207
- 'color' => $attr['iconColor'],
3208
- 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3209
- 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3210
- ),
3211
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3212
- 'fill'=> $attr['iconFocus'],
3213
- ),
3214
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3215
- 'color'=> $attr['iconFocus'],
3216
- ),
3217
- ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3218
- 'background' => $attr['iconBgFocus'],
3219
- 'border-color'=> $attr['borderFocus'],
3220
- ),
3221
- ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3222
- 'fill'=> $attr['iconColor'],
3223
- ),
3224
- );
3225
-
3226
- return $selectors;
3227
- // @codingStandardsIgnoreEnd
3228
- }
3229
-
3230
- /**
3231
- * Get Timeline Block Tablet Selectors CSS.
3232
- *
3233
- * @param array $attr The block attributes.
3234
- * @since 1.8.2
3235
- */
3236
- public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3237
- $tablet_selector = array(
3238
- " .uagb-timeline-desc-content" => array(
3239
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3240
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3241
- ),
3242
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3243
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3244
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3245
- ),
3246
- ' .uagb-timeline__date-new' => array(
3247
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3248
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3249
- ),
3250
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3251
- 'margin-left' => 0,
3252
- 'margin-right' => 0,
3253
- ),
3254
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3255
- "text-align" => 'left',
3256
- ),
3257
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3258
- "text-align" => 'left',
3259
- ),
3260
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3261
- 'text-align' => 'left'
3262
- ),
3263
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3264
- 'text-align' => 'left'
3265
- ),
3266
- ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3267
- 'text-align'=> 'left',
3268
- ),
3269
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3270
- "border-right-color" => $attr['backgroundColor'],
3271
- ),
3272
- " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3273
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3274
- ),
3275
- );
3276
-
3277
- return $tablet_selector;
3278
- // @codingStandardsIgnoreEnd
3279
- }
3280
-
3281
- /**
3282
- * Get Timeline Block Mobile Selectors CSS.
3283
- *
3284
- * @param array $attr The block attributes.
3285
- * @since 1.8.2
3286
- */
3287
- public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3288
- $m_selectors = array(
3289
- " .uagb-timeline-desc-content" => array(
3290
- "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3291
- 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3292
- ),
3293
- ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3294
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3295
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3296
- ),
3297
- ' .uagb-timeline__date-new' => array(
3298
- 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3299
- 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3300
- ),
3301
- ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3302
- 'margin-left' => 0,
3303
- 'margin-right' => 0,
3304
- ),
3305
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3306
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3307
- ),
3308
- ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3309
- 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3310
- ),
3311
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3312
- "text-align" => 'left',
3313
- ),
3314
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3315
- "text-align" => 'left',
3316
- ),
3317
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3318
- 'text-align' => 'left'
3319
- ),
3320
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3321
- 'text-align' => 'left'
3322
- ),
3323
- ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3324
- 'text-align'=> 'left',
3325
- ),
3326
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3327
- "border-right-color" => $attr['backgroundColor'],
3328
- ),
3329
- " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3330
- 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3331
- ),
3332
- );
3333
- return $m_selectors;
3334
- // @codingStandardsIgnoreEnd
3335
- }
3336
-
3337
- /**
3338
- * Get Contact Form 7 CSS
3339
- *
3340
- * @param array $attr The block attributes.
3341
- * @param string $id The selector ID.
3342
- * @since 1.10.0
3343
- */
3344
- public static function get_cf7_styler_css( $attr, $id ) {
3345
- $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3346
-
3347
- $attr = array_merge( $defaults, (array) $attr );
3348
-
3349
- $selectors = array(
3350
- ' .wpcf7 .wpcf7-form' => array(
3351
- 'text-align' => $attr['align'],
3352
- ),
3353
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3354
- 'color' => $attr['fieldLabelColor'],
3355
- ),
3356
- ' .wpcf7 input:not([type=submit])' => array(
3357
- 'background-color' => $attr['fieldBgColor'],
3358
- 'color' => $attr['fieldInputColor'],
3359
- 'border-style' => $attr['fieldBorderStyle'],
3360
- 'border-color' => $attr['fieldBorderColor'],
3361
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3362
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3363
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3364
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3365
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3366
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3367
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3368
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3369
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3370
- 'font-family' => $attr['inputFontFamily'],
3371
- 'font-weight' => $attr['inputFontWeight'],
3372
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3373
- 'text-align' => $attr['align'],
3374
- ),
3375
- ' .wpcf7 select' => array(
3376
- 'background-color' => $attr['fieldBgColor'],
3377
- 'color' => $attr['fieldLabelColor'],
3378
- 'border-style' => $attr['fieldBorderStyle'],
3379
- 'border-color' => $attr['fieldBorderColor'],
3380
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3381
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3382
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3383
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3384
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3385
- 'font-family' => $attr['inputFontFamily'],
3386
- 'font-weight' => $attr['inputFontWeight'],
3387
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3388
- 'text-align' => $attr['align'],
3389
- ),
3390
- ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3391
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3392
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3393
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3394
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3395
- ),
3396
- ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3397
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3398
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3399
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3400
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3401
- ),
3402
- ' .wpcf7 textarea' => array(
3403
- 'background-color' => $attr['fieldBgColor'],
3404
- 'color' => $attr['fieldInputColor'],
3405
- 'border-color' => $attr['fieldBorderColor'],
3406
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3407
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3408
- 'border-style' => $attr['fieldBorderStyle'],
3409
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3410
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3411
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3412
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3413
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3414
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3415
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3416
- 'font-family' => $attr['inputFontFamily'],
3417
- 'font-weight' => $attr['inputFontWeight'],
3418
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3419
- 'text-align' => $attr['align'],
3420
- ),
3421
- ' .wpcf7 textarea::placeholder' => array(
3422
- 'color' => $attr['fieldInputColor'],
3423
- 'text-align' => $attr['align'],
3424
- ),
3425
- ' .wpcf7 input::placeholder' => array(
3426
- 'color' => $attr['fieldInputColor'],
3427
- 'text-align' => $attr['align'],
3428
- ),
3429
- ' .wpcf7 form label' => array(
3430
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3431
- 'font-family' => $attr['labelFontFamily'],
3432
- 'font-weight' => $attr['labelFontWeight'],
3433
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3434
- ),
3435
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3436
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3437
- 'font-family' => $attr['labelFontFamily'],
3438
- 'font-weight' => $attr['labelFontWeight'],
3439
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3440
- ),
3441
-
3442
- // Focus.
3443
- ' .wpcf7 form input:not([type=submit]):focus' => array(
3444
- 'border-color' => $attr['fieldBorderFocusColor'],
3445
- ),
3446
- ' .wpcf7 form select:focus' => array(
3447
- 'border-color' => $attr['fieldBorderFocusColor'],
3448
- ),
3449
- ' .wpcf7 textarea:focus' => array(
3450
- 'border-color' => $attr['fieldBorderFocusColor'],
3451
- ),
3452
-
3453
- // Submit button.
3454
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3455
- 'color' => $attr['buttonTextColor'],
3456
- 'background-color' => $attr['buttonBgColor'],
3457
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3458
- 'font-family' => $attr['buttonFontFamily'],
3459
- 'font-weight' => $attr['buttonFontWeight'],
3460
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3461
- 'border-color' => $attr['buttonBorderColor'],
3462
- 'border-style' => $attr['buttonBorderStyle'],
3463
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3464
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3465
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3466
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3467
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3468
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3469
- ),
3470
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3471
- 'color' => $attr['buttonTextHoverColor'],
3472
- 'background-color' => $attr['buttonBgHoverColor'],
3473
- 'border-color' => $attr['buttonBorderHoverColor'],
3474
- ),
3475
-
3476
- // Check box Radio.
3477
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3478
- 'background-color' => $attr['fieldBgColor'],
3479
- 'color' => $attr['fieldInputColor'],
3480
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3481
- 'border-color' => $attr['fieldBorderFocusColor'],
3482
- ),
3483
- ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3484
- 'background-color' => $attr['fieldBgColor'],
3485
- 'color' => $attr['fieldInputColor'],
3486
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3487
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3488
- 'border-style' => $attr['fieldBorderStyle'],
3489
- 'border-color' => $attr['fieldBorderColor'],
3490
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3491
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3492
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3493
- ),
3494
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3495
- 'background-color' => $attr['fieldBgColor'],
3496
- 'color' => $attr['fieldInputColor'],
3497
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3498
- 'border-color' => $attr['fieldBorderFocusColor'],
3499
- ),
3500
- ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3501
- 'background-color' => $attr['fieldBgColor'],
3502
- 'color' => $attr['fieldInputColor'],
3503
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3504
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3505
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3506
- 'border-color' => $attr['fieldBorderColor'],
3507
- 'border-style' => $attr['fieldBorderStyle'],
3508
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3509
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3510
- ),
3511
- ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3512
- 'background-color' => $attr['fieldBgColor'],
3513
- 'color' => $attr['fieldInputColor'],
3514
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3515
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3516
- 'border-style' => $attr['fieldBorderStyle'],
3517
- 'border-color' => $attr['fieldBorderColor'],
3518
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3519
- ),
3520
- ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3521
- 'border-color' => $attr['fieldBorderFocusColor'],
3522
- ),
3523
-
3524
- // Underline border.
3525
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3526
- 'border-style' => 'none',
3527
- 'border-bottom-color' => $attr['fieldBorderColor'],
3528
- 'border-bottom-style' => 'solid',
3529
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3530
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3531
- ),
3532
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3533
- 'border-style' => 'none',
3534
- 'border-bottom-color' => $attr['fieldBorderColor'],
3535
- 'border-bottom-style' => 'solid',
3536
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3537
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3538
- ),
3539
- ' .uagb-cf7-styler__field-style-underline select' => array(
3540
- 'border-style' => 'none',
3541
- 'border-bottom-color' => $attr['fieldBorderColor'],
3542
- 'border-bottom-style' => 'solid',
3543
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3544
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3545
- ),
3546
- ' .uagb-cf7-styler__field-style-underline textarea' => array(
3547
- 'border-style' => 'none',
3548
- 'border-bottom-color' => $attr['fieldBorderColor'],
3549
- 'border-bottom-style' => 'solid',
3550
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3551
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3552
- ),
3553
- ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3554
- 'border-style' => 'solid',
3555
- ),
3556
- ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3557
- 'border-style' => 'solid',
3558
- ),
3559
- ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3560
- 'border-style' => 'solid',
3561
- ),
3562
- ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3563
- 'border-style' => $attr['fieldBorderStyle'],
3564
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3565
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3566
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3567
- ),
3568
- ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3569
- 'border-style' => $attr['fieldBorderStyle'],
3570
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3571
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3572
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3573
- ),
3574
- ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3575
- 'background-color' => $attr['fieldInputColor'],
3576
- ),
3577
-
3578
- // Override check box.
3579
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3580
- 'background-color' => $attr['radioCheckBgColor'],
3581
- 'color' => $attr['radioCheckSelectColor'],
3582
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3583
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3584
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3585
- 'border-color' => $attr['radioCheckBorderColor'],
3586
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3587
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3588
- ),
3589
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3590
- 'border-color' => $attr['fieldBorderFocusColor'],
3591
- ),
3592
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3593
- 'background-color' => $attr['radioCheckBgColor'],
3594
- 'color' => $attr['radioCheckSelectColor'],
3595
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3596
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3597
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3598
- 'border-color' => $attr['radioCheckBorderColor'],
3599
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3600
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3601
- ),
3602
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3603
- 'border-color' => $attr['fieldBorderFocusColor'],
3604
- ),
3605
-
3606
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3607
- 'background-color' => $attr['radioCheckBgColor'],
3608
- 'color' => $attr['radioCheckSelectColor'],
3609
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3610
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3611
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3612
- 'border-color' => $attr['radioCheckBorderColor'],
3613
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3614
- ),
3615
- ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3616
- 'background-color' => $attr['radioCheckSelectColor'],
3617
- ),
3618
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3619
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3620
- 'font-family' => $attr['radioCheckFontFamily'],
3621
- 'font-weight' => $attr['radioCheckFontWeight'],
3622
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3623
- 'color' => $attr['radioCheckLableColor'],
3624
- ),
3625
- ' span.wpcf7-not-valid-tip' => array(
3626
- 'color' => $attr['validationMsgColor'],
3627
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3628
- 'font-family' => $attr['validationMsgFontFamily'],
3629
- 'font-weight' => $attr['validationMsgFontWeight'],
3630
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3631
- ),
3632
- ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3633
- 'border-color' => $attr['highlightBorderColor'],
3634
- ),
3635
- ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3636
- 'border-color' => $attr['highlightBorderColor'] . '!important',
3637
- ),
3638
- ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3639
- 'background-color' => $attr['validationMsgBgColor'],
3640
- ),
3641
- ' .wpcf7-response-output' => array(
3642
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3643
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3644
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3645
- 'font-family' => $attr['msgFontFamily'],
3646
- 'font-weight' => $attr['msgFontWeight'],
3647
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3648
- 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3649
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3650
- 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3651
- 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3652
- ),
3653
- ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3654
- 'background-color' => $attr['errorMsgBgColor'],
3655
- 'border-color' => $attr['errorMsgBorderColor'],
3656
- 'color' => $attr['errorMsgColor'],
3657
- ),
3658
- ' .wpcf7-response-output.wpcf7-validation- success' => array(
3659
- 'background-color' => $attr['successMsgBgColor'],
3660
- 'border-color' => $attr['successMsgBorderColor'],
3661
- 'color' => $attr['successMsgColor'],
3662
- ),
3663
-
3664
- );
3665
-
3666
- $t_selectors = array(
3667
- ' .wpcf7 form.wpcf7-form:not(input)' => array(
3668
- 'color' => $attr['fieldLabelColor'],
3669
- ),
3670
- ' .wpcf7 input:not([type=submit])' => array(
3671
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3672
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3673
- ),
3674
- ' .wpcf7 select' => array(
3675
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3676
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3677
- ),
3678
- ' .wpcf7 textarea' => array(
3679
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3680
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3681
- ),
3682
- ' .wpcf7 form label' => array(
3683
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3684
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3685
- ),
3686
-
3687
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3688
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3689
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3690
- ),
3691
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3692
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3693
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3694
- ),
3695
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3696
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3697
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3698
- ),
3699
- ' span.wpcf7-not-valid-tip' => array(
3700
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3701
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3702
- ),
3703
- ' .wpcf7-response-output' => array(
3704
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3705
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3706
- ),
3707
- );
3708
-
3709
- $m_selectors = array(
3710
- ' .wpcf7 input:not([type=submit])' => array(
3711
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3712
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3713
- ),
3714
- ' .wpcf7 select' => array(
3715
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3716
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3717
- ),
3718
- ' .wpcf7 textarea' => array(
3719
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3720
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3721
- ),
3722
- ' .wpcf7 form label' => array(
3723
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3724
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3725
- ),
3726
-
3727
- ' .wpcf7 form .wpcf7-list-item-label' => array(
3728
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3729
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3730
- ),
3731
- ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3732
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3733
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3734
- ),
3735
- ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3736
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3737
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3738
- ),
3739
- ' span.wpcf7-not-valid-tip' => array(
3740
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3741
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3742
- ),
3743
- ' .wpcf7-response-output' => array(
3744
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3745
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3746
- ),
3747
- );
3748
-
3749
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3750
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3751
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3752
-
3753
- $generated_css = array(
3754
- 'desktop' => $desktop,
3755
- 'tablet' => $tablet,
3756
- 'mobile' => $mobile,
3757
- );
3758
-
3759
- return $generated_css;
3760
- }
3761
-
3762
-
3763
-
3764
- /**
3765
- * Get Gravity Form Styler CSS
3766
- *
3767
- * @param array $attr The block attributes.
3768
- * @param string $id The selector ID.
3769
- * @since 1.12.0
3770
- */
3771
- public static function get_gf_styler_css( $attr, $id ) {
3772
- $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3773
-
3774
- $attr = array_merge( $defaults, (array) $attr );
3775
-
3776
- $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3777
- $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3778
- $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3779
-
3780
- $selectors = array(
3781
- ' .gform_wrapper form' => array(
3782
- 'text-align' => $attr['align'],
3783
- ),
3784
- ' .wp-block-uagb-gf-styler form:not(input)' => array(
3785
- 'color' => $attr['fieldLabelColor'],
3786
- ),
3787
- ' .gform_heading' => array(
3788
- 'text-align' => $attr['titleDescAlignment'],
3789
- ),
3790
- ' input:not([type=submit])' => array(
3791
- 'background-color' => $attr['fieldBgColor'],
3792
- 'color' => $attr['fieldInputColor'],
3793
- 'border-style' => $attr['fieldBorderStyle'],
3794
- 'border-color' => $attr['fieldBorderColor'],
3795
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3796
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3797
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3798
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3799
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3800
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3801
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3802
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3803
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3804
- 'font-family' => $attr['inputFontFamily'],
3805
- 'font-weight' => $attr['inputFontWeight'],
3806
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3807
- 'text-align' => $attr['align'],
3808
- ),
3809
- ' select' => array(
3810
- 'background-color' => $attr['fieldBgColor'],
3811
- 'border-style' => $attr['fieldBorderStyle'],
3812
- 'border-color' => $attr['fieldBorderColor'],
3813
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3814
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3815
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3816
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3817
- 'color' => $attr['fieldInputColor'],
3818
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3819
- 'font-family' => $attr['inputFontFamily'],
3820
- 'font-weight' => $attr['inputFontWeight'],
3821
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3822
- 'text-align' => $attr['align'],
3823
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3824
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3825
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3826
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3827
- ),
3828
- ' .chosen-container-single span' => array(
3829
- 'background-color' => $attr['fieldBgColor'],
3830
- 'border-style' => $attr['fieldBorderStyle'],
3831
- 'border-color' => $attr['fieldBorderColor'],
3832
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3833
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3834
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3835
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3836
- 'color' => $attr['fieldInputColor'],
3837
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3838
- 'font-family' => $attr['inputFontFamily'],
3839
- 'font-weight' => $attr['inputFontWeight'],
3840
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3841
- 'text-align' => $attr['align'],
3842
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3843
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3844
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3845
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3846
- ),
3847
- ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3848
- 'margin-bottom' => 0,
3849
- ),
3850
- ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3851
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3852
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3853
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3854
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3855
- ),
3856
- ' select.wpgf-select[multiple="multiple"] option' => array(
3857
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3858
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3859
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3860
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3861
- ),
3862
- ' textarea' => array(
3863
- 'background-color' => $attr['fieldBgColor'],
3864
- 'color' => $attr['fieldInputColor'],
3865
- 'border-color' => $attr['fieldBorderColor'],
3866
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3867
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3868
- 'border-style' => $attr['fieldBorderStyle'],
3869
- 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3870
- 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3871
- 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3872
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3873
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3874
- 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3875
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3876
- 'font-family' => $attr['inputFontFamily'],
3877
- 'font-weight' => $attr['inputFontWeight'],
3878
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3879
- 'text-align' => $attr['align'],
3880
- 'height' => $attr['textAreaHeight'],
3881
- ),
3882
- ' textarea::placeholder' => array(
3883
- 'color' => $attr['fieldInputColor'],
3884
- 'text-align' => $attr['align'],
3885
- ),
3886
- ' input::placeholder' => array(
3887
- 'color' => $attr['fieldInputColor'],
3888
- 'text-align' => $attr['align'],
3889
- ),
3890
- ' form label' => array(
3891
- 'color' => $attr['fieldLabelColor'],
3892
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3893
- 'font-family' => $attr['labelFontFamily'],
3894
- 'font-weight' => $attr['labelFontWeight'],
3895
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3896
- ),
3897
- ' form .gfield_radio label' => array(
3898
- 'color' => $attr['fieldLabelColor'],
3899
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3900
- 'font-family' => $attr['labelFontFamily'],
3901
- 'font-weight' => $attr['labelFontWeight'],
3902
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3903
- ),
3904
- ' form .gfield_checkbox label' => array(
3905
- 'color' => $attr['fieldLabelColor'],
3906
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3907
- 'font-family' => $attr['labelFontFamily'],
3908
- 'font-weight' => $attr['labelFontWeight'],
3909
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3910
- ),
3911
- ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3912
- 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3913
- ),
3914
-
3915
- // Focus.
3916
- ' form input:not([type=submit]):focus' => array(
3917
- 'border-color' => $attr['fieldBorderFocusColor'],
3918
- ),
3919
- ' form select:focus' => array(
3920
- 'border-color' => $attr['fieldBorderFocusColor'],
3921
- ),
3922
- ' textarea:focus' => array(
3923
- 'border-color' => $attr['fieldBorderFocusColor'],
3924
- ),
3925
-
3926
- // Submit button.
3927
- ' input.gform_button' => array(
3928
- 'color' => $attr['buttonTextColor'],
3929
- 'background-color' => $attr['buttonBgColor'],
3930
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3931
- 'font-family' => $attr['buttonFontFamily'],
3932
- 'font-weight' => $attr['buttonFontWeight'],
3933
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3934
- 'border-color' => $attr['buttonBorderColor'],
3935
- 'border-style' => $attr['buttonBorderStyle'],
3936
- 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3937
- 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3938
- 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3939
- 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3940
- 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3941
- 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3942
- ),
3943
- ' input.gform_button:hover' => array(
3944
- 'color' => $attr['buttonTextHoverColor'],
3945
- 'background-color' => $attr['buttonBgHoverColor'],
3946
- 'border-color' => $attr['buttonBorderHoverColor'],
3947
- ),
3948
-
3949
- // Check box Radio.
3950
- ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3951
- 'background-color' => $attr['fieldBgColor'],
3952
- 'color' => $attr['fieldInputColor'],
3953
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3954
- 'border-color' => $attr['fieldBorderFocusColor'],
3955
- ),
3956
- ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3957
- 'background-color' => $attr['fieldBgColor'],
3958
- 'color' => $attr['fieldInputColor'],
3959
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3960
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3961
- 'border-style' => $attr['fieldBorderStyle'],
3962
- 'border-color' => $attr['fieldBorderColor'],
3963
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3964
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3965
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3966
- ),
3967
- ' input[type="checkbox"]:checked + label:before' => array(
3968
- 'background-color' => $attr['fieldBgColor'],
3969
- 'color' => $attr['fieldInputColor'],
3970
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3971
- 'border-color' => $attr['fieldBorderFocusColor'],
3972
- ),
3973
- ' input[type="checkbox"] + label:before' => array(
3974
- 'background-color' => $attr['fieldBgColor'],
3975
- 'color' => $attr['fieldInputColor'],
3976
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3977
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3978
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
3979
- 'border-color' => $attr['fieldBorderColor'],
3980
- 'border-style' => $attr['fieldBorderStyle'],
3981
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3982
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3983
- ),
3984
- ' .gfield_radio input[type="radio"] + label:before' => array(
3985
- 'background-color' => $attr['fieldBgColor'],
3986
- 'color' => $attr['fieldInputColor'],
3987
- 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3988
- 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3989
- 'border-style' => $attr['fieldBorderStyle'],
3990
- 'border-color' => $attr['fieldBorderColor'],
3991
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3992
- ),
3993
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3994
- 'border-color' => $attr['fieldBorderFocusColor'],
3995
- ),
3996
-
3997
- // Underline border.
3998
- ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
3999
- 'border-style' => 'none',
4000
- 'border-bottom-color' => $attr['fieldBorderColor'],
4001
- 'border-bottom-style' => 'solid',
4002
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4003
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4004
- ),
4005
- ' .uagb-gf-styler__field-style-underline textarea' => array(
4006
- 'border-style' => 'none',
4007
- 'border-bottom-color' => $attr['fieldBorderColor'],
4008
- 'border-bottom-style' => 'solid',
4009
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4010
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4011
- ),
4012
- ' .uagb-gf-styler__field-style-underline select' => array(
4013
- 'border-style' => 'none',
4014
- 'border-bottom-color' => $attr['fieldBorderColor'],
4015
- 'border-bottom-style' => 'solid',
4016
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4017
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4018
- ),
4019
- ' .uagb-gf-styler__field-style-underline textarea' => array(
4020
- 'border-style' => 'none',
4021
- 'border-bottom-color' => $attr['fieldBorderColor'],
4022
- 'border-bottom-style' => 'solid',
4023
- 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4024
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4025
- ),
4026
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4027
- 'border-style' => 'solid',
4028
- ),
4029
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4030
- 'border-style' => 'solid',
4031
- ),
4032
- ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4033
- 'border-style' => 'solid',
4034
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4035
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4036
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4037
- ),
4038
- ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
4039
- 'border-style' => 'solid',
4040
- 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4041
- 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4042
- 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px * 1.8 )',
4043
- ),
4044
- ' .gfield_radio input[type="radio"]:checked + label:before' => array(
4045
- 'background-color' => $attr['fieldInputColor'],
4046
- ),
4047
-
4048
- // Override check box.
4049
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4050
- 'background-color' => $attr['radioCheckBgColor'],
4051
- 'color' => $attr['radioCheckSelectColor'],
4052
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4053
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4054
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4055
- 'border-color' => $attr['radioCheckBorderColor'],
4056
- 'border-style' => 'solid',
4057
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4058
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4059
- ),
4060
- ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4061
- 'border-color' => $attr['fieldBorderFocusColor'],
4062
- ),
4063
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4064
- 'background-color' => $attr['radioCheckBgColor'],
4065
- 'color' => $attr['radioCheckSelectColor'],
4066
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4067
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4068
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px * 1.8 )',
4069
- 'border-color' => $attr['radioCheckBorderColor'],
4070
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4071
- 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4072
- ),
4073
- ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4074
- 'border-color' => $attr['fieldBorderFocusColor'],
4075
- ),
4076
-
4077
- ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4078
- 'background-color' => $attr['radioCheckBgColor'],
4079
- 'color' => $attr['radioCheckSelectColor'],
4080
- 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4081
- 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4082
- 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4083
- 'border-color' => $attr['radioCheckBorderColor'],
4084
- 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4085
- ),
4086
- ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4087
- 'background-color' => $attr['radioCheckSelectColor'],
4088
- ),
4089
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4090
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4091
- 'font-family' => $attr['radioCheckFontFamily'],
4092
- 'font-weight' => $attr['radioCheckFontWeight'],
4093
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4094
- 'color' => $attr['radioCheckLableColor'],
4095
- ),
4096
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4097
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4098
- 'font-family' => $attr['radioCheckFontFamily'],
4099
- 'font-weight' => $attr['radioCheckFontWeight'],
4100
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4101
- 'color' => $attr['radioCheckLableColor'],
4102
- ),
4103
- // Validation Errors.
4104
- ' .gform_wrapper .gfield_description.validation_message' => array(
4105
- 'color' => $attr['validationMsgColor'],
4106
- ),
4107
- ' .gform_wrapper .validation_message' => array(
4108
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4109
- 'font-family' => $attr['validationMsgFontFamily'],
4110
- 'font-weight' => $attr['validationMsgFontWeight'],
4111
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4112
- ),
4113
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4114
- 'background-color' => $attr['validationMsgBgColor'],
4115
- ),
4116
-
4117
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4118
- 'border-color' => $attr['highlightBorderColor'],
4119
- ),
4120
-
4121
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4122
- 'border-color' => $attr['highlightBorderColor'],
4123
- ),
4124
-
4125
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4126
- 'border-color' => $attr['highlightBorderColor'],
4127
- ),
4128
-
4129
- ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4130
- 'border-color' => $attr['highlightBorderColor'],
4131
- ),
4132
-
4133
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4134
- 'border-color' => $attr['highlightBorderColor'],
4135
- ),
4136
-
4137
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4138
- 'border-color' => $attr['highlightBorderColor'],
4139
- ),
4140
-
4141
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4142
- 'border-color' => $attr['highlightBorderColor'],
4143
- ),
4144
-
4145
- ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4146
- 'border-color' => $attr['highlightBorderColor'],
4147
- ),
4148
-
4149
- ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4150
- 'border-color' => $attr['highlightBorderColor'],
4151
- ),
4152
-
4153
- ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4154
- 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4155
- ),
4156
-
4157
- ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4158
- 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4159
- 'border-style' => 'solid' . '!important',
4160
- 'border-color' => $attr['fieldBorderColor'] . '!important',
4161
- ),
4162
-
4163
- ' .gform_wrapper div.validation_error' => array(
4164
- 'color' => $attr['errorMsgColor'],
4165
- 'background-color' => $attr['errorMsgBgColor'],
4166
- 'border-color' => $attr['errorMsgBorderColor'],
4167
- 'border-style' => 'solid',
4168
- 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4169
- 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4170
- 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4171
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4172
- 'font-family' => $attr['msgFontFamily'],
4173
- 'font-weight' => $attr['msgFontWeight'],
4174
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4175
- ),
4176
-
4177
- ' .gform_confirmation_message' => array(
4178
- 'color' => $attr['successMsgColor'],
4179
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4180
- 'font-family' => $attr['successMsgFontFamily'],
4181
- 'font-weight' => $attr['successMsgFontWeight'],
4182
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4183
- ),
4184
- );
4185
-
4186
- $t_selectors = array(
4187
- ' form.wpgf-form:not(input)' => array(
4188
- 'color' => $attr['fieldLabelColor'],
4189
- ),
4190
- ' input:not([type=submit])' => array(
4191
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4192
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4193
- ),
4194
- ' textarea' => array(
4195
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4196
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4197
- ),
4198
- ' form label' => array(
4199
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4200
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4201
- ),
4202
-
4203
- ' form .gfield_radio label' => array(
4204
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4205
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4206
- ),
4207
- ' form .gfield_checkbox label' => array(
4208
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4209
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4210
- ),
4211
- ' input.gform_button' => array(
4212
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4213
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4214
- ),
4215
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4216
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4217
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4218
- ),
4219
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4220
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4221
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4222
- ),
4223
- ' span.wpgf-not-valid-tip' => array(
4224
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4225
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4226
- ),
4227
- ' .wpgf-response-output' => array(
4228
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4229
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4230
- ),
4231
- ' .gform_wrapper .validation_message' => array(
4232
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4233
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4234
- ),
4235
- ' .gform_wrapper div.validation_error' => array(
4236
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4237
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4238
- ),
4239
- ' .gform_confirmation_message' => array(
4240
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4241
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4242
- 'color' => $attr['successMsgColor'],
4243
- ),
4244
- );
4245
-
4246
- $m_selectors = array(
4247
- ' input:not([type=submit])' => array(
4248
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4249
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4250
- ),
4251
- ' textarea' => array(
4252
- 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4253
- 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4254
- ),
4255
- ' form label' => array(
4256
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4257
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4258
- ),
4259
-
4260
- ' form .gfield_radio label' => array(
4261
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4262
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4263
- ),
4264
- ' form .gfield_checkbox label' => array(
4265
- 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4266
- 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4267
- ),
4268
- ' input.gform_button' => array(
4269
- 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4270
- 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4271
- ),
4272
- ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4273
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4274
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4275
- ),
4276
- ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4277
- 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4278
- 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4279
- ),
4280
- ' span.wpgf-not-valid-tip' => array(
4281
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4282
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4283
- ),
4284
- ' .wpgf-response-output' => array(
4285
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4286
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4287
- ),
4288
- ' .gform_wrapper .validation_message' => array(
4289
- 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4290
- 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4291
- ),
4292
- ' .gform_wrapper div.validation_error' => array(
4293
- 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4294
- 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4295
- ),
4296
- ' .gform_confirmation_message' => array(
4297
- 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4298
- 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4299
- 'color' => $attr['successMsgColor'],
4300
- ),
4301
- );
4302
-
4303
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4304
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4305
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4306
- $generated_css = array(
4307
- 'desktop' => $desktop,
4308
- 'tablet' => $tablet,
4309
- 'mobile' => $mobile,
4310
- );
4311
-
4312
- return $generated_css;
4313
- }
4314
-
4315
- /*
4316
- * Get Marketing Button Block CSS
4317
- *
4318
- * @since 1.11.0
4319
- * @param array $attr The block attributes.
4320
- * @param string $id The selector ID.
4321
- * @return array The Widget List.
4322
- */
4323
- public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4324
-
4325
- $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4326
-
4327
- $attr = array_merge( $defaults, (array) $attr );
4328
-
4329
- $m_selectors = array();
4330
- $t_selectors = array();
4331
-
4332
- $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4333
- $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4334
-
4335
- $selectors = array(
4336
- " .uagb-marketing-btn__title-wrap" => array(
4337
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4338
- ),
4339
- " .uagb-marketing-btn__title" => array(
4340
- "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4341
- "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4342
- "font-family" => $attr["titleFontFamily"],
4343
- "font-weight" => $attr["titleFontWeight"],
4344
- "color" => $attr["titleColor"],
4345
- ),
4346
- " .uagb-marketing-btn__icon-wrap" => array(
4347
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4348
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4349
- ),
4350
- " .uagb-marketing-btn__icon-wrap svg" => array(
4351
- "fill" => $icon_color
4352
- ),
4353
- " .uagb-marketing-btn__prefix" => array(
4354
- "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4355
- "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4356
- "font-family" => $attr["prefixFontFamily"],
4357
- "font-weight" => $attr["prefixFontWeight"],
4358
- "color" => $attr["prefixColor"],
4359
- ),
4360
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4361
- "color" => $attr["titleHoverColor"],
4362
- ),
4363
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4364
- "color" => $attr["prefixHoverColor"],
4365
- ),
4366
- " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4367
- "fill" => $icon_hover_color
4368
- ),
4369
- " .uagb-marketing-btn__link" => array(
4370
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4371
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4372
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4373
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4374
- "border-style" => $attr["borderStyle"],
4375
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4376
- "border-color" => $attr["borderColor"],
4377
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4378
- ),
4379
- " .uagb-marketing-btn__link:hover" => array(
4380
- "border-color" => $attr["borderHoverColor"]
4381
- ),
4382
- );
4383
-
4384
- if ( "transparent" == $attr["backgroundType"] ) {
4385
-
4386
- $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4387
-
4388
- } else if ( "color" == $attr["backgroundType"] ) {
4389
-
4390
- $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4391
-
4392
- // Hover Background
4393
- $selectors[" .uagb-marketing-btn__link:hover"] = array(
4394
- "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4395
- );
4396
-
4397
- } else if ( "gradient" == $attr["backgroundType"] ) {
4398
-
4399
- $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4400
-
4401
- if ( 'linear' === $attr['gradientType'] ) {
4402
-
4403
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4404
- } else {
4405
-
4406
- $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4407
- }
4408
- }
4409
-
4410
- $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4411
-
4412
- $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4413
-
4414
- $m_selectors = array(
4415
- ' .uagb-marketing-btn__title' => array(
4416
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4417
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4418
- ),
4419
- ' .uagb-marketing-btn__prefix' => array(
4420
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4421
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4422
- ),
4423
- ' .uagb-marketing-btn__icon-wrap' => array(
4424
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4425
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4426
- ),
4427
- " .uagb-marketing-btn__link" => array(
4428
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4429
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4430
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4431
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4432
- ),
4433
-
4434
- );
4435
-
4436
- $t_selectors = array(
4437
- ' .uagb-marketing-btn__title' => array(
4438
- 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4439
- 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4440
- ),
4441
- ' .uagb-marketing-btn__prefix' => array(
4442
- 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4443
- 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4444
- ),
4445
- ' .uagb-marketing-btn__icon-wrap' => array(
4446
- "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4447
- "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4448
- ),
4449
- " .uagb-marketing-btn__link" => array(
4450
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4451
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4452
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4453
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4454
- ),
4455
-
4456
- );
4457
-
4458
- // @codingStandardsIgnoreEnd
4459
-
4460
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4461
-
4462
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4463
-
4464
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4465
-
4466
- $generated_css = array(
4467
- 'desktop' => $desktop,
4468
- 'tablet' => $tablet,
4469
- 'mobile' => $mobile,
4470
- );
4471
-
4472
- return $generated_css;
4473
- }
4474
-
4475
- /**
4476
- * Get Table of Contents Block CSS
4477
- *
4478
- * @since 1.13.0
4479
- * @param array $attr The block attributes.
4480
- * @param string $id The selector ID.
4481
- * @return array The Widget List.
4482
- */
4483
- public static function get_table_of_contents_css( $attr, $id ) { // @codingStandardsIgnoreStart
4484
-
4485
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4486
-
4487
- $attr = array_merge( $defaults, (array) $attr );
4488
- $m_selectors = array();
4489
- $t_selectors = array();
4490
-
4491
- $selectors = array(
4492
- " .uagb-toc__list-wrap ul li a:hover" => array(
4493
- "color" => $attr["linkHoverColor"],
4494
- ),
4495
- " .uagb-toc__list-wrap ul li a" => array(
4496
- "font-size" => UAGB_Helper::get_css_value( $attr["fontSize"], $attr["fontSizeType"] ),
4497
- "line-height" => UAGB_Helper::get_css_value( $attr["lineHeight"], $attr["lineHeightType"] ),
4498
- "font-family" => $attr["fontFamily"],
4499
- "font-weight" => $attr["fontWeight"],
4500
- "color" => $attr["linkColor"],
4501
- ),
4502
- " .uagb-toc__title" => array(
4503
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSize"], $attr["headingFontSizeType"] ),
4504
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeight"], $attr["headingLineHeightType"] ),
4505
- "font-family" => $attr["headingFontFamily"],
4506
- "font-weight" => $attr["headingFontWeight"],
4507
- "color" => $attr["headingColor"],
4508
- "margin-bottom" => UAGB_Helper::get_css_value( $attr["headingBottom"], "px"),
4509
- ),
4510
- " .uagb-toc__wrap" => array(
4511
- "border-style" => $attr["borderStyle"],
4512
- "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], "px" ),
4513
- "border-color" => $attr["borderColor"],
4514
- "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], "px" ),
4515
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4516
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4517
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4518
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4519
- "background" => $attr["backgroundColor"],
4520
- ),
4521
- " .uagb-toc__list-wrap" => array(
4522
- 'column-count' => $attr['tColumnsDesktop'],
4523
- ),
4524
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4525
- "padding-top" => 0
4526
- ),
4527
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4528
- "padding-bottom" => 0
4529
- ),
4530
- " .uag-toc__collapsible-wrap svg" => array(
4531
- "width" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4532
- "height" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4533
- "fill" => $attr["iconColor"]
4534
- ),
4535
- );
4536
-
4537
- if ( '' != $attr["contentPaddingDesktop"] ) {
4538
- $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-top"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4539
- $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-bottom"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4540
- }
4541
-
4542
- if ( $attr["customWidth"] ) {
4543
- $selectors[" .uagb-toc__wrap"]["width"] = UAGB_Helper::get_css_value( $attr["widthDesktop"], $attr["widthTypeDesktop"] );
4544
- }
4545
-
4546
- if ( $attr["disableBullets"] ) {
4547
- $selectors[" .uagb-toc__list"] = array(
4548
- "list-style-type" => 'none'
4549
- );
4550
- $selectors[" .uagb-toc__list .uagb-toc__list"] = array(
4551
- "list-style-type" => 'none'
4552
- );
4553
- }
4554
-
4555
-
4556
- $m_selectors = array(
4557
- ' .uagb-toc__list-wrap ul li a' => array(
4558
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
4559
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
4560
- ),
4561
- " .uagb-toc__title" => array(
4562
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeMobile"], $attr["headingFontSizeType"] ),
4563
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightMobile"], $attr["headingLineHeightType"] ),
4564
- ),
4565
- " .uagb-toc__wrap" => array(
4566
- "width" => UAGB_Helper::get_css_value( $attr["widthMobile"], $attr["widthTypeMobile"] ),
4567
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4568
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4569
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4570
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4571
- ),
4572
- " .uagb-toc__list-wrap" => array(
4573
- 'column-count' => $attr['tColumnsMobile'],
4574
- ),
4575
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4576
- "padding-top" => 0
4577
- ),
4578
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4579
- "padding-bottom" => 0
4580
- ),
4581
-
4582
- );
4583
-
4584
- $t_selectors = array(
4585
- ' .uagb-toc__list-wrap ul li a' => array(
4586
- 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
4587
- 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
4588
- ),
4589
- " .uagb-toc__title" => array(
4590
- "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeTablet"], $attr["headingFontSizeType"] ),
4591
- "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightTablet"], $attr["headingLineHeightType"] ),
4592
- ),
4593
- " .uagb-toc__wrap" => array(
4594
- "width" => UAGB_Helper::get_css_value( $attr["widthTablet"], $attr["widthTypeTablet"] ),
4595
- "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4596
- "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4597
- "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4598
- "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4599
- ),
4600
- " .uagb-toc__list-wrap" => array(
4601
- 'column-count' => $attr['tColumnsTablet'],
4602
- ),
4603
- " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4604
- "padding-top" => 0
4605
- ),
4606
- " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4607
- "padding-bottom" => 0
4608
- ), );
4609
-
4610
- if ( '' != $attr["contentPaddingTablet"] ) {
4611
- $t_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4612
- "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4613
- "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4614
- );
4615
- }
4616
-
4617
- if ( '' != $attr["contentPaddingMobile"] ) {
4618
- $m_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4619
- "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4620
- "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4621
- );
4622
- }
4623
-
4624
- // @codingStandardsIgnoreEnd
4625
-
4626
- $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-toc-' . $id );
4627
-
4628
- $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-toc-' . $id );
4629
-
4630
- $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-toc-' . $id );
4631
-
4632
- if ( '' !== $attr['scrollToTopColor'] ) {
4633
- $desktop .= '.uagb-toc__scroll-top { color: ' . $attr['scrollToTopColor'] . '; }';
4634
- }
4635
-
4636
- if ( '' !== $attr['scrollToTopBgColor'] ) {
4637
- $desktop .= '.uagb-toc__scroll-top { background: ' . $attr['scrollToTopBgColor'] . '; }';
4638
- }
4639
-
4640
- $generated_css = array(
4641
- 'desktop' => $desktop,
4642
- 'tablet' => $tablet,
4643
- 'mobile' => $mobile,
4644
- );
4645
-
4646
- return $generated_css;
4647
- }
4648
-
4649
-
4650
- /**
4651
- * Get Testimonial Js
4652
- *
4653
- * @since 1.6.0
4654
- * @param array $attr The block attributes.
4655
- * @param string $id The selector ID.
4656
- */
4657
- public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4658
-
4659
- $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4660
-
4661
- $attr = array_merge( $defaults, (array) $attr );
4662
-
4663
- $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4664
- $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4665
-
4666
- $slick_options = apply_filters( 'uagb_testimonials_slick_options',[
4667
- 'slidesToShow' => $attr['columns'],
4668
- 'slidesToScroll' => 1,
4669
- 'autoplaySpeed' => $attr['autoplaySpeed'],
4670
- 'autoplay' => $attr['autoplay'],
4671
- 'infinite' => $attr['infiniteLoop'],
4672
- 'pauseOnHover' => $attr['pauseOnHover'],
4673
- 'speed' => $attr['transitionSpeed'],
4674
- 'arrows' => $arrows,
4675
- 'dots' => $dots,
4676
- 'rtl' => false,
4677
- 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4678
- 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4679
- 'responsive' => [
4680
- [
4681
- 'breakpoint' => 1024,
4682
- 'settings' => [
4683
- 'slidesToShow' => $attr['tcolumns'],
4684
- 'slidesToScroll' => 1,
4685
- ],
4686
- ],
4687
- [
4688
- 'breakpoint' => 767,
4689
- 'settings' => [
4690
- 'slidesToShow' => $attr['mcolumns'],
4691
- 'slidesToScroll' => 1,
4692
- ],
4693
- ]
4694
- ]
4695
- ], $id );
4696
-
4697
- $settings = json_encode($slick_options);
4698
- $selector = '#uagb-testimonial-'. $id;
4699
- $js = 'if( jQuery( ".wp-block-uagb-testimonial" ).length > 0 ){ ' .
4700
- 'return true ' .
4701
- '} else {' .
4702
- 'jQuery( "' . $selector . '" ).find( ".is-carousel" ).slick( ' . $settings .' );'.
4703
- '}';
4704
-
4705
- return $js;
4706
- // @codingStandardsIgnoreEnd.
4707
- }
4708
-
4709
- /**
4710
- * Get Blockquote Js
4711
- *
4712
- * @since 1.8.2
4713
- * @param array $attr The block attributes.
4714
- * @param string $id The selector ID.
4715
- */
4716
- public static function get_blockquote_js( $attr, $id ) {
4717
- // @codingStandardsIgnoreStart.
4718
-
4719
- $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4720
-
4721
- $attr = array_merge( $defaults, (array) $attr );
4722
-
4723
- $target = $attr['iconTargetUrl'];
4724
-
4725
- $url = " " ;
4726
-
4727
- if( $target == 'current' ){
4728
- global $wp;
4729
- $url = home_url(add_query_arg(array(),$wp->request));
4730
- }else{
4731
- $url = $attr['customUrl'];
4732
- }
4733
-
4734
- $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4735
-
4736
- $selector = '#uagb-blockquote-'. $id;
4737
-
4738
- $js = 'jQuery( "' . $selector . '" ).find( ".uagb-blockquote__tweet-button" ).click(function(){'.
4739
- 'var content = jQuery("' . $selector . '").find(".uagb-blockquote__content").text();'.
4740
- 'var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . $url . '")+"&text="+content+"&via="+("' . $via . '");'.
4741
- 'window.open( request_url );'.
4742
- '});';
4743
-
4744
- return $js;
4745
- // @codingStandardsIgnoreEnd.
4746
- }
4747
-
4748
- /**
4749
- * Get Social Share JS
4750
- *
4751
- * @since 1.8.1
4752
- * @param string $id The selector ID.
4753
- */
4754
- public static function get_social_share_js( $id ) {
4755
- $selector = '#uagb-social-share-' . $id;
4756
- $js = 'jQuery( " ' . $selector . ' " ).find( ".uagb-ss__link" ).click(function(){ ' .
4757
- 'var social_url = jQuery( this ).data( "href" ); ' .
4758
- 'var target = ""; ' .
4759
- 'if( social_url == "mailto:?body=" ){ ' .
4760
- 'target = "_self";' .
4761
- '}' .
4762
- 'var request_url = social_url + window.location.href ;' .
4763
- 'window.open( request_url,target );' .
4764
- '});';
4765
-
4766
- return $js;
4767
- }
4768
-
4769
- /**
4770
- * Get Table of Contents Js
4771
- *
4772
- * @since 1.13.0
4773
- * @param array $attr The block attributes.
4774
- * @param string $id The selector ID.
4775
- */
4776
- public static function get_table_of_contents_js( $attr, $id ) {
4777
- // @codingStandardsIgnoreStart.
4778
-
4779
- $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4780
-
4781
- $attr = array_merge( $defaults, (array) $attr );
4782
-
4783
- $selector = '#uagb-toc-'. $id;
4784
-
4785
- $js = 'jQuery( document ).ready(function() { ' .
4786
- 'UAGBTableOfContents._run( ' . json_encode( $attr ) . ', "'. $selector .'" ); '.
4787
- '})';
4788
-
4789
- return $js;
4790
- // @codingStandardsIgnoreEnd.
4791
- }
4792
-
4793
- /**
4794
- * Adds Google fonts for Advanced Heading block.
4795
- *
4796
- * @since 1.9.1
4797
- * @param array $attr the blocks attr.
4798
- */
4799
- public static function blocks_advanced_heading_gfont( $attr ) {
4800
-
4801
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4802
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4803
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4804
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4805
-
4806
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4807
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4808
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4809
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4810
-
4811
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4812
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4813
- }
4814
-
4815
-
4816
- /**
4817
- * Adds Google fonts for CF7 Styler block.
4818
- *
4819
- * @since 1.10.0
4820
- * @param array $attr the blocks attr.
4821
- */
4822
- public static function blocks_cf7_styler_gfont( $attr ) {
4823
-
4824
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4825
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4826
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4827
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4828
-
4829
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4830
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4831
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4832
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4833
-
4834
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4835
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4836
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4837
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4838
-
4839
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4840
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4841
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4842
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4843
-
4844
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4845
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4846
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4847
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4848
-
4849
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4850
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4851
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4852
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4853
-
4854
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4855
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4856
-
4857
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4858
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4859
-
4860
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4861
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4862
- }
4863
-
4864
-
4865
- /**
4866
- * Adds Google fonts for Gravity Form Styler block.
4867
- *
4868
- * @since 1.12.0
4869
- * @param array $attr the blocks attr.
4870
- */
4871
- public static function blocks_gf_styler_gfont( $attr ) {
4872
-
4873
- $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4874
- $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4875
- $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4876
- $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4877
-
4878
- $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4879
- $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4880
- $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4881
- $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4882
-
4883
- $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4884
- $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4885
- $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4886
- $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4887
-
4888
- $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4889
- $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4890
- $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4891
- $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4892
-
4893
- $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4894
- $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4895
- $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4896
- $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4897
-
4898
- $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4899
- $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4900
- $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4901
- $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4902
-
4903
- UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4904
- UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4905
-
4906
- UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4907
- UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4908
-
4909
- UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4910
- UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4911
- }
4912
-
4913
- /**
4914
- * Adds Google fonts for Marketing Button block.
4915
- *
4916
- * @since 1.11.0
4917
- * @param array $attr the blocks attr.
4918
- */
4919
- public static function blocks_marketing_btn_gfont( $attr ) {
4920
-
4921
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4922
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4923
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4924
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4925
-
4926
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4927
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4928
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4929
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4930
-
4931
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4932
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4933
- }
4934
-
4935
- /**
4936
- * Adds Google fonts for Table Of Contents block.
4937
- *
4938
- * @since 1.13.0
4939
- * @param array $attr the blocks attr.
4940
- */
4941
- public static function blocks_table_of_contents_gfont( $attr ) {
4942
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4943
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4944
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4945
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4946
- $heading_load_google_font = isset( $attr['headingLoadGoogleFonts'] ) ? $attr['headingLoadGoogleFonts'] : '';
4947
- $heading_font_family = isset( $attr['headingFontFamily'] ) ? $attr['headingFontFamily'] : '';
4948
- $heading_font_weight = isset( $attr['headingFontWeight'] ) ? $attr['headingFontWeight'] : '';
4949
- $heading_font_subset = isset( $attr['headingFontSubset'] ) ? $attr['headingFontSubset'] : '';
4950
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4951
- UAGB_Helper::blocks_google_font( $heading_load_google_font, $heading_font_family, $heading_font_weight, $heading_font_subset );
4952
- }
4953
-
4954
- /**
4955
- * Adds Google fonts for Blockquote.
4956
- *
4957
- * @since 1.9.1
4958
- * @param array $attr the blocks attr.
4959
- */
4960
- public static function blocks_blockquote_gfont( $attr ) {
4961
-
4962
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4963
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4964
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4965
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4966
-
4967
- $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4968
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4969
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4970
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4971
-
4972
- $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4973
- $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4974
- $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4975
- $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4976
-
4977
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4978
- UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4979
- UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4980
- }
4981
-
4982
- /**
4983
- * Adds Google fonts for Testimonial block.
4984
- *
4985
- * @since 1.9.1
4986
- * @param array $attr the blocks attr.
4987
- */
4988
- public static function blocks_testimonial_gfont( $attr ) {
4989
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4990
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4991
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4992
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4993
-
4994
- $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
4995
- $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
4996
- $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
4997
- $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
4998
-
4999
- $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
5000
- $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
5001
- $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
5002
- $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
5003
-
5004
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5005
- UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
5006
- UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
5007
- }
5008
-
5009
- /**
5010
- * Adds Google fonts for Advanced Heading block.
5011
- *
5012
- * @since 1.9.1
5013
- * @param array $attr the blocks attr.
5014
- */
5015
- public static function blocks_team_gfont( $attr ) {
5016
-
5017
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5018
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5019
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5020
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5021
-
5022
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5023
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5024
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5025
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5026
-
5027
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5028
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5029
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5030
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5031
-
5032
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5033
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5034
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5035
- }
5036
-
5037
- /**
5038
- *
5039
- * Adds Google fonts for Restaurant Menu block.
5040
- *
5041
- * @since 1.9.1
5042
- * @param array $attr the blocks attr.
5043
- */
5044
- public static function blocks_restaurant_menu_gfont( $attr ) {
5045
- $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5046
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5047
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5048
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5049
-
5050
- $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
5051
- $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
5052
- $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
5053
- $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
5054
-
5055
- $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5056
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5057
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5058
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5059
-
5060
- UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
5061
- UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
5062
- UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5063
- }
5064
-
5065
- /**
5066
- * Adds Google fonts for Content Timeline block.
5067
- *
5068
- * @since 1.9.1
5069
- * @param array $attr the blocks attr.
5070
- */
5071
- public static function blocks_content_timeline_gfont( $attr ) {
5072
- $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5073
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5074
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5075
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5076
-
5077
- $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5078
- $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5079
- $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5080
- $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5081
-
5082
- $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
5083
- $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
5084
- $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
5085
- $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
5086
-
5087
- UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
5088
- UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
5089
- UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
5090
- }
5091
-
5092
- /**
5093
- * Adds Google fonts for Post Timeline block.
5094
- *
5095
- * @since 1.9.1
5096
- * @param array $attr the blocks attr.
5097
- */
5098
- public static function blocks_post_timeline_gfont( $attr ) {
5099
- self::blocks_content_timeline_gfont( $attr );
5100
-
5101
- $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
5102
- $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
5103
- $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
5104
- $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
5105
-
5106
- $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5107
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5108
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5109
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5110
-
5111
- UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
5112
- UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
5113
- }
5114
-
5115
- /**
5116
- * Adds Google fonts for Mulit Button's block.
5117
- *
5118
- * @since 1.9.1
5119
- * @param array $attr the blocks attr.
5120
- */
5121
- public static function blocks_buttons_gfont( $attr ) {
5122
-
5123
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5124
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5125
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5126
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5127
-
5128
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5129
- }
5130
-
5131
- /**
5132
- * Adds Google fonts for Icon List block
5133
- *
5134
- * @since 1.9.1
5135
- * @param array $attr the blocks attr.
5136
- */
5137
- public static function blocks_icon_list_gfont( $attr ) {
5138
-
5139
- $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5140
- $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5141
- $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5142
- $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5143
-
5144
- UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5145
- }
5146
-
5147
- /**
5148
- * Adds Google fonts for Post block.
5149
- *
5150
- * @since 1.9.1
5151
- * @param array $attr the blocks attr.
5152
- */
5153
- public static function blocks_post_gfont( $attr ) {
5154
-
5155
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5156
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5157
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5158
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5159
-
5160
- $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
5161
- $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
5162
- $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
5163
- $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
5164
-
5165
- $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
5166
- $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
5167
- $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
5168
- $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
5169
-
5170
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5171
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5172
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5173
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5174
-
5175
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5176
-
5177
- UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
5178
-
5179
- UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
5180
-
5181
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5182
- }
5183
-
5184
- /**
5185
- * Adds Google fonts for Advanced Heading block.
5186
- *
5187
- * @since 1.9.1
5188
- * @param array $attr the blocks attr.
5189
- */
5190
- public static function blocks_info_box_gfont( $attr ) {
5191
-
5192
- $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5193
- $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5194
- $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5195
- $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5196
-
5197
- $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5198
- $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5199
- $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5200
- $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5201
-
5202
- $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5203
- $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5204
- $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5205
- $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5206
-
5207
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5208
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5209
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5210
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5211
-
5212
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5213
- UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
5214
- UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5215
- UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
5216
- }
5217
-
5218
- /**
5219
- * Adds Google fonts for Call To Action block.
5220
- *
5221
- * @since 1.9.1
5222
- * @param array $attr the blocks attr.
5223
- */
5224
- public static function blocks_call_to_action_gfont( $attr ) {
5225
-
5226
- $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5227
- $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5228
- $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5229
- $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5230
-
5231
- $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5232
- $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5233
- $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5234
- $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5235
-
5236
- $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5237
- $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5238
- $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5239
- $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5240
-
5241
- UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5242
- UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5243
- UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5244
- }
5245
- }
5246
- }
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Block Helper.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'UAGB_Block_Helper' ) ) {
13
+
14
+ /**
15
+ * Class UAGB_Block_Helper.
16
+ */
17
+ class UAGB_Block_Helper {
18
+
19
+ /**
20
+ * Get Section Block CSS
21
+ *
22
+ * @since 0.0.1
23
+ * @param array $attr The block attributes.
24
+ * @param string $id The selector ID.
25
+ * @return array The Widget List.
26
+ */
27
+ public static function get_section_css( $attr, $id ) { // @codingStandardsIgnoreStart
28
+
29
+ global $content_width;
30
+
31
+ $defaults = UAGB_Helper::$block_list['uagb/section']['attributes'];
32
+
33
+ $attr = array_merge( $defaults, $attr );
34
+
35
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
36
+ $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'color';
37
+ $gradientOverlayPosition = ( isset( $attr['gradientOverlayPosition'] ) ) ? $attr['gradientOverlayPosition'] : 'center center';
38
+ $gradientPosition = ( isset( $attr['gradientPosition'] ) ) ? $attr['gradientPosition'] : 'center center';
39
+
40
+ $style = array(
41
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
42
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
43
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
44
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
45
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
46
+ );
47
+
48
+ $m_selectors = array();
49
+ $t_selectors = array();
50
+
51
+ if ( 'right' == $attr['align'] ) {
52
+ $style['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] );
53
+ $style['margin-left'] = 'auto';
54
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
55
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
56
+ } elseif ( 'left' == $attr['align'] ) {
57
+ $style['margin-right'] = 'auto';
58
+ $style['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] );
59
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
60
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
61
+ } elseif ( 'center' == $attr['align'] ) {
62
+ $style['margin-right'] = 'auto';
63
+ $style['margin-left'] = 'auto';
64
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
65
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
66
+ } else {
67
+ $style['margin-top'] = UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] );
68
+ $style['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] );
69
+ }
70
+
71
+ if ( "none" != $attr['borderStyle'] ) {
72
+ $style["border-style"] = $attr['borderStyle'];
73
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
74
+ $style["border-color"] = $attr['borderColor'];
75
+ }
76
+
77
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
78
+
79
+ $section_width = '100%';
80
+
81
+ if ( isset( $attr['contentWidth'] ) ) {
82
+
83
+ if ( 'boxed' == $attr['contentWidth'] ) {
84
+ if ( isset( $attr['width'] ) ) {
85
+ $section_width = UAGB_Helper::get_css_value( $attr['width'], 'px' );
86
+ }
87
+ }
88
+ }
89
+
90
+ if ( 'wide' != $attr['align'] && 'full' != $attr['align'] ) {
91
+ $style['max-width'] = $section_width;
92
+ }
93
+
94
+ if ( 'image' === $bg_type ) {
95
+
96
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
97
+ $style['background-position'] = $position;
98
+ $style['background-attachment'] = $attr['backgroundAttachment'];
99
+ $style['background-repeat'] = $attr['backgroundRepeat'];
100
+ $style['background-size'] = $attr['backgroundSize'];
101
+
102
+ }
103
+
104
+ $inner_width = '100%';
105
+
106
+ if ( isset( $attr['contentWidth'] ) ) {
107
+ if ( 'boxed' != $attr['contentWidth'] ) {
108
+ if ( isset( $attr['themeWidth'] ) && $attr['themeWidth'] == true ) {
109
+ $inner_width = UAGB_Helper::get_css_value( $content_width, 'px' );
110
+ } else {
111
+ if ( isset( $attr['innerWidth'] ) ) {
112
+ $inner_width = UAGB_Helper::get_css_value( $attr['innerWidth'], $attr['innerWidthType'] );
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+ $selectors = array(
119
+ '.uagb-section__wrap' => $style,
120
+ ' > .uagb-section__video-wrap' => array(
121
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
122
+ ),
123
+ ' > .uagb-section__inner-wrap' => array(
124
+ 'max-width' => $inner_width,
125
+ ),
126
+ );
127
+
128
+ if ( 'video' == $bg_type ) {
129
+ $selectors[' > .uagb-section__overlay'] = array(
130
+ 'opacity' => 1,
131
+ 'background-color' => $attr['backgroundVideoColor'],
132
+ );
133
+ } else if ( 'image' == $bg_type ) {
134
+ if( 'color' == $overlay_type ){
135
+ $selectors[' > .uagb-section__overlay'] = array(
136
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
137
+ 'background-color' => $attr['backgroundImageColor'],
138
+ );
139
+ }else{
140
+ $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
141
+ $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
142
+
143
+ if ( 'linear' === $attr['gradientOverlayType'] ) {
144
+
145
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
146
+ } else {
147
+
148
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientOverlayPosition . ', ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
149
+ }
150
+ }
151
+ } else if ( 'color' == $bg_type ) {
152
+ $selectors[' > .uagb-section__overlay'] = array(
153
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
154
+ 'background-color' => $attr['backgroundColor'],
155
+ );
156
+ } else if ( 'gradient' === $bg_type ) {
157
+ $selectors[' > .uagb-section__overlay']['background-color'] = 'transparent';
158
+ $selectors[' > .uagb-section__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
159
+
160
+ if ( 'linear' === $attr['gradientType'] ) {
161
+
162
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
163
+ } else {
164
+ $selectors[' > .uagb-section__overlay']['background-image'] = 'radial-gradient( at ' . $gradientPosition . ', ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
165
+ }
166
+ }
167
+
168
+ $selectors[' > .uagb-section__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
169
+
170
+ $m_selectors = array(
171
+ '.uagb-section__wrap' => array(
172
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
173
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
174
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
175
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
176
+ )
177
+ );
178
+
179
+ $t_selectors = array(
180
+ '.uagb-section__wrap' => array(
181
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
182
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
183
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
184
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
185
+ )
186
+ );
187
+
188
+ if ( 'right' == $attr['align'] ) {
189
+ $t_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['tabletMarginType'] );
190
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
191
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
192
+
193
+ $m_selectors['.uagb-section__wrap']['margin-right'] = UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['mobileMarginType'] );
194
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
195
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
196
+ } elseif ( 'left' == $attr['align'] ) {
197
+ $t_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['tabletMarginType'] );
198
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
199
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
200
+
201
+ $m_selectors['.uagb-section__wrap']['margin-left'] = UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['mobileMarginType'] );
202
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
203
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
204
+ } else {
205
+ $t_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] );
206
+ $t_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] );
207
+
208
+ $m_selectors['.uagb-section__wrap']['margin-top'] = UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] );
209
+ $m_selectors['.uagb-section__wrap']['margin-bottom'] = UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] );
210
+ }
211
+
212
+ // @codingStandardsIgnoreEnd
213
+
214
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-section-' . $id );
215
+
216
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-section-' . $id );
217
+
218
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-section-' . $id );
219
+
220
+ $generated_css = array(
221
+ 'desktop' => $desktop,
222
+ 'tablet' => $tablet,
223
+ 'mobile' => $mobile,
224
+ );
225
+
226
+ return $generated_css;
227
+ }
228
+
229
+ /**
230
+ * Get Columns Block CSS
231
+ *
232
+ * @since 1.8.0
233
+ * @param array $attr The block attributes.
234
+ * @param string $id The selector ID.
235
+ * @return array The Widget List.
236
+ */
237
+ public static function get_columns_css( $attr, $id ) { // @codingStandardsIgnoreStart
238
+
239
+ global $content_width;
240
+
241
+ $defaults = UAGB_Helper::$block_list['uagb/columns']['attributes'];
242
+
243
+ $attr = array_merge( $defaults, $attr );
244
+
245
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
246
+
247
+ $m_selectors = array();
248
+ $t_selectors = array();
249
+
250
+ $style = array(
251
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
252
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
253
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
254
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
255
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
256
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
257
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], $attr['desktopMarginType'] ),
258
+ );
259
+
260
+ if ( "none" != $attr['borderStyle'] ) {
261
+ $style["border-style"] = $attr['borderStyle'];
262
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
263
+ $style["border-color"] = $attr['borderColor'];
264
+ }
265
+
266
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
267
+
268
+ if ( 'image' === $bg_type ) {
269
+
270
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
271
+ $style['background-position'] = $position;
272
+ $style['background-attachment'] = $attr['backgroundAttachment'];
273
+ $style['background-repeat'] = $attr['backgroundRepeat'];
274
+ $style['background-size'] = $attr['backgroundSize'];
275
+
276
+ }
277
+
278
+ $inner_width = '100%';
279
+
280
+ if ( isset( $attr['contentWidth'] ) ) {
281
+ if ( 'theme' == $attr['contentWidth'] ) {
282
+ $inner_width = UAGB_Helper::get_css_value( $content_width, 'px' );
283
+ } else if ( 'custom' == $attr['contentWidth'] ) {
284
+ $inner_width = UAGB_Helper::get_css_value( $attr['width'], $attr['widthType'] );
285
+ }
286
+ }
287
+
288
+ $selectors = array(
289
+ '.uagb-columns__wrap' => $style,
290
+ ' .uagb-columns__video-wrap' => array(
291
+ 'opacity' => ( isset( $attr['backgroundVideoOpacity'] ) && '' != $attr['backgroundVideoOpacity'] ) ? ( ( 100 - $attr['backgroundVideoOpacity'] ) / 100 ) : 0.5,
292
+ ),
293
+ ' > .uagb-columns__inner-wrap' => array(
294
+ 'max-width' => $inner_width,
295
+ ),
296
+ ' .uagb-column__inner-wrap' => array(
297
+ 'padding' => UAGB_Helper::get_css_value( $attr['columnGap'], 'px' )
298
+ ),
299
+ ' .uagb-columns__shape-top svg' => array(
300
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeight'], 'px' )
301
+ ),
302
+ ' .uagb-columns__shape-top .uagb-columns__shape-fill' => array(
303
+ 'fill' => $attr['topColor'],
304
+ 'opacity' => ( isset( $attr['topDividerOpacity'] ) && '' != $attr['topDividerOpacity'] ) ? ( ( $attr['topDividerOpacity'] ) / 100 ) : ""
305
+ ),
306
+ ' .uagb-columns__shape-bottom svg' => array(
307
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeight'], 'px' )
308
+ ),
309
+ ' .uagb-columns__shape-bottom .uagb-columns__shape-fill' => array(
310
+ 'fill' => $attr['bottomColor'],
311
+ 'opacity' => ( isset( $attr['bottomDividerOpacity'] ) && '' != $attr['bottomDividerOpacity'] ) ? ( ( $attr['bottomDividerOpacity'] ) / 100 ) : ""
312
+ ),
313
+ );
314
+
315
+ if ( '' !== $attr['topWidth'] ) {
316
+ $selectors[' .uagb-columns__shape-top svg']['width'] = "calc( " . $attr['topWidth'] . "% + 1.3px )";
317
+ }
318
+
319
+ if ( '' !== $attr['bottomWidth'] ) {
320
+ $selectors[' .uagb-columns__shape-bottom svg']['width'] = "calc( " . $attr['bottomWidth'] . "% + 1.3px )";
321
+ }
322
+
323
+ if ( 'video' == $bg_type ) {
324
+ $selectors[' > .uagb-columns__overlay'] = array(
325
+ 'opacity' => 1,
326
+ 'background-color' => $attr['backgroundVideoColor'],
327
+ );
328
+ } else if ( 'image' == $bg_type ) {
329
+ $selectors[' > .uagb-columns__overlay'] = array(
330
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
331
+ 'background-color' => $attr['backgroundImageColor'],
332
+ );
333
+ } else if ( 'color' == $bg_type ) {
334
+ $selectors[' > .uagb-columns__overlay'] = array(
335
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
336
+ 'background-color' => $attr['backgroundColor'],
337
+ );
338
+ } elseif ( 'gradient' === $bg_type ) {
339
+ $selectors[' > .uagb-columns__overlay']['background-color'] = 'transparent';
340
+ $selectors[' > .uagb-columns__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
341
+
342
+ if ( 'linear' === $attr['gradientType'] ) {
343
+
344
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
345
+ } else {
346
+
347
+ $selectors[' > .uagb-columns__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
348
+ }
349
+ }
350
+
351
+ $selectors[' > .uagb-columns__overlay']["border-radius"] = UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' );
352
+
353
+ $m_selectors = array(
354
+ '.uagb-columns__wrap' => array(
355
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['mobilePaddingType'] ),
356
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['mobilePaddingType'] ),
357
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['mobilePaddingType'] ),
358
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['mobilePaddingType'] ),
359
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['mobileMarginType'] ),
360
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['mobileMarginType'] ),
361
+ ),
362
+ ' .uagb-columns__shape-bottom svg' => array(
363
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightMobile'], 'px' )
364
+ ),
365
+ ' .uagb-columns__shape-top svg' => array(
366
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightMobile'], 'px' )
367
+ ),
368
+ );
369
+
370
+ $t_selectors = array(
371
+ '.uagb-columns__wrap' => array(
372
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['tabletPaddingType'] ),
373
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['tabletPaddingType'] ),
374
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['tabletPaddingType'] ),
375
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['tabletPaddingType'] ),
376
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['tabletMarginType'] ),
377
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['tabletMarginType'] ),
378
+ ),
379
+ ' .uagb-columns__shape-bottom svg' => array(
380
+ 'height' => UAGB_Helper::get_css_value( $attr['bottomHeightTablet'], 'px' )
381
+ ),
382
+ ' .uagb-columns__shape-top svg' => array(
383
+ 'height' => UAGB_Helper::get_css_value( $attr['topHeightTablet'], 'px' )
384
+ ),
385
+ );
386
+
387
+ // @codingStandardsIgnoreEnd
388
+
389
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-columns-' . $id );
390
+
391
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-columns-' . $id );
392
+
393
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-columns-' . $id );
394
+
395
+ $generated_css = array(
396
+ 'desktop' => $desktop,
397
+ 'tablet' => $tablet,
398
+ 'mobile' => $mobile,
399
+ );
400
+
401
+ return $generated_css;
402
+ }
403
+
404
+ /**
405
+ * Get Single Column Block CSS
406
+ *
407
+ * @since 1.8.0
408
+ * @param array $attr The block attributes.
409
+ * @param string $id The selector ID.
410
+ * @return array The Widget List.
411
+ */
412
+ public static function get_column_css( $attr, $id ) { // @codingStandardsIgnoreStart
413
+
414
+ global $content_width;
415
+
416
+ $defaults = UAGB_Helper::$block_list['uagb/column']['attributes'];
417
+
418
+ $attr = array_merge( $defaults, $attr );
419
+
420
+ $bg_type = ( isset( $attr['backgroundType'] ) ) ? $attr['backgroundType'] : 'none';
421
+ $overlay_type = ( isset( $attr['overlayType'] ) ) ? $attr['overlayType'] : 'none';
422
+
423
+ $style = array(
424
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPadding'], $attr['desktopPaddingType'] ),
425
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPadding'], $attr['desktopPaddingType'] ),
426
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPadding'], $attr['desktopPaddingType'] ),
427
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPadding'], $attr['desktopPaddingType'] ),
428
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMargin'], $attr['desktopMarginType'] ),
429
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMargin'], $attr['desktopMarginType'] ),
430
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMargin'], $attr['desktopMarginType'] ),
431
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMargin'], $attr['desktopMarginType'] ),
432
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
433
+ );
434
+
435
+ $m_selectors = array();
436
+ $t_selectors = array();
437
+
438
+ if ( "none" != $attr['borderStyle'] ) {
439
+ $style["border-style"] = $attr['borderStyle'];
440
+ $style["border-width"] = UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' );
441
+ $style["border-color"] = $attr['borderColor'];
442
+ }
443
+
444
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
445
+
446
+ if ( 'image' === $bg_type ) {
447
+
448
+ $style['background-image'] = ( isset( $attr['backgroundImage'] ) && isset( $attr['backgroundImage']['url'] ) ) ? "url('" . $attr['backgroundImage']['url'] . "' )" : null;
449
+ $style['background-position'] = $position;
450
+ $style['background-attachment'] = $attr['backgroundAttachment'];
451
+ $style['background-repeat'] = $attr['backgroundRepeat'];
452
+ $style['background-size'] = $attr['backgroundSize'];
453
+
454
+ }
455
+
456
+ $selectors = array(
457
+ '.uagb-column__wrap' => $style
458
+ );
459
+
460
+ if ( 'image' == $bg_type ) {
461
+ if( 'color' == $overlay_type ){
462
+ $selectors[' > .uagb-column__overlay'] = array(
463
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : 0,
464
+ 'background-color' => $attr['backgroundImageColor'],
465
+ );
466
+ }else{
467
+ $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
468
+ $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
469
+
470
+ if ( 'linear' === $attr['gradientOverlayType'] ) {
471
+
472
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientOverlayAngle'] . 'deg, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
473
+ } else {
474
+
475
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientOverlayColor1'] . ' ' . $attr['gradientOverlayLocation1'] . '%, ' . $attr['gradientOverlayColor2'] . ' ' . $attr['gradientOverlayLocation2'] . '%)';
476
+ }
477
+ }
478
+
479
+ } else if ( 'color' == $bg_type ) {
480
+ $selectors[' > .uagb-column__overlay'] = array(
481
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "",
482
+ 'background-color' => $attr['backgroundColor'],
483
+ );
484
+ } elseif ( 'gradient' === $bg_type ) {
485
+ $selectors[' > .uagb-column__overlay']['background-color'] = 'transparent';
486
+ $selectors[' > .uagb-column__overlay']['opacity'] = ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? $attr['backgroundOpacity'] / 100 : "";
487
+
488
+ if ( 'linear' === $attr['gradientType'] ) {
489
+
490
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
491
+ } else {
492
+
493
+ $selectors[' > .uagb-column__overlay']['background-image'] = 'radial-gradient( at center center, ' . $attr['gradientColor1'] . ' ' . $attr['gradientLocation1'] . '%, ' . $attr['gradientColor2'] . ' ' . $attr['gradientLocation2'] . '%)';
494
+ }
495
+ }
496
+
497
+ if ( '' != $attr['colWidth'] && 0 != $attr['colWidth'] ) {
498
+
499
+ $selectors[''] = array(
500
+ "width" => UAGB_Helper::get_css_value( $attr['colWidth'], "%" )
501
+ );
502
+ }
503
+
504
+ $m_selectors = array(
505
+ '.uagb-column__wrap' => array(
506
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingMobile'], $attr['tabletPaddingType'] ),
507
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingMobile'], $attr['tabletPaddingType'] ),
508
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingMobile'], $attr['tabletPaddingType'] ),
509
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingMobile'], $attr['tabletPaddingType'] ),
510
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginMobile'], $attr['tabletMarginType'] ),
511
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginMobile'], $attr['tabletMarginType'] ),
512
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginMobile'], $attr['tabletMarginType'] ),
513
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginMobile'], $attr['tabletMarginType'] ),
514
+ )
515
+ );
516
+
517
+ $t_selectors = array(
518
+ '.uagb-column__wrap' => array(
519
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['topPaddingTablet'], $attr['mobilePaddingType'] ),
520
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['bottomPaddingTablet'], $attr['mobilePaddingType'] ),
521
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['leftPaddingTablet'], $attr['mobilePaddingType'] ),
522
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['rightPaddingTablet'], $attr['mobilePaddingType'] ),
523
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['topMarginTablet'], $attr['mobileMarginType'] ),
524
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['bottomMarginTablet'], $attr['mobileMarginType'] ),
525
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['leftMarginTablet'], $attr['mobileMarginType'] ),
526
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['rightMarginTablet'], $attr['mobileMarginType'] ),
527
+ )
528
+ );
529
+
530
+ if ( '' != $attr['colWidthTablet'] && 0 != $attr['colWidthTablet'] ) {
531
+
532
+ $t_selectors[''] = array(
533
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthTablet'], '%' )
534
+ );
535
+ }
536
+
537
+ if ( '' != $attr['colWidthMobile'] && 0 != $attr['colWidthMobile'] ) {
538
+
539
+ $m_selectors[''] = array(
540
+ "width" => UAGB_Helper::get_css_value( $attr['colWidthMobile'], '%' )
541
+ );
542
+ }
543
+
544
+ // @codingStandardsIgnoreEnd
545
+
546
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-column-' . $id );
547
+
548
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-column-' . $id );
549
+
550
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-column-' . $id );
551
+
552
+ $generated_css = array(
553
+ 'desktop' => $desktop,
554
+ 'tablet' => $tablet,
555
+ 'mobile' => $mobile,
556
+ );
557
+
558
+ return $generated_css;
559
+ }
560
+
561
+ /**
562
+ * Get Advanced Heading Block CSS
563
+ *
564
+ * @since 0.0.1
565
+ * @param array $attr The block attributes.
566
+ * @param string $id The selector ID.
567
+ * @return array The Widget List.
568
+ */
569
+ public static function get_adv_heading_css( $attr, $id ) { // @codingStandardsIgnoreStart
570
+
571
+ $defaults = UAGB_Helper::$block_list['uagb/advanced-heading']['attributes'];
572
+
573
+ $attr = array_merge( $defaults, (array) $attr );
574
+
575
+ $m_selectors = array();
576
+ $t_selectors = array();
577
+
578
+ $selectors = array(
579
+ ' .uagb-heading-text' => array(
580
+ 'text-align' => $attr['headingAlign'],
581
+ 'font-family' => $attr['headFontFamily'],
582
+ 'font-weight' => $attr['headFontWeight'],
583
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
584
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
585
+ 'color' => $attr['headingColor'],
586
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['headSpace'], "px" ),
587
+ ),
588
+ ' .uagb-separator-wrap' => array(
589
+ 'text-align' => $attr['headingAlign'],
590
+ ),
591
+ ' .uagb-desc-text' => array(
592
+ 'text-align' => $attr['headingAlign'],
593
+ 'font-family' => $attr['subHeadFontFamily'],
594
+ 'font-weight' => $attr['subHeadFontWeight'],
595
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
596
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
597
+ 'color' => $attr['subHeadingColor'],
598
+ )
599
+
600
+ );
601
+
602
+ $m_selectors = array(
603
+ ' .uagb-heading-text' => array(
604
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
605
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
606
+ ),
607
+ ' .uagb-desc-text' => array(
608
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
609
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
610
+ )
611
+
612
+ );
613
+
614
+ $t_selectors = array(
615
+ ' .uagb-heading-text' => array(
616
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
617
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
618
+
619
+ ),
620
+ ' .uagb-desc-text' => array(
621
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
622
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
623
+ )
624
+
625
+ );
626
+
627
+ $seperatorStyle = isset( $attr['seperatorStyle'] ) ? $attr['seperatorStyle'] : '';
628
+
629
+ if( 'none' !== $seperatorStyle ){
630
+ $selectors[' .uagb-separator'] = array (
631
+ 'border-top-style' => $attr['seperatorStyle'] ,
632
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['separatorHeight'], "px" ),
633
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorWidth'], $attr['separatorWidthType'] ),
634
+ 'border-color' => $attr['separatorColor'],
635
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['separatorSpace'], "px" ),
636
+ );
637
+
638
+ }
639
+ // @codingStandardsIgnoreEnd
640
+
641
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-adv-heading-' . $id );
642
+
643
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-adv-heading-' . $id );
644
+
645
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-adv-heading-' . $id );
646
+
647
+ $generated_css = array(
648
+ 'desktop' => $desktop,
649
+ 'tablet' => $tablet,
650
+ 'mobile' => $mobile,
651
+ );
652
+
653
+ return $generated_css;
654
+ }
655
+
656
+ /**
657
+ * Get Multi Buttons Block CSS
658
+ *
659
+ * @since 0.0.1
660
+ * @param array $attr The block attributes.
661
+ * @param string $id The selector ID.
662
+ * @return array The Widget List.
663
+ */
664
+ public static function get_buttons_css( $attr, $id ) { // @codingStandardsIgnoreStart
665
+
666
+ $defaults = UAGB_Helper::$block_list['uagb/buttons']['attributes'];
667
+
668
+ $attr = array_merge( $defaults, (array) $attr );
669
+
670
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
671
+
672
+ $m_selectors = array();
673
+ $t_selectors = array();
674
+
675
+ $selectors = array(
676
+ ' .uagb-button__wrapper' => array(
677
+ 'margin-left' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
678
+ 'margin-right' => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
679
+ ),
680
+ ' .uagb-button__wrapper:first-child' => array (
681
+ 'margin-left' => 0
682
+ ),
683
+ ' .uagb-button__wrapper:last-child' => array (
684
+ 'margin-right' => 0
685
+ ),
686
+ );
687
+
688
+ if( 'full' === $attr['align'] ) {
689
+ $selectors[' .uagb-buttons__wrap .uagb-button__wrapper'] = array (
690
+ 'justify-content' => 'center',
691
+ '-webkit-box-pack'=> 'center',
692
+ '-ms-flex-pack' => 'center',
693
+ 'justify-content' => 'center',
694
+ '-webkit-box-align' => 'center',
695
+ '-ms-flex-align' => 'center',
696
+ 'align-items' => 'center',
697
+ 'width' => '100%',
698
+ 'text-align' => 'center',
699
+ );
700
+ } else {
701
+ $selectors[' .uagb-buttons__wrap'] = array (
702
+ 'justify-content' => $alignment,
703
+ '-webkit-box-pack'=> $alignment,
704
+ '-ms-flex-pack' => $alignment,
705
+ 'justify-content' => $alignment,
706
+ '-webkit-box-align' => $alignment,
707
+ '-ms-flex-align' => $alignment,
708
+ 'align-items' => $alignment,
709
+ );
710
+ }
711
+
712
+ foreach ( $attr['buttons'] as $key => $button ) {
713
+
714
+ $button['size'] = ( isset( $button['size'] ) ) ? $button['size'] : '';
715
+ $button['borderWidth'] = ( isset( $button['borderWidth'] ) ) ? $button['borderWidth'] : '';
716
+ $button['borderStyle'] = ( isset( $button['borderStyle'] ) ) ? $button['borderStyle'] : '';
717
+ $button['borderColor'] = ( isset( $button['borderColor'] ) ) ? $button['borderColor'] : '';
718
+ $button['borderRadius'] = ( isset( $button['borderRadius'] ) ) ? $button['borderRadius'] : '';
719
+ $button['background'] = ( isset( $button['background'] ) ) ? $button['background'] : '';
720
+ $button['hBackground'] = ( isset( $button['hBackground'] ) ) ? $button['hBackground'] : '';
721
+ $button['borderHColor'] = ( isset( $button['borderHColor'] ) ) ? $button['borderHColor'] : '';
722
+ $button['vPadding'] = ( isset( $button['vPadding'] ) ) ? $button['vPadding'] : '';
723
+ $button['hPadding'] = ( isset( $button['hPadding'] ) ) ? $button['hPadding'] : '';
724
+ $button['color'] = ( isset( $button['color'] ) ) ? $button['color'] : '';
725
+ $button['hColor'] = ( isset( $button['hColor'] ) ) ? $button['hColor'] : '';
726
+ $button['sizeType'] = ( isset( $button['sizeType'] ) ) ? $button['sizeType'] : 'px';
727
+ $button['sizeMobile'] = ( isset( $button['sizeMobile'] ) ) ? $button['sizeMobile'] : '';
728
+ $button['sizeTablet'] = ( isset( $button['sizeTablet'] ) ) ? $button['sizeTablet'] : '';
729
+ $button['lineHeight'] = ( isset( $button['lineHeight'] ) ) ? $button['lineHeight'] : '';
730
+ $button['lineHeightType'] = ( isset( $button['lineHeightType'] ) ) ? $button['lineHeightType'] : '';
731
+ $button['lineHeightMobile'] = ( isset( $button['lineHeightMobile'] ) ) ? $button['lineHeightMobile'] : '';
732
+ $button['lineHeightTablet'] = ( isset( $button['lineHeightTablet'] ) ) ? $button['lineHeightTablet'] : '';
733
+
734
+
735
+ if ( $attr['btn_count'] <= $key ) {
736
+ break;
737
+ }
738
+
739
+ $selectors[' .uagb-buttons-repeater-' . $key] = array (
740
+ 'font-size' => $button['size'] . $button['sizeType'],
741
+ 'line-height' => $button['lineHeight'] . $button['lineHeightType'],
742
+ 'font-family' => $attr['fontFamily'],
743
+ 'font-weight' => $attr['fontWeight'],
744
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
745
+ 'border-color' => $button['borderColor'],
746
+ 'border-style' => $button['borderStyle'],
747
+ 'border-radius' => UAGB_Helper::get_css_value( $button['borderRadius'], 'px' ),
748
+ 'background' => $button['background']
749
+ );
750
+
751
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover'] = array (
752
+ 'background' => $button['hBackground'],
753
+ 'border-width' => UAGB_Helper::get_css_value( $button['borderWidth'], 'px' ),
754
+ 'border-color' => $button['borderHColor'],
755
+ 'border-style' => $button['borderStyle'],
756
+ );
757
+
758
+ $selectors[' .uagb-buttons-repeater-' . $key . ' a.uagb-button__link'] = array (
759
+ 'padding' => $button['vPadding'] . 'px ' . $button['hPadding'] . 'px',
760
+ 'color' => $button['color']
761
+ );
762
+
763
+ $selectors[' .uagb-buttons-repeater-' . $key . ':hover a.uagb-button__link'] = array (
764
+ 'color' => $button['hColor']
765
+ );
766
+
767
+ $m_selectors[' .uagb-buttons-repeater-' . $key] = array (
768
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeMobile'], $button['sizeType'] ),
769
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightMobile'], $button['lineHeightType'] ),
770
+ );
771
+
772
+ $t_selectors[' .uagb-buttons-repeater-' . $key] = array (
773
+ 'font-size' => UAGB_Helper::get_css_value( $button['sizeTablet'], $button['sizeType'] ),
774
+ 'line-height' => UAGB_Helper::get_css_value( $button['lineHeightTablet'], $button['lineHeightType'] ),
775
+ );
776
+ }
777
+
778
+ if ( "desktop" == $attr['stack'] ) {
779
+
780
+ $selectors[" .uagb-button__wrapper"] = array (
781
+ 'margin-left' => 0,
782
+ 'margin-right' => 0,
783
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
784
+ );
785
+
786
+ $selectors[" .uagb-buttons__wrap"] = array (
787
+ "flex-direction" => "column"
788
+ );
789
+
790
+ $selectors[" .uagb-button__wrapper:last-child"] = array (
791
+ "margin-bottom" => 0
792
+ );
793
+
794
+ } else if ( "tablet" == $attr['stack'] ) {
795
+
796
+ $t_selectors[" .uagb-button__wrapper"] = array (
797
+ 'margin-left' => 0,
798
+ 'margin-right' => 0,
799
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
800
+ );
801
+
802
+ $t_selectors[" .uagb-buttons__wrap"] = array (
803
+ "flex-direction" => "column"
804
+ );
805
+
806
+ $t_selectors[" .uagb-button__wrapper:last-child"] = array (
807
+ "margin-bottom" => 0
808
+ );
809
+
810
+ } else if ( "mobile" == $attr['stack'] ) {
811
+
812
+ $m_selectors[" .uagb-button__wrapper"] = array (
813
+ 'margin-left' => 0,
814
+ 'margin-right' => 0,
815
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
816
+ );
817
+
818
+ $m_selectors[" .uagb-buttons__wrap"] = array (
819
+ "flex-direction" => "column"
820
+ );
821
+
822
+ $m_selectors[" .uagb-button__wrapper:last-child"] = array (
823
+ "margin-bottom" => 0
824
+ );
825
+ }
826
+
827
+ // @codingStandardsIgnoreEnd
828
+
829
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-buttons-' . $id );
830
+
831
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-buttons-' . $id );
832
+
833
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-buttons-' . $id );
834
+
835
+ $generated_css = array(
836
+ 'desktop' => $desktop,
837
+ 'tablet' => $tablet,
838
+ 'mobile' => $mobile,
839
+ );
840
+
841
+ return $generated_css;
842
+ }
843
+
844
+ /**
845
+ * Get Info Box CSS
846
+ *
847
+ * @since 0.0.1
848
+ * @param array $attr The block attributes.
849
+ * @param string $id The selector ID.
850
+ * @return array The Widget List.
851
+ */
852
+ public static function get_info_box_css( $attr, $id ) { // @codingStandardsIgnoreStart.
853
+ $defaults = UAGB_Helper::$block_list['uagb/info-box']['attributes'];
854
+
855
+ $attr = array_merge( $defaults, (array) $attr );
856
+
857
+ $m_selectors = array();
858
+ $t_selectors = array();
859
+
860
+ $selectors = array(
861
+ ' .uagb-ifb-icon' => array(
862
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
863
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
864
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
865
+ ),
866
+ ' .uagb-ifb-icon > span' => array(
867
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
868
+ 'height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
869
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
870
+ 'line-height' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
871
+ 'color' => $attr['iconColor'],
872
+ ),
873
+ ' .uagb-ifb-icon svg' => array(
874
+ 'fill' => $attr['iconColor'],
875
+ ),
876
+ ' .uagb-ifb-icon:hover > span' => array(
877
+ 'color' => $attr['iconHover'] ,
878
+ ),
879
+ ' .uagb-ifb-icon:hover svg' => array(
880
+ 'fill' => $attr['iconHover'] ,
881
+ ),
882
+
883
+ ' .uagb-infbox__link-to-all:hover ~ .uagb-infobox__content-wrap .uagb-ifb-icon svg' => array(
884
+ 'fill' => $attr['iconHover'] ,
885
+ ),
886
+
887
+ ' .uagb-infobox__content-wrap .uagb-ifb-imgicon-wrap' => array(
888
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['iconLeftMargin'], 'px' ),
889
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['iconRightMargin'], 'px' ),
890
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['iconTopMargin'], 'px' ),
891
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['iconBottomMargin'], 'px' ),
892
+ ),
893
+ ' .uagb-infobox .uagb-ifb-image-content img' => array(
894
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['iconimgBorderRadius'], 'px' ),
895
+ ),
896
+ // CTA style .
897
+ ' .uagb-infobox-cta-link' => array(
898
+ 'font-size' => $attr['ctaFontSize'].$attr['ctaFontSizeType'],
899
+ 'font-family' => $attr['ctaFontFamily'],
900
+ 'font-weight' => $attr['ctaFontWeight'],
901
+ 'color' => $attr['ctaLinkColor'],
902
+ ),
903
+ ' .uagb-infobox-cta-link:hover' => array(
904
+ 'color' => $attr['ctaLinkHoverColor'],
905
+ ),
906
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
907
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
908
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
909
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
910
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
911
+ ),
912
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
913
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
914
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
915
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
916
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
917
+ ),
918
+ ' .uagb-infobox-cta-link svg' => array(
919
+ 'fill' => $attr['ctaLinkColor'],
920
+ ),
921
+ ' .uagb-infobox-cta-link:hover svg' => array(
922
+ 'fill' => $attr['ctaLinkHoverColor'],
923
+ ),
924
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link' => array(
925
+ 'color' => $attr['ctaBtnLinkColor'],
926
+ 'background-color' => $attr['ctaBgColor'],
927
+ 'border-style' => $attr['ctaBorderStyle'],
928
+ 'border-color' => $attr['ctaBorderColor'],
929
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
930
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
931
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
932
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
933
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
934
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
935
+
936
+ ),
937
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link svg' => array(
938
+ 'fill' => $attr['ctaBtnLinkColor'],
939
+ ),
940
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover' => array(
941
+ 'color' => $attr['ctaLinkHoverColor'],
942
+ 'background-color' => $attr['ctaBgHoverColor'],
943
+ 'border-color' => $attr['ctaBorderhoverColor'],
944
+ ),
945
+ ' .uagb-ifb-button-wrapper .uagb-infobox-cta-link:hover svg' => array(
946
+ 'fill' => $attr['ctaLinkHoverColor'],
947
+ ),
948
+ // Prefix Style.
949
+ ' .uagb-ifb-title-prefix' => array(
950
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
951
+ 'font-family' => $attr['prefixFontFamily'],
952
+ 'font-weight' => $attr['prefixFontWeight'],
953
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
954
+ 'color' => $attr['prefixColor'],
955
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
956
+ ),
957
+ // Title Style.
958
+ ' .uagb-ifb-title' => array(
959
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
960
+ 'font-family' => $attr['headFontFamily'],
961
+ 'font-weight' => $attr['headFontWeight'],
962
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
963
+ 'color' => $attr['headingColor'],
964
+ 'margin-bottom' => $attr['headSpace'] . 'px',
965
+ ),
966
+ // Description Style.
967
+ ' .uagb-ifb-desc' => array(
968
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ) ,
969
+ 'font-family' => $attr['subHeadFontFamily'],
970
+ 'font-weight' => $attr['subHeadFontWeight'],
971
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
972
+ 'color' => $attr['subHeadingColor'],
973
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['subHeadSpace'], 'px' ),
974
+ ),
975
+ // Seperator.
976
+ ' .uagb-ifb-separator' => array(
977
+ 'width' => UAGB_Helper::get_css_value( $attr['seperatorWidth'], $attr['separatorWidthType'] ),
978
+ 'border-top-width' => UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
979
+ 'border-top-color' => $attr['seperatorColor'],
980
+ 'border-top-style' => $attr['seperatorStyle'],
981
+ ),
982
+ ' .uagb-ifb-separator-parent' => array(
983
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['seperatorSpace'], 'px' ),
984
+ ),
985
+ // CTA icon space.
986
+ ' .uagb-ifb-align-icon-after' => array(
987
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
988
+ ),
989
+ ' .uagb-ifb-align-icon-before' => array(
990
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
991
+ ),
992
+ );
993
+
994
+ if ( $attr['imageWidthType'] ) {
995
+ // Image.
996
+ $selectors[' .uagb-ifb-image-content > img'] = array(
997
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
998
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
999
+ );
1000
+ }
1001
+
1002
+ if( 'above-title' === $attr['iconimgPosition'] || 'below-title' === $attr['iconimgPosition'] ){
1003
+ $selectors[' .uagb-infobox__content-wrap'] = array(
1004
+ 'text-align' => $attr['headingAlign'],
1005
+ );
1006
+ }
1007
+
1008
+ $m_selectors = array(
1009
+ ' .uagb-ifb-title-prefix' => array(
1010
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1011
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
1012
+ ),
1013
+ ' .uagb-ifb-title' => array(
1014
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
1015
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
1016
+ ),
1017
+ ' .uagb-ifb-desc' => array(
1018
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
1019
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
1020
+ ),
1021
+ ' .uagb-infobox-cta-link' => array(
1022
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1023
+ ),
1024
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1025
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1026
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1027
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1028
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1029
+ ),
1030
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1031
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1032
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1033
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1034
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
1035
+ ),
1036
+ );
1037
+
1038
+ $t_selectors = array(
1039
+ ' .uagb-ifb-title-prefix' => array(
1040
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1041
+ ),
1042
+ ' .uagb-ifb-title' => array(
1043
+ 'font-size' => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
1044
+ ),
1045
+ ' .uagb-ifb-desc' => array(
1046
+ 'font-size' => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
1047
+ ),
1048
+ ' .uagb-infobox-cta-link' => array(
1049
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1050
+ ),
1051
+ ' .uagb-infobox-cta-link .uagb-ifb-button-icon' => array(
1052
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1053
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1054
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1055
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1056
+ ),
1057
+ ' .uagb-infobox-cta-link .uagb-ifb-text-icon' => array(
1058
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1059
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1060
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1061
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1062
+ ),
1063
+ );
1064
+
1065
+ // @codingStandardsIgnoreEnd.
1066
+
1067
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-infobox-' . $id );
1068
+
1069
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-infobox-' . $id );
1070
+
1071
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-infobox-' . $id );
1072
+
1073
+ $generated_css = array(
1074
+ 'desktop' => $desktop,
1075
+ 'tablet' => $tablet,
1076
+ 'mobile' => $mobile,
1077
+ );
1078
+
1079
+ return $generated_css;
1080
+ }
1081
+
1082
+ /**
1083
+ * Get CTA CSS
1084
+ *
1085
+ * @since 1.7.0
1086
+ * @param array $attr The block attributes.
1087
+ * @param string $id The selector ID.
1088
+ * @return array The Widget List.
1089
+ */
1090
+ public static function get_call_to_action_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1091
+ $defaults = UAGB_Helper::$block_list['uagb/call-to-action']['attributes'];
1092
+
1093
+ $attr = array_merge( $defaults, (array) $attr );
1094
+
1095
+ $t_selectors = array();
1096
+ $m_selectors = array();
1097
+
1098
+ $selectors = array(
1099
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1100
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1101
+ 'font-family' => $attr['ctaFontFamily'],
1102
+ 'font-weight' => $attr['ctaFontWeight'],
1103
+ 'color' => $attr['ctaBtnLinkColor'],
1104
+ ),
1105
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-text ' => array(
1106
+ 'color' => $attr['ctaLinkHoverColor'],
1107
+ ),
1108
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1109
+ 'font-size' => $attr['ctaFontSize']. $attr['ctaFontSizeType'],
1110
+ 'font-family' => $attr['ctaFontFamily'],
1111
+ 'font-weight' => $attr['ctaFontWeight'],
1112
+ 'color' => $attr['ctaBtnLinkColor'],
1113
+ 'background-color' => $attr['ctaBgColor'],
1114
+ 'border-style' => $attr['ctaBorderStyle'],
1115
+ 'border-color' => $attr['ctaBorderColor'],
1116
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['ctaBorderRadius'], 'px' ),
1117
+ 'border-width' => UAGB_Helper::get_css_value( $attr['ctaBorderWidth'], 'px' ),
1118
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1119
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['ctaBtnVertPadding'], 'px' ),
1120
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1121
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['ctaBtnHrPadding'], 'px' ),
1122
+ ),
1123
+ ' .uagb-cta__button-wrapper:hover a.uagb-cta-typeof-button' => array(
1124
+ 'color' => $attr['ctaLinkHoverColor'],
1125
+ 'background-color' => $attr['ctaBgHoverColor'],
1126
+ 'border-color' => $attr['ctaBorderhoverColor'],
1127
+ ),
1128
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1129
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1130
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1131
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1132
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
1133
+ ),
1134
+ ' .uagb-cta__button-wrapper .uagb-cta__block-link svg' => array(
1135
+ 'fill' => $attr['ctaBtnLinkColor'],
1136
+ ),
1137
+ ' .uagb-cta__button-wrapper:hover .uagb-cta__block-link svg' => array(
1138
+ 'fill' => $attr['ctaLinkHoverColor'],
1139
+ ),
1140
+ ' .uagb-cta__title' => array(
1141
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1142
+ 'font-family' => $attr['titleFontFamily'],
1143
+ 'font-weight' => $attr['titleFontWeight'],
1144
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1145
+ 'color' => $attr['titleColor'],
1146
+ 'margin-bottom' => $attr['titleSpace']. "px",
1147
+ ),
1148
+ ' .uagb-cta__desc' => array(
1149
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1150
+ 'font-family' => $attr['descFontFamily'],
1151
+ 'font-weight' => $attr['descFontWeight'],
1152
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1153
+ 'color' => $attr['descColor'],
1154
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1155
+ ),
1156
+ ' .uagb-cta__align-button-after' => array(
1157
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1158
+ ),
1159
+ ' .uagb-cta__align-button-before' => array(
1160
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaIconSpace'], 'px' ),
1161
+ ),
1162
+ );
1163
+
1164
+ $selectors[' .uagb-cta__content-wrap'] = array(
1165
+ 'text-align' => $attr['textAlign'],
1166
+ );
1167
+
1168
+ if( 'left' === $attr['textAlign'] && "right" === $attr['ctaPosition'] ){
1169
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1170
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['ctaLeftSpace'], 'px' ),
1171
+ 'margin-right' => '0',
1172
+ );
1173
+ }
1174
+
1175
+ if( 'right' === $attr['textAlign'] && 'right' === $attr['ctaPosition'] ){
1176
+ $selectors[' .uagb-cta__left-right-wrap .uagb-cta__content'] = array(
1177
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['ctaRightSpace'], 'px' ),
1178
+ 'margin-left' => '0',
1179
+ );
1180
+ }
1181
+
1182
+ if( $attr['ctaPosition'] === "right" && ( $attr['ctaType'] === 'text' || $attr['ctaType'] === 'button' ) ){
1183
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__content"] = array(
1184
+ "width" => UAGB_Helper::get_css_value( $attr['contentWidth'], '%' ),
1185
+ );
1186
+
1187
+ $selectors[" .uagb-cta__content-right .uagb-cta__left-right-wrap .uagb-cta__link-wrapper"] = array(
1188
+ "width" => UAGB_Helper::get_css_value( (100 - $attr['contentWidth'] ), '%' ),
1189
+ );
1190
+ }
1191
+
1192
+ $t_selectors = array(
1193
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1194
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1195
+ ),
1196
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1197
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1198
+ ),
1199
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1200
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1201
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1202
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1203
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
1204
+ ),
1205
+ ' .uagb-cta__title' => array(
1206
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1207
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
1208
+ ),
1209
+ ' .uagb-cta__desc' => array(
1210
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1211
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1212
+ ),
1213
+ );
1214
+
1215
+ $m_selectors = array(
1216
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-text' => array(
1217
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1218
+ ),
1219
+ ' .uagb-cta__button-wrapper a.uagb-cta-typeof-button' => array(
1220
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1221
+ ),
1222
+ ' .uagb-cta__button-wrapper .uagb-cta-with-svg' => array(
1223
+ 'font-size' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1224
+ 'width' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1225
+ 'height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1226
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'],$attr['ctaFontSizeType'] ),
1227
+ ),
1228
+ ' .uagb-cta__title' => array(
1229
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'],$attr['titleFontSizeType'] ),
1230
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'],$attr['titleLineHeightType'] ),
1231
+ ),
1232
+ ' .uagb-cta__desc' => array(
1233
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'],$attr['descFontSizeType'] ),
1234
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1235
+ ),
1236
+ );
1237
+
1238
+ // @codingStandardsIgnoreEnd.
1239
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cta-block-' . $id );
1240
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cta-block-' . $id );
1241
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cta-block-' . $id );
1242
+
1243
+ $generated_css = array(
1244
+ 'desktop' => $desktop,
1245
+ 'tablet' => $tablet,
1246
+ 'mobile' => $mobile,
1247
+ );
1248
+
1249
+ return $generated_css;
1250
+ }
1251
+
1252
+ /**
1253
+ * Get Testimonial CSS
1254
+ *
1255
+ * @since 0.0.1
1256
+ * @param array $attr The block attributes.
1257
+ * @param string $id The selector ID.
1258
+ * @return array The Widget List.
1259
+ */
1260
+ public static function get_testimonial_css( $attr, $id ) { // @codingStandardsIgnoreStart.
1261
+
1262
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
1263
+
1264
+ $attr = array_merge( $defaults, (array) $attr );
1265
+
1266
+ $img_align = 'center';
1267
+ if( 'left' === $attr['headingAlign']){
1268
+ $img_align = 'flex-start';
1269
+ }else if( 'right' === $attr['headingAlign']){
1270
+ $img_align = 'flex-end';
1271
+ }
1272
+
1273
+ $position = str_replace( '-', ' ', $attr['backgroundPosition'] );
1274
+
1275
+ $selectors = array(
1276
+ ' .uagb-testimonial__wrap' => array(
1277
+ 'padding-left' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1278
+ 'padding-right' => UAGB_Helper::get_css_value( ( ($attr['columnGap']) /2 ), 'px' ),
1279
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' ),
1280
+ ),
1281
+ ' .uagb-testimonial__wrap .uagb-tm__image-content' => array(
1282
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1283
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'], 'px' ),
1284
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1285
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'], 'px' ),
1286
+ ),
1287
+ ' .uagb-tm__image img' => array(
1288
+ 'width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1289
+ 'max-width' => UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
1290
+ ),
1291
+ ' .uagb-tm__content' => array(
1292
+ 'text-align' => $attr['headingAlign'],
1293
+ 'padding' => UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
1294
+ ),
1295
+ ' .uagb-tm__author-name' => array(
1296
+ 'color' => $attr['authorColor'],
1297
+ 'font-size' => $attr['nameFontSize'] . $attr['nameFontSizeType'],
1298
+ 'font-family' => $attr['nameFontFamily'],
1299
+ 'font-weight' => $attr['nameFontWeight'],
1300
+ 'line-height' => $attr['nameLineHeight'] . $attr['nameLineHeightType'],
1301
+ 'margin-bottom' => $attr['nameSpace'] . 'px',
1302
+ ),
1303
+ ' .uagb-tm__company' => array(
1304
+ 'color' => $attr['companyColor'],
1305
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSize'], $attr['companyFontSizeType'] ),
1306
+ 'font-family' => $attr['companyFontFamily'],
1307
+ 'font-weight' => $attr['companyFontWeight'],
1308
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeight'], $attr['companyLineHeightType'] ),
1309
+ ),
1310
+ ' .uagb-tm__desc' => array(
1311
+ 'color' => $attr['descColor'],
1312
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1313
+ 'font-family' => $attr['descFontFamily'],
1314
+ 'font-weight' => $attr['descFontWeight'],
1315
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1316
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1317
+ ),
1318
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-color .uagb-tm__content' => array(
1319
+ 'background-color' => $attr['backgroundColor'],
1320
+ ),
1321
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__content' => array(
1322
+ 'background-image' => ( isset( $attr['backgroundImage']['url'] ) && isset( $attr['backgroundImage']['url'] ) ) ? 'url("'.$attr['backgroundImage']['url'].'")' : null,
1323
+ 'background-position'=> $position,
1324
+ 'background-repeat'=> $attr['backgroundRepeat'],
1325
+ 'background-size'=> $attr['backgroundSize'],
1326
+ ),
1327
+ ' .uagb-testimonial__wrap.uagb-tm__bg-type-image .uagb-tm__overlay' => array(
1328
+ 'background-color' => $attr['backgroundImageColor'],
1329
+ 'opacity' => ( isset( $attr['backgroundOpacity'] ) && '' != $attr['backgroundOpacity'] ) ? ( ( 100 - $attr['backgroundOpacity'] ) / 100 ) : '0.5',
1330
+ ),
1331
+ ' .uagb-testimonial__wrap .uagb-tm__content' => array(
1332
+ 'border-color' => $attr['borderColor'],
1333
+ 'border-style' => $attr['borderStyle'],
1334
+ 'border-width' => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
1335
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1336
+ ),
1337
+ ' ul.slick-dots li button:before' => array(
1338
+ 'color' => $attr['arrowColor'],
1339
+ ),
1340
+ ' ul.slick-dots li.slick-active button:before' => array(
1341
+ 'color' => $attr['arrowColor'],
1342
+ ),
1343
+ ' .uagb-tm__image-position-top .uagb-tm__image-content' => array(
1344
+ 'justify-content' => $img_align,
1345
+ ),
1346
+ );
1347
+
1348
+ if( 'dots' === $attr['arrowDots'] ){
1349
+ $selectors['.uagb-slick-carousel'] = array(
1350
+ 'padding' => '0 0 35px 0',
1351
+ );
1352
+ }
1353
+
1354
+ if( '1' === $attr['test_item_count'] || $attr['test_item_count'] === $attr['columns'] ){
1355
+ $selectors['.uagb-slick-carousel'] = array(
1356
+ 'padding' => 0,
1357
+ );
1358
+ }
1359
+
1360
+ $t_selectors = array(
1361
+ ' .uagb-tm__author-name' => array(
1362
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeTablet'], $attr['nameFontSizeType'] ),
1363
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightTablet'], $attr['nameLineHeightType'] ),
1364
+ ),
1365
+ ' .uagb-tm__company' => array(
1366
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeTablet'], $attr['companyFontSizeType'] ),
1367
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightTablet'], $attr['companyLineHeightType'] ),
1368
+ ),
1369
+ ' .uagb-tm__desc' => array(
1370
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1371
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
1372
+ ),
1373
+ );
1374
+
1375
+ $m_selectors = array(
1376
+ ' .uagb-tm__author-name' => array(
1377
+ 'font-size' => UAGB_Helper::get_css_value( $attr['nameFontSizeMobile'], $attr['nameFontSizeType'] ),
1378
+ 'line-height' => UAGB_Helper::get_css_value( $attr['nameLineHeightMobile'], $attr['nameLineHeightType'] ),
1379
+ ),
1380
+ ' .uagb-tm__company' => array(
1381
+ 'font-size' => UAGB_Helper::get_css_value( $attr['companyFontSizeMobile'], $attr['companyFontSizeType'] ),
1382
+ 'line-height' => UAGB_Helper::get_css_value( $attr['companyLineHeightMobile'], $attr['companyLineHeightType'] ),
1383
+ ),
1384
+ ' .uagb-tm__desc' => array(
1385
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1386
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
1387
+ ),
1388
+ ' .uagb-tm__content' => array(
1389
+ 'text-align' => 'center',
1390
+ )
1391
+ );
1392
+
1393
+
1394
+ // @codingStandardsIgnoreEnd.
1395
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-testimonial-' . $id );
1396
+
1397
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-testimonial-' . $id );
1398
+
1399
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-testimonial-' . $id );
1400
+
1401
+ $generated_css = array(
1402
+ 'desktop' => $desktop,
1403
+ 'tablet' => $tablet,
1404
+ 'mobile' => $mobile,
1405
+ );
1406
+
1407
+ return $generated_css;
1408
+ }
1409
+
1410
+ /**
1411
+ * Get Team Block CSS
1412
+ *
1413
+ * @since 0.0.1
1414
+ * @param array $attr The block attributes.
1415
+ * @param string $id The selector ID.
1416
+ * @return array The Widget List.
1417
+ */
1418
+ public static function get_team_css( $attr, $id ) { // @codingStandardsIgnoreStart
1419
+
1420
+ $defaults = UAGB_Helper::$block_list['uagb/team']['attributes'];
1421
+
1422
+ $attr = array_merge( $defaults, (array) $attr );
1423
+
1424
+ $m_selectors = array();
1425
+ $t_selectors = array();
1426
+
1427
+ $selectors = array(
1428
+ " p.uagb-team__desc" => array(
1429
+ "font-family" => $attr['descFontFamily'],
1430
+ "font-weight" => $attr['descFontWeight'],
1431
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
1432
+ "line-height" => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
1433
+ "color" => $attr['descColor'],
1434
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
1435
+ ),
1436
+ " .uagb-team__prefix" => array(
1437
+ "font-family" => $attr['prefixFontFamily'],
1438
+ "font-weight" => $attr['prefixFontWeight'],
1439
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSize'], $attr['prefixFontSizeType'] ),
1440
+ "line-height" => UAGB_Helper::get_css_value( $attr['prefixLineHeight'], $attr['prefixLineHeightType'] ),
1441
+ "color" => $attr['prefixColor'],
1442
+ ),
1443
+ " .uagb-team__desc-wrap" => array(
1444
+ "margin-top" => UAGB_Helper::get_css_value( $attr['prefixSpace'], 'px' ),
1445
+ ),
1446
+ " .uagb-team__social-icon a" => array(
1447
+ "color" => $attr['socialColor'],
1448
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1449
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1450
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1451
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1452
+ ),
1453
+ " .uagb-team__social-icon svg" => array(
1454
+ "fill" => $attr['socialColor'],
1455
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1456
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSize'], $attr['socialFontSizeType'] ),
1457
+ ),
1458
+ " .uagb-team__social-icon:hover a" => array(
1459
+ "color" => $attr['socialHoverColor'],
1460
+ ),
1461
+ " .uagb-team__social-icon:hover svg" => array(
1462
+ "fill" => $attr['socialHoverColor'],
1463
+ ),
1464
+ ".uagb-team__image-position-left .uagb-team__social-icon" => array(
1465
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1466
+ "margin-left" => "0",
1467
+ ),
1468
+ ".uagb-team__image-position-right .uagb-team__social-icon" => array(
1469
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1470
+ "margin-right" => "0",
1471
+ ),
1472
+ ".uagb-team__image-position-above.uagb-team__align-center .uagb-team__social-icon" => array(
1473
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1474
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['socialSpace'] / 2 ), 'px' ),
1475
+ ),
1476
+ ".uagb-team__image-position-above.uagb-team__align-left .uagb-team__social-icon" => array(
1477
+ "margin-right" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1478
+ "margin-left" => "0",
1479
+ ),
1480
+ ".uagb-team__image-position-above.uagb-team__align-right .uagb-team__social-icon" => array(
1481
+ "margin-left" => UAGB_Helper::get_css_value( $attr['socialSpace'], 'px' ),
1482
+ "margin-right" => "0",
1483
+ ),
1484
+ " .uagb-team__image-wrap" => array(
1485
+ "margin-top" => UAGB_Helper::get_css_value( $attr['imgTopMargin'], 'px' ),
1486
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['imgBottomMargin'], 'px' ),
1487
+ "margin-left" => UAGB_Helper::get_css_value( $attr['imgLeftMargin'], 'px' ),
1488
+ "margin-right" => UAGB_Helper::get_css_value( $attr['imgRightMargin'], 'px' ),
1489
+ "width" => UAGB_Helper::get_css_value( $attr['imgWidth'], 'px' )
1490
+ ),
1491
+ );
1492
+
1493
+ if( 'above' == $attr['imgPosition'] ) {
1494
+ if ( 'center' == $attr['align'] ) {
1495
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1496
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1497
+ } else if ( 'left' == $attr['align'] ) {
1498
+ $selectors[" .uagb-team__image-wrap"]["margin-right"] = "auto";
1499
+ } else if ( 'right' == $attr['align'] ) {
1500
+ $selectors[" .uagb-team__image-wrap"]["margin-left"] = "auto";
1501
+ }
1502
+ }
1503
+
1504
+ if ( "above" != $attr['imgPosition'] ) {
1505
+ if ( "middle" == $attr['imgAlign'] ) {
1506
+ $selectors[" .uagb-team__image-wrap"]["align-self"] = "center";
1507
+ }
1508
+ }
1509
+
1510
+ $selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1511
+ "font-family" => $attr['titleFontFamily'],
1512
+ "font-weight" => $attr['titleFontWeight'],
1513
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
1514
+ "line-height" => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
1515
+ "color" => $attr['titleColor'],
1516
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
1517
+ );
1518
+
1519
+ $m_selectors = array(
1520
+ " p.uagb-team__desc" => array(
1521
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
1522
+ ),
1523
+ " .uagb-team__prefix" => array(
1524
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
1525
+ ),
1526
+ " .uagb-team__social-icon a" => array(
1527
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1528
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1529
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1530
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1531
+ ),
1532
+ " .uagb-team__social-icon svg" => array(
1533
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1534
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeMobile'], $attr['socialFontSizeType'] ),
1535
+ ),
1536
+ );
1537
+
1538
+ $t_selectors = array(
1539
+ " p.uagb-team__desc" => array(
1540
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
1541
+ ),
1542
+ " .uagb-team__prefix" => array(
1543
+ "font-size" => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
1544
+ ),
1545
+ " .uagb-team__social-icon a" => array(
1546
+ "font-size" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1547
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1548
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1549
+ "line-height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1550
+ ),
1551
+ " .uagb-team__social-icon svg" => array(
1552
+ "width" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1553
+ "height" => UAGB_Helper::get_css_value( $attr['socialFontSizeTablet'], $attr['socialFontSizeType'] ),
1554
+ ),
1555
+ );
1556
+
1557
+ $m_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1558
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
1559
+ );
1560
+
1561
+ $t_selectors[" " . $attr['tag'] . ".uagb-team__title"] = array(
1562
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
1563
+ );
1564
+
1565
+ // @codingStandardsIgnoreEnd
1566
+
1567
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-team-' . $id );
1568
+
1569
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-team-' . $id );
1570
+
1571
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-team-' . $id );
1572
+
1573
+ $generated_css = array(
1574
+ 'desktop' => $desktop,
1575
+ 'tablet' => $tablet,
1576
+ 'mobile' => $mobile,
1577
+ );
1578
+
1579
+ return $generated_css;
1580
+ }
1581
+
1582
+ /**
1583
+ * Get Social Share Block CSS
1584
+ *
1585
+ * @since 0.0.1
1586
+ * @param array $attr The block attributes.
1587
+ * @param string $id The selector ID.
1588
+ * @return array The Widget List.
1589
+ */
1590
+ public static function get_social_share_css( $attr, $id ) { // @codingStandardsIgnoreStart
1591
+
1592
+ $defaults = UAGB_Helper::$block_list['uagb/social-share']['attributes'];
1593
+
1594
+ $attr = array_merge( $defaults, (array) $attr );
1595
+
1596
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1597
+
1598
+ $m_selectors = array();
1599
+ $t_selectors = array();
1600
+
1601
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper"] = array(
1602
+ "margin-left" => 0,
1603
+ "margin-right" => 0,
1604
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1605
+ );
1606
+
1607
+ $selectors[".uagb-social-share__layout-vertical .uagb-social-share__wrap"] = array(
1608
+ "flex-direction" => "column"
1609
+ );
1610
+
1611
+ $selectors[".uagb-social-share__layout-vertical .uagb-ss__wrapper:last-child"] = array(
1612
+ "margin-bottom" => 0
1613
+ );
1614
+
1615
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1616
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1617
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1618
+ );
1619
+
1620
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:first-child"] = array(
1621
+ "margin-left" => 0
1622
+ );
1623
+
1624
+ $selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper:last-child"] = array(
1625
+ "margin-right" => 0
1626
+ );
1627
+
1628
+ $selectors[" .uagb-ss__wrapper"] = array(
1629
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' )
1630
+ );
1631
+
1632
+ $selectors[" .uagb-ss__source-wrap"] = array(
1633
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1634
+ );
1635
+
1636
+ $selectors[" .uagb-ss__source-wrap svg"] = array(
1637
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1638
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1639
+ );
1640
+
1641
+ $selectors[" .uagb-ss__source-image"] = array(
1642
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1643
+ );
1644
+
1645
+ $selectors[" .uagb-ss__source-icon"] = array(
1646
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1647
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1648
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1649
+ "line-height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1650
+ );
1651
+
1652
+
1653
+ $t_selectors[" .uagb-ss__source-wrap"] = array(
1654
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1655
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1656
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1657
+ );
1658
+
1659
+ $t_selectors[" .uagb-ss__source-wrap svg"] = array(
1660
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1661
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1662
+ );
1663
+
1664
+ $t_selectors[" .uagb-ss__source-image"] = array(
1665
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1666
+ );
1667
+
1668
+ $t_selectors[" .uagb-ss__source-icon"] = array(
1669
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1670
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1671
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1672
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1673
+ );
1674
+ $t_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1675
+ "margin-left" => 0,
1676
+ "margin-right" => 0
1677
+ );
1678
+
1679
+
1680
+ $m_selectors[" .uagb-ss__source-wrap"] = array(
1681
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1682
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1683
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1684
+ );
1685
+
1686
+ $m_selectors[" .uagb-ss__source-wrap svg"] = array(
1687
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1688
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1689
+ );
1690
+
1691
+ $m_selectors[" .uagb-ss__source-image"] = array(
1692
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1693
+ );
1694
+
1695
+ $m_selectors[" .uagb-ss__source-icon"] = array(
1696
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1697
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1698
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1699
+ "line-height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1700
+ );
1701
+ $m_selectors[".uagb-social-share__layout-horizontal .uagb-ss__wrapper"] = array(
1702
+ "margin-left" => 0,
1703
+ "margin-right" => 0
1704
+ );
1705
+
1706
+
1707
+ foreach ( $attr['socials'] as $key => $social ) {
1708
+
1709
+ $social['icon_color'] = ( isset( $social['icon_color'] ) ) ? $social['icon_color'] : '';
1710
+ $social['icon_bg_color'] = ( isset( $social['icon_bg_color'] ) ) ? $social['icon_bg_color'] : '';
1711
+ $social['icon_hover_color'] = ( isset( $social['icon_hover_color'] ) ) ? $social['icon_hover_color'] : '';
1712
+ $social['icon_bg_hover_color'] = ( isset( $social['icon_bg_hover_color'] ) ) ? $social['icon_bg_hover_color'] : '';
1713
+
1714
+ if ( $attr['social_count'] <= $key ) {
1715
+ break;
1716
+ }
1717
+
1718
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1719
+ "color" => $social['icon_color'],
1720
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], $attr['bgSizeType'] )
1721
+ );
1722
+
1723
+ $m_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1724
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeMobile'], $attr['bgSizeType'] )
1725
+ );
1726
+
1727
+ $t_selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link"] = array (
1728
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSizeTablet'], $attr['bgSizeType'] )
1729
+ );
1730
+
1731
+ $selectors[" .uagb-ss-repeater-" . $key . " a.uagb-ss__link svg"] = array (
1732
+ "fill" => $social['icon_color'],
1733
+ );
1734
+
1735
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link"] = array (
1736
+ "color" => $social['icon_hover_color']
1737
+ );
1738
+
1739
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover a.uagb-ss__link svg"] = array (
1740
+ "fill" => $social['icon_hover_color']
1741
+ );
1742
+
1743
+ $selectors[" .uagb-ss-repeater-" . $key] = array (
1744
+ "background" => $social['icon_bg_color']
1745
+ );
1746
+
1747
+ $selectors[" .uagb-ss-repeater-" . $key . ":hover"] = array (
1748
+ "background" => $social['icon_bg_hover_color']
1749
+ );
1750
+ }
1751
+
1752
+ $selectors[" .uagb-social-share__wrap"] = array(
1753
+ "justify-content" => $alignment,
1754
+ "-webkit-box-pack" => $alignment,
1755
+ "-ms-flex-pack" => $alignment,
1756
+ "justify-content" => $alignment,
1757
+ "-webkit-box-align" => $alignment,
1758
+ "-ms-flex-align" => $alignment,
1759
+ "align-items" => $alignment,
1760
+ );
1761
+
1762
+ if ( 'horizontal' == $attr['social_layout'] ) {
1763
+
1764
+ if ( "desktop" == $attr['stack'] ) {
1765
+
1766
+ $selectors[" .uagb-ss__wrapper"] = array (
1767
+ "margin-left" => 0,
1768
+ "margin-right" => 0,
1769
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1770
+ );
1771
+
1772
+ $selectors[" .uagb-social-share__wrap"] = array (
1773
+ "flex-direction" => "column"
1774
+ );
1775
+
1776
+ $selectors[" .uagb-ss__wrapper:last-child"] = array (
1777
+ "margin-bottom" => 0
1778
+ );
1779
+
1780
+ } else if ( "tablet" == $attr['stack'] ) {
1781
+
1782
+ $t_selectors[" .uagb-ss__wrapper"] = array (
1783
+ "margin-left" => 0,
1784
+ "margin-right" => 0,
1785
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1786
+ );
1787
+
1788
+ $t_selectors[" .uagb-social-share__wrap"] = array (
1789
+ "flex-direction" => "column"
1790
+ );
1791
+
1792
+ $t_selectors[" .uagb-ss__wrapper:last-child"] = array (
1793
+ "margin-bottom" => 0
1794
+ );
1795
+
1796
+ } else if ( "mobile" == $attr['stack'] ) {
1797
+
1798
+ $m_selectors[" .uagb-ss__wrapper"] = array (
1799
+ "margin-left" => 0,
1800
+ "margin-right" => 0,
1801
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1802
+ );
1803
+
1804
+ $m_selectors[" .uagb-social-share__wrap"] = array (
1805
+ "flex-direction" => "column"
1806
+ );
1807
+
1808
+ $m_selectors[" .uagb-ss__wrapper:last-child"] = array (
1809
+ "margin-bottom" => 0
1810
+ );
1811
+ }
1812
+ }
1813
+
1814
+ // @codingStandardsIgnoreEnd
1815
+
1816
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-social-share-' . $id );
1817
+
1818
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-social-share-' . $id );
1819
+
1820
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-social-share-' . $id );
1821
+
1822
+ $generated_css = array(
1823
+ 'desktop' => $desktop,
1824
+ 'tablet' => $tablet,
1825
+ 'mobile' => $mobile,
1826
+ );
1827
+
1828
+ return $generated_css;
1829
+ }
1830
+
1831
+ /**
1832
+ * Get Icon List Block CSS
1833
+ *
1834
+ * @since 0.0.1
1835
+ * @param array $attr The block attributes.
1836
+ * @param string $id The selector ID.
1837
+ * @return array The Widget List.
1838
+ */
1839
+ public static function get_icon_list_css( $attr, $id ) { // @codingStandardsIgnoreStart
1840
+
1841
+ $defaults = UAGB_Helper::$block_list['uagb/icon-list']['attributes'];
1842
+
1843
+ $attr = array_merge( $defaults, (array) $attr );
1844
+
1845
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
1846
+
1847
+ $m_selectors = array();
1848
+ $t_selectors = array();
1849
+
1850
+ $selectors = array(
1851
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper" => array(
1852
+ "margin-left" => 0,
1853
+ "margin-right" => 0,
1854
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
1855
+ ),
1856
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrap" => array(
1857
+ "flex-direction" => "column"
1858
+ ),
1859
+ ".uagb-icon-list__layout-vertical .uagb-icon-list__wrapper:last-child" => array(
1860
+ "margin-bottom" => 0
1861
+ ),
1862
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper" => array(
1863
+ "margin-left" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' ),
1864
+ "margin-right" => UAGB_Helper::get_css_value( ( $attr['gap']/2 ), 'px' )
1865
+ ),
1866
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:first-child" => array(
1867
+ "margin-left" => 0
1868
+ ),
1869
+ ".uagb-icon-list__layout-horizontal .uagb-icon-list__wrapper:last-child" => array(
1870
+ "margin-right" => 0
1871
+ ),
1872
+ // Desktop Icon Size CSS starts.
1873
+ " .uagb-icon-list__source-image" => array(
1874
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1875
+ ),
1876
+ " .uagb-icon-list__source-icon" => array(
1877
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1878
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1879
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1880
+ ),
1881
+ " .uagb-icon-list__source-icon svg" => array(
1882
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1883
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1884
+ ),
1885
+ " .uagb-icon-list__source-icon:before"=> array(
1886
+ "width" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1887
+ "height" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] ),
1888
+ "font-size" => UAGB_Helper::get_css_value( $attr['size'], $attr['sizeType'] )
1889
+ ),
1890
+ " .uagb-icon-list__label-wrap"=> array(
1891
+ "text-align" => $attr['align']
1892
+ ),
1893
+
1894
+ " .uagb-icon-list__source-wrap"=> array(
1895
+ "padding" => UAGB_Helper::get_css_value( $attr['bgSize'], 'px' ),
1896
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
1897
+ "border-style" => ( $attr['border'] > 0 ) ? 'solid' : '',
1898
+ "border-width" => UAGB_Helper::get_css_value( $attr['border'], 'px' )
1899
+ ),
1900
+ " .uagb-icon-list__wrap"=> array(
1901
+ "justify-content" => $alignment,
1902
+ "-webkit-box-pack" => $alignment,
1903
+ "-ms-flex-pack" => $alignment,
1904
+ "justify-content" => $alignment,
1905
+ "-webkit-box-align" => $alignment,
1906
+ "-ms-flex-align" => $alignment,
1907
+ "align-items" => $alignment,
1908
+ )
1909
+ );
1910
+
1911
+ if ( 'right' == $attr['align'] ) {
1912
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1913
+ "margin-left" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1914
+ );
1915
+ $selectors[" .uagb-icon-list__content-wrap"] = array(
1916
+ "flex-direction" => "row-reverse"
1917
+ );
1918
+ } else {
1919
+ $selectors[":not(.uagb-icon-list__no-label) .uagb-icon-list__source-wrap"] = array(
1920
+ "margin-right" => UAGB_Helper::get_css_value( $attr['inner_gap'], 'px' )
1921
+ );
1922
+ }
1923
+ // Desktop Icon Size CSS ends.
1924
+
1925
+ // Mobile Icon Size CSS starts.
1926
+ $m_selectors = array(
1927
+ " .uagb-icon-list__source-image" => array(
1928
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1929
+ ),
1930
+ " .uagb-icon-list__source-icon" => array(
1931
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1932
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1933
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1934
+ ),
1935
+ " .uagb-icon-list__source-icon svg" => array(
1936
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1937
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1938
+ ),
1939
+ " .uagb-icon-list__source-icon:before" => array(
1940
+ "width" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1941
+ "height" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] ),
1942
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeMobile'], $attr['sizeType'] )
1943
+ ),
1944
+ );
1945
+ // Mobile Icon Size CSS ends.
1946
+
1947
+ // Tablet Icon Size CSS starts.
1948
+ $t_selectors = array(
1949
+ " .uagb-icon-list__source-image" => array(
1950
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1951
+ ),
1952
+ " .uagb-icon-list__source-icon" => array(
1953
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1954
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1955
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1956
+ ),
1957
+ " .uagb-icon-list__source-icon svg" => array(
1958
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1959
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1960
+ ),
1961
+ " .uagb-icon-list__source-icon:before" => array(
1962
+ "width" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1963
+ "height" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] ),
1964
+ "font-size" => UAGB_Helper::get_css_value( $attr['sizeTablet'], $attr['sizeType'] )
1965
+ ),
1966
+ );
1967
+ // Tablet Icon Size CSS ends.
1968
+
1969
+ foreach ( $attr['icons'] as $key => $icon ) {
1970
+
1971
+ $icon['icon_color'] = ( isset( $icon['icon_color'] ) ) ? $icon['icon_color'] : '';
1972
+ $icon['icon_hover_color'] = ( isset( $icon['icon_hover_color'] ) ) ? $icon['icon_hover_color'] : '';
1973
+ $icon['icon_bg_color'] = ( isset( $icon['icon_bg_color'] ) ) ? $icon['icon_bg_color'] : '';
1974
+ $icon['icon_bg_hover_color'] = ( isset( $icon['icon_bg_hover_color'] ) ) ? $icon['icon_bg_hover_color'] : '';
1975
+ $icon['icon_border_color'] = ( isset( $icon['icon_border_color'] ) ) ? $icon['icon_border_color'] : '';
1976
+ $icon['icon_border_hover_color'] = ( isset( $icon['icon_border_hover_color'] ) ) ? $icon['icon_border_hover_color'] : '';
1977
+ $icon['label_color'] = ( isset( $icon['label_color'] ) ) ? $icon['label_color'] : '';
1978
+ $icon['label_hover_color'] = ( isset( $icon['label_hover_color'] ) ) ? $icon['label_hover_color'] : '';
1979
+
1980
+ if ( $attr['icon_count'] <= $key ) {
1981
+ break;
1982
+ }
1983
+
1984
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon"] = array (
1985
+ "color" => $icon['icon_color']
1986
+ );
1987
+
1988
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-icon svg"] = array (
1989
+ "fill" => $icon['icon_color']
1990
+ );
1991
+
1992
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon"] = array (
1993
+ "color" => $icon['icon_hover_color']
1994
+ );
1995
+
1996
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-icon svg"] = array (
1997
+ "fill" => $icon['icon_hover_color']
1998
+ );
1999
+
2000
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2001
+ "color" => $icon['label_color'],
2002
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSize'], $attr['fontSizeType'] ),
2003
+ 'font-family' => $attr['fontFamily'],
2004
+ 'font-weight' => $attr['fontWeight'],
2005
+ 'line-height' => $attr['lineHeight'] . $attr['lineHeightType'],
2006
+ );
2007
+
2008
+ $m_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2009
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
2010
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
2011
+ );
2012
+
2013
+ $t_selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__label"] = array (
2014
+ "font-size" => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
2015
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
2016
+ );
2017
+
2018
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__label"] = array (
2019
+ "color" => $icon['label_hover_color']
2020
+ );
2021
+
2022
+ $selectors[" .uagb-icon-list-repeater-" . $key . " .uagb-icon-list__source-wrap"] = array(
2023
+ "background" => $icon['icon_bg_color'],
2024
+ "border-color" => $icon['icon_border_color'],
2025
+ );
2026
+
2027
+ $selectors[" .uagb-icon-list-repeater-" . $key . ":hover .uagb-icon-list__source-wrap"] = array(
2028
+ "background" => $icon['icon_bg_hover_color'],
2029
+ "border-color" => $icon['icon_border_hover_color']
2030
+ );
2031
+ }
2032
+
2033
+ if ( 'horizontal' == $attr['icon_layout'] ) {
2034
+
2035
+ if ( "tablet" == $attr['stack'] ) {
2036
+
2037
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2038
+ "margin-left" => 0,
2039
+ "margin-right" => 0,
2040
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2041
+ );
2042
+
2043
+ $t_selectors[" .uagb-icon-list__wrap"] = array (
2044
+ "flex-direction" => "column"
2045
+ );
2046
+
2047
+ $t_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2048
+ "margin-bottom" => 0
2049
+ );
2050
+
2051
+ } else if ( "mobile" == $attr['stack'] ) {
2052
+
2053
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper"] = array (
2054
+ "margin-left" => 0,
2055
+ "margin-right" => 0,
2056
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['gap'], 'px' )
2057
+ );
2058
+
2059
+ $m_selectors[" .uagb-icon-list__wrap"] = array (
2060
+ "flex-direction" => "column"
2061
+ );
2062
+
2063
+ $m_selectors[" .uagb-icon-list__wrap .uagb-icon-list__wrapper:last-child"] = array (
2064
+ "margin-bottom" => 0
2065
+ );
2066
+ }
2067
+ }
2068
+
2069
+ // @codingStandardsIgnoreEnd
2070
+
2071
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-icon-list-' . $id );
2072
+
2073
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-icon-list-' . $id );
2074
+
2075
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-icon-list-' . $id );
2076
+
2077
+ $generated_css = array(
2078
+ 'desktop' => $desktop,
2079
+ 'tablet' => $tablet,
2080
+ 'mobile' => $mobile,
2081
+ );
2082
+
2083
+ return $generated_css;
2084
+ }
2085
+
2086
+ /**
2087
+ * Get Content Timeline Block CSS
2088
+ *
2089
+ * @since 0.0.1
2090
+ * @param array $attr The block attributes.
2091
+ * @param string $id The selector ID.
2092
+ * @return array The Widget List.
2093
+ */
2094
+ public static function get_content_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2095
+
2096
+ $defaults = UAGB_Helper::$block_list['uagb/content-timeline']['attributes'];
2097
+
2098
+ $attr = array_merge( $defaults, (array) $attr );
2099
+
2100
+ $selectors = array();
2101
+ $t_selectors = array();
2102
+ $m_selectors = array();
2103
+
2104
+ $selectors = array(
2105
+ " .uagb-timeline__heading" => array(
2106
+ "text-align" => $attr['align'],
2107
+ "color" => $attr['headingColor'],
2108
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2109
+ 'font-family' => $attr['headFontFamily'],
2110
+ 'font-weight' => $attr['headFontWeight'],
2111
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2112
+ ),
2113
+ " .uagb-timeline__heading-text" => array(
2114
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2115
+ ),
2116
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
2117
+ 'color'=> $attr['iconFocus'],
2118
+ ),
2119
+ );
2120
+
2121
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2122
+ $selectors = array_merge( $selectors, $desktop_selectors );
2123
+
2124
+ $t_selectors = array(
2125
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2126
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2127
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2128
+ ),
2129
+ " .uagb-timeline__date-new" => array(
2130
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
2131
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
2132
+ ),
2133
+ " .uagb-timeline__heading" => array(
2134
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2135
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2136
+ ),
2137
+ " .uagb-timeline-desc-content" => array(
2138
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
2139
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
2140
+ ),
2141
+ );
2142
+
2143
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2144
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2145
+
2146
+ $m_selectors = array(
2147
+ " .uagb-timeline__date-hide.uagb-timeline__date-inner" => array(
2148
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2149
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2150
+ ),
2151
+ " .uagb-timeline__date-new" => array(
2152
+ "font-size" => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
2153
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
2154
+ ),
2155
+ " .uagb-timeline__heading" => array(
2156
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2157
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2158
+ ),
2159
+ " .uagb-timeline-desc-content" => array(
2160
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
2161
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
2162
+ ),
2163
+ );
2164
+
2165
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2166
+
2167
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2168
+
2169
+ // @codingStandardsIgnoreEnd
2170
+
2171
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2172
+
2173
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2174
+
2175
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2176
+
2177
+ $generated_css = array(
2178
+ 'desktop' => $desktop,
2179
+ 'tablet' => $tablet,
2180
+ 'mobile' => $mobile,
2181
+ );
2182
+
2183
+ return $generated_css;
2184
+ }
2185
+
2186
+ /**
2187
+ * Get Content Timeline Block CSS
2188
+ *
2189
+ * @since 0.0.1
2190
+ * @param array $attr The block attributes.
2191
+ * @param string $id The selector ID.
2192
+ * @return array The Widget List.
2193
+ */
2194
+ public static function get_post_timeline_css( $attr, $id ) { // @codingStandardsIgnoreStart
2195
+
2196
+ $defaults = UAGB_Helper::$block_list['uagb/post-timeline']['attributes'];
2197
+
2198
+ $attr = array_merge( $defaults, (array) $attr );
2199
+ $t_selectors = array();
2200
+
2201
+ $selectors = array(
2202
+ " .uagb-timeline__heading" => array(
2203
+ "text-align" => $attr['align'],
2204
+ ),
2205
+ " .uagb-timeline__author" => array(
2206
+ "text-align" => $attr['align'],
2207
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['authorSpace'], 'px' )
2208
+ ),
2209
+ " .uagb-timeline__link_parent" => array(
2210
+ "text-align" => $attr['align'],
2211
+ ),
2212
+ " .uagb-timeline__image a" => array(
2213
+ "text-align" => $attr['align'],
2214
+ ),
2215
+ " .uagb-timeline__author-link" => array(
2216
+ "color" => $attr['authorColor'],
2217
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2218
+ 'font-family' => $attr['authorFontFamily'],
2219
+ 'font-weight' => $attr['authorFontWeight'],
2220
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2221
+ ),
2222
+ " .dashicons-admin-users" => array(
2223
+ "color" => $attr['authorColor'],
2224
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2225
+ 'font-weight' => $attr['authorFontWeight'],
2226
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2227
+ ),
2228
+ " .uagb-timeline__link" => array(
2229
+ "color" => $attr['ctaColor'],
2230
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2231
+ 'font-family' => $attr['ctaFontFamily'],
2232
+ 'font-weight' => $attr['ctaFontWeight'],
2233
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2234
+ "background-color" => $attr['ctaBackground'],
2235
+ ),
2236
+ " .uagb-timeline__heading a" => array(
2237
+ "text-align" => $attr['align'],
2238
+ "color" => $attr['headingColor'],
2239
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSize'], $attr['headFontSizeType'] ),
2240
+ 'font-family' => $attr['headFontFamily'],
2241
+ 'font-weight' => $attr['headFontWeight'],
2242
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeight'], $attr['headLineHeightType'] ),
2243
+ ),
2244
+ " .uagb-timeline__heading-text" => array(
2245
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
2246
+ ),
2247
+ " .uagb_timeline__cta-enable .uagb-timeline-desc-content" => array(
2248
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['contentSpace'], 'px' ),
2249
+ ),
2250
+ ' .uagb-content' => array(
2251
+ 'padding'=> UAGB_Helper::get_css_value( $attr['contentPadding'], 'px' ),
2252
+ ),
2253
+ );
2254
+
2255
+
2256
+
2257
+ $desktop_selectors = self::get_timeline_selectors( $attr );
2258
+ $selectors = array_merge( $selectors, $desktop_selectors );
2259
+
2260
+ $t_selectors = array(
2261
+ " .uagb-timeline__author-link" => array(
2262
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2263
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2264
+ ),
2265
+ " .dashicons-admin-users" => array(
2266
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
2267
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
2268
+ ),
2269
+ " .uagb-timeline__link" => array(
2270
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2271
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2272
+ ),
2273
+ " .uagb-timeline__heading a" => array(
2274
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeTablet'], $attr['headFontSizeType'] ),
2275
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightTablet'], $attr['headLineHeightType'] ),
2276
+ ),
2277
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2278
+ "text-align" => 'left',
2279
+ ),
2280
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2281
+ "text-align" => 'left',
2282
+ ),
2283
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__image a" => array(
2284
+ 'text-align' => 'left',
2285
+ ),
2286
+ );
2287
+
2288
+ $tablet_selectors = self::get_timeline_tablet_selectors( $attr );
2289
+ $t_selectors = array_merge( $t_selectors, $tablet_selectors );
2290
+
2291
+ // Mobile responsive CSS.
2292
+ $m_selectors = array(
2293
+ " .uagb-timeline__author-link" => array(
2294
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2295
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2296
+ ),
2297
+ " .dashicons-admin-users" => array(
2298
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
2299
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
2300
+ ),
2301
+ " .uagb-timeline__link" => array(
2302
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2303
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2304
+ ),
2305
+ " .uagb-timeline__heading a" => array(
2306
+ "font-size" => UAGB_Helper::get_css_value( $attr['headFontSizeMobile'], $attr['headFontSizeType'] ),
2307
+ 'line-height' => UAGB_Helper::get_css_value( $attr['headLineHeightMobile'], $attr['headLineHeightType'] ),
2308
+ ),
2309
+ " .uagb-timeline__heading" => array(
2310
+ "text-align" => $attr['align'],
2311
+ ),
2312
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__author" => array(
2313
+ "text-align" => 'left',
2314
+ ),
2315
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__link_parent" => array(
2316
+ "text-align" => 'left',
2317
+ ),
2318
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__image a" => array(
2319
+ 'text-align' => 'left',
2320
+ ),
2321
+ );
2322
+
2323
+ $mobile_selectors = self::get_timeline_mobile_selectors( $attr );
2324
+ $m_selectors = array_merge( $m_selectors, $mobile_selectors );
2325
+
2326
+ // @codingStandardsIgnoreEnd
2327
+
2328
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-ctm-' . $id );
2329
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-ctm-' . $id );
2330
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-ctm-' . $id );
2331
+
2332
+ $generated_css = array(
2333
+ 'desktop' => $desktop,
2334
+ 'tablet' => $tablet,
2335
+ 'mobile' => $mobile,
2336
+ );
2337
+
2338
+ return $generated_css;
2339
+ }
2340
+
2341
+ /**
2342
+ * Get Restaurant Menu Block CSS
2343
+ *
2344
+ * @since 1.0.2
2345
+ * @param array $attr The block attributes.
2346
+ * @param string $id The selector ID.
2347
+ * @return array The Widget List.
2348
+ */
2349
+ public static function get_restaurant_menu_css( $attr, $id ) { // @codingStandardsIgnoreStart
2350
+
2351
+ $defaults = UAGB_Helper::$block_list['uagb/restaurant-menu']['attributes'];
2352
+
2353
+ $attr = array_merge( $defaults, (array) $attr );
2354
+
2355
+ $m_selectors = array();
2356
+ $t_selectors = array();
2357
+
2358
+ $align = $attr['headingAlign'];
2359
+ if( 'left' === $align ){
2360
+ $align = 'flex-start';
2361
+ }else if( 'right' === $align ){
2362
+ $align = 'flex-end';
2363
+ }
2364
+
2365
+ $selectors = array(
2366
+ " .uagb-rest_menu__wrap" => array(
2367
+ 'padding-left' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2368
+ 'padding-right' => UAGB_Helper::get_css_value( ( $attr['columnGap']/2 ), 'px' ),
2369
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['rowGap'], 'px' )
2370
+ ),
2371
+ " .uagb-rest_menu__wrap .uagb-rm__image-content" => array(
2372
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2373
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['imgHrPadding'],'px' ),
2374
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2375
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['imgVrPadding'],'px' ),
2376
+ ),
2377
+ " .uagb-rm__image img" => array(
2378
+ 'width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2379
+ 'max-width'=> UAGB_Helper::get_css_value( $attr['imageWidth'], 'px' ),
2380
+ ),
2381
+ " .uagb-rm__separator-parent" => array(
2382
+ 'justify-content' => $align,
2383
+ ),
2384
+ " .uagb-rm__content" => array(
2385
+ 'text-align' => $attr['headingAlign'] ,
2386
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2387
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['contentHrPadding'], 'px' ),
2388
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2389
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['contentVrPadding'], 'px' ),
2390
+ ),
2391
+ " .uagb-rm__title" => array(
2392
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2393
+ 'color' => $attr['titleColor'] ,
2394
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['titleSpace'], 'px' ),
2395
+ 'font-family' => $attr['titleFontFamily'],
2396
+ 'font-weight' => $attr['titleFontWeight'],
2397
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2398
+ ),
2399
+ " .uagb-rm__price" => array(
2400
+ 'font-size' => UAGB_Helper::get_css_value( $attr['priceFontSize'], $attr['priceFontSizeType'] ),
2401
+ 'font-family' => $attr['priceFontFamily'],
2402
+ 'font-weight' => $attr['priceFontWeight'],
2403
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeight'], $attr['priceLineHeightType'] ),
2404
+ 'color' => $attr['priceColor'],
2405
+ ),
2406
+ " .uagb-rm__desc" => array(
2407
+ 'font-size' => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2408
+ 'font-family' => $attr['descFontFamily'],
2409
+ 'font-weight' => $attr['descFontWeight'],
2410
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2411
+ 'color'=> $attr['descColor'],
2412
+ 'margin-bottom'=> UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2413
+ ),
2414
+ );
2415
+
2416
+ if ( $attr["seperatorStyle"] != "none" ) {
2417
+ $selectors[" .uagb-rest_menu__wrap .uagb-rm__separator"] = array(
2418
+ 'border-top-color'=> $attr['seperatorColor'],
2419
+ 'border-top-style'=> $attr['seperatorStyle'],
2420
+ 'border-top-width'=> UAGB_Helper::get_css_value( $attr['seperatorThickness'], 'px' ),
2421
+ 'width'=> UAGB_Helper::get_css_value( $attr['seperatorWidth'], '%' ),
2422
+ );
2423
+ }
2424
+
2425
+ $selectors[' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)'] = array(
2426
+ 'margin-left'=> '0',
2427
+ 'clear'=> 'left',
2428
+ );
2429
+
2430
+ $t_selectors = array(
2431
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2432
+ 'margin-left'=> 'unset',
2433
+ 'clear'=> 'unset',
2434
+ ),
2435
+ ' .uagb-rest_menu__wrap.uagb-rm__tablet-column-'.$attr['tcolumns'].':nth-child('.$attr['tcolumns'].'n+1)' => array(
2436
+ 'margin-left'=> '0',
2437
+ 'clear'=> 'left',
2438
+ ),
2439
+ " .uagb-rm__title" => array(
2440
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2441
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2442
+ ),
2443
+ " .uagb-rm__desc" => array(
2444
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
2445
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
2446
+ ),
2447
+ " .uagb-rm__price" => array(
2448
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeTablet'], $attr['priceFontSizeType'] ),
2449
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightTablet'], $attr['priceLineHeightType'] ),
2450
+ )
2451
+ );
2452
+
2453
+ $m_selectors = array(
2454
+ ' .uagb-rest_menu__wrap.uagb-rm__desk-column-'.$attr['columns'].':nth-child('.$attr['columns'].'n+1)' => array(
2455
+ 'margin-left'=> 'unset',
2456
+ 'clear'=> 'unset',
2457
+ ),
2458
+ ' .uagb-rest_menu__wrap.uagb-rm__mobile-column-'.$attr['mcolumns'].':nth-child('.$attr['mcolumns'].'n+1)' => array(
2459
+ 'margin-left'=> '0',
2460
+ 'clear'=> 'left',
2461
+ ),
2462
+ " .uagb-rm__title" => array(
2463
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2464
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2465
+ ),
2466
+ " .uagb-rm__desc" => array(
2467
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
2468
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
2469
+ ),
2470
+ " .uagb-rm__price" => array(
2471
+ "font-size" => UAGB_Helper::get_css_value( $attr['priceFontSizeMobile'], $attr['priceFontSizeType'] ),
2472
+ 'line-height' => UAGB_Helper::get_css_value( $attr['priceLineHeightMobile'], $attr['priceLineHeightType'] ),
2473
+ )
2474
+ );
2475
+
2476
+ // @codingStandardsIgnoreEnd
2477
+
2478
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-rm-' . $id );
2479
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-rm-' . $id );
2480
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-rm-' . $id );
2481
+
2482
+ $generated_css = array(
2483
+ 'desktop' => $desktop,
2484
+ 'tablet' => $tablet,
2485
+ 'mobile' => $mobile,
2486
+ );
2487
+
2488
+ return $generated_css;
2489
+ }
2490
+
2491
+ /**
2492
+ * Get Post Grid Block CSS
2493
+ *
2494
+ * @since 1.4.0
2495
+ * @param array $attr The block attributes.
2496
+ * @param string $id The selector ID.
2497
+ * @return array The Widget List.
2498
+ */
2499
+ public static function get_post_grid_css( $attr, $id ) { // @codingStandardsIgnoreStart
2500
+
2501
+ $defaults = UAGB_Helper::$block_list['uagb/post-grid']['attributes'];
2502
+
2503
+ $attr = array_merge( $defaults, (array) $attr );
2504
+
2505
+ $selectors = self::get_post_selectors( $attr );
2506
+
2507
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2508
+
2509
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2510
+
2511
+ // @codingStandardsIgnoreEnd
2512
+
2513
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__grid-' . $id );
2514
+
2515
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__grid-' . $id );
2516
+
2517
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__grid-' . $id );
2518
+
2519
+ $generated_css = array(
2520
+ 'desktop' => $desktop,
2521
+ 'tablet' => $tablet,
2522
+ 'mobile' => $mobile,
2523
+ );
2524
+
2525
+ return $generated_css;
2526
+ }
2527
+
2528
+ /**
2529
+ * Get Post Carousel Block CSS
2530
+ *
2531
+ * @since 1.4.0
2532
+ * @param array $attr The block attributes.
2533
+ * @param string $id The selector ID.
2534
+ * @return array The Widget List.
2535
+ */
2536
+ public static function get_post_carousel_css( $attr, $id ) { // @codingStandardsIgnoreStart
2537
+
2538
+ $defaults = UAGB_Helper::$block_list['uagb/post-carousel']['attributes'];
2539
+
2540
+ $attr = array_merge( $defaults, (array) $attr );
2541
+
2542
+ $selectors = self::get_post_selectors( $attr );
2543
+
2544
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2545
+
2546
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2547
+
2548
+ $selectors[" .slick-arrow"] = array(
2549
+ "border-color" => $attr['arrowColor']
2550
+ );
2551
+
2552
+ $selectors[" .slick-arrow span"] = array(
2553
+ "color" => $attr['arrowColor'],
2554
+ "font-size" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2555
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2556
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2557
+ );
2558
+
2559
+ $selectors[" .slick-arrow svg"] = array(
2560
+ "fill" => $attr['arrowColor'],
2561
+ "width" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' ),
2562
+ "height" => UAGB_Helper::get_css_value( $attr['arrowSize'], 'px' )
2563
+ );
2564
+
2565
+ $selectors[" .slick-arrow"] = array(
2566
+ "border-color" => $attr['arrowColor'],
2567
+ "border-width" => UAGB_Helper::get_css_value( $attr['arrowBorderSize'], 'px' ),
2568
+ "border-radius" => UAGB_Helper::get_css_value( $attr['arrowBorderRadius'], 'px' )
2569
+ );
2570
+
2571
+ $selectors[".uagb-post-grid ul.slick-dots li.slick-active button:before"] = array(
2572
+ "color" => $attr['arrowColor']
2573
+ );
2574
+
2575
+ $selectors[".uagb-slick-carousel ul.slick-dots li button:before"] = array(
2576
+ "color" => $attr['arrowColor']
2577
+ );
2578
+
2579
+ if ( isset( $attr['arrowDots'] ) && 'dots' == $attr['arrowDots'] ) {
2580
+
2581
+ $selectors[".uagb-slick-carousel"] = array(
2582
+ "padding" => "0 0 35px 0"
2583
+ );
2584
+ }
2585
+
2586
+ // @codingStandardsIgnoreEnd
2587
+
2588
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__carousel-' . $id );
2589
+
2590
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__carousel-' . $id );
2591
+
2592
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__carousel-' . $id );
2593
+
2594
+ $generated_css = array(
2595
+ 'desktop' => $desktop,
2596
+ 'tablet' => $tablet,
2597
+ 'mobile' => $mobile,
2598
+ );
2599
+
2600
+ return $generated_css;
2601
+ }
2602
+
2603
+ /**
2604
+ * Get Post Masonry Block CSS
2605
+ *
2606
+ * @since 1.4.0
2607
+ * @param array $attr The block attributes.
2608
+ * @param string $id The selector ID.
2609
+ * @return array The Widget List.
2610
+ */
2611
+ public static function get_post_masonry_css( $attr, $id ) { // @codingStandardsIgnoreStart
2612
+
2613
+ $defaults = UAGB_Helper::$block_list['uagb/post-masonry']['attributes'];
2614
+
2615
+ $attr = array_merge( $defaults, (array) $attr );
2616
+
2617
+ $selectors = self::get_post_selectors( $attr );
2618
+
2619
+ $m_selectors = self::get_post_mobile_selectors( $attr );
2620
+
2621
+ $t_selectors = self::get_post_tablet_selectors( $attr );
2622
+
2623
+ // @codingStandardsIgnoreEnd
2624
+
2625
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-post__masonry-' . $id );
2626
+
2627
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-post__masonry-' . $id );
2628
+
2629
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-post__masonry-' . $id );
2630
+
2631
+ $generated_css = array(
2632
+ 'desktop' => $desktop,
2633
+ 'tablet' => $tablet,
2634
+ 'mobile' => $mobile,
2635
+ );
2636
+
2637
+ return $generated_css;
2638
+ }
2639
+
2640
+ /**
2641
+ * Get Post Block Selectors CSS
2642
+ *
2643
+ * @param array $attr The block attributes.
2644
+ * @since 1.4.0
2645
+ */
2646
+ public static function get_post_selectors( $attr ) { // @codingStandardsIgnoreStart
2647
+ return array(
2648
+ " .uagb-post__items" => array(
2649
+ "margin-right" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2650
+ "margin-left" => UAGB_Helper::get_css_value( ( -$attr['rowGap']/2 ), 'px' ),
2651
+ ),
2652
+ " .uagb-post__items article" => array(
2653
+ "padding-right" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2654
+ "padding-left" => UAGB_Helper::get_css_value( ( $attr['rowGap']/2 ), 'px' ),
2655
+ "margin-bottom" => UAGB_Helper::get_css_value( ( $attr['columnGap'] ), 'px' )
2656
+ ),
2657
+ " .uagb-post__inner-wrap" => array(
2658
+ "background" => $attr['bgColor']
2659
+ ),
2660
+ " .uagb-post__text" => array(
2661
+ "padding" => UAGB_Helper::get_css_value( ( $attr['contentPadding'] ), 'px' ),
2662
+ "text-align" => $attr['align']
2663
+ ),
2664
+ " .uagb-post__text .uagb-post__title" => array(
2665
+ "color"=> $attr['titleColor'],
2666
+ "font-size"=> UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2667
+ 'font-family' => $attr['titleFontFamily'],
2668
+ 'font-weight' => $attr['titleFontWeight'],
2669
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2670
+ "margin-bottom"=> UAGB_Helper::get_css_value( $attr['titleBottomSpace'], 'px' )
2671
+ ),
2672
+ " .uagb-post__text .uagb-post__title a" => array(
2673
+ "color" => $attr['titleColor'],
2674
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSize'], $attr['titleFontSizeType'] ),
2675
+ 'font-family' => $attr['titleFontFamily'],
2676
+ 'font-weight' => $attr['titleFontWeight'],
2677
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeight'], $attr['titleLineHeightType'] ),
2678
+ ),
2679
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2680
+ "color"=> $attr['metaColor'],
2681
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2682
+ 'font-family' => $attr['metaFontFamily'],
2683
+ 'font-weight' => $attr['metaFontWeight'],
2684
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2685
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['metaBottomSpace'], 'px' )
2686
+ ),
2687
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2688
+ "color" => $attr['metaColor'],
2689
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2690
+ 'font-family' => $attr['metaFontFamily'],
2691
+ 'font-weight' => $attr['metaFontWeight'],
2692
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2693
+ ),
2694
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2695
+ "color" => $attr['metaColor'],
2696
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSize'], $attr['metaFontSizeType'] ),
2697
+ 'font-family' => $attr['metaFontFamily'],
2698
+ 'font-weight' => $attr['metaFontWeight'],
2699
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeight'], $attr['metaLineHeightType'] ),
2700
+ ),
2701
+ " .uagb-post__text .uagb-post__excerpt" => array(
2702
+ "color" => $attr['excerptColor'],
2703
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSize'], $attr['excerptFontSizeType'] ),
2704
+ 'font-family' => $attr['excerptFontFamily'],
2705
+ 'font-weight' => $attr['excerptFontWeight'],
2706
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeight'], $attr['excerptLineHeightType'] ),
2707
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['excerptBottomSpace'], 'px' )
2708
+ ),
2709
+ " .uagb-post__text .uagb-post__cta" => array(
2710
+ "color" => $attr['ctaColor'],
2711
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2712
+ 'font-family' => $attr['ctaFontFamily'],
2713
+ 'font-weight' => $attr['ctaFontWeight'],
2714
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2715
+ "background" => $attr['ctaBgColor'],
2716
+ "border-color" => $attr['borderColor'],
2717
+ "border-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2718
+ "border-radius" => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
2719
+ "border-style" => $attr['borderStyle'],
2720
+ ),
2721
+ " .uagb-post__text .uagb-post__cta a" => array(
2722
+ "color"=> $attr['ctaColor'],
2723
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSize'], $attr['ctaFontSizeType'] ),
2724
+ 'font-family' => $attr['ctaFontFamily'],
2725
+ 'font-weight' => $attr['ctaFontWeight'],
2726
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeight'], $attr['ctaLineHeightType'] ),
2727
+ "padding" => ( $attr['btnVPadding'] ) . "px " . ( $attr['btnHPadding'] ) . "px",
2728
+ ),
2729
+ " .uagb-post__text .uagb-post__cta:hover" => array(
2730
+ "color"=> $attr['ctaHColor'],
2731
+ "background"=> $attr['ctaBgHColor'],
2732
+ "border-color"=> $attr['borderHColor']
2733
+ ),
2734
+ " .uagb-post__text .uagb-post__cta:hover a" => array(
2735
+ "color"=> $attr['ctaHColor']
2736
+ ),
2737
+ " .uagb-post__image:before" => array(
2738
+ "background-color" => $attr['bgOverlayColor'],
2739
+ "opacity" => ( $attr['overlayOpacity'] / 100 )
2740
+ ),
2741
+ );
2742
+ // @codingStandardsIgnoreEnd
2743
+ }
2744
+
2745
+ /**
2746
+ * Get Post Block Selectors CSS for Mobile devices
2747
+ *
2748
+ * @param array $attr The block attributes.
2749
+ * @since 1.6.1
2750
+ */
2751
+ public static function get_post_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
2752
+
2753
+ return array(
2754
+ " .uagb-post__text .uagb-post__title" => array(
2755
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2756
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2757
+ ),
2758
+ " .uagb-post__text .uagb-post__title a" => array(
2759
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
2760
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
2761
+ ),
2762
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2763
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2764
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2765
+ ),
2766
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2767
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2768
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2769
+ ),
2770
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2771
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeMobile'], $attr['metaFontSizeType'] ),
2772
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightMobile'], $attr['metaLineHeightType'] ),
2773
+ ),
2774
+ " .uagb-post__text .uagb-post__excerpt" => array(
2775
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeMobile'], $attr['excerptFontSizeType'] ),
2776
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightMobile'], $attr['excerptLineHeightType'] ),
2777
+ ),
2778
+ " .uagb-post__text .uagb-post__cta" => array(
2779
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2780
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2781
+ ),
2782
+ " .uagb-post__text .uagb-post__cta a" => array(
2783
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeMobile'], $attr['ctaFontSizeType'] ),
2784
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightMobile'], $attr['ctaLineHeightType'] ),
2785
+ ),
2786
+ " .uagb-post__text" => array(
2787
+ "padding" => ( $attr['contentPaddingMobile'] ) . "px",
2788
+ ),
2789
+ );
2790
+ // @codingStandardsIgnoreEnd
2791
+ }
2792
+
2793
+ /**
2794
+ * Get Post Block Selectors CSS for Tablet devices
2795
+ *
2796
+ * @param array $attr The block attributes.
2797
+ * @since 1.8.2
2798
+ */
2799
+ public static function get_post_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
2800
+ return array(
2801
+ " .uagb-post__text .uagb-post__title" => array(
2802
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2803
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2804
+ ),
2805
+ " .uagb-post__text .uagb-post__title a" => array(
2806
+ "font-size" => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
2807
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
2808
+ ),
2809
+ " .uagb-post__text .uagb-post-grid-byline" => array(
2810
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2811
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2812
+ ),
2813
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author" => array(
2814
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2815
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2816
+ ),
2817
+ " .uagb-post__text .uagb-post-grid-byline .uagb-post__author a" => array(
2818
+ "font-size" => UAGB_Helper::get_css_value( $attr['metaFontSizeTablet'], $attr['metaFontSizeType'] ),
2819
+ 'line-height' => UAGB_Helper::get_css_value( $attr['metaLineHeightTablet'], $attr['metaLineHeightType'] ),
2820
+ ),
2821
+ " .uagb-post__text .uagb-post__excerpt" => array(
2822
+ "font-size" => UAGB_Helper::get_css_value( $attr['excerptFontSizeTablet'], $attr['excerptFontSizeType'] ),
2823
+ 'line-height' => UAGB_Helper::get_css_value( $attr['excerptLineHeightTablet'], $attr['excerptLineHeightType'] ),
2824
+ ),
2825
+ " .uagb-post__text .uagb-post__cta" => array(
2826
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2827
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2828
+ ),
2829
+ " .uagb-post__text .uagb-post__cta a" => array(
2830
+ "font-size" => UAGB_Helper::get_css_value( $attr['ctaFontSizeTablet'], $attr['ctaFontSizeType'] ),
2831
+ 'line-height' => UAGB_Helper::get_css_value( $attr['ctaLineHeightTablet'], $attr['ctaLineHeightType'] ),
2832
+ ),
2833
+ );
2834
+ // @codingStandardsIgnoreEnd
2835
+ }
2836
+
2837
+ /**
2838
+ * Get Blockquote CSS
2839
+ *
2840
+ * @since 1.8.2
2841
+ * @param array $attr The block attributes.
2842
+ * @param string $id The selector ID.
2843
+ * @return array The Widget List.
2844
+ */
2845
+ public static function get_blockquote_css( $attr, $id ) {
2846
+ // @codingStandardsIgnoreStart
2847
+
2848
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
2849
+
2850
+ $attr = array_merge( $defaults, (array) $attr );
2851
+
2852
+ $alignment = ( $attr['align'] == 'left' ) ? 'flex-start' : ( ( $attr['align'] == 'right' ) ? 'flex-end' : 'center' );
2853
+
2854
+ $content_align ="center";
2855
+
2856
+ if( 'left' === $attr['align'] ){
2857
+ $content_align =" flex-start";
2858
+ }
2859
+ if( 'right' === $attr['align'] ){
2860
+ $content_align =" flex-end";
2861
+ }
2862
+
2863
+ $author_space = $attr['authorSpace'];
2864
+
2865
+ if( 'center' !== $attr['align'] || $attr['skinStyle'] == "border" ){
2866
+ $author_space = 0;
2867
+ }
2868
+
2869
+ //Set align to left for border style.
2870
+ $text_align = $attr['align'];
2871
+
2872
+ if( 'border' === $attr['skinStyle'] ){
2873
+ $text_align = 'left';
2874
+ }
2875
+
2876
+ $selectors = array(
2877
+ " .uagb-blockquote__content" => array(
2878
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSize'], $attr['descFontSizeType'] ),
2879
+ 'font-family' => $attr['descFontFamily'],
2880
+ 'font-weight' => $attr['descFontWeight'],
2881
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeight'], $attr['descLineHeightType'] ),
2882
+ "color" => $attr['descColor'],
2883
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['descSpace'], 'px' ),
2884
+ "text-align" => $text_align,
2885
+ ),
2886
+ " cite.uagb-blockquote__author" => array(
2887
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSize'], $attr['authorFontSizeType'] ),
2888
+ 'font-family' => $attr['authorFontFamily'],
2889
+ 'font-weight' => $attr['authorFontWeight'],
2890
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeight'], $attr['authorLineHeightType'] ),
2891
+ "color" => $attr['authorColor'],
2892
+ "text-align" => $text_align,
2893
+ ),
2894
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote" => array(
2895
+ "border-color" => $attr['borderColor'],
2896
+ "border-left-style" => $attr['borderStyle'],
2897
+ "border-left-width" => UAGB_Helper::get_css_value( $attr['borderWidth'], 'px' ),
2898
+ "padding-left" => UAGB_Helper::get_css_value( $attr['borderGap'], 'px' ),
2899
+ "padding-top" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2900
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['verticalPadding'], 'px' ),
2901
+ ),
2902
+
2903
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
2904
+ "background" => $attr['quoteBgColor'],
2905
+ "border-radius" => UAGB_Helper::get_css_value( $attr['quoteBorderRadius'],'%' ),
2906
+ "margin-top" => UAGB_Helper::get_css_value( $attr['quoteTopMargin'], 'px' ),
2907
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['quoteBottomMargin'], 'px' ),
2908
+ "margin-left" => UAGB_Helper::get_css_value( $attr['quoteLeftMargin'], 'px' ),
2909
+ "margin-right" => UAGB_Helper::get_css_value( $attr['quoteRightMargin'], 'px' ),
2910
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePadding'], $attr['quotePaddingType'] ),
2911
+ ),
2912
+
2913
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
2914
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2915
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSize'], $attr['quoteSizeType'] ),
2916
+ ),
2917
+
2918
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon svg" => array(
2919
+ "fill" => $attr['quoteColor'],
2920
+ ),
2921
+
2922
+ " .uagb-blockquote__style-style_1 .uagb-blockquote" => array(
2923
+ "text-align" => $attr['align'],
2924
+ ),
2925
+
2926
+ " .uagb-blockquote__author-wrap" => array(
2927
+ "margin-bottom" => UAGB_Helper::get_css_value( $author_space, 'px' ),
2928
+ ),
2929
+ " .uagb-blockquote__author-image img" => array(
2930
+ "width" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2931
+ "height" => UAGB_Helper::get_css_value( $attr['authorImageWidth'], 'px' ),
2932
+ "border-radius" => UAGB_Helper::get_css_value( $attr['authorImgBorderRadius'], '%' )
2933
+ ),
2934
+
2935
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon:hover svg" => array(
2936
+ "fill" => $attr['quoteHoverColor'],
2937
+ ),
2938
+
2939
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap:hover" => array(
2940
+ "background" => $attr['quoteBgHoverColor'],
2941
+ ),
2942
+
2943
+ " .uagb-blockquote__skin-border blockquote.uagb-blockquote:hover" => array(
2944
+ "border-left-color" => $attr['borderHoverColor'],
2945
+ ),
2946
+ );
2947
+
2948
+ if( $attr['enableTweet'] ){
2949
+ $selectors[" a.uagb-blockquote__tweet-button"] = array(
2950
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2951
+ 'font-family' => $attr['tweetBtnFontFamily'],
2952
+ 'font-weight' => $attr['tweetBtnFontWeight'],
2953
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeight'], $attr['tweetBtnLineHeightType'] ),
2954
+ );
2955
+
2956
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button"] = array(
2957
+ "color" => $attr['tweetLinkColor'],
2958
+ );
2959
+
2960
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button svg"] = array(
2961
+ "fill" => $attr['tweetLinkColor'],
2962
+ );
2963
+
2964
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button"] = array(
2965
+ "color" => $attr['tweetBtnColor'],
2966
+ "background-color" => $attr['tweetBtnBgColor'],
2967
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2968
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2969
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2970
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2971
+ );
2972
+
2973
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button svg"] = array(
2974
+ "fill" => $attr['tweetBtnColor'],
2975
+ );
2976
+
2977
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button"] = array(
2978
+ "color" => $attr['tweetBtnColor'],
2979
+ "background-color" => $attr['tweetBtnBgColor'],
2980
+ "padding-left" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2981
+ "padding-right" => UAGB_Helper::get_css_value( $attr['tweetBtnHrPadding'], 'px' ),
2982
+ "padding-top" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2983
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr['tweetBtnVrPadding'], 'px' ),
2984
+ );
2985
+
2986
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button svg"] = array(
2987
+ "fill" => $attr['tweetBtnColor'],
2988
+ );
2989
+
2990
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:before"] = array(
2991
+ "border-right-color" => $attr['tweetBtnBgColor'],
2992
+ );
2993
+
2994
+ $selectors[" a.uagb-blockquote__tweet-button svg"] = array(
2995
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2996
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSize'], $attr['tweetBtnFontSizeType'] ),
2997
+ );
2998
+
2999
+ $selectors[" .uagb-blockquote__tweet-icon_text a.uagb-blockquote__tweet-button svg"] = array(
3000
+ "margin-right" => UAGB_Helper::get_css_value( $attr['tweetIconSpacing'], 'px' ),
3001
+ );
3002
+
3003
+ // Hover CSS.
3004
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover"] = array(
3005
+ "color" => $attr['tweetBtnHoverColor'],
3006
+ );
3007
+
3008
+ $selectors[" .uagb-blockquote__tweet-style-link a.uagb-blockquote__tweet-button:hover svg"] = array(
3009
+ "fill" => $attr['tweetBtnHoverColor'],
3010
+ );
3011
+
3012
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover"] = array(
3013
+ "color" => $attr['tweetBtnHoverColor'],
3014
+ "background-color" => $attr['tweetBtnBgHoverColor'],
3015
+ );
3016
+
3017
+ $selectors[" .uagb-blockquote__tweet-style-classic a.uagb-blockquote__tweet-button:hover svg"] = array(
3018
+ "fill" => $attr['tweetBtnHoverColor'],
3019
+ );
3020
+
3021
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover"] = array(
3022
+ "color" => $attr['tweetBtnHoverColor'],
3023
+ "background-color" => $attr['tweetBtnBgHoverColor'],
3024
+ );
3025
+
3026
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover svg"] = array(
3027
+ "fill" => $attr['tweetBtnHoverColor'],
3028
+ );
3029
+
3030
+ $selectors[" .uagb-blockquote__tweet-style-bubble a.uagb-blockquote__tweet-button:hover:before"] = array(
3031
+ "border-right-color" => $attr['tweetBtnBgHoverColor'],
3032
+ );
3033
+ }
3034
+
3035
+ $t_selectors = array(
3036
+ " .uagb-blockquote__content" => array(
3037
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeTablet'], $attr['descFontSizeType'] ),
3038
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightTablet'], $attr['descLineHeightType'] ),
3039
+ ),
3040
+ " cite.uagb-blockquote__author" =>array(
3041
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeTablet'], $attr['authorFontSizeType'] ),
3042
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightTablet'], $attr['authorLineHeightType'] ),
3043
+ ),
3044
+ " a.uagb-blockquote__tweet-button" => array(
3045
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3046
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightTablet'], $attr['tweetBtnLineHeightType'] ),
3047
+ ),
3048
+ " a.uagb-blockquote__tweet-button svg" => array(
3049
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3050
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeTablet'], $attr['tweetBtnFontSizeType'] ),
3051
+ ),
3052
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3053
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingTablet'], $attr['quotePaddingType'] ),
3054
+ ),
3055
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3056
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3057
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeTablet'], $attr['quoteSizeType'] ),
3058
+ ),
3059
+ );
3060
+
3061
+ $m_selectors = array(
3062
+ " .uagb-blockquote__content" => array(
3063
+ "font-size" => UAGB_Helper::get_css_value( $attr['descFontSizeMobile'], $attr['descFontSizeType'] ),
3064
+ 'line-height' => UAGB_Helper::get_css_value( $attr['descLineHeightMobile'], $attr['descLineHeightType'] ),
3065
+ ),
3066
+ " cite.uagb-blockquote__author" => array(
3067
+ "font-size" => UAGB_Helper::get_css_value( $attr['authorFontSizeMobile'], $attr['authorFontSizeType'] ),
3068
+ 'line-height' => UAGB_Helper::get_css_value( $attr['authorLineHeightMobile'], $attr['authorLineHeightType'] ),
3069
+ ),
3070
+ " a.uagb-blockquote__tweet-button" => array(
3071
+ "font-size" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3072
+ 'line-height' => UAGB_Helper::get_css_value( $attr['tweetBtnLineHeightMobile'], $attr['tweetBtnLineHeightType'] ),
3073
+ ),
3074
+ " a.uagb-blockquote__tweet-button svg" => array(
3075
+ "width" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3076
+ "height" => UAGB_Helper::get_css_value( $attr['tweetBtnFontSizeMobile'], $attr['tweetBtnFontSizeType'] ),
3077
+ ),
3078
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon-wrap" => array(
3079
+ "padding" => UAGB_Helper::get_css_value( $attr['quotePaddingMobile'], $attr['quotePaddingType'] ),
3080
+ ),
3081
+ " .uagb-blockquote__skin-quotation .uagb-blockquote__icon" => array(
3082
+ "width" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3083
+ "height" => UAGB_Helper::get_css_value( $attr['quoteSizeMobile'], $attr['quoteSizeType'] ),
3084
+ ),
3085
+ );
3086
+
3087
+ // @codingStandardsIgnoreEnd
3088
+
3089
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-blockquote-' . $id );
3090
+
3091
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-blockquote-' . $id );
3092
+
3093
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-blockquote-' . $id );
3094
+
3095
+ $generated_css = array(
3096
+ 'desktop' => $desktop,
3097
+ 'tablet' => $tablet,
3098
+ 'mobile' => $mobile,
3099
+ );
3100
+
3101
+ return $generated_css;
3102
+ }
3103
+
3104
+ /**
3105
+ * Get Timeline Block Desktop Selectors CSS
3106
+ *
3107
+ * @param array $attr The block attributes.
3108
+ * @since 1.8.2
3109
+ */
3110
+ public static function get_timeline_selectors( $attr ) { // @codingStandardsIgnoreStart
3111
+ $selectors = array(
3112
+ " .uagb-timeline__heading-text" => array(
3113
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr['headSpace'], 'px' )
3114
+ ),
3115
+ " .uagb-timeline-desc-content" => array(
3116
+ "text-align" => $attr['align'],
3117
+ "color" => $attr['subHeadingColor'],
3118
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSize'], $attr['subHeadFontSizeType'] ),
3119
+ 'font-family' => $attr['subHeadFontFamily'],
3120
+ 'font-weight' => $attr['subHeadFontWeight'],
3121
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeight'], $attr['subHeadLineHeightType'] ),
3122
+ ),
3123
+ ' .uagb-timeline__events-new' => array(
3124
+ 'text-align' => $attr['align']
3125
+ ),
3126
+ ' .uagb-timeline__date-inner' => array(
3127
+ 'text-align' => $attr['align']
3128
+ ),
3129
+ ' .uagb-timeline__center-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3130
+ 'border-left-color' => $attr['backgroundColor']
3131
+ ),
3132
+ ' .uagb-timeline__right-block .uagb-timeline__day-right .uagb-timeline__arrow:after' => array(
3133
+ 'border-left-color' => $attr['backgroundColor']
3134
+ ),
3135
+ ' .uagb-timeline__center-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3136
+ 'border-right-color' => $attr['backgroundColor']
3137
+ ),
3138
+ ' .uagb-timeline__left-block .uagb-timeline__day-left .uagb-timeline__arrow:after' => array(
3139
+ 'border-right-color' => $attr['backgroundColor']
3140
+ ),
3141
+ ' .uagb-timeline__line__inner' => array(
3142
+ 'background-color' => $attr['separatorFillColor']
3143
+ ),
3144
+ ' .uagb-timeline__line' => array(
3145
+ 'background-color' => $attr['separatorColor'],
3146
+ 'width' => UAGB_Helper::get_css_value( $attr['separatorwidth'], 'px' )
3147
+ ),
3148
+ ' .uagb-timeline__right-block .uagb-timeline__line' => array(
3149
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3150
+ ),
3151
+ ' .uagb-timeline__left-block .uagb-timeline__line' => array(
3152
+ 'left' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3153
+ ),
3154
+ ' .uagb-timeline__center-block .uagb-timeline__line' => array(
3155
+ 'right' => 'calc( ' . $attr['connectorBgsize'] . 'px / 2 )',
3156
+ ),
3157
+ ' .uagb-timeline__marker' => array(
3158
+ 'background-color' => $attr['separatorBg'],
3159
+ 'min-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3160
+ 'min-width' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3161
+ 'line-height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3162
+ 'border' => $attr['borderwidth'].'px solid'.$attr['separatorBorder'],
3163
+ ),
3164
+ ' .uagb-timeline__left-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3165
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3166
+ ),
3167
+ ' .uagb-timeline__right-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3168
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3169
+ ),
3170
+ ' .uagb-timeline__center-block .uagb-timeline__left .uagb-timeline__arrow' => array(
3171
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3172
+ ),
3173
+ ' .uagb-timeline__center-block .uagb-timeline__right .uagb-timeline__arrow' => array(
3174
+ 'height' => UAGB_Helper::get_css_value( $attr['connectorBgsize'], 'px' ),
3175
+ ),
3176
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3177
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3178
+ 'margin-right'=> UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3179
+ ),
3180
+ ' .uagb-timeline__field:not(:last-child)' => array(
3181
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['verticalSpace'], 'px' ),
3182
+ ),
3183
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3184
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['dateBottomspace'], 'px' ),
3185
+ 'color' => $attr['dateColor'],
3186
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3187
+ 'font-family' => $attr['dateFontFamily'],
3188
+ 'font-weight' => $attr['dateFontWeight'],
3189
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3190
+ 'text-align' => $attr['align'],
3191
+ ),
3192
+ ' .uagb-timeline__left-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3193
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3194
+ ),
3195
+ ' .uagb-timeline__right-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3196
+ 'margin-right' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3197
+ ),
3198
+ ' .uagb-timeline__date-new' => array(
3199
+ 'color' => $attr['dateColor'],
3200
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsize'], $attr['dateFontsizeType'] ),
3201
+ 'font-family' => $attr['dateFontFamily'],
3202
+ 'font-weight' => $attr['dateFontWeight'],
3203
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeight'], $attr['dateLineHeightType'] ),
3204
+ ),
3205
+ ' .uagb-timeline__events-inner-new' => array(
3206
+ 'background-color' => $attr['backgroundColor'],
3207
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['borderRadius'], 'px' ),
3208
+ 'padding'=> UAGB_Helper::get_css_value( $attr['bgPadding'], 'px' ),
3209
+ ),
3210
+ ' .uagb-timeline__main .uagb-timeline__icon-new' => array(
3211
+ 'color' => $attr['iconColor'],
3212
+ 'font-size' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3213
+ 'width' => UAGB_Helper::get_css_value( $attr['iconSize'], 'px' ),
3214
+ ),
3215
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new svg' => array(
3216
+ 'fill'=> $attr['iconFocus'],
3217
+ ),
3218
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon .uagb-timeline__icon-new' => array(
3219
+ 'color'=> $attr['iconFocus'],
3220
+ ),
3221
+ ' .uagb-timeline__main .uagb-timeline__marker.uagb-timeline__in-view-icon' => array(
3222
+ 'background' => $attr['iconBgFocus'],
3223
+ 'border-color'=> $attr['borderFocus'],
3224
+ ),
3225
+ ' .uagb-timeline__main .uagb-timeline__icon-new svg' => array(
3226
+ 'fill'=> $attr['iconColor'],
3227
+ ),
3228
+ );
3229
+
3230
+ return $selectors;
3231
+ // @codingStandardsIgnoreEnd
3232
+ }
3233
+
3234
+ /**
3235
+ * Get Timeline Block Tablet Selectors CSS.
3236
+ *
3237
+ * @param array $attr The block attributes.
3238
+ * @since 1.8.2
3239
+ */
3240
+ public static function get_timeline_tablet_selectors( $attr ) { // @codingStandardsIgnoreStart
3241
+ $tablet_selector = array(
3242
+ " .uagb-timeline-desc-content" => array(
3243
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeTablet'], $attr['subHeadFontSizeType'] ),
3244
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightTablet'], $attr['subHeadLineHeightType'] ),
3245
+ ),
3246
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3247
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3248
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3249
+ ),
3250
+ ' .uagb-timeline__date-new' => array(
3251
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeTablet'], $attr['dateFontsizeType'] ),
3252
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightTablet'], $attr['dateLineHeightType'] ),
3253
+ ),
3254
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3255
+ 'margin-left' => 0,
3256
+ 'margin-right' => 0,
3257
+ ),
3258
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__heading" => array(
3259
+ "text-align" => 'left',
3260
+ ),
3261
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline-desc-content" => array(
3262
+ "text-align" => 'left',
3263
+ ),
3264
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__events-new' => array(
3265
+ 'text-align' => 'left'
3266
+ ),
3267
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-inner' => array(
3268
+ 'text-align' => 'left'
3269
+ ),
3270
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3271
+ 'text-align'=> 'left',
3272
+ ),
3273
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3274
+ "border-right-color" => $attr['backgroundColor'],
3275
+ ),
3276
+ " .uagb-timeline__center-block.uagb-timeline__responsive-tablet .uagb-timeline__line" => array(
3277
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3278
+ ),
3279
+ );
3280
+
3281
+ return $tablet_selector;
3282
+ // @codingStandardsIgnoreEnd
3283
+ }
3284
+
3285
+ /**
3286
+ * Get Timeline Block Mobile Selectors CSS.
3287
+ *
3288
+ * @param array $attr The block attributes.
3289
+ * @since 1.8.2
3290
+ */
3291
+ public static function get_timeline_mobile_selectors( $attr ) { // @codingStandardsIgnoreStart
3292
+ $m_selectors = array(
3293
+ " .uagb-timeline-desc-content" => array(
3294
+ "font-size" => UAGB_Helper::get_css_value( $attr['subHeadFontSizeMobile'], $attr['subHeadFontSizeType'] ),
3295
+ 'line-height' => UAGB_Helper::get_css_value( $attr['subHeadLineHeightMobile'], $attr['subHeadLineHeightType'] ),
3296
+ ),
3297
+ ' .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3298
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3299
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3300
+ ),
3301
+ ' .uagb-timeline__date-new' => array(
3302
+ 'font-size' => UAGB_Helper::get_css_value( $attr['dateFontsizeMobile'], $attr['dateFontsizeType'] ),
3303
+ 'line-height' => UAGB_Helper::get_css_value( $attr['dateLineHeightMobile'], $attr['dateLineHeightType'] ),
3304
+ ),
3305
+ ' .uagb-timeline__center-block .uagb-timeline__marker' => array(
3306
+ 'margin-left' => 0,
3307
+ 'margin-right' => 0,
3308
+ ),
3309
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-left' => array(
3310
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3311
+ ),
3312
+ ' .uagb-timeline__center-block .uagb-timeline__day-new.uagb-timeline__day-right' => array(
3313
+ 'margin-left' => UAGB_Helper::get_css_value( $attr['horizontalSpace'], 'px' ),
3314
+ ),
3315
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__heading" => array(
3316
+ "text-align" => 'left',
3317
+ ),
3318
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline-desc-content" => array(
3319
+ "text-align" => 'left',
3320
+ ),
3321
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__events-new' => array(
3322
+ 'text-align' => 'left'
3323
+ ),
3324
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-inner' => array(
3325
+ 'text-align' => 'left'
3326
+ ),
3327
+ ' .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__date-hide.uagb-timeline__date-inner' => array(
3328
+ 'text-align'=> 'left',
3329
+ ),
3330
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__day-right .uagb-timeline__arrow:after" => array(
3331
+ "border-right-color" => $attr['backgroundColor'],
3332
+ ),
3333
+ " .uagb-timeline__center-block.uagb-timeline__responsive-mobile .uagb-timeline__line" => array(
3334
+ 'left' => 'calc( '.$attr['connectorBgsize'].'px / 2 )',
3335
+ ),
3336
+ );
3337
+ return $m_selectors;
3338
+ // @codingStandardsIgnoreEnd
3339
+ }
3340
+
3341
+ /**
3342
+ * Get Contact Form 7 CSS
3343
+ *
3344
+ * @param array $attr The block attributes.
3345
+ * @param string $id The selector ID.
3346
+ * @since 1.10.0
3347
+ */
3348
+ public static function get_cf7_styler_css( $attr, $id ) {
3349
+ $defaults = UAGB_Helper::$block_list['uagb/cf7-styler']['attributes'];
3350
+
3351
+ $attr = array_merge( $defaults, (array) $attr );
3352
+
3353
+ $selectors = array(
3354
+ ' .wpcf7 .wpcf7-form' => array(
3355
+ 'text-align' => $attr['align'],
3356
+ ),
3357
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3358
+ 'color' => $attr['fieldLabelColor'],
3359
+ ),
3360
+ ' .wpcf7 input:not([type=submit])' => array(
3361
+ 'background-color' => $attr['fieldBgColor'],
3362
+ 'color' => $attr['fieldInputColor'],
3363
+ 'border-style' => $attr['fieldBorderStyle'],
3364
+ 'border-color' => $attr['fieldBorderColor'],
3365
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3366
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3367
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3368
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3369
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3370
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3371
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3372
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3373
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3374
+ 'font-family' => $attr['inputFontFamily'],
3375
+ 'font-weight' => $attr['inputFontWeight'],
3376
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3377
+ 'text-align' => $attr['align'],
3378
+ ),
3379
+ ' .wpcf7 select' => array(
3380
+ 'background-color' => $attr['fieldBgColor'],
3381
+ 'color' => $attr['fieldLabelColor'],
3382
+ 'border-style' => $attr['fieldBorderStyle'],
3383
+ 'border-color' => $attr['fieldBorderColor'],
3384
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3385
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3386
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3387
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3388
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3389
+ 'font-family' => $attr['inputFontFamily'],
3390
+ 'font-weight' => $attr['inputFontWeight'],
3391
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3392
+ 'text-align' => $attr['align'],
3393
+ ),
3394
+ ' .wpcf7 select.wpcf7-form-control.wpcf7-select:not([multiple="multiple"])' => array(
3395
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3396
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3397
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3398
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3399
+ ),
3400
+ ' .wpcf7 select.wpcf7-select[multiple="multiple"] option' => array(
3401
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3402
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3403
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3404
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3405
+ ),
3406
+ ' .wpcf7 textarea' => array(
3407
+ 'background-color' => $attr['fieldBgColor'],
3408
+ 'color' => $attr['fieldInputColor'],
3409
+ 'border-color' => $attr['fieldBorderColor'],
3410
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3411
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3412
+ 'border-style' => $attr['fieldBorderStyle'],
3413
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3414
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3415
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3416
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3417
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3418
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3419
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3420
+ 'font-family' => $attr['inputFontFamily'],
3421
+ 'font-weight' => $attr['inputFontWeight'],
3422
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3423
+ 'text-align' => $attr['align'],
3424
+ ),
3425
+ ' .wpcf7 textarea::placeholder' => array(
3426
+ 'color' => $attr['fieldInputColor'],
3427
+ 'text-align' => $attr['align'],
3428
+ ),
3429
+ ' .wpcf7 input::placeholder' => array(
3430
+ 'color' => $attr['fieldInputColor'],
3431
+ 'text-align' => $attr['align'],
3432
+ ),
3433
+ ' .wpcf7 form label' => array(
3434
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3435
+ 'font-family' => $attr['labelFontFamily'],
3436
+ 'font-weight' => $attr['labelFontWeight'],
3437
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3438
+ ),
3439
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3440
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3441
+ 'font-family' => $attr['labelFontFamily'],
3442
+ 'font-weight' => $attr['labelFontWeight'],
3443
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3444
+ ),
3445
+
3446
+ // Focus.
3447
+ ' .wpcf7 form input:not([type=submit]):focus' => array(
3448
+ 'border-color' => $attr['fieldBorderFocusColor'],
3449
+ ),
3450
+ ' .wpcf7 form select:focus' => array(
3451
+ 'border-color' => $attr['fieldBorderFocusColor'],
3452
+ ),
3453
+ ' .wpcf7 textarea:focus' => array(
3454
+ 'border-color' => $attr['fieldBorderFocusColor'],
3455
+ ),
3456
+
3457
+ // Submit button.
3458
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3459
+ 'color' => $attr['buttonTextColor'],
3460
+ 'background-color' => $attr['buttonBgColor'],
3461
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3462
+ 'font-family' => $attr['buttonFontFamily'],
3463
+ 'font-weight' => $attr['buttonFontWeight'],
3464
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3465
+ 'border-color' => $attr['buttonBorderColor'],
3466
+ 'border-style' => $attr['buttonBorderStyle'],
3467
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3468
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3469
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3470
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3471
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3472
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3473
+ ),
3474
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit:hover' => array(
3475
+ 'color' => $attr['buttonTextHoverColor'],
3476
+ 'background-color' => $attr['buttonBgHoverColor'],
3477
+ 'border-color' => $attr['buttonBorderHoverColor'],
3478
+ ),
3479
+
3480
+ // Check box Radio.
3481
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3482
+ 'background-color' => $attr['fieldBgColor'],
3483
+ 'color' => $attr['fieldInputColor'],
3484
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3485
+ 'border-color' => $attr['fieldBorderFocusColor'],
3486
+ ),
3487
+ ' .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3488
+ 'background-color' => $attr['fieldBgColor'],
3489
+ 'color' => $attr['fieldInputColor'],
3490
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3491
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3492
+ 'border-style' => $attr['fieldBorderStyle'],
3493
+ 'border-color' => $attr['fieldBorderColor'],
3494
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3495
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3496
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3497
+ ),
3498
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3499
+ 'background-color' => $attr['fieldBgColor'],
3500
+ 'color' => $attr['fieldInputColor'],
3501
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3502
+ 'border-color' => $attr['fieldBorderFocusColor'],
3503
+ ),
3504
+ ' .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3505
+ 'background-color' => $attr['fieldBgColor'],
3506
+ 'color' => $attr['fieldInputColor'],
3507
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3508
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3509
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3510
+ 'border-color' => $attr['fieldBorderColor'],
3511
+ 'border-style' => $attr['fieldBorderStyle'],
3512
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3513
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3514
+ ),
3515
+ ' .wpcf7 .wpcf7-radio input[type="radio"] + span:before' => array(
3516
+ 'background-color' => $attr['fieldBgColor'],
3517
+ 'color' => $attr['fieldInputColor'],
3518
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3519
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3520
+ 'border-style' => $attr['fieldBorderStyle'],
3521
+ 'border-color' => $attr['fieldBorderColor'],
3522
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3523
+ ),
3524
+ ' .wpcf7 .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3525
+ 'border-color' => $attr['fieldBorderFocusColor'],
3526
+ ),
3527
+
3528
+ // Underline border.
3529
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input:not([type=submit])' => array(
3530
+ 'border-style' => 'none',
3531
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3532
+ 'border-bottom-style' => 'solid',
3533
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3534
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3535
+ ),
3536
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3537
+ 'border-style' => 'none',
3538
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3539
+ 'border-bottom-style' => 'solid',
3540
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3541
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3542
+ ),
3543
+ ' .uagb-cf7-styler__field-style-underline select' => array(
3544
+ 'border-style' => 'none',
3545
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3546
+ 'border-bottom-style' => 'solid',
3547
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3548
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3549
+ ),
3550
+ ' .uagb-cf7-styler__field-style-underline textarea' => array(
3551
+ 'border-style' => 'none',
3552
+ 'border-bottom-color' => $attr['fieldBorderColor'],
3553
+ 'border-bottom-style' => 'solid',
3554
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3555
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3556
+ ),
3557
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3558
+ 'border-style' => 'solid',
3559
+ ),
3560
+ ' .uagb-cf7-styler__field-style-underline .wpcf7 input[type="radio"] + span:before' => array(
3561
+ 'border-style' => 'solid',
3562
+ ),
3563
+ ' .uagb-cf7-styler__field-style-underline .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3564
+ 'border-style' => 'solid',
3565
+ ),
3566
+ ' .uagb-cf7-styler__field-style-box .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3567
+ 'border-style' => $attr['fieldBorderStyle'],
3568
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3569
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3570
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3571
+ ),
3572
+ ' .uagb-cf7-styler__field-style-box .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3573
+ 'border-style' => $attr['fieldBorderStyle'],
3574
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3575
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3576
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3577
+ ),
3578
+ ' .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3579
+ 'background-color' => $attr['fieldInputColor'],
3580
+ ),
3581
+
3582
+ // Override check box.
3583
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"] + span:before' => array(
3584
+ 'background-color' => $attr['radioCheckBgColor'],
3585
+ 'color' => $attr['radioCheckSelectColor'],
3586
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3587
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3588
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3589
+ 'border-color' => $attr['radioCheckBorderColor'],
3590
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3591
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3592
+ ),
3593
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-checkbox input[type="checkbox"]:checked + span:before' => array(
3594
+ 'border-color' => $attr['fieldBorderFocusColor'],
3595
+ ),
3596
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"] + span:before' => array(
3597
+ 'background-color' => $attr['radioCheckBgColor'],
3598
+ 'color' => $attr['radioCheckSelectColor'],
3599
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3600
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3601
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3602
+ 'border-color' => $attr['radioCheckBorderColor'],
3603
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3604
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
3605
+ ),
3606
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 .wpcf7-acceptance input[type="checkbox"]:checked + span:before' => array(
3607
+ 'border-color' => $attr['fieldBorderFocusColor'],
3608
+ ),
3609
+
3610
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 input[type="radio"] + span:before' => array(
3611
+ 'background-color' => $attr['radioCheckBgColor'],
3612
+ 'color' => $attr['radioCheckSelectColor'],
3613
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3614
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
3615
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
3616
+ 'border-color' => $attr['radioCheckBorderColor'],
3617
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
3618
+ ),
3619
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7-radio input[type="radio"]:checked + span:before' => array(
3620
+ 'background-color' => $attr['radioCheckSelectColor'],
3621
+ ),
3622
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3623
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
3624
+ 'font-family' => $attr['radioCheckFontFamily'],
3625
+ 'font-weight' => $attr['radioCheckFontWeight'],
3626
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
3627
+ 'color' => $attr['radioCheckLableColor'],
3628
+ ),
3629
+ ' span.wpcf7-not-valid-tip' => array(
3630
+ 'color' => $attr['validationMsgColor'],
3631
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
3632
+ 'font-family' => $attr['validationMsgFontFamily'],
3633
+ 'font-weight' => $attr['validationMsgFontWeight'],
3634
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
3635
+ ),
3636
+ ' .uagb-cf7-styler__highlight-border input.wpcf7-form-control.wpcf7-not-valid' => array(
3637
+ 'border-color' => $attr['highlightBorderColor'],
3638
+ ),
3639
+ ' .uagb-cf7-styler__highlight-border .wpcf7-form-control.wpcf7-not-valid .wpcf7-list-item-label:before' => array(
3640
+ 'border-color' => $attr['highlightBorderColor'] . '!important',
3641
+ ),
3642
+ ' .uagb-cf7-styler__highlight-style-bottom_right .wpcf7-not-valid-tip' => array(
3643
+ 'background-color' => $attr['validationMsgBgColor'],
3644
+ ),
3645
+ ' .wpcf7-response-output' => array(
3646
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
3647
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
3648
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
3649
+ 'font-family' => $attr['msgFontFamily'],
3650
+ 'font-weight' => $attr['msgFontWeight'],
3651
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
3652
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3653
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['msgVrPadding'], 'px' ),
3654
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3655
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['msgHrPadding'], 'px' ),
3656
+ ),
3657
+ ' .wpcf7-response-output.wpcf7-validation-errors' => array(
3658
+ 'background-color' => $attr['errorMsgBgColor'],
3659
+ 'border-color' => $attr['errorMsgBorderColor'],
3660
+ 'color' => $attr['errorMsgColor'],
3661
+ ),
3662
+ ' .wpcf7-response-output.wpcf7-validation- success' => array(
3663
+ 'background-color' => $attr['successMsgBgColor'],
3664
+ 'border-color' => $attr['successMsgBorderColor'],
3665
+ 'color' => $attr['successMsgColor'],
3666
+ ),
3667
+
3668
+ );
3669
+
3670
+ $t_selectors = array(
3671
+ ' .wpcf7 form.wpcf7-form:not(input)' => array(
3672
+ 'color' => $attr['fieldLabelColor'],
3673
+ ),
3674
+ ' .wpcf7 input:not([type=submit])' => array(
3675
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3676
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3677
+ ),
3678
+ ' .wpcf7 select' => array(
3679
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3680
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3681
+ ),
3682
+ ' .wpcf7 textarea' => array(
3683
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
3684
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
3685
+ ),
3686
+ ' .wpcf7 form label' => array(
3687
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3688
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3689
+ ),
3690
+
3691
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3692
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
3693
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
3694
+ ),
3695
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3696
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
3697
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
3698
+ ),
3699
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3700
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
3701
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
3702
+ ),
3703
+ ' span.wpcf7-not-valid-tip' => array(
3704
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
3705
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
3706
+ ),
3707
+ ' .wpcf7-response-output' => array(
3708
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
3709
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
3710
+ ),
3711
+ );
3712
+
3713
+ $m_selectors = array(
3714
+ ' .wpcf7 input:not([type=submit])' => array(
3715
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3716
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3717
+ ),
3718
+ ' .wpcf7 select' => array(
3719
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3720
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3721
+ ),
3722
+ ' .wpcf7 textarea' => array(
3723
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
3724
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
3725
+ ),
3726
+ ' .wpcf7 form label' => array(
3727
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3728
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3729
+ ),
3730
+
3731
+ ' .wpcf7 form .wpcf7-list-item-label' => array(
3732
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
3733
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
3734
+ ),
3735
+ ' .wpcf7 input.wpcf7-form-control.wpcf7-submit' => array(
3736
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
3737
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
3738
+ ),
3739
+ ' .uagb-cf7-styler__check-style-enabled .wpcf7 form .wpcf7-list-item-label' => array(
3740
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
3741
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
3742
+ ),
3743
+ ' span.wpcf7-not-valid-tip' => array(
3744
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
3745
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
3746
+ ),
3747
+ ' .wpcf7-response-output' => array(
3748
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
3749
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
3750
+ ),
3751
+ );
3752
+
3753
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-cf7-styler-' . $id );
3754
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-cf7-styler-' . $id );
3755
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-cf7-styler-' . $id );
3756
+
3757
+ $generated_css = array(
3758
+ 'desktop' => $desktop,
3759
+ 'tablet' => $tablet,
3760
+ 'mobile' => $mobile,
3761
+ );
3762
+
3763
+ return $generated_css;
3764
+ }
3765
+
3766
+
3767
+
3768
+ /**
3769
+ * Get Gravity Form Styler CSS
3770
+ *
3771
+ * @param array $attr The block attributes.
3772
+ * @param string $id The selector ID.
3773
+ * @since 1.12.0
3774
+ */
3775
+ public static function get_gf_styler_css( $attr, $id ) {
3776
+ $defaults = UAGB_Helper::$block_list['uagb/gf-styler']['attributes'];
3777
+
3778
+ $attr = array_merge( $defaults, (array) $attr );
3779
+
3780
+ $attr['msgVrPadding'] = ( '' === $attr['msgVrPadding'] ) ? '0' : $attr['msgVrPadding'];
3781
+ $attr['msgHrPadding'] = ( '' === $attr['msgHrPadding'] ) ? '0' : $attr['msgHrPadding'];
3782
+ $attr['textAreaHeight'] = ( 'auto' === $attr['msgHrPadding'] ) ? $attr['textAreaHeight'] : $attr['textAreaHeight'] . 'px';
3783
+
3784
+ $selectors = array(
3785
+ ' .gform_wrapper form' => array(
3786
+ 'text-align' => $attr['align'],
3787
+ ),
3788
+ ' .wp-block-uagb-gf-styler form:not(input)' => array(
3789
+ 'color' => $attr['fieldLabelColor'],
3790
+ ),
3791
+ ' .gform_heading' => array(
3792
+ 'text-align' => $attr['titleDescAlignment'],
3793
+ ),
3794
+ ' input:not([type=submit])' => array(
3795
+ 'background-color' => $attr['fieldBgColor'],
3796
+ 'color' => $attr['fieldInputColor'],
3797
+ 'border-style' => $attr['fieldBorderStyle'],
3798
+ 'border-color' => $attr['fieldBorderColor'],
3799
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3800
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3801
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3802
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3803
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3804
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3805
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3806
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3807
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3808
+ 'font-family' => $attr['inputFontFamily'],
3809
+ 'font-weight' => $attr['inputFontWeight'],
3810
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3811
+ 'text-align' => $attr['align'],
3812
+ ),
3813
+ ' select' => array(
3814
+ 'background-color' => $attr['fieldBgColor'],
3815
+ 'border-style' => $attr['fieldBorderStyle'],
3816
+ 'border-color' => $attr['fieldBorderColor'],
3817
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3818
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3819
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3820
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3821
+ 'color' => $attr['fieldInputColor'],
3822
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3823
+ 'font-family' => $attr['inputFontFamily'],
3824
+ 'font-weight' => $attr['inputFontWeight'],
3825
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3826
+ 'text-align' => $attr['align'],
3827
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3828
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3829
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3830
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3831
+ ),
3832
+ ' .chosen-container-single span' => array(
3833
+ 'background-color' => $attr['fieldBgColor'],
3834
+ 'border-style' => $attr['fieldBorderStyle'],
3835
+ 'border-color' => $attr['fieldBorderColor'],
3836
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3837
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3838
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3839
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3840
+ 'color' => $attr['fieldInputColor'],
3841
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3842
+ 'font-family' => $attr['inputFontFamily'],
3843
+ 'font-weight' => $attr['inputFontWeight'],
3844
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3845
+ 'text-align' => $attr['align'],
3846
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3847
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3848
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3849
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3850
+ ),
3851
+ ' .chosen-container-single.chosen-container-active .chosen-single span' => array(
3852
+ 'margin-bottom' => 0,
3853
+ ),
3854
+ ' select.wpgf-form-control.wpgf-select:not([multiple="multiple"])' => array(
3855
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3856
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3857
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3858
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3859
+ ),
3860
+ ' select.wpgf-select[multiple="multiple"] option' => array(
3861
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3862
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3863
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3864
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3865
+ ),
3866
+ ' textarea' => array(
3867
+ 'background-color' => $attr['fieldBgColor'],
3868
+ 'color' => $attr['fieldInputColor'],
3869
+ 'border-color' => $attr['fieldBorderColor'],
3870
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3871
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3872
+ 'border-style' => $attr['fieldBorderStyle'],
3873
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3874
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['fieldHrPadding'], 'px' ),
3875
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3876
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3877
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3878
+ 'margin-bottom' => UAGB_Helper::get_css_value( $attr['fieldSpacing'], 'px' ),
3879
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSize'], $attr['inputFontSizeType'] ),
3880
+ 'font-family' => $attr['inputFontFamily'],
3881
+ 'font-weight' => $attr['inputFontWeight'],
3882
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeight'], $attr['inputLineHeightType'] ),
3883
+ 'text-align' => $attr['align'],
3884
+ 'height' => $attr['textAreaHeight'],
3885
+ ),
3886
+ ' textarea::placeholder' => array(
3887
+ 'color' => $attr['fieldInputColor'],
3888
+ 'text-align' => $attr['align'],
3889
+ ),
3890
+ ' input::placeholder' => array(
3891
+ 'color' => $attr['fieldInputColor'],
3892
+ 'text-align' => $attr['align'],
3893
+ ),
3894
+ ' form label' => array(
3895
+ 'color' => $attr['fieldLabelColor'],
3896
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3897
+ 'font-family' => $attr['labelFontFamily'],
3898
+ 'font-weight' => $attr['labelFontWeight'],
3899
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3900
+ ),
3901
+ ' form .gfield_radio label' => array(
3902
+ 'color' => $attr['fieldLabelColor'],
3903
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3904
+ 'font-family' => $attr['labelFontFamily'],
3905
+ 'font-weight' => $attr['labelFontWeight'],
3906
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3907
+ ),
3908
+ ' form .gfield_checkbox label' => array(
3909
+ 'color' => $attr['fieldLabelColor'],
3910
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSize'], $attr['labelFontSizeType'] ),
3911
+ 'font-family' => $attr['labelFontFamily'],
3912
+ 'font-weight' => $attr['labelFontWeight'],
3913
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeight'], $attr['labelLineHeightType'] ),
3914
+ ),
3915
+ ' .wpgf .gfield_checkbox input[type="checkbox"] + label, .wpgf .gfield_checkbox input[type="checkbox"] + label' => array(
3916
+ 'margin-top' => UAGB_Helper::get_css_value( $attr['fieldLabelSpacing'], 'px' ),
3917
+ ),
3918
+
3919
+ // Focus.
3920
+ ' form input:not([type=submit]):focus' => array(
3921
+ 'border-color' => $attr['fieldBorderFocusColor'],
3922
+ ),
3923
+ ' form select:focus' => array(
3924
+ 'border-color' => $attr['fieldBorderFocusColor'],
3925
+ ),
3926
+ ' textarea:focus' => array(
3927
+ 'border-color' => $attr['fieldBorderFocusColor'],
3928
+ ),
3929
+
3930
+ // Submit button.
3931
+ ' input.gform_button' => array(
3932
+ 'color' => $attr['buttonTextColor'],
3933
+ 'background-color' => $attr['buttonBgColor'],
3934
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSize'], $attr['buttonFontSizeType'] ),
3935
+ 'font-family' => $attr['buttonFontFamily'],
3936
+ 'font-weight' => $attr['buttonFontWeight'],
3937
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeight'], $attr['buttonLineHeightType'] ),
3938
+ 'border-color' => $attr['buttonBorderColor'],
3939
+ 'border-style' => $attr['buttonBorderStyle'],
3940
+ 'border-width' => UAGB_Helper::get_css_value( $attr['buttonBorderWidth'], 'px' ),
3941
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['buttonBorderRadius'], $attr['buttonBorderRadiusType'] ),
3942
+ 'padding-left' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3943
+ 'padding-right' => UAGB_Helper::get_css_value( $attr['buttonHrPadding'], 'px' ),
3944
+ 'padding-top' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3945
+ 'padding-bottom' => UAGB_Helper::get_css_value( $attr['buttonVrPadding'], 'px' ),
3946
+ ),
3947
+ ' input.gform_button:hover' => array(
3948
+ 'color' => $attr['buttonTextHoverColor'],
3949
+ 'background-color' => $attr['buttonBgHoverColor'],
3950
+ 'border-color' => $attr['buttonBorderHoverColor'],
3951
+ ),
3952
+
3953
+ // Check box Radio.
3954
+ ' .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
3955
+ 'background-color' => $attr['fieldBgColor'],
3956
+ 'color' => $attr['fieldInputColor'],
3957
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3958
+ 'border-color' => $attr['fieldBorderFocusColor'],
3959
+ ),
3960
+ ' .gfield_checkbox input[type="checkbox"] + label:before' => array(
3961
+ 'background-color' => $attr['fieldBgColor'],
3962
+ 'color' => $attr['fieldInputColor'],
3963
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3964
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3965
+ 'border-style' => $attr['fieldBorderStyle'],
3966
+ 'border-color' => $attr['fieldBorderColor'],
3967
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3968
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3969
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3970
+ ),
3971
+ ' input[type="checkbox"]:checked + label:before' => array(
3972
+ 'background-color' => $attr['fieldBgColor'],
3973
+ 'color' => $attr['fieldInputColor'],
3974
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3975
+ 'border-color' => $attr['fieldBorderFocusColor'],
3976
+ ),
3977
+ ' input[type="checkbox"] + label:before' => array(
3978
+ 'background-color' => $attr['fieldBgColor'],
3979
+ 'color' => $attr['fieldInputColor'],
3980
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3981
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3982
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
3983
+ 'border-color' => $attr['fieldBorderColor'],
3984
+ 'border-style' => $attr['fieldBorderStyle'],
3985
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3986
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
3987
+ ),
3988
+ ' .gfield_radio input[type="radio"] + label:before' => array(
3989
+ 'background-color' => $attr['fieldBgColor'],
3990
+ 'color' => $attr['fieldInputColor'],
3991
+ 'height' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3992
+ 'width' => UAGB_Helper::get_css_value( $attr['fieldVrPadding'], 'px' ),
3993
+ 'border-style' => $attr['fieldBorderStyle'],
3994
+ 'border-color' => $attr['fieldBorderColor'],
3995
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
3996
+ ),
3997
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
3998
+ 'border-color' => $attr['fieldBorderFocusColor'],
3999
+ ),
4000
+
4001
+ // Underline border.
4002
+ ' .uagb-gf-styler__field-style-underline input:not([type=submit])' => array(
4003
+ 'border-style' => 'none',
4004
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4005
+ 'border-bottom-style' => 'solid',
4006
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4007
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4008
+ ),
4009
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
4010
+ 'border-style' => 'none',
4011
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4012
+ 'border-bottom-style' => 'solid',
4013
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4014
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4015
+ ),
4016
+ ' .uagb-gf-styler__field-style-underline select' => array(
4017
+ 'border-style' => 'none',
4018
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4019
+ 'border-bottom-style' => 'solid',
4020
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4021
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4022
+ ),
4023
+ ' .uagb-gf-styler__field-style-underline textarea' => array(
4024
+ 'border-style' => 'none',
4025
+ 'border-bottom-color' => $attr['fieldBorderColor'],
4026
+ 'border-bottom-style' => 'solid',
4027
+ 'border-bottom-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4028
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4029
+ ),
4030
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4031
+ 'border-style' => 'solid',
4032
+ ),
4033
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4034
+ 'border-style' => 'solid',
4035
+ ),
4036
+ ' .uagb-gf-styler__field-style-box .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4037
+ 'border-style' => 'solid',
4038
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4039
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4040
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
4041
+ ),
4042
+ ' .uagb-gf-styler__field-style-box input[type="checkbox"]:checked + label:before' => array(
4043
+ 'border-style' => 'solid',
4044
+ 'border-width' => UAGB_Helper::get_css_value( $attr['fieldBorderWidth'], 'px' ),
4045
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['fieldBorderRadius'], $attr['fieldBorderRadiusType'] ),
4046
+ 'font-size' => 'calc( ' . $attr['fieldVrPadding'] . 'px / 1.2 )',
4047
+ ),
4048
+ ' .gfield_radio input[type="radio"]:checked + label:before' => array(
4049
+ 'background-color' => $attr['fieldInputColor'],
4050
+ ),
4051
+
4052
+ // Override check box.
4053
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"] + label:before' => array(
4054
+ 'background-color' => $attr['radioCheckBgColor'],
4055
+ 'color' => $attr['radioCheckSelectColor'],
4056
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4057
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4058
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4059
+ 'border-color' => $attr['radioCheckBorderColor'],
4060
+ 'border-style' => 'solid',
4061
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4062
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4063
+ ),
4064
+ ' .uagb-gf-styler__check-style-enabled .gfield_checkbox input[type="checkbox"]:checked + label:before' => array(
4065
+ 'border-color' => $attr['fieldBorderFocusColor'],
4066
+ ),
4067
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"] + label:before' => array(
4068
+ 'background-color' => $attr['radioCheckBgColor'],
4069
+ 'color' => $attr['radioCheckSelectColor'],
4070
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4071
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4072
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4073
+ 'border-color' => $attr['radioCheckBorderColor'],
4074
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4075
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['radioCheckBorderRadius'], $attr['radioCheckBorderRadiusType'] ),
4076
+ ),
4077
+ ' .uagb-gf-styler__check-style-enabled input[type="checkbox"]:checked + label:before' => array(
4078
+ 'border-color' => $attr['fieldBorderFocusColor'],
4079
+ ),
4080
+
4081
+ ' .uagb-gf-styler__check-style-enabled input[type="radio"] + label:before' => array(
4082
+ 'background-color' => $attr['radioCheckBgColor'],
4083
+ 'color' => $attr['radioCheckSelectColor'],
4084
+ 'height' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4085
+ 'width' => UAGB_Helper::get_css_value( $attr['radioCheckSize'], 'px' ),
4086
+ 'font-size' => 'calc( ' . $attr['radioCheckSize'] . 'px / 1.2 )',
4087
+ 'border-color' => $attr['radioCheckBorderColor'],
4088
+ 'border-width' => UAGB_Helper::get_css_value( $attr['radioCheckBorderWidth'], 'px' ),
4089
+ ),
4090
+ ' .uagb-gf-styler__check-style-enabled .gfield_radio input[type="radio"]:checked + label:before' => array(
4091
+ 'background-color' => $attr['radioCheckSelectColor'],
4092
+ ),
4093
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4094
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4095
+ 'font-family' => $attr['radioCheckFontFamily'],
4096
+ 'font-weight' => $attr['radioCheckFontWeight'],
4097
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4098
+ 'color' => $attr['radioCheckLableColor'],
4099
+ ),
4100
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4101
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSize'], $attr['radioCheckFontSizeType'] ),
4102
+ 'font-family' => $attr['radioCheckFontFamily'],
4103
+ 'font-weight' => $attr['radioCheckFontWeight'],
4104
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeight'], $attr['radioCheckLineHeightType'] ),
4105
+ 'color' => $attr['radioCheckLableColor'],
4106
+ ),
4107
+ // Validation Errors.
4108
+ ' .gform_wrapper .gfield_description.validation_message' => array(
4109
+ 'color' => $attr['validationMsgColor'],
4110
+ ),
4111
+ ' .gform_wrapper .validation_message' => array(
4112
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSize'], $attr['validationMsgFontSizeType'] ),
4113
+ 'font-family' => $attr['validationMsgFontFamily'],
4114
+ 'font-weight' => $attr['validationMsgFontWeight'],
4115
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeight'], $attr['validationMsgLineHeightType'] ),
4116
+ ),
4117
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield.gfield_error' => array(
4118
+ 'background-color' => $attr['validationMsgBgColor'],
4119
+ ),
4120
+
4121
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input:not([type="submit"]):not([type="button"]):not([type="image"])' => array(
4122
+ 'border-color' => $attr['highlightBorderColor'],
4123
+ ),
4124
+
4125
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container select' => array(
4126
+ 'border-color' => $attr['highlightBorderColor'],
4127
+ ),
4128
+
4129
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container .chosen-single' => array(
4130
+ 'border-color' => $attr['highlightBorderColor'],
4131
+ ),
4132
+
4133
+ ' .uagb-gf-styler__error-yes .gform_wrapper .gfield_error .ginput_container textarea' => array(
4134
+ 'border-color' => $attr['highlightBorderColor'],
4135
+ ),
4136
+
4137
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error' => array(
4138
+ 'border-color' => $attr['highlightBorderColor'],
4139
+ ),
4140
+
4141
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield.gfield_error.gfield_contains_required.gfield_creditcard_warning' => array(
4142
+ 'border-color' => $attr['highlightBorderColor'],
4143
+ ),
4144
+
4145
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_checkbox input[type="checkbox"] + label:before' => array(
4146
+ 'border-color' => $attr['highlightBorderColor'],
4147
+ ),
4148
+
4149
+ ' .uagb-gf-styler__error-yes li.gfield_error .ginput_container_consent input[type="checkbox"] + label:before' => array(
4150
+ 'border-color' => $attr['highlightBorderColor'],
4151
+ ),
4152
+
4153
+ ' .uagb-gf-styler__error-yes li.gfield_error .gfield_radio input[type="radio"] + label:before' => array(
4154
+ 'border-color' => $attr['highlightBorderColor'],
4155
+ ),
4156
+
4157
+ ' .uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4158
+ 'border' => $attr['fieldBorderWidth'] . 'px ' . $attr['fieldBorderStyle'] . ' ' . $attr['fieldBorderColor'] . '!important',
4159
+ ),
4160
+
4161
+ ' .uael-gf-style-underline.uagb-gf-styler__error-yes .gform_wrapper li.gfield_error input[type="text"]' => array(
4162
+ 'border-width' => $attr['fieldBorderWidth'] . 'px' . '!important',
4163
+ 'border-style' => 'solid' . '!important',
4164
+ 'border-color' => $attr['fieldBorderColor'] . '!important',
4165
+ ),
4166
+
4167
+ ' .gform_wrapper div.validation_error' => array(
4168
+ 'color' => $attr['errorMsgColor'],
4169
+ 'background-color' => $attr['errorMsgBgColor'],
4170
+ 'border-color' => $attr['errorMsgBorderColor'],
4171
+ 'border-style' => 'solid',
4172
+ 'border-width' => UAGB_Helper::get_css_value( $attr['msgBorderSize'], 'px' ),
4173
+ 'border-radius' => UAGB_Helper::get_css_value( $attr['msgBorderRadius'], $attr['msgBorderRadiusType'] ),
4174
+ 'padding' => $attr['msgVrPadding'] . 'px ' . $attr['msgHrPadding'] . 'px',
4175
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSize'], $attr['msgFontSizeType'] ),
4176
+ 'font-family' => $attr['msgFontFamily'],
4177
+ 'font-weight' => $attr['msgFontWeight'],
4178
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeight'], $attr['msgLineHeightType'] ),
4179
+ ),
4180
+
4181
+ ' .gform_confirmation_message' => array(
4182
+ 'color' => $attr['successMsgColor'],
4183
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSize'], $attr['successMsgFontSizeType'] ),
4184
+ 'font-family' => $attr['successMsgFontFamily'],
4185
+ 'font-weight' => $attr['successMsgFontWeight'],
4186
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeight'], $attr['successMsgLineHeightType'] ),
4187
+ ),
4188
+ );
4189
+
4190
+ $t_selectors = array(
4191
+ ' form.wpgf-form:not(input)' => array(
4192
+ 'color' => $attr['fieldLabelColor'],
4193
+ ),
4194
+ ' input:not([type=submit])' => array(
4195
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4196
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4197
+ ),
4198
+ ' textarea' => array(
4199
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeTablet'], $attr['inputFontSizeType'] ),
4200
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightTablet'], $attr['inputLineHeightType'] ),
4201
+ ),
4202
+ ' form label' => array(
4203
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4204
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4205
+ ),
4206
+
4207
+ ' form .gfield_radio label' => array(
4208
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4209
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4210
+ ),
4211
+ ' form .gfield_checkbox label' => array(
4212
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeTablet'], $attr['labelFontSizeType'] ),
4213
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightTablet'], $attr['labelLineHeightType'] ),
4214
+ ),
4215
+ ' input.gform_button' => array(
4216
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeTablet'], $attr['buttonFontSizeType'] ),
4217
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightTablet'], $attr['buttonLineHeightType'] ),
4218
+ ),
4219
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4220
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4221
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4222
+ ),
4223
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4224
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeTablet'], $attr['radioCheckFontSizeType'] ),
4225
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightTablet'], $attr['radioCheckLineHeightType'] ),
4226
+ ),
4227
+ ' span.wpgf-not-valid-tip' => array(
4228
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4229
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4230
+ ),
4231
+ ' .wpgf-response-output' => array(
4232
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4233
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4234
+ ),
4235
+ ' .gform_wrapper .validation_message' => array(
4236
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeTablet'], $attr['validationMsgFontSizeType'] ),
4237
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightTablet'], $attr['validationMsgLineHeightType'] ),
4238
+ ),
4239
+ ' .gform_wrapper div.validation_error' => array(
4240
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeTablet'], $attr['msgFontSizeType'] ),
4241
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightTablet'], $attr['msgLineHeightType'] ),
4242
+ ),
4243
+ ' .gform_confirmation_message' => array(
4244
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeTablet'], $attr['successMsgFontSizeType'] ),
4245
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightTablet'], $attr['successMsgLineHeightType'] ),
4246
+ 'color' => $attr['successMsgColor'],
4247
+ ),
4248
+ );
4249
+
4250
+ $m_selectors = array(
4251
+ ' input:not([type=submit])' => array(
4252
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4253
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4254
+ ),
4255
+ ' textarea' => array(
4256
+ 'font-size' => UAGB_Helper::get_css_value( $attr['inputFontSizeMobile'], $attr['inputFontSizeType'] ),
4257
+ 'line-height' => UAGB_Helper::get_css_value( $attr['inputLineHeightMobile'], $attr['inputLineHeightType'] ),
4258
+ ),
4259
+ ' form label' => array(
4260
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4261
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4262
+ ),
4263
+
4264
+ ' form .gfield_radio label' => array(
4265
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4266
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4267
+ ),
4268
+ ' form .gfield_checkbox label' => array(
4269
+ 'font-size' => UAGB_Helper::get_css_value( $attr['labelFontSizeMobile'], $attr['labelFontSizeType'] ),
4270
+ 'line-height' => UAGB_Helper::get_css_value( $attr['labelLineHeightMobile'], $attr['labelLineHeightType'] ),
4271
+ ),
4272
+ ' input.gform_button' => array(
4273
+ 'font-size' => UAGB_Helper::get_css_value( $attr['buttonFontSizeMobile'], $attr['buttonFontSizeType'] ),
4274
+ 'line-height' => UAGB_Helper::get_css_value( $attr['buttonLineHeightMobile'], $attr['buttonLineHeightType'] ),
4275
+ ),
4276
+ ' .uagb-gf-styler__check-style-enabled form .gfield_radio label' => array(
4277
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4278
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4279
+ ),
4280
+ ' .uagb-gf-styler__check-style-enabled form .gfield_checkbox label' => array(
4281
+ 'font-size' => UAGB_Helper::get_css_value( $attr['radioCheckFontSizeMobile'], $attr['radioCheckFontSizeType'] ),
4282
+ 'line-height' => UAGB_Helper::get_css_value( $attr['radioCheckLineHeightMobile'], $attr['radioCheckLineHeightType'] ),
4283
+ ),
4284
+ ' span.wpgf-not-valid-tip' => array(
4285
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4286
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4287
+ ),
4288
+ ' .wpgf-response-output' => array(
4289
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4290
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4291
+ ),
4292
+ ' .gform_wrapper .validation_message' => array(
4293
+ 'font-size' => UAGB_Helper::get_css_value( $attr['validationMsgFontSizeMobile'], $attr['validationMsgFontSizeType'] ),
4294
+ 'line-height' => UAGB_Helper::get_css_value( $attr['validationMsgLineHeightMobile'], $attr['validationMsgLineHeightType'] ),
4295
+ ),
4296
+ ' .gform_wrapper div.validation_error' => array(
4297
+ 'font-size' => UAGB_Helper::get_css_value( $attr['msgFontSizeMobile'], $attr['msgFontSizeType'] ),
4298
+ 'line-height' => UAGB_Helper::get_css_value( $attr['msgLineHeightMobile'], $attr['msgLineHeightType'] ),
4299
+ ),
4300
+ ' .gform_confirmation_message' => array(
4301
+ 'font-size' => UAGB_Helper::get_css_value( $attr['successMsgFontSizeMobile'], $attr['successMsgFontSizeType'] ),
4302
+ 'line-height' => UAGB_Helper::get_css_value( $attr['successMsgLineHeightMobile'], $attr['successMsgLineHeightType'] ),
4303
+ 'color' => $attr['successMsgColor'],
4304
+ ),
4305
+ );
4306
+
4307
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-gf-styler-' . $id );
4308
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-gf-styler-' . $id );
4309
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-gf-styler-' . $id );
4310
+ $generated_css = array(
4311
+ 'desktop' => $desktop,
4312
+ 'tablet' => $tablet,
4313
+ 'mobile' => $mobile,
4314
+ );
4315
+
4316
+ return $generated_css;
4317
+ }
4318
+
4319
+ /*
4320
+ * Get Marketing Button Block CSS
4321
+ *
4322
+ * @since 1.11.0
4323
+ * @param array $attr The block attributes.
4324
+ * @param string $id The selector ID.
4325
+ * @return array The Widget List.
4326
+ */
4327
+ public static function get_marketing_btn_css( $attr, $id ) { // @codingStandardsIgnoreStart
4328
+
4329
+ $defaults = UAGB_Helper::$block_list['uagb/marketing-button']['attributes'];
4330
+
4331
+ $attr = array_merge( $defaults, (array) $attr );
4332
+
4333
+ $m_selectors = array();
4334
+ $t_selectors = array();
4335
+
4336
+ $icon_color = ( "" == $attr["iconColor"] ) ? $attr["titleColor"] : $attr["iconColor"];
4337
+ $icon_hover_color = ( "" == $attr["iconHoverColor"] ) ? $attr["titleHoverColor"] : $attr["iconHoverColor"];
4338
+
4339
+ $selectors = array(
4340
+ " .uagb-marketing-btn__title-wrap" => array(
4341
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["titleSpace"], 'px' )
4342
+ ),
4343
+ " .uagb-marketing-btn__title" => array(
4344
+ "font-size" => UAGB_Helper::get_css_value( $attr["titleFontSize"], $attr["titleFontSizeType"] ),
4345
+ "line-height" => UAGB_Helper::get_css_value( $attr["titleLineHeight"], $attr["titleLineHeightType"] ),
4346
+ "font-family" => $attr["titleFontFamily"],
4347
+ "font-weight" => $attr["titleFontWeight"],
4348
+ "color" => $attr["titleColor"],
4349
+ ),
4350
+ " .uagb-marketing-btn__icon-wrap" => array(
4351
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4352
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSize"], $attr["iconFontSizeType"] ),
4353
+ ),
4354
+ " .uagb-marketing-btn__icon-wrap svg" => array(
4355
+ "fill" => $icon_color
4356
+ ),
4357
+ " .uagb-marketing-btn__prefix" => array(
4358
+ "font-size" => UAGB_Helper::get_css_value( $attr["prefixFontSize"], $attr["prefixFontSizeType"] ),
4359
+ "line-height" => UAGB_Helper::get_css_value( $attr["prefixLineHeight"], $attr["prefixLineHeightType"] ),
4360
+ "font-family" => $attr["prefixFontFamily"],
4361
+ "font-weight" => $attr["prefixFontWeight"],
4362
+ "color" => $attr["prefixColor"],
4363
+ ),
4364
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__title" => array(
4365
+ "color" => $attr["titleHoverColor"],
4366
+ ),
4367
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__prefix" => array(
4368
+ "color" => $attr["prefixHoverColor"],
4369
+ ),
4370
+ " .uagb-marketing-btn__link:hover .uagb-marketing-btn__icon-wrap svg" => array(
4371
+ "fill" => $icon_hover_color
4372
+ ),
4373
+ " .uagb-marketing-btn__link" => array(
4374
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4375
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPadding"], $attr['paddingType'] ),
4376
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4377
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPadding"], $attr['paddingType'] ),
4378
+ "border-style" => $attr["borderStyle"],
4379
+ "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], 'px' ),
4380
+ "border-color" => $attr["borderColor"],
4381
+ "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], 'px' ),
4382
+ ),
4383
+ " .uagb-marketing-btn__link:hover" => array(
4384
+ "border-color" => $attr["borderHoverColor"]
4385
+ ),
4386
+ );
4387
+
4388
+ if ( "transparent" == $attr["backgroundType"] ) {
4389
+
4390
+ $selectors[" .uagb-marketing-btn__link"]["background"] = "transparent";
4391
+
4392
+ } else if ( "color" == $attr["backgroundType"] ) {
4393
+
4394
+ $selectors[" .uagb-marketing-btn__link"]["background"] = UAGB_Helper::hex2rgba( $attr["backgroundColor"], $attr['backgroundOpacity'] );
4395
+
4396
+ // Hover Background
4397
+ $selectors[" .uagb-marketing-btn__link:hover"] = array(
4398
+ "background" => UAGB_Helper::hex2rgba( $attr["backgroundHoverColor"], $attr['backgroundHoverOpacity'] ),
4399
+ );
4400
+
4401
+ } else if ( "gradient" == $attr["backgroundType"] ) {
4402
+
4403
+ $selectors[' .uagb-marketing-btn__link']['background-color'] = 'transparent';
4404
+
4405
+ if ( 'linear' === $attr['gradientType'] ) {
4406
+
4407
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'linear-gradient(' . $attr['gradientAngle'] . 'deg, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4408
+ } else {
4409
+
4410
+ $selectors[' .uagb-marketing-btn__link']['background-image'] = 'radial-gradient( at center center, ' . UAGB_Helper::hex2rgba( $attr['gradientColor1'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation1'] . '%, ' . UAGB_Helper::hex2rgba( $attr['gradientColor2'], $attr['backgroundOpacity'] ) . ' ' . $attr['gradientLocation2'] . '%)';
4411
+ }
4412
+ }
4413
+
4414
+ $margin_type = ( "after" == $attr["iconPosition"] ) ? "margin-left" : "margin-right";
4415
+
4416
+ $selectors[" .uagb-marketing-btn__icon-wrap"][$margin_type] = UAGB_Helper::get_css_value( $attr["iconSpace"], "px" );
4417
+
4418
+ $m_selectors = array(
4419
+ ' .uagb-marketing-btn__title' => array(
4420
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeMobile'], $attr['titleFontSizeType'] ),
4421
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightMobile'], $attr['titleLineHeightType'] ),
4422
+ ),
4423
+ ' .uagb-marketing-btn__prefix' => array(
4424
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeMobile'], $attr['prefixFontSizeType'] ),
4425
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightMobile'], $attr['prefixLineHeightType'] ),
4426
+ ),
4427
+ ' .uagb-marketing-btn__icon-wrap' => array(
4428
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4429
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeMobile"], $attr["iconFontSizeType"] ),
4430
+ ),
4431
+ " .uagb-marketing-btn__link" => array(
4432
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4433
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr['paddingType'] ),
4434
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4435
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr['paddingType'] ),
4436
+ ),
4437
+
4438
+ );
4439
+
4440
+ $t_selectors = array(
4441
+ ' .uagb-marketing-btn__title' => array(
4442
+ 'font-size' => UAGB_Helper::get_css_value( $attr['titleFontSizeTablet'], $attr['titleFontSizeType'] ),
4443
+ 'line-height' => UAGB_Helper::get_css_value( $attr['titleLineHeightTablet'], $attr['titleLineHeightType'] ),
4444
+ ),
4445
+ ' .uagb-marketing-btn__prefix' => array(
4446
+ 'font-size' => UAGB_Helper::get_css_value( $attr['prefixFontSizeTablet'], $attr['prefixFontSizeType'] ),
4447
+ 'line-height' => UAGB_Helper::get_css_value( $attr['prefixLineHeightTablet'], $attr['prefixLineHeightType'] ),
4448
+ ),
4449
+ ' .uagb-marketing-btn__icon-wrap' => array(
4450
+ "width" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4451
+ "height" => UAGB_Helper::get_css_value( $attr["iconFontSizeTablet"], $attr["iconFontSizeType"] ),
4452
+ ),
4453
+ " .uagb-marketing-btn__link" => array(
4454
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4455
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr['paddingType'] ),
4456
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4457
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr['paddingType'] ),
4458
+ ),
4459
+
4460
+ );
4461
+
4462
+ // @codingStandardsIgnoreEnd
4463
+
4464
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-marketing-btn-' . $id );
4465
+
4466
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-marketing-btn-' . $id );
4467
+
4468
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-marketing-btn-' . $id );
4469
+
4470
+ $generated_css = array(
4471
+ 'desktop' => $desktop,
4472
+ 'tablet' => $tablet,
4473
+ 'mobile' => $mobile,
4474
+ );
4475
+
4476
+ return $generated_css;
4477
+ }
4478
+
4479
+ /**
4480
+ * Get Table of Contents Block CSS
4481
+ *
4482
+ * @since 1.13.0
4483
+ * @param array $attr The block attributes.
4484
+ * @param string $id The selector ID.
4485
+ * @return array The Widget List.
4486
+ */
4487
+ public static function get_table_of_contents_css( $attr, $id ) { // @codingStandardsIgnoreStart
4488
+
4489
+ $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4490
+
4491
+ $attr = array_merge( $defaults, (array) $attr );
4492
+ $m_selectors = array();
4493
+ $t_selectors = array();
4494
+
4495
+ $selectors = array(
4496
+ " .uagb-toc__list-wrap ul li a:hover" => array(
4497
+ "color" => $attr["linkHoverColor"],
4498
+ ),
4499
+ " .uagb-toc__list-wrap ul li a" => array(
4500
+ "font-size" => UAGB_Helper::get_css_value( $attr["fontSize"], $attr["fontSizeType"] ),
4501
+ "line-height" => UAGB_Helper::get_css_value( $attr["lineHeight"], $attr["lineHeightType"] ),
4502
+ "font-family" => $attr["fontFamily"],
4503
+ "font-weight" => $attr["fontWeight"],
4504
+ "color" => $attr["linkColor"],
4505
+ ),
4506
+ " .uagb-toc__title" => array(
4507
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSize"], $attr["headingFontSizeType"] ),
4508
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeight"], $attr["headingLineHeightType"] ),
4509
+ "font-family" => $attr["headingFontFamily"],
4510
+ "font-weight" => $attr["headingFontWeight"],
4511
+ "color" => $attr["headingColor"],
4512
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["headingBottom"], "px"),
4513
+ ),
4514
+ " .uagb-toc__wrap" => array(
4515
+ "border-style" => $attr["borderStyle"],
4516
+ "border-width" => UAGB_Helper::get_css_value( $attr["borderWidth"], "px" ),
4517
+ "border-color" => $attr["borderColor"],
4518
+ "border-radius" => UAGB_Helper::get_css_value( $attr["borderRadius"], "px" ),
4519
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4520
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4521
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4522
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingDesktop"], $attr["paddingTypeDesktop"] ),
4523
+ "background" => $attr["backgroundColor"],
4524
+ ),
4525
+ " .uagb-toc__list-wrap" => array(
4526
+ 'column-count' => $attr['tColumnsDesktop'],
4527
+ ),
4528
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4529
+ "padding-top" => 0
4530
+ ),
4531
+ " .uagb-toc__list-wrap ul.uagb-toc__list:first-child" => array(
4532
+ "margin-left" => UAGB_Helper::get_css_value( $attr["hMarginDesktop"], $attr["marginTypeDesktop"] ),
4533
+ "margin-right" => UAGB_Helper::get_css_value( $attr["hMarginDesktop"], $attr["marginTypeDesktop"] ),
4534
+ "margin-top" => UAGB_Helper::get_css_value( $attr["vMarginDesktop"], $attr["marginTypeDesktop"] ),
4535
+ "margin-bottom" => UAGB_Helper::get_css_value( $attr["vMarginDesktop"], $attr["marginTypeDesktop"] ),
4536
+ ),
4537
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4538
+ "padding-bottom" => 0
4539
+ ),
4540
+ " .uag-toc__collapsible-wrap svg" => array(
4541
+ "width" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4542
+ "height" => UAGB_Helper::get_css_value( $attr["iconSize"], "px" ),
4543
+ "fill" => $attr["iconColor"]
4544
+ ),
4545
+ );
4546
+
4547
+ if ( '' != $attr["contentPaddingDesktop"] ) {
4548
+ $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-top"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4549
+ $selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"]["padding-bottom"] = "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingDesktop'] . $attr['contentPaddingTypeDesktop'] ) . " / 2 )";
4550
+ }
4551
+
4552
+ if ( $attr["customWidth"] ) {
4553
+ $selectors[" .uagb-toc__wrap"]["width"] = UAGB_Helper::get_css_value( $attr["widthDesktop"], $attr["widthTypeDesktop"] );
4554
+ }
4555
+
4556
+ if ( $attr["disableBullets"] ) {
4557
+ $selectors[" .uagb-toc__list"] = array(
4558
+ "list-style-type" => 'none'
4559
+ );
4560
+ $selectors[" .uagb-toc__list .uagb-toc__list"] = array(
4561
+ "list-style-type" => 'none'
4562
+ );
4563
+ }
4564
+
4565
+
4566
+ $m_selectors = array(
4567
+ ' .uagb-toc__list-wrap ul li a' => array(
4568
+ 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeMobile'], $attr['fontSizeType'] ),
4569
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightMobile'], $attr['lineHeightType'] ),
4570
+ ),
4571
+ " .uagb-toc__title" => array(
4572
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeMobile"], $attr["headingFontSizeType"] ),
4573
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightMobile"], $attr["headingLineHeightType"] ),
4574
+ ),
4575
+ " .uagb-toc__wrap" => array(
4576
+ "width" => UAGB_Helper::get_css_value( $attr["widthMobile"], $attr["widthTypeMobile"] ),
4577
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4578
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingMobile"], $attr["paddingTypeMobile"] ),
4579
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4580
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingMobile"], $attr["paddingTypeMobile"] ),
4581
+ ),
4582
+ " .uagb-toc__list-wrap" => array(
4583
+ 'column-count' => $attr['tColumnsMobile'],
4584
+ ),
4585
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4586
+ "padding-top" => 0
4587
+ ),
4588
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4589
+ "padding-bottom" => 0
4590
+ ),
4591
+
4592
+ );
4593
+
4594
+ $t_selectors = array(
4595
+ ' .uagb-toc__list-wrap ul li a' => array(
4596
+ 'font-size' => UAGB_Helper::get_css_value( $attr['fontSizeTablet'], $attr['fontSizeType'] ),
4597
+ 'line-height' => UAGB_Helper::get_css_value( $attr['lineHeightTablet'], $attr['lineHeightType'] ),
4598
+ ),
4599
+ " .uagb-toc__title" => array(
4600
+ "font-size" => UAGB_Helper::get_css_value( $attr["headingFontSizeTablet"], $attr["headingFontSizeType"] ),
4601
+ "line-height" => UAGB_Helper::get_css_value( $attr["headingLineHeightTablet"], $attr["headingLineHeightType"] ),
4602
+ ),
4603
+ " .uagb-toc__wrap" => array(
4604
+ "width" => UAGB_Helper::get_css_value( $attr["widthTablet"], $attr["widthTypeTablet"] ),
4605
+ "padding-left" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4606
+ "padding-right" => UAGB_Helper::get_css_value( $attr["hPaddingTablet"], $attr["paddingTypeTablet"] ),
4607
+ "padding-top" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4608
+ "padding-bottom" => UAGB_Helper::get_css_value( $attr["vPaddingTablet"], $attr["paddingTypeTablet"] ),
4609
+ ),
4610
+ " .uagb-toc__list-wrap" => array(
4611
+ 'column-count' => $attr['tColumnsTablet'],
4612
+ ),
4613
+ " .uagb-toc__list-wrap > ul.uagb-toc__list > li:first-child" => array(
4614
+ "padding-top" => 0
4615
+ ),
4616
+ " .uagb-toc__list-wrap ul.uagb-toc__list:last-child > li:last-child" => array(
4617
+ "padding-bottom" => 0
4618
+ ), );
4619
+
4620
+ if ( '' != $attr["contentPaddingTablet"] ) {
4621
+ $t_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4622
+ "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4623
+ "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingTablet'] . $attr['contentPaddingTypeTablet'] ) . " / 2 )",
4624
+ );
4625
+ }
4626
+
4627
+ if ( '' != $attr["contentPaddingMobile"] ) {
4628
+ $m_selectors[" .uagb-toc__list-wrap ul.uagb-toc__list > li"] = array(
4629
+ "padding-top" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4630
+ "padding-bottom" => "calc( " . UAGB_Helper::get_css_value( $attr['contentPaddingMobile'] . $attr['contentPaddingTypeMobile'] ) . " / 2 )",
4631
+ );
4632
+ }
4633
+
4634
+ // @codingStandardsIgnoreEnd
4635
+
4636
+ $desktop = UAGB_Helper::generate_css( $selectors, '#uagb-toc-' . $id );
4637
+
4638
+ $tablet = UAGB_Helper::generate_css( $t_selectors, '#uagb-toc-' . $id );
4639
+
4640
+ $mobile = UAGB_Helper::generate_css( $m_selectors, '#uagb-toc-' . $id );
4641
+
4642
+ if ( '' !== $attr['scrollToTopColor'] ) {
4643
+ $desktop .= '.uagb-toc__scroll-top { color: ' . $attr['scrollToTopColor'] . '; }';
4644
+ }
4645
+
4646
+ if ( '' !== $attr['scrollToTopBgColor'] ) {
4647
+ $desktop .= '.uagb-toc__scroll-top { background: ' . $attr['scrollToTopBgColor'] . '; }';
4648
+ }
4649
+
4650
+ $generated_css = array(
4651
+ 'desktop' => $desktop,
4652
+ 'tablet' => $tablet,
4653
+ 'mobile' => $mobile,
4654
+ );
4655
+
4656
+ return $generated_css;
4657
+ }
4658
+
4659
+
4660
+ /**
4661
+ * Get Testimonial Js
4662
+ *
4663
+ * @since 1.6.0
4664
+ * @param array $attr The block attributes.
4665
+ * @param string $id The selector ID.
4666
+ */
4667
+ public static function get_testimonial_js( $attr, $id ) { // @codingStandardsIgnoreStart.
4668
+
4669
+ $defaults = UAGB_Helper::$block_list['uagb/testimonial']['attributes'];
4670
+
4671
+ $attr = array_merge( $defaults, (array) $attr );
4672
+
4673
+ $dots = ( "dots" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4674
+ $arrows = ( "arrows" == $attr['arrowDots'] || "arrowDots" == $attr['arrowDots'] ) ? true : false;
4675
+
4676
+ $slick_options = apply_filters( 'uagb_testimonials_slick_options',[
4677
+ 'slidesToShow' => $attr['columns'],
4678
+ 'slidesToScroll' => 1,
4679
+ 'autoplaySpeed' => $attr['autoplaySpeed'],
4680
+ 'autoplay' => $attr['autoplay'],
4681
+ 'infinite' => $attr['infiniteLoop'],
4682
+ 'pauseOnHover' => $attr['pauseOnHover'],
4683
+ 'speed' => $attr['transitionSpeed'],
4684
+ 'arrows' => $arrows,
4685
+ 'dots' => $dots,
4686
+ 'rtl' => false,
4687
+ 'prevArrow' => '<button type="button" data-role="none" class="slick-prev" aria-label="Previous" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"></path></svg></button>',
4688
+ 'nextArrow' => '<button type="button" data-role="none" class="slick-next" aria-label="Next" tabindex="0" role="button" style="border-color: '.$attr["arrowColor"].';border-radius:'.$attr["arrowBorderRadius"].'px;border-width:'.$attr["arrowBorderSize"].'px"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512" height ="'.$attr["arrowSize"].'" width = "'.$attr["arrowSize"].'" fill ="'.$attr["arrowColor"].'" ><path d="M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"></path></svg></button>',
4689
+ 'responsive' => [
4690
+ [
4691
+ 'breakpoint' => 1024,
4692
+ 'settings' => [
4693
+ 'slidesToShow' => $attr['tcolumns'],
4694
+ 'slidesToScroll' => 1,
4695
+ ],
4696
+ ],
4697
+ [
4698
+ 'breakpoint' => 767,
4699
+ 'settings' => [
4700
+ 'slidesToShow' => $attr['mcolumns'],
4701
+ 'slidesToScroll' => 1,
4702
+ ],
4703
+ ]
4704
+ ]
4705
+ ], $id );
4706
+
4707
+ $settings = json_encode($slick_options);
4708
+ $selector = '#uagb-testimonial-'. $id;
4709
+ $js = '$( document ).ready( function() { if( $( "' . $selector . '" ).length > 0 ){ $( "' . $selector . '" ).find( ".is-carousel" ).slick( ' . $settings .' ); } } );';
4710
+
4711
+ return $js;
4712
+ // @codingStandardsIgnoreEnd.
4713
+ }
4714
+
4715
+ /**
4716
+ * Get Blockquote Js
4717
+ *
4718
+ * @since 1.8.2
4719
+ * @param array $attr The block attributes.
4720
+ * @param string $id The selector ID.
4721
+ */
4722
+ public static function get_blockquote_js( $attr, $id ) {
4723
+ // @codingStandardsIgnoreStart.
4724
+
4725
+ $defaults = UAGB_Helper::$block_list['uagb/blockquote']['attributes'];
4726
+
4727
+ $attr = array_merge( $defaults, (array) $attr );
4728
+
4729
+ $target = $attr['iconTargetUrl'];
4730
+
4731
+ $url = " " ;
4732
+
4733
+ if( $target == 'current' ){
4734
+ global $wp;
4735
+ $url = home_url(add_query_arg(array(),$wp->request));
4736
+ }else{
4737
+ $url = $attr['customUrl'];
4738
+ }
4739
+
4740
+ $via = isset( $attr['iconShareVia'] ) ? $attr['iconShareVia'] : '';
4741
+
4742
+ $selector = '#uagb-blockquote-'. $id;
4743
+
4744
+ $js = 'jQuery( "' . $selector . '" ).find( ".uagb-blockquote__tweet-button" ).click(function(){'.
4745
+ 'var content = jQuery("' . $selector . '").find(".uagb-blockquote__content").text();'.
4746
+ 'var request_url = "https://twitter.com/share?url="+ encodeURIComponent("' . $url . '")+"&text="+content+"&via="+("' . $via . '");'.
4747
+ 'window.open( request_url );'.
4748
+ '});';
4749
+
4750
+ return $js;
4751
+ // @codingStandardsIgnoreEnd.
4752
+ }
4753
+
4754
+ /**
4755
+ * Get Social Share JS
4756
+ *
4757
+ * @since 1.8.1
4758
+ * @param string $id The selector ID.
4759
+ */
4760
+ public static function get_social_share_js( $id ) {
4761
+
4762
+ $selector = '#uagb-social-share-' . $id;
4763
+ $js = 'const ssLink = document.querySelector( "' . $selector . '" ).querySelectorAll( ".uagb-ss__link" );';
4764
+ $js .= 'for (let i = 0; i < ssLink.length; i++) {
4765
+ ssLink[i].addEventListener( "click", function() {' .
4766
+ 'var social_url = this.dataset.href; ' .
4767
+ 'var target = ""; ' .
4768
+ 'if( social_url == "mailto:?body=" ){ ' .
4769
+ 'target = "_self";' .
4770
+ '}' .
4771
+ 'var request_url = social_url + window.location.href ;' .
4772
+ 'window.open( request_url,target );' .
4773
+ '});' . '}';
4774
+
4775
+ return $js;
4776
+ }
4777
+
4778
+ /**
4779
+ * Get Table of Contents Js
4780
+ *
4781
+ * @since 1.13.0
4782
+ * @param array $attr The block attributes.
4783
+ * @param string $id The selector ID.
4784
+ */
4785
+ public static function get_table_of_contents_js( $attr, $id ) {
4786
+ // @codingStandardsIgnoreStart.
4787
+
4788
+ $defaults = UAGB_Helper::$block_list['uagb/table-of-contents']['attributes'];
4789
+
4790
+ $attr = array_merge( $defaults, (array) $attr );
4791
+
4792
+ $selector = '#uagb-toc-'. $id;
4793
+
4794
+ $js = 'jQuery( document ).ready(function() { ' .
4795
+ 'UAGBTableOfContents._run( ' . json_encode( $attr ) . ', "'. $selector .'" ); '.
4796
+ '});';
4797
+
4798
+ return $js;
4799
+ // @codingStandardsIgnoreEnd.
4800
+ }
4801
+
4802
+ /**
4803
+ * Adds Google fonts for Advanced Heading block.
4804
+ *
4805
+ * @since 1.9.1
4806
+ * @param array $attr the blocks attr.
4807
+ */
4808
+ public static function blocks_advanced_heading_gfont( $attr ) {
4809
+
4810
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
4811
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
4812
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
4813
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
4814
+
4815
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
4816
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
4817
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
4818
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
4819
+
4820
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
4821
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
4822
+ }
4823
+
4824
+
4825
+ /**
4826
+ * Adds Google fonts for CF7 Styler block.
4827
+ *
4828
+ * @since 1.10.0
4829
+ * @param array $attr the blocks attr.
4830
+ */
4831
+ public static function blocks_cf7_styler_gfont( $attr ) {
4832
+
4833
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4834
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4835
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4836
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4837
+
4838
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4839
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4840
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4841
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4842
+
4843
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4844
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4845
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4846
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4847
+
4848
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4849
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4850
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4851
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4852
+
4853
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4854
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4855
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4856
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4857
+
4858
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4859
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4860
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4861
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4862
+
4863
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4864
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4865
+
4866
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4867
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4868
+
4869
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4870
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4871
+ }
4872
+
4873
+
4874
+ /**
4875
+ * Adds Google fonts for Gravity Form Styler block.
4876
+ *
4877
+ * @since 1.12.0
4878
+ * @param array $attr the blocks attr.
4879
+ */
4880
+ public static function blocks_gf_styler_gfont( $attr ) {
4881
+
4882
+ $label_load_google_font = isset( $attr['labelLoadGoogleFonts'] ) ? $attr['labelLoadGoogleFonts'] : '';
4883
+ $label_font_family = isset( $attr['labelFontFamily'] ) ? $attr['labelFontFamily'] : '';
4884
+ $label_font_weight = isset( $attr['labelFontWeight'] ) ? $attr['labelFontWeight'] : '';
4885
+ $label_font_subset = isset( $attr['labelFontSubset'] ) ? $attr['labelFontSubset'] : '';
4886
+
4887
+ $input_load_google_font = isset( $attr['inputLoadGoogleFonts'] ) ? $attr['inputLoadGoogleFonts'] : '';
4888
+ $input_font_family = isset( $attr['inputFontFamily'] ) ? $attr['inputFontFamily'] : '';
4889
+ $input_font_weight = isset( $attr['inputFontWeight'] ) ? $attr['inputFontWeight'] : '';
4890
+ $input_font_subset = isset( $attr['inputFontSubset'] ) ? $attr['inputFontSubset'] : '';
4891
+
4892
+ $radio_check_load_google_font = isset( $attr['radioCheckLoadGoogleFonts'] ) ? $attr['radioCheckLoadGoogleFonts'] : '';
4893
+ $radio_check_font_family = isset( $attr['radioCheckFontFamily'] ) ? $attr['radioCheckFontFamily'] : '';
4894
+ $radio_check_font_weight = isset( $attr['radioCheckFontWeight'] ) ? $attr['radioCheckFontWeight'] : '';
4895
+ $radio_check_font_subset = isset( $attr['radioCheckFontSubset'] ) ? $attr['radioCheckFontSubset'] : '';
4896
+
4897
+ $button_load_google_font = isset( $attr['buttonLoadGoogleFonts'] ) ? $attr['buttonLoadGoogleFonts'] : '';
4898
+ $button_font_family = isset( $attr['buttonFontFamily'] ) ? $attr['buttonFontFamily'] : '';
4899
+ $button_font_weight = isset( $attr['buttonFontWeight'] ) ? $attr['buttonFontWeight'] : '';
4900
+ $button_font_subset = isset( $attr['buttonFontSubset'] ) ? $attr['buttonFontSubset'] : '';
4901
+
4902
+ $msg_font_load_google_font = isset( $attr['msgLoadGoogleFonts'] ) ? $attr['msgLoadGoogleFonts'] : '';
4903
+ $msg_font_family = isset( $attr['msgFontFamily'] ) ? $attr['msgFontFamily'] : '';
4904
+ $msg_font_weight = isset( $attr['msgFontWeight'] ) ? $attr['msgFontWeight'] : '';
4905
+ $msg_font_subset = isset( $attr['msgFontSubset'] ) ? $attr['msgFontSubset'] : '';
4906
+
4907
+ $validation_msg_load_google_font = isset( $attr['validationMsgLoadGoogleFonts'] ) ? $attr['validationMsgLoadGoogleFonts'] : '';
4908
+ $validation_msg_font_family = isset( $attr['validationMsgFontFamily'] ) ? $attr['validationMsgFontFamily'] : '';
4909
+ $validation_msg_font_weight = isset( $attr['validationMsgFontWeight'] ) ? $attr['validationMsgFontWeight'] : '';
4910
+ $validation_msg_font_subset = isset( $attr['validationMsgFontSubset'] ) ? $attr['validationMsgFontSubset'] : '';
4911
+
4912
+ UAGB_Helper::blocks_google_font( $msg_font_load_google_font, $msg_font_family, $msg_font_weight, $msg_font_subset );
4913
+ UAGB_Helper::blocks_google_font( $validation_msg_load_google_font, $validation_msg_font_family, $validation_msg_font_weight, $validation_msg_font_subset );
4914
+
4915
+ UAGB_Helper::blocks_google_font( $radio_check_load_google_font, $radio_check_font_family, $radio_check_font_weight, $radio_check_font_subset );
4916
+ UAGB_Helper::blocks_google_font( $button_load_google_font, $button_font_family, $button_font_weight, $button_font_subset );
4917
+
4918
+ UAGB_Helper::blocks_google_font( $label_load_google_font, $label_font_family, $label_font_weight, $label_font_subset );
4919
+ UAGB_Helper::blocks_google_font( $input_load_google_font, $input_font_family, $input_font_weight, $input_font_subset );
4920
+ }
4921
+
4922
+ /**
4923
+ * Adds Google fonts for Marketing Button block.
4924
+ *
4925
+ * @since 1.11.0
4926
+ * @param array $attr the blocks attr.
4927
+ */
4928
+ public static function blocks_marketing_btn_gfont( $attr ) {
4929
+
4930
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
4931
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
4932
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
4933
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
4934
+
4935
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
4936
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
4937
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
4938
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
4939
+
4940
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
4941
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
4942
+ }
4943
+
4944
+ /**
4945
+ * Adds Google fonts for Table Of Contents block.
4946
+ *
4947
+ * @since 1.13.0
4948
+ * @param array $attr the blocks attr.
4949
+ */
4950
+ public static function blocks_table_of_contents_gfont( $attr ) {
4951
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
4952
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
4953
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
4954
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
4955
+ $heading_load_google_font = isset( $attr['headingLoadGoogleFonts'] ) ? $attr['headingLoadGoogleFonts'] : '';
4956
+ $heading_font_family = isset( $attr['headingFontFamily'] ) ? $attr['headingFontFamily'] : '';
4957
+ $heading_font_weight = isset( $attr['headingFontWeight'] ) ? $attr['headingFontWeight'] : '';
4958
+ $heading_font_subset = isset( $attr['headingFontSubset'] ) ? $attr['headingFontSubset'] : '';
4959
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
4960
+ UAGB_Helper::blocks_google_font( $heading_load_google_font, $heading_font_family, $heading_font_weight, $heading_font_subset );
4961
+ }
4962
+
4963
+ /**
4964
+ * Adds Google fonts for Blockquote.
4965
+ *
4966
+ * @since 1.9.1
4967
+ * @param array $attr the blocks attr.
4968
+ */
4969
+ public static function blocks_blockquote_gfont( $attr ) {
4970
+
4971
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4972
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
4973
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
4974
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
4975
+
4976
+ $author_load_google_font = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
4977
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
4978
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
4979
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
4980
+
4981
+ $tweet_btn_load_google_font = isset( $attr['tweetBtnLoadGoogleFonts'] ) ? $attr['tweetBtnLoadGoogleFonts'] : '';
4982
+ $tweet_btn_font_family = isset( $attr['tweetBtnFontFamily'] ) ? $attr['tweetBtnFontFamily'] : '';
4983
+ $tweet_btn_font_weight = isset( $attr['tweetBtnFontWeight'] ) ? $attr['tweetBtnFontWeight'] : '';
4984
+ $tweet_btn_font_subset = isset( $attr['tweetBtnFontSubset'] ) ? $attr['tweetBtnFontSubset'] : '';
4985
+
4986
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
4987
+ UAGB_Helper::blocks_google_font( $author_load_google_font, $author_font_family, $author_font_weight, $author_font_subset );
4988
+ UAGB_Helper::blocks_google_font( $tweet_btn_load_google_font, $tweet_btn_font_family, $tweet_btn_font_weight, $tweet_btn_font_subset );
4989
+ }
4990
+
4991
+ /**
4992
+ * Adds Google fonts for Testimonial block.
4993
+ *
4994
+ * @since 1.9.1
4995
+ * @param array $attr the blocks attr.
4996
+ */
4997
+ public static function blocks_testimonial_gfont( $attr ) {
4998
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
4999
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5000
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5001
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5002
+
5003
+ $name_load_google_fonts = isset( $attr['nameLoadGoogleFonts'] ) ? $attr['nameLoadGoogleFonts'] : '';
5004
+ $name_font_family = isset( $attr['nameFontFamily'] ) ? $attr['nameFontFamily'] : '';
5005
+ $name_font_weight = isset( $attr['nameFontWeight'] ) ? $attr['nameFontWeight'] : '';
5006
+ $name_font_subset = isset( $attr['nameFontSubset'] ) ? $attr['nameFontSubset'] : '';
5007
+
5008
+ $company_load_google_fonts = isset( $attr['companyLoadGoogleFonts'] ) ? $attr['companyLoadGoogleFonts'] : '';
5009
+ $company_font_family = isset( $attr['companyFontFamily'] ) ? $attr['companyFontFamily'] : '';
5010
+ $company_font_weight = isset( $attr['companyFontWeight'] ) ? $attr['companyFontWeight'] : '';
5011
+ $company_font_subset = isset( $attr['companyFontSubset'] ) ? $attr['companyFontSubset'] : '';
5012
+
5013
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5014
+ UAGB_Helper::blocks_google_font( $name_load_google_fonts, $name_font_family, $name_font_family, $name_font_subset );
5015
+ UAGB_Helper::blocks_google_font( $company_load_google_fonts, $company_font_family, $company_font_family, $company_font_subset );
5016
+ }
5017
+
5018
+ /**
5019
+ * Adds Google fonts for Advanced Heading block.
5020
+ *
5021
+ * @since 1.9.1
5022
+ * @param array $attr the blocks attr.
5023
+ */
5024
+ public static function blocks_team_gfont( $attr ) {
5025
+
5026
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5027
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5028
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5029
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5030
+
5031
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5032
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5033
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5034
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5035
+
5036
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5037
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5038
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5039
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5040
+
5041
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5042
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5043
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5044
+ }
5045
+
5046
+ /**
5047
+ *
5048
+ * Adds Google fonts for Restaurant Menu block.
5049
+ *
5050
+ * @since 1.9.1
5051
+ * @param array $attr the blocks attr.
5052
+ */
5053
+ public static function blocks_restaurant_menu_gfont( $attr ) {
5054
+ $title_load_google_fonts = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5055
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5056
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5057
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5058
+
5059
+ $price_load_google_fonts = isset( $attr['priceLoadGoogleFonts'] ) ? $attr['priceLoadGoogleFonts'] : '';
5060
+ $price_font_family = isset( $attr['priceFontFamily'] ) ? $attr['priceFontFamily'] : '';
5061
+ $price_font_weight = isset( $attr['priceFontWeight'] ) ? $attr['priceFontWeight'] : '';
5062
+ $price_font_subset = isset( $attr['priceFontSubset'] ) ? $attr['priceFontSubset'] : '';
5063
+
5064
+ $desc_load_google_fonts = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5065
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5066
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5067
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5068
+
5069
+ UAGB_Helper::blocks_google_font( $title_load_google_fonts, $title_font_family, $title_font_weight, $title_font_subset );
5070
+ UAGB_Helper::blocks_google_font( $price_load_google_fonts, $price_font_family, $price_font_weight, $price_font_subset );
5071
+ UAGB_Helper::blocks_google_font( $desc_load_google_fonts, $desc_font_family, $desc_font_weight, $desc_font_subset );
5072
+ }
5073
+
5074
+ /**
5075
+ * Adds Google fonts for Content Timeline block.
5076
+ *
5077
+ * @since 1.9.1
5078
+ * @param array $attr the blocks attr.
5079
+ */
5080
+ public static function blocks_content_timeline_gfont( $attr ) {
5081
+ $head_load_google_fonts = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5082
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5083
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5084
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5085
+
5086
+ $subheadload_google_fonts = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5087
+ $subheadfont_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5088
+ $subheadfont_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5089
+ $subheadfont_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5090
+
5091
+ $date_load_google_fonts = isset( $attr['dateLoadGoogleFonts'] ) ? $attr['dateLoadGoogleFonts'] : '';
5092
+ $date_font_family = isset( $attr['dateFontFamily'] ) ? $attr['dateFontFamily'] : '';
5093
+ $date_font_weight = isset( $attr['dateFontWeight'] ) ? $attr['dateFontWeight'] : '';
5094
+ $date_font_subset = isset( $attr['dateFontSubset'] ) ? $attr['dateFontSubset'] : '';
5095
+
5096
+ UAGB_Helper::blocks_google_font( $head_load_google_fonts, $head_font_family, $head_font_weight, $head_font_subset );
5097
+ UAGB_Helper::blocks_google_font( $subheadload_google_fonts, $subheadfont_family, $subheadfont_weight, $subheadfont_subset );
5098
+ UAGB_Helper::blocks_google_font( $date_load_google_fonts, $date_font_family, $date_font_weight, $date_font_subset );
5099
+ }
5100
+
5101
+ /**
5102
+ * Adds Google fonts for Post Timeline block.
5103
+ *
5104
+ * @since 1.9.1
5105
+ * @param array $attr the blocks attr.
5106
+ */
5107
+ public static function blocks_post_timeline_gfont( $attr ) {
5108
+ self::blocks_content_timeline_gfont( $attr );
5109
+
5110
+ $author_load_google_fonts = isset( $attr['authorLoadGoogleFonts'] ) ? $attr['authorLoadGoogleFonts'] : '';
5111
+ $author_font_family = isset( $attr['authorFontFamily'] ) ? $attr['authorFontFamily'] : '';
5112
+ $author_font_weight = isset( $attr['authorFontWeight'] ) ? $attr['authorFontWeight'] : '';
5113
+ $author_font_subset = isset( $attr['authorFontSubset'] ) ? $attr['authorFontSubset'] : '';
5114
+
5115
+ $cta_load_google_fonts = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5116
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5117
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5118
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5119
+
5120
+ UAGB_Helper::blocks_google_font( $author_load_google_fonts, $author_font_family, $author_font_weight, $author_font_subset );
5121
+ UAGB_Helper::blocks_google_font( $cta_load_google_fonts, $cta_font_family, $cta_font_weight, $cta_font_subset );
5122
+ }
5123
+
5124
+ /**
5125
+ * Adds Google fonts for Mulit Button's block.
5126
+ *
5127
+ * @since 1.9.1
5128
+ * @param array $attr the blocks attr.
5129
+ */
5130
+ public static function blocks_buttons_gfont( $attr ) {
5131
+
5132
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5133
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5134
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5135
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5136
+
5137
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5138
+ }
5139
+
5140
+ /**
5141
+ * Adds Google fonts for Icon List block
5142
+ *
5143
+ * @since 1.9.1
5144
+ * @param array $attr the blocks attr.
5145
+ */
5146
+ public static function blocks_icon_list_gfont( $attr ) {
5147
+
5148
+ $load_google_font = isset( $attr['loadGoogleFonts'] ) ? $attr['loadGoogleFonts'] : '';
5149
+ $font_family = isset( $attr['fontFamily'] ) ? $attr['fontFamily'] : '';
5150
+ $font_weight = isset( $attr['fontWeight'] ) ? $attr['fontWeight'] : '';
5151
+ $font_subset = isset( $attr['fontSubset'] ) ? $attr['fontSubset'] : '';
5152
+
5153
+ UAGB_Helper::blocks_google_font( $load_google_font, $font_family, $font_weight, $font_subset );
5154
+ }
5155
+
5156
+ /**
5157
+ * Adds Google fonts for Post block.
5158
+ *
5159
+ * @since 1.9.1
5160
+ * @param array $attr the blocks attr.
5161
+ */
5162
+ public static function blocks_post_gfont( $attr ) {
5163
+
5164
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5165
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5166
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5167
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5168
+
5169
+ $meta_load_google_font = isset( $attr['metaLoadGoogleFonts'] ) ? $attr['metaLoadGoogleFonts'] : '';
5170
+ $meta_font_family = isset( $attr['metaFontFamily'] ) ? $attr['metaFontFamily'] : '';
5171
+ $meta_font_weight = isset( $attr['metaFontWeight'] ) ? $attr['metaFontWeight'] : '';
5172
+ $meta_font_subset = isset( $attr['metaFontSubset'] ) ? $attr['metaFontSubset'] : '';
5173
+
5174
+ $excerpt_load_google_font = isset( $attr['excerptLoadGoogleFonts'] ) ? $attr['excerptLoadGoogleFonts'] : '';
5175
+ $excerpt_font_family = isset( $attr['excerptFontFamily'] ) ? $attr['excerptFontFamily'] : '';
5176
+ $excerpt_font_weight = isset( $attr['excerptFontWeight'] ) ? $attr['excerptFontWeight'] : '';
5177
+ $excerpt_font_subset = isset( $attr['excerptFontSubset'] ) ? $attr['excerptFontSubset'] : '';
5178
+
5179
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5180
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5181
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5182
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5183
+
5184
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5185
+
5186
+ UAGB_Helper::blocks_google_font( $meta_load_google_font, $meta_font_family, $meta_font_weight, $meta_font_subset );
5187
+
5188
+ UAGB_Helper::blocks_google_font( $excerpt_load_google_font, $excerpt_font_family, $excerpt_font_weight, $excerpt_font_subset );
5189
+
5190
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5191
+ }
5192
+
5193
+ /**
5194
+ * Adds Google fonts for Advanced Heading block.
5195
+ *
5196
+ * @since 1.9.1
5197
+ * @param array $attr the blocks attr.
5198
+ */
5199
+ public static function blocks_info_box_gfont( $attr ) {
5200
+
5201
+ $head_load_google_font = isset( $attr['headLoadGoogleFonts'] ) ? $attr['headLoadGoogleFonts'] : '';
5202
+ $head_font_family = isset( $attr['headFontFamily'] ) ? $attr['headFontFamily'] : '';
5203
+ $head_font_weight = isset( $attr['headFontWeight'] ) ? $attr['headFontWeight'] : '';
5204
+ $head_font_subset = isset( $attr['headFontSubset'] ) ? $attr['headFontSubset'] : '';
5205
+
5206
+ $prefix_load_google_font = isset( $attr['prefixLoadGoogleFonts'] ) ? $attr['prefixLoadGoogleFonts'] : '';
5207
+ $prefix_font_family = isset( $attr['prefixFontFamily'] ) ? $attr['prefixFontFamily'] : '';
5208
+ $prefix_font_weight = isset( $attr['prefixFontWeight'] ) ? $attr['prefixFontWeight'] : '';
5209
+ $prefix_font_subset = isset( $attr['prefixFontSubset'] ) ? $attr['prefixFontSubset'] : '';
5210
+
5211
+ $subhead_load_google_font = isset( $attr['subHeadLoadGoogleFonts'] ) ? $attr['subHeadLoadGoogleFonts'] : '';
5212
+ $subhead_font_family = isset( $attr['subHeadFontFamily'] ) ? $attr['subHeadFontFamily'] : '';
5213
+ $subhead_font_weight = isset( $attr['subHeadFontWeight'] ) ? $attr['subHeadFontWeight'] : '';
5214
+ $subhead_font_subset = isset( $attr['subHeadFontSubset'] ) ? $attr['subHeadFontSubset'] : '';
5215
+
5216
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5217
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5218
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5219
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5220
+
5221
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5222
+ UAGB_Helper::blocks_google_font( $head_load_google_font, $head_font_family, $head_font_weight, $head_font_subset );
5223
+ UAGB_Helper::blocks_google_font( $prefix_load_google_font, $prefix_font_family, $prefix_font_weight, $prefix_font_subset );
5224
+ UAGB_Helper::blocks_google_font( $subhead_load_google_font, $subhead_font_family, $subhead_font_weight, $subhead_font_subset );
5225
+ }
5226
+
5227
+ /**
5228
+ * Adds Google fonts for Call To Action block.
5229
+ *
5230
+ * @since 1.9.1
5231
+ * @param array $attr the blocks attr.
5232
+ */
5233
+ public static function blocks_call_to_action_gfont( $attr ) {
5234
+
5235
+ $title_load_google_font = isset( $attr['titleLoadGoogleFonts'] ) ? $attr['titleLoadGoogleFonts'] : '';
5236
+ $title_font_family = isset( $attr['titleFontFamily'] ) ? $attr['titleFontFamily'] : '';
5237
+ $title_font_weight = isset( $attr['titleFontWeight'] ) ? $attr['titleFontWeight'] : '';
5238
+ $title_font_subset = isset( $attr['titleFontSubset'] ) ? $attr['titleFontSubset'] : '';
5239
+
5240
+ $desc_load_google_font = isset( $attr['descLoadGoogleFonts'] ) ? $attr['descLoadGoogleFonts'] : '';
5241
+ $desc_font_family = isset( $attr['descFontFamily'] ) ? $attr['descFontFamily'] : '';
5242
+ $desc_font_weight = isset( $attr['descFontWeight'] ) ? $attr['descFontWeight'] : '';
5243
+ $desc_font_subset = isset( $attr['descFontSubset'] ) ? $attr['descFontSubset'] : '';
5244
+
5245
+ $cta_load_google_font = isset( $attr['ctaLoadGoogleFonts'] ) ? $attr['ctaLoadGoogleFonts'] : '';
5246
+ $cta_font_family = isset( $attr['ctaFontFamily'] ) ? $attr['ctaFontFamily'] : '';
5247
+ $cta_font_weight = isset( $attr['ctaFontWeight'] ) ? $attr['ctaFontWeight'] : '';
5248
+ $cta_font_subset = isset( $attr['ctaFontSubset'] ) ? $attr['ctaFontSubset'] : '';
5249
+
5250
+ UAGB_Helper::blocks_google_font( $cta_load_google_font, $cta_font_family, $cta_font_weight, $cta_font_subset );
5251
+ UAGB_Helper::blocks_google_font( $title_load_google_font, $title_font_family, $title_font_weight, $title_font_subset );
5252
+ UAGB_Helper::blocks_google_font( $desc_load_google_font, $desc_font_family, $desc_font_weight, $desc_font_subset );
5253
+ }
5254
+ }
5255
+ }
classes/class-uagb-config.php CHANGED
@@ -1,1834 +1,1847 @@
1
- <?php
2
- /**
3
- * UAGB Config.
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Config' ) ) {
9
-
10
- /**
11
- * Class UAGB_Config.
12
- */
13
- class UAGB_Config {
14
-
15
- /**
16
- * Block Attributes
17
- *
18
- * @var block_attributes
19
- */
20
- public static $block_attributes = null;
21
-
22
- /**
23
- * Block Assets
24
- *
25
- * @var block_attributes
26
- */
27
- public static $block_assets = null;
28
-
29
- /**
30
- * Get Widget List.
31
- *
32
- * @since 0.0.1
33
- *
34
- * @return array The Widget List.
35
- */
36
- public static function get_block_attributes() {
37
-
38
- if ( null === self::$block_attributes ) {
39
- self::$block_attributes = array(
40
- 'uagb/advanced-heading' => array(
41
- 'slug' => '',
42
- 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
43
- 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
44
- 'default' => true,
45
- 'attributes' => array(
46
- 'headingAlign' => 'center',
47
- 'headingColor' => '',
48
- 'subHeadingColor' => '',
49
- 'separatorColor' => '',
50
- 'seperatorStyle' => 'solid',
51
- 'separatorHeight' => '',
52
- 'separatorWidth' => '',
53
- 'separatorWidthType' => '%',
54
- 'headFontFamily' => '',
55
- 'headLoadGoogleFonts' => false,
56
- 'headFontWeight' => '',
57
- 'headFontSubset' => '',
58
- 'headFontSize' => '',
59
- 'headFontSizeType' => 'px',
60
- 'headFontSizeTablet' => '',
61
- 'headFontSizeMobile' => '',
62
- 'headLineHeight' => '',
63
- 'headLineHeightType' => 'em',
64
- 'headLineHeightTablet' => '',
65
- 'headLineHeightMobile' => '',
66
- 'subHeadFontFamily' => '',
67
- 'subHeadLoadGoogleFonts' => false,
68
- 'subHeadFontWeight' => '',
69
- 'subHeadFontSubset' => '',
70
- 'subHeadFontSize' => '',
71
- 'subHeadFontSizeType' => 'px',
72
- 'subHeadFontSizeTablet' => '',
73
- 'subHeadFontSizeMobile' => '',
74
- 'subHeadLineHeight' => '',
75
- 'subHeadLineHeightType' => 'em',
76
- 'subHeadLineHeightTablet' => '',
77
- 'subHeadLineHeightMobile' => '',
78
- 'headSpace' => 15,
79
- 'separatorSpace' => 15,
80
- ),
81
- ),
82
- 'uagb/columns' => array(
83
- 'slug' => '',
84
- 'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
85
- 'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
86
- 'default' => true,
87
- 'attributes' => array(
88
- 'block_id' => '',
89
- 'columns' => '2',
90
- 'align' => '',
91
- 'vAlign' => '',
92
- 'stack' => 'mobile',
93
- 'topPadding' => '20',
94
- 'bottomPadding' => '20',
95
- 'leftPadding' => '20',
96
- 'rightPadding' => '20',
97
- 'topMargin' => '0',
98
- 'bottomMargin' => '0',
99
- 'topPaddingTablet' => '',
100
- 'bottomPaddingTablet' => '',
101
- 'leftPaddingTablet' => '',
102
- 'rightPaddingTablet' => '',
103
- 'topPaddingMobile' => '',
104
- 'bottomPaddingMobile' => '',
105
- 'leftPaddingMobile' => '',
106
- 'rightPaddingMobile' => '',
107
- 'topMarginMobile' => '',
108
- 'bottomMarginMobile' => '',
109
- 'topMarginTablet' => '',
110
- 'bottomMarginTablet' => '',
111
- 'contentWidth' => 'theme',
112
- 'width' => '900',
113
- 'widthType' => 'px',
114
- 'tag' => 'section',
115
- 'backgroundType' => 'none',
116
- 'backgroundImage' => '',
117
- 'backgroundPosition' => 'center-center',
118
- 'backgroundSize' => 'cover',
119
- 'backgroundRepeat' => 'no-repeat',
120
- 'backgroundAttachment' => 'scroll',
121
- 'backgroundVideo' => '',
122
- 'backgroundColor' => '',
123
- 'gradientColor1' => '',
124
- 'gradientColor2' => '',
125
- 'gradientType' => 'linear',
126
- 'gradientLocation1' => '0',
127
- 'gradientLocation2' => '100',
128
- 'gradientAngle' => '0',
129
- 'gradientPosition' => 'center center',
130
- 'backgroundOpacity' => '',
131
- 'backgroundVideoOpacity' => '50',
132
- 'backgroundVideoColor' => '',
133
- 'backgroundImageColor' => '',
134
- 'borderStyle' => 'none',
135
- 'borderWidth' => '1',
136
- 'borderRadius' => '',
137
- 'borderColor' => '',
138
- 'columnGap' => '10',
139
- 'bottomType' => 'none',
140
- 'bottomColor' => '#333',
141
- 'bottomHeight' => '',
142
- 'bottomHeightTablet' => '',
143
- 'bottomHeightMobile' => '',
144
- 'bottomWidth' => '',
145
- 'topType' => 'none',
146
- 'topColor' => '#333',
147
- 'topHeight' => '',
148
- 'topHeightTablet' => '',
149
- 'topHeightMobile' => '',
150
- 'topWidth' => '',
151
- 'bottomFlip' => '',
152
- 'topFlip' => '',
153
- 'mobileMarginType' => 'px',
154
- 'tabletMarginType' => 'px',
155
- 'desktopMarginType' => 'px',
156
- 'mobilePaddingType' => 'px',
157
- 'tabletPaddingType' => 'px',
158
- 'desktopPaddingType' => 'px',
159
- ),
160
- ),
161
- 'uagb/column' => array(
162
- 'slug' => '',
163
- 'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
164
- 'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
165
- 'default' => true,
166
- 'is_child' => true,
167
- 'attributes' => array(
168
- 'block_id' => '',
169
- 'topPadding' => '',
170
- 'bottomPadding' => '',
171
- 'leftPadding' => '',
172
- 'rightPadding' => '',
173
- 'topMargin' => '',
174
- 'bottomMargin' => '',
175
- 'leftMargin' => '',
176
- 'rightMargin' => '',
177
- 'topPaddingTablet' => '',
178
- 'bottomPaddingTablet' => '',
179
- 'leftPaddingTablet' => '',
180
- 'rightPaddingTablet' => '',
181
- 'topPaddingMobile' => '',
182
- 'bottomPaddingMobile' => '',
183
- 'leftPaddingMobile' => '',
184
- 'rightPaddingMobile' => '',
185
- 'topMarginMobile' => '',
186
- 'bottomMarginMobile' => '',
187
- 'leftMarginMobile' => '',
188
- 'rightMarginMobile' => '',
189
- 'topMarginTablet' => '',
190
- 'bottomMarginTablet' => '',
191
- 'leftMarginTablet' => '',
192
- 'rightMarginTablet' => '',
193
- 'colWidth' => '',
194
- 'colWidthTablet' => '',
195
- 'colWidthMobile' => '',
196
- 'backgroundType' => 'none',
197
- 'backgroundImage' => '',
198
- 'backgroundPosition' => 'center-center',
199
- 'backgroundSize' => 'cover',
200
- 'backgroundRepeat' => 'no-repeat',
201
- 'backgroundAttachment' => 'scroll',
202
- 'backgroundColor' => '',
203
- 'gradientColor1' => '',
204
- 'gradientColor2' => '',
205
- 'gradientType' => 'linear',
206
- 'gradientLocation1' => 0,
207
- 'gradientLocation2' => 100,
208
- 'gradientAngle' => 0,
209
- 'backgroundOpacity' => '',
210
- 'backgroundImageColor' => '',
211
- 'borderStyle' => 'none',
212
- 'borderWidth' => 1,
213
- 'borderRadius' => '',
214
- 'borderColor' => '',
215
- 'align' => 'center',
216
- 'alignMobile' => '',
217
- 'alignTablet' => '',
218
- 'mobileMarginType' => 'px',
219
- 'tabletMarginType' => 'px',
220
- 'desktopMarginType' => 'px',
221
- 'mobilePaddingType' => 'px',
222
- 'tabletPaddingType' => 'px',
223
- 'desktopPaddingType' => 'px',
224
- 'overlayType' => 'color',
225
- 'gradientOverlayColor1' => '',
226
- 'gradientOverlayColor2' => '',
227
- 'gradientOverlayType' => 'linear',
228
- 'gradientOverlayLocation1' => '0',
229
- 'gradientOverlayLocation2' => '100',
230
- 'gradientOverlayAngle' => '0',
231
- ),
232
- ),
233
- 'uagb/blockquote' => array(
234
- 'slug' => '',
235
- 'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
236
- 'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
237
- 'default' => true,
238
- 'attributes' => array(
239
- 'block_id ' => '',
240
- 'skinStyle' => 'border',
241
- 'align' => 'left',
242
- 'descColor' => '',
243
- 'descFontSize' => '',
244
- 'descFontSizeType' => 'px',
245
- 'descFontSizeTablet' => '',
246
- 'descFontSizeMobile' => '',
247
- 'descFontFamily' => '',
248
- 'descFontWeight' => '',
249
- 'descFontSubset' => '',
250
- 'descLineHeightType' => 'em
251
- ',
252
- 'descLineHeight' => '',
253
- 'descLineHeightTablet' => '',
254
- 'descLineHeightMobile' => '',
255
- 'descLoadGoogleFonts' => false,
256
- 'descSpace' => 20,
257
- 'authorColor' => '#888888',
258
- 'authorFontSize' => '',
259
- 'authorFontSizeType' => 'px',
260
- 'authorFontSizeTablet' => '',
261
- 'authorFontSizeMobile' => '',
262
- 'authorFontFamily' => '',
263
- 'authorFontWeight' => '',
264
- 'authorFontSubset' => '',
265
- 'authorLineHeightType' => 'em
266
- ',
267
- 'authorLineHeight' => '',
268
- 'authorLineHeightTablet' => '',
269
- 'authorLineHeightMobile' => '',
270
- 'authorLoadGoogleFonts' => false,
271
- 'authorSpace' => 10,
272
- 'authorImageWidth' => 40,
273
- 'authorImgBorderRadius' => 100,
274
- 'authorImgPosition' => 'right',
275
- 'stack' => 'tablet',
276
- 'enableTweet' => true,
277
- 'iconView' => 'icon_text',
278
- 'iconSkin' => 'link',
279
- 'tweetLinkColor' => '#1DA1F2',
280
- 'tweetBtnColor' => '#fff',
281
- 'tweetBtnBgColor' => '#1DA1F2',
282
- 'tweetBtnHoverColor' => '',
283
- 'tweetBtnBgHoverColor' => '#1DA1F2',
284
- 'tweetBtnFontSize' => 15,
285
- 'tweetBtnFontSizeType' => 'px',
286
- 'tweetBtnFontSizeTablet' => '',
287
- 'tweetBtnFontSizeMobile' => '',
288
- 'tweetBtnFontFamily' => '',
289
- 'tweetBtnFontWeight' => '',
290
- 'tweetBtnFontSubset' => '',
291
- 'tweetBtnLineHeightType' => 'em',
292
- 'tweetBtnLineHeight' => '',
293
- 'tweetBtnLineHeightTablet' => '',
294
- 'tweetBtnLineHeightMobile' => '',
295
- 'tweetBtnLoadGoogleFonts' => false,
296
- 'tweetBtnHrPadding' => 10,
297
- 'tweetBtnVrPadding' => 10,
298
- 'tweetIconSpacing' => 10,
299
- 'borderColor' => '#abb8c3',
300
- 'borderStyle' => 'solid',
301
- 'borderWidth' => 4,
302
- 'borderGap' => 15,
303
- 'verticalPadding' => '',
304
- 'quoteStyle' => 'style_1',
305
- 'quoteColor' => '#abb8c3',
306
- 'quoteSize' => 25,
307
- 'quoteSizeType' => 'px',
308
- 'quoteSizeTablet' => '',
309
- 'quoteSizeMobile' => '',
310
- 'quoteTopMargin' => '',
311
- 'quoteBottomMargin' => '',
312
- 'quoteLeftMargin' => '',
313
- 'quoteRightMargin' => 20,
314
- 'quoteBorderRadius' => 100,
315
- 'quoteBgColor' => '#333',
316
- 'quoteHoverColor' => '',
317
- 'quoteBgHoverColor' => '',
318
- 'borderHoverColor' => '',
319
- 'iconTargetUrl' => 'current',
320
- 'customUrl' => '',
321
- 'iconShareVia' => '',
322
- 'quotePadding' => 10,
323
- 'quotePaddingType' => 'px',
324
- 'quotePaddingTablet' => '',
325
- 'quotePaddingMobile' => '',
326
- ),
327
- ),
328
- 'uagb/call-to-action' => array(
329
- 'slug' => '',
330
- 'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
331
- 'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
332
- 'default' => true,
333
- 'attributes' => array(
334
- 'textAlign' => 'left',
335
- 'titleColor' => '',
336
- 'descColor' => '',
337
- 'ctaPosition' => 'right',
338
- 'titleTag' => '',
339
- 'titleFontSize' => '',
340
- 'titleFontSizeType' => 'px',
341
- 'titleFontSizeMobile' => '',
342
- 'titleFontSizeTablet' => '',
343
- 'titleFontFamily' => '',
344
- 'titleFontWeight' => '',
345
- 'titleFontSubset' => '',
346
- 'titleLineHeightType' => 'em',
347
- 'titleLineHeight' => '',
348
- 'titleLineHeightTablet' => '',
349
- 'titleLineHeightMobile' => '',
350
- 'titleLoadGoogleFonts' => false,
351
- 'descFontSize' => '',
352
- 'descFontSizeType' => 'px',
353
- 'descFontSizeMobile' => '',
354
- 'descFontSizeTablet' => '',
355
- 'descFontFamily' => '',
356
- 'descFontWeight' => '',
357
- 'descFontSubset' => '',
358
- 'descLineHeightType' => 'em',
359
- 'descLineHeight' => '',
360
- 'descLineHeightTablet' => '',
361
- 'descLineHeightMobile' => '',
362
- 'descLoadGoogleFonts' => false,
363
- 'titleSpace' => 10,
364
- 'descSpace' => 10,
365
- 'buttonAlign' => 'top',
366
- 'ctaTarget' => false,
367
- 'ctaIconPosition' => 'after',
368
- 'ctaIconSpace' => 5,
369
- 'ctaType' => 'button',
370
- 'ctaLink' => '#',
371
- 'ctaFontSize' => '',
372
- 'ctaFontSizeType' => 'px',
373
- 'ctaFontSizeMobile' => '',
374
- 'ctaFontSizeTablet' => '',
375
- 'ctaFontFamily' => '',
376
- 'ctaFontWeight' => '',
377
- 'ctaFontSubset' => '',
378
- 'ctaLoadGoogleFonts' => false,
379
- 'ctaBtnLinkColor' => '#333',
380
- 'ctaBgColor' => 'transparent',
381
- 'ctaBgHoverColor' => 'transparent',
382
- 'ctaBorderColor' => '#333',
383
- 'ctaBorderhoverColor' => '',
384
- 'ctaBorderStyle' => 'solid',
385
- 'ctaBtnVertPadding' => 10,
386
- 'ctaBtnHrPadding' => 14,
387
- 'ctaBorderWidth' => 1,
388
- 'ctaBorderRadius' => 0,
389
- 'stack' => 'tablet',
390
- 'showTitle' => true,
391
- 'showDesc' => true,
392
- 'ctaLeftSpace' => 5,
393
- 'ctaRightSpace' => 5,
394
- 'contentWidth' => 70,
395
- 'ctaLinkHoverColor' => '',
396
- ),
397
- ),
398
- 'uagb/cf7-styler' => array(
399
- 'slug' => '',
400
- 'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
401
- 'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
402
- 'is_active' => class_exists( 'WPCF7_ContactForm' ),
403
- 'default' => true,
404
- 'attributes' => array(
405
- 'block_id' => '',
406
- 'align' => 'left',
407
- 'formId' => '0',
408
- 'fieldStyle' => 'box',
409
- 'fieldHrPadding' => 10,
410
- 'fieldVrPadding' => 10,
411
- 'fieldBgColor' => '#fafafa',
412
- 'fieldLabelColor' => '#333',
413
- 'fieldInputColor' => '#333',
414
- 'fieldBorderStyle' => 'solid',
415
- 'fieldBorderWidth' => 1,
416
- 'fieldBorderRadius' => 0,
417
- 'fieldBorderColor' => '#eeeeee',
418
- 'fieldBorderFocusColor' => '',
419
- 'buttonAlignment' => 'left',
420
- 'buttonVrPadding' => 10,
421
- 'buttonHrPadding' => 25,
422
- 'buttonTextColor' => '#333',
423
- 'buttonBgColor' => 'transparent',
424
- 'buttonTextHoverColor' => '',
425
- 'buttonBgHoverColor' => '',
426
- 'buttonBorderStyle' => 'solid',
427
- 'buttonBorderWidth' => 1,
428
- 'buttonBorderRadius' => 0,
429
- 'buttonBorderColor' => '#333',
430
- 'buttonBorderHoverColor' => '',
431
- 'fieldSpacing' => '',
432
- 'fieldLabelSpacing' => '',
433
- 'labelFontSize' => '',
434
- 'labelFontSizeType' => 'px',
435
- 'labelFontSizeTablet' => '',
436
- 'labelFontSizeMobile' => '',
437
- 'labelFontFamily' => '',
438
- 'labelFontWeight' => '',
439
- 'labelFontSubset' => '',
440
- 'labelLineHeightType' => 'px',
441
- 'labelLineHeight' => '',
442
- 'labelLineHeightTablet' => '',
443
- 'labelLineHeightMobile' => '',
444
- 'labelLoadGoogleFonts' => false,
445
- 'inputFontSize' => '',
446
- 'inputFontSizeType' => 'px',
447
- 'inputFontSizeTablet' => '',
448
- 'inputFontSizeMobile' => '',
449
- 'inputFontFamily' => '',
450
- 'inputFontWeight' => '',
451
- 'inputFontSubset' => '',
452
- 'inputLineHeightType' => 'px',
453
- 'inputLineHeight' => '',
454
- 'inputLineHeightTablet' => '',
455
- 'inputLineHeightMobile' => '',
456
- 'inputLoadGoogleFonts' => false,
457
- 'buttonFontSize' => '',
458
- 'buttonFontSizeType' => 'px',
459
- 'buttonFontSizeTablet' => '',
460
- 'buttonFontSizeMobile' => '',
461
- 'buttonFontFamily' => '',
462
- 'buttonFontWeight' => '',
463
- 'buttonFontSubset' => '',
464
- 'buttonLineHeightType' => 'px',
465
- 'buttonLineHeight' => '',
466
- 'buttonLineHeightTablet' => '',
467
- 'buttonLineHeightMobile' => '',
468
- 'buttonLoadGoogleFonts' => false,
469
- 'enableOveride' => true,
470
- 'radioCheckSize' => '',
471
- 'radioCheckBgColor' => '',
472
- 'radioCheckSelectColor' => '',
473
- 'radioCheckLableColor' => '',
474
- 'radioCheckBorderColor' => '#abb8c3',
475
- 'radioCheckBorderWidth' => '',
476
- 'radioCheckBorderRadius' => '',
477
- 'radioCheckFontSize' => '',
478
- 'radioCheckFontSizeType' => 'px',
479
- 'radioCheckFontSizeTablet' => '',
480
- 'radioCheckFontSizeMobile' => '',
481
- 'radioCheckFontFamily' => '',
482
- 'radioCheckFontWeight' => '',
483
- 'radioCheckFontSubset' => '',
484
- 'radioCheckLineHeightType' => 'px',
485
- 'radioCheckLineHeight' => '',
486
- 'radioCheckLineHeightTablet' => '',
487
- 'radioCheckLineHeightMobile' => '',
488
- 'radioCheckLoadGoogleFonts' => false,
489
- 'validationMsgPosition' => 'default',
490
- 'validationMsgColor' => '#ff0000',
491
- 'validationMsgBgColor' => '',
492
- 'enableHighlightBorder' => false,
493
- 'highlightBorderColor' => '#ff0000',
494
- 'validationMsgFontSize' => '',
495
- 'validationMsgFontSizeType' => 'px',
496
- 'validationMsgFontSizeTablet' => '',
497
- 'validationMsgFontSizeMobile' => '',
498
- 'validationMsgFontFamily' => '',
499
- 'validationMsgFontWeight' => '',
500
- 'validationMsgFontSubset' => '',
501
- 'validationMsgLineHeightType' => 'em',
502
- 'validationMsgLineHeight' => '',
503
- 'validationMsgLineHeightTablet' => '',
504
- 'validationMsgLineHeightMobile' => '',
505
- 'validationMsgLoadGoogleFonts' => false,
506
- 'successMsgColor' => '',
507
- 'successMsgBgColor' => '',
508
- 'successMsgBorderColor' => '',
509
- 'errorMsgColor' => '',
510
- 'errorMsgBgColor' => '',
511
- 'errorMsgBorderColor' => '',
512
- 'msgBorderSize' => '',
513
- 'msgBorderRadius' => '',
514
- 'msgVrPadding' => '',
515
- 'msgHrPadding' => '',
516
- 'msgFontSize' => '',
517
- 'msgFontSizeType' => 'px',
518
- 'msgFontSizeTablet' => '',
519
- 'msgFontSizeMobile' => '',
520
- 'msgFontFamily' => '',
521
- 'msgFontWeight' => '',
522
- 'msgFontSubset' => '',
523
- 'msgLineHeightType' => 'em',
524
- 'msgLineHeight' => '',
525
- 'msgLineHeightTablet' => '',
526
- 'msgLineHeightMobile' => '',
527
- 'msgLoadGoogleFonts' => false,
528
- 'radioCheckBorderRadiusType' => 'px',
529
- 'msgBorderRadiusType' => 'px',
530
- 'fieldBorderRadiusType' => 'px',
531
- 'buttonBorderRadiusType' => 'px',
532
- ),
533
- ),
534
- 'uagb/gf-styler' => array(
535
- 'slug' => '',
536
- 'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
537
- 'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
538
- 'default' => true,
539
- 'is_active' => class_exists( 'GFForms' ),
540
- 'attributes' => array(
541
- 'block_id' => '',
542
- 'align' => 'left',
543
- 'enableAjax' => false,
544
- 'enableTabSupport' => false,
545
- 'formTabIndex' => '0',
546
- 'formId' => '0',
547
- 'titleDescStyle' => 'yes',
548
- 'titleDescAlignment' => 'left',
549
- 'fieldStyle' => 'box',
550
- 'fieldHrPadding' => 10,
551
- 'fieldVrPadding' => 10,
552
- 'fieldBgColor' => '#fafafa',
553
- 'fieldLabelColor' => '#333',
554
- 'fieldInputColor' => '#333',
555
- 'fieldBorderStyle' => 'solid',
556
- 'fieldBorderWidth' => 1,
557
- 'fieldBorderRadius' => 0,
558
- 'fieldBorderColor' => '#eeeeee',
559
- 'fieldBorderFocusColor' => '',
560
- 'buttonAlignment' => 'left',
561
- 'buttonVrPadding' => 10,
562
- 'buttonHrPadding' => 25,
563
- 'buttonTextColor' => '#333',
564
- 'buttonBgColor' => 'transparent',
565
- 'buttonTextHoverColor' => '',
566
- 'buttonBgHoverColor' => '',
567
- 'buttonBorderStyle' => 'solid',
568
- 'buttonBorderWidth' => 1,
569
- 'buttonBorderRadius' => 0,
570
- 'buttonBorderColor' => '#333',
571
- 'buttonBorderHoverColor' => '',
572
- 'fieldSpacing' => '',
573
- 'fieldLabelSpacing' => '',
574
- 'enableLabel' => false,
575
- 'textAreaHeight' => 'auto',
576
- 'labelFontSize' => '',
577
- 'labelFontSizeType' => 'px',
578
- 'labelFontSizeTablet' => '',
579
- 'labelFontSizeMobile' => '',
580
- 'labelFontFamily' => '',
581
- 'labelFontWeight' => '',
582
- 'labelFontSubset' => '',
583
- 'labelLineHeightType' => 'px',
584
- 'labelLineHeight' => '',
585
- 'labelLineHeightTablet' => '',
586
- 'labelLineHeightMobile' => '',
587
- 'labelLoadGoogleFonts' => false,
588
- 'inputFontSize' => '',
589
- 'inputFontSizeType' => 'px',
590
- 'inputFontSizeTablet' => '',
591
- 'inputFontSizeMobile' => '',
592
- 'inputFontFamily' => '',
593
- 'inputFontWeight' => '',
594
- 'inputFontSubset' => '',
595
- 'inputLineHeightType' => 'px',
596
- 'inputLineHeight' => '',
597
- 'inputLineHeightTablet' => '',
598
- 'inputLineHeightMobile' => '',
599
- 'inputLoadGoogleFonts' => false,
600
- 'buttonFontSize' => '',
601
- 'buttonFontSizeType' => 'px',
602
- 'buttonFontSizeTablet' => '',
603
- 'buttonFontSizeMobile' => '',
604
- 'buttonFontFamily' => '',
605
- 'buttonFontWeight' => '',
606
- 'buttonFontSubset' => '',
607
- 'buttonLineHeightType' => 'px',
608
- 'buttonLineHeight' => '',
609
- 'buttonLineHeightTablet' => '',
610
- 'buttonLineHeightMobile' => '',
611
- 'buttonLoadGoogleFonts' => false,
612
- 'enableOveride' => true,
613
- 'radioCheckSize' => '20',
614
- 'radioCheckBgColor' => '#fafafa',
615
- 'radioCheckSelectColor' => '',
616
- 'radioCheckLableColor' => '',
617
- 'radioCheckBorderColor' => '#cbcbcb',
618
- 'radioCheckBorderWidth' => '1',
619
- 'radioCheckBorderRadius' => '',
620
- 'radioCheckFontSize' => '',
621
- 'radioCheckFontSizeType' => 'px',
622
- 'radioCheckFontSizeTablet' => '',
623
- 'radioCheckFontSizeMobile' => '',
624
- 'radioCheckFontFamily' => '',
625
- 'radioCheckFontWeight' => '',
626
- 'radioCheckFontSubset' => '',
627
- 'radioCheckLineHeightType' => 'px',
628
- 'radioCheckLineHeight' => '',
629
- 'radioCheckLineHeightTablet' => '',
630
- 'radioCheckLineHeightMobile' => '',
631
- 'radioCheckLoadGoogleFonts' => false,
632
- 'validationMsgColor' => '#ff0000',
633
- 'advancedValidationSettings' => false,
634
- 'highlightBorderColor' => '#ff0000',
635
- 'validationMsgFontSize' => '',
636
- 'validationMsgBgColor' => '',
637
- 'validationMsgFontSizeType' => 'px',
638
- 'validationMsgFontSizeTablet' => '',
639
- 'validationMsgFontSizeMobile' => '',
640
- 'validationMsgFontFamily' => '',
641
- 'validationMsgFontWeight' => '',
642
- 'validationMsgFontSubset' => '',
643
- 'validationMsgLineHeightType' => 'em',
644
- 'validationMsgLineHeight' => '',
645
- 'validationMsgLineHeightTablet' => '',
646
- 'validationMsgLineHeightMobile' => '',
647
- 'validationMsgLoadGoogleFonts' => false,
648
- 'successMsgBorderColor' => '',
649
- 'errorMsgColor' => '',
650
- 'errorMsgBgColor' => '',
651
- 'errorMsgBorderColor' => '',
652
- 'msgBorderSize' => '',
653
- 'msgBorderRadius' => '',
654
- 'msgVrPadding' => '',
655
- 'msgHrPadding' => '',
656
- 'msgFontSize' => '',
657
- 'msgFontSizeType' => 'px',
658
- 'msgFontSizeTablet' => '',
659
- 'msgFontSizeMobile' => '',
660
- 'msgFontFamily' => '',
661
- 'msgFontWeight' => '',
662
- 'msgFontSubset' => '',
663
- 'msgLineHeightType' => 'em',
664
- 'msgLineHeight' => '',
665
- 'msgLineHeightTablet' => '',
666
- 'msgLineHeightMobile' => '',
667
- 'msgLoadGoogleFonts' => false,
668
- 'radioCheckBorderRadiusType' => 'px',
669
- 'msgBorderRadiusType' => 'px',
670
- 'fieldBorderRadiusType' => 'px',
671
- 'buttonBorderRadiusType' => 'px',
672
- 'successMsgColor' => '',
673
- 'successMsgFontSize' => '',
674
- 'successMsgFontSizeType' => 'px',
675
- 'successMsgFontSizeTablet' => '',
676
- 'successMsgFontSizeMobile' => '',
677
- 'successMsgFontFamily' => '',
678
- 'successMsgFontWeight' => '',
679
- 'successMsgFontSubset' => '',
680
- 'successMsgLineHeightType' => 'em',
681
- 'successMsgLineHeight' => '',
682
- 'successMsgLineHeightTablet' => '',
683
- 'successMsgLineHeightMobile' => '',
684
- 'successMsgLoadGoogleFonts' => false,
685
- ),
686
- ),
687
- 'uagb/content-timeline' => array(
688
- 'slug' => '',
689
- 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
690
- 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
691
- 'default' => true,
692
- 'js_assets' => array( 'uagb-timeline-js' ),
693
- 'attributes' => array(
694
- 'align' => 'center',
695
- 'headingColor' => '',
696
- 'subHeadingColor' => '',
697
- 'separatorBg' => '#eee',
698
- 'backgroundColor' => '#eee',
699
- 'separatorColor' => '#eee',
700
- 'separatorFillColor' => '#61ce70',
701
- 'separatorBorder' => '#eee',
702
- 'borderFocus' => '#5cb85c',
703
- 'horizontalSpace' => 10,
704
- 'verticalSpace' => 15,
705
- 'headFontSizeType' => 'px',
706
- 'headFontSize' => '',
707
- 'headFontSizeTablet' => '',
708
- 'headFontSizeMobile' => '',
709
- 'headFontFamily' => '',
710
- 'headFontWeight' => '',
711
- 'headFontSubset' => '',
712
- 'headLineHeightType' => 'em',
713
- 'headLineHeight' => '',
714
- 'headLineHeightTablet' => '',
715
- 'headLineHeightMobile' => '',
716
- 'headLoadGoogleFonts' => false,
717
- 'timelinAlignment' => 'center',
718
- 'arrowlinAlignment' => 'center',
719
- 'subHeadFontSizeType' => 'px',
720
- 'subHeadFontSize' => '',
721
- 'subHeadFontSizeTablet' => '',
722
- 'subHeadFontSizeMobile' => '',
723
- 'subHeadFontFamily' => '',
724
- 'subHeadFontWeight' => '',
725
- 'subHeadFontSubset' => '',
726
- 'subHeadLineHeightType' => 'em',
727
- 'subHeadLineHeight' => '',
728
- 'subHeadLineHeightTablet' => '',
729
- 'subHeadLineHeightMobile' => '',
730
- 'subHeadLoadGoogleFonts' => false,
731
- 'headSpace' => 5,
732
- 'separatorwidth' => 3,
733
- 'borderwidth' => 0,
734
- 'iconColor' => '#333',
735
- 'iconFocus' => '#fff',
736
- 'iconBgFocus' => '#61ce70',
737
- 'dateColor' => '#333',
738
- 'dateFontsizeType' => 'px',
739
- 'dateFontsize' => '12',
740
- 'dateFontsizeTablet' => '',
741
- 'dateFontsizeMobile' => '',
742
- 'dateFontFamily' => '',
743
- 'dateFontWeight' => '',
744
- 'dateFontSubset' => '',
745
- 'dateLineHeightType' => 'em',
746
- 'dateLineHeight' => '',
747
- 'dateLineHeightTablet' => '',
748
- 'dateLineHeightMobile' => '',
749
- 'dateLoadGoogleFonts' => false,
750
- 'connectorBgsize' => 35,
751
- 'dateBottomspace' => 5,
752
- 'borderRadius' => 2,
753
- 'bgPadding' => 20,
754
- 'iconSize' => 12,
755
- 'stack' => 'tablet',
756
- ),
757
- ),
758
- 'uagb/google-map' => array(
759
- 'slug' => '',
760
- 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
761
- 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
762
- 'default' => true,
763
- 'attributes' => array(
764
- 'block_id' => '',
765
- 'height' => '300',
766
- ),
767
- ),
768
- 'uagb/icon-list' => array(
769
- 'slug' => '',
770
- 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
771
- 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
772
- 'default' => true,
773
- 'attributes' => array(
774
- 'align' => 'left',
775
- 'icon_count' => '1',
776
- 'icons' => array(
777
- array(
778
- 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
779
- 'image_icon' => 'icon',
780
- 'icon' => 'fab fa-facebook',
781
- 'image' => '',
782
- 'icon_color' => '#3a3a3a',
783
- 'icon_hover_color' => '#3a3a3a',
784
- 'icon_bg_color' => '',
785
- 'icon_bg_hover_color' => '',
786
- 'icon_border_color' => '',
787
- 'icon_border_hover_color' => '',
788
- 'label_color' => '',
789
- 'label_hover_color' => '',
790
- 'link' => '#',
791
- 'target' => false,
792
- ),
793
- ),
794
- 'gap' => '10',
795
- 'inner_gap' => '15',
796
- 'size' => '16',
797
- 'sizeType' => 'px',
798
- 'sizeMobile' => '',
799
- 'sizeTablet' => '',
800
- 'bgSize' => '0',
801
- 'border' => '0',
802
- 'borderRadius' => '0',
803
- 'fontSize' => '',
804
- 'fontSizeType' => 'px',
805
- 'fontSizeMobile' => '',
806
- 'fontSizeTablet' => '',
807
- 'lineHeight' => '',
808
- 'lineHeightType' => 'em',
809
- 'lineHeightMobile' => '',
810
- 'lineHeightTablet' => '',
811
- 'fontFamily' => '',
812
- 'fontWeight' => '',
813
- 'fontSubset' => '',
814
- 'loadGoogleFonts' => false,
815
- 'icon_layout' => 'vertical',
816
- 'stack' => 'none',
817
- ),
818
- ),
819
- 'uagb/info-box' => array(
820
- 'slug' => '',
821
- 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
822
- 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
823
- 'default' => true,
824
- 'attributes' => array(
825
- 'headingAlign' => 'center',
826
- 'headingColor' => '',
827
- 'subHeadingColor' => '',
828
- 'prefixColor' => '',
829
- 'prefixFontSize' => '',
830
- 'prefixFontSizeType' => 'px',
831
- 'prefixFontSizeTablet' => '',
832
- 'prefixFontSizeMobile' => '',
833
- 'prefixFontFamily' => '',
834
- 'prefixFontWeight' => '',
835
- 'prefixFontSubset' => '',
836
- 'prefixLineHeightType' => 'em',
837
- 'prefixLineHeight' => '',
838
- 'prefixLineHeightTablet' => '',
839
- 'prefixLineHeightMobile' => '',
840
- 'prefixLoadGoogleFonts' => false,
841
- 'headFontSize' => '',
842
- 'headFontSizeType' => 'px',
843
- 'headFontSizeTablet' => '',
844
- 'headFontSizeMobile' => '',
845
- 'headFontFamily' => '',
846
- 'headFontWeight' => '',
847
- 'headFontSubset' => '',
848
- 'headLineHeightType' => 'em',
849
- 'headLineHeight' => '',
850
- 'headLineHeightTablet' => '',
851
- 'headLineHeightMobile' => '',
852
- 'headLoadGoogleFonts' => false,
853
- 'subHeadFontSize' => '',
854
- 'subHeadFontSizeType' => 'px',
855
- 'subHeadFontSizeTablet' => '',
856
- 'subHeadFontSizeMobile' => '',
857
- 'subHeadFontFamily' => '',
858
- 'subHeadFontWeight' => '',
859
- 'subHeadFontSubset' => '',
860
- 'subHeadLineHeightType' => 'em',
861
- 'subHeadLineHeight' => '',
862
- 'subHeadLineHeightTablet' => '',
863
- 'subHeadLineHeightMobile' => '',
864
- 'subHeadLoadGoogleFonts' => false,
865
- 'separatorWidth' => '',
866
- 'separatorHeight' => '',
867
- 'separatorWidthType' => '%',
868
- 'headSpace' => '10',
869
- 'separatorSpace' => '10',
870
- 'subHeadSpace' => '10',
871
- 'icon' => '',
872
- 'iconColor' => '#333',
873
- 'iconSize' => '40',
874
- 'iconimgPosition' => 'above-title',
875
- 'block_id' => '',
876
- 'iconHover' => '',
877
- 'iconimgBorderRadius' => '0',
878
- 'seperatorStyle' => 'solid',
879
- 'seperatorWidth' => '30',
880
- 'seperatorColor' => '#333',
881
- 'seperatorThickness' => '2',
882
- 'ctaLinkColor' => '#333',
883
- 'ctaFontSize' => '',
884
- 'ctaFontSizeType' => 'px',
885
- 'ctaFontSizeMobile' => '',
886
- 'ctaFontSizeTablet' => '',
887
- 'ctaFontFamily' => '',
888
- 'ctaFontWeight' => '',
889
- 'ctaFontSubset' => '',
890
- 'ctaLoadGoogleFonts' => false,
891
- 'ctaBtnLinkColor' => '#333',
892
- 'ctaBgColor' => 'transparent',
893
- 'ctaBtnVertPadding' => '10',
894
- 'ctaBtnHrPadding' => '14',
895
- 'ctaBorderStyle' => 'solid',
896
- 'ctaBorderColor' => '#333',
897
- 'ctaBorderWidth' => '1',
898
- 'ctaBorderRadius' => '0',
899
- 'prefixSpace' => '5',
900
- 'iconLeftMargin' => '5',
901
- 'iconRightMargin' => '10',
902
- 'iconTopMargin' => '5',
903
- 'iconBottomMargin' => '5',
904
- 'imageSize' => 'thumbnail',
905
- 'imageWidthType' => true,
906
- 'imageWidth' => '120',
907
- 'seperatorSpace' => '15',
908
- 'ctaLinkHoverColor' => '',
909
- 'ctaBgHoverColor' => '',
910
- 'ctaBorderhoverColor' => '',
911
- 'ctaIconSpace' => '5',
912
- ),
913
- ),
914
- 'uagb/marketing-button' => array(
915
- 'slug' => '',
916
- 'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
917
- 'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
918
- 'default' => true,
919
- 'attributes' => array(
920
- 'block_id' => '',
921
- 'align' => 'center',
922
- 'textAlign' => 'center',
923
- 'link' => '#',
924
- 'linkTarget' => false,
925
- 'titleSpace' => 0,
926
- 'borderStyle' => 'solid',
927
- 'borderWidth' => 1,
928
- 'borderRadius' => '',
929
- 'borderColor' => '#333',
930
- 'borderHoverColor' => '',
931
- 'vPadding' => 8,
932
- 'hPadding' => 20,
933
- 'vPaddingMobile' => '',
934
- 'hPaddingMobile' => '',
935
- 'vPaddingTablet' => '',
936
- 'hPaddingTablet' => '',
937
- 'paddingType' => 'px',
938
- 'backgroundType' => 'color',
939
- 'backgroundColor' => '#eeeeee',
940
- 'backgroundHoverColor' => '',
941
- 'gradientColor1' => '',
942
- 'gradientColor2' => '',
943
- 'gradientType' => 'linear',
944
- 'gradientLocation1' => 0,
945
- 'gradientLocation2' => 100,
946
- 'gradientAngle' => 0,
947
- 'backgroundOpacity' => '',
948
- 'backgroundHoverOpacity' => '',
949
- 'titleColor' => '#333',
950
- 'titleHoverColor' => '',
951
- 'iconColor' => '#333',
952
- 'iconHoverColor' => '',
953
- 'iconPosition' => 'before',
954
- 'prefixColor' => '#333',
955
- 'prefixHoverColor' => '',
956
- 'iconSpace' => 10,
957
- 'titleLoadGoogleFonts' => false,
958
- 'titleFontFamily' => '',
959
- 'titleFontWeight' => '',
960
- 'titleFontSubset' => '',
961
- 'titleFontSize' => 20,
962
- 'titleFontSizeType' => 'px',
963
- 'titleFontSizeTablet' => 20,
964
- 'titleFontSizeMobile' => 20,
965
- 'titleLineHeightType' => 'em',
966
- 'titleLineHeight' => '',
967
- 'titleLineHeightTablet' => '',
968
- 'titleLineHeightMobile' => '',
969
- 'prefixLoadGoogleFonts' => false,
970
- 'prefixFontFamily' => '',
971
- 'prefixFontWeight' => '',
972
- 'prefixFontSubset' => '',
973
- 'prefixFontSize' => 14,
974
- 'prefixFontSizeType' => 'px',
975
- 'prefixFontSizeTablet' => 14,
976
- 'prefixFontSizeMobile' => 14,
977
- 'prefixLineHeightType' => 'em',
978
- 'prefixLineHeight' => '',
979
- 'prefixLineHeightTablet' => '',
980
- 'prefixLineHeightMobile' => '',
981
- 'iconFontSize' => 20,
982
- 'iconFontSizeType' => 'px',
983
- 'iconFontSizeTablet' => 20,
984
- 'iconFontSizeMobile' => 20,
985
- ),
986
- ),
987
- 'uagb/buttons' => array(
988
- 'slug' => '',
989
- 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
990
- 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
991
- 'default' => true,
992
- 'attributes' => array(
993
- 'block_id' => '',
994
- 'align' => 'center',
995
- 'btn_count' => '2',
996
- 'buttons' => UAGB_Helper::get_button_defaults(),
997
- 'gap' => 10,
998
- 'stack' => 'none',
999
- 'fontFamily' => '',
1000
- 'fontWeight' => '',
1001
- 'loadGoogleFonts' => false,
1002
- 'fontSubset' => '',
1003
- ),
1004
- ),
1005
- 'uagb/post-carousel' => array(
1006
- 'slug' => '',
1007
- 'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
1008
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
1009
- 'default' => true,
1010
- 'js_assets' => array( 'uagb-slick-js', 'uagb-carousel-js', 'uagb-imagesloaded' ),
1011
- 'css_assets' => array( 'uagb-slick-css' ),
1012
- 'attributes' => array(
1013
- 'align' => 'left',
1014
- 'rowGap' => '20',
1015
- 'columnGap' => '20',
1016
- 'bgColor' => '#e4e4e4',
1017
- 'titleColor' => '#3b3b3b',
1018
- 'titleTag' => 'h3',
1019
- 'titleFontSize' => '',
1020
- 'titleFontSizeType' => 'px',
1021
- 'titleFontSizeMobile' => '',
1022
- 'titleFontSizeTablet' => '',
1023
- 'titleFontFamily' => '',
1024
- 'titleFontWeight' => '',
1025
- 'titleFontSubset' => '',
1026
- 'titleLineHeightType' => 'em',
1027
- 'titleLineHeight' => '',
1028
- 'titleLineHeightTablet' => '',
1029
- 'titleLineHeightMobile' => '',
1030
- 'titleLoadGoogleFonts' => false,
1031
- 'metaFontSize' => '',
1032
- 'metaFontSizeType' => 'px',
1033
- 'metaFontSizeMobile' => '',
1034
- 'metaFontSizeTablet' => '',
1035
- 'metaFontFamily' => '',
1036
- 'metaFontWeight' => '',
1037
- 'metaFontSubset' => '',
1038
- 'metaLineHeightType' => 'em',
1039
- 'metaLineHeight' => '',
1040
- 'metaLineHeightTablet' => '',
1041
- 'metaLineHeightMobile' => '',
1042
- 'metaLoadGoogleFonts' => false,
1043
- 'excerptFontSize' => '',
1044
- 'excerptFontSizeType' => 'px',
1045
- 'excerptFontSizeMobile' => '',
1046
- 'excerptFontSizeTablet' => '',
1047
- 'excerptFontFamily' => '',
1048
- 'excerptFontWeight' => '',
1049
- 'excerptFontSubset' => '',
1050
- 'excerptLineHeightType' => 'em',
1051
- 'excerptLineHeight' => '',
1052
- 'excerptLineHeightTablet' => '',
1053
- 'excerptLineHeightMobile' => '',
1054
- 'excerptLoadGoogleFonts' => false,
1055
- 'ctaFontSize' => '',
1056
- 'ctaFontSizeType' => 'px',
1057
- 'ctaFontSizeTablet' => '',
1058
- 'ctaFontSizeMobile' => '',
1059
- 'ctaFontFamily' => '',
1060
- 'ctaFontWeight' => '',
1061
- 'ctaFontSubset' => '',
1062
- 'ctaLineHeightType' => 'em',
1063
- 'ctaLineHeight' => '',
1064
- 'ctaLineHeightTablet' => '',
1065
- 'ctaLineHeightMobile' => '',
1066
- 'ctaLoadGoogleFonts' => false,
1067
- 'metaColor' => '#777777',
1068
- 'excerptColor' => '',
1069
- 'ctaColor' => '#ffffff',
1070
- 'ctaBgColor' => '#333333',
1071
- 'ctaHColor' => '',
1072
- 'ctaBgHColor' => '',
1073
- 'contentPadding' => '20',
1074
- 'contentPaddingMobile' => '',
1075
- 'btnVPadding' => '5',
1076
- 'btnHPadding' => '10',
1077
- 'titleBottomSpace' => '15',
1078
- 'metaBottomSpace' => '15',
1079
- 'excerptBottomSpace' => '25',
1080
- 'arrowSize' => '20',
1081
- 'arrowColor' => '#aaaaaa',
1082
- 'arrowDots' => '',
1083
- 'arrowBorderSize' => '1',
1084
- 'arrowBorderRadius' => '0',
1085
- 'overlayOpacity' => '50',
1086
- 'bgOverlayColor' => '#ffffff',
1087
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1088
- 'borderWidth' => '1',
1089
- 'borderStyle' => 'none',
1090
- 'borderColor' => '',
1091
- 'borderHColor' => '',
1092
- 'borderRadius' => '0',
1093
- ),
1094
- ),
1095
- 'uagb/post-grid' => array(
1096
- 'slug' => '',
1097
- 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1098
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
1099
- 'default' => true,
1100
- 'attributes' => array(
1101
- 'align' => 'left',
1102
- 'rowGap' => '20',
1103
- 'columnGap' => '20',
1104
- 'bgColor' => '#e4e4e4',
1105
- 'titleColor' => '#3b3b3b',
1106
- 'titleTag' => 'h3',
1107
- 'titleFontSize' => '',
1108
- 'titleFontSizeType' => 'px',
1109
- 'titleFontSizeMobile' => '',
1110
- 'titleFontSizeTablet' => '',
1111
- 'titleFontFamily' => '',
1112
- 'titleFontWeight' => '',
1113
- 'titleFontSubset' => '',
1114
- 'titleLineHeightType' => 'em',
1115
- 'titleLineHeight' => '',
1116
- 'titleLineHeightTablet' => '',
1117
- 'titleLineHeightMobile' => '',
1118
- 'titleLoadGoogleFonts' => false,
1119
- 'metaFontSize' => '',
1120
- 'metaFontSizeType' => 'px',
1121
- 'metaFontSizeMobile' => '',
1122
- 'metaFontSizeTablet' => '',
1123
- 'metaFontFamily' => '',
1124
- 'metaFontWeight' => '',
1125
- 'metaFontSubset' => '',
1126
- 'metaLineHeightType' => 'em',
1127
- 'metaLineHeight' => '',
1128
- 'metaLineHeightTablet' => '',
1129
- 'metaLineHeightMobile' => '',
1130
- 'metaLoadGoogleFonts' => false,
1131
- 'excerptFontSize' => '',
1132
- 'excerptFontSizeType' => 'px',
1133
- 'excerptFontSizeMobile' => '',
1134
- 'excerptFontSizeTablet' => '',
1135
- 'excerptFontFamily' => '',
1136
- 'excerptFontWeight' => '',
1137
- 'excerptFontSubset' => '',
1138
- 'excerptLineHeightType' => 'em',
1139
- 'excerptLineHeight' => '',
1140
- 'excerptLineHeightTablet' => '',
1141
- 'excerptLineHeightMobile' => '',
1142
- 'excerptLoadGoogleFonts' => false,
1143
- 'ctaFontSize' => '',
1144
- 'ctaFontSizeType' => 'px',
1145
- 'ctaFontSizeTablet' => '',
1146
- 'ctaFontSizeMobile' => '',
1147
- 'ctaFontFamily' => '',
1148
- 'ctaFontWeight' => '',
1149
- 'ctaFontSubset' => '',
1150
- 'ctaLineHeightType' => 'em',
1151
- 'ctaLineHeight' => '',
1152
- 'ctaLineHeightTablet' => '',
1153
- 'ctaLineHeightMobile' => '',
1154
- 'ctaLoadGoogleFonts' => false,
1155
- 'metaColor' => '#777777',
1156
- 'excerptColor' => '',
1157
- 'ctaColor' => '#ffffff',
1158
- 'ctaBgColor' => '#333333',
1159
- 'ctaHColor' => '',
1160
- 'ctaBgHColor' => '',
1161
- 'contentPadding' => '20',
1162
- 'contentPaddingMobile' => '',
1163
- 'btnVPadding' => '5',
1164
- 'btnHPadding' => '10',
1165
- 'titleBottomSpace' => '15',
1166
- 'metaBottomSpace' => '15',
1167
- 'excerptBottomSpace' => '25',
1168
- 'overlayOpacity' => '50',
1169
- 'bgOverlayColor' => '#ffffff',
1170
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1171
- 'borderWidth' => '1',
1172
- 'borderStyle' => 'none',
1173
- 'borderColor' => '',
1174
- 'borderHColor' => '',
1175
- 'borderRadius' => '0',
1176
- ),
1177
- ),
1178
- 'uagb/post-masonry' => array(
1179
- 'slug' => '',
1180
- 'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1181
- 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
1182
- 'default' => true,
1183
- 'js_assets' => array( 'uagb-masonry', 'uagb-imagesloaded' ),
1184
- 'attributes' => array(
1185
- 'align' => 'left',
1186
- 'rowGap' => '20',
1187
- 'columnGap' => '20',
1188
- 'bgColor' => '#e4e4e4',
1189
- 'titleColor' => '#3b3b3b',
1190
- 'titleTag' => 'h3',
1191
- 'titleFontSize' => '',
1192
- 'titleFontSizeType' => 'px',
1193
- 'titleFontSizeMobile' => '',
1194
- 'titleFontSizeTablet' => '',
1195
- 'titleFontFamily' => '',
1196
- 'titleFontWeight' => '',
1197
- 'titleFontSubset' => '',
1198
- 'titleLineHeightType' => 'em',
1199
- 'titleLineHeight' => '',
1200
- 'titleLineHeightTablet' => '',
1201
- 'titleLineHeightMobile' => '',
1202
- 'titleLoadGoogleFonts' => false,
1203
- 'metaFontSize' => '',
1204
- 'metaFontSizeType' => 'px',
1205
- 'metaFontSizeMobile' => '',
1206
- 'metaFontSizeTablet' => '',
1207
- 'metaFontFamily' => '',
1208
- 'metaFontWeight' => '',
1209
- 'metaFontSubset' => '',
1210
- 'metaLineHeightType' => 'em',
1211
- 'metaLineHeight' => '',
1212
- 'metaLineHeightTablet' => '',
1213
- 'metaLineHeightMobile' => '',
1214
- 'metaLoadGoogleFonts' => false,
1215
- 'excerptFontSize' => '',
1216
- 'excerptFontSizeType' => 'px',
1217
- 'excerptFontSizeMobile' => '',
1218
- 'excerptFontSizeTablet' => '',
1219
- 'excerptFontFamily' => '',
1220
- 'excerptFontWeight' => '',
1221
- 'excerptFontSubset' => '',
1222
- 'excerptLineHeightType' => 'em',
1223
- 'excerptLineHeight' => '',
1224
- 'excerptLineHeightTablet' => '',
1225
- 'excerptLineHeightMobile' => '',
1226
- 'excerptLoadGoogleFonts' => false,
1227
- 'ctaFontSize' => '',
1228
- 'ctaFontSizeType' => 'px',
1229
- 'ctaFontSizeTablet' => '',
1230
- 'ctaFontSizeMobile' => '',
1231
- 'ctaFontFamily' => '',
1232
- 'ctaFontWeight' => '',
1233
- 'ctaFontSubset' => '',
1234
- 'ctaLineHeightType' => 'em',
1235
- 'ctaLineHeight' => '',
1236
- 'ctaLineHeightTablet' => '',
1237
- 'ctaLineHeightMobile' => '',
1238
- 'ctaLoadGoogleFonts' => false,
1239
- 'metaColor' => '#777777',
1240
- 'excerptColor' => '',
1241
- 'ctaColor' => '#ffffff',
1242
- 'ctaBgColor' => '#333333',
1243
- 'ctaHColor' => '',
1244
- 'ctaBgHColor' => '',
1245
- 'contentPadding' => '20',
1246
- 'contentPaddingMobile' => '',
1247
- 'btnVPadding' => '5',
1248
- 'btnHPadding' => '10',
1249
- 'titleBottomSpace' => '15',
1250
- 'metaBottomSpace' => '15',
1251
- 'excerptBottomSpace' => '25',
1252
- 'overlayOpacity' => '50',
1253
- 'bgOverlayColor' => '#ffffff',
1254
- 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1255
- 'borderWidth' => '1',
1256
- 'borderStyle' => 'none',
1257
- 'borderColor' => '',
1258
- 'borderHColor' => '',
1259
- 'borderRadius' => '0',
1260
- ),
1261
- ),
1262
- 'uagb/post-timeline' => array(
1263
- 'slug' => '',
1264
- 'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1265
- 'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
1266
- 'default' => true,
1267
- 'js_assets' => array( 'uagb-timeline-js' ),
1268
- 'attributes' => array(
1269
- 'align' => 'center',
1270
- 'headingColor' => '',
1271
- 'subHeadingColor' => '',
1272
- 'separatorBg' => '#eee',
1273
- 'backgroundColor' => '#eee',
1274
- 'separatorColor' => '#eee',
1275
- 'separatorFillColor' => '#61ce70',
1276
- 'separatorBorder' => '#eee',
1277
- 'borderFocus' => '#5cb85c',
1278
- 'horizontalSpace' => 10,
1279
- 'verticalSpace' => 15,
1280
- 'headFontSizeType' => 'px',
1281
- 'headFontSize' => '',
1282
- 'headFontSizeTablet' => '',
1283
- 'headFontSizeMobile' => '',
1284
- 'headFontFamily' => '',
1285
- 'headFontWeight' => '',
1286
- 'headFontSubset' => '',
1287
- 'headLineHeightType' => 'em',
1288
- 'headLineHeight' => '',
1289
- 'headLineHeightTablet' => '',
1290
- 'headLineHeightMobile' => '',
1291
- 'headLoadGoogleFonts' => false,
1292
- 'timelinAlignment' => 'center',
1293
- 'arrowlinAlignment' => 'center',
1294
- 'subHeadFontSizeType' => 'px',
1295
- 'subHeadFontSize' => '',
1296
- 'subHeadFontSizeTablet' => '',
1297
- 'subHeadFontSizeMobile' => '',
1298
- 'subHeadFontFamily' => '',
1299
- 'subHeadFontWeight' => '',
1300
- 'subHeadFontSubset' => '',
1301
- 'subHeadLineHeightType' => 'em',
1302
- 'subHeadLineHeight' => '',
1303
- 'subHeadLineHeightTablet' => '',
1304
- 'subHeadLineHeightMobile' => '',
1305
- 'subHeadLoadGoogleFonts' => false,
1306
- 'headSpace' => 5,
1307
- 'contentSpace' => 5,
1308
- 'authorSpace' => 5,
1309
- 'separatorwidth' => 3,
1310
- 'borderwidth' => 0,
1311
- 'iconColor' => '#333',
1312
- 'iconFocus' => '#fff',
1313
- 'iconBgFocus' => '#61ce70',
1314
- 'dateColor' => '#333',
1315
- 'dateFontsizeType' => 'px',
1316
- 'dateFontsize' => 12,
1317
- 'dateFontsizeTablet' => '',
1318
- 'dateFontsizeMobile' => '',
1319
- 'dateFontFamily' => '',
1320
- 'dateFontWeight' => '',
1321
- 'dateFontSubset' => '',
1322
- 'dateLineHeightType' => 'em',
1323
- 'dateLineHeight' => '',
1324
- 'dateLineHeightTablet' => '',
1325
- 'dateLineHeightMobile' => '',
1326
- 'dateLoadGoogleFonts' => false,
1327
- 'connectorBgsize' => 35,
1328
- 'dateBottomspace' => 5,
1329
- 'borderRadius' => 2,
1330
- 'bgPadding' => 20,
1331
- 'contentPadding' => 10,
1332
- 'iconSize' => 12,
1333
- 'stack' => 'tablet',
1334
- 'ctaColor' => '#fff',
1335
- 'authorColor' => '#333',
1336
- 'ctaFontSizeType' => 'px',
1337
- 'ctaFontSize' => '',
1338
- 'ctaFontSizeTablet' => '',
1339
- 'ctaFontSizeMobile' => '',
1340
- 'ctaFontFamily' => '',
1341
- 'ctaFontWeight' => '',
1342
- 'ctaFontSubset' => '',
1343
- 'ctaLineHeightType' => 'em',
1344
- 'ctaLineHeight' => '',
1345
- 'ctaLineHeightTablet' => '',
1346
- 'ctaLineHeightMobile' => '',
1347
- 'ctaLoadGoogleFonts' => false,
1348
- 'authorFontSizeType' => 'px',
1349
- 'authorFontSize' => 11,
1350
- 'authorFontSizeTablet' => '',
1351
- 'authorFontSizeMobile' => '',
1352
- 'authorFontFamily' => '',
1353
- 'authorFontWeight' => '',
1354
- 'authorFontSubset' => '',
1355
- 'authorLineHeightType' => 'em',
1356
- 'authorLineHeight' => '',
1357
- 'authorLineHeightTablet' => '',
1358
- 'authorLineHeightMobile' => '',
1359
- 'authorLoadGoogleFonts' => false,
1360
- 'ctaBackground' => '#333',
1361
- ),
1362
- ),
1363
- 'uagb/restaurant-menu' => array(
1364
- 'slug' => '',
1365
- 'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1366
- 'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1367
- 'default' => true,
1368
- 'attributes' => array(
1369
- 'block_id' => '',
1370
- 'headingAlign' => 'left',
1371
- 'descColor' => '#333',
1372
- 'priceColor' => '#888888',
1373
- 'titleColor' => '#333',
1374
- 'imagePosition' => 'top',
1375
- 'imageAlignment' => 'top',
1376
- 'titleFontSize' => '',
1377
- 'titleFontSizeType' => 'px',
1378
- 'titleFontSizeMobile' => '',
1379
- 'titleFontSizeTablet' => '',
1380
- 'titleFontFamily' => '',
1381
- 'titleFontWeight' => '',
1382
- 'titleFontSubset' => '',
1383
- 'titleLineHeightType' => 'em',
1384
- 'titleLineHeight' => '',
1385
- 'titleLineHeightTablet' => '',
1386
- 'titleLineHeightMobile' => '',
1387
- 'titleLoadGoogleFonts' => false,
1388
- 'priceFontSize' => '',
1389
- 'priceFontSizeType' => 'px',
1390
- 'priceFontSizeMobile' => '',
1391
- 'priceFontSizeTablet' => '',
1392
- 'priceFontFamily' => '',
1393
- 'priceFontWeight' => '',
1394
- 'priceFontSubset' => '',
1395
- 'priceLineHeightType' => 'em',
1396
- 'priceLineHeight' => '',
1397
- 'priceLineHeightTablet' => '',
1398
- 'priceLineHeightMobile' => '',
1399
- 'priceLoadGoogleFonts' => false,
1400
- 'descFontSize' => '',
1401
- 'descFontSizeType' => 'px',
1402
- 'descFontSizeMobile' => '',
1403
- 'descFontSizeTablet' => '',
1404
- 'descFontFamily' => '',
1405
- 'descFontWeight' => '',
1406
- 'descFontSubset' => '',
1407
- 'descLineHeightType' => 'em',
1408
- 'descLineHeight' => '',
1409
- 'descLineHeightTablet' => '',
1410
- 'descLineHeightMobile' => '',
1411
- 'descLoadGoogleFonts' => false,
1412
- 'priceSpace' => 5,
1413
- 'descSpace' => 15,
1414
- 'titleSpace' => 10,
1415
- 'imgVrPadding' => 0,
1416
- 'imgHrPadding' => 0,
1417
- 'imgTopPadding' => 0,
1418
- 'imgBottomPadding' => 0,
1419
- 'iconImage' => '',
1420
- 'imageSize' => 'medium',
1421
- 'imageWidth' => '',
1422
- 'columns' => 2,
1423
- 'tcolumns' => 2,
1424
- 'mcolumns' => 1,
1425
- 'rowGap' => 10,
1426
- 'columnGap' => 10,
1427
- 'contentHrPadding' => 5,
1428
- 'contentVrPadding' => 5,
1429
- 'seperatorStyle' => 'dashed',
1430
- 'seperatorWidth' => '100',
1431
- 'seperatorThickness' => '1',
1432
- 'seperatorColor' => '#b2b4b5',
1433
- ),
1434
- ),
1435
- 'uagb/section' => array(
1436
- 'slug' => '',
1437
- 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
1438
- 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
1439
- 'default' => true,
1440
- 'attributes' => array(
1441
- 'topPadding' => '20',
1442
- 'bottomPadding' => '20',
1443
- 'leftPadding' => '20',
1444
- 'rightPadding' => '20',
1445
- 'topMargin' => '0',
1446
- 'bottomMargin' => '0',
1447
- 'leftMargin' => '0',
1448
- 'rightMargin' => '0',
1449
- 'topPaddingTablet' => '',
1450
- 'bottomPaddingTablet' => '',
1451
- 'leftPaddingTablet' => '',
1452
- 'rightPaddingTablet' => '',
1453
- 'topPaddingMobile' => '',
1454
- 'bottomPaddingMobile' => '',
1455
- 'leftPaddingMobile' => '',
1456
- 'rightPaddingMobile' => '',
1457
- 'topMarginMobile' => '',
1458
- 'bottomMarginMobile' => '',
1459
- 'leftMarginMobile' => '',
1460
- 'rightMarginMobile' => '',
1461
- 'topMarginTablet' => '',
1462
- 'bottomMarginTablet' => '',
1463
- 'leftMarginTablet' => '',
1464
- 'rightMarginTablet' => '',
1465
- 'contentWidth' => 'boxed',
1466
- 'width' => '900',
1467
- 'innerWidth' => '1140',
1468
- 'innerWidthType' => 'px',
1469
- 'tag' => 'section',
1470
- 'backgroundType' => 'none',
1471
- 'gradientColor1' => '',
1472
- 'gradientColor2' => '',
1473
- 'backgroundVideoColor' => '',
1474
- 'backgroundPosition' => 'center-center',
1475
- 'backgroundSize' => 'cover',
1476
- 'backgroundRepeat' => 'no-repeat',
1477
- 'backgroundAttachment' => 'scroll',
1478
- 'gradientType' => 'linear',
1479
- 'gradientLocation1' => '0',
1480
- 'gradientLocation2' => '100',
1481
- 'gradientAngle' => '0',
1482
- 'gradientPosition' => 'center center',
1483
- 'backgroundColor' => '',
1484
- 'backgroundOpacity' => '',
1485
- 'backgroundVideoOpacity' => '50',
1486
- 'backgroundImageColor' => '',
1487
- 'align' => 'center',
1488
- 'borderStyle' => 'none',
1489
- 'borderWidth' => '1',
1490
- 'borderRadius' => '',
1491
- 'borderColor' => '',
1492
- 'themeWidth' => false,
1493
- 'mobileMarginType' => 'px',
1494
- 'tabletMarginType' => 'px',
1495
- 'desktopMarginType' => 'px',
1496
- 'mobilePaddingType' => 'px',
1497
- 'tabletPaddingType' => 'px',
1498
- 'desktopPaddingType' => 'px',
1499
- 'overlayType' => 'color',
1500
- 'gradientOverlayColor1' => '',
1501
- 'gradientOverlayColor2' => '',
1502
- 'gradientOverlayType' => 'linear',
1503
- 'gradientOverlayLocation1' => '0',
1504
- 'gradientOverlayLocation2' => '100',
1505
- 'gradientOverlayAngle' => '0',
1506
- 'gradientOverlayPosition' => 'center center',
1507
- ),
1508
- ),
1509
- 'uagb/social-share' => array(
1510
- 'slug' => '',
1511
- 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
1512
- 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
1513
- 'default' => true,
1514
- 'attributes' => array(
1515
- 'align' => 'center',
1516
- 'social_count' => '1',
1517
- 'socials' => array(
1518
- array(
1519
- 'type' => 'facebook',
1520
- 'image_icon' => 'icon',
1521
- 'icon' => 'fab fa-facebook',
1522
- 'image' => '',
1523
- 'icon_color' => '#3a3a3a',
1524
- 'icon_hover_color' => '#3a3a3a',
1525
- 'icon_bg_color' => '',
1526
- 'icon_bg_hover_color' => '',
1527
- ),
1528
- ),
1529
- 'gap' => '10',
1530
- 'size' => '40',
1531
- 'sizeType' => 'px',
1532
- 'sizeMobile' => '',
1533
- 'sizeTablet' => '',
1534
- 'bgSize' => '0',
1535
- 'bgSizeType' => 'px',
1536
- 'bgSizeMobile' => '',
1537
- 'bgSizeTablet' => '',
1538
- 'borderRadius' => '0',
1539
- 'social_layout' => 'horizontal',
1540
- 'stack' => 'none',
1541
- ),
1542
- ),
1543
- 'uagb/table-of-contents' => array(
1544
- 'slug' => '',
1545
- 'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
1546
- 'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
1547
- 'default' => true,
1548
- 'js_assets' => array( 'uagb-table-of-contents' ),
1549
- 'attributes' => array(
1550
- 'block_id' => '',
1551
- 'heading' => 'Table Of Contents',
1552
- 'disableBullets' => false,
1553
- 'smoothScroll' => true,
1554
- 'smoothScrollOffset' => 30,
1555
- 'scrollToTop' => false,
1556
- 'scrollToTopColor' => '',
1557
- 'scrollToTopBgColor' => '',
1558
- 'considerH1' => true,
1559
- 'considerH2' => true,
1560
- 'considerH3' => true,
1561
- 'considerH4' => true,
1562
- 'considerH5' => true,
1563
- 'considerH6' => true,
1564
- 'customWidth' => false,
1565
- 'widthDesktop' => 100,
1566
- 'widthTablet' => '',
1567
- 'widthMobile' => '',
1568
- 'tColumnsDesktop' => 1,
1569
- 'tColumnsTablet' => 1,
1570
- 'tColumnsMobile' => 1,
1571
- 'widthTypeDesktop' => '%',
1572
- 'widthTypeTablet' => '%',
1573
- 'widthTypeMobile' => '%',
1574
- 'makeCollapsible' => false,
1575
- 'initialCollapse' => false,
1576
- 'icon' => 'fa-angle-down',
1577
- 'iconColor' => '',
1578
- 'iconSize' => '',
1579
- 'align' => 'left',
1580
- 'linkColor' => '#333',
1581
- 'vPaddingDesktop' => 30,
1582
- 'vPaddingTablet' => '',
1583
- 'vPaddingMobile' => '',
1584
- 'hPaddingDesktop' => 30,
1585
- 'hPaddingTablet' => '',
1586
- 'hPaddingMobile' => '',
1587
- 'paddingTypeDesktop' => 'px',
1588
- 'paddingTypeTablet' => 'px',
1589
- 'paddingTypeMobile' => 'px',
1590
- 'contentPaddingDesktop' => '',
1591
- 'contentPaddingTablet' => '',
1592
- 'contentPaddingMobile' => '',
1593
- 'contentPaddingTypeDesktop' => 'px',
1594
- 'contentPaddingTypeTablet' => 'px',
1595
- 'contentPaddingTypeMobile' => 'px',
1596
- 'headingBottom' => '',
1597
- 'backgroundColor' => '#eee',
1598
- 'linkHoverColor' => '',
1599
- 'headingColor' => '',
1600
- 'borderStyle' => 'solid',
1601
- 'borderWidth' => 1,
1602
- 'borderRadius' => '',
1603
- 'borderColor' => '#333',
1604
- 'loadGoogleFonts' => false,
1605
- 'fontFamily' => '',
1606
- 'fontWeight' => '',
1607
- 'fontSubset' => '',
1608
- 'fontSize' => '',
1609
- 'fontSizeType' => 'px',
1610
- 'fontSizeTablet' => '',
1611
- 'fontSizeMobile' => '',
1612
- 'lineHeightType' => 'em',
1613
- 'lineHeight' => '',
1614
- 'lineHeightTablet' => '',
1615
- 'lineHeightMobile' => '',
1616
- 'headingLoadGoogleFonts' => false,
1617
- 'headingFontFamily' => '',
1618
- 'headingFontWeight' => '500',
1619
- 'headingFontSubset' => '',
1620
- 'headingFontSize' => 20,
1621
- 'headingFontSizeType' => 'px',
1622
- 'headingFontSizeTablet' => '',
1623
- 'headingFontSizeMobile' => '',
1624
- 'headingLineHeightType' => 'em',
1625
- 'headingLineHeight' => '',
1626
- 'headingLineHeightTablet' => '',
1627
- 'headingLineHeightMobile' => '',
1628
- ),
1629
- ),
1630
- 'uagb/team' => array(
1631
- 'slug' => '',
1632
- 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
1633
- 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
1634
- 'default' => true,
1635
- 'attributes' => array(
1636
- 'block_id' => '',
1637
- 'align' => 'center',
1638
- 'tag' => 'h3',
1639
- 'titleColor' => '',
1640
- 'prefixColor' => '#888888',
1641
- 'descColor' => '',
1642
- 'socialColor' => '#333',
1643
- 'socialHoverColor' => '',
1644
- 'titleFontFamily' => '',
1645
- 'titleLoadGoogleFonts' => false,
1646
- 'titleFontWeight' => '',
1647
- 'titleFontSubset' => '',
1648
- 'titleFontSize' => '',
1649
- 'titleFontSizeType' => 'px',
1650
- 'titleFontSizeTablet' => '',
1651
- 'titleFontSizeMobile' => '',
1652
- 'titleLineHeight' => '',
1653
- 'titleLineHeightType' => 'em',
1654
- 'titleLineHeightTablet' => '',
1655
- 'titleLineHeightMobile' => '',
1656
- 'prefixFontFamily' => '',
1657
- 'prefixLoadGoogleFonts' => false,
1658
- 'prefixFontWeight' => '',
1659
- 'prefixFontSubset' => '',
1660
- 'prefixFontSize' => 15,
1661
- 'prefixFontSizeType' => 'px',
1662
- 'prefixFontSizeTablet' => '',
1663
- 'prefixFontSizeMobile' => '',
1664
- 'prefixLineHeight' => '',
1665
- 'prefixLineHeightType' => 'em',
1666
- 'prefixLineHeightTablet' => '',
1667
- 'prefixLineHeightMobile' => '',
1668
- 'descFontFamily' => '',
1669
- 'descLoadGoogleFonts' => false,
1670
- 'descFontWeight' => '',
1671
- 'descFontSubset' => '',
1672
- 'descFontSize' => 15,
1673
- 'descFontSizeType' => 'px',
1674
- 'descFontSizeTablet' => '',
1675
- 'descFontSizeMobile' => '',
1676
- 'descLineHeight' => '',
1677
- 'descLineHeightType' => 'em',
1678
- 'descLineHeightTablet' => '',
1679
- 'descLineHeightMobile' => '',
1680
- 'socialFontSize' => 20,
1681
- 'socialFontSizeType' => 'px',
1682
- 'socialFontSizeMobile' => '',
1683
- 'socialFontSizeTablet' => '',
1684
- 'image' => '',
1685
- 'imgStyle' => 'normal',
1686
- 'imgPosition' => 'above',
1687
- 'imgAlign' => 'top',
1688
- 'imgSiz' => 'thumbnail',
1689
- 'imgWidth' => 120,
1690
- 'titleSpace' => '',
1691
- 'prefixSpace' => '',
1692
- 'descSpace' => 10,
1693
- 'imgLeftMargin' => 20,
1694
- 'imgRightMargin' => 20,
1695
- 'imgTopMargin' => 15,
1696
- 'imgBottomMargin' => 15,
1697
- 'socialSpace' => 20,
1698
- 'headingTag' => 'h3',
1699
- ),
1700
- ),
1701
- 'uagb/testimonial' => array(
1702
- 'slug' => '',
1703
- 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
1704
- 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
1705
- 'default' => true,
1706
- 'js_assets' => array( 'uagb-slick-js' ),
1707
- 'css_assets' => array( 'uagb-slick-css' ),
1708
- 'attributes' => array(
1709
- 'headingAlign' => 'center',
1710
- 'companyColor' => '#888888',
1711
- 'descColor' => '#333',
1712
- 'authorColor' => '#333',
1713
- 'nameFontSizeType' => 'px',
1714
- 'nameFontSize' => '',
1715
- 'nameFontSizeTablet' => '',
1716
- 'nameFontSizeMobile' => '',
1717
- 'nameFontFamily' => '',
1718
- 'nameFontWeight' => '',
1719
- 'nameFontSubset' => '',
1720
- 'nameLineHeightType' => 'em',
1721
- 'nameLineHeight' => '',
1722
- 'nameLineHeightTablet' => '',
1723
- 'nameLineHeightMobile' => '',
1724
- 'nameLoadGoogleFonts' => false,
1725
- 'companyFontSizeType' => 'px',
1726
- 'companyFontSize' => '',
1727
- 'companyFontSizeTablet' => '',
1728
- 'companyFontSizeMobile' => '',
1729
- 'companyFontFamily' => '',
1730
- 'companyFontWeight' => '',
1731
- 'companyFontSubset' => '',
1732
- 'companyLineHeightType' => 'em',
1733
- 'companyLineHeight' => '',
1734
- 'companyLineHeightTablet' => '',
1735
- 'companyLineHeightMobile' => '',
1736
- 'companyLoadGoogleFonts' => false,
1737
- 'descFontSizeType' => 'px',
1738
- 'descFontSize' => '',
1739
- 'descFontSizeTablet' => '',
1740
- 'descFontSizeMobile' => '',
1741
- 'descFontFamily' => '',
1742
- 'descFontWeight' => '',
1743
- 'descFontSubset' => '',
1744
- 'descLineHeightType' => 'em',
1745
- 'descLineHeight' => '',
1746
- 'descLineHeightTablet' => '',
1747
- 'descLineHeightMobile' => '',
1748
- 'descLoadGoogleFonts' => false,
1749
- 'descSpace' => 15,
1750
- 'block_id' => '',
1751
- 'nameSpace' => 5,
1752
- 'imgVrPadding' => 10,
1753
- 'imgHrPadding' => 10,
1754
- 'imageWidth' => 60,
1755
- 'rowGap' => 10,
1756
- 'columnGap' => 10,
1757
- 'contentPadding' => 5,
1758
- 'backgroundColor' => '',
1759
- 'backgroundImage' => '',
1760
- 'backgroundPosition' => 'center-center',
1761
- 'backgroundSize' => 'cover',
1762
- 'backgroundRepeat' => 'no-repeat',
1763
- 'backgroundImageColor' => '',
1764
- 'backgroundOpacity' => 0,
1765
- 'borderStyle' => 'none',
1766
- 'borderWidth' => 1,
1767
- 'borderRadius' => 0,
1768
- 'borderColor' => '#333',
1769
- 'arrowColor' => '#333',
1770
- 'arrowDots' => 'arrowDots',
1771
- 'arrowBorderSize' => 1,
1772
- 'arrowBorderRadius' => 0,
1773
- 'columns' => 1,
1774
- 'autoplaySpeed' => 2000,
1775
- 'autoplay' => true,
1776
- 'infiniteLoop' => true,
1777
- 'pauseOnHover' => true,
1778
- 'transitionSpeed' => 500,
1779
- 'tcolumns' => 1,
1780
- 'mcolumns' => 1,
1781
- 'arrowSize' => 20,
1782
- 'test_item_count' => 3,
1783
- ),
1784
- ),
1785
- );
1786
- }
1787
- return self::$block_attributes;
1788
- }
1789
-
1790
- /**
1791
- * Get Block Assets.
1792
- *
1793
- * @since 1.13.4
1794
- *
1795
- * @return array The Asset List.
1796
- */
1797
- public static function get_block_assets() {
1798
-
1799
- if ( null === self::$block_assets ) {
1800
- self::$block_assets = array(
1801
- 'uagb-timeline-js' => array(
1802
- 'src' => UAGB_URL . 'assets/js/timeline.js',
1803
- 'dep' => array( 'jquery' ),
1804
- ),
1805
- 'uagb-masonry' => array(
1806
- 'src' => UAGB_URL . 'assets/js/isotope.min.js',
1807
- 'dep' => array( 'jquery' ),
1808
- ),
1809
- 'uagb-imagesloaded' => array(
1810
- 'src' => UAGB_URL . 'assets/js/imagesloaded.min.js',
1811
- 'dep' => array( 'jquery' ),
1812
- ),
1813
- 'uagb-table-of-contents' => array(
1814
- 'src' => UAGB_URL . 'assets/js/table-of-contents.js',
1815
- 'dep' => array( 'jquery' ),
1816
- ),
1817
- 'uagb-slick-js' => array(
1818
- 'src' => UAGB_URL . 'assets/js/slick.min.js',
1819
- 'dep' => array( 'jquery' ),
1820
- ),
1821
- 'uagb-slick-css' => array(
1822
- 'src' => UAGB_URL . 'assets/css/slick.css',
1823
- 'dep' => array(),
1824
- ),
1825
- 'uagb-carousel-js' => array(
1826
- 'src' => UAGB_URL . 'assets/js/post-carousel.js',
1827
- 'dep' => array( 'jquery', 'uagb-slick-js' ),
1828
- ),
1829
- );
1830
- }
1831
- return self::$block_assets;
1832
- }
1833
- }
1834
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * UAGB Config.
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'UAGB_Config' ) ) {
13
+
14
+ /**
15
+ * Class UAGB_Config.
16
+ */
17
+ class UAGB_Config {
18
+
19
+ /**
20
+ * Block Attributes
21
+ *
22
+ * @var block_attributes
23
+ */
24
+ public static $block_attributes = null;
25
+
26
+ /**
27
+ * Block Assets
28
+ *
29
+ * @var block_attributes
30
+ */
31
+ public static $block_assets = null;
32
+
33
+ /**
34
+ * Get Widget List.
35
+ *
36
+ * @since 0.0.1
37
+ *
38
+ * @return array The Widget List.
39
+ */
40
+ public static function get_block_attributes() {
41
+
42
+ if ( null === self::$block_attributes ) {
43
+ self::$block_attributes = array(
44
+ 'uagb/advanced-heading' => array(
45
+ 'slug' => '',
46
+ 'title' => __( 'Advanced Heading', 'ultimate-addons-for-gutenberg' ),
47
+ 'description' => __( 'This block lets you add a combination of a heading and a sub-heading with a separator in between.', 'ultimate-addons-for-gutenberg' ),
48
+ 'default' => true,
49
+ 'attributes' => array(
50
+ 'headingAlign' => 'center',
51
+ 'headingColor' => '',
52
+ 'subHeadingColor' => '',
53
+ 'separatorColor' => '',
54
+ 'seperatorStyle' => 'solid',
55
+ 'separatorHeight' => '',
56
+ 'separatorWidth' => '',
57
+ 'separatorWidthType' => '%',
58
+ 'headFontFamily' => '',
59
+ 'headLoadGoogleFonts' => false,
60
+ 'headFontWeight' => '',
61
+ 'headFontSubset' => '',
62
+ 'headFontSize' => '',
63
+ 'headFontSizeType' => 'px',
64
+ 'headFontSizeTablet' => '',
65
+ 'headFontSizeMobile' => '',
66
+ 'headLineHeight' => '',
67
+ 'headLineHeightType' => 'em',
68
+ 'headLineHeightTablet' => '',
69
+ 'headLineHeightMobile' => '',
70
+ 'subHeadFontFamily' => '',
71
+ 'subHeadLoadGoogleFonts' => false,
72
+ 'subHeadFontWeight' => '',
73
+ 'subHeadFontSubset' => '',
74
+ 'subHeadFontSize' => '',
75
+ 'subHeadFontSizeType' => 'px',
76
+ 'subHeadFontSizeTablet' => '',
77
+ 'subHeadFontSizeMobile' => '',
78
+ 'subHeadLineHeight' => '',
79
+ 'subHeadLineHeightType' => 'em',
80
+ 'subHeadLineHeightTablet' => '',
81
+ 'subHeadLineHeightMobile' => '',
82
+ 'headSpace' => 15,
83
+ 'separatorSpace' => 15,
84
+ ),
85
+ ),
86
+ 'uagb/columns' => array(
87
+ 'slug' => '',
88
+ 'title' => __( 'Advanced Columns', 'ultimate-addons-for-gutenberg' ),
89
+ 'description' => __( 'This block gives you advanced options to insert a number of columns within a single row.', 'ultimate-addons-for-gutenberg' ),
90
+ 'default' => true,
91
+ 'attributes' => array(
92
+ 'block_id' => '',
93
+ 'columns' => '2',
94
+ 'align' => '',
95
+ 'vAlign' => '',
96
+ 'stack' => 'mobile',
97
+ 'topPadding' => '20',
98
+ 'bottomPadding' => '20',
99
+ 'leftPadding' => '20',
100
+ 'rightPadding' => '20',
101
+ 'topMargin' => '0',
102
+ 'bottomMargin' => '0',
103
+ 'topPaddingTablet' => '',
104
+ 'bottomPaddingTablet' => '',
105
+ 'leftPaddingTablet' => '',
106
+ 'rightPaddingTablet' => '',
107
+ 'topPaddingMobile' => '',
108
+ 'bottomPaddingMobile' => '',
109
+ 'leftPaddingMobile' => '',
110
+ 'rightPaddingMobile' => '',
111
+ 'topMarginMobile' => '',
112
+ 'bottomMarginMobile' => '',
113
+ 'topMarginTablet' => '',
114
+ 'bottomMarginTablet' => '',
115
+ 'contentWidth' => 'theme',
116
+ 'width' => '900',
117
+ 'widthType' => 'px',
118
+ 'tag' => 'section',
119
+ 'backgroundType' => 'none',
120
+ 'backgroundImage' => '',
121
+ 'backgroundPosition' => 'center-center',
122
+ 'backgroundSize' => 'cover',
123
+ 'backgroundRepeat' => 'no-repeat',
124
+ 'backgroundAttachment' => 'scroll',
125
+ 'backgroundVideo' => '',
126
+ 'backgroundColor' => '',
127
+ 'gradientColor1' => '',
128
+ 'gradientColor2' => '',
129
+ 'gradientType' => 'linear',
130
+ 'gradientLocation1' => '0',
131
+ 'gradientLocation2' => '100',
132
+ 'gradientAngle' => '0',
133
+ 'gradientPosition' => 'center center',
134
+ 'backgroundOpacity' => '',
135
+ 'backgroundVideoOpacity' => '50',
136
+ 'backgroundVideoColor' => '',
137
+ 'backgroundImageColor' => '',
138
+ 'borderStyle' => 'none',
139
+ 'borderWidth' => '1',
140
+ 'borderRadius' => '',
141
+ 'borderColor' => '',
142
+ 'columnGap' => '10',
143
+ 'bottomType' => 'none',
144
+ 'bottomColor' => '#333',
145
+ 'bottomHeight' => '',
146
+ 'bottomHeightTablet' => '',
147
+ 'bottomHeightMobile' => '',
148
+ 'bottomWidth' => '',
149
+ 'topType' => 'none',
150
+ 'topColor' => '#333',
151
+ 'topHeight' => '',
152
+ 'topHeightTablet' => '',
153
+ 'topHeightMobile' => '',
154
+ 'topWidth' => '',
155
+ 'bottomFlip' => '',
156
+ 'topFlip' => '',
157
+ 'mobileMarginType' => 'px',
158
+ 'tabletMarginType' => 'px',
159
+ 'desktopMarginType' => 'px',
160
+ 'mobilePaddingType' => 'px',
161
+ 'tabletPaddingType' => 'px',
162
+ 'desktopPaddingType' => 'px',
163
+ ),
164
+ ),
165
+ 'uagb/column' => array(
166
+ 'slug' => '',
167
+ 'title' => __( 'Column', 'ultimate-addons-for-gutenberg' ),
168
+ 'description' => __( 'This block is an immediate child of Advanced Columns.', 'ultimate-addons-for-gutenberg' ),
169
+ 'default' => true,
170
+ 'is_child' => true,
171
+ 'attributes' => array(
172
+ 'block_id' => '',
173
+ 'topPadding' => '',
174
+ 'bottomPadding' => '',
175
+ 'leftPadding' => '',
176
+ 'rightPadding' => '',
177
+ 'topMargin' => '',
178
+ 'bottomMargin' => '',
179
+ 'leftMargin' => '',
180
+ 'rightMargin' => '',
181
+ 'topPaddingTablet' => '',
182
+ 'bottomPaddingTablet' => '',
183
+ 'leftPaddingTablet' => '',
184
+ 'rightPaddingTablet' => '',
185
+ 'topPaddingMobile' => '',
186
+ 'bottomPaddingMobile' => '',
187
+ 'leftPaddingMobile' => '',
188
+ 'rightPaddingMobile' => '',
189
+ 'topMarginMobile' => '',
190
+ 'bottomMarginMobile' => '',
191
+ 'leftMarginMobile' => '',
192
+ 'rightMarginMobile' => '',
193
+ 'topMarginTablet' => '',
194
+ 'bottomMarginTablet' => '',
195
+ 'leftMarginTablet' => '',
196
+ 'rightMarginTablet' => '',
197
+ 'colWidth' => '',
198
+ 'colWidthTablet' => '',
199
+ 'colWidthMobile' => '',
200
+ 'backgroundType' => 'none',
201
+ 'backgroundImage' => '',
202
+ 'backgroundPosition' => 'center-center',
203
+ 'backgroundSize' => 'cover',
204
+ 'backgroundRepeat' => 'no-repeat',
205
+ 'backgroundAttachment' => 'scroll',
206
+ 'backgroundColor' => '',
207
+ 'gradientColor1' => '',
208
+ 'gradientColor2' => '',
209
+ 'gradientType' => 'linear',
210
+ 'gradientLocation1' => 0,
211
+ 'gradientLocation2' => 100,
212
+ 'gradientAngle' => 0,
213
+ 'backgroundOpacity' => '',
214
+ 'backgroundImageColor' => '',
215
+ 'borderStyle' => 'none',
216
+ 'borderWidth' => 1,
217
+ 'borderRadius' => '',
218
+ 'borderColor' => '',
219
+ 'align' => 'center',
220
+ 'alignMobile' => '',
221
+ 'alignTablet' => '',
222
+ 'mobileMarginType' => 'px',
223
+ 'tabletMarginType' => 'px',
224
+ 'desktopMarginType' => 'px',
225
+ 'mobilePaddingType' => 'px',
226
+ 'tabletPaddingType' => 'px',
227
+ 'desktopPaddingType' => 'px',
228
+ 'overlayType' => 'color',
229
+ 'gradientOverlayColor1' => '',
230
+ 'gradientOverlayColor2' => '',
231
+ 'gradientOverlayType' => 'linear',
232
+ 'gradientOverlayLocation1' => '0',
233
+ 'gradientOverlayLocation2' => '100',
234
+ 'gradientOverlayAngle' => '0',
235
+ ),
236
+ ),
237
+ 'uagb/blockquote' => array(
238
+ 'slug' => '',
239
+ 'title' => __( 'Blockquote', 'ultimate-addons-for-gutenberg' ),
240
+ 'description' => __( 'This block allows you to display your Blockquote.', 'ultimate-addons-for-gutenberg' ),
241
+ 'default' => true,
242
+ 'attributes' => array(
243
+ 'block_id ' => '',
244
+ 'skinStyle' => 'border',
245
+ 'align' => 'left',
246
+ 'descColor' => '',
247
+ 'descFontSize' => '',
248
+ 'descFontSizeType' => 'px',
249
+ 'descFontSizeTablet' => '',
250
+ 'descFontSizeMobile' => '',
251
+ 'descFontFamily' => '',
252
+ 'descFontWeight' => '',
253
+ 'descFontSubset' => '',
254
+ 'descLineHeightType' => 'em
255
+ ',
256
+ 'descLineHeight' => '',
257
+ 'descLineHeightTablet' => '',
258
+ 'descLineHeightMobile' => '',
259
+ 'descLoadGoogleFonts' => false,
260
+ 'descSpace' => 20,
261
+ 'authorColor' => '#888888',
262
+ 'authorFontSize' => '',
263
+ 'authorFontSizeType' => 'px',
264
+ 'authorFontSizeTablet' => '',
265
+ 'authorFontSizeMobile' => '',
266
+ 'authorFontFamily' => '',
267
+ 'authorFontWeight' => '',
268
+ 'authorFontSubset' => '',
269
+ 'authorLineHeightType' => 'em
270
+ ',
271
+ 'authorLineHeight' => '',
272
+ 'authorLineHeightTablet' => '',
273
+ 'authorLineHeightMobile' => '',
274
+ 'authorLoadGoogleFonts' => false,
275
+ 'authorSpace' => 10,
276
+ 'authorImageWidth' => 40,
277
+ 'authorImgBorderRadius' => 100,
278
+ 'authorImgPosition' => 'right',
279
+ 'stack' => 'tablet',
280
+ 'enableTweet' => true,
281
+ 'iconView' => 'icon_text',
282
+ 'iconSkin' => 'link',
283
+ 'tweetLinkColor' => '#1DA1F2',
284
+ 'tweetBtnColor' => '#fff',
285
+ 'tweetBtnBgColor' => '#1DA1F2',
286
+ 'tweetBtnHoverColor' => '',
287
+ 'tweetBtnBgHoverColor' => '#1DA1F2',
288
+ 'tweetBtnFontSize' => 15,
289
+ 'tweetBtnFontSizeType' => 'px',
290
+ 'tweetBtnFontSizeTablet' => '',
291
+ 'tweetBtnFontSizeMobile' => '',
292
+ 'tweetBtnFontFamily' => '',
293
+ 'tweetBtnFontWeight' => '',
294
+ 'tweetBtnFontSubset' => '',
295
+ 'tweetBtnLineHeightType' => 'em',
296
+ 'tweetBtnLineHeight' => '',
297
+ 'tweetBtnLineHeightTablet' => '',
298
+ 'tweetBtnLineHeightMobile' => '',
299
+ 'tweetBtnLoadGoogleFonts' => false,
300
+ 'tweetBtnHrPadding' => 10,
301
+ 'tweetBtnVrPadding' => 10,
302
+ 'tweetIconSpacing' => 10,
303
+ 'borderColor' => '#abb8c3',
304
+ 'borderStyle' => 'solid',
305
+ 'borderWidth' => 4,
306
+ 'borderGap' => 15,
307
+ 'verticalPadding' => '',
308
+ 'quoteStyle' => 'style_1',
309
+ 'quoteColor' => '#abb8c3',
310
+ 'quoteSize' => 25,
311
+ 'quoteSizeType' => 'px',
312
+ 'quoteSizeTablet' => '',
313
+ 'quoteSizeMobile' => '',
314
+ 'quoteTopMargin' => '',
315
+ 'quoteBottomMargin' => '',
316
+ 'quoteLeftMargin' => '',
317
+ 'quoteRightMargin' => 20,
318
+ 'quoteBorderRadius' => 100,
319
+ 'quoteBgColor' => '#333',
320
+ 'quoteHoverColor' => '',
321
+ 'quoteBgHoverColor' => '',
322
+ 'borderHoverColor' => '',
323
+ 'iconTargetUrl' => 'current',
324
+ 'customUrl' => '',
325
+ 'iconShareVia' => '',
326
+ 'quotePadding' => 10,
327
+ 'quotePaddingType' => 'px',
328
+ 'quotePaddingTablet' => '',
329
+ 'quotePaddingMobile' => '',
330
+ ),
331
+ ),
332
+ 'uagb/call-to-action' => array(
333
+ 'slug' => '',
334
+ 'title' => __( 'Call To Action', 'ultimate-addons-for-gutenberg' ),
335
+ 'description' => __( 'This block allows you to place an CTA along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
336
+ 'default' => true,
337
+ 'attributes' => array(
338
+ 'textAlign' => 'left',
339
+ 'titleColor' => '',
340
+ 'descColor' => '',
341
+ 'ctaPosition' => 'right',
342
+ 'titleTag' => '',
343
+ 'titleFontSize' => '',
344
+ 'titleFontSizeType' => 'px',
345
+ 'titleFontSizeMobile' => '',
346
+ 'titleFontSizeTablet' => '',
347
+ 'titleFontFamily' => '',
348
+ 'titleFontWeight' => '',
349
+ 'titleFontSubset' => '',
350
+ 'titleLineHeightType' => 'em',
351
+ 'titleLineHeight' => '',
352
+ 'titleLineHeightTablet' => '',
353
+ 'titleLineHeightMobile' => '',
354
+ 'titleLoadGoogleFonts' => false,
355
+ 'descFontSize' => '',
356
+ 'descFontSizeType' => 'px',
357
+ 'descFontSizeMobile' => '',
358
+ 'descFontSizeTablet' => '',
359
+ 'descFontFamily' => '',
360
+ 'descFontWeight' => '',
361
+ 'descFontSubset' => '',
362
+ 'descLineHeightType' => 'em',
363
+ 'descLineHeight' => '',
364
+ 'descLineHeightTablet' => '',
365
+ 'descLineHeightMobile' => '',
366
+ 'descLoadGoogleFonts' => false,
367
+ 'titleSpace' => 10,
368
+ 'descSpace' => 10,
369
+ 'buttonAlign' => 'top',
370
+ 'ctaTarget' => false,
371
+ 'ctaIconPosition' => 'after',
372
+ 'ctaIconSpace' => 5,
373
+ 'ctaType' => 'button',
374
+ 'ctaLink' => '#',
375
+ 'ctaFontSize' => '',
376
+ 'ctaFontSizeType' => 'px',
377
+ 'ctaFontSizeMobile' => '',
378
+ 'ctaFontSizeTablet' => '',
379
+ 'ctaFontFamily' => '',
380
+ 'ctaFontWeight' => '',
381
+ 'ctaFontSubset' => '',
382
+ 'ctaLoadGoogleFonts' => false,
383
+ 'ctaBtnLinkColor' => '#333',
384
+ 'ctaBgColor' => 'transparent',
385
+ 'ctaBgHoverColor' => 'transparent',
386
+ 'ctaBorderColor' => '#333',
387
+ 'ctaBorderhoverColor' => '',
388
+ 'ctaBorderStyle' => 'solid',
389
+ 'ctaBtnVertPadding' => 10,
390
+ 'ctaBtnHrPadding' => 14,
391
+ 'ctaBorderWidth' => 1,
392
+ 'ctaBorderRadius' => 0,
393
+ 'stack' => 'tablet',
394
+ 'showTitle' => true,
395
+ 'showDesc' => true,
396
+ 'ctaLeftSpace' => 5,
397
+ 'ctaRightSpace' => 5,
398
+ 'contentWidth' => 70,
399
+ 'ctaLinkHoverColor' => '',
400
+ ),
401
+ ),
402
+ 'uagb/cf7-styler' => array(
403
+ 'slug' => '',
404
+ 'title' => __( 'Contact Form 7 Styler', 'ultimate-addons-for-gutenberg' ),
405
+ 'description' => __( 'This block allows you to add and style your Contact Form 7 forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
406
+ 'is_active' => class_exists( 'WPCF7_ContactForm' ),
407
+ 'default' => true,
408
+ 'attributes' => array(
409
+ 'block_id' => '',
410
+ 'align' => 'left',
411
+ 'formId' => '0',
412
+ 'fieldStyle' => 'box',
413
+ 'fieldHrPadding' => 10,
414
+ 'fieldVrPadding' => 10,
415
+ 'fieldBgColor' => '#fafafa',
416
+ 'fieldLabelColor' => '#333',
417
+ 'fieldInputColor' => '#333',
418
+ 'fieldBorderStyle' => 'solid',
419
+ 'fieldBorderWidth' => 1,
420
+ 'fieldBorderRadius' => 0,
421
+ 'fieldBorderColor' => '#eeeeee',
422
+ 'fieldBorderFocusColor' => '',
423
+ 'buttonAlignment' => 'left',
424
+ 'buttonVrPadding' => 10,
425
+ 'buttonHrPadding' => 25,
426
+ 'buttonTextColor' => '#333',
427
+ 'buttonBgColor' => 'transparent',
428
+ 'buttonTextHoverColor' => '',
429
+ 'buttonBgHoverColor' => '',
430
+ 'buttonBorderStyle' => 'solid',
431
+ 'buttonBorderWidth' => 1,
432
+ 'buttonBorderRadius' => 0,
433
+ 'buttonBorderColor' => '#333',
434
+ 'buttonBorderHoverColor' => '',
435
+ 'fieldSpacing' => '',
436
+ 'fieldLabelSpacing' => '',
437
+ 'labelFontSize' => '',
438
+ 'labelFontSizeType' => 'px',
439
+ 'labelFontSizeTablet' => '',
440
+ 'labelFontSizeMobile' => '',
441
+ 'labelFontFamily' => '',
442
+ 'labelFontWeight' => '',
443
+ 'labelFontSubset' => '',
444
+ 'labelLineHeightType' => 'px',
445
+ 'labelLineHeight' => '',
446
+ 'labelLineHeightTablet' => '',
447
+ 'labelLineHeightMobile' => '',
448
+ 'labelLoadGoogleFonts' => false,
449
+ 'inputFontSize' => '',
450
+ 'inputFontSizeType' => 'px',
451
+ 'inputFontSizeTablet' => '',
452
+ 'inputFontSizeMobile' => '',
453
+ 'inputFontFamily' => '',
454
+ 'inputFontWeight' => '',
455
+ 'inputFontSubset' => '',
456
+ 'inputLineHeightType' => 'px',
457
+ 'inputLineHeight' => '',
458
+ 'inputLineHeightTablet' => '',
459
+ 'inputLineHeightMobile' => '',
460
+ 'inputLoadGoogleFonts' => false,
461
+ 'buttonFontSize' => '',
462
+ 'buttonFontSizeType' => 'px',
463
+ 'buttonFontSizeTablet' => '',
464
+ 'buttonFontSizeMobile' => '',
465
+ 'buttonFontFamily' => '',
466
+ 'buttonFontWeight' => '',
467
+ 'buttonFontSubset' => '',
468
+ 'buttonLineHeightType' => 'px',
469
+ 'buttonLineHeight' => '',
470
+ 'buttonLineHeightTablet' => '',
471
+ 'buttonLineHeightMobile' => '',
472
+ 'buttonLoadGoogleFonts' => false,
473
+ 'enableOveride' => true,
474
+ 'radioCheckSize' => '',
475
+ 'radioCheckBgColor' => '',
476
+ 'radioCheckSelectColor' => '',
477
+ 'radioCheckLableColor' => '',
478
+ 'radioCheckBorderColor' => '#abb8c3',
479
+ 'radioCheckBorderWidth' => '',
480
+ 'radioCheckBorderRadius' => '',
481
+ 'radioCheckFontSize' => '',
482
+ 'radioCheckFontSizeType' => 'px',
483
+ 'radioCheckFontSizeTablet' => '',
484
+ 'radioCheckFontSizeMobile' => '',
485
+ 'radioCheckFontFamily' => '',
486
+ 'radioCheckFontWeight' => '',
487
+ 'radioCheckFontSubset' => '',
488
+ 'radioCheckLineHeightType' => 'px',
489
+ 'radioCheckLineHeight' => '',
490
+ 'radioCheckLineHeightTablet' => '',
491
+ 'radioCheckLineHeightMobile' => '',
492
+ 'radioCheckLoadGoogleFonts' => false,
493
+ 'validationMsgPosition' => 'default',
494
+ 'validationMsgColor' => '#ff0000',
495
+ 'validationMsgBgColor' => '',
496
+ 'enableHighlightBorder' => false,
497
+ 'highlightBorderColor' => '#ff0000',
498
+ 'validationMsgFontSize' => '',
499
+ 'validationMsgFontSizeType' => 'px',
500
+ 'validationMsgFontSizeTablet' => '',
501
+ 'validationMsgFontSizeMobile' => '',
502
+ 'validationMsgFontFamily' => '',
503
+ 'validationMsgFontWeight' => '',
504
+ 'validationMsgFontSubset' => '',
505
+ 'validationMsgLineHeightType' => 'em',
506
+ 'validationMsgLineHeight' => '',
507
+ 'validationMsgLineHeightTablet' => '',
508
+ 'validationMsgLineHeightMobile' => '',
509
+ 'validationMsgLoadGoogleFonts' => false,
510
+ 'successMsgColor' => '',
511
+ 'successMsgBgColor' => '',
512
+ 'successMsgBorderColor' => '',
513
+ 'errorMsgColor' => '',
514
+ 'errorMsgBgColor' => '',
515
+ 'errorMsgBorderColor' => '',
516
+ 'msgBorderSize' => '',
517
+ 'msgBorderRadius' => '',
518
+ 'msgVrPadding' => '',
519
+ 'msgHrPadding' => '',
520
+ 'msgFontSize' => '',
521
+ 'msgFontSizeType' => 'px',
522
+ 'msgFontSizeTablet' => '',
523
+ 'msgFontSizeMobile' => '',
524
+ 'msgFontFamily' => '',
525
+ 'msgFontWeight' => '',
526
+ 'msgFontSubset' => '',
527
+ 'msgLineHeightType' => 'em',
528
+ 'msgLineHeight' => '',
529
+ 'msgLineHeightTablet' => '',
530
+ 'msgLineHeightMobile' => '',
531
+ 'msgLoadGoogleFonts' => false,
532
+ 'radioCheckBorderRadiusType' => 'px',
533
+ 'msgBorderRadiusType' => 'px',
534
+ 'fieldBorderRadiusType' => 'px',
535
+ 'buttonBorderRadiusType' => 'px',
536
+ ),
537
+ ),
538
+ 'uagb/gf-styler' => array(
539
+ 'slug' => '',
540
+ 'title' => __( 'Gravity Form Styler', 'ultimate-addons-for-gutenberg' ),
541
+ 'description' => __( 'This block allows you to add and style your Gravity Forms right in the Gutenberg editor.', 'ultimate-addons-for-gutenberg' ),
542
+ 'default' => true,
543
+ 'is_active' => class_exists( 'GFForms' ),
544
+ 'attributes' => array(
545
+ 'block_id' => '',
546
+ 'align' => 'left',
547
+ 'enableAjax' => false,
548
+ 'enableTabSupport' => false,
549
+ 'formTabIndex' => '0',
550
+ 'formId' => '0',
551
+ 'titleDescStyle' => 'yes',
552
+ 'titleDescAlignment' => 'left',
553
+ 'fieldStyle' => 'box',
554
+ 'fieldHrPadding' => 10,
555
+ 'fieldVrPadding' => 10,
556
+ 'fieldBgColor' => '#fafafa',
557
+ 'fieldLabelColor' => '#333',
558
+ 'fieldInputColor' => '#333',
559
+ 'fieldBorderStyle' => 'solid',
560
+ 'fieldBorderWidth' => 1,
561
+ 'fieldBorderRadius' => 0,
562
+ 'fieldBorderColor' => '#eeeeee',
563
+ 'fieldBorderFocusColor' => '',
564
+ 'buttonAlignment' => 'left',
565
+ 'buttonVrPadding' => 10,
566
+ 'buttonHrPadding' => 25,
567
+ 'buttonTextColor' => '#333',
568
+ 'buttonBgColor' => 'transparent',
569
+ 'buttonTextHoverColor' => '',
570
+ 'buttonBgHoverColor' => '',
571
+ 'buttonBorderStyle' => 'solid',
572
+ 'buttonBorderWidth' => 1,
573
+ 'buttonBorderRadius' => 0,
574
+ 'buttonBorderColor' => '#333',
575
+ 'buttonBorderHoverColor' => '',
576
+ 'fieldSpacing' => '',
577
+ 'fieldLabelSpacing' => '',
578
+ 'enableLabel' => false,
579
+ 'textAreaHeight' => 'auto',
580
+ 'labelFontSize' => '',
581
+ 'labelFontSizeType' => 'px',
582
+ 'labelFontSizeTablet' => '',
583
+ 'labelFontSizeMobile' => '',
584
+ 'labelFontFamily' => '',
585
+ 'labelFontWeight' => '',
586
+ 'labelFontSubset' => '',
587
+ 'labelLineHeightType' => 'px',
588
+ 'labelLineHeight' => '',
589
+ 'labelLineHeightTablet' => '',
590
+ 'labelLineHeightMobile' => '',
591
+ 'labelLoadGoogleFonts' => false,
592
+ 'inputFontSize' => '',
593
+ 'inputFontSizeType' => 'px',
594
+ 'inputFontSizeTablet' => '',
595
+ 'inputFontSizeMobile' => '',
596
+ 'inputFontFamily' => '',
597
+ 'inputFontWeight' => '',
598
+ 'inputFontSubset' => '',
599
+ 'inputLineHeightType' => 'px',
600
+ 'inputLineHeight' => '',
601
+ 'inputLineHeightTablet' => '',
602
+ 'inputLineHeightMobile' => '',
603
+ 'inputLoadGoogleFonts' => false,
604
+ 'buttonFontSize' => '',
605
+ 'buttonFontSizeType' => 'px',
606
+ 'buttonFontSizeTablet' => '',
607
+ 'buttonFontSizeMobile' => '',
608
+ 'buttonFontFamily' => '',
609
+ 'buttonFontWeight' => '',
610
+ 'buttonFontSubset' => '',
611
+ 'buttonLineHeightType' => 'px',
612
+ 'buttonLineHeight' => '',
613
+ 'buttonLineHeightTablet' => '',
614
+ 'buttonLineHeightMobile' => '',
615
+ 'buttonLoadGoogleFonts' => false,
616
+ 'enableOveride' => true,
617
+ 'radioCheckSize' => '20',
618
+ 'radioCheckBgColor' => '#fafafa',
619
+ 'radioCheckSelectColor' => '',
620
+ 'radioCheckLableColor' => '',
621
+ 'radioCheckBorderColor' => '#cbcbcb',
622
+ 'radioCheckBorderWidth' => '1',
623
+ 'radioCheckBorderRadius' => '',
624
+ 'radioCheckFontSize' => '',
625
+ 'radioCheckFontSizeType' => 'px',
626
+ 'radioCheckFontSizeTablet' => '',
627
+ 'radioCheckFontSizeMobile' => '',
628
+ 'radioCheckFontFamily' => '',
629
+ 'radioCheckFontWeight' => '',
630
+ 'radioCheckFontSubset' => '',
631
+ 'radioCheckLineHeightType' => 'px',
632
+ 'radioCheckLineHeight' => '',
633
+ 'radioCheckLineHeightTablet' => '',
634
+ 'radioCheckLineHeightMobile' => '',
635
+ 'radioCheckLoadGoogleFonts' => false,
636
+ 'validationMsgColor' => '#ff0000',
637
+ 'advancedValidationSettings' => false,
638
+ 'highlightBorderColor' => '#ff0000',
639
+ 'validationMsgFontSize' => '',
640
+ 'validationMsgBgColor' => '',
641
+ 'validationMsgFontSizeType' => 'px',
642
+ 'validationMsgFontSizeTablet' => '',
643
+ 'validationMsgFontSizeMobile' => '',
644
+ 'validationMsgFontFamily' => '',
645
+ 'validationMsgFontWeight' => '',
646
+ 'validationMsgFontSubset' => '',
647
+ 'validationMsgLineHeightType' => 'em',
648
+ 'validationMsgLineHeight' => '',
649
+ 'validationMsgLineHeightTablet' => '',
650
+ 'validationMsgLineHeightMobile' => '',
651
+ 'validationMsgLoadGoogleFonts' => false,
652
+ 'successMsgBorderColor' => '',
653
+ 'errorMsgColor' => '',
654
+ 'errorMsgBgColor' => '',
655
+ 'errorMsgBorderColor' => '',
656
+ 'msgBorderSize' => '',
657
+ 'msgBorderRadius' => '',
658
+ 'msgVrPadding' => '',
659
+ 'msgHrPadding' => '',
660
+ 'msgFontSize' => '',
661
+ 'msgFontSizeType' => 'px',
662
+ 'msgFontSizeTablet' => '',
663
+ 'msgFontSizeMobile' => '',
664
+ 'msgFontFamily' => '',
665
+ 'msgFontWeight' => '',
666
+ 'msgFontSubset' => '',
667
+ 'msgLineHeightType' => 'em',
668
+ 'msgLineHeight' => '',
669
+ 'msgLineHeightTablet' => '',
670
+ 'msgLineHeightMobile' => '',
671
+ 'msgLoadGoogleFonts' => false,
672
+ 'radioCheckBorderRadiusType' => 'px',
673
+ 'msgBorderRadiusType' => 'px',
674
+ 'fieldBorderRadiusType' => 'px',
675
+ 'buttonBorderRadiusType' => 'px',
676
+ 'successMsgColor' => '',
677
+ 'successMsgFontSize' => '',
678
+ 'successMsgFontSizeType' => 'px',
679
+ 'successMsgFontSizeTablet' => '',
680
+ 'successMsgFontSizeMobile' => '',
681
+ 'successMsgFontFamily' => '',
682
+ 'successMsgFontWeight' => '',
683
+ 'successMsgFontSubset' => '',
684
+ 'successMsgLineHeightType' => 'em',
685
+ 'successMsgLineHeight' => '',
686
+ 'successMsgLineHeightTablet' => '',
687
+ 'successMsgLineHeightMobile' => '',
688
+ 'successMsgLoadGoogleFonts' => false,
689
+ ),
690
+ ),
691
+ 'uagb/content-timeline' => array(
692
+ 'slug' => '',
693
+ 'title' => __( 'Content Timeline', 'ultimate-addons-for-gutenberg' ),
694
+ 'description' => __( 'The Timeline block lets you create beautiful timelines on your website.', 'ultimate-addons-for-gutenberg' ),
695
+ 'default' => true,
696
+ 'js_assets' => array( 'uagb-timeline-js' ),
697
+ 'attributes' => array(
698
+ 'align' => 'center',
699
+ 'headingColor' => '',
700
+ 'subHeadingColor' => '',
701
+ 'separatorBg' => '#eee',
702
+ 'backgroundColor' => '#eee',
703
+ 'separatorColor' => '#eee',
704
+ 'separatorFillColor' => '#61ce70',
705
+ 'separatorBorder' => '#eee',
706
+ 'borderFocus' => '#5cb85c',
707
+ 'horizontalSpace' => 10,
708
+ 'verticalSpace' => 15,
709
+ 'headFontSizeType' => 'px',
710
+ 'headFontSize' => '',
711
+ 'headFontSizeTablet' => '',
712
+ 'headFontSizeMobile' => '',
713
+ 'headFontFamily' => '',
714
+ 'headFontWeight' => '',
715
+ 'headFontSubset' => '',
716
+ 'headLineHeightType' => 'em',
717
+ 'headLineHeight' => '',
718
+ 'headLineHeightTablet' => '',
719
+ 'headLineHeightMobile' => '',
720
+ 'headLoadGoogleFonts' => false,
721
+ 'timelinAlignment' => 'center',
722
+ 'arrowlinAlignment' => 'center',
723
+ 'subHeadFontSizeType' => 'px',
724
+ 'subHeadFontSize' => '',
725
+ 'subHeadFontSizeTablet' => '',
726
+ 'subHeadFontSizeMobile' => '',
727
+ 'subHeadFontFamily' => '',
728
+ 'subHeadFontWeight' => '',
729
+ 'subHeadFontSubset' => '',
730
+ 'subHeadLineHeightType' => 'em',
731
+ 'subHeadLineHeight' => '',
732
+ 'subHeadLineHeightTablet' => '',
733
+ 'subHeadLineHeightMobile' => '',
734
+ 'subHeadLoadGoogleFonts' => false,
735
+ 'headSpace' => 5,
736
+ 'separatorwidth' => 3,
737
+ 'borderwidth' => 0,
738
+ 'iconColor' => '#333',
739
+ 'iconFocus' => '#fff',
740
+ 'iconBgFocus' => '#61ce70',
741
+ 'dateColor' => '#333',
742
+ 'dateFontsizeType' => 'px',
743
+ 'dateFontsize' => '12',
744
+ 'dateFontsizeTablet' => '',
745
+ 'dateFontsizeMobile' => '',
746
+ 'dateFontFamily' => '',
747
+ 'dateFontWeight' => '',
748
+ 'dateFontSubset' => '',
749
+ 'dateLineHeightType' => 'em',
750
+ 'dateLineHeight' => '',
751
+ 'dateLineHeightTablet' => '',
752
+ 'dateLineHeightMobile' => '',
753
+ 'dateLoadGoogleFonts' => false,
754
+ 'connectorBgsize' => 35,
755
+ 'dateBottomspace' => 5,
756
+ 'borderRadius' => 2,
757
+ 'bgPadding' => 20,
758
+ 'iconSize' => 12,
759
+ 'stack' => 'tablet',
760
+ ),
761
+ ),
762
+ 'uagb/google-map' => array(
763
+ 'slug' => '',
764
+ 'title' => __( 'Google Map', 'ultimate-addons-for-gutenberg' ),
765
+ 'description' => __( 'This block allows you to place a Google Map Location.', 'ultimate-addons-for-gutenberg' ),
766
+ 'default' => true,
767
+ 'attributes' => array(
768
+ 'block_id' => '',
769
+ 'height' => '300',
770
+ ),
771
+ ),
772
+ 'uagb/icon-list' => array(
773
+ 'slug' => '',
774
+ 'title' => __( 'Icon List', 'ultimate-addons-for-gutenberg' ),
775
+ 'description' => __( 'This block allows you to place an image or icon in a list format.', 'ultimate-addons-for-gutenberg' ),
776
+ 'default' => true,
777
+ 'attributes' => array(
778
+ 'align' => 'left',
779
+ 'icon_count' => '1',
780
+ 'icons' => array(
781
+ array(
782
+ 'label' => __( 'Label #1', 'ultimate-addons-for-gutenberg' ),
783
+ 'image_icon' => 'icon',
784
+ 'icon' => 'fab fa-facebook',
785
+ 'image' => '',
786
+ 'icon_color' => '#3a3a3a',
787
+ 'icon_hover_color' => '#3a3a3a',
788
+ 'icon_bg_color' => '',
789
+ 'icon_bg_hover_color' => '',
790
+ 'icon_border_color' => '',
791
+ 'icon_border_hover_color' => '',
792
+ 'label_color' => '',
793
+ 'label_hover_color' => '',
794
+ 'link' => '#',
795
+ 'target' => false,
796
+ ),
797
+ ),
798
+ 'gap' => '10',
799
+ 'inner_gap' => '15',
800
+ 'size' => '16',
801
+ 'sizeType' => 'px',
802
+ 'sizeMobile' => '',
803
+ 'sizeTablet' => '',
804
+ 'bgSize' => '0',
805
+ 'border' => '0',
806
+ 'borderRadius' => '0',
807
+ 'fontSize' => '',
808
+ 'fontSizeType' => 'px',
809
+ 'fontSizeMobile' => '',
810
+ 'fontSizeTablet' => '',
811
+ 'lineHeight' => '',
812
+ 'lineHeightType' => 'em',
813
+ 'lineHeightMobile' => '',
814
+ 'lineHeightTablet' => '',
815
+ 'fontFamily' => '',
816
+ 'fontWeight' => '',
817
+ 'fontSubset' => '',
818
+ 'loadGoogleFonts' => false,
819
+ 'icon_layout' => 'vertical',
820
+ 'stack' => 'none',
821
+ ),
822
+ ),
823
+ 'uagb/info-box' => array(
824
+ 'slug' => '',
825
+ 'title' => __( 'Info Box', 'ultimate-addons-for-gutenberg' ),
826
+ 'description' => __( 'This block allows you to place an image or icon along with a heading and description within a single block.', 'ultimate-addons-for-gutenberg' ),
827
+ 'default' => true,
828
+ 'attributes' => array(
829
+ 'headingAlign' => 'center',
830
+ 'headingColor' => '',
831
+ 'subHeadingColor' => '',
832
+ 'prefixColor' => '',
833
+ 'prefixFontSize' => '',
834
+ 'prefixFontSizeType' => 'px',
835
+ 'prefixFontSizeTablet' => '',
836
+ 'prefixFontSizeMobile' => '',
837
+ 'prefixFontFamily' => '',
838
+ 'prefixFontWeight' => '',
839
+ 'prefixFontSubset' => '',
840
+ 'prefixLineHeightType' => 'em',
841
+ 'prefixLineHeight' => '',
842
+ 'prefixLineHeightTablet' => '',
843
+ 'prefixLineHeightMobile' => '',
844
+ 'prefixLoadGoogleFonts' => false,
845
+ 'headFontSize' => '',
846
+ 'headFontSizeType' => 'px',
847
+ 'headFontSizeTablet' => '',
848
+ 'headFontSizeMobile' => '',
849
+ 'headFontFamily' => '',
850
+ 'headFontWeight' => '',
851
+ 'headFontSubset' => '',
852
+ 'headLineHeightType' => 'em',
853
+ 'headLineHeight' => '',
854
+ 'headLineHeightTablet' => '',
855
+ 'headLineHeightMobile' => '',
856
+ 'headLoadGoogleFonts' => false,
857
+ 'subHeadFontSize' => '',
858
+ 'subHeadFontSizeType' => 'px',
859
+ 'subHeadFontSizeTablet' => '',
860
+ 'subHeadFontSizeMobile' => '',
861
+ 'subHeadFontFamily' => '',
862
+ 'subHeadFontWeight' => '',
863
+ 'subHeadFontSubset' => '',
864
+ 'subHeadLineHeightType' => 'em',
865
+ 'subHeadLineHeight' => '',
866
+ 'subHeadLineHeightTablet' => '',
867
+ 'subHeadLineHeightMobile' => '',
868
+ 'subHeadLoadGoogleFonts' => false,
869
+ 'separatorWidth' => '',
870
+ 'separatorHeight' => '',
871
+ 'separatorWidthType' => '%',
872
+ 'headSpace' => '10',
873
+ 'separatorSpace' => '10',
874
+ 'subHeadSpace' => '10',
875
+ 'icon' => '',
876
+ 'iconColor' => '#333',
877
+ 'iconSize' => '40',
878
+ 'iconimgPosition' => 'above-title',
879
+ 'block_id' => '',
880
+ 'iconHover' => '',
881
+ 'iconimgBorderRadius' => '0',
882
+ 'seperatorStyle' => 'solid',
883
+ 'seperatorWidth' => '30',
884
+ 'seperatorColor' => '#333',
885
+ 'seperatorThickness' => '2',
886
+ 'ctaLinkColor' => '#333',
887
+ 'ctaFontSize' => '',
888
+ 'ctaFontSizeType' => 'px',
889
+ 'ctaFontSizeMobile' => '',
890
+ 'ctaFontSizeTablet' => '',
891
+ 'ctaFontFamily' => '',
892
+ 'ctaFontWeight' => '',
893
+ 'ctaFontSubset' => '',
894
+ 'ctaLoadGoogleFonts' => false,
895
+ 'ctaBtnLinkColor' => '#333',
896
+ 'ctaBgColor' => 'transparent',
897
+ 'ctaBtnVertPadding' => '10',
898
+ 'ctaBtnHrPadding' => '14',
899
+ 'ctaBorderStyle' => 'solid',
900
+ 'ctaBorderColor' => '#333',
901
+ 'ctaBorderWidth' => '1',
902
+ 'ctaBorderRadius' => '0',
903
+ 'prefixSpace' => '5',
904
+ 'iconLeftMargin' => '5',
905
+ 'iconRightMargin' => '10',
906
+ 'iconTopMargin' => '5',
907
+ 'iconBottomMargin' => '5',
908
+ 'imageSize' => 'thumbnail',
909
+ 'imageWidthType' => true,
910
+ 'imageWidth' => '120',
911
+ 'seperatorSpace' => '15',
912
+ 'ctaLinkHoverColor' => '',
913
+ 'ctaBgHoverColor' => '',
914
+ 'ctaBorderhoverColor' => '',
915
+ 'ctaIconSpace' => '5',
916
+ ),
917
+ ),
918
+ 'uagb/marketing-button' => array(
919
+ 'slug' => '',
920
+ 'title' => __( 'Marketing Button', 'ultimate-addons-for-gutenberg' ),
921
+ 'description' => __( 'This block allows you to place a Marketing Button with small description.', 'ultimate-addons-for-gutenberg' ),
922
+ 'default' => true,
923
+ 'attributes' => array(
924
+ 'block_id' => '',
925
+ 'align' => 'center',
926
+ 'textAlign' => 'center',
927
+ 'link' => '#',
928
+ 'linkTarget' => false,
929
+ 'titleSpace' => 0,
930
+ 'borderStyle' => 'solid',
931
+ 'borderWidth' => 1,
932
+ 'borderRadius' => '',
933
+ 'borderColor' => '#333',
934
+ 'borderHoverColor' => '',
935
+ 'vPadding' => 8,
936
+ 'hPadding' => 20,
937
+ 'vPaddingMobile' => '',
938
+ 'hPaddingMobile' => '',
939
+ 'vPaddingTablet' => '',
940
+ 'hPaddingTablet' => '',
941
+ 'paddingType' => 'px',
942
+ 'backgroundType' => 'color',
943
+ 'backgroundColor' => '#eeeeee',
944
+ 'backgroundHoverColor' => '',
945
+ 'gradientColor1' => '',
946
+ 'gradientColor2' => '',
947
+ 'gradientType' => 'linear',
948
+ 'gradientLocation1' => 0,
949
+ 'gradientLocation2' => 100,
950
+ 'gradientAngle' => 0,
951
+ 'backgroundOpacity' => '',
952
+ 'backgroundHoverOpacity' => '',
953
+ 'titleColor' => '#333',
954
+ 'titleHoverColor' => '',
955
+ 'iconColor' => '#333',
956
+ 'iconHoverColor' => '',
957
+ 'iconPosition' => 'before',
958
+ 'prefixColor' => '#333',
959
+ 'prefixHoverColor' => '',
960
+ 'iconSpace' => 10,
961
+ 'titleLoadGoogleFonts' => false,
962
+ 'titleFontFamily' => '',
963
+ 'titleFontWeight' => '',
964
+ 'titleFontSubset' => '',
965
+ 'titleFontSize' => 20,
966
+ 'titleFontSizeType' => 'px',
967
+ 'titleFontSizeTablet' => 20,
968
+ 'titleFontSizeMobile' => 20,
969
+ 'titleLineHeightType' => 'em',
970
+ 'titleLineHeight' => '',
971
+ 'titleLineHeightTablet' => '',
972
+ 'titleLineHeightMobile' => '',
973
+ 'prefixLoadGoogleFonts' => false,
974
+ 'prefixFontFamily' => '',
975
+ 'prefixFontWeight' => '',
976
+ 'prefixFontSubset' => '',
977
+ 'prefixFontSize' => 14,
978
+ 'prefixFontSizeType' => 'px',
979
+ 'prefixFontSizeTablet' => 14,
980
+ 'prefixFontSizeMobile' => 14,
981
+ 'prefixLineHeightType' => 'em',
982
+ 'prefixLineHeight' => '',
983
+ 'prefixLineHeightTablet' => '',
984
+ 'prefixLineHeightMobile' => '',
985
+ 'iconFontSize' => 20,
986
+ 'iconFontSizeType' => 'px',
987
+ 'iconFontSizeTablet' => 20,
988
+ 'iconFontSizeMobile' => 20,
989
+ ),
990
+ ),
991
+ 'uagb/buttons' => array(
992
+ 'slug' => '',
993
+ 'title' => __( 'Multi Buttons', 'ultimate-addons-for-gutenberg' ),
994
+ 'description' => __( 'This block allows you to add multiple buttons with a single block.', 'ultimate-addons-for-gutenberg' ),
995
+ 'default' => true,
996
+ 'attributes' => array(
997
+ 'block_id' => '',
998
+ 'align' => 'center',
999
+ 'btn_count' => '2',
1000
+ 'buttons' => UAGB_Helper::get_button_defaults(),
1001
+ 'gap' => 10,
1002
+ 'stack' => 'none',
1003
+ 'fontFamily' => '',
1004
+ 'fontWeight' => '',
1005
+ 'loadGoogleFonts' => false,
1006
+ 'fontSubset' => '',
1007
+ ),
1008
+ ),
1009
+ 'uagb/post-carousel' => array(
1010
+ 'slug' => '',
1011
+ 'title' => __( 'Post Carousel', 'ultimate-addons-for-gutenberg' ),
1012
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a carousel layout.', 'ultimate-addons-for-gutenberg' ),
1013
+ 'default' => true,
1014
+ 'js_assets' => array( 'uagb-slick-js', 'uagb-carousel-js', 'uagb-imagesloaded' ),
1015
+ 'css_assets' => array( 'uagb-slick-css' ),
1016
+ 'attributes' => array(
1017
+ 'align' => 'left',
1018
+ 'rowGap' => '20',
1019
+ 'columnGap' => '20',
1020
+ 'bgColor' => '#e4e4e4',
1021
+ 'titleColor' => '#3b3b3b',
1022
+ 'titleTag' => 'h3',
1023
+ 'titleFontSize' => '',
1024
+ 'titleFontSizeType' => 'px',
1025
+ 'titleFontSizeMobile' => '',
1026
+ 'titleFontSizeTablet' => '',
1027
+ 'titleFontFamily' => '',
1028
+ 'titleFontWeight' => '',
1029
+ 'titleFontSubset' => '',
1030
+ 'titleLineHeightType' => 'em',
1031
+ 'titleLineHeight' => '',
1032
+ 'titleLineHeightTablet' => '',
1033
+ 'titleLineHeightMobile' => '',
1034
+ 'titleLoadGoogleFonts' => false,
1035
+ 'metaFontSize' => '',
1036
+ 'metaFontSizeType' => 'px',
1037
+ 'metaFontSizeMobile' => '',
1038
+ 'metaFontSizeTablet' => '',
1039
+ 'metaFontFamily' => '',
1040
+ 'metaFontWeight' => '',
1041
+ 'metaFontSubset' => '',
1042
+ 'metaLineHeightType' => 'em',
1043
+ 'metaLineHeight' => '',
1044
+ 'metaLineHeightTablet' => '',
1045
+ 'metaLineHeightMobile' => '',
1046
+ 'metaLoadGoogleFonts' => false,
1047
+ 'excerptFontSize' => '',
1048
+ 'excerptFontSizeType' => 'px',
1049
+ 'excerptFontSizeMobile' => '',
1050
+ 'excerptFontSizeTablet' => '',
1051
+ 'excerptFontFamily' => '',
1052
+ 'excerptFontWeight' => '',
1053
+ 'excerptFontSubset' => '',
1054
+ 'excerptLineHeightType' => 'em',
1055
+ 'excerptLineHeight' => '',
1056
+ 'excerptLineHeightTablet' => '',
1057
+ 'excerptLineHeightMobile' => '',
1058
+ 'excerptLoadGoogleFonts' => false,
1059
+ 'ctaFontSize' => '',
1060
+ 'ctaFontSizeType' => 'px',
1061
+ 'ctaFontSizeTablet' => '',
1062
+ 'ctaFontSizeMobile' => '',
1063
+ 'ctaFontFamily' => '',
1064
+ 'ctaFontWeight' => '',
1065
+ 'ctaFontSubset' => '',
1066
+ 'ctaLineHeightType' => 'em',
1067
+ 'ctaLineHeight' => '',
1068
+ 'ctaLineHeightTablet' => '',
1069
+ 'ctaLineHeightMobile' => '',
1070
+ 'ctaLoadGoogleFonts' => false,
1071
+ 'metaColor' => '#777777',
1072
+ 'excerptColor' => '',
1073
+ 'ctaColor' => '#ffffff',
1074
+ 'ctaBgColor' => '#333333',
1075
+ 'ctaHColor' => '',
1076
+ 'ctaBgHColor' => '',
1077
+ 'contentPadding' => '20',
1078
+ 'contentPaddingMobile' => '',
1079
+ 'btnVPadding' => '5',
1080
+ 'btnHPadding' => '10',
1081
+ 'titleBottomSpace' => '15',
1082
+ 'metaBottomSpace' => '15',
1083
+ 'excerptBottomSpace' => '25',
1084
+ 'arrowSize' => '20',
1085
+ 'arrowColor' => '#aaaaaa',
1086
+ 'arrowDots' => '',
1087
+ 'arrowBorderSize' => '1',
1088
+ 'arrowBorderRadius' => '0',
1089
+ 'overlayOpacity' => '50',
1090
+ 'bgOverlayColor' => '#ffffff',
1091
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1092
+ 'borderWidth' => '1',
1093
+ 'borderStyle' => 'none',
1094
+ 'borderColor' => '',
1095
+ 'borderHColor' => '',
1096
+ 'borderRadius' => '0',
1097
+ ),
1098
+ ),
1099
+ 'uagb/post-grid' => array(
1100
+ 'slug' => '',
1101
+ 'title' => __( 'Post Grid', 'ultimate-addons-for-gutenberg' ),
1102
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a grid layout.', 'ultimate-addons-for-gutenberg' ),
1103
+ 'default' => true,
1104
+ 'attributes' => array(
1105
+ 'align' => 'left',
1106
+ 'rowGap' => '20',
1107
+ 'columnGap' => '20',
1108
+ 'bgColor' => '#e4e4e4',
1109
+ 'titleColor' => '#3b3b3b',
1110
+ 'titleTag' => 'h3',
1111
+ 'titleFontSize' => '',
1112
+ 'titleFontSizeType' => 'px',
1113
+ 'titleFontSizeMobile' => '',
1114
+ 'titleFontSizeTablet' => '',
1115
+ 'titleFontFamily' => '',
1116
+ 'titleFontWeight' => '',
1117
+ 'titleFontSubset' => '',
1118
+ 'titleLineHeightType' => 'em',
1119
+ 'titleLineHeight' => '',
1120
+ 'titleLineHeightTablet' => '',
1121
+ 'titleLineHeightMobile' => '',
1122
+ 'titleLoadGoogleFonts' => false,
1123
+ 'metaFontSize' => '',
1124
+ 'metaFontSizeType' => 'px',
1125
+ 'metaFontSizeMobile' => '',
1126
+ 'metaFontSizeTablet' => '',
1127
+ 'metaFontFamily' => '',
1128
+ 'metaFontWeight' => '',
1129
+ 'metaFontSubset' => '',
1130
+ 'metaLineHeightType' => 'em',
1131
+ 'metaLineHeight' => '',
1132
+ 'metaLineHeightTablet' => '',
1133
+ 'metaLineHeightMobile' => '',
1134
+ 'metaLoadGoogleFonts' => false,
1135
+ 'excerptFontSize' => '',
1136
+ 'excerptFontSizeType' => 'px',
1137
+ 'excerptFontSizeMobile' => '',
1138
+ 'excerptFontSizeTablet' => '',
1139
+ 'excerptFontFamily' => '',
1140
+ 'excerptFontWeight' => '',
1141
+ 'excerptFontSubset' => '',
1142
+ 'excerptLineHeightType' => 'em',
1143
+ 'excerptLineHeight' => '',
1144
+ 'excerptLineHeightTablet' => '',
1145
+ 'excerptLineHeightMobile' => '',
1146
+ 'excerptLoadGoogleFonts' => false,
1147
+ 'ctaFontSize' => '',
1148
+ 'ctaFontSizeType' => 'px',
1149
+ 'ctaFontSizeTablet' => '',
1150
+ 'ctaFontSizeMobile' => '',
1151
+ 'ctaFontFamily' => '',
1152
+ 'ctaFontWeight' => '',
1153
+ 'ctaFontSubset' => '',
1154
+ 'ctaLineHeightType' => 'em',
1155
+ 'ctaLineHeight' => '',
1156
+ 'ctaLineHeightTablet' => '',
1157
+ 'ctaLineHeightMobile' => '',
1158
+ 'ctaLoadGoogleFonts' => false,
1159
+ 'metaColor' => '#777777',
1160
+ 'excerptColor' => '',
1161
+ 'ctaColor' => '#ffffff',
1162
+ 'ctaBgColor' => '#333333',
1163
+ 'ctaHColor' => '',
1164
+ 'ctaBgHColor' => '',
1165
+ 'contentPadding' => '20',
1166
+ 'contentPaddingMobile' => '',
1167
+ 'btnVPadding' => '5',
1168
+ 'btnHPadding' => '10',
1169
+ 'titleBottomSpace' => '15',
1170
+ 'metaBottomSpace' => '15',
1171
+ 'excerptBottomSpace' => '25',
1172
+ 'overlayOpacity' => '50',
1173
+ 'bgOverlayColor' => '#ffffff',
1174
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1175
+ 'borderWidth' => '1',
1176
+ 'borderStyle' => 'none',
1177
+ 'borderColor' => '',
1178
+ 'borderHColor' => '',
1179
+ 'borderRadius' => '0',
1180
+ ),
1181
+ ),
1182
+ 'uagb/post-masonry' => array(
1183
+ 'slug' => '',
1184
+ 'title' => __( 'Post Masonry', 'ultimate-addons-for-gutenberg' ),
1185
+ 'description' => __( 'This block fetches the blog posts you may have on your website and displays them in a masonry layout.', 'ultimate-addons-for-gutenberg' ),
1186
+ 'default' => true,
1187
+ 'js_assets' => array( 'uagb-masonry', 'uagb-imagesloaded' ),
1188
+ 'attributes' => array(
1189
+ 'align' => 'left',
1190
+ 'rowGap' => '20',
1191
+ 'columnGap' => '20',
1192
+ 'bgColor' => '#e4e4e4',
1193
+ 'titleColor' => '#3b3b3b',
1194
+ 'titleTag' => 'h3',
1195
+ 'titleFontSize' => '',
1196
+ 'titleFontSizeType' => 'px',
1197
+ 'titleFontSizeMobile' => '',
1198
+ 'titleFontSizeTablet' => '',
1199
+ 'titleFontFamily' => '',
1200
+ 'titleFontWeight' => '',
1201
+ 'titleFontSubset' => '',
1202
+ 'titleLineHeightType' => 'em',
1203
+ 'titleLineHeight' => '',
1204
+ 'titleLineHeightTablet' => '',
1205
+ 'titleLineHeightMobile' => '',
1206
+ 'titleLoadGoogleFonts' => false,
1207
+ 'metaFontSize' => '',
1208
+ 'metaFontSizeType' => 'px',
1209
+ 'metaFontSizeMobile' => '',
1210
+ 'metaFontSizeTablet' => '',
1211
+ 'metaFontFamily' => '',
1212
+ 'metaFontWeight' => '',
1213
+ 'metaFontSubset' => '',
1214
+ 'metaLineHeightType' => 'em',
1215
+ 'metaLineHeight' => '',
1216
+ 'metaLineHeightTablet' => '',
1217
+ 'metaLineHeightMobile' => '',
1218
+ 'metaLoadGoogleFonts' => false,
1219
+ 'excerptFontSize' => '',
1220
+ 'excerptFontSizeType' => 'px',
1221
+ 'excerptFontSizeMobile' => '',
1222
+ 'excerptFontSizeTablet' => '',
1223
+ 'excerptFontFamily' => '',
1224
+ 'excerptFontWeight' => '',
1225
+ 'excerptFontSubset' => '',
1226
+ 'excerptLineHeightType' => 'em',
1227
+ 'excerptLineHeight' => '',
1228
+ 'excerptLineHeightTablet' => '',
1229
+ 'excerptLineHeightMobile' => '',
1230
+ 'excerptLoadGoogleFonts' => false,
1231
+ 'ctaFontSize' => '',
1232
+ 'ctaFontSizeType' => 'px',
1233
+ 'ctaFontSizeTablet' => '',
1234
+ 'ctaFontSizeMobile' => '',
1235
+ 'ctaFontFamily' => '',
1236
+ 'ctaFontWeight' => '',
1237
+ 'ctaFontSubset' => '',
1238
+ 'ctaLineHeightType' => 'em',
1239
+ 'ctaLineHeight' => '',
1240
+ 'ctaLineHeightTablet' => '',
1241
+ 'ctaLineHeightMobile' => '',
1242
+ 'ctaLoadGoogleFonts' => false,
1243
+ 'metaColor' => '#777777',
1244
+ 'excerptColor' => '',
1245
+ 'ctaColor' => '#ffffff',
1246
+ 'ctaBgColor' => '#333333',
1247
+ 'ctaHColor' => '',
1248
+ 'ctaBgHColor' => '',
1249
+ 'contentPadding' => '20',
1250
+ 'contentPaddingMobile' => '',
1251
+ 'btnVPadding' => '5',
1252
+ 'btnHPadding' => '10',
1253
+ 'titleBottomSpace' => '15',
1254
+ 'metaBottomSpace' => '15',
1255
+ 'excerptBottomSpace' => '25',
1256
+ 'overlayOpacity' => '50',
1257
+ 'bgOverlayColor' => '#ffffff',
1258
+ 'ctaText' => __( 'Read More', 'ultimate-addons-for-gutenberg' ),
1259
+ 'borderWidth' => '1',
1260
+ 'borderStyle' => 'none',
1261
+ 'borderColor' => '',
1262
+ 'borderHColor' => '',
1263
+ 'borderRadius' => '0',
1264
+ ),
1265
+ ),
1266
+ 'uagb/post-timeline' => array(
1267
+ 'slug' => '',
1268
+ 'title' => __( 'Post Timeline', 'ultimate-addons-for-gutenberg' ),
1269
+ 'description' => __( 'The Timeline block lets you create beautiful timelines of Posts on your website.', 'ultimate-addons-for-gutenberg' ),
1270
+ 'default' => true,
1271
+ 'js_assets' => array( 'uagb-timeline-js' ),
1272
+ 'attributes' => array(
1273
+ 'align' => 'center',
1274
+ 'headingColor' => '',
1275
+ 'subHeadingColor' => '',
1276
+ 'separatorBg' => '#eee',
1277
+ 'backgroundColor' => '#eee',
1278
+ 'separatorColor' => '#eee',
1279
+ 'separatorFillColor' => '#61ce70',
1280
+ 'separatorBorder' => '#eee',
1281
+ 'borderFocus' => '#5cb85c',
1282
+ 'horizontalSpace' => 10,
1283
+ 'verticalSpace' => 15,
1284
+ 'headFontSizeType' => 'px',
1285
+ 'headFontSize' => '',
1286
+ 'headFontSizeTablet' => '',
1287
+ 'headFontSizeMobile' => '',
1288
+ 'headFontFamily' => '',
1289
+ 'headFontWeight' => '',
1290
+ 'headFontSubset' => '',
1291
+ 'headLineHeightType' => 'em',
1292
+ 'headLineHeight' => '',
1293
+ 'headLineHeightTablet' => '',
1294
+ 'headLineHeightMobile' => '',
1295
+ 'headLoadGoogleFonts' => false,
1296
+ 'timelinAlignment' => 'center',
1297
+ 'arrowlinAlignment' => 'center',
1298
+ 'subHeadFontSizeType' => 'px',
1299
+ 'subHeadFontSize' => '',
1300
+ 'subHeadFontSizeTablet' => '',
1301
+ 'subHeadFontSizeMobile' => '',
1302
+ 'subHeadFontFamily' => '',
1303
+ 'subHeadFontWeight' => '',
1304
+ 'subHeadFontSubset' => '',
1305
+ 'subHeadLineHeightType' => 'em',
1306
+ 'subHeadLineHeight' => '',
1307
+ 'subHeadLineHeightTablet' => '',
1308
+ 'subHeadLineHeightMobile' => '',
1309
+ 'subHeadLoadGoogleFonts' => false,
1310
+ 'headSpace' => 5,
1311
+ 'contentSpace' => 5,
1312
+ 'authorSpace' => 5,
1313
+ 'separatorwidth' => 3,
1314
+ 'borderwidth' => 0,
1315
+ 'iconColor' => '#333',
1316
+ 'iconFocus' => '#fff',
1317
+ 'iconBgFocus' => '#61ce70',
1318
+ 'dateColor' => '#333',
1319
+ 'dateFontsizeType' => 'px',
1320
+ 'dateFontsize' => 12,
1321
+ 'dateFontsizeTablet' => '',
1322
+ 'dateFontsizeMobile' => '',
1323
+ 'dateFontFamily' => '',
1324
+ 'dateFontWeight' => '',
1325
+ 'dateFontSubset' => '',
1326
+ 'dateLineHeightType' => 'em',
1327
+ 'dateLineHeight' => '',
1328
+ 'dateLineHeightTablet' => '',
1329
+ 'dateLineHeightMobile' => '',
1330
+ 'dateLoadGoogleFonts' => false,
1331
+ 'connectorBgsize' => 35,
1332
+ 'dateBottomspace' => 5,
1333
+ 'borderRadius' => 2,
1334
+ 'bgPadding' => 20,
1335
+ 'contentPadding' => 10,
1336
+ 'iconSize' => 12,
1337
+ 'stack' => 'tablet',
1338
+ 'ctaColor' => '#fff',
1339
+ 'authorColor' => '#333',
1340
+ 'ctaFontSizeType' => 'px',
1341
+ 'ctaFontSize' => '',
1342
+ 'ctaFontSizeTablet' => '',
1343
+ 'ctaFontSizeMobile' => '',
1344
+ 'ctaFontFamily' => '',
1345
+ 'ctaFontWeight' => '',
1346
+ 'ctaFontSubset' => '',
1347
+ 'ctaLineHeightType' => 'em',
1348
+ 'ctaLineHeight' => '',
1349
+ 'ctaLineHeightTablet' => '',
1350
+ 'ctaLineHeightMobile' => '',
1351
+ 'ctaLoadGoogleFonts' => false,
1352
+ 'authorFontSizeType' => 'px',
1353
+ 'authorFontSize' => 11,
1354
+ 'authorFontSizeTablet' => '',
1355
+ 'authorFontSizeMobile' => '',
1356
+ 'authorFontFamily' => '',
1357
+ 'authorFontWeight' => '',
1358
+ 'authorFontSubset' => '',
1359
+ 'authorLineHeightType' => 'em',
1360
+ 'authorLineHeight' => '',
1361
+ 'authorLineHeightTablet' => '',
1362
+ 'authorLineHeightMobile' => '',
1363
+ 'authorLoadGoogleFonts' => false,
1364
+ 'ctaBackground' => '#333',
1365
+ ),
1366
+ ),
1367
+ 'uagb/restaurant-menu' => array(
1368
+ 'slug' => '',
1369
+ 'title' => __( 'Price List', 'ultimate-addons-for-gutenberg' ),
1370
+ 'description' => __( 'This block allows you to add attractive Price List.', 'ultimate-addons-for-gutenberg' ),
1371
+ 'default' => true,
1372
+ 'attributes' => array(
1373
+ 'block_id' => '',
1374
+ 'headingAlign' => 'left',
1375
+ 'descColor' => '#333',
1376
+ 'priceColor' => '#888888',
1377
+ 'titleColor' => '#333',
1378
+ 'imagePosition' => 'top',
1379
+ 'imageAlignment' => 'top',
1380
+ 'titleFontSize' => '',
1381
+ 'titleFontSizeType' => 'px',
1382
+ 'titleFontSizeMobile' => '',
1383
+ 'titleFontSizeTablet' => '',
1384
+ 'titleFontFamily' => '',
1385
+ 'titleFontWeight' => '',
1386
+ 'titleFontSubset' => '',
1387
+ 'titleLineHeightType' => 'em',
1388
+ 'titleLineHeight' => '',
1389
+ 'titleLineHeightTablet' => '',
1390
+ 'titleLineHeightMobile' => '',
1391
+ 'titleLoadGoogleFonts' => false,
1392
+ 'priceFontSize' => '',
1393
+ 'priceFontSizeType' => 'px',
1394
+ 'priceFontSizeMobile' => '',
1395
+ 'priceFontSizeTablet' => '',
1396
+ 'priceFontFamily' => '',
1397
+ 'priceFontWeight' => '',
1398
+ 'priceFontSubset' => '',
1399
+ 'priceLineHeightType' => 'em',
1400
+ 'priceLineHeight' => '',
1401
+ 'priceLineHeightTablet' => '',
1402
+ 'priceLineHeightMobile' => '',
1403
+ 'priceLoadGoogleFonts' => false,
1404
+ 'descFontSize' => '',
1405
+ 'descFontSizeType' => 'px',
1406
+ 'descFontSizeMobile' => '',
1407
+ 'descFontSizeTablet' => '',
1408
+ 'descFontFamily' => '',
1409
+ 'descFontWeight' => '',
1410
+ 'descFontSubset' => '',
1411
+ 'descLineHeightType' => 'em',
1412
+ 'descLineHeight' => '',
1413
+ 'descLineHeightTablet' => '',
1414
+ 'descLineHeightMobile' => '',
1415
+ 'descLoadGoogleFonts' => false,
1416
+ 'priceSpace' => 5,
1417
+ 'descSpace' => 15,
1418
+ 'titleSpace' => 10,
1419
+ 'imgVrPadding' => 0,
1420
+ 'imgHrPadding' => 0,
1421
+ 'imgTopPadding' => 0,
1422
+ 'imgBottomPadding' => 0,
1423
+ 'iconImage' => '',
1424
+ 'imageSize' => 'medium',
1425
+ 'imageWidth' => '',
1426
+ 'columns' => 2,
1427
+ 'tcolumns' => 2,
1428
+ 'mcolumns' => 1,
1429
+ 'rowGap' => 10,
1430
+ 'columnGap' => 10,
1431
+ 'contentHrPadding' => 5,
1432
+ 'contentVrPadding' => 5,
1433
+ 'seperatorStyle' => 'dashed',
1434
+ 'seperatorWidth' => '100',
1435
+ 'seperatorThickness' => '1',
1436
+ 'seperatorColor' => '#b2b4b5',
1437
+ ),
1438
+ ),
1439
+ 'uagb/section' => array(
1440
+ 'slug' => '',
1441
+ 'title' => __( 'Section', 'ultimate-addons-for-gutenberg' ),
1442
+ 'description' => __( 'This block is an outer wrap section that allows you to add other blocks within it.', 'ultimate-addons-for-gutenberg' ),
1443
+ 'default' => true,
1444
+ 'attributes' => array(
1445
+ 'topPadding' => '20',
1446
+ 'bottomPadding' => '20',
1447
+ 'leftPadding' => '20',
1448
+ 'rightPadding' => '20',
1449
+ 'topMargin' => '0',
1450
+ 'bottomMargin' => '0',
1451
+ 'leftMargin' => '0',
1452
+ 'rightMargin' => '0',
1453
+ 'topPaddingTablet' => '',
1454
+ 'bottomPaddingTablet' => '',
1455
+ 'leftPaddingTablet' => '',
1456
+ 'rightPaddingTablet' => '',
1457
+ 'topPaddingMobile' => '',
1458
+ 'bottomPaddingMobile' => '',
1459
+ 'leftPaddingMobile' => '',
1460
+ 'rightPaddingMobile' => '',
1461
+ 'topMarginMobile' => '',
1462
+ 'bottomMarginMobile' => '',
1463
+ 'leftMarginMobile' => '',
1464
+ 'rightMarginMobile' => '',
1465
+ 'topMarginTablet' => '',
1466
+ 'bottomMarginTablet' => '',
1467
+ 'leftMarginTablet' => '',
1468
+ 'rightMarginTablet' => '',
1469
+ 'contentWidth' => 'boxed',
1470
+ 'width' => '900',
1471
+ 'innerWidth' => '1140',
1472
+ 'innerWidthType' => 'px',
1473
+ 'tag' => 'section',
1474
+ 'backgroundType' => 'none',
1475
+ 'gradientColor1' => '',
1476
+ 'gradientColor2' => '',
1477
+ 'backgroundVideoColor' => '',
1478
+ 'backgroundPosition' => 'center-center',
1479
+ 'backgroundSize' => 'cover',
1480
+ 'backgroundRepeat' => 'no-repeat',
1481
+ 'backgroundAttachment' => 'scroll',
1482
+ 'gradientType' => 'linear',
1483
+ 'gradientLocation1' => '0',
1484
+ 'gradientLocation2' => '100',
1485
+ 'gradientAngle' => '0',
1486
+ 'gradientPosition' => 'center center',
1487
+ 'backgroundColor' => '',
1488
+ 'backgroundOpacity' => '',
1489
+ 'backgroundVideoOpacity' => '50',
1490
+ 'backgroundImageColor' => '',
1491
+ 'align' => 'center',
1492
+ 'borderStyle' => 'none',
1493
+ 'borderWidth' => '1',
1494
+ 'borderRadius' => '',
1495
+ 'borderColor' => '',
1496
+ 'themeWidth' => false,
1497
+ 'mobileMarginType' => 'px',
1498
+ 'tabletMarginType' => 'px',
1499
+ 'desktopMarginType' => 'px',
1500
+ 'mobilePaddingType' => 'px',
1501
+ 'tabletPaddingType' => 'px',
1502
+ 'desktopPaddingType' => 'px',
1503
+ 'overlayType' => 'color',
1504
+ 'gradientOverlayColor1' => '',
1505
+ 'gradientOverlayColor2' => '',
1506
+ 'gradientOverlayType' => 'linear',
1507
+ 'gradientOverlayLocation1' => '0',
1508
+ 'gradientOverlayLocation2' => '100',
1509
+ 'gradientOverlayAngle' => '0',
1510
+ 'gradientOverlayPosition' => 'center center',
1511
+ ),
1512
+ ),
1513
+ 'uagb/social-share' => array(
1514
+ 'slug' => '',
1515
+ 'title' => __( 'Social Share', 'ultimate-addons-for-gutenberg' ),
1516
+ 'description' => __( 'This block allows you to let users share your content across various social networking sites.', 'ultimate-addons-for-gutenberg' ),
1517
+ 'default' => true,
1518
+ 'attributes' => array(
1519
+ 'align' => 'center',
1520
+ 'social_count' => '1',
1521
+ 'socials' => array(
1522
+ array(
1523
+ 'type' => 'facebook',
1524
+ 'image_icon' => 'icon',
1525
+ 'icon' => 'fab fa-facebook',
1526
+ 'image' => '',
1527
+ 'icon_color' => '#3a3a3a',
1528
+ 'icon_hover_color' => '#3a3a3a',
1529
+ 'icon_bg_color' => '',
1530
+ 'icon_bg_hover_color' => '',
1531
+ ),
1532
+ ),
1533
+ 'gap' => '10',
1534
+ 'size' => '40',
1535
+ 'sizeType' => 'px',
1536
+ 'sizeMobile' => '',
1537
+ 'sizeTablet' => '',
1538
+ 'bgSize' => '0',
1539
+ 'bgSizeType' => 'px',
1540
+ 'bgSizeMobile' => '',
1541
+ 'bgSizeTablet' => '',
1542
+ 'borderRadius' => '0',
1543
+ 'social_layout' => 'horizontal',
1544
+ 'stack' => 'none',
1545
+ ),
1546
+ ),
1547
+ 'uagb/table-of-contents' => array(
1548
+ 'slug' => '',
1549
+ 'title' => __( 'Table of Contents', 'ultimate-addons-for-gutenberg' ),
1550
+ 'description' => __( 'This block allows you to place a Table of Contents for Pages/Posts.', 'ultimate-addons-for-gutenberg' ),
1551
+ 'default' => true,
1552
+ 'js_assets' => array( 'uagb-table-of-contents' ),
1553
+ 'attributes' => array(
1554
+ 'block_id' => '',
1555
+ 'heading' => 'Table Of Contents',
1556
+ 'disableBullets' => false,
1557
+ 'smoothScroll' => true,
1558
+ 'smoothScrollOffset' => 30,
1559
+ 'scrollToTop' => false,
1560
+ 'scrollToTopColor' => '',
1561
+ 'scrollToTopBgColor' => '',
1562
+ 'considerH1' => true,
1563
+ 'considerH2' => true,
1564
+ 'considerH3' => true,
1565
+ 'considerH4' => true,
1566
+ 'considerH5' => true,
1567
+ 'considerH6' => true,
1568
+ 'customWidth' => false,
1569
+ 'widthDesktop' => 100,
1570
+ 'widthTablet' => '',
1571
+ 'widthMobile' => '',
1572
+ 'tColumnsDesktop' => 1,
1573
+ 'tColumnsTablet' => 1,
1574
+ 'tColumnsMobile' => 1,
1575
+ 'widthTypeDesktop' => '%',
1576
+ 'widthTypeTablet' => '%',
1577
+ 'widthTypeMobile' => '%',
1578
+ 'makeCollapsible' => false,
1579
+ 'initialCollapse' => false,
1580
+ 'icon' => 'fa-angle-down',
1581
+ 'iconColor' => '',
1582
+ 'iconSize' => '',
1583
+ 'align' => 'left',
1584
+ 'linkColor' => '#333',
1585
+ 'vPaddingDesktop' => 30,
1586
+ 'vPaddingTablet' => '',
1587
+ 'vPaddingMobile' => '',
1588
+ 'hPaddingDesktop' => 30,
1589
+ 'hPaddingTablet' => '',
1590
+ 'hPaddingMobile' => '',
1591
+ 'paddingTypeDesktop' => 'px',
1592
+ 'paddingTypeTablet' => 'px',
1593
+ 'paddingTypeMobile' => 'px',
1594
+ 'vMarginDesktop' => '',
1595
+ 'vMarginTablet' => '',
1596
+ 'vMarginMobile' => '',
1597
+ 'hMarginDesktop' => '',
1598
+ 'hMarginTablet' => '',
1599
+ 'hMarginMobile' => '',
1600
+ 'marginTypeDesktop' => 'px',
1601
+ 'marginTypeTablet' => 'px',
1602
+ 'marginTypeMobile' => 'px',
1603
+ 'contentPaddingDesktop' => '',
1604
+ 'contentPaddingTablet' => '',
1605
+ 'contentPaddingMobile' => '',
1606
+ 'contentPaddingTypeDesktop' => 'px',
1607
+ 'contentPaddingTypeTablet' => 'px',
1608
+ 'contentPaddingTypeMobile' => 'px',
1609
+ 'headingBottom' => '',
1610
+ 'backgroundColor' => '#eee',
1611
+ 'linkHoverColor' => '',
1612
+ 'headingColor' => '',
1613
+ 'borderStyle' => 'solid',
1614
+ 'borderWidth' => 1,
1615
+ 'borderRadius' => '',
1616
+ 'borderColor' => '#333',
1617
+ 'loadGoogleFonts' => false,
1618
+ 'fontFamily' => '',
1619
+ 'fontWeight' => '',
1620
+ 'fontSubset' => '',
1621
+ 'fontSize' => '',
1622
+ 'fontSizeType' => 'px',
1623
+ 'fontSizeTablet' => '',
1624
+ 'fontSizeMobile' => '',
1625
+ 'lineHeightType' => 'em',
1626
+ 'lineHeight' => '',
1627
+ 'lineHeightTablet' => '',
1628
+ 'lineHeightMobile' => '',
1629
+ 'headingLoadGoogleFonts' => false,
1630
+ 'headingFontFamily' => '',
1631
+ 'headingFontWeight' => '500',
1632
+ 'headingFontSubset' => '',
1633
+ 'headingFontSize' => 20,
1634
+ 'headingFontSizeType' => 'px',
1635
+ 'headingFontSizeTablet' => '',
1636
+ 'headingFontSizeMobile' => '',
1637
+ 'headingLineHeightType' => 'em',
1638
+ 'headingLineHeight' => '',
1639
+ 'headingLineHeightTablet' => '',
1640
+ 'headingLineHeightMobile' => '',
1641
+ ),
1642
+ ),
1643
+ 'uagb/team' => array(
1644
+ 'slug' => '',
1645
+ 'title' => __( 'Team', 'ultimate-addons-for-gutenberg' ),
1646
+ 'description' => __( 'This block allows you to display your team. Add their picture, name, what they do and links to their social profiles.', 'ultimate-addons-for-gutenberg' ),
1647
+ 'default' => true,
1648
+ 'attributes' => array(
1649
+ 'block_id' => '',
1650
+ 'align' => 'center',
1651
+ 'tag' => 'h3',
1652
+ 'titleColor' => '',
1653
+ 'prefixColor' => '#888888',
1654
+ 'descColor' => '',
1655
+ 'socialColor' => '#333',
1656
+ 'socialHoverColor' => '',
1657
+ 'titleFontFamily' => '',
1658
+ 'titleLoadGoogleFonts' => false,
1659
+ 'titleFontWeight' => '',
1660
+ 'titleFontSubset' => '',
1661
+ 'titleFontSize' => '',
1662
+ 'titleFontSizeType' => 'px',
1663
+ 'titleFontSizeTablet' => '',
1664
+ 'titleFontSizeMobile' => '',
1665
+ 'titleLineHeight' => '',
1666
+ 'titleLineHeightType' => 'em',
1667
+ 'titleLineHeightTablet' => '',
1668
+ 'titleLineHeightMobile' => '',
1669
+ 'prefixFontFamily' => '',
1670
+ 'prefixLoadGoogleFonts' => false,
1671
+ 'prefixFontWeight' => '',
1672
+ 'prefixFontSubset' => '',
1673
+ 'prefixFontSize' => 15,
1674
+ 'prefixFontSizeType' => 'px',
1675
+ 'prefixFontSizeTablet' => '',
1676
+ 'prefixFontSizeMobile' => '',
1677
+ 'prefixLineHeight' => '',
1678
+ 'prefixLineHeightType' => 'em',
1679
+ 'prefixLineHeightTablet' => '',
1680
+ 'prefixLineHeightMobile' => '',
1681
+ 'descFontFamily' => '',
1682
+ 'descLoadGoogleFonts' => false,
1683
+ 'descFontWeight' => '',
1684
+ 'descFontSubset' => '',
1685
+ 'descFontSize' => 15,
1686
+ 'descFontSizeType' => 'px',
1687
+ 'descFontSizeTablet' => '',
1688
+ 'descFontSizeMobile' => '',
1689
+ 'descLineHeight' => '',
1690
+ 'descLineHeightType' => 'em',
1691
+ 'descLineHeightTablet' => '',
1692
+ 'descLineHeightMobile' => '',
1693
+ 'socialFontSize' => 20,
1694
+ 'socialFontSizeType' => 'px',
1695
+ 'socialFontSizeMobile' => '',
1696
+ 'socialFontSizeTablet' => '',
1697
+ 'image' => '',
1698
+ 'imgStyle' => 'normal',
1699
+ 'imgPosition' => 'above',
1700
+ 'imgAlign' => 'top',
1701
+ 'imgSiz' => 'thumbnail',
1702
+ 'imgWidth' => 120,
1703
+ 'titleSpace' => '',
1704
+ 'prefixSpace' => '',
1705
+ 'descSpace' => 10,
1706
+ 'imgLeftMargin' => 20,
1707
+ 'imgRightMargin' => 20,
1708
+ 'imgTopMargin' => 15,
1709
+ 'imgBottomMargin' => 15,
1710
+ 'socialSpace' => 20,
1711
+ 'headingTag' => 'h3',
1712
+ ),
1713
+ ),
1714
+ 'uagb/testimonial' => array(
1715
+ 'slug' => '',
1716
+ 'title' => __( 'Testimonial', 'ultimate-addons-for-gutenberg' ),
1717
+ 'description' => __( 'This block helps your display some amazing client feedback within your website.', 'ultimate-addons-for-gutenberg' ),
1718
+ 'default' => true,
1719
+ 'js_assets' => array( 'uagb-slick-js' ),
1720
+ 'css_assets' => array( 'uagb-slick-css' ),
1721
+ 'attributes' => array(
1722
+ 'headingAlign' => 'center',
1723
+ 'companyColor' => '#888888',
1724
+ 'descColor' => '#333',
1725
+ 'authorColor' => '#333',
1726
+ 'nameFontSizeType' => 'px',
1727
+ 'nameFontSize' => '',
1728
+ 'nameFontSizeTablet' => '',
1729
+ 'nameFontSizeMobile' => '',
1730
+ 'nameFontFamily' => '',
1731
+ 'nameFontWeight' => '',
1732
+ 'nameFontSubset' => '',
1733
+ 'nameLineHeightType' => 'em',
1734
+ 'nameLineHeight' => '',
1735
+ 'nameLineHeightTablet' => '',
1736
+ 'nameLineHeightMobile' => '',
1737
+ 'nameLoadGoogleFonts' => false,
1738
+ 'companyFontSizeType' => 'px',
1739
+ 'companyFontSize' => '',
1740
+ 'companyFontSizeTablet' => '',
1741
+ 'companyFontSizeMobile' => '',
1742
+ 'companyFontFamily' => '',
1743
+ 'companyFontWeight' => '',
1744
+ 'companyFontSubset' => '',
1745
+ 'companyLineHeightType' => 'em',
1746
+ 'companyLineHeight' => '',
1747
+ 'companyLineHeightTablet' => '',
1748
+ 'companyLineHeightMobile' => '',
1749
+ 'companyLoadGoogleFonts' => false,
1750
+ 'descFontSizeType' => 'px',
1751
+ 'descFontSize' => '',
1752
+ 'descFontSizeTablet' => '',
1753
+ 'descFontSizeMobile' => '',
1754
+ 'descFontFamily' => '',
1755
+ 'descFontWeight' => '',
1756
+ 'descFontSubset' => '',
1757
+ 'descLineHeightType' => 'em',
1758
+ 'descLineHeight' => '',
1759
+ 'descLineHeightTablet' => '',
1760
+ 'descLineHeightMobile' => '',
1761
+ 'descLoadGoogleFonts' => false,
1762
+ 'descSpace' => 15,
1763
+ 'block_id' => '',
1764
+ 'nameSpace' => 5,
1765
+ 'imgVrPadding' => 10,
1766
+ 'imgHrPadding' => 10,
1767
+ 'imageWidth' => 60,
1768
+ 'rowGap' => 10,
1769
+ 'columnGap' => 10,
1770
+ 'contentPadding' => 5,
1771
+ 'backgroundColor' => '',
1772
+ 'backgroundImage' => '',
1773
+ 'backgroundPosition' => 'center-center',
1774
+ 'backgroundSize' => 'cover',
1775
+ 'backgroundRepeat' => 'no-repeat',
1776
+ 'backgroundImageColor' => '',
1777
+ 'backgroundOpacity' => 0,
1778
+ 'borderStyle' => 'none',
1779
+ 'borderWidth' => 1,
1780
+ 'borderRadius' => 0,
1781
+ 'borderColor' => '#333',
1782
+ 'arrowColor' => '#333',
1783
+ 'arrowDots' => 'arrowDots',
1784
+ 'arrowBorderSize' => 1,
1785
+ 'arrowBorderRadius' => 0,
1786
+ 'columns' => 1,
1787
+ 'autoplaySpeed' => 2000,
1788
+ 'autoplay' => true,
1789
+ 'infiniteLoop' => true,
1790
+ 'pauseOnHover' => true,
1791
+ 'transitionSpeed' => 500,
1792
+ 'tcolumns' => 1,
1793
+ 'mcolumns' => 1,
1794
+ 'arrowSize' => 20,
1795
+ 'test_item_count' => 3,
1796
+ ),
1797
+ ),
1798
+ );
1799
+ }
1800
+ return self::$block_attributes;
1801
+ }
1802
+
1803
+ /**
1804
+ * Get Block Assets.
1805
+ *
1806
+ * @since 1.13.4
1807
+ *
1808
+ * @return array The Asset List.
1809
+ */
1810
+ public static function get_block_assets() {
1811
+
1812
+ if ( null === self::$block_assets ) {
1813
+ self::$block_assets = array(
1814
+ 'uagb-timeline-js' => array(
1815
+ 'src' => UAGB_URL . 'assets/js/timeline.js',
1816
+ 'dep' => array( 'jquery' ),
1817
+ ),
1818
+ 'uagb-masonry' => array(
1819
+ 'src' => UAGB_URL . 'assets/js/isotope.min.js',
1820
+ 'dep' => array( 'jquery' ),
1821
+ ),
1822
+ 'uagb-imagesloaded' => array(
1823
+ 'src' => UAGB_URL . 'assets/js/imagesloaded.min.js',
1824
+ 'dep' => array( 'jquery' ),
1825
+ ),
1826
+ 'uagb-table-of-contents' => array(
1827
+ 'src' => UAGB_URL . 'assets/js/table-of-contents.js',
1828
+ 'dep' => array( 'jquery' ),
1829
+ ),
1830
+ 'uagb-slick-js' => array(
1831
+ 'src' => UAGB_URL . 'assets/js/slick.min.js',
1832
+ 'dep' => array( 'jquery' ),
1833
+ ),
1834
+ 'uagb-slick-css' => array(
1835
+ 'src' => UAGB_URL . 'assets/css/slick.css',
1836
+ 'dep' => array(),
1837
+ ),
1838
+ 'uagb-carousel-js' => array(
1839
+ 'src' => UAGB_URL . 'assets/js/post-carousel.js',
1840
+ 'dep' => array( 'jquery', 'uagb-slick-js' ),
1841
+ ),
1842
+ );
1843
+ }
1844
+ return self::$block_assets;
1845
+ }
1846
+ }
1847
+ }
classes/class-uagb-helper.php CHANGED
@@ -5,6 +5,10 @@
5
  * @package UAGB
6
  */
7
 
 
 
 
 
8
  if ( ! class_exists( 'UAGB_Helper' ) ) {
9
 
10
  /**
@@ -45,6 +49,22 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
45
  */
46
  public static $uag_flag = false;
47
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
48
  /**
49
  * Stylesheet
50
  *
@@ -104,11 +124,12 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
104
  require( UAGB_DIR . 'classes/class-uagb-config.php' );
105
  require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
106
 
107
- self::$block_list = UAGB_Config::get_block_attributes();
 
108
 
109
  add_action( 'wp_enqueue_scripts', array( $this, 'block_assets' ) );
110
- add_action( 'wp', array( $this, 'generate_stylesheet' ), 10 );
111
- add_action( 'wp', array( $this, 'generate_script' ), 11 );
112
  add_action( 'wp_head', array( $this, 'frontend_gfonts' ), 120 );
113
  add_action( 'wp_head', array( $this, 'print_stylesheet' ), 80 );
114
  add_action( 'wp_footer', array( $this, 'print_script' ), 1000 );
@@ -142,6 +163,17 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
142
  }
143
  }
144
 
 
 
 
 
 
 
 
 
 
 
 
145
  }
146
 
147
  /**
@@ -149,10 +181,16 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
149
  */
150
  public function print_script() {
151
 
 
 
 
 
152
  if ( is_null( self::$script ) || '' === self::$script ) {
153
  return;
154
  }
155
 
 
 
156
  ob_start();
157
  ?>
158
  <script type="text/javascript" id="uagb-script-frontend">( function( $ ) { <?php echo self::$script; ?> })(jQuery) </script>
@@ -165,6 +203,10 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
165
  */
166
  public function print_stylesheet() {
167
 
 
 
 
 
168
  global $content_width;
169
 
170
  if ( is_null( self::$stylesheet ) || '' === self::$stylesheet ) {
@@ -173,6 +215,8 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
173
 
174
  self::$stylesheet = str_replace( '#CONTENT_WIDTH#', $content_width . 'px', self::$stylesheet );
175
 
 
 
176
  ob_start();
177
  ?>
178
  <style type="text/css" media="all" id="uagb-style-frontend"><?php echo self::$stylesheet; ?></style>
@@ -239,6 +283,10 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
239
 
240
  foreach ( $value as $j => $val ) {
241
 
 
 
 
 
242
  if ( ! empty( $val ) || 0 === $val ) {
243
  $css .= $j . ': ' . $val . ';';
244
  }
@@ -301,6 +349,7 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
301
 
302
  $name = $block['blockName'];
303
  $css = array();
 
304
 
305
  if( ! isset( $name ) ) {
306
  return;
@@ -636,6 +685,8 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
636
  $this->_generate_stylesheet( $post );
637
  }
638
  }
 
 
639
  }
640
 
641
  /**
@@ -684,6 +735,11 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
684
  }
685
 
686
  $this->get_scripts( $blocks );
 
 
 
 
 
687
  }
688
 
689
  /**
@@ -787,6 +843,10 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
787
  }
788
  }
789
  }
 
 
 
 
790
  }
791
 
792
  /**
@@ -1006,7 +1066,7 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
1006
  );
1007
  }
1008
 
1009
- $query_args = apply_filters( "uagb_post_query_args_{$block_type}", $query_args );
1010
 
1011
  return new WP_Query( $query_args );
1012
  }
@@ -1079,6 +1139,10 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
1079
  continue;
1080
  }
1081
 
 
 
 
 
1082
  $options[] = array(
1083
  'value' => $post_type->name,
1084
  'label' => $post_type->label,
@@ -1293,7 +1357,7 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
1293
  }
1294
 
1295
  $combined_path = plugin_dir_path( UAGB_FILE ) . 'dist/blocks.style.css';
1296
- unlink( $combined_path );
1297
 
1298
  $handle = fopen( $combined_path, 'a' );
1299
 
@@ -1307,6 +1371,190 @@ if ( ! class_exists( 'UAGB_Helper' ) ) {
1307
 
1308
  fclose( $handle );
1309
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1310
  }
1311
 
1312
  /**
5
  * @package UAGB
6
  */
7
 
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
  if ( ! class_exists( 'UAGB_Helper' ) ) {
13
 
14
  /**
49
  */
50
  public static $uag_flag = false;
51
 
52
+ /**
53
+ * UAG File Generation Flag
54
+ *
55
+ * @since 1.14.0
56
+ * @var file_generation
57
+ */
58
+ public static $file_generation = 'disabled';
59
+
60
+ /**
61
+ * Enque Style and Script Variable
62
+ *
63
+ * @since 1.14.0
64
+ * @var instance
65
+ */
66
+ public static $css_file_handler;
67
+
68
  /**
69
  * Stylesheet
70
  *
124
  require( UAGB_DIR . 'classes/class-uagb-config.php' );
125
  require( UAGB_DIR . 'classes/class-uagb-block-helper.php' );
126
 
127
+ self::$block_list = UAGB_Config::get_block_attributes();
128
+ self::$file_generation = self::allow_file_generation();
129
 
130
  add_action( 'wp_enqueue_scripts', array( $this, 'block_assets' ) );
131
+ add_action( 'wp', array( $this, 'generate_stylesheet' ), 99 );
132
+ add_action( 'wp', array( $this, 'generate_script' ), 100 );
133
  add_action( 'wp_head', array( $this, 'frontend_gfonts' ), 120 );
134
  add_action( 'wp_head', array( $this, 'print_stylesheet' ), 80 );
135
  add_action( 'wp_footer', array( $this, 'print_script' ), 1000 );
163
  }
164
  }
165
 
166
+ if ( 'enabled' === self::$file_generation ) {
167
+ $file_handler = self::$css_file_handler;
168
+
169
+ if ( isset( $file_handler['css_url'] ) ) {
170
+ wp_enqueue_style( 'uag-style', $file_handler['css_url'], array(), '', 'all' );
171
+ }
172
+ if ( isset( $file_handler['js_url'] ) ) {
173
+ wp_enqueue_script( 'uag-script', $file_handler['js_url'], array(), UAGB_VER, true );
174
+ }
175
+ }
176
+
177
  }
178
 
179
  /**
181
  */
182
  public function print_script() {
183
 
184
+ if ( 'enabled' === self::$file_generation ) {
185
+ return;
186
+ }
187
+
188
  if ( is_null( self::$script ) || '' === self::$script ) {
189
  return;
190
  }
191
 
192
+ self::file_write( self::$script, 'js' );
193
+
194
  ob_start();
195
  ?>
196
  <script type="text/javascript" id="uagb-script-frontend">( function( $ ) { <?php echo self::$script; ?> })(jQuery) </script>
203
  */
204
  public function print_stylesheet() {
205
 
206
+ if ( 'enabled' === self::$file_generation ) {
207
+ return;
208
+ }
209
+
210
  global $content_width;
211
 
212
  if ( is_null( self::$stylesheet ) || '' === self::$stylesheet ) {
215
 
216
  self::$stylesheet = str_replace( '#CONTENT_WIDTH#', $content_width . 'px', self::$stylesheet );
217
 
218
+ self::file_write( self::$stylesheet, 'css' );
219
+
220
  ob_start();
221
  ?>
222
  <style type="text/css" media="all" id="uagb-style-frontend"><?php echo self::$stylesheet; ?></style>
283
 
284
  foreach ( $value as $j => $val ) {
285
 
286
+ if ( 'font-family' === $j && 'Default' === $val ) {
287
+ continue;
288
+ }
289
+
290
  if ( ! empty( $val ) || 0 === $val ) {
291
  $css .= $j . ': ' . $val . ';';
292
  }
349
 
350
  $name = $block['blockName'];
351
  $css = array();
352
+ $block_id = '';
353
 
354
  if( ! isset( $name ) ) {
355
  return;
685
  $this->_generate_stylesheet( $post );
686
  }
687
  }
688
+
689
+ self::file_write( self::$stylesheet, 'css' );
690
  }
691
 
692
  /**
735
  }
736
 
737
  $this->get_scripts( $blocks );
738
+
739
+ if ( ! empty( self::$script ) ) {
740
+ self::file_write( self::$script, 'js' );
741
+ }
742
+
743
  }
744
 
745
  /**
843
  }
844
  }
845
  }
846
+
847
+ if ( ! empty( self::$script ) ) {
848
+ self::$script = '( function( $ ) { ' . self::$script . '})(jQuery)';
849
+ }
850
  }
851
 
852
  /**
1066
  );
1067
  }
1068
 
1069
+ $query_args = apply_filters( "uagb_post_query_args_{$block_type}", $query_args, $attributes );
1070
 
1071
  return new WP_Query( $query_args );
1072
  }
1139
  continue;
1140
  }
1141
 
1142
+ if ( 'attachment' === $post_type->name ) {
1143
+ continue;
1144
+ }
1145
+
1146
  $options[] = array(
1147
  'value' => $post_type->name,
1148
  'label' => $post_type->label,
1357
  }
1358
 
1359
  $combined_path = plugin_dir_path( UAGB_FILE ) . 'dist/blocks.style.css';
1360
+ wp_delete_file( $combined_path );
1361
 
1362
  $handle = fopen( $combined_path, 'a' );
1363
 
1371
 
1372
  fclose( $handle );
1373
  }
1374
+
1375
+ /**
1376
+ * Returns an array of paths for the upload directory
1377
+ * of the current site.
1378
+ *
1379
+ * @since 1.14.0
1380
+ * @return array
1381
+ */
1382
+ public static function get_upload_dir() {
1383
+
1384
+ $wp_info = wp_upload_dir( null, false );
1385
+
1386
+ $dir_name = basename( UAGB_DIR );
1387
+ if ( 'ultimate-addons-for-gutenberg' === $dir_name ) {
1388
+ $dir_name = 'uag-plugin';
1389
+ }
1390
+ // SSL workaround.
1391
+ if ( self::is_ssl() ) {
1392
+ $wp_info['baseurl'] = str_ireplace( 'http://', 'https://', $wp_info['baseurl'] );
1393
+ }
1394
+ // Build the paths.
1395
+ $dir_info = array(
1396
+ 'path' => trailingslashit( trailingslashit( $wp_info['basedir'] ) . $dir_name ),
1397
+ 'url' => trailingslashit( trailingslashit( $wp_info['baseurl'] ) . $dir_name ),
1398
+ );
1399
+ // Create the upload dir if it doesn't exist.
1400
+ if ( ! file_exists( $dir_info['path'] ) ) {
1401
+ // Create the directory.
1402
+ mkdir( $dir_info['path'] );
1403
+ // Add an index file for security.
1404
+ file_put_contents( $dir_info['path'] . 'index.html', '' );
1405
+ }
1406
+
1407
+ return apply_filters( 'uag_get_upload_dir', $dir_info );
1408
+ }
1409
+ /**
1410
+ * Checks to see if the site has SSL enabled or not.
1411
+ *
1412
+ * @since 1.14.0
1413
+ * @return bool
1414
+ */
1415
+ public static function is_ssl() {
1416
+ if ( is_ssl() ) {
1417
+ return true;
1418
+ } elseif ( 0 === stripos( get_option( 'siteurl' ), 'https://' ) ) {
1419
+ return true;
1420
+ } elseif ( isset( $_SERVER['HTTP_X_FORWARDED_PROTO'] ) && 'https' === $_SERVER['HTTP_X_FORWARDED_PROTO'] ) {
1421
+ return true;
1422
+ }
1423
+ return false;
1424
+ }
1425
+
1426
+ /**
1427
+ * Returns an array of paths for the CSS and JS assets
1428
+ * of the current post.
1429
+ *
1430
+ * @param var $data Gets the CSS\JS for the current Page.
1431
+ * @param var $type Gets the CSS\JS type.
1432
+ * @param var $timestamp Timestamp.
1433
+ * @since 1.14.0
1434
+ * @return array
1435
+ */
1436
+ public static function get_asset_info( $data, $type, $timestamp ) {
1437
+
1438
+ $post_id = get_the_ID();
1439
+ $uploads_dir = self::get_upload_dir();
1440
+ $css_suffix = 'uag-style';
1441
+ $js_suffix = 'uag-script';
1442
+ $info = array();
1443
+
1444
+ if ( ! empty( $data ) && 'css' === $type ) {
1445
+
1446
+ $info['css'] = $uploads_dir['path'] . $css_suffix . '-' . $post_id . '-' . $timestamp . '.css';
1447
+ $info['css_url'] = $uploads_dir['url'] . $css_suffix . '-' . $post_id . '-' . $timestamp . '.css';
1448
+
1449
+ } elseif ( ! empty( $data ) && 'js' === $type ) {
1450
+
1451
+ $info['js'] = $uploads_dir['path'] . $js_suffix . '-' . $post_id . '-' . $timestamp . '.js';
1452
+ $info['js_url'] = $uploads_dir['url'] . $js_suffix . '-' . $post_id . '-' . $timestamp . '.js';
1453
+
1454
+ }
1455
+
1456
+ return $info;
1457
+ }
1458
+
1459
+ /**
1460
+ * Creates css and js files.
1461
+ *
1462
+ * @param var $style_data Gets the CSS\JS for the current Page.
1463
+ * @param var $type Gets the CSS\JS type.
1464
+ * @since 1.14.0
1465
+ */
1466
+ public static function file_write( $style_data, $type ) {
1467
+
1468
+ $post_timestamp = get_post_meta( get_the_ID(), 'uagb_style_timestamp-' . $type, true );
1469
+
1470
+ $var = ( 'css' === $type ) ? 'css' : 'js';
1471
+
1472
+ if ( '' === $post_timestamp || false === $post_timestamp ) {
1473
+ // File not created yet.
1474
+ $date = new DateTime();
1475
+ $timestamp = $date->getTimestamp();
1476
+
1477
+ $assets_info = self::get_asset_info( $style_data, $type, $timestamp );
1478
+
1479
+ if ( isset( $assets_info[ $var ] ) ) {
1480
+ // Create a new file.
1481
+ $handle = fopen( $assets_info[ $var ], 'a' );
1482
+ file_put_contents( $assets_info[ $var ], $style_data );
1483
+ fclose( $handle );
1484
+
1485
+ // Update the post meta.
1486
+ update_post_meta( get_the_ID(), 'uagb_style_timestamp-' . $type, $timestamp );
1487
+
1488
+ if ( is_array( self::$css_file_handler ) ) {
1489
+ self::$css_file_handler = array_merge( self::$css_file_handler, $assets_info );
1490
+ } else {
1491
+ self::$css_file_handler = $assets_info;
1492
+ }
1493
+ } else {
1494
+ self::$css_file_handler = $assets_info;
1495
+ }
1496
+ } else {
1497
+
1498
+ // File already created.
1499
+ $timestamp = $post_timestamp;
1500
+ $assets_info = self::get_asset_info( $style_data, $type, $timestamp );
1501
+ if ( isset( $assets_info[ $var ] ) ) {
1502
+
1503
+ if ( file_exists( $assets_info[ $var ] ) ) {
1504
+
1505
+ $handle = fopen( $assets_info[ $var ], 'r' );
1506
+ $old_data = file_get_contents( $assets_info[ $var ] );
1507
+ fclose( $handle );
1508
+
1509
+ if ( $old_data !== $style_data ) {
1510
+
1511
+ // File needs a change in content.
1512
+ $date = new DateTime();
1513
+ $new_timestamp = $date->getTimestamp();
1514
+ $new_assets_info = self::get_asset_info( $style_data, $type, $new_timestamp );
1515
+
1516
+ // Create a new file.
1517
+ $new_handle = fopen( $new_assets_info[ $var ], 'a' );
1518
+ file_put_contents( $new_assets_info[ $var ], $style_data );
1519
+ fclose( $new_handle );
1520
+
1521
+ // Update the post meta.
1522
+ update_post_meta( get_the_ID(), 'uagb_style_timestamp-' . $type, $new_timestamp );
1523
+
1524
+ // Delete old file.
1525
+ wp_delete_file( $assets_info[ $var ] );
1526
+
1527
+ if ( is_array( self::$css_file_handler ) ) {
1528
+ self::$css_file_handler = array_merge( self::$css_file_handler, $new_assets_info );
1529
+ } else {
1530
+ self::$css_file_handler = $new_assets_info;
1531
+ }
1532
+ } else {
1533
+
1534
+ // Do nothing.
1535
+ if ( is_array( self::$css_file_handler ) ) {
1536
+ self::$css_file_handler = array_merge( self::$css_file_handler, $assets_info );
1537
+ } else {
1538
+ self::$css_file_handler = $assets_info;
1539
+ }
1540
+ }
1541
+ } else {
1542
+ self::$css_file_handler = $assets_info;
1543
+ }
1544
+ } else {
1545
+ self::$css_file_handler = $assets_info;
1546
+ }
1547
+ }
1548
+ }
1549
+
1550
+ /**
1551
+ * Allow File Geranation flag.
1552
+ *
1553
+ * @since 1.14.0
1554
+ */
1555
+ public static function allow_file_generation() {
1556
+ return get_option( '_uagb_allow_file_generation', 'disabled' );
1557
+ }
1558
  }
1559
 
1560
  /**
classes/class-uagb-init-blocks.php CHANGED
@@ -1,319 +1,319 @@
1
- <?php
2
- /**
3
- * UAGB Blocks Initializer
4
- *
5
- * Enqueue CSS/JS of all the blocks.
6
- *
7
- * @since 1.0.0
8
- * @package UAGB
9
- */
10
-
11
- if ( ! defined( 'ABSPATH' ) ) {
12
- exit; // Exit if accessed directly.
13
- }
14
-
15
- /**
16
- * UAGB_Init_Blocks.
17
- *
18
- * @package UAGB
19
- */
20
- class UAGB_Init_Blocks {
21
-
22
-
23
- /**
24
- * Member Variable
25
- *
26
- * @var instance
27
- */
28
- private static $instance;
29
-
30
- /**
31
- * Initiator
32
- */
33
- public static function get_instance() {
34
- if ( ! isset( self::$instance ) ) {
35
- self::$instance = new self;
36
- }
37
- return self::$instance;
38
- }
39
-
40
- /**
41
- * Constructor
42
- */
43
- public function __construct() {
44
- // Hook: Frontend assets.
45
- add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
-
47
- // Hook: Editor assets.
48
- add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
-
50
- add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
- }
52
-
53
- /**
54
- * Gutenberg block category for UAGB.
55
- *
56
- * @param array $categories Block categories.
57
- * @param object $post Post object.
58
- * @since 1.0.0
59
- */
60
- function register_block_category( $categories, $post ) {
61
- return array_merge(
62
- $categories,
63
- array(
64
- array(
65
- 'slug' => 'uagb',
66
- 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
- ),
68
- )
69
- );
70
- }
71
-
72
- /**
73
- * Enqueue Gutenberg block assets for both frontend + backend.
74
- *
75
- * @since 1.0.0
76
- */
77
- public function block_assets() {
78
-
79
- if ( ! is_admin() ) {
80
-
81
- if ( class_exists( 'WooCommerce' ) ) {
82
-
83
- if ( false === UAGB_Helper::$uag_flag ) {
84
- return;
85
- }
86
- } else {
87
-
88
- if ( false === has_blocks() ) {
89
- return;
90
- }
91
-
92
- if ( false === UAGB_Helper::$uag_flag ) {
93
- return;
94
- }
95
- }
96
- }
97
-
98
- wp_enqueue_style(
99
- 'uagb-block-css', // Handle.
100
- UAGB_URL . 'dist/blocks.style.css', // Block style CSS.
101
- array(),
102
- UAGB_VER
103
- );
104
-
105
- $blocks = UAGB_Config::get_block_attributes();
106
- $disabled_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
107
- $block_assets = UAGB_Config::get_block_assets();
108
-
109
- foreach ( $blocks as $slug => $value ) {
110
- $_slug = str_replace( 'uagb/', '', $slug );
111
-
112
- if ( ! ( isset( $disabled_blocks[ $_slug ] ) && 'disabled' === $disabled_blocks[ $_slug ] ) ) {
113
-
114
- $js_assets = ( isset( $blocks[ $slug ]['js_assets'] ) ) ? $blocks[ $slug ]['js_assets'] : array();
115
-
116
- $css_assets = ( isset( $blocks[ $slug ]['css_assets'] ) ) ? $blocks[ $slug ]['css_assets'] : array();
117
-
118
- if ( 'cf7-styler' === $_slug ) {
119
- if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
120
- wp_enqueue_script( 'contact-form-7' );
121
- }
122
-
123
- if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
124
- wp_enqueue_script( ' wpcf7-admin' );
125
- }
126
- }
127
-
128
- foreach ( $js_assets as $asset_handle => $val ) {
129
- // Scripts.
130
- wp_register_script(
131
- $val, // Handle.
132
- $block_assets[ $val ]['src'],
133
- $block_assets[ $val ]['dep'],
134
- UAGB_VER
135
- );
136
-
137
- if ( is_admin() ) {
138
- wp_enqueue_script( $val );
139
- }
140
- }
141
-
142
- foreach ( $css_assets as $asset_handle => $val ) {
143
- // Styles.
144
- wp_register_style(
145
- $val, // Handle.
146
- $block_assets[ $val ]['src'],
147
- $block_assets[ $val ]['dep'],
148
- UAGB_VER
149
- );
150
-
151
- if ( is_admin() ) {
152
- wp_enqueue_style( $val );
153
- }
154
- }
155
- }
156
- }
157
-
158
- } // End function editor_assets().
159
-
160
- /**
161
- * Enqueue Gutenberg block assets for backend editor.
162
- *
163
- * @since 1.0.0
164
- */
165
- function editor_assets() {
166
- // Scripts.
167
- wp_enqueue_script(
168
- 'uagb-block-editor-js', // Handle.
169
- UAGB_URL . 'dist/blocks.build.js',
170
- array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
171
- UAGB_VER,
172
- true // Enqueue the script in the footer.
173
- );
174
-
175
- // Styles.
176
- wp_enqueue_style(
177
- 'uagb-block-editor-css', // Handle.
178
- UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
179
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
180
- UAGB_VER
181
- );
182
-
183
- // Common Editor style.
184
- wp_enqueue_style(
185
- 'uagb-block-common-editor-css', // Handle.
186
- UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
187
- array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
188
- UAGB_VER
189
- );
190
-
191
- wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
192
-
193
- $blocks = array();
194
- $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
195
-
196
- if ( is_array( $saved_blocks ) ) {
197
- foreach ( $saved_blocks as $slug => $data ) {
198
- $_slug = 'uagb/' . $slug;
199
- $current_block = UAGB_Config::$block_attributes[ $_slug ];
200
-
201
- if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
202
- continue;
203
- }
204
-
205
- if ( isset( $current_block['is_active'] ) && ! $current_block['is_active'] ) {
206
- continue;
207
- }
208
-
209
- if ( isset( $saved_blocks[ $slug ] ) ) {
210
- if ( 'disabled' === $saved_blocks[ $slug ] ) {
211
- array_push( $blocks, $_slug );
212
- }
213
- }
214
- }
215
- }
216
-
217
- wp_localize_script(
218
- 'uagb-deactivate-block-js',
219
- 'uagb_deactivate_blocks',
220
- array(
221
- 'deactivated_blocks' => $blocks,
222
- )
223
- );
224
-
225
- wp_localize_script(
226
- 'uagb-block-editor-js',
227
- 'uagb_blocks_info',
228
- array(
229
- 'blocks' => UAGB_Config::get_block_attributes(),
230
- 'category' => 'uagb',
231
- 'ajax_url' => admin_url( 'admin-ajax.php' ),
232
- 'cf7_forms' => $this->get_cf7_forms(),
233
- 'gf_forms' => $this->get_gravity_forms(),
234
- 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
235
- 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
236
- 'image_sizes' => UAGB_Helper::get_image_sizes(),
237
- 'post_types' => UAGB_Helper::get_post_types(),
238
- 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
239
- )
240
- );
241
- } // End function editor_assets().
242
-
243
-
244
- /**
245
- * Function to integrate CF7 Forms.
246
- *
247
- * @since 1.10.0
248
- */
249
- public function get_cf7_forms() {
250
- $field_options = array();
251
-
252
- if ( class_exists( 'WPCF7_ContactForm' ) ) {
253
- $args = array(
254
- 'post_type' => 'wpcf7_contact_form',
255
- 'posts_per_page' => -1,
256
- );
257
- $forms = get_posts( $args );
258
- $field_options[0] = array(
259
- 'value' => -1,
260
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
261
- );
262
- if ( $forms ) {
263
- foreach ( $forms as $form ) {
264
- $field_options[] = array(
265
- 'value' => $form->ID,
266
- 'label' => $form->post_title,
267
- );
268
- }
269
- }
270
- }
271
-
272
- if ( empty( $field_options ) ) {
273
- $field_options = array(
274
- '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
275
- );
276
- }
277
- return $field_options;
278
- }
279
-
280
- /**
281
- * Returns all gravity forms with ids
282
- *
283
- * @since 1.12.0
284
- * @return array Key Value paired array.
285
- */
286
- public function get_gravity_forms() {
287
- $field_options = array();
288
-
289
- if ( class_exists( 'GFForms' ) ) {
290
- $forms = RGFormsModel::get_forms( null, 'title' );
291
- $field_options[0] = array(
292
- 'value' => -1,
293
- 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
294
- );
295
- if ( is_array( $forms ) ) {
296
- foreach ( $forms as $form ) {
297
- $field_options[] = array(
298
- 'value' => $form->id,
299
- 'label' => $form->title,
300
- );
301
- }
302
- }
303
- }
304
-
305
- if ( empty( $field_options ) ) {
306
- $field_options = array(
307
- '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
308
- );
309
- }
310
-
311
- return $field_options;
312
- }
313
- }
314
-
315
- /**
316
- * Prepare if class 'UAGB_Init_Blocks' exist.
317
- * Kicking this off by calling 'get_instance()' method
318
- */
319
- UAGB_Init_Blocks::get_instance();
1
+ <?php
2
+ /**
3
+ * UAGB Blocks Initializer
4
+ *
5
+ * Enqueue CSS/JS of all the blocks.
6
+ *
7
+ * @since 1.0.0
8
+ * @package UAGB
9
+ */
10
+
11
+ if ( ! defined( 'ABSPATH' ) ) {
12
+ exit; // Exit if accessed directly.
13
+ }
14
+
15
+ /**
16
+ * UAGB_Init_Blocks.
17
+ *
18
+ * @package UAGB
19
+ */
20
+ class UAGB_Init_Blocks {
21
+
22
+
23
+ /**
24
+ * Member Variable
25
+ *
26
+ * @var instance
27
+ */
28
+ private static $instance;
29
+
30
+ /**
31
+ * Initiator
32
+ */
33
+ public static function get_instance() {
34
+ if ( ! isset( self::$instance ) ) {
35
+ self::$instance = new self;
36
+ }
37
+ return self::$instance;
38
+ }
39
+
40
+ /**
41
+ * Constructor
42
+ */
43
+ public function __construct() {
44
+ // Hook: Frontend assets.
45
+ add_action( 'enqueue_block_assets', array( $this, 'block_assets' ) );
46
+
47
+ // Hook: Editor assets.
48
+ add_action( 'enqueue_block_editor_assets', array( $this, 'editor_assets' ) );
49
+
50
+ add_filter( 'block_categories', array( $this, 'register_block_category' ), 10, 2 );
51
+ }
52
+
53
+ /**
54
+ * Gutenberg block category for UAGB.
55
+ *
56
+ * @param array $categories Block categories.
57
+ * @param object $post Post object.
58
+ * @since 1.0.0
59
+ */
60
+ function register_block_category( $categories, $post ) {
61
+ return array_merge(
62
+ $categories,
63
+ array(
64
+ array(
65
+ 'slug' => 'uagb',
66
+ 'title' => __( 'Ultimate Addons Blocks', 'ultimate-addons-for-gutenberg' ),
67
+ ),
68
+ )
69
+ );
70
+ }
71
+
72
+ /**
73
+ * Enqueue Gutenberg block assets for both frontend + backend.
74
+ *
75
+ * @since 1.0.0
76
+ */
77
+ public function block_assets() {
78
+
79
+ if ( ! is_admin() ) {
80
+
81
+ if ( class_exists( 'WooCommerce' ) ) {
82
+
83
+ if ( false === UAGB_Helper::$uag_flag ) {
84
+ return;
85
+ }
86
+ } else {
87
+
88
+ if ( false === has_blocks() ) {
89
+ return;
90
+ }
91
+
92
+ if ( false === UAGB_Helper::$uag_flag ) {
93
+ return;
94
+ }
95
+ }
96
+ }
97
+
98
+ wp_enqueue_style(
99
+ 'uagb-block-css', // Handle.
100
+ UAGB_URL . 'dist/blocks.style.css', // Block style CSS.
101
+ array(),
102
+ UAGB_VER
103
+ );
104
+
105
+ $blocks = UAGB_Config::get_block_attributes();
106
+ $disabled_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks', array() );
107
+ $block_assets = UAGB_Config::get_block_assets();
108
+
109
+ foreach ( $blocks as $slug => $value ) {
110
+ $_slug = str_replace( 'uagb/', '', $slug );
111
+
112
+ if ( ! ( isset( $disabled_blocks[ $_slug ] ) && 'disabled' === $disabled_blocks[ $_slug ] ) ) {
113
+
114
+ $js_assets = ( isset( $blocks[ $slug ]['js_assets'] ) ) ? $blocks[ $slug ]['js_assets'] : array();
115
+
116
+ $css_assets = ( isset( $blocks[ $slug ]['css_assets'] ) ) ? $blocks[ $slug ]['css_assets'] : array();
117
+
118
+ if ( 'cf7-styler' === $_slug ) {
119
+ if ( ! wp_script_is( 'contact-form-7', 'enqueued' ) ) {
120
+ wp_enqueue_script( 'contact-form-7' );
121
+ }
122
+
123
+ if ( ! wp_script_is( ' wpcf7-admin', 'enqueued' ) ) {
124
+ wp_enqueue_script( ' wpcf7-admin' );
125
+ }
126
+ }
127
+
128
+ foreach ( $js_assets as $asset_handle => $val ) {
129
+ // Scripts.
130
+ wp_register_script(
131
+ $val, // Handle.
132
+ $block_assets[ $val ]['src'],
133
+ $block_assets[ $val ]['dep'],
134
+ UAGB_VER
135
+ );
136
+
137
+ if ( is_admin() ) {
138
+ wp_enqueue_script( $val );
139
+ }
140
+ }
141
+
142
+ foreach ( $css_assets as $asset_handle => $val ) {
143
+ // Styles.
144
+ wp_register_style(
145
+ $val, // Handle.
146
+ $block_assets[ $val ]['src'],
147
+ $block_assets[ $val ]['dep'],
148
+ UAGB_VER
149
+ );
150
+
151
+ if ( is_admin() ) {
152
+ wp_enqueue_style( $val );
153
+ }
154
+ }
155
+ }
156
+ }
157
+
158
+ } // End function editor_assets().
159
+
160
+ /**
161
+ * Enqueue Gutenberg block assets for backend editor.
162
+ *
163
+ * @since 1.0.0
164
+ */
165
+ function editor_assets() {
166
+ // Scripts.
167
+ wp_enqueue_script(
168
+ 'uagb-block-editor-js', // Handle.
169
+ UAGB_URL . 'dist/blocks.build.js',
170
+ array( 'wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor', 'wp-api-fetch' ), // Dependencies, defined above.
171
+ UAGB_VER,
172
+ true // Enqueue the script in the footer.
173
+ );
174
+
175
+ // Styles.
176
+ wp_enqueue_style(
177
+ 'uagb-block-editor-css', // Handle.
178
+ UAGB_URL . 'dist/blocks.editor.build.css', // Block editor CSS.
179
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
180
+ UAGB_VER
181
+ );
182
+
183
+ // Common Editor style.
184
+ wp_enqueue_style(
185
+ 'uagb-block-common-editor-css', // Handle.
186
+ UAGB_URL . 'dist/blocks.commoneditorstyle.build.css', // Block editor CSS.
187
+ array( 'wp-edit-blocks' ), // Dependency to include the CSS after it.
188
+ UAGB_VER
189
+ );
190
+
191
+ wp_enqueue_script( 'uagb-deactivate-block-js', UAGB_URL . 'dist/blocks-deactivate.js', array( 'wp-blocks' ), UAGB_VER, true );
192
+
193
+ $blocks = array();
194
+ $saved_blocks = UAGB_Helper::get_admin_settings_option( '_uagb_blocks' );
195
+
196
+ if ( is_array( $saved_blocks ) ) {
197
+ foreach ( $saved_blocks as $slug => $data ) {
198
+ $_slug = 'uagb/' . $slug;
199
+ $current_block = UAGB_Config::$block_attributes[ $_slug ];
200
+
201
+ if ( isset( $current_block['is_child'] ) && $current_block['is_child'] ) {
202
+ continue;
203
+ }
204
+
205
+ if ( isset( $current_block['is_active'] ) && ! $current_block['is_active'] ) {
206
+ continue;
207
+ }
208
+
209
+ if ( isset( $saved_blocks[ $slug ] ) ) {
210
+ if ( 'disabled' === $saved_blocks[ $slug ] ) {
211
+ array_push( $blocks, $_slug );
212
+ }
213
+ }
214
+ }
215
+ }
216
+
217
+ wp_localize_script(
218
+ 'uagb-deactivate-block-js',
219
+ 'uagb_deactivate_blocks',
220
+ array(
221
+ 'deactivated_blocks' => $blocks,
222
+ )
223
+ );
224
+
225
+ wp_localize_script(
226
+ 'uagb-block-editor-js',
227
+ 'uagb_blocks_info',
228
+ array(
229
+ 'blocks' => UAGB_Config::get_block_attributes(),
230
+ 'category' => 'uagb',
231
+ 'ajax_url' => admin_url( 'admin-ajax.php' ),
232
+ 'cf7_forms' => $this->get_cf7_forms(),
233
+ 'gf_forms' => $this->get_gravity_forms(),
234
+ 'tablet_breakpoint' => UAGB_TABLET_BREAKPOINT,
235
+ 'mobile_breakpoint' => UAGB_MOBILE_BREAKPOINT,
236
+ 'image_sizes' => UAGB_Helper::get_image_sizes(),
237
+ 'post_types' => UAGB_Helper::get_post_types(),
238
+ 'all_taxonomy' => UAGB_Helper::get_related_taxonomy(),
239
+ )
240
+ );
241
+ } // End function editor_assets().
242
+
243
+
244
+ /**
245
+ * Function to integrate CF7 Forms.
246
+ *
247
+ * @since 1.10.0
248
+ */
249
+ public function get_cf7_forms() {
250
+ $field_options = array();
251
+
252
+ if ( class_exists( 'WPCF7_ContactForm' ) ) {
253
+ $args = array(
254
+ 'post_type' => 'wpcf7_contact_form',
255
+ 'posts_per_page' => -1,
256
+ );
257
+ $forms = get_posts( $args );
258
+ $field_options[0] = array(
259
+ 'value' => -1,
260
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
261
+ );
262
+ if ( $forms ) {
263
+ foreach ( $forms as $form ) {
264
+ $field_options[] = array(
265
+ 'value' => $form->ID,
266
+ 'label' => $form->post_title,
267
+ );
268
+ }
269
+ }
270
+ }
271
+
272
+ if ( empty( $field_options ) ) {
273
+ $field_options = array(
274
+ '-1' => __( 'You have not added any Contact Form 7 yet.', 'ultimate-addons-for-gutenberg' ),
275
+ );
276
+ }
277
+ return $field_options;
278
+ }
279
+
280
+ /**
281
+ * Returns all gravity forms with ids
282
+ *
283
+ * @since 1.12.0
284
+ * @return array Key Value paired array.
285
+ */
286
+ public function get_gravity_forms() {
287
+ $field_options = array();
288
+
289
+ if ( class_exists( 'GFForms' ) ) {
290
+ $forms = RGFormsModel::get_forms( null, 'title' );
291
+ $field_options[0] = array(
292
+ 'value' => -1,
293
+ 'label' => __( 'Select Form', 'ultimate-addons-for-gutenberg' ),
294
+ );
295
+ if ( is_array( $forms ) ) {
296
+ foreach ( $forms as $form ) {
297
+ $field_options[] = array(
298
+ 'value' => $form->id,
299
+ 'label' => $form->title,
300
+ );
301
+ }
302
+ }
303
+ }
304
+
305
+ if ( empty( $field_options ) ) {
306
+ $field_options = array(
307
+ '-1' => __( 'You have not added any Gravity Forms yet.', 'ultimate-addons-for-gutenberg' ),
308
+ );
309
+ }
310
+
311
+ return $field_options;
312
+ }
313
+ }
314
+
315
+ /**
316
+ * Prepare if class 'UAGB_Init_Blocks' exist.
317
+ * Kicking this off by calling 'get_instance()' method
318
+ */
319
+ UAGB_Init_Blocks::get_instance();
classes/class-uagb-loader.php CHANGED
@@ -5,6 +5,10 @@
5
  * @package UAGB
6
  */
7
 
 
 
 
 
8
  if ( ! class_exists( 'UAGB_Loader' ) ) {
9
 
10
  /**
@@ -74,7 +78,7 @@ if ( ! class_exists( 'UAGB_Loader' ) ) {
74
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
75
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
76
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
77
- define( 'UAGB_VER', '1.13.6' );
78
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
79
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
80
  define( 'UAGB_SLUG', 'uag' );
5
  * @package UAGB
6
  */
7
 
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
  if ( ! class_exists( 'UAGB_Loader' ) ) {
13
 
14
  /**
78
  define( 'UAGB_BASE', plugin_basename( UAGB_FILE ) );
79
  define( 'UAGB_DIR', plugin_dir_path( UAGB_FILE ) );
80
  define( 'UAGB_URL', plugins_url( '/', UAGB_FILE ) );
81
+ define( 'UAGB_VER', '1.14.0' );
82
  define( 'UAGB_MODULES_DIR', UAGB_DIR . 'modules/' );
83
  define( 'UAGB_MODULES_URL', UAGB_URL . 'modules/' );
84
  define( 'UAGB_SLUG', 'uag' );
classes/class-uagb-update.php CHANGED
@@ -1,80 +1,84 @@
1
- <?php
2
- /**
3
- * Update Compatibility
4
- *
5
- * @package UAGB
6
- */
7
-
8
- if ( ! class_exists( 'UAGB_Update' ) ) :
9
-
10
- /**
11
- * UAGB Update initial setup
12
- *
13
- * @since 1.13.4
14
- */
15
- class UAGB_Update {
16
-
17
- /**
18
- * Class instance.
19
- *
20
- * @access private
21
- * @var $instance Class instance.
22
- */
23
- private static $instance;
24
-
25
- /**
26
- * Initiator
27
- */
28
- public static function get_instance() {
29
- if ( ! isset( self::$instance ) ) {
30
- self::$instance = new self();
31
- }
32
- return self::$instance;
33
- }
34
-
35
- /**
36
- * Constructor
37
- */
38
- public function __construct() {
39
- add_action( 'admin_init', __CLASS__ . '::init' );
40
- }
41
-
42
- /**
43
- * Init
44
- *
45
- * @since 1.13.4
46
- * @return void
47
- */
48
- static public function init() {
49
-
50
- do_action( 'uagb_update_before' );
51
-
52
- // Get auto saved version number.
53
- $saved_version = get_option( 'uagb-version', false );
54
-
55
- // Update auto saved version number.
56
- if ( ! $saved_version ) {
57
- update_option( 'uagb-version', UAGB_VER );
58
- return;
59
- }
60
-
61
- // If equals then return.
62
- if ( version_compare( $saved_version, UAGB_VER, '=' ) ) {
63
- return;
64
- }
65
-
66
- UAGB_Helper::create_specific_stylesheet();
67
-
68
- // Update auto saved version number.
69
- update_option( 'uagb-version', UAGB_VER );
70
-
71
- do_action( 'uagb_update_after' );
72
- }
73
- }
74
-
75
- /**
76
- * Kicking this off by calling 'get_instance()' method
77
- */
78
- UAGB_Update::get_instance();
79
-
80
- endif;
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Update Compatibility
4
+ *
5
+ * @package UAGB
6
+ */
7
+
8
+ if ( ! defined( 'ABSPATH' ) ) {
9
+ exit; // Exit if accessed directly.
10
+ }
11
+
12
+ if ( ! class_exists( 'UAGB_Update' ) ) :
13
+
14
+ /**
15
+ * UAGB Update initial setup
16
+ *
17
+ * @since 1.13.4
18
+ */
19
+ class UAGB_Update {
20
+
21
+ /**
22
+ * Class instance.
23
+ *
24
+ * @access private
25
+ * @var $instance Class instance.
26
+ */
27
+ private static $instance;
28
+
29
+ /**
30
+ * Initiator
31
+ */
32
+ public static function get_instance() {
33
+ if ( ! isset( self::$instance ) ) {
34
+ self::$instance = new self();
35
+ }
36
+ return self::$instance;
37
+ }
38
+
39
+ /**
40
+ * Constructor
41
+ */
42
+ public function __construct() {
43
+ add_action( 'admin_init', __CLASS__ . '::init' );
44
+ }
45
+
46
+ /**
47
+ * Init
48
+ *
49
+ * @since 1.13.4
50
+ * @return void
51
+ */
52
+ static public function init() {
53
+
54
+ do_action( 'uagb_update_before' );
55
+
56
+ // Get auto saved version number.
57
+ $saved_version = get_option( 'uagb-version', false );
58
+
59
+ // Update auto saved version number.
60
+ if ( ! $saved_version ) {
61
+ update_option( 'uagb-version', UAGB_VER );
62
+ return;
63
+ }
64
+
65
+ // If equals then return.
66
+ if ( version_compare( $saved_version, UAGB_VER, '=' ) ) {
67
+ return;
68
+ }
69
+
70
+ UAGB_Helper::create_specific_stylesheet();
71
+
72
+ // Update auto saved version number.
73
+ update_option( 'uagb-version', UAGB_VER );
74
+
75
+ do_action( 'uagb_update_after' );
76
+ }
77
+ }
78
+
79
+ /**
80
+ * Kicking this off by calling 'get_instance()' method
81
+ */
82
+ UAGB_Update::get_instance();
83
+
84
+ endif;
dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(a){if(n[a])return n[a].exports;var l=n[a]={i:a,l:!1,exports:{}};return e[a].call(l.exports,l,l.exports,t),l.l=!0,l.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,a){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:a})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=150)}([function(e,t,n){var a,l;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var a=arguments[t];if(a){var l=typeof a;if("string"===l||"number"===l)e.push(a);else if(Array.isArray(a)&&a.length){var i=n.apply(null,a);i&&e.push(i)}else if("object"===l)for(var o in a)r.call(a,o)&&a[o]&&e.push(o)}}return e.join(" ")}var r={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(a=[],void 0!==(l=function(){return n}.apply(t,a))&&(e.exports=l))}()},function(e,t,n){"use strict";var a=wp.element.createElement,l={section:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{fill:"#4a00e0",d:"M7.617 4.604h4.766v1.172h-4.766v-1.172z"}),a("path",{fill:"#4a00e0",d:"M8.998 14.385h-6.237v-6.238h6.238v6.238zM3.932 13.213h3.894v-3.894h-3.894v3.894z"}),a("path",{fill:"#4a00e0",d:"M17.24 11.852h-6.237v-3.705h6.238v3.705zM12.174 10.68h3.894v-1.361h-3.894v1.361z"}),a("path",{fill:"#4a00e0",d:"M11.588 13.024h5.066v1.172h-5.066v-1.172z"})),buttons:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 18.008h-20v-16.016h20v16.016zM1.172 16.836h17.656v-13.672h-17.656v13.672z"}),a("path",{fill:"#4a00e0",d:"M10.758 6.289h-7.421v7.421l12.987 0.001v-7.422h-5.566zM5.192 11.855v-3.711h3.711v3.711h-3.711zM14.469 11.855h-3.711v-3.711h3.711v3.711z"})),advanced_heading:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 18h20v2h-20v-2z"}),a("path",{fill:"#4a00e0",d:"M11 0h-2l-7.25 16h2.25l2.21-5h7.59l2.2 5h2.25l-7.25-16zM7.090 9l2.91-6.59 2.91 6.59h-5.82z"})),google_map:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M10 0c-4.112 0-7.458 3.347-7.458 7.461 0 6.13 6.716 12.115 7.002 12.367 0.131 0.115 0.293 0.172 0.456 0.172s0.326-0.058 0.456-0.172c0.286-0.252 7.002-6.237 7.002-12.367 0-4.114-3.345-7.461-7.458-7.461v0zM10 18.363c-1.485-1.439-6.077-6.265-6.077-10.902 0-3.353 2.726-6.080 6.077-6.080s6.077 2.728 6.077 6.080c0 4.637-4.592 9.463-6.077 10.902v0z"}),a("path",{fill:"#4a00e0",d:"M10 3.986c-1.904 0-3.453 1.559-3.453 3.475s1.549 3.476 3.453 3.476c1.904 0 3.453-1.559 3.453-3.476s-1.549-3.475-3.453-3.475v0zM10 9.555c-1.142 0-2.071-0.939-2.071-2.094s0.929-2.095 2.071-2.095 2.072 0.94 2.072 2.095c0 1.155-0.93 2.094-2.072 2.094v0z"})),info_box:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 1.992v16.016h20v-16.016h-20zM11.406 16.836h-10.234v-10.898h10.234v10.898zM18.828 16.836h-6.25v-2.852h6.25v2.852zM18.828 12.813h-6.25v-6.875h6.25v6.875zM1.172 4.766v-1.602h17.656v1.602h-17.656z"}),a("path",{fill:"#4a00e0",d:"M2.652 15.325h7.274v-7.877h-7.274v7.877zM3.824 8.62h4.931v5.534h-4.931v-5.534z"}),a("path",{fill:"#4a00e0",d:"M13.486 10.13h4.434v1.172h-4.434v-1.172z"}),a("path",{fill:"#4a00e0",d:"M13.486 7.448h4.434v1.172h-4.434v-1.172z"})),post_carousel:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M7.554 12.936h4.893v-5.871h-4.893v5.871zM8.888 8.399h2.224v3.202h-2.224v-3.202z"}),a("path",{fill:"#4a00e0",d:"M13.913 8.868l1.132 1.132-1.132 1.132 0.944 0.944 2.076-2.076-2.076-2.076-0.943 0.943z"}),a("path",{fill:"#4a00e0",d:"M5.144 7.924l-2.076 2.076 2.076 2.076 0.943-0.944-1.132-1.132 1.132-1.132-0.944-0.943z"}),a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM1.32 18.62v-17.301h17.3v17.3h-17.3z"})),post_masonry:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM7.588 5.788h4.825v8.825h-4.825v-8.825zM12.413 1.381v3.025h-4.825v-3.025h4.825zM6.206 1.381v11.025h-4.825v-11.025h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-2.826h4.825v2.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),post_grid:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.31 0h-18.619c-0.381 0-0.691 0.309-0.691 0.691v18.619c0 0.382 0.309 0.691 0.691 0.691h18.619c0.382 0 0.691-0.309 0.691-0.691v-18.619c0-0.381-0.309-0.691-0.69-0.691v0zM18.62 6.206h-4.825v-4.825h4.825v4.825zM18.62 12.413h-4.825v-4.825h4.825v4.825zM1.381 7.588h4.825v4.825h-4.825v-4.825zM7.588 7.588h4.825v4.825h-4.825v-4.825zM12.413 1.381v4.825h-4.825v-4.825h4.825zM6.206 1.381v4.825h-4.825v-4.825h4.825zM1.381 13.794h4.825v4.826h-4.825v-4.826zM7.588 18.62v-4.826h4.825v4.826h-4.825zM13.794 18.62v-4.826h4.825v4.826h-4.825z"})),testimonial:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M9.996 0c-5.516 0-9.996 4.479-9.996 9.997 0 5.523 4.48 10.003 9.996 10.003 5.524 0 10.004-4.48 10.004-10.003 0-5.518-4.48-9.997-10.004-9.997v0zM9.996 18.749c-4.821 0-8.745-3.926-8.745-8.752 0-4.822 3.923-8.746 8.745-8.746 4.829 0 8.753 3.924 8.753 8.746 0 4.826-3.924 8.752-8.753 8.752v0z"}),a("path",{fill:"#4a00e0",d:"M8.007 6.732l-0.292-0.201-0.006-0.012-0.019-0.006-0.214-0.098 0.006 0.012c-0.201-0.079-0.416-0.14-0.641-0.14-1.018 0-1.843 0.854-1.843 1.91s0.825 1.917 1.843 1.917c0.323 0 0.622-0.098 0.891-0.25-0.091 1.019-0.605 2.514-2.491 4.034-0.267 0.212-0.317 0.604-0.109 0.879 0.121 0.159 0.3 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.894-3.784 2.971-5.070 0.134-1.636-0.365-2.502-0.817-2.948l-0.128-0.134z"}),a("path",{fill:"#4a00e0",d:"M14.068 6.732l-0.293-0.201-0.008-0.012-0.017-0.006-0.214-0.098 0.006 0.012c-0.202-0.079-0.415-0.14-0.641-0.14-1.019 0-1.843 0.854-1.843 1.91s0.824 1.917 1.843 1.917c0.324 0 0.623-0.098 0.891-0.25-0.092 1.019-0.604 2.514-2.496 4.034-0.262 0.212-0.311 0.604-0.104 0.879 0.116 0.159 0.299 0.243 0.476 0.243 0.134 0 0.263-0.041 0.372-0.134 2.319-1.866 2.893-3.784 2.972-5.070 0.134-1.636-0.366-2.502-0.818-2.948l-0.128-0.134z"})),cf7_styler:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 2.969v14.063h20v-14.063h-20zM18.828 15.859h-17.656v-11.719h17.656v11.719z"}),a("path",{fill:"#4a00e0",d:"M11.758 13.516h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 11.172h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 8.828h5.898v1.172h-5.898v-1.172z"}),a("path",{fill:"#4a00e0",d:"M11.758 6.484h3.555v1.172h-3.555v-1.172z"}),a("path",{fill:"#4a00e0",d:"M16.484 6.484h1.172v1.172h-1.172v-1.172z"}),a("path",{fill:"#4a00e0",d:"M8.386 10.468c0.629-0.538 1.028-1.336 1.028-2.226 0-1.615-1.314-2.93-2.93-2.93s-2.93 1.314-2.93 2.93c0 0.89 0.4 1.688 1.028 2.226-1.307 0.687-2.2 2.057-2.2 3.633v0.586h8.203v-0.586c0-1.576-0.893-2.947-2.2-3.633zM6.484 6.484c0.969 0 1.758 0.789 1.758 1.758s-0.789 1.758-1.758 1.758-1.758-0.789-1.758-1.758 0.789-1.758 1.758-1.758zM3.614 13.516c0.272-1.336 1.456-2.344 2.871-2.344s2.599 1.008 2.871 2.344h-5.742z"})),gf_styler:a("svg",{width:20,height:20,viewBox:"0 0 100 100"},a("path",{fill:"#4a00e0",d:"M20.509,26.661H38.2c1.783,0,3.229-1.447,3.229-3.226c0-1.784-1.447-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.443-3.229,3.227C17.28,25.214,18.726,26.661,20.509,26.661L20.509,26.661z M20.509,26.661"}),a("path",{fill:"#4a00e0",d:"M20.509,38.465h41.285c1.78,0,3.229-1.442,3.229-3.223c0-1.783-1.449-3.227-3.229-3.227H20.509 c-1.783,0-3.229,1.444-3.229,3.227C17.28,37.022,18.726,38.465,20.509,38.465L20.509,38.465z M20.509,38.465"}),a("path",{fill:"#4a00e0",d:"M38.2,49.727H20.509c-1.783,0-3.229,1.443-3.229,3.227c0,1.78,1.446,3.224,3.229,3.224H38.2 c1.783,0,3.229-1.443,3.229-3.224C41.429,51.17,39.982,49.727,38.2,49.727L38.2,49.727z M38.2,49.727"}),a("path",{fill:"#4a00e0",d:"M92.334,14.48c-1.304-0.447-2.744-0.014-3.593,1.071l-6.021,7.754V5.723c0-1.778-1.446-3.223-3.23-3.223H8.71 c-1.783,0-3.226,1.445-3.226,3.223v88.552c0,1.78,1.443,3.226,3.226,3.226h70.78c1.784,0,3.23-1.445,3.23-3.226V51.129 l11.088-13.875c0.456-0.57,0.707-1.279,0.707-2.012V17.531C94.516,16.153,93.637,14.928,92.334,14.48L92.334,14.48z M76.267,91.045 h-64.33V8.951h64.33v22.653L47.452,68.679c-1.096,1.409-0.835,3.432,0.568,4.527c0.59,0.457,1.286,0.677,1.975,0.677 c0.962,0,1.915-0.424,2.547-1.241l3.619-4.657h11.534c0.979,0,1.906-0.446,2.518-1.214l6.054-7.572V91.045z M88.062,34.11 L66.144,61.53H61.18l26.882-34.591V34.11z M88.062,34.11"})),content_timeline:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M9.375 0h1.25v20h-1.25v-20z"}),a("path",{fill:"#4a00e0",d:"M1.875 3.125h5v2.5h-5v-2.5zM0.625 6.875h7.5v-5h-7.5v5z"}),a("path",{fill:"#4a00e0",d:"M1.875 14.592h5v2.5h-5v-2.5zM0.625 18.342h7.5v-5h-7.5v5z"}),a("path",{fill:"#4a00e0",d:"M18.125 11.25h-5v-2.5h5v2.5zM11.875 7.5v5h7.5v-5h-7.5z"})),call_to_action:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.304 16.848l-2.352-2.352 1.192-1.192c0.154-0.154 0.224-0.373 0.187-0.588s-0.177-0.398-0.374-0.491l-9.486-4.494c-0.256-0.122-0.561-0.068-0.761 0.132s-0.253 0.505-0.132 0.761l4.494 9.485c0.093 0.197 0.277 0.336 0.492 0.373s0.434-0.033 0.588-0.187l1.192-1.192 2.353 2.352c0.131 0.131 0.303 0.196 0.474 0.196s0.343-0.065 0.474-0.196l1.659-1.659c0.262-0.262 0.262-0.686 0-0.948v0zM17.17 18.033l-2.353-2.352c-0.131-0.131-0.303-0.196-0.474-0.196s-0.343 0.065-0.474 0.196l-0.993 0.993-3.283-6.929 6.929 3.282-0.993 0.994c-0.262 0.262-0.262 0.686 0 0.948l2.352 2.352-0.711 0.711z"}),a("path",{fill:"#4a00e0",d:"M7.645 10.992h-5.804v-9.303h9.303v6.647c0 0.37 0.3 0.671 0.671 0.671s0.671-0.3 0.671-0.671v-7.317c0-0.37-0.3-0.671-0.671-0.671h-10.644c-0.37 0-0.671 0.3-0.671 0.671v10.644c0 0.371 0.3 0.671 0.671 0.671h6.474c0.37 0 0.671-0.3 0.671-0.671s-0.3-0.671-0.671-0.671v0z"})),post_timeline:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M7.048 8.364c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h9.134c0.019 0.001 0.037 0.001 0.056 0 0.286-0.015 0.505-0.26 0.489-0.545v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.016-0.286-0.26-0.505-0.545-0.489h-9.134c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453zM8.138 3.456h8.044v4.363h-8.044v-4.363z"}),a("path",{fill:"#4a00e0",d:"M19.999 17.089v-5.453c0.001-0.019 0.001-0.037 0-0.056-0.015-0.286-0.26-0.505-0.545-0.489h-11.861c-0.019-0.001-0.037-0.001-0.056 0-0.286 0.015-0.505 0.26-0.489 0.545v5.453c-0.001 0.019-0.001 0.037 0 0.056 0.016 0.286 0.26 0.505 0.545 0.489h11.861c0.019 0.001 0.037 0.001 0.056 0 0.286-0.016 0.505-0.26 0.489-0.546zM18.909 16.544h-10.77v-4.363h10.77v4.363z"}),a("path",{fill:"#4a00e0",d:"M4.754 4.795c-0.286-1.279-1.554-2.083-2.833-1.797-1.083 0.242-1.853 1.203-1.854 2.312-0.028 1.102 0.725 2.071 1.8 2.318v4.417c-1.28 0.279-2.091 1.543-1.812 2.823 0.198 0.906 0.906 1.614 1.812 1.812h1.091c1.080-0.245 1.841-1.211 1.827-2.318 0.014-1.107-0.747-2.073-1.827-2.318v-4.417c1.279-0.286 2.083-1.555 1.797-2.833zM3.722 14.362c0 0.708-0.573 1.282-1.281 1.282-0 0-0.001 0-0.002 0-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.282c0.708-0.001 1.282 0.573 1.282 1.281zM2.44 6.592c-0.697-0.015-1.254-0.584-1.254-1.281s0.557-1.267 1.254-1.281c0.712-0 1.294 0.569 1.309 1.281-0.015 0.712-0.597 1.282-1.309 1.281z"}),a("path",{fill:"#4a00e0",d:"M9.229 5.365h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{fill:"#4a00e0",d:"M15.091 5.91h-5.862c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.546 0.545 0.546h5.863c0.301 0 0.545-0.244 0.545-0.546s-0.245-0.545-0.546-0.545z"}),a("path",{fill:"#4a00e0",d:"M9.229 14.090h3.136c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-3.136c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"}),a("path",{fill:"#4a00e0",d:"M9.229 15.726h5.863c0.301 0 0.545-0.244 0.545-0.545s-0.244-0.545-0.545-0.545h-5.863c-0.301 0-0.545 0.244-0.545 0.545s0.244 0.545 0.545 0.545z"})),icon_list:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M1.44 15.48c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.44 1.44 1.44 1.4-0.68 1.4-1.44c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{fill:"#4a00e0",d:"M1.44 8.6c-0.76 0-1.44 0.64-1.44 1.4s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4c0-0.76-0.64-1.4-1.4-1.4v0z"}),a("path",{fill:"#4a00e0",d:"M6.56 4.4h12.12c0.72 0 1.32-0.56 1.32-1.28s-0.6-1.32-1.32-1.32h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.28 1.32 1.28v0z"}),a("path",{fill:"#4a00e0",d:"M1.44 1.68c-0.76 0-1.44 0.68-1.44 1.44s0.68 1.4 1.44 1.4 1.4-0.64 1.4-1.4-0.64-1.44-1.4-1.44v0z"}),a("path",{fill:"#4a00e0",d:"M18.68 8.68h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"}),a("path",{fill:"#4a00e0",d:"M18.68 15.56h-12.12c-0.72 0-1.32 0.6-1.32 1.32s0.6 1.32 1.32 1.32h12.12c0.72 0 1.32-0.6 1.32-1.32s-0.6-1.32-1.32-1.32v0z"})),team:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M20 14.124c0-1.17-0.35-2.3-1.013-3.268-0.477-0.696-1.091-1.274-1.803-1.703 0.838-0.794 1.362-1.915 1.362-3.158 0-2.399-1.952-4.351-4.351-4.351-1.423 0-2.755 0.704-3.565 1.859-0.206-0.030-0.416-0.046-0.63-0.046s-0.424 0.016-0.63 0.046c-0.81-1.155-2.142-1.859-3.565-1.859-2.399 0-4.351 1.952-4.351 4.351 0 1.242 0.524 2.364 1.362 3.158-0.712 0.429-1.326 1.008-1.803 1.703-0.663 0.968-1.014 2.098-1.014 3.268v2.42h4.195v1.813h11.611v-1.813h4.194v-2.42h-0zM14.195 2.717c1.807 0 3.277 1.47 3.277 3.278s-1.47 3.277-3.277 3.277c-0.032 0-0.065-0-0.097-0.001 0.002-0.007 0.005-0.014 0.007-0.021 0.056-0.159 0.102-0.322 0.14-0.488 0.003-0.012 0.006-0.024 0.008-0.035 0.010-0.045 0.018-0.090 0.027-0.136 0.004-0.021 0.008-0.043 0.012-0.064 0.007-0.041 0.013-0.081 0.018-0.122 0.004-0.029 0.008-0.057 0.011-0.085 0.004-0.036 0.009-0.072 0.012-0.109s0.006-0.074 0.008-0.111c0.002-0.029 0.004-0.059 0.006-0.088 0.003-0.063 0.004-0.127 0.005-0.19 0-0.004 0-0.009 0-0.014 0-0.002-0-0.005-0-0.007 0-0.065-0.002-0.129-0.005-0.193-0.001-0.019-0.002-0.037-0.003-0.056-0.003-0.054-0.007-0.109-0.012-0.163-0.001-0.012-0.002-0.024-0.004-0.037-0.162-1.568-1.153-2.911-2.582-3.531 0.616-0.692 1.507-1.103 2.45-1.103v0zM8.866 4.732c0.010-0.004 0.021-0.008 0.031-0.011 0.033-0.012 0.066-0.023 0.099-0.033 0.025-0.008 0.050-0.016 0.075-0.023 0.018-0.005 0.037-0.011 0.055-0.016 0.033-0.009 0.066-0.018 0.1-0.026 0.248-0.060 0.507-0.093 0.773-0.093s0.525 0.033 0.773 0.094c0.033 0.008 0.066 0.017 0.099 0.026 0.019 0.005 0.038 0.010 0.056 0.016 0.025 0.007 0.050 0.015 0.075 0.023 0.033 0.011 0.066 0.022 0.1 0.034 0.010 0.004 0.020 0.007 0.030 0.011 1.096 0.405 1.918 1.381 2.104 2.565 0.002 0.009 0.003 0.019 0.004 0.028 0.006 0.040 0.011 0.080 0.015 0.121 0.002 0.015 0.003 0.030 0.005 0.045 0.004 0.037 0.006 0.074 0.009 0.112 0.001 0.016 0.002 0.032 0.003 0.048 0.002 0.048 0.003 0.096 0.004 0.144 0 0.004 0 0.008 0 0.012 0 0.002-0 0.004-0 0.006 0 0.047-0.002 0.093-0.003 0.139-0.001 0.015-0.001 0.029-0.002 0.044-0.002 0.045-0.006 0.089-0.010 0.133-0.002 0.017-0.004 0.034-0.006 0.051-0.003 0.029-0.007 0.057-0.011 0.085-0.003 0.022-0.006 0.044-0.010 0.066-0.005 0.033-0.011 0.066-0.018 0.1-0.006 0.029-0.012 0.059-0.019 0.088-0.004 0.018-0.008 0.035-0.012 0.053-0.010 0.044-0.022 0.087-0.034 0.13-0.005 0.017-0.010 0.034-0.014 0.051-0.008 0.025-0.016 0.049-0.024 0.074-0.006 0.020-0.013 0.039-0.020 0.058-0.007 0.022-0.015 0.044-0.023 0.066-0.014 0.037-0.029 0.074-0.044 0.111-0.007 0.016-0.014 0.032-0.021 0.049-0.013 0.031-0.027 0.061-0.041 0.091l-0.005 0.011c-0.005 0.011-0.010 0.021-0.015 0.032-0.016 0.032-0.032 0.064-0.049 0.096-0.007 0.012-0.013 0.025-0.020 0.037-0 0.001-0.001 0.002-0.001 0.002-0.019 0.034-0.038 0.067-0.058 0.1-0.008 0.013-0.016 0.026-0.024 0.039-0.021 0.035-0.044 0.070-0.066 0.103-0.014 0.021-0.029 0.042-0.043 0.063-0.013 0.018-0.025 0.035-0.038 0.052-0.017 0.023-0.033 0.045-0.050 0.067-0.012 0.015-0.023 0.030-0.035 0.045-0.018 0.022-0.036 0.045-0.055 0.067-0.012 0.014-0.023 0.027-0.035 0.041-0.020 0.022-0.039 0.044-0.059 0.066-0.012 0.013-0.024 0.025-0.036 0.038-0.032 0.034-0.065 0.067-0.099 0.1-0.020 0.019-0.040 0.039-0.061 0.058-0.014 0.013-0.029 0.026-0.043 0.038-0.024 0.021-0.047 0.041-0.071 0.062-0.012 0.011-0.025 0.021-0.037 0.031-0.029 0.024-0.059 0.047-0.089 0.070-0.008 0.006-0.016 0.012-0.025 0.019-0.545 0.405-1.221 0.646-1.951 0.646s-1.406-0.24-1.951-0.646c-0.008-0.006-0.016-0.012-0.024-0.018-0.030-0.023-0.060-0.046-0.089-0.070-0.012-0.010-0.025-0.020-0.037-0.030-0.024-0.021-0.048-0.041-0.072-0.062-0.014-0.013-0.029-0.025-0.043-0.038-0.021-0.019-0.041-0.038-0.061-0.058-0.034-0.033-0.067-0.066-0.1-0.101-0.012-0.012-0.024-0.025-0.036-0.037-0.020-0.022-0.039-0.044-0.058-0.066-0.012-0.013-0.024-0.027-0.035-0.040-0.019-0.022-0.037-0.045-0.055-0.067-0.012-0.015-0.024-0.030-0.035-0.045-0.017-0.022-0.034-0.044-0.050-0.067-0.013-0.017-0.025-0.035-0.037-0.053-0.015-0.021-0.029-0.041-0.044-0.062-0.023-0.034-0.045-0.069-0.066-0.104-0.008-0.013-0.016-0.026-0.023-0.039-0.020-0.034-0.040-0.067-0.058-0.102-0.007-0.013-0.013-0.025-0.020-0.038-0.017-0.032-0.034-0.064-0.050-0.096-0.006-0.012-0.011-0.023-0.017-0.035-0.001-0.002-0.002-0.003-0.003-0.005-0.015-0.031-0.029-0.063-0.043-0.095-0.007-0.015-0.013-0.030-0.020-0.046-0.015-0.038-0.030-0.075-0.045-0.113-0.008-0.021-0.015-0.041-0.022-0.062s-0.015-0.043-0.022-0.064c-0.008-0.023-0.015-0.046-0.022-0.069-0.010-0.035-0.020-0.070-0.030-0.105-0.007-0.025-0.013-0.049-0.019-0.074-0.005-0.020-0.009-0.039-0.014-0.059-0.005-0.024-0.011-0.048-0.016-0.073-0.007-0.038-0.014-0.076-0.020-0.114-0.003-0.020-0.006-0.041-0.009-0.062-0.004-0.030-0.008-0.061-0.012-0.092-0.002-0.015-0.004-0.030-0.005-0.046-0.004-0.046-0.008-0.091-0.010-0.137-0.001-0.013-0.001-0.026-0.002-0.039-0.002-0.049-0.004-0.098-0.004-0.148 0-0.053 0.002-0.105 0.004-0.158 0-0.014 0.002-0.028 0.003-0.042 0.002-0.039 0.005-0.079 0.009-0.118 0.001-0.014 0.003-0.027 0.004-0.041 0.005-0.042 0.010-0.084 0.016-0.126 0.001-0.008 0.002-0.016 0.004-0.024 0.186-1.185 1.008-2.161 2.105-2.566v0zM2.528 5.995c0-1.807 1.47-3.278 3.277-3.278 0.943 0 1.834 0.411 2.45 1.103-1.43 0.621-2.421 1.964-2.582 3.533-0.001 0.011-0.002 0.021-0.003 0.032-0.005 0.056-0.009 0.112-0.013 0.168-0.001 0.017-0.002 0.034-0.003 0.052-0.003 0.067-0.005 0.135-0.005 0.202s0.002 0.137 0.005 0.205c0.001 0.027 0.003 0.055 0.005 0.082 0.003 0.039 0.005 0.079 0.009 0.118 0.003 0.035 0.007 0.070 0.011 0.104 0.004 0.030 0.007 0.060 0.012 0.090 0.005 0.040 0.011 0.079 0.018 0.118 0.004 0.023 0.008 0.046 0.013 0.070 0.008 0.044 0.016 0.088 0.025 0.131 0.003 0.014 0.007 0.028 0.010 0.043 0.036 0.161 0.082 0.319 0.136 0.473 0.003 0.010 0.007 0.020 0.010 0.030-0.032 0.001-0.065 0.001-0.097 0.001-1.807-0-3.277-1.47-3.277-3.277v0zM5.095 12.841c-0.012 0.019-0.023 0.038-0.035 0.056-0.025 0.040-0.049 0.079-0.072 0.12-0.013 0.022-0.026 0.045-0.039 0.067-0.021 0.037-0.042 0.075-0.062 0.112-0.013 0.024-0.025 0.047-0.038 0.071-0.019 0.037-0.039 0.075-0.057 0.113-0.012 0.024-0.024 0.048-0.035 0.071-0.019 0.040-0.037 0.080-0.055 0.12-0.010 0.022-0.020 0.044-0.030 0.065-0.021 0.048-0.041 0.097-0.060 0.145-0.006 0.014-0.012 0.028-0.018 0.043-0.025 0.063-0.048 0.127-0.071 0.191-0.005 0.015-0.010 0.029-0.015 0.044-0.017 0.049-0.034 0.098-0.049 0.148-0.007 0.023-0.014 0.046-0.021 0.069-0.013 0.042-0.025 0.084-0.037 0.127-0.007 0.025-0.014 0.051-0.020 0.076-0.010 0.041-0.021 0.082-0.030 0.122-0.006 0.026-0.012 0.052-0.018 0.078-0.009 0.041-0.018 0.083-0.026 0.125-0.005 0.025-0.010 0.050-0.015 0.075-0.008 0.046-0.016 0.091-0.023 0.137-0.003 0.021-0.007 0.043-0.011 0.064-0.010 0.067-0.019 0.134-0.027 0.202 0 0.001-0 0.002-0 0.002-0.007 0.062-0.013 0.123-0.018 0.185h-3.139v-1.346c0-1.839 1.057-3.491 2.714-4.276 0.604 0.317 1.29 0.498 2.017 0.498 0.211 0 0.422-0.015 0.631-0.046 0.033 0.047 0.066 0.093 0.1 0.138 0.012 0.015 0.024 0.030 0.036 0.045 0.034 0.043 0.068 0.086 0.104 0.128 0.014 0.017 0.029 0.034 0.044 0.051 0.033 0.038 0.067 0.076 0.102 0.113 0.018 0.020 0.036 0.039 0.055 0.058 0.031 0.032 0.064 0.065 0.096 0.096 0.012 0.012 0.024 0.024 0.036 0.036-0.047 0.028-0.093 0.057-0.139 0.087-0.008 0.005-0.015 0.010-0.022 0.015-0.046 0.030-0.091 0.060-0.136 0.091-0.016 0.011-0.031 0.021-0.046 0.032-0.040 0.028-0.079 0.057-0.119 0.086-0.012 0.009-0.025 0.018-0.037 0.028-0.050 0.038-0.099 0.076-0.148 0.116-0.011 0.008-0.021 0.017-0.032 0.026-0.039 0.032-0.077 0.064-0.115 0.097-0.015 0.013-0.029 0.025-0.044 0.038-0.038 0.034-0.075 0.067-0.113 0.102-0.010 0.009-0.020 0.018-0.029 0.027-0.046 0.043-0.091 0.087-0.135 0.131-0.012 0.012-0.023 0.023-0.034 0.035-0.034 0.035-0.067 0.070-0.1 0.105-0.013 0.014-0.026 0.028-0.039 0.043-0.037 0.041-0.074 0.081-0.11 0.123-0.006 0.006-0.012 0.013-0.017 0.019-0.041 0.048-0.081 0.097-0.121 0.146-0.011 0.014-0.022 0.028-0.033 0.042-0.029 0.038-0.059 0.076-0.088 0.115-0.011 0.015-0.023 0.030-0.034 0.045-0.038 0.052-0.075 0.104-0.111 0.157-0.039 0.057-0.076 0.114-0.113 0.172v0zM5.268 17.283v-1.346c0-0.060 0.001-0.119 0.003-0.178 0.001-0.020 0.002-0.039 0.003-0.058 0.002-0.039 0.004-0.079 0.007-0.118 0.002-0.024 0.004-0.048 0.007-0.071 0.003-0.035 0.006-0.070 0.010-0.104 0.003-0.025 0.007-0.050 0.010-0.076 0.004-0.033 0.008-0.065 0.013-0.098 0.004-0.026 0.009-0.052 0.013-0.078 0.005-0.031 0.010-0.063 0.016-0.094 0.005-0.027 0.011-0.053 0.016-0.079 0.006-0.030 0.012-0.061 0.019-0.091 0.006-0.027 0.013-0.053 0.019-0.079 0.007-0.030 0.014-0.059 0.022-0.089 0.007-0.027 0.015-0.053 0.023-0.080 0.008-0.029 0.016-0.058 0.025-0.086 0.008-0.027 0.017-0.053 0.026-0.079 0.009-0.028 0.018-0.056 0.028-0.084 0.009-0.026 0.019-0.053 0.029-0.079 0.010-0.028 0.020-0.055 0.030-0.082s0.021-0.052 0.031-0.078c0.011-0.027 0.022-0.054 0.033-0.081s0.023-0.051 0.034-0.077c0.012-0.026 0.024-0.053 0.036-0.079s0.025-0.051 0.037-0.076c0.013-0.026 0.025-0.051 0.039-0.077s0.026-0.050 0.040-0.075c0.014-0.025 0.027-0.050 0.041-0.075s0.028-0.049 0.043-0.073c0.014-0.025 0.029-0.049 0.044-0.074s0.030-0.048 0.046-0.072c0.015-0.024 0.031-0.048 0.046-0.072s0.032-0.047 0.048-0.071c0.016-0.024 0.032-0.047 0.049-0.070s0.034-0.046 0.051-0.069c0.017-0.023 0.034-0.046 0.051-0.068s0.036-0.045 0.054-0.067c0.018-0.022 0.036-0.044 0.054-0.066s0.037-0.044 0.056-0.065 0.038-0.043 0.056-0.064 0.039-0.042 0.058-0.063c0.019-0.021 0.039-0.042 0.058-0.062s0.040-0.041 0.061-0.061c0.020-0.020 0.041-0.040 0.061-0.060s0.041-0.039 0.063-0.059c0.021-0.020 0.042-0.039 0.063-0.058s0.043-0.038 0.065-0.057c0.022-0.019 0.044-0.038 0.066-0.056s0.045-0.036 0.067-0.054c0.023-0.018 0.045-0.036 0.068-0.054s0.046-0.035 0.069-0.052c0.023-0.017 0.047-0.035 0.071-0.052s0.047-0.033 0.071-0.050c0.024-0.016 0.049-0.033 0.073-0.049s0.048-0.031 0.072-0.047c0.025-0.016 0.050-0.032 0.075-0.047s0.049-0.029 0.074-0.044c0.026-0.015 0.052-0.030 0.078-0.045 0.025-0.014 0.050-0.028 0.075-0.041 0.027-0.014 0.054-0.028 0.080-0.042 0.025-0.013 0.051-0.026 0.077-0.039 0.020-0.010 0.041-0.020 0.061-0.029 0.603 0.317 1.289 0.498 2.017 0.498s1.414-0.18 2.017-0.498c0.021 0.010 0.041 0.019 0.061 0.029 0.026 0.013 0.052 0.026 0.078 0.039s0.053 0.028 0.079 0.042c0.026 0.014 0.051 0.028 0.077 0.042s0.052 0.029 0.077 0.044c0.025 0.015 0.050 0.030 0.075 0.045s0.050 0.031 0.075 0.047c0.025 0.015 0.049 0.031 0.073 0.047s0.048 0.032 0.072 0.049c0.024 0.017 0.048 0.033 0.071 0.050s0.047 0.034 0.070 0.051c0.023 0.017 0.047 0.035 0.069 0.053s0.046 0.035 0.068 0.053c0.022 0.018 0.045 0.036 0.067 0.055s0.044 0.037 0.066 0.055c0.022 0.019 0.043 0.038 0.065 0.057s0.042 0.039 0.063 0.058c0.021 0.020 0.042 0.039 0.063 0.059s0.041 0.040 0.061 0.060c0.020 0.021 0.041 0.041 0.061 0.062s0.039 0.041 0.058 0.062c0.020 0.021 0.039 0.043 0.058 0.064s0.038 0.043 0.056 0.064c0.019 0.022 0.038 0.043 0.056 0.066s0.036 0.043 0.054 0.065c0.018 0.022 0.036 0.045 0.054 0.068s0.034 0.045 0.051 0.067c0.017 0.023 0.034 0.046 0.051 0.070s0.032 0.046 0.049 0.070c0.016 0.023 0.033 0.047 0.048 0.071s0.031 0.047 0.046 0.071c0.015 0.024 0.031 0.048 0.046 0.072s0.029 0.049 0.044 0.073c0.014 0.024 0.029 0.049 0.043 0.074s0.027 0.050 0.041 0.075c0.013 0.025 0.027 0.050 0.040 0.075s0.026 0.051 0.038 0.077c0.013 0.025 0.025 0.050 0.037 0.076s0.024 0.052 0.036 0.079c0.012 0.026 0.023 0.051 0.034 0.077s0.022 0.054 0.033 0.080c0.011 0.026 0.021 0.052 0.032 0.079s0.020 0.055 0.030 0.082c0.010 0.026 0.020 0.052 0.029 0.079 0.010 0.028 0.019 0.056 0.028 0.084 0.009 0.027 0.017 0.053 0.026 0.079 0.009 0.029 0.017 0.058 0.025 0.087 0.008 0.026 0.015 0.053 0.022 0.079 0.008 0.029 0.015 0.059 0.022 0.089 0.006 0.027 0.013 0.053 0.019 0.079 0.007 0.030 0.013 0.061 0.019 0.091 0.005 0.026 0.011 0.053 0.016 0.079 0.006 0.031 0.011 0.062 0.016 0.094 0.004 0.026 0.009 0.052 0.013 0.079 0.005 0.032 0.009 0.065 0.013 0.097 0.003 0.025 0.007 0.051 0.010 0.076 0.004 0.034 0.007 0.069 0.010 0.104 0.002 0.024 0.005 0.047 0.007 0.071 0.003 0.040 0.005 0.079 0.006 0.119 0.001 0.019 0.003 0.039 0.003 0.058 0.002 0.059 0.003 0.119 0.003 0.178v1.346h-9.463zM15.787 15.47c-0.010-0.13-0.026-0.261-0.045-0.39-0.003-0.021-0.007-0.041-0.010-0.061-0.008-0.047-0.015-0.094-0.024-0.14-0.005-0.024-0.010-0.049-0.014-0.074-0.008-0.042-0.017-0.085-0.027-0.127-0.006-0.025-0.012-0.051-0.018-0.076-0.010-0.041-0.020-0.083-0.031-0.124-0.007-0.025-0.013-0.050-0.020-0.075-0.012-0.043-0.024-0.086-0.037-0.128-0.007-0.023-0.013-0.045-0.020-0.067-0.016-0.050-0.033-0.101-0.050-0.151-0.005-0.014-0.009-0.028-0.014-0.042-0.023-0.064-0.047-0.128-0.072-0.191-0.005-0.013-0.011-0.027-0.017-0.041-0.020-0.049-0.040-0.098-0.061-0.147-0.009-0.021-0.019-0.043-0.029-0.064-0.018-0.041-0.037-0.081-0.056-0.121-0.011-0.024-0.023-0.047-0.034-0.070-0.019-0.038-0.038-0.076-0.058-0.114-0.012-0.023-0.025-0.047-0.038-0.071-0.021-0.038-0.041-0.075-0.063-0.113-0.013-0.022-0.025-0.045-0.038-0.067-0.023-0.040-0.048-0.080-0.073-0.12-0.012-0.019-0.022-0.038-0.034-0.056-0.037-0.058-0.074-0.115-0.113-0.172-0.037-0.053-0.074-0.105-0.111-0.157-0.011-0.015-0.022-0.029-0.033-0.045-0.029-0.039-0.058-0.077-0.088-0.115-0.011-0.014-0.021-0.028-0.032-0.041-0.040-0.049-0.080-0.098-0.121-0.146-0.005-0.006-0.011-0.012-0.016-0.018-0.036-0.042-0.073-0.084-0.111-0.125-0.013-0.014-0.026-0.028-0.039-0.042-0.033-0.036-0.067-0.071-0.101-0.105-0.011-0.012-0.022-0.023-0.034-0.034-0.044-0.044-0.089-0.088-0.135-0.131-0.010-0.009-0.019-0.018-0.029-0.027-0.037-0.035-0.075-0.069-0.113-0.102-0.015-0.013-0.029-0.025-0.044-0.038-0.038-0.033-0.076-0.065-0.115-0.097-0.011-0.009-0.021-0.018-0.032-0.026-0.048-0.039-0.098-0.078-0.148-0.116-0.012-0.009-0.025-0.018-0.037-0.028-0.039-0.029-0.079-0.057-0.119-0.085-0.015-0.011-0.031-0.022-0.047-0.033-0.044-0.031-0.089-0.061-0.134-0.090-0.008-0.005-0.016-0.011-0.024-0.016-0.046-0.029-0.092-0.058-0.138-0.086 0.012-0.012 0.023-0.024 0.035-0.035 0.033-0.032 0.066-0.065 0.098-0.098 0.018-0.019 0.036-0.037 0.054-0.056 0.035-0.038 0.070-0.076 0.103-0.115 0.014-0.017 0.029-0.033 0.043-0.050 0.036-0.043 0.071-0.086 0.105-0.13 0.011-0.014 0.023-0.029 0.034-0.043 0.034-0.046 0.068-0.092 0.101-0.138 0.21 0.031 0.421 0.046 0.631 0.046 0.728 0 1.414-0.18 2.017-0.498 1.657 0.785 2.714 2.436 2.714 4.276v1.346h-3.139z"})),social_share:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M13.751 4.999l1.25 1.25-8.753 8.753-1.25-1.25 8.753-8.753z"}),a("path",{fill:"#4a00e0",d:"M13.749 12.502l-1.874-1.874 1.255-1.256 0.619 0.628 3.749-3.749-3.749-3.749-3.749 3.749 0.628 0.619-1.256 1.255-1.874-1.874 6.251-6.251 6.251 6.251-6.251 6.251z"}),a("path",{fill:"#4a00e0",d:"M6.251 20l-6.251-6.251 6.251-6.251 1.874 1.874-1.255 1.256-0.619-0.628-3.749 3.749 3.749 3.749 3.749-3.749-0.628-0.619 1.256-1.256 1.874 1.874-6.251 6.251z"})),restaurant_menu:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 2.136v15.729h20v-15.729h-20zM18.828 7.038h-8.242v-3.73h8.242v3.73zM1.172 3.307h8.242v13.385h-8.242v-13.385zM10.586 16.693v-8.483h8.242v8.483h-8.242z"}),a("path",{fill:"#4a00e0",d:"M2.742 4.661v4.492c0 1.188 0.826 2.185 1.934 2.45v2.563h-0.898v1.172h2.969v-1.172h-0.898v-2.563c1.108-0.265 1.934-1.263 1.934-2.45v-4.492h-5.039zM6.61 9.154c0 0.743-0.605 1.348-1.348 1.348s-1.348-0.604-1.348-1.348v-3.32h2.695v3.32z"}),a("path",{fill:"#4a00e0",d:"M13.050 4.661h3.275v1.172h-3.275v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 9.414h5.156v1.172h-5.156v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 11.79h5.156v1.172h-5.156v-1.172z"}),a("path",{fill:"#4a00e0",d:"M12.109 14.167h5.156v1.172h-5.156v-1.172z"})),blockquote:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M6.347 8.539h-0.62c0.471-0.817 1.061-1.648 1.557-2.233 0.783-0.921 0.674-2.305-0.249-3.089-0.412-0.351-0.917-0.524-1.42-0.524-0.619 0-1.233 0.26-1.667 0.769-0.577 0.674-3.448 3.615-3.448 7.269v3.654c0 1.614 1.309 2.923 2.923 2.923h2.923c1.613 0 2.922-1.309 2.922-2.923v-2.924c0.001-1.613-1.308-2.922-2.921-2.922v0zM7.808 14.385c0 0.806-0.655 1.462-1.461 1.462h-2.923c-0.806 0-1.462-0.656-1.462-1.462v-3.655c0-2.822 2.192-5.296 2.912-6.108l0.187-0.211c0.19-0.223 0.43-0.257 0.555-0.257 0.122 0 0.303 0.032 0.475 0.177 0.305 0.26 0.343 0.722 0.080 1.029-0.579 0.683-1.219 1.599-1.708 2.449-0.262 0.454-0.262 1.009 0.001 1.462 0.26 0.452 0.742 0.73 1.264 0.73h0.62c0.806 0 1.461 0.656 1.461 1.461v2.923zM16.576 8.539h-0.618c0.471-0.817 1.060-1.648 1.557-2.233 0.783-0.921 0.674-2.305-0.248-3.089-0.412-0.351-0.919-0.524-1.422-0.524-0.618 0-1.232 0.26-1.666 0.769-0.576 0.674-3.448 3.615-3.448 7.269v3.654c0 1.614 1.31 2.923 2.924 2.923h2.923c1.614 0 2.923-1.309 2.923-2.923v-2.924c-0.001-1.613-1.31-2.922-2.925-2.922v0zM18.038 14.385c0 0.806-0.655 1.462-1.462 1.462h-2.922c-0.807 0-1.463-0.656-1.463-1.462v-3.655c0-2.824 2.193-5.297 2.913-6.109l0.186-0.211c0.191-0.223 0.429-0.256 0.555-0.256 0.122 0 0.303 0.032 0.475 0.177 0.307 0.26 0.343 0.723 0.082 1.029-0.581 0.683-1.221 1.599-1.71 2.449-0.261 0.453-0.261 1.009 0 1.462s0.743 0.73 1.267 0.73h0.618c0.807 0 1.462 0.656 1.462 1.461v2.923z"})),quote_1:a("svg",{width:20,height:20},a("path",{d:"M15.581 10.226h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.458 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.37 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),a("path",{d:"M15.581 14.285h-15.162c-0.233 0-0.419 0.373-0.419 0.827 0 0.458 0.186 0.826 0.419 0.826h15.161c0.233 0 0.419-0.369 0.419-0.826 0.001-0.454-0.186-0.827-0.418-0.827v0z"}),a("path",{d:"M15.581 18.346h-15.162c-0.233 0-0.419 0.37-0.419 0.826 0 0.459 0.186 0.828 0.419 0.828h15.161c0.233 0 0.419-0.369 0.419-0.828 0.001-0.455-0.186-0.826-0.418-0.826v0z"}),a("path",{d:"M9.126 0.595c-0.46 0.465-0.974 1.35-0.835 3.042 0.081 1.319 0.666 3.29 3.048 5.216 0.112 0.090 0.241 0.136 0.38 0.136 0.183 0 0.362-0.086 0.487-0.251 0.214-0.283 0.164-0.683-0.113-0.902-1.935-1.566-2.458-3.105-2.551-4.154 0.274 0.156 0.582 0.258 0.913 0.258 1.045 0 1.89-0.886 1.89-1.972 0-1.088-0.846-1.966-1.89-1.966-0.233 0-0.451 0.062-0.657 0.143l0.004-0.011-0.218 0.101-0.018 0.011-0.007 0.006-0.299 0.214-0.134 0.131z"}),a("path",{d:"M4.517 0.595c-0.465 0.465-0.974 1.35-0.841 3.042 0.085 1.319 0.671 3.29 3.049 5.216 0.116 0.090 0.245 0.136 0.383 0.136 0.178 0 0.366-0.086 0.487-0.251 0.214-0.283 0.165-0.683-0.108-0.902-1.939-1.566-2.467-3.105-2.56-4.154 0.278 0.156 0.584 0.258 0.92 0.258 1.046 0 1.885-0.886 1.885-1.972 0-1.088-0.845-1.966-1.885-1.966-0.236 0-0.447 0.062-0.657 0.143l0.010-0.011-0.218 0.101-0.022 0.011-0.009 0.006-0.305 0.214-0.129 0.13z"})),quote_2:a("svg",{width:20,height:20},a("path",{d:"M4.599 6.686c-0.39 0.397-0.822 1.149-0.705 2.586 0.068 1.123 0.561 2.799 2.561 4.434 0.096 0.080 0.205 0.115 0.321 0.115 0.153 0 0.306-0.071 0.409-0.214 0.181-0.239 0.135-0.58-0.095-0.766-1.626-1.332-2.066-2.639-2.144-3.531 0.231 0.132 0.488 0.218 0.769 0.218 0.874 0 1.587-0.753 1.587-1.677s-0.711-1.672-1.587-1.672c-0.196 0-0.38 0.054-0.552 0.121l0.003-0.010-0.184 0.085-0.016 0.010-0.006 0.006-0.252 0.181-0.109 0.114z"}),a("path",{d:"M0.725 6.686c-0.389 0.397-0.821 1.149-0.706 2.586 0.068 1.123 0.562 2.799 2.56 4.434 0.094 0.077 0.204 0.114 0.322 0.114 0.151 0 0.31-0.073 0.409-0.213 0.177-0.239 0.136-0.582-0.090-0.767-1.63-1.332-2.072-2.639-2.149-3.531 0.23 0.132 0.486 0.218 0.772 0.218 0.879 0 1.583-0.753 1.583-1.677s-0.71-1.672-1.583-1.672c-0.199 0-0.378 0.054-0.554 0.121l0.008-0.010-0.184 0.085-0.018 0.010-0.009 0.006-0.253 0.182-0.108 0.114z"}),a("path",{d:"M19.25 6.929h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),a("path",{d:"M19.25 10.75h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"}),a("path",{d:"M19.25 14.571h-10.041c-0.414 0-0.75-0.336-0.75-0.75s0.336-0.75 0.75-0.75h10.041c0.414 0 0.75 0.336 0.75 0.75s-0.336 0.75-0.75 0.75z"})),quote_inline_icon:a("svg",{width:20,height:20,viewBox:"0 0 32 32"},a("path",{d:"M7.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.357-0.056 0.724-0.086 1.097-0.086zM25.031 14c3.866 0 7 3.134 7 7s-3.134 7-7 7-7-3.134-7-7l-0.031-1c0-7.732 6.268-14 14-14v4c-2.671 0-5.182 1.040-7.071 2.929-0.364 0.364-0.695 0.751-0.995 1.157 0.358-0.056 0.724-0.086 1.097-0.086z"})),quote_tweet_icon:a("svg",{width:20,height:20,viewBox:"0 0 512 512"},a("path",{d:"M459.37 151.716c.325 4.548.325 9.097.325 13.645 0 138.72-105.583 298.558-298.558 298.558-59.452 0-114.68-17.219-161.137-47.106 8.447.974 16.568 1.299 25.34 1.299 49.055 0 94.213-16.568 130.274-44.832-46.132-.975-84.792-31.188-98.112-72.772 6.498.974 12.995 1.624 19.818 1.624 9.421 0 18.843-1.3 27.614-3.573-48.081-9.747-84.143-51.98-84.143-102.985v-1.299c13.969 7.797 30.214 12.67 47.431 13.319-28.264-18.843-46.781-51.005-46.781-87.391 0-19.492 5.197-37.36 14.294-52.954 51.655 63.675 129.3 105.258 216.365 109.807-1.624-7.797-2.599-15.918-2.599-24.04 0-57.828 46.782-104.934 104.934-104.934 30.213 0 57.502 12.67 76.67 33.137 23.715-4.548 46.456-13.32 66.599-25.34-7.798 24.366-24.366 44.833-46.132 57.827 21.117-2.273 41.584-8.122 60.426-16.243-14.292 20.791-32.161 39.308-52.628 54.253z"})),at_the_rate:a("svg",{width:30,height:30},a("path",{d:"M5.605 17.2c0-2.131 0.499-4.074 1.499-5.829 1-1.754 2.395-3.136 4.19-4.15 1.794-1.013 3.81-1.52 6.046-1.52 2.712 0 4.901 0.773 6.562 2.323 1.662 1.549 2.493 3.589 2.493 6.118 0 2.051-0.542 3.786-1.626 5.202-1.088 1.418-2.304 2.125-3.656 2.125-0.781 0-1.355-0.232-1.717-0.696-0.365-0.462-0.533-1.037-0.506-1.726-1.006 1.614-2.378 2.422-4.11 2.422-1.39 0-2.507-0.539-3.347-1.619-0.842-1.077-1.142-2.442-0.904-4.088 0.237-1.65 0.946-2.982 2.125-4.002 1.179-1.021 2.509-1.53 3.992-1.53s2.638 0.518 3.467 1.558c0.829 1.040 1.122 2.322 0.883 3.843l-0.494 3.2c-0.094 0.739 0.165 1.11 0.77 1.11 0.77 0 1.502-0.56 2.205-1.678 0.701-1.12 1.054-2.493 1.054-4.122 0-2.106-0.656-3.787-1.966-5.046-1.312-1.258-3.133-1.886-5.462-1.886-2.794 0-5.098 0.96-6.91 2.88-1.814 1.92-2.722 4.29-2.722 7.109 0 2.382 0.738 4.227 2.214 5.533 1.477 1.302 3.459 1.989 5.947 2.056l-0.376 1.509c-2.862-0.069-5.184-0.899-6.971-2.494-1.787-1.594-2.68-3.794-2.68-6.602zM19.15 15.85c0.17-1.15-0.014-2.118-0.558-2.899-0.542-0.781-1.28-1.173-2.214-1.173-0.933 0-1.79 0.392-2.571 1.173s-1.259 1.749-1.43 2.899c-0.171 1.152 0.013 2.122 0.557 2.91 0.542 0.787 1.282 1.181 2.214 1.181s1.79-0.394 2.573-1.181c0.781-0.789 1.256-1.758 1.43-2.91z"})),columns:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.091 0.301h-18.182c-0.503 0-0.909 0.408-0.909 0.908v17.576c0 0.504 0.406 0.913 0.909 0.913h18.182c0.504 0 0.909-0.409 0.909-0.913v-17.576c0-0.5-0.405-0.908-0.909-0.908v0zM9.091 17.877h-7.275v-14.343h7.275v14.343zM18.183 17.877h-7.273v-14.343h7.273v14.343z"})),column:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M19.091 0.301h-18.182c-0.503 0-0.909 0.408-0.909 0.908v17.576c0 0.504 0.406 0.913 0.909 0.913h18.182c0.504 0 0.909-0.409 0.909-0.913v-17.576c0-0.5-0.405-0.908-0.909-0.908zM18.304 17.21h-16.608v-14.343h16.608v14.343z"}),a("path",{fill:"#4a00e0",d:"M15.667 8.5h-11.333c-0.553 0-1-0.447-1-1s0.447-1 1-1h11.333c0.552 0 1 0.447 1 1s-0.448 1-1 1z"}),a("path",{fill:"#4a00e0",d:"M15.667 13.5h-11.333c-0.553 0-1-0.448-1-1s0.447-1 1-1h11.333c0.552 0 1 0.448 1 1s-0.448 1-1 1z"})),top_align:a("svg",{width:20,height:20},a("path",{d:"M1.5 0.438v2.125h17v-2.125h-17zM5.75 8.938h3.188v10.625h2.125v-10.625h3.187l-4.25-4.25-4.25 4.25z"})),middle_align:a("svg",{width:20,height:20},a("path",{d:"M18.5 11.063v-2.125h-17v2.125h17z"}),a("path",{d:"M12.707 3.519l-2.707-2.707-2.707 2.707h2.030v4.368h1.354v-4.368h2.030z"}),a("path",{d:"M7.293 16.48l2.707 2.707 2.707-2.707h-2.030v-4.368h-1.354v4.368h-2.030z"})),bottom_align:a("svg",{width:20,height:20},a("path",{d:"M18.5 20v-2.125h-17v2.125h17zM14.25 11.5h-3.187v-10.625h-2.125v10.625h-3.188l4.25 4.25 4.25-4.25z"})),carousel_left:a("svg",{width:20,height:20,viewBox:"0 0 256 512"},a("path",{d:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"})),carousel_right:a("svg",{width:20,height:20,viewBox:"0 0 256 512"},a("path",{d:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"})),top_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M17 0.984h-14c-1.103 0-2 0.897-2 2v0.797h18v-0.797c0-1.103-0.897-2-2-2z"})),bottom_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 1c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17 0h-14c-1.657 0-3 1.343-3 3v14c0 1.656 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M3 19.016h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.103 0.897 2 2 2z"})),left_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.656 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M0.984 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),right_margin:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M19.015 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.104 0 2-0.896 2-2z"})),vertical_spacing:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.657 0 3-1.343 3-3v-14c0-1.656-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M17 0.983h-14c-1.103 0-2 0.896-2 2v0.797h18v-0.797c0-1.103-0.896-2-2-2z"}),a("path",{fill:"#575E67",d:"M3 19.031h14c1.103 0 2-0.896 2-2v-0.797h-18v0.797c0 1.104 0.896 2 2 2z"})),horizontal_spacing:a("svg",{width:20,height:20},a("path",{fill:"#999",d:"M17 0.999c1.103 0 2 0.897 2 2v14c0 1.103-0.897 2-2 2h-14c-1.103 0-2-0.897-2-2v-14c0-1.103 0.897-2 2-2h14zM17-0.001h-14c-1.657 0-3 1.343-3 3v14c0 1.657 1.343 3 3 3h14c1.656 0 3-1.343 3-3v-14c0-1.657-1.343-3-3-3v0z"}),a("path",{fill:"#575E67",d:"M19.016 16.999v-14c0-1.103-0.896-2-2-2h-0.797v18h0.797c1.103 0 2-0.896 2-2z"}),a("path",{fill:"#575E67",d:"M0.968 2.999v14c0 1.103 0.896 2 2 2h0.797v-18h-0.797c-1.104 0-2 0.897-2 2z"})),logo:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M10 0.858c5.039 0 9.139 4.102 9.139 9.142s-4.1 9.142-9.139 9.142c-5.040 0-9.139-4.101-9.139-9.142s4.1-9.142 9.139-9.142zM10 0c-5.524 0-10 4.478-10 10s4.476 10 10 10c5.523 0 10-4.478 10-10s-4.477-10-10-10v0z"}),a("path",{fill:"#4a00e0",d:"M6.405 12.326c0.252 0 0.465-0.053 0.639-0.157s0.314-0.244 0.422-0.418 0.185-0.373 0.229-0.598c0.045-0.226 0.067-0.454 0.067-0.688v-3.264h1.475v3.264c0 0.444-0.056 0.857-0.167 1.241s-0.282 0.719-0.513 1.007c-0.23 0.288-0.524 0.515-0.881 0.679s-0.78 0.248-1.271 0.248c-0.509 0-0.944-0.087-1.304-0.261s-0.652-0.406-0.876-0.697c-0.225-0.291-0.39-0.628-0.495-1.012s-0.158-0.785-0.158-1.205v-3.264h1.475v3.264c0 0.246 0.024 0.479 0.072 0.702s0.126 0.419 0.234 0.593 0.247 0.312 0.418 0.413c0.171 0.102 0.382 0.153 0.634 0.153z"}),a("path",{fill:"#4a00e0",d:"M14.768 12.956c-0.486 0.449-1.047 0.674-1.682 0.674-0.42 0-0.815-0.079-1.188-0.238-0.371-0.158-0.696-0.382-0.975-0.67-0.279-0.287-0.5-0.634-0.661-1.038s-0.243-0.85-0.243-1.336c0-0.437 0.082-0.851 0.243-1.24s0.385-0.729 0.67-1.017c0.284-0.287 0.622-0.515 1.011-0.683 0.391-0.168 0.81-0.252 1.26-0.252 0.593 0 1.111 0.125 1.555 0.373s0.777 0.589 0.998 1.021l-1.097 0.827c-0.144-0.288-0.353-0.512-0.624-0.67-0.273-0.158-0.568-0.238-0.887-0.238-0.246 0-0.469 0.049-0.67 0.148s-0.373 0.236-0.517 0.414c-0.144 0.177-0.255 0.382-0.333 0.615s-0.117 0.485-0.117 0.755c0 0.276 0.042 0.531 0.127 0.765 0.083 0.233 0.2 0.437 0.35 0.607s0.328 0.304 0.535 0.399c0.207 0.097 0.436 0.145 0.688 0.145 0.576 0 1.095-0.267 1.557-0.801v-0.197h-1.241v-1.069h2.464v3.335h-1.223v-0.629z"})),marketing_button:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M12.997 2.99c-0.050-0.153-0.158-0.28-0.302-0.353s-0.31-0.086-0.463-0.036l-2.54 0.825c-0.319 0.104-0.493 0.446-0.39 0.765l0.127 0.391-6.461 4.746-2.549 0.828c-0.153 0.050-0.28 0.158-0.353 0.302s-0.086 0.31-0.036 0.463l1.548 4.765c0.083 0.257 0.321 0.42 0.577 0.42 0.062 0 0.125-0.010 0.188-0.030l2.548-0.828 1.309 0.007c0.263 1.241 1.367 2.176 2.686 2.176 1.308 0 2.405-0.92 2.679-2.148l1.343 0.007 0.127 0.391c0.050 0.153 0.158 0.28 0.302 0.353 0.086 0.044 0.181 0.066 0.276 0.066 0.063 0 0.127-0.010 0.188-0.030l2.54-0.825c0.319-0.104 0.493-0.446 0.39-0.765l-3.733-11.489zM2.545 14.732l-1.173-3.61 1.487-0.483 1.173 3.61-1.486 0.483zM8.886 16.215c-0.64 0-1.189-0.396-1.418-0.955l2.83 0.015c-0.232 0.552-0.777 0.94-1.412 0.94zM5.239 14.034l-1.277-3.93 5.862-4.306 2.689 8.275-7.274-0.038zM14.002 14.727l-0.075-0.229c-0-0-0-0.001-0-0.001l-3.283-10.104 1.385-0.45 3.358 10.335-1.385 0.45z"}),a("path",{fill:"#4a00e0",d:"M15.041 5.941c0.088 0.045 0.182 0.066 0.275 0.066 0.221 0 0.434-0.121 0.541-0.332l1.090-2.138c0.152-0.299 0.034-0.664-0.265-0.817s-0.664-0.034-0.817 0.265l-1.090 2.138c-0.152 0.299-0.034 0.664 0.265 0.817z"}),a("path",{fill:"#4a00e0",d:"M19.604 11.714l-2.138-1.089c-0.299-0.152-0.664-0.033-0.817 0.265s-0.033 0.664 0.265 0.817l2.138 1.089c0.088 0.045 0.182 0.066 0.275 0.066 0.221 0 0.434-0.121 0.541-0.332 0.152-0.299 0.033-0.664-0.265-0.817z"}),a("path",{fill:"#4a00e0",d:"M16.533 8.193c0.083 0.257 0.321 0.42 0.577 0.42 0.062 0 0.125-0.010 0.188-0.030l2.282-0.742c0.319-0.104 0.493-0.446 0.39-0.765s-0.446-0.493-0.765-0.39l-2.282 0.742c-0.319 0.104-0.493 0.446-0.39 0.765z"})),table_of_contents:a("svg",{width:20,height:20},a("path",{fill:"#4a00e0",d:"M0 0h1.25v20h-1.25v-20zM18.75 0h1.25v20h-1.25v-20zM1.25 1.25v-1.25h17.5v1.25h-17.5zM1.25 20v-1.25h17.5v1.25h-17.5zM1.25 4.063v-1.25h17.5v1.25h-17.5zM13.75 1.25h1.25v1.563h-1.25v-1.563zM4.375 5c-0.938 0-1.875 0.938-1.875 1.875s0.938 1.875 1.875 1.875c0.938 0 1.875-0.938 1.875-1.875s-0.938-1.875-1.875-1.875zM4.375 5.938c0.625 0 0.938 0.313 0.938 0.938s-0.313 0.938-0.938 0.938c-0.625 0-0.938-0.313-0.938-0.938s0.313-0.938 0.938-0.938zM7.813 7.5h9.688v-1.25h-9.688v1.25zM4.375 9.688c-0.938 0-1.875 0.625-1.875 1.875 0 0.938 0.938 1.875 1.875 1.875s1.875-0.938 1.875-1.875c0-1.25-0.938-1.875-1.875-1.875zM4.375 10.313c0.625 0 0.938 0.625 0.938 1.25 0 0.313-0.313 0.938-0.938 0.938s-0.938-0.625-0.938-0.938c0-0.625 0.313-1.25 0.938-1.25zM7.813 12.188h9.688v-1.25h-9.688v1.25zM4.375 14.063c0.938 0 1.875 0.938 1.875 1.875s-0.938 1.875-1.875 1.875c-0.938 0-1.875-0.938-1.875-1.875s0.938-1.875 1.875-1.875zM4.375 15c-0.625 0-0.938 0.313-0.938 0.938s0.313 0.938 0.938 0.938c0.625 0 0.938-0.313 0.938-0.938s-0.313-0.938-0.938-0.938zM7.813 16.563h9.688v-1.25h-9.688v1.25z"}))};t.a=l},function(e,t){function n(){throw new Error("setTimeout has not been defined")}function a(){throw new Error("clearTimeout has not been defined")}function l(e){if(u===setTimeout)return setTimeout(e,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(e,0);try{return u(e,0)}catch(t){try{return u.call(null,e,0)}catch(t){return u.call(this,e,0)}}}function r(e){if(p===clearTimeout)return clearTimeout(e);if((p===a||!p)&&clearTimeout)return p=clearTimeout,clearTimeout(e);try{return p(e)}catch(t){try{return p.call(null,e)}catch(t){return p.call(this,e)}}}function i(){g&&d&&(g=!1,d.length?h=d.concat(h):b=-1,h.length&&o())}function o(){if(!g){var e=l(i);g=!0;for(var t=h.length;t;){for(d=h,h=[];++b<t;)d&&d[b].run();b=-1,t=h.length}d=null,g=!1,r(e)}}function c(e,t){this.fun=e,this.array=t}function s(){}var u,p,m=e.exports={};!function(){try{u="function"===typeof setTimeout?setTimeout:n}catch(e){u=n}try{p="function"===typeof clearTimeout?clearTimeout:a}catch(e){p=a}}();var d,h=[],g=!1,b=-1;m.nextTick=function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)t[n-1]=arguments[n];h.push(new c(e,t)),1!==h.length||g||l(o)},c.prototype.run=function(){this.fun.apply(null,this.array)},m.title="browser",m.browser=!0,m.env={},m.argv=[],m.version="",m.versions={},m.on=s,m.addListener=s,m.once=s,m.off=s,m.removeListener=s,m.removeAllListeners=s,m.emit=s,m.prependListener=s,m.prependOnceListener=s,m.listeners=function(e){return[]},m.binding=function(e){throw new Error("process.binding is not supported")},m.cwd=function(){return"/"},m.chdir=function(e){throw new Error("process.chdir is not supported")},m.umask=function(){return 0}},function(e,t,n){"use strict";function a(e,t){var n="";return"undefined"!=typeof e&&(n+=e+t),n}t.a=a},function(e,t,n){function a(e,t){return(o(e)?l:i)(e,r(t,3))}var l=n(29),r=n(77),i=n(214),o=n(12);e.exports=a},function(e,t,n){"use strict";(function(t){"production"===t.env.NODE_ENV?e.exports=n(224):e.exports=n(225)}).call(t,n(2))},function(e,t,n){"use strict";function a(e){e=Object(i.a)(e);var t=r.a[e];if("undefined"!=typeof t){var n=t.svg.hasOwnProperty("brands")?t.svg.brands.viewBox:t.svg.solid.viewBox,a=t.svg.hasOwnProperty("brands")?t.svg.brands.path:t.svg.solid.path,l=n.join(" ");return wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:l},wp.element.createElement("path",{d:a}))}}var l=n(14),r=n.n(l),i=n(378);t.a=a},function(e,t,n){"use strict";function a(e,t){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],a=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"",l="",r="",i="";"tablet"==a?l=uagb_blocks_info.tablet_breakpoint:"mobile"==a&&(l=uagb_blocks_info.mobile_breakpoint);for(var o in e){var c=e[o],s="";for(var u in c){var p=!0;"string"===typeof c[u]&&0===c[u].length&&(p=!1),"undefined"!=typeof c[u]&&p&&(s+=u+": "+c[u]+";")}0!==s.length&&(r+=t,r+=o+"{",r+=s,r+="}")}return n&&"undefined"!==typeof r&&0!==r.length&&(i+="@media only screen and (max-width: "+l+"px) {",i+=r,i+="}"),n?i:r}t.a=a},function(e,t,n){"use strict";function a(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function l(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function r(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function i(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var o=n(221),c=n(255),s=(n(256),n(257)),u=(n.n(s),Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e}),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}(),m=wp.i18n.__,d=wp.components,h=d.Button,g=d.Dashicon,b=wp.element,v=b.Component,f=b.Fragment,y=function(e){function t(){l(this,t);var e=r(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onAdvancedControlClick=e.onAdvancedControlClick.bind(e),e.onAdvancedControlReset=e.onAdvancedControlReset.bind(e),e}return i(t,e),p(t,[{key:"onAdvancedControlClick",value:function(){var e=!0,t=m("Hide Advanced");null!==this.state&&!0===this.state.showAdvancedControls&&(e=!1,t=m("Advanced")),this.setState({showAdvancedControls:e,showAdvancedControlsLabel:t})}},{key:"onAdvancedControlReset",value:function(){var e=this.props.setAttributes;e(a({},this.props.fontFamily.label,"")),e(a({},this.props.fontWeight.label,"")),e(a({},this.props.fontSubset.label,"")),e(a({},this.props.fontSize.label,"")),e(a({},this.props.fontSizeType.label,"px")),e(a({},this.props.fontSizeMobile.label,"")),e(a({},this.props.fontSizeTablet.label,"")),e(a({},this.props.lineHeight.label,"")),e(a({},this.props.lineHeightType.label,"em")),e(a({},this.props.lineHeightMobile.label,"")),e(a({},this.props.lineHeightTablet.label,"")),e(a({},this.props.loadGoogleFonts.label,!1))}},{key:"render",value:function(){var e=void 0,t=void 0,n=void 0,a=void 0,l=void 0,r=void 0,i=void 0,s=this.props,p=s.disableFontFamily,d=s.disableFontSize,b=s.disableLineHeight,v=s.disableAdvancedOptions,y=void 0!==v&&v;return!0!==p&&(n=wp.element.createElement(o.a,this.props)),!0!==b&&(t=wp.element.createElement(c.a,u({type:this.props.lineHeightType,typeLabel:this.props.lineHeightType.label,sizeMobile:this.props.lineHeightMobile,sizeMobileLabel:this.props.lineHeightMobile.label,sizeTablet:this.props.lineHeightTablet,sizeTabletLabel:this.props.lineHeightTablet.label,size:this.props.lineHeight,sizeLabel:this.props.lineHeight.label,sizeMobileText:m("Line Height"),sizeTabletText:m("Line Height"),sizeText:m("Line Height"),steps:.1},this.props))),!0!==d&&(e=wp.element.createElement(c.a,u({type:this.props.fontSizeType,typeLabel:this.props.fontSizeType.label,sizeMobile:this.props.fontSizeMobile,sizeMobileLabel:this.props.fontSizeMobile.label,sizeTablet:this.props.fontSizeTablet,sizeTabletLabel:this.props.fontSizeTablet.label,size:this.props.fontSize,sizeLabel:this.props.fontSize.label,sizeMobileText:this.props.fontSizeLabel?this.props.fontSizeLabel:m("Font Size"),sizeTabletText:this.props.fontSizeLabel?this.props.fontSizeLabel:m("Font Size"),sizeText:this.props.fontSizeLabel?this.props.fontSizeLabel:m("Font Size"),steps:1},this.props))),!0!==p&&!0!==d?(a=wp.element.createElement(h,{className:"uagb-size-btn uagb-typography-control-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlClick},wp.element.createElement(g,{icon:"admin-tools"})),i=wp.element.createElement(h,{className:"uagb-size-btn uagb-typography-reset-btn",isSmall:!0,"aria-pressed":null!==this.state,onClick:this.onAdvancedControlReset},wp.element.createElement(g,{icon:"image-rotate"}))):r=wp.element.createElement(f,null,e,n,t),null!==this.state&&!0===this.state.showAdvancedControls&&(r=wp.element.createElement("div",{className:"uagb-typography-advanced"},e,n,t)),!0!==p&&!0!==d&&(l=wp.element.createElement("div",{className:"uag-typography-option-actions"},wp.element.createElement("span",null,this.props.label),a,i)),wp.element.createElement("div",{className:"uag-typography-options"},!y&&wp.element.createElement(f,null,l,r))}}]),t}(v);t.a=y},function(e,t,n){"use strict";function a(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function l(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function r(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var i=n(13),o=n.n(i),c=n(258),s=n.n(c),u=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var a in n)Object.prototype.hasOwnProperty.call(n,a)&&(e[a]=n[a])}return e},p=function(){function e(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}return function(t,n,a){return n&&e(t.prototype,n),a&&e(t,a),t}}();if(void 0===m)var m=[];var d=wp.element.Component,h={inactive:"inactive",active:"active",loading:"loading"},g=function(){},b=function(e){function t(e){a(this,t);var n=l(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.state={status:void 0},n.handleLoading=function(){n.setState({status:h.loading})},n.addFont=function(e){m.includes(e)||m.push(e)},n.handleActive=function(){n.setState({status:h.active})},n.handleInactive=function(){n.setState({status:h.inactive})},n.loadFonts=function(){m.includes(n.props.config.google.families[0])||(s.a.load(u({},n.props.config,{loading:n.handleLoading,active:n.handleActive,inactive:n.handleInactive})),n.addFont(n.props.config.google.families[0]))},n}return r(t,e),p(t,[{key:"componentDidMount",value:function(){this.loadFonts()}},{key:"componentDidUpdate",value:function(e,t){var n=this.props,a=n.onStatus,l=n.config;t.status!==this.state.status&&a(this.state.status),e.config!==l&&this.loadFonts()}},{key:"render",value:function(){return this.props.children||null}}]),t}(d);b.propTypes={config:o.a.object.isRequired,children:o.a.element,onStatus:o.a.func.isRequired},b.defaultProps={onStatus:g},t.a=b},function(e,t,n){var a=n(79),l="object"==typeof self&&self&&self.Object===Object&&self,r=a||l||Function("return this")();e.exports=r},function(e,t){function n(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}e.exports=n},function(e,t){var n=Array.isArray;e.exports=n},function(e,t,n){(function(t){if("production"!==t.env.NODE_ENV){var a=n(98);e.exports=n(243)(a.isElement,!0)}else e.exports=n(244)()}).call(t,n(2))},function(e,t){e.exports={"500px":{search:{terms:[]},styles:["brands"],label:"500px",svg:{brands:{viewBox:["0","0","448","512"],path:"M103.3 344.3c-6.5-14.2-6.9-18.3 7.4-23.1 25.6-8 8 9.2 43.2 49.2h.3v-93.9c1.2-50.2 44-92.2 97.7-92.2 53.9 0 97.7 43.5 97.7 96.8 0 63.4-60.8 113.2-128.5 93.3-10.5-4.2-2.1-31.7 8.5-28.6 53 0 89.4-10.1 89.4-64.4 0-61-77.1-89.6-116.9-44.6-23.5 26.4-17.6 42.1-17.6 157.6 50.7 31 118.3 22 160.4-20.1 24.8-24.8 38.5-58 38.5-93 0-35.2-13.8-68.2-38.8-93.3-24.8-24.8-57.8-38.5-93.3-38.5s-68.8 13.8-93.5 38.5c-.3.3-16 16.5-21.2 23.9l-.5.6c-3.3 4.7-6.3 9.1-20.1 6.1-6.9-1.7-14.3-5.8-14.3-11.8V20c0-5 3.9-10.5 10.5-10.5h241.3c8.3 0 8.3 11.6 8.3 15.1 0 3.9 0 15.1-8.3 15.1H130.3v132.9h.3c104.2-109.8 282.8-36 282.8 108.9 0 178.1-244.8 220.3-310.1 62.8zm63.3-260.8c-.5 4.2 4.6 24.5 14.6 20.6C306 56.6 384 144.5 390.6 144.5c4.8 0 22.8-15.3 14.3-22.8-93.2-89-234.5-57-238.3-38.2zM393 414.7C283 524.6 94 475.5 61 310.5c0-12.2-30.4-7.4-28.9 3.3 24 173.4 246 256.9 381.6 121.3 6.9-7.8-12.6-28.4-20.7-20.4zM213.6 306.6c0 4 4.3 7.3 5.5 8.5 3 3 6.1 4.4 8.5 4.4 3.8 0 2.6.2 22.3-19.5 19.6 19.3 19.1 19.5 22.3 19.5 5.4 0 18.5-10.4 10.7-18.2L265.6 284l18.2-18.2c6.3-6.8-10.1-21.8-16.2-15.7L249.7 268c-18.6-18.8-18.4-19.5-21.5-19.5-5 0-18 11.7-12.4 17.3L234 284c-18.1 17.9-20.4 19.2-20.4 22.6z"}}},"accessible-icon":{search:{terms:["accessibility","handicap","person","wheelchair","wheelchair-alt"]},styles:["brands"],label:"Accessible Icon",svg:{brands:{viewBox:["0","0","448","512"],path:"M423.9 255.8L411 413.1c-3.3 40.7-63.9 35.1-60.6-4.9l10-122.5-41.1 2.3c10.1 20.7 15.8 43.9 15.8 68.5 0 41.2-16.1 78.7-42.3 106.5l-39.3-39.3c57.9-63.7 13.1-167.2-74-167.2-25.9 0-49.5 9.9-67.2 26L73 243.2c22-20.7 50.1-35.1 81.4-40.2l75.3-85.7-42.6-24.8-51.6 46c-30 26.8-70.6-18.5-40.5-45.4l68-60.7c9.8-8.8 24.1-10.2 35.5-3.6 0 0 139.3 80.9 139.5 81.1 16.2 10.1 20.7 36 6.1 52.6L285.7 229l106.1-5.9c18.5-1.1 33.6 14.4 32.1 32.7zm-64.9-154c28.1 0 50.9-22.8 50.9-50.9C409.9 22.8 387.1 0 359 0c-28.1 0-50.9 22.8-50.9 50.9 0 28.1 22.8 50.9 50.9 50.9zM179.6 456.5c-80.6 0-127.4-90.6-82.7-156.1l-39.7-39.7C36.4 287 24 320.3 24 356.4c0 130.7 150.7 201.4 251.4 122.5l-39.7-39.7c-16 10.9-35.3 17.3-56.1 17.3z"}}},accusoft:{search:{terms:[]},styles:["brands"],label:"Accusoft",svg:{brands:{viewBox:["0","0","640","512"],path:"M482.2 372.1C476.5 365.2 250 75 242.3 65.5c-13.7-17.2 0-16.8 19.2-16.9 9.7-.1 106.3-.6 116.5-.6 24.1-.1 28.7.6 38.4 12.8 2.1 2.7 205.1 245.8 207.2 248.3 5.5 6.7 15.2 19.1 7.2 23.4-2.4 1.3-114.6 47.7-117.8 48.9-10.1 4-17.5 6.8-30.8-9.3m114.7-5.6s-115 50.4-117.5 51.6c-16 7.3-26.9-3.2-36.7-14.6l-57.1-74c-5.4-.9-60.4-9.6-65.3-9.3-3.1.2-9.6.8-14.4 2.9-4.9 2.1-145.2 52.8-150.2 54.7-5.1 2-11.4 3.6-11.1 7.6.2 2.5 2 2.6 4.6 3.5 2.7.8 300.9 67.6 308 69.1 15.6 3.3 38.5 10.5 53.6 1.7 2.1-1.2 123.8-76.4 125.8-77.8 5.4-4 4.3-6.8-1.7-8.2-2.3-.3-24.6-4.7-38-7.2m-326-181.3s-12 1.6-25 15.1c-9 9.3-242.1 239.1-243.4 240.9-7 10 1.6 6.8 15.7 1.7.8 0 114.5-36.6 114.5-36.6.5-.6-.1-.1.6-.6-.4-5.1-.8-26.2-1-27.7-.6-5.2 2.2-6.9 7-8.9l92.6-33.8c.6-.8 88.5-81.7 90.2-83.3v-1l-51.2-65.8"}}},"acquisitions-incorporated":{search:{terms:["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},styles:["brands"],label:"Acquisitions Incorporated",svg:{brands:{viewBox:["0","0","344.76","512"],path:"M344 0c-.81 5.47-1.63 10.79-2.39 16.12-1.39 9.74-2.9 19.48-4.05 29.25-.35 2.96-1.21 4.32-4.3 4.33-20.61.11-41.21.14-61.82.53-18.76.35-37.58.28-56.23 2-13.42 1.24-23.28 12.67-18.88 26.64 8.55 27.11 27.65 69.1 36.37 89.45 65.72 154.14 61.43 156.99 84 158.56 6.67.46 13.4.07 20.43.07 1.39 9.4 2.66 18.04 4.05 27.51H225.17v-27c10.33 0 20.36-.12 30.38.06 3.52.06 5.05-.63 3.44-4.37-4.44-10.29-8.77-20.63-13.25-30.9-1.62-3.72-4.06-4.78-8.4-3.52-12.32 3.59-24.79 6.69-37.26 9.69-4.25 1.02-5.93 2.77-5.86 7.46.85 57.47.95 127.53 1 129.12.4 12.54 8.75 21.41 21.03 23.07.89.12 12.89 2.72 112.68 2.56 8.25-.01 8.41-.17 9.57 7.56 2.15 14.34 4.14 28.7 6.26 43.53-367.75 0-153.93.61-337.09 0-3.95-.01-6.08-.69-5.28-5.74 2.04-12.86 3.5-25.82 4.97-38.76.55-4.81 2.29-6.81 7.63-6.77 118.09.99 114.93.35 121.43-2.39 9.42-3.98 14.98-12.85 14.95-23.07-.12-42.93-.33-85.86-.25-128.79.01-3.87-1.16-5.99-4.56-6.84-15.64-3.92-31.31-7.71-47.58-11.7-5.23 12.27-10.39 24.37-15.66 36.7 1.83 3.35 28.38 2.93 35.28 2.93v27.64H4.34c1.03-8.61 1.77-16.81 3.23-24.88.25-1.41 3.53-3.14 5.47-3.22 8.46-.35 16.95-.29 25.43-.09 3.99.09 5.92-1.04 7.61-5.16 16.63-40.7 13.51-31.17 67.31-160.97 31.53-76.09 33.06-76.02 32.64-87.43-.69-18.56-25.37-22.26-37.65-22.11-30.04.38-38.45-.47-101.84-.47C-.62 6.11 2.37 18.54.16 5.32-.55 1.08 1.19.03 4.8.02m113.08 247.19c2.3 1.15 3.97 2.29 5.82 2.87 13.29 4.21 26.64 8.24 39.93 12.46 6.14 1.95 11.98 2.12 18.3.05 13.02-4.28 26.29-7.81 39.43-11.73 1.46-.44 2.74-1.44 3.93-2.09-6.71-17.37-13.12-34.15-19.67-50.88-8.88-22.67-17.63-60.32-26.98-82.81-1.53-.78-1.91 2.36-9.43 0-17.11 44.05-34.14 87.88-51.33 132.13z"}}},ad:{search:{terms:[]},styles:["solid"],label:"Ad",svg:{solid:{viewBox:["0","0","512","512"],path:"M157.52 272h36.96L176 218.78 157.52 272zM352 256c-13.23 0-24 10.77-24 24s10.77 24 24 24 24-10.77 24-24-10.77-24-24-24zM464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM250.58 352h-16.94c-6.81 0-12.88-4.32-15.12-10.75L211.15 320h-70.29l-7.38 21.25A16 16 0 0 1 118.36 352h-16.94c-11.01 0-18.73-10.85-15.12-21.25L140 176.12A23.995 23.995 0 0 1 162.67 160h26.66A23.99 23.99 0 0 1 212 176.13l53.69 154.62c3.61 10.4-4.11 21.25-15.11 21.25zM424 336c0 8.84-7.16 16-16 16h-16c-4.85 0-9.04-2.27-11.98-5.68-8.62 3.66-18.09 5.68-28.02 5.68-39.7 0-72-32.3-72-72s32.3-72 72-72c8.46 0 16.46 1.73 24 4.42V176c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v160z"}}},"address-book":{search:{terms:[]},styles:["solid","regular"],label:"Address Book",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-228-32c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H118.4C106 384 96 375.4 96 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2z"},regular:{last_modified:1525209365040,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M436 160c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v416c0 26.5 21.5 48 48 48h320c26.5 0 48-21.5 48-48v-48h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-20v-64h20zm-68 304H48V48h320v416zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2z"}}},"address-card":{search:{terms:[]},styles:["solid","regular"],label:"Address Card",svg:{solid:{viewBox:["0","0","576","512"],path:"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm-352 96c35.3 0 64 28.7 64 64s-28.7 64-64 64-64-28.7-64-64 28.7-64 64-64zm112 236.8c0 10.6-10 19.2-22.4 19.2H86.4C74 384 64 375.4 64 364.8v-19.2c0-31.8 30.1-57.6 67.2-57.6h5c12.3 5.1 25.7 8 39.8 8s27.6-2.9 39.8-8h5c37.1 0 67.2 25.8 67.2 57.6v19.2zM512 312c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-64c0 4.4-3.6 8-8 8H360c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"},regular:{last_modified:1525209365041,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"/></svg>',viewBox:["0","0","576","512"],width:576,height:512,path:"M528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zm0 400H48V80h480v352zM208 256c35.3 0 64-28.7 64-64s-28.7-64-64-64-64 28.7-64 64 28.7 64 64 64zm-89.6 128h179.2c12.4 0 22.4-8.6 22.4-19.2v-19.2c0-31.8-30.1-57.6-67.2-57.6-10.8 0-18.7 8-44.8 8-26.9 0-33.4-8-44.8-8-37.1 0-67.2 25.8-67.2 57.6v19.2c0 10.6 10 19.2 22.4 19.2zM360 320h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8zm0-64h112c4.4 0 8-3.6 8-8v-16c0-4.4-3.6-8-8-8H360c-4.4 0-8 3.6-8 8v16c0 4.4 3.6 8 8 8z"}}},adjust:{search:{terms:["contrast"]},styles:["solid"],label:"adjust",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256c0 136.966 111.033 248 248 248s248-111.034 248-248S392.966 8 256 8 8 119.033 8 256zm248 184V72c101.705 0 184 82.311 184 184 0 101.705-82.311 184-184 184z"}}},adn:{search:{terms:[]},styles:["brands"],label:"App.net",svg:{brands:{viewBox:["0","0","496","512"],path:"M248 167.5l64.9 98.8H183.1l64.9-98.8zM496 256c0 136.9-111.1 248-248 248S0 392.9 0 256 111.1 8 248 8s248 111.1 248 248zm-99.8 82.7L248 115.5 99.8 338.7h30.4l33.6-51.7h168.6l33.6 51.7h30.2z"}}},adversal:{search:{terms:[]},styles:["brands"],label:"Adversal",svg:{brands:{viewBox:["0","0","512","512"],path:"M482.1 32H28.7C5.8 32 0 37.9 0 60.9v390.2C0 474.4 5.8 480 28.7 480h453.4c24.4 0 29.9-5.2 29.9-29.7V62.2c0-24.6-5.4-30.2-29.9-30.2zM178.4 220.3c-27.5-20.2-72.1-8.7-84.2 23.4-4.3 11.1-9.3 9.5-17.5 8.3-9.7-1.5-17.2-3.2-22.5-5.5-28.8-11.4 8.6-55.3 24.9-64.3 41.1-21.4 83.4-22.2 125.3-4.8 40.9 16.8 34.5 59.2 34.5 128.5 2.7 25.8-4.3 58.3 9.3 88.8 1.9 4.4.4 7.9-2.7 10.7-8.4 6.7-39.3 2.2-46.6-7.4-1.9-2.2-1.8-3.6-3.9-6.2-3.6-3.9-7.3-2.2-11.9 1-57.4 36.4-140.3 21.4-147-43.3-3.1-29.3 12.4-57.1 39.6-71 38.2-19.5 112.2-11.8 114-30.9 1.1-10.2-1.9-20.1-11.3-27.3zm286.7 222c0 15.1-11.1 9.9-17.8 9.9H52.4c-7.4 0-18.2 4.8-17.8-10.7.4-13.9 10.5-9.1 17.1-9.1 132.3-.4 264.5-.4 396.8 0 6.8 0 16.6-4.4 16.6 9.9zm3.8-340.5v291c0 5.7-.7 13.9-8.1 13.9-12.4-.4-27.5 7.1-36.1-5.6-5.8-8.7-7.8-4-12.4-1.2-53.4 29.7-128.1 7.1-144.4-85.2-6.1-33.4-.7-67.1 15.7-100 11.8-23.9 56.9-76.1 136.1-30.5v-71c0-26.2-.1-26.2 26-26.2 3.1 0 6.6.4 9.7 0 10.1-.8 13.6 4.4 13.6 14.3-.1.2-.1.3-.1.5zm-51.5 232.3c-19.5 47.6-72.9 43.3-90 5.2-15.1-33.3-15.5-68.2.4-101.5 16.3-34.1 59.7-35.7 81.5-4.8 20.6 28.8 14.9 84.6 8.1 101.1zm-294.8 35.3c-7.5-1.3-33-3.3-33.7-27.8-.4-13.9 7.8-23 19.8-25.8 24.4-5.9 49.3-9.9 73.7-14.7 8.9-2 7.4 4.4 7.8 9.5 1.4 33-26.1 59.2-67.6 58.8z"}}},affiliatetheme:{search:{terms:[]},styles:["brands"],label:"affiliatetheme",svg:{brands:{viewBox:["0","0","512","512"],path:"M159.7 237.4C108.4 308.3 43.1 348.2 14 326.6-15.2 304.9 2.8 230 54.2 159.1c51.3-70.9 116.6-110.8 145.7-89.2 29.1 21.6 11.1 96.6-40.2 167.5zm351.2-57.3C437.1 303.5 319 367.8 246.4 323.7c-25-15.2-41.3-41.2-49-73.8-33.6 64.8-92.8 113.8-164.1 133.2 49.8 59.3 124.1 96.9 207 96.9 150 0 271.6-123.1 271.6-274.9.1-8.5-.3-16.8-1-25z"}}},"air-freshener":{search:{terms:[]},styles:["solid"],label:"Air Freshener",svg:{solid:{viewBox:["0","0","384","512"],path:"M378.94 321.41L284.7 224h49.22c15.3 0 23.66-16.6 13.86-27.53L234.45 69.96c3.43-6.61 5.55-14 5.55-21.96 0-26.51-21.49-48-48-48s-48 21.49-48 48c0 7.96 2.12 15.35 5.55 21.96L36.22 196.47C26.42 207.4 34.78 224 50.08 224H99.3L5.06 321.41C-6.69 333.56 3.34 352 21.7 352H160v32H48c-8.84 0-16 7.16-16 16v96c0 8.84 7.16 16 16 16h288c8.84 0 16-7.16 16-16v-96c0-8.84-7.16-16-16-16H224v-32h138.3c18.36 0 28.39-18.44 16.64-30.59zM192 31.98c8.85 0 16.02 7.17 16.02 16.02 0 8.84-7.17 16.02-16.02 16.02S175.98 56.84 175.98 48c0-8.85 7.17-16.02 16.02-16.02zM304 432v32H80v-32h224z"}}},algolia:{search:{terms:[]},styles:["brands"],label:"Algolia",svg:{brands:{viewBox:["0","0","448","512"],path:"M229.3 182.6c-49.3 0-89.2 39.9-89.2 89.2 0 49.3 39.9 89.2 89.2 89.2s89.2-39.9 89.2-89.2c0-49.3-40-89.2-89.2-89.2zm62.7 56.6l-58.9 30.6c-1.8.9-3.8-.4-3.8-2.3V201c0-1.5 1.3-2.7 2.7-2.6 26.2 1 48.9 15.7 61.1 37.1.7 1.3.2 3-1.1 3.7zM389.1 32H58.9C26.4 32 0 58.4 0 90.9V421c0 32.6 26.4 59 58.9 59H389c32.6 0 58.9-26.4 58.9-58.9V90.9C448 58.4 421.6 32 389.1 32zm-202.6 84.7c0-10.8 8.7-19.5 19.5-19.5h45.3c10.8 0 19.5 8.7 19.5 19.5v15.4c0 1.8-1.7 3-3.3 2.5-12.3-3.4-25.1-5.1-38.1-5.1-13.5 0-26.7 1.8-39.4 5.5-1.7.5-3.4-.8-3.4-2.5v-15.8zm-84.4 37l9.2-9.2c7.6-7.6 19.9-7.6 27.5 0l7.7 7.7c1.1 1.1 1 3-.3 4-6.2 4.5-12.1 9.4-17.6 14.9-5.4 5.4-10.4 11.3-14.8 17.4-1 1.3-2.9 1.5-4 .3l-7.7-7.7c-7.6-7.5-7.6-19.8 0-27.4zm127.2 244.8c-70 0-126.6-56.7-126.6-126.6s56.7-126.6 126.6-126.6c70 0 126.6 56.6 126.6 126.6 0 69.8-56.7 126.6-126.6 126.6z"}}},"align-center":{search:{terms:["middle","text"]},styles:["solid"],label:"align-center",svg:{solid:{viewBox:["0","0","448","512"],path:"M352 44v40c0 8.837-7.163 16-16 16H112c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h224c8.837 0 16 7.163 16 16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm320-200H112c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h224c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-justify":{search:{terms:["text"]},styles:["solid"],label:"align-justify",svg:{solid:{viewBox:["0","0","448","512"],path:"M0 84V44c0-8.837 7.163-16 16-16h416c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16zm16 144h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0-128h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"align-left":{search:{terms:["text"]},styles:["solid"],label:"align-left",svg:{solid:{viewBox:["0","0","448","512"],path:"M288 44v40c0 8.837-7.163 16-16 16H16c-8.837 0-16-7.163-16-16V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16zM0 172v40c0 8.837 7.163 16 16 16h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16zm16 312h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm256-200H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16z"}}},"align-right":{search:{terms:["text"]},styles:["solid"],label:"align-right",svg:{solid:{viewBox:["0","0","448","512"],path:"M160 84V44c0-8.837 7.163-16 16-16h256c8.837 0 16 7.163 16 16v40c0 8.837-7.163 16-16 16H176c-8.837 0-16-7.163-16-16zM16 228h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 256h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm160-128h256c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H176c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},alipay:{search:{terms:[]},styles:["brands"],label:"Alipay",svg:{brands:{viewBox:["0","0","448","512"],path:"M377.74 32H70.26C31.41 32 0 63.41 0 102.26v307.48C0 448.59 31.41 480 70.26 480h307.48c38.52 0 69.76-31.08 70.26-69.6-45.96-25.62-110.59-60.34-171.6-88.44-32.07 43.97-84.14 81-148.62 81-70.59 0-93.73-45.3-97.04-76.37-3.97-39.01 14.88-81.5 99.52-81.5 35.38 0 79.35 10.25 127.13 24.96 16.53-30.09 26.45-60.34 26.45-60.34h-178.2v-16.7h92.08v-31.24H88.28v-19.01h109.44V92.34h50.92v50.42h109.44v19.01H248.63v31.24h88.77s-15.21 46.62-38.35 90.92c48.93 16.7 100.01 36.04 148.62 52.74V102.26C447.83 63.57 416.43 32 377.74 32zM47.28 322.95c.99 20.17 10.25 53.73 69.93 53.73 52.07 0 92.58-39.68 117.87-72.9-44.63-18.68-84.48-31.41-109.44-31.41-67.45 0-79.35 33.06-78.36 50.58z"}}},allergies:{search:{terms:["freckles","hand","intolerances","pox","spots"]},styles:["solid"],label:"Allergies",svg:{solid:{viewBox:["0","0","448","512"],path:"M416 112c-17.6 0-32 14.4-32 32v72c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32s-32 14.4-32 32v152c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V32c0-17.6-14.4-32-32-32s-32 14.4-32 32v184c0 4.4-3.6 8-8 8h-16c-4.4 0-8-3.6-8-8V64c0-17.6-14.4-32-32-32S96 46.4 96 64v241l-23.6-32.5c-13-17.9-38-21.8-55.9-8.8s-21.8 38-8.8 55.9l125.6 172.7c9 12.4 23.5 19.8 38.8 19.8h197.6c22.3 0 41.6-15.3 46.7-37l26.5-112.7c3.2-13.7 4.9-28.3 5.1-42.3V144c0-17.6-14.4-32-32-32zM176 416c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm0-96c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm64 32c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32 64c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm32-128c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16z"}}},amazon:{search:{terms:[]},styles:["brands"],label:"Amazon",svg:{brands:{viewBox:["0","0","448","512"],path:"M257.2 162.7c-48.7 1.8-169.5 15.5-169.5 117.5 0 109.5 138.3 114 183.5 43.2 6.5 10.2 35.4 37.5 45.3 46.8l56.8-56S341 288.9 341 261.4V114.3C341 89 316.5 32 228.7 32 140.7 32 94 87 94 136.3l73.5 6.8c16.3-49.5 54.2-49.5 54.2-49.5 40.7-.1 35.5 29.8 35.5 69.1zm0 86.8c0 80-84.2 68-84.2 17.2 0-47.2 50.5-56.7 84.2-57.8v40.6zm136 163.5c-7.7 10-70 67-174.5 67S34.2 408.5 9.7 379c-6.8-7.7 1-11.3 5.5-8.3C88.5 415.2 203 488.5 387.7 401c7.5-3.7 13.3 2 5.5 12zm39.8 2.2c-6.5 15.8-16 26.8-21.2 31-5.5 4.5-9.5 2.7-6.5-3.8s19.3-46.5 12.7-55c-6.5-8.3-37-4.3-48-3.2-10.8 1-13 2-14-.3-2.3-5.7 21.7-15.5 37.5-17.5 15.7-1.8 41-.8 46 5.7 3.7 5.1 0 27.1-6.5 43.1z"}}},"amazon-pay":{search:{terms:[]},styles:["brands"],label:"Amazon Pay",svg:{brands:{viewBox:["0","0","611.2","512"],path:"M0 325.2c2.3-4.2 5.2-4.9 9.7-2.5 10.4 5.6 20.6 11.4 31.2 16.7 40.7 20.4 83.2 35.6 127.4 46.3 20.9 5 41.9 9 63.2 11.8 31.5 4.2 63.2 6 95 5.2 17.4-.4 34.8-1.8 52.1-3.8 56.4-6.7 110.9-20.8 163.3-42.8 2.9-1.2 5.9-2 9.1-1.2 6.7 1.8 9 9 4.1 13.9-2.8 2.8-6.3 5.1-9.6 7.4-30.7 21.1-64.2 36.4-99.6 47.9-24.6 7.9-49.6 13.8-75.1 17.6-17.6 2.6-35.4 4.4-53.2 4.8-.8 0-1.7.2-2.5.3H294c-.8-.1-1.7-.3-2.5-.3-3.6-.2-7.2-.3-10.7-.4-16.9-.7-33.7-2.6-50.4-5.3-27.4-4.5-54.2-11.4-80.4-20.9-54.1-19.6-102.6-48.6-145.6-87-1.8-1.6-3-3.8-4.4-5.7v-2zM158 65c-1.4.2-2.9.4-4.3.6-14 1.7-26.6 6.9-38 15.1-2.4 1.7-4.6 3.5-7.1 5.4-.2-.5-.4-1-.4-1.4-.4-2.7-.8-5.5-1.3-8.2-.7-4.6-3-6.6-7.6-6.6H87.8c-6.9 0-8.2 1.3-8.2 8.2v209.3c0 1 0 2 .1 3 .2 3 2 4.9 4.9 5 7 .1 14.1.1 21.1 0 2.9 0 4.7-2 5-5 .1-1 .1-2 .1-3V215c1.1.9 1.7 1.4 2.2 1.9 17.9 14.9 38.5 19.8 61 15.4 20.4-4 34.6-16.5 43.8-34.9 7-13.9 9.9-28.7 10.3-44.1.5-17.1-1.2-33.9-8.1-49.8-8.5-19.6-22.6-32.5-43.9-36.9-3.2-.7-6.5-1-9.8-1.5-2.8-.1-5.5-.1-8.3-.1zm-47.4 41.9c0-1.5.4-2.4 1.7-3.3 13.7-9.5 28.8-14.5 45.6-13.2 14.9 1.1 27.1 8.4 33.5 25.9 3.9 10.7 4.9 21.8 4.9 33 0 10.4-.8 20.6-4 30.6-6.8 21.3-22.4 29.4-42.6 28.5-14-.6-26.2-6-37.4-13.9-1.2-.9-1.7-1.7-1.7-3.3.1-14.1 0-28.1 0-42.2 0-14 .1-28 0-42.1zM316.3 65c-1 .1-2 .3-2.9.4-9.8.5-19.4 1.7-28.9 4.1-6.1 1.6-12 3.8-17.9 5.8-3.6 1.2-5.4 3.8-5.3 7.7.1 3.3-.1 6.6 0 9.9.1 4.8 2.1 6.1 6.8 4.9 7.8-2 15.6-4.2 23.5-5.7 12.3-2.3 24.7-3.3 37.2-1.4 6.5 1 12.6 2.9 16.8 8.4 3.7 4.8 5.1 10.5 5.3 16.4.3 8.3.2 16.6.3 24.9 0 .4-.1.9-.2 1.4-.5-.1-.9 0-1.3-.1-10.5-2.5-21.1-4.3-32-4.9-11.3-.6-22.5.1-33.3 3.9-12.9 4.5-23.3 12.3-29.4 24.9-4.7 9.8-5.4 20.2-3.9 30.7 2 14 9 24.8 21.4 31.7 11.9 6.6 24.8 7.4 37.9 5.4 15.1-2.3 28.5-8.7 40.3-18.4.4-.4.9-.7 1.6-1.1.6 3.8 1.1 7.4 1.8 11 .6 3.1 2.5 5.1 5.4 5.2 5.4.1 10.9.1 16.3 0 2.7-.1 4.5-1.9 4.8-4.7.1-.9.1-1.9.1-2.8v-106c0-4.3-.2-8.6-.9-12.9-1.9-12.9-7.4-23.5-19-30.4-6.7-4-14.1-6-21.8-7.1-3.6-.5-7.2-.8-10.8-1.3-3.9.1-7.9.1-11.9.1zm35 127.7c0 1.3-.4 2.2-1.5 3-11.2 8.1-23.5 13.5-37.4 14.9-5.7.6-11.4.4-16.8-1.8-6.3-2.5-10.4-6.9-12.4-13.3s-2-13-.1-19.4c2.5-8.3 8.4-13 16.4-15.6 8.1-2.6 16.5-3 24.8-2.2 8.4.7 16.6 2.3 25 3.4 1.6.2 2.1 1 2.1 2.6-.1 4.8 0 9.5 0 14.3-.1 4.7-.2 9.4-.1 14.1zm259.9 129.4c-1-5-4.8-6.9-9.1-8.3-6.8-2.3-13.9-3.3-21-3.9-13.1-1.1-26.2-.5-39.2 1.9-14.3 2.7-27.9 7.3-40 15.6-1.4 1-2.8 2.1-3.7 3.5-.7 1.1-.9 2.8-.5 4 .4 1.5 2.1 1.9 3.6 1.8.7 0 1.5 0 2.2-.1 7.8-.8 15.5-1.7 23.3-2.5 11.4-1.1 22.9-1.8 34.3-.9 4.8.3 9.7 1.4 14.4 2.7 5.1 1.4 7.4 5.2 7.6 10.4.4 8-1.4 15.7-3.5 23.3-4.1 15.4-10 30.3-15.8 45.1-.4 1-.8 2-1 3-.5 2.9 1.2 4.8 4.1 4.1 1.7-.4 3.6-1.3 4.8-2.5 4.4-4.3 8.9-8.6 12.7-13.4 12.8-16.4 20.3-35.3 24.7-55.6.8-3.6 1.4-7.3 2.1-10.9v-17.3zM479.1 198.9c-12.9-35.7-25.8-71.5-38.7-107.2-2-5.7-4.2-11.3-6.3-16.9-1.1-2.9-3.2-4.8-6.4-4.8-7.6-.1-15.2-.2-22.9-.1-2.5 0-3.7 2-3.2 4.5.5 2.1 1.1 4.1 1.9 6.1 19.6 48.5 39.3 97.1 59.1 145.5 1.7 4.1 2.1 7.6.2 11.8-3.3 7.3-5.9 15-9.3 22.3-3 6.5-8 11.4-15.2 13.3-5.1 1.4-10.2 1.6-15.4 1.1-2.5-.2-5-.8-7.5-1-3.4-.2-5.1 1.3-5.2 4.8-.1 3.3-.1 6.6 0 9.9.1 5.5 2 8 7.4 8.9 5.6 1 11.3 1.9 16.9 2 17.1.4 30.7-6.5 39.5-21.4 3.5-5.9 6.7-12.1 9.2-18.4 23.7-59.8 47.1-119.7 70.6-179.6.7-1.8 1.3-3.6 1.6-5.5.4-2.8-.9-4.4-3.7-4.4-6.6-.1-13.3 0-19.9 0-3.7 0-6.3 1.6-7.7 5.2-.5 1.4-1.1 2.7-1.6 4.1-11.6 33.3-23.2 66.6-34.8 100-2.5 7.2-5.1 14.5-7.7 22.2-.4-1.1-.6-1.7-.9-2.4z"}}},ambulance:{search:{terms:["help","machine","support","vehicle"]},styles:["solid"],label:"ambulance",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 352h-16V243.9c0-12.7-5.1-24.9-14.1-33.9L494 110.1c-9-9-21.2-14.1-33.9-14.1H416V48c0-26.5-21.5-48-48-48H48C21.5 0 0 21.5 0 48v320c0 26.5 21.5 48 48 48h16c0 53 43 96 96 96s96-43 96-96h128c0 53 43 96 96 96s96-43 96-96h48c8.8 0 16-7.2 16-16v-32c0-8.8-7.2-16-16-16zM160 464c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm144-248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48zm176 248c-26.5 0-48-21.5-48-48s21.5-48 48-48 48 21.5 48 48-21.5 48-48 48zm80-208H416V144h44.1l99.9 99.9V256z"}}},"american-sign-language-interpreting":{search:{terms:[]},styles:["solid"],label:"American Sign Language Interpreting",svg:{solid:{viewBox:["0","0","640","512"],path:"M290.547 189.039c-20.295-10.149-44.147-11.199-64.739-3.89 42.606 0 71.208 20.475 85.578 50.576 8.576 17.899-5.148 38.071-23.617 38.071 18.429 0 32.211 20.136 23.617 38.071-14.725 30.846-46.123 50.854-80.298 50.854-.557 0-94.471-8.615-94.471-8.615l-66.406 33.347c-9.384 4.693-19.815.379-23.895-7.781L1.86 290.747c-4.167-8.615-1.111-18.897 6.946-23.621l58.072-33.069L108 159.861c6.39-57.245 34.731-109.767 79.743-146.726 11.391-9.448 28.341-7.781 37.51 3.613 9.446 11.394 7.78 28.067-3.612 37.516-12.503 10.559-23.618 22.509-32.509 35.57 21.672-14.729 46.679-24.732 74.186-28.067 14.725-1.945 28.063 8.336 29.73 23.065 1.945 14.728-8.336 28.067-23.062 29.734-16.116 1.945-31.12 7.503-44.178 15.284 26.114-5.713 58.712-3.138 88.079 11.115 13.336 6.669 18.893 22.509 12.224 35.848-6.389 13.06-22.504 18.617-35.564 12.226zm-27.229 69.472c-6.112-12.505-18.338-20.286-32.231-20.286a35.46 35.46 0 0 0-35.565 35.57c0 21.428 17.808 35.57 35.565 35.57 13.893 0 26.119-7.781 32.231-20.286 4.446-9.449 13.614-15.006 23.339-15.284-9.725-.277-18.893-5.835-23.339-15.284zm374.821-37.237c4.168 8.615 1.111 18.897-6.946 23.621l-58.071 33.069L532 352.16c-6.39 57.245-34.731 109.767-79.743 146.726-10.932 9.112-27.799 8.144-37.51-3.613-9.446-11.394-7.78-28.067 3.613-37.516 12.503-10.559 23.617-22.509 32.508-35.57-21.672 14.729-46.679 24.732-74.186 28.067-10.021 2.506-27.552-5.643-29.73-23.065-1.945-14.728 8.336-28.067 23.062-29.734 16.116-1.946 31.12-7.503 44.178-15.284-26.114 5.713-58.712 3.138-88.079-11.115-13.336-6.669-18.893-22.509-12.224-35.848 6.389-13.061 22.505-18.619 35.565-12.227 20.295 10.149 44.147 11.199 64.739 3.89-42.606 0-71.208-20.475-85.578-50.576-8.576-17.899 5.148-38.071 23.617-38.071-18.429 0-32.211-20.136-23.617-38.071 14.033-29.396 44.039-50.887 81.966-50.854l92.803 8.615 66.406-33.347c9.408-4.704 19.828-.354 23.894 7.781l44.455 88.926zm-229.227-18.618c-13.893 0-26.119 7.781-32.231 20.286-4.446 9.449-13.614 15.006-23.339 15.284 9.725.278 18.893 5.836 23.339 15.284 6.112 12.505 18.338 20.286 32.231 20.286a35.46 35.46 0 0 0 35.565-35.57c0-21.429-17.808-35.57-35.565-35.57z"}}},amilia:{search:{terms:[]},styles:["brands"],label:"Amilia",svg:{brands:{viewBox:["0","0","448","512"],path:"M240.1 32c-61.9 0-131.5 16.9-184.2 55.4-5.1 3.1-9.1 9.2-7.2 19.4 1.1 5.1 5.1 27.4 10.2 39.6 4.1 10.2 14.2 10.2 20.3 6.1 32.5-22.3 96.5-47.7 152.3-47.7 57.9 0 58.9 28.4 58.9 73.1v38.5C203 227.7 78.2 251 46.7 264.2 11.2 280.5 16.3 357.7 16.3 376s15.2 104 124.9 104c47.8 0 113.7-20.7 153.3-42.1v25.4c0 3 2.1 8.2 6.1 9.1 3.1 1 50.7 2 59.9 2s62.5.3 66.5-.7c4.1-1 5.1-6.1 5.1-9.1V168c-.1-80.3-57.9-136-192-136zm-87.9 327.7c0-12.2-3-42.7 18.3-52.9 24.3-13.2 75.1-29.4 119.8-33.5V380c-21.4 13.2-48.7 24.4-79.1 24.4-52.8 0-58.9-33.5-59-44.7"}}},anchor:{search:{terms:["link"]},styles:["solid"],label:"Anchor",svg:{solid:{viewBox:["0","0","576","512"],path:"M12.971 352h32.394C67.172 454.735 181.944 512 288 512c106.229 0 220.853-57.38 242.635-160h32.394c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0l-67.029 67.029c-7.56 7.56-2.206 20.485 8.485 20.485h35.146c-20.29 54.317-84.963 86.588-144.117 94.015V256h52c6.627 0 12-5.373 12-12v-40c0-6.627-5.373-12-12-12h-52v-5.47c37.281-13.178 63.995-48.725 64-90.518C384.005 43.772 341.605.738 289.37.01 235.723-.739 192 42.525 192 96c0 41.798 26.716 77.35 64 90.53V192h-52c-6.627 0-12 5.373-12 12v40c0 6.627 5.373 12 12 12h52v190.015c-58.936-7.399-123.82-39.679-144.117-94.015h35.146c10.691 0 16.045-12.926 8.485-20.485l-67.029-67.029c-4.686-4.686-12.284-4.686-16.971 0L4.485 331.515C-3.074 339.074 2.28 352 12.971 352zM288 64c17.645 0 32 14.355 32 32s-14.355 32-32 32-32-14.355-32-32 14.355-32 32-32z"}}},android:{search:{terms:["robot"]},styles:["brands"],label:"Android",svg:{brands:{viewBox:["0","0","448","512"],path:"M89.6 204.5v115.8c0 15.4-12.1 27.7-27.5 27.7-15.3 0-30.1-12.4-30.1-27.7V204.5c0-15.1 14.8-27.5 30.1-27.5 15.1 0 27.5 12.4 27.5 27.5zm10.8 157c0 16.4 13.2 29.6 29.6 29.6h19.9l.3 61.1c0 36.9 55.2 36.6 55.2 0v-61.1h37.2v61.1c0 36.7 55.5 36.8 55.5 0v-61.1h20.2c16.2 0 29.4-13.2 29.4-29.6V182.1H100.4v179.4zm248-189.1H99.3c0-42.8 25.6-80 63.6-99.4l-19.1-35.3c-2.8-4.9 4.3-8 6.7-3.8l19.4 35.6c34.9-15.5 75-14.7 108.3 0L297.5 34c2.5-4.3 9.5-1.1 6.7 3.8L285.1 73c37.7 19.4 63.3 56.6 63.3 99.4zm-170.7-55.5c0-5.7-4.6-10.5-10.5-10.5-5.7 0-10.2 4.8-10.2 10.5s4.6 10.5 10.2 10.5c5.9 0 10.5-4.8 10.5-10.5zm113.4 0c0-5.7-4.6-10.5-10.2-10.5-5.9 0-10.5 4.8-10.5 10.5s4.6 10.5 10.5 10.5c5.6 0 10.2-4.8 10.2-10.5zm94.8 60.1c-15.1 0-27.5 12.1-27.5 27.5v115.8c0 15.4 12.4 27.7 27.5 27.7 15.4 0 30.1-12.4 30.1-27.7V204.5c0-15.4-14.8-27.5-30.1-27.5z"}}},angellist:{search:{terms:[]},styles:["brands"],label:"AngelList",svg:{brands:{viewBox:["0","0","448","512"],path:"M347.1 215.4c11.7-32.6 45.4-126.9 45.4-157.1 0-26.6-15.7-48.9-43.7-48.9-44.6 0-84.6 131.7-97.1 163.1C242 144 196.6 0 156.6 0c-31.1 0-45.7 22.9-45.7 51.7 0 35.3 34.2 126.8 46.6 162-6.3-2.3-13.1-4.3-20-4.3-23.4 0-48.3 29.1-48.3 52.6 0 8.9 4.9 21.4 8 29.7-36.9 10-51.1 34.6-51.1 71.7C46 435.6 114.4 512 210.6 512c118 0 191.4-88.6 191.4-202.9 0-43.1-6.9-82-54.9-93.7zM311.7 108c4-12.3 21.1-64.3 37.1-64.3 8.6 0 10.9 8.9 10.9 16 0 19.1-38.6 124.6-47.1 148l-34-6 33.1-93.7zM142.3 48.3c0-11.9 14.5-45.7 46.3 47.1l34.6 100.3c-15.6-1.3-27.7-3-35.4 1.4-10.9-28.8-45.5-119.7-45.5-148.8zM140 244c29.3 0 67.1 94.6 67.1 107.4 0 5.1-4.9 11.4-10.6 11.4-20.9 0-76.9-76.9-76.9-97.7.1-7.7 12.7-21.1 20.4-21.1zm184.3 186.3c-29.1 32-66.3 48.6-109.7 48.6-59.4 0-106.3-32.6-128.9-88.3-17.1-43.4 3.8-68.3 20.6-68.3 11.4 0 54.3 60.3 54.3 73.1 0 4.9-7.7 8.3-11.7 8.3-16.1 0-22.4-15.5-51.1-51.4-29.7 29.7 20.5 86.9 58.3 86.9 26.1 0 43.1-24.2 38-42 3.7 0 8.3.3 11.7-.6 1.1 27.1 9.1 59.4 41.7 61.7 0-.9 2-7.1 2-7.4 0-17.4-10.6-32.6-10.6-50.3 0-28.3 21.7-55.7 43.7-71.7 8-6 17.7-9.7 27.1-13.1 9.7-3.7 20-8 27.4-15.4-1.1-11.2-5.7-21.1-16.9-21.1-27.7 0-120.6 4-120.6-39.7 0-6.7.1-13.1 17.4-13.1 32.3 0 114.3 8 138.3 29.1 18.1 16.1 24.3 113.2-31 174.7zm-98.6-126c9.7 3.1 19.7 4 29.7 6-7.4 5.4-14 12-20.3 19.1-2.8-8.5-6.2-16.8-9.4-25.1z"}}},"angle-double-down":{search:{terms:["arrows"]},styles:["solid"],label:"Angle Double Down",svg:{solid:{viewBox:["0","0","320","512"],path:"M143 256.3L7 120.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0L313 86.3c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.4 9.5-24.6 9.5-34 .1zm34 192l136-136c9.4-9.4 9.4-24.6 0-33.9l-22.6-22.6c-9.4-9.4-24.6-9.4-33.9 0L160 352.1l-96.4-96.4c-9.4-9.4-24.6-9.4-33.9 0L7 278.3c-9.4 9.4-9.4 24.6 0 33.9l136 136c9.4 9.5 24.6 9.5 34 .1z"}}},"angle-double-left":{search:{terms:["arrows","back","laquo","previous","quote"]},styles:["solid"],label:"Angle Double Left",svg:{solid:{viewBox:["0","0","448","512"],path:"M223.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L319.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L393.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34zm-192 34l136 136c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9L127.9 256l96.4-96.4c9.4-9.4 9.4-24.6 0-33.9L201.7 103c-9.4-9.4-24.6-9.4-33.9 0l-136 136c-9.5 9.4-9.5 24.6-.1 34z"}}},"angle-double-right":{search:{terms:["arrows","forward","next","quote","raquo"]},styles:["solid"],label:"Angle Double Right",svg:{solid:{viewBox:["0","0","448","512"],path:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34zm192-34l-136-136c-9.4-9.4-24.6-9.4-33.9 0l-22.6 22.6c-9.4 9.4-9.4 24.6 0 33.9l96.4 96.4-96.4 96.4c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l136-136c9.4-9.2 9.4-24.4 0-33.8z"}}},"angle-double-up":{search:{terms:["arrows"]},styles:["solid"],label:"Angle Double Up",svg:{solid:{viewBox:["0","0","320","512"],path:"M177 255.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 351.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 425.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1zm-34-192L7 199.7c-9.4 9.4-9.4 24.6 0 33.9l22.6 22.6c9.4 9.4 24.6 9.4 33.9 0l96.4-96.4 96.4 96.4c9.4 9.4 24.6 9.4 33.9 0l22.6-22.6c9.4-9.4 9.4-24.6 0-33.9l-136-136c-9.2-9.4-24.4-9.4-33.8 0z"}}},"angle-down":{search:{terms:["arrow"]},styles:["solid"],label:"angle-down",svg:{solid:{viewBox:["0","0","320","512"],path:"M143 352.3L7 216.3c-9.4-9.4-9.4-24.6 0-33.9l22.6-22.6c9.4-9.4 24.6-9.4 33.9 0l96.4 96.4 96.4-96.4c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9l-136 136c-9.2 9.4-24.4 9.4-33.8 0z"}}},"angle-left":{search:{terms:["arrow","back","previous"]},styles:["solid"],label:"angle-left",svg:{solid:{viewBox:["0","0","256","512"],path:"M31.7 239l136-136c9.4-9.4 24.6-9.4 33.9 0l22.6 22.6c9.4 9.4 9.4 24.6 0 33.9L127.9 256l96.4 96.4c9.4 9.4 9.4 24.6 0 33.9L201.7 409c-9.4 9.4-24.6 9.4-33.9 0l-136-136c-9.5-9.4-9.5-24.6-.1-34z"}}},"angle-right":{search:{terms:["arrow","forward","next"]},styles:["solid"],label:"angle-right",svg:{solid:{viewBox:["0","0","256","512"],path:"M224.3 273l-136 136c-9.4 9.4-24.6 9.4-33.9 0l-22.6-22.6c-9.4-9.4-9.4-24.6 0-33.9l96.4-96.4-96.4-96.4c-9.4-9.4-9.4-24.6 0-33.9L54.3 103c9.4-9.4 24.6-9.4 33.9 0l136 136c9.5 9.4 9.5 24.6.1 34z"}}},"angle-up":{search:{terms:["arrow"]},styles:["solid"],label:"angle-up",svg:{solid:{viewBox:["0","0","320","512"],path:"M177 159.7l136 136c9.4 9.4 9.4 24.6 0 33.9l-22.6 22.6c-9.4 9.4-24.6 9.4-33.9 0L160 255.9l-96.4 96.4c-9.4 9.4-24.6 9.4-33.9 0L7 329.7c-9.4-9.4-9.4-24.6 0-33.9l136-136c9.4-9.5 24.6-9.5 34-.1z"}}},angry:{search:{terms:["disapprove","emoticon","face","mad","upset"]},styles:["solid","regular"],label:"Angry Face",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM136 240c0-9.3 4.1-17.5 10.5-23.4l-31-9.3c-8.5-2.5-13.3-11.5-10.7-19.9 2.5-8.5 11.4-13.2 19.9-10.7l80 24c8.5 2.5 13.3 11.5 10.7 19.9-2.1 6.9-8.4 11.4-15.3 11.4-.5 0-1.1-.2-1.7-.2.7 2.7 1.7 5.3 1.7 8.2 0 17.7-14.3 32-32 32S136 257.7 136 240zm168 154.2c-27.8-33.4-84.2-33.4-112.1 0-13.5 16.3-38.2-4.2-24.6-20.5 20-24 49.4-37.8 80.6-37.8s60.6 13.8 80.6 37.8c13.8 16.5-11.1 36.6-24.5 20.5zm76.6-186.9l-31 9.3c6.3 5.8 10.5 14.1 10.5 23.4 0 17.7-14.3 32-32 32s-32-14.3-32-32c0-2.9.9-5.6 1.7-8.2-.6.1-1.1.2-1.7.2-6.9 0-13.2-4.5-15.3-11.4-2.5-8.5 2.3-17.4 10.7-19.9l80-24c8.4-2.5 17.4 2.3 19.9 10.7 2.5 8.5-2.3 17.4-10.8 19.9z"},regular:{last_modified:1529520111607,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"/></svg>',viewBox:["0","0","496","512"],width:496,height:512,path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm0 448c-110.3 0-200-89.7-200-200S137.7 56 248 56s200 89.7 200 200-89.7 200-200 200zm0-144c-33.6 0-65.2 14.8-86.8 40.6-8.5 10.2-7.1 25.3 3.1 33.8s25.3 7.2 33.8-3c24.8-29.7 75-29.7 99.8 0 8.1 9.7 23.2 11.9 33.8 3 10.2-8.5 11.5-23.6 3.1-33.8-21.6-25.8-53.2-40.6-86.8-40.6zm-48-72c10.3 0 19.9-6.7 23-17.1 3.8-12.7-3.4-26.1-16.1-29.9l-80-24c-12.8-3.9-26.1 3.4-29.9 16.1-3.8 12.7 3.4 26.1 16.1 29.9l28.2 8.5c-3.1 4.9-5.3 10.4-5.3 16.6 0 17.7 14.3 32 32 32s32-14.4 32-32.1zm199-54.9c-3.8-12.7-17.1-19.9-29.9-16.1l-80 24c-12.7 3.8-19.9 17.2-16.1 29.9 3.1 10.4 12.7 17.1 23 17.1 0 17.7 14.3 32 32 32s32-14.3 32-32c0-6.2-2.2-11.7-5.3-16.6l28.2-8.5c12.7-3.7 19.9-17.1 16.1-29.8z"}}},angrycreative:{search:{terms:[]},styles:["brands"],label:"Angry Creative",svg:{brands:{viewBox:["0","0","640","512"],path:"M640 238.2l-3.2 28.2-34.5 2.3-2 18.1 34.5-2.3-3.2 28.2-34.4 2.2-2.3 20.1 34.4-2.2-3 26.1-64.7 4.1 12.7-113.2L527 365.2l-31.9 2-23.8-117.8 30.3-2 13.6 79.4 31.7-82.4 93.1-6.2zM426.8 371.5l28.3-1.8L468 249.6l-28.4 1.9-12.8 120zM162 388.1l-19.4-36-3.5 37.4-28.2 1.7 2.7-29.1c-11 18-32 34.3-56.9 35.8C23.9 399.9-3 377 .3 339.7c2.6-29.3 26.7-62.8 67.5-65.4 37.7-2.4 47.6 23.2 51.3 28.8l2.8-30.8 38.9-2.5c20.1-1.3 38.7 3.7 42.5 23.7l2.6-26.6 64.8-4.2-2.7 27.9-36.4 2.4-1.7 17.9 36.4-2.3-2.7 27.9-36.4 2.3-1.9 19.9 36.3-2.3-2.1 20.8 55-117.2 23.8-1.6L370.4 369l8.9-85.6-22.3 1.4 2.9-27.9 75-4.9-3 28-24.3 1.6-9.7 91.9-58 3.7-4.3-15.6-39.4 2.5-8 16.3-126.2 7.7zm-44.3-70.2l-26.4 1.7C84.6 307.2 76.9 303 65 303.8c-19 1.2-33.3 17.5-34.6 33.3-1.4 16 7.3 32.5 28.7 31.2 12.8-.8 21.3-8.6 28.9-18.9l27-1.7 2.7-29.8zm56.1-7.7c1.2-12.9-7.6-13.6-26.1-12.4l-2.7 28.5c14.2-.9 27.5-2.1 28.8-16.1zm21.1 70.8l5.8-60c-5 13.5-14.7 21.1-27.9 26.6l22.1 33.4zm135.4-45l-7.9-37.8-15.8 39.3 23.7-1.5zm-170.1-74.6l-4.3-17.5-39.6 2.6-8.1 18.2-31.9 2.1 57-121.9 23.9-1.6 30.7 102 9.9-104.7 27-1.8 37.8 63.6 6.5-66.6 28.5-1.9-4 41.2c7.4-13.5 22.9-44.7 63.6-47.5 40.5-2.8 52.4 29.3 53.4 30.3l3.3-32 39.3-2.7c12.7-.9 27.8.3 36.3 9.7l-4.4-11.9 32.2-2.2 12.9 43.2 23-45.7 31-2.2-43.6 78.4-4.8 44.3-28.4 1.9 4.8-44.3-15.8-43c1 22.3-9.2 40.1-32 49.6l25.2 38.8-36.4 2.4-19.2-36.8-4 38.3-28.4 1.9 3.3-31.5c-6.7 9.3-19.7 35.4-59.6 38-26.2 1.7-45.6-10.3-55.4-39.2l-4 40.3-25 1.6-37.6-63.3-6.3 66.2-56.8 3.7zm276.6-82.1c10.2-.7 17.5-2.1 21.6-4.3 4.5-2.4 7-6.4 7.6-12.1.6-5.3-.6-8.8-3.4-10.4-3.6-2.1-10.6-2.8-22.9-2l-2.9 28.8zM327.7 214c5.6 5.9 12.7 8.5 21.3 7.9 4.7-.3 9.1-1.8 13.3-4.1 5.5-3 10.6-8 15.1-14.3l-34.2 2.3 2.4-23.9 63.1-4.3 1.2-12-31.2 2.1c-4.1-3.7-7.8-6.6-11.1-8.1-4-1.7-8.1-2.8-12.2-2.5-8 .5-15.3 3.6-22 9.2-7.7 6.4-12 14.5-12.9 24.4-1.1 9.6 1.4 17.3 7.2 23.3zm-201.3 8.2l23.8-1.6-8.3-37.6-15.5 39.2z"}}},angular:{search:{terms:[]},styles:["brands"],label:"Angular",svg:{brands:{viewBox:["0","0","415.6","512"],path:"M169.7 268.1h76.2l-38.1-91.6-38.1 91.6zM207.8 32L0 106.4l31.8 275.7 176 97.9 176-97.9 31.8-275.7L207.8 32zM338 373.8h-48.6l-26.2-65.4H152.6l-26.2 65.4H77.7L207.8 81.5 338 373.8z"}}},ankh:{search:{terms:["amulet","copper","coptic christianity","copts","crux ansata","egyptian","venus"]},styles:["solid"],label:"Ankh",svg:{solid:{viewBox:["0","0","320","512"],path:"M296 256h-44.62C272.46 222.01 288 181.65 288 144 288 55.63 230.69 0 160 0S32 55.63 32 144c0 37.65 15.54 78.01 36.62 112H24c-13.25 0-24 10.74-24 24v32c0 13.25 10.75 24 24 24h96v152c0 13.25 10.75 24 24 24h32c13.25 0 24-10.75 24-24V336h96c13.25 0 24-10.75 24-24v-32c0-13.26-10.75-24-24-24zM160 80c29.61 0 48 24.52 48 64 0 34.66-27.14 78.14-48 100.87-20.86-22.72-48-66.21-48-100.87 0-39.48 18.39-64 48-64z"}}},"app-store":{search:{terms:[]},styles:["brands"],label:"App Store",svg:{brands:{viewBox:["0","0","512","512"],path:"M255.9 120.9l9.1-15.7c5.6-9.8 18.1-13.1 27.9-7.5 9.8 5.6 13.1 18.1 7.5 27.9l-87.5 151.5h63.3c20.5 0 32 24.1 23.1 40.8H113.8c-11.3 0-20.4-9.1-20.4-20.4 0-11.3 9.1-20.4 20.4-20.4h52l66.6-115.4-20.8-36.1c-5.6-9.8-2.3-22.2 7.5-27.9 9.8-5.6 22.2-2.3 27.9 7.5l8.9 15.7zm-78.7 218l-19.6 34c-5.6 9.8-18.1 13.1-27.9 7.5-9.8-5.6-13.1-18.1-7.5-27.9l14.6-25.2c16.4-5.1 29.8-1.2 40.4 11.6zm168.9-61.7h53.1c11.3 0 20.4 9.1 20.4 20.4 0 11.3-9.1 20.4-20.4 20.4h-29.5l19.9 34.5c5.6 9.8 2.3 22.2-7.5 27.9-9.8 5.6-22.2 2.3-27.9-7.5-33.5-58.1-58.7-101.6-75.4-130.6-17.1-29.5-4.9-59.1 7.2-69.1 13.4 23 33.4 57.7 60.1 104zM256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm216 248c0 118.7-96.1 216-216 216-118.7 0-216-96.1-216-216 0-118.7 96.1-216 216-216 118.7 0 216 96.1 216 216z"}}},"app-store-ios":{search:{terms:[]},styles:["brands"],label:"iOS App Store",svg:{brands:{viewBox:["0","0","448","512"],path:"M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM127 384.5c-5.5 9.6-17.8 12.8-27.3 7.3-9.6-5.5-12.8-17.8-7.3-27.3l14.3-24.7c16.1-4.9 29.3-1.1 39.6 11.4L127 384.5zm138.9-53.9H84c-11 0-20-9-20-20s9-20 20-20h51l65.4-113.2-20.5-35.4c-5.5-9.6-2.2-21.8 7.3-27.3 9.6-5.5 21.8-2.2 27.3 7.3l8.9 15.4 8.9-15.4c5.5-9.6 17.8-12.8 27.3-7.3 9.6 5.5 12.8 17.8 7.3 27.3l-85.8 148.6h62.1c20.2 0 31.5 23.7 22.7 40zm98.1 0h-29l19.6 33.9c5.5 9.6 2.2 21.8-7.3 27.3-9.6 5.5-21.8 2.2-27.3-7.3-32.9-56.9-57.5-99.7-74-128.1-16.7-29-4.8-58 7.1-67.8 13.1 22.7 32.7 56.7 58.9 102h52c11 0 20 9 20 20 0 11.1-9 20-20 20z"}}},apper:{search:{terms:[]},styles:["brands"],label:"Apper Systems AB",svg:{brands:{viewBox:["0","0","640","512"],path:"M42.1 239.1c22.2 0 29 2.8 33.5 14.6h.8v-22.9c0-11.3-4.8-15.4-17.9-15.4-11.3 0-14.4 2.5-15.1 12.8H4.8c.3-13.9 1.5-19.1 5.8-24.4C17.9 195 29.5 192 56.7 192c33 0 47.1 5 53.9 18.9 2 4.3 4 15.6 4 23.7v76.3H76.3l1.3-19.1h-1c-5.3 15.6-13.6 20.4-35.5 20.4-30.3 0-41.1-10.1-41.1-37.3 0-25.2 12.3-35.8 42.1-35.8zm17.1 48.1c13.1 0 16.9-3 16.9-13.4 0-9.1-4.3-11.6-19.6-11.6-13.1 0-17.9 3-17.9 12.1-.1 10.4 3.7 12.9 20.6 12.9zm77.8-94.9h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.2 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3H137v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm57.9-60.7h38.3l-1.5 20.6h.8c9.1-17.1 15.9-20.9 37.5-20.9 14.4 0 24.7 3 31.5 9.1 9.8 8.6 12.8 20.4 12.8 48.1 0 30-3 43.1-12.1 52.9-6.8 7.3-16.4 10.1-33.3 10.1-20.4 0-29.2-5.5-33.8-21.2h-.8v70.3h-39.5v-169zm80.9 60.7c0-27.5-3.3-32.5-20.7-32.5-16.9 0-20.7 5-20.7 28.7 0 28 3.5 33.5 21.2 33.5 16.4 0 20.2-5.6 20.2-29.7zm53.8-3.8c0-25.4 3.3-37.8 12.3-45.8 8.8-8.1 22.2-11.3 45.1-11.3 42.8 0 55.7 12.8 55.7 55.7v11.1h-75.3c-.3 2-.3 4-.3 4.8 0 16.9 4.5 21.9 20.1 21.9 13.9 0 17.9-3 17.9-13.9h37.5v2.3c0 9.8-2.5 18.9-6.8 24.7-7.3 9.8-19.6 13.6-44.3 13.6-27.5 0-41.6-3.3-50.6-12.3-8.5-8.5-11.3-21.3-11.3-50.8zm76.4-11.6c-.3-1.8-.3-3.3-.3-3.8 0-12.3-3.3-14.6-19.6-14.6-14.4 0-17.1 3-18.1 15.1l-.3 3.3h38.3zm55.6-45.3h38.3l-1.8 19.9h.7c6.8-14.9 14.4-20.2 29.7-20.2 10.8 0 19.1 3.3 23.4 9.3 5.3 7.3 6.8 14.4 6.8 34 0 1.5 0 5 .2 9.3h-35c.3-1.8.3-3.3.3-4 0-15.4-2-19.4-10.3-19.4-6.3 0-10.8 3.3-13.1 9.3-1 3-1 4.3-1 12.3v68h-38.3V192.3z"}}},apple:{search:{terms:["food","fruit","mac","osx"]},styles:["brands"],label:"Apple",svg:{brands:{viewBox:["0","0","376.5","512"],path:"M314.7 268.7c-.2-36.7 16.4-64.4 50-84.8-18.8-26.9-47.2-41.7-84.7-44.6-35.5-2.8-74.3 20.7-88.5 20.7-15 0-49.4-19.7-76.4-19.7C59.3 141.2 0 184.8 0 273.5c0 26.2 4.8 53.3 14.4 81.2 12.8 36.7 59 126.7 107.2 125.2 25.2-.6 43-17.9 75.8-17.9 31.8 0 48.3 17.9 76.4 17.9 48.6-.7 90.4-82.5 102.6-119.3-65.2-30.7-61.7-90-61.7-91.9zm-56.6-164.2c27.3-32.4 24.8-61.9 24-72.5-24.1 1.4-52 16.4-67.9 34.9-17.5 19.8-27.8 44.3-25.6 71.9 26.1 2 49.9-11.4 69.5-34.3z"}}},"apple-alt":{search:{terms:["fall","food","fruit","fuji","macintosh","seasonal"]},styles:["solid"],label:"Fruit Apple",svg:{solid:{viewBox:["0","0","448","512"],path:"M350.85 129c25.97 4.67 47.27 18.67 63.92 42 14.65 20.67 24.64 46.67 29.96 78 4.67 28.67 4.32 57.33-1 86-7.99 47.33-23.97 87-47.94 119-28.64 38.67-64.59 58-107.87 58-10.66 0-22.3-3.33-34.96-10-8.66-5.33-18.31-8-28.97-8s-20.3 2.67-28.97 8c-12.66 6.67-24.3 10-34.96 10-43.28 0-79.23-19.33-107.87-58-23.97-32-39.95-71.67-47.94-119-5.32-28.67-5.67-57.33-1-86 5.32-31.33 15.31-57.33 29.96-78 16.65-23.33 37.95-37.33 63.92-42 15.98-2.67 37.95-.33 65.92 7 23.97 6.67 44.28 14.67 60.93 24 16.65-9.33 36.96-17.33 60.93-24 27.98-7.33 49.96-9.67 65.94-7zm-54.94-41c-9.32 8.67-21.65 15-36.96 19-10.66 3.33-22.3 5-34.96 5l-14.98-1c-1.33-9.33-1.33-20 0-32 2.67-24 10.32-42.33 22.97-55 9.32-8.67 21.65-15 36.96-19 10.66-3.33 22.3-5 34.96-5l14.98 1 1 15c0 12.67-1.67 24.33-4.99 35-3.99 15.33-10.31 27.67-18.98 37z"}}},"apple-pay":{search:{terms:[]},styles:["brands"],label:"Apple Pay",svg:{brands:{viewBox:["0","0","640","512"],path:"M116.9 158.5c-7.5 8.9-19.5 15.9-31.5 14.9-1.5-12 4.4-24.8 11.3-32.6 7.5-9.1 20.6-15.6 31.3-16.1 1.2 12.4-3.7 24.7-11.1 33.8m10.9 17.2c-17.4-1-32.3 9.9-40.5 9.9-8.4 0-21-9.4-34.8-9.1-17.9.3-34.5 10.4-43.6 26.5-18.8 32.3-4.9 80 13.3 106.3 8.9 13 19.5 27.3 33.5 26.8 13.3-.5 18.5-8.6 34.5-8.6 16.1 0 20.8 8.6 34.8 8.4 14.5-.3 23.6-13 32.5-26 10.1-14.8 14.3-29.1 14.5-29.9-.3-.3-28-10.9-28.3-42.9-.3-26.8 21.9-39.5 22.9-40.3-12.5-18.6-32-20.6-38.8-21.1m100.4-36.2v194.9h30.3v-66.6h41.9c38.3 0 65.1-26.3 65.1-64.3s-26.4-64-64.1-64h-73.2zm30.3 25.5h34.9c26.3 0 41.3 14 41.3 38.6s-15 38.8-41.4 38.8h-34.8V165zm162.2 170.9c19 0 36.6-9.6 44.6-24.9h.6v23.4h28v-97c0-28.1-22.5-46.3-57.1-46.3-32.1 0-55.9 18.4-56.8 43.6h27.3c2.3-12 13.4-19.9 28.6-19.9 18.5 0 28.9 8.6 28.9 24.5v10.8l-37.8 2.3c-35.1 2.1-54.1 16.5-54.1 41.5.1 25.2 19.7 42 47.8 42zm8.2-23.1c-16.1 0-26.4-7.8-26.4-19.6 0-12.3 9.9-19.4 28.8-20.5l33.6-2.1v11c0 18.2-15.5 31.2-36 31.2zm102.5 74.6c29.5 0 43.4-11.3 55.5-45.4L640 193h-30.8l-35.6 115.1h-.6L537.4 193h-31.6L557 334.9l-2.8 8.6c-4.6 14.6-12.1 20.3-25.5 20.3-2.4 0-7-.3-8.9-.5v23.4c1.8.4 9.3.7 11.6.7z"}}},archive:{search:{terms:["box","package","storage"]},styles:["solid"],label:"Archive",svg:{solid:{viewBox:["0","0","512","512"],path:"M32 448c0 17.7 14.3 32 32 32h384c17.7 0 32-14.3 32-32V160H32v288zm160-212c0-6.6 5.4-12 12-12h104c6.6 0 12 5.4 12 12v8c0 6.6-5.4 12-12 12H204c-6.6 0-12-5.4-12-12v-8zM480 32H32C14.3 32 0 46.3 0 64v48c0 8.8 7.2 16 16 16h480c8.8 0 16-7.2 16-16V64c0-17.7-14.3-32-32-32z"}}},archway:{search:{terms:["arc","monument","road","street"]},styles:["solid"],label:"Archway",svg:{solid:{viewBox:["0","0","576","512"],path:"M560 448h-16V96H32v352H16.02c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16H176c8.84 0 16-7.16 16-16V320c0-53.02 42.98-96 96-96s96 42.98 96 96l.02 160v16c0 8.84 7.16 16 16 16H560c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm0-448H16C7.16 0 0 7.16 0 16v32c0 8.84 7.16 16 16 16h544c8.84 0 16-7.16 16-16V16c0-8.84-7.16-16-16-16z"}}},"arrow-alt-circle-down":{search:{terms:["arrow-circle-o-down","download"]},styles:["solid","regular"],label:"Alternate Arrow Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM212 140v116h-70.9c-10.7 0-16.1 13-8.5 20.5l114.9 114.3c4.7 4.7 12.2 4.7 16.9 0l114.9-114.3c7.6-7.6 2.2-20.5-8.5-20.5H300V140c0-6.6-5.4-12-12-12h-64c-6.6 0-12 5.4-12 12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm-32-316v116h-67c-10.7 0-16 12.9-8.5 20.5l99 99c4.7 4.7 12.3 4.7 17 0l99-99c7.6-7.6 2.2-20.5-8.5-20.5h-67V140c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12z"}}},"arrow-alt-circle-left":{search:{terms:["arrow-circle-o-left","back","previous"]},styles:["solid","regular"],label:"Alternate Arrow Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm116-292H256v-70.9c0-10.7-13-16.1-20.5-8.5L121.2 247.5c-4.7 4.7-4.7 12.2 0 16.9l114.3 114.9c7.6 7.6 20.5 2.2 20.5-8.5V300h116c6.6 0 12-5.4 12-12v-64c0-6.6-5.4-12-12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M8 256c0 137 111 248 248 248s248-111 248-248S393 8 256 8 8 119 8 256zm448 0c0 110.5-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56s200 89.5 200 200zm-72-20v40c0 6.6-5.4 12-12 12H256v67c0 10.7-12.9 16-20.5 8.5l-99-99c-4.7-4.7-4.7-12.3 0-17l99-99c7.6-7.6 20.5-2.2 20.5 8.5v67h116c6.6 0 12 5.4 12 12z"}}},"arrow-alt-circle-right":{search:{terms:["arrow-circle-o-right","forward","next"]},styles:["solid","regular"],label:"Alternate Arrow Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zM140 300h116v70.9c0 10.7 13 16.1 20.5 8.5l114.3-114.9c4.7-4.7 4.7-12.2 0-16.9l-114.3-115c-7.6-7.6-20.5-2.2-20.5 8.5V212H140c-6.6 0-12 5.4-12 12v64c0 6.6 5.4 12 12 12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M504 256C504 119 393 8 256 8S8 119 8 256s111 248 248 248 248-111 248-248zm-448 0c0-110.5 89.5-200 200-200s200 89.5 200 200-89.5 200-200 200S56 366.5 56 256zm72 20v-40c0-6.6 5.4-12 12-12h116v-67c0-10.7 12.9-16 20.5-8.5l99 99c4.7 4.7 4.7 12.3 0 17l-99 99c-7.6 7.6-20.5 2.2-20.5-8.5v-67H140c-6.6 0-12-5.4-12-12z"}}},"arrow-alt-circle-up":{search:{terms:["arrow-circle-o-up"]},styles:["solid","regular"],label:"Alternate Arrow Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm292 116V256h70.9c10.7 0 16.1-13 8.5-20.5L264.5 121.2c-4.7-4.7-12.2-4.7-16.9 0l-115 114.3c-7.6 7.6-2.2 20.5 8.5 20.5H212v116c0 6.6 5.4 12 12 12h64c6.6 0 12-5.4 12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 504c137 0 248-111 248-248S393 8 256 8 8 119 8 256s111 248 248 248zm0-448c110.5 0 200 89.5 200 200s-89.5 200-200 200S56 366.5 56 256 145.5 56 256 56zm20 328h-40c-6.6 0-12-5.4-12-12V256h-67c-10.7 0-16-12.9-8.5-20.5l99-99c4.7-4.7 12.3-4.7 17 0l99 99c7.6 7.6 2.2 20.5-8.5 20.5h-67v116c0 6.6-5.4 12-12 12z"}}},"arrow-circle-down":{search:{terms:["download"]},styles:["solid"],label:"Arrow Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zm-143.6-28.9L288 302.6V120c0-13.3-10.7-24-24-24h-16c-13.3 0-24 10.7-24 24v182.6l-72.4-75.5c-9.3-9.7-24.8-9.9-34.3-.4l-10.9 11c-9.4 9.4-9.4 24.6 0 33.9L239 404.3c9.4 9.4 24.6 9.4 33.9 0l132.7-132.7c9.4-9.4 9.4-24.6 0-33.9l-10.9-11c-9.5-9.5-25-9.3-34.3.4z"}}},"arrow-circle-left":{search:{terms:["back","previous"]},styles:["solid"],label:"Arrow Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zm28.9-143.6L209.4 288H392c13.3 0 24-10.7 24-24v-16c0-13.3-10.7-24-24-24H209.4l75.5-72.4c9.7-9.3 9.9-24.8.4-34.3l-11-10.9c-9.4-9.4-24.6-9.4-33.9 0L107.7 239c-9.4 9.4-9.4 24.6 0 33.9l132.7 132.7c9.4 9.4 24.6 9.4 33.9 0l11-10.9c9.5-9.5 9.3-25-.4-34.3z"}}},"arrow-circle-right":{search:{terms:["forward","next"]},styles:["solid"],label:"Arrow Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm-28.9 143.6l75.5 72.4H120c-13.3 0-24 10.7-24 24v16c0 13.3 10.7 24 24 24h182.6l-75.5 72.4c-9.7 9.3-9.9 24.8-.4 34.3l11 10.9c9.4 9.4 24.6 9.4 33.9 0L404.3 273c9.4-9.4 9.4-24.6 0-33.9L271.6 106.3c-9.4-9.4-24.6-9.4-33.9 0l-11 10.9c-9.5 9.6-9.3 25.1.4 34.4z"}}},"arrow-circle-up":{search:{terms:[]},styles:["solid"],label:"Arrow Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm143.6 28.9l72.4-75.5V392c0 13.3 10.7 24 24 24h16c13.3 0 24-10.7 24-24V209.4l72.4 75.5c9.3 9.7 24.8 9.9 34.3.4l10.9-11c9.4-9.4 9.4-24.6 0-33.9L273 107.7c-9.4-9.4-24.6-9.4-33.9 0L106.3 240.4c-9.4 9.4-9.4 24.6 0 33.9l10.9 11c9.6 9.5 25.1 9.3 34.4-.4z"}}},"arrow-down":{search:{terms:["download"]},styles:["solid"],label:"arrow-down",svg:{solid:{viewBox:["0","0","448","512"],path:"M413.1 222.5l22.2 22.2c9.4 9.4 9.4 24.6 0 33.9L241 473c-9.4 9.4-24.6 9.4-33.9 0L12.7 278.6c-9.4-9.4-9.4-24.6 0-33.9l22.2-22.2c9.5-9.5 25-9.3 34.3.4L184 343.4V56c0-13.3 10.7-24 24-24h32c13.3 0 24 10.7 24 24v287.4l114.8-120.5c9.3-9.8 24.8-10 34.3-.4z"}}},"arrow-left":{search:{terms:["back","previous"]},styles:["solid"],label:"arrow-left",svg:{solid:{viewBox:["0","0","448","512"],path:"M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"}}},"arrow-right":{search:{terms:["forward","next"]},styles:["solid"],label:"arrow-right",svg:{solid:{viewBox:["0","0","448","512"],path:"M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"}}},"arrow-up":{search:{terms:[]},styles:["solid"],label:"arrow-up",svg:{solid:{viewBox:["0","0","448","512"],path:"M34.9 289.5l-22.2-22.2c-9.4-9.4-9.4-24.6 0-33.9L207 39c9.4-9.4 24.6-9.4 33.9 0l194.3 194.3c9.4 9.4 9.4 24.6 0 33.9L413 289.4c-9.5 9.5-25 9.3-34.3-.4L264 168.6V456c0 13.3-10.7 24-24 24h-32c-13.3 0-24-10.7-24-24V168.6L69.2 289.1c-9.3 9.8-24.8 10-34.3.4z"}}},"arrows-alt":{search:{terms:["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},styles:["solid"],label:"Alternate Arrows",svg:{solid:{viewBox:["0","0","512","512"],path:"M352.201 425.775l-79.196 79.196c-9.373 9.373-24.568 9.373-33.941 0l-79.196-79.196c-15.119-15.119-4.411-40.971 16.971-40.97h51.162L228 284H127.196v51.162c0 21.382-25.851 32.09-40.971 16.971L7.029 272.937c-9.373-9.373-9.373-24.569 0-33.941L86.225 159.8c15.119-15.119 40.971-4.411 40.971 16.971V228H228V127.196h-51.23c-21.382 0-32.09-25.851-16.971-40.971l79.196-79.196c9.373-9.373 24.568-9.373 33.941 0l79.196 79.196c15.119 15.119 4.411 40.971-16.971 40.971h-51.162V228h100.804v-51.162c0-21.382 25.851-32.09 40.97-16.971l79.196 79.196c9.373 9.373 9.373 24.569 0 33.941L425.773 352.2c-15.119 15.119-40.971 4.411-40.97-16.971V284H284v100.804h51.23c21.382 0 32.09 25.851 16.971 40.971z"}}},"arrows-alt-h":{search:{terms:["arrows-h","resize"]},styles:["solid"],label:"Alternate Arrows Horizontal",svg:{solid:{viewBox:["0","0","512","512"],path:"M377.941 169.941V216H134.059v-46.059c0-21.382-25.851-32.09-40.971-16.971L7.029 239.029c-9.373 9.373-9.373 24.568 0 33.941l86.059 86.059c15.119 15.119 40.971 4.411 40.971-16.971V296h243.882v46.059c0 21.382 25.851 32.09 40.971 16.971l86.059-86.059c9.373-9.373 9.373-24.568 0-33.941l-86.059-86.059c-15.119-15.12-40.971-4.412-40.971 16.97z"}}},"arrows-alt-v":{search:{terms:["arrows-v","resize"]},styles:["solid"],label:"Alternate Arrows Vertical",svg:{solid:{viewBox:["0","0","256","512"],path:"M214.059 377.941H168V134.059h46.059c21.382 0 32.09-25.851 16.971-40.971L144.971 7.029c-9.373-9.373-24.568-9.373-33.941 0L24.971 93.088c-15.119 15.119-4.411 40.971 16.971 40.971H88v243.882H41.941c-21.382 0-32.09 25.851-16.971 40.971l86.059 86.059c9.373 9.373 24.568 9.373 33.941 0l86.059-86.059c15.12-15.119 4.412-40.971-16.97-40.971z"}}},"assistive-listening-systems":{search:{terms:[]},styles:["solid"],label:"Assistive Listening Systems",svg:{solid:{viewBox:["0","0","512","512"],path:"M216 260c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-44.112 35.888-80 80-80s80 35.888 80 80c0 15.464-12.536 28-28 28s-28-12.536-28-28c0-13.234-10.767-24-24-24s-24 10.766-24 24zm24-176c-97.047 0-176 78.953-176 176 0 15.464 12.536 28 28 28s28-12.536 28-28c0-66.168 53.832-120 120-120s120 53.832 120 120c0 75.164-71.009 70.311-71.997 143.622L288 404c0 28.673-23.327 52-52 52-15.464 0-28 12.536-28 28s12.536 28 28 28c59.475 0 107.876-48.328 108-107.774.595-34.428 72-48.24 72-144.226 0-97.047-78.953-176-176-176zm-80 236c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zM32 448c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm480-187.993c0-1.518-.012-3.025-.045-4.531C510.076 140.525 436.157 38.47 327.994 1.511c-14.633-4.998-30.549 2.809-35.55 17.442-5 14.633 2.81 30.549 17.442 35.55 85.906 29.354 144.61 110.513 146.077 201.953l.003.188c.026 1.118.033 2.236.033 3.363 0 15.464 12.536 28 28 28s28.001-12.536 28.001-28zM152.971 439.029l-80-80L39.03 392.97l80 80 33.941-33.941z"}}},asterisk:{search:{terms:["details"]},styles:["solid"],label:"asterisk",svg:{solid:{viewBox:["0","0","512","512"],path:"M478.21 334.093L336 256l142.21-78.093c11.795-6.477 15.961-21.384 9.232-33.037l-19.48-33.741c-6.728-11.653-21.72-15.499-33.227-8.523L296 186.718l3.475-162.204C299.763 11.061 288.937 0 275.48 0h-38.96c-13.456 0-24.283 11.061-23.994 24.514L216 186.718 77.265 102.607c-11.506-6.976-26.499-3.13-33.227 8.523l-19.48 33.741c-6.728 11.653-2.562 26.56 9.233 33.037L176 256 33.79 334.093c-11.795 6.477-15.961 21.384-9.232 33.037l19.48 33.741c6.728 11.653 21.721 15.499 33.227 8.523L216 325.282l-3.475 162.204C212.237 500.939 223.064 512 236.52 512h38.961c13.456 0 24.283-11.061 23.995-24.514L296 325.282l138.735 84.111c11.506 6.976 26.499 3.13 33.227-8.523l19.48-33.741c6.728-11.653 2.563-26.559-9.232-33.036z"}}},asymmetrik:{search:{terms:[]},styles:["brands"],label:"Asymmetrik, Ltd.",svg:{brands:{viewBox:["0","0","576","512"],path:"M517.5 309.2c38.8-40 58.1-80 58.5-116.1.8-65.5-59.4-118.2-169.4-135C277.9 38.4 118.1 73.6 0 140.5 52 114 110.6 92.3 170.7 82.3c74.5-20.5 153-25.4 221.3-14.8C544.5 91.3 588.8 195 490.8 299.2c-10.2 10.8-22 21.1-35 30.6L304.9 103.4 114.7 388.9c-65.6-29.4-76.5-90.2-19.1-151.2 20.8-22.2 48.3-41.9 79.5-58.1 20-12.2 39.7-22.6 62-30.7-65.1 20.3-122.7 52.9-161.6 92.9-27.7 28.6-41.4 57.1-41.7 82.9-.5 35.1 23.4 65.1 68.4 83l-34.5 51.7h101.6l22-34.4c22.2 1 45.3 0 68.6-2.7l-22.8 37.1h135.5L340 406.3c18.6-5.3 36.9-11.5 54.5-18.7l45.9 71.8H542L468.6 349c18.5-12.1 35-25.5 48.9-39.8zm-187.6 80.5l-25-40.6-32.7 53.3c-23.4 3.5-46.7 5.1-69.2 4.4l101.9-159.3 78.7 123c-17.2 7.4-35.3 13.9-53.7 19.2z"}}},at:{search:{terms:["e-mail","email"]},styles:["solid"],label:"At",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C118.941 8 8 118.919 8 256c0 137.059 110.919 248 248 248 48.154 0 95.342-14.14 135.408-40.223 12.005-7.815 14.625-24.288 5.552-35.372l-10.177-12.433c-7.671-9.371-21.179-11.667-31.373-5.129C325.92 429.757 291.314 440 256 440c-101.458 0-184-82.542-184-184S154.542 72 256 72c100.139 0 184 57.619 184 160 0 38.786-21.093 79.742-58.17 83.693-17.349-.454-16.91-12.857-13.476-30.024l23.433-121.11C394.653 149.75 383.308 136 368.225 136h-44.981a13.518 13.518 0 0 0-13.432 11.993l-.01.092c-14.697-17.901-40.448-21.775-59.971-21.775-74.58 0-137.831 62.234-137.831 151.46 0 65.303 36.785 105.87 96 105.87 26.984 0 57.369-15.637 74.991-38.333 9.522 34.104 40.613 34.103 70.71 34.103C462.609 379.41 504 307.798 504 232 504 95.653 394.023 8 256 8zm-21.68 304.43c-22.249 0-36.07-15.623-36.07-40.771 0-44.993 30.779-72.729 58.63-72.729 22.292 0 35.601 15.241 35.601 40.77 0 45.061-33.875 72.73-58.161 72.73z"}}},atlas:{search:{terms:["book","directions","geography","map","wayfinding"]},styles:["solid"],label:"Atlas",svg:{solid:{viewBox:["0","0","448","512"],path:"M318.38 208h-39.09c-1.49 27.03-6.54 51.35-14.21 70.41 27.71-13.24 48.02-39.19 53.3-70.41zm0-32c-5.29-31.22-25.59-57.17-53.3-70.41 7.68 19.06 12.72 43.38 14.21 70.41h39.09zM224 97.31c-7.69 7.45-20.77 34.42-23.43 78.69h46.87c-2.67-44.26-15.75-71.24-23.44-78.69zm-41.08 8.28c-27.71 13.24-48.02 39.19-53.3 70.41h39.09c1.49-27.03 6.53-51.35 14.21-70.41zm0 172.82c-7.68-19.06-12.72-43.38-14.21-70.41h-39.09c5.28 31.22 25.59 57.17 53.3 70.41zM247.43 208h-46.87c2.66 44.26 15.74 71.24 23.43 78.69 7.7-7.45 20.78-34.43 23.44-78.69zM448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM224 64c70.69 0 128 57.31 128 128s-57.31 128-128 128S96 262.69 96 192 153.31 64 224 64zm160 384H96c-19.2 0-32-12.8-32-32s16-32 32-32h288v64z"}}},atom:{search:{terms:["atheism","chemistry","science"]},styles:["solid"],label:"Atom",svg:{solid:{viewBox:["0","0","448","512"],path:"M413.03 256c40.13-54.89 41.51-98.62 25.14-128-10.91-19.52-40.54-50.73-116.33-41.88C300.36 34.89 267.64 0 224 0s-76.36 34.89-97.84 86.12C50.43 77.34 20.73 108.48 9.83 128c-16.38 29.4-15 73.09 25.14 128-40.13 54.89-41.51 98.62-25.14 128 29.21 52.34 101.68 43.58 116.33 41.88C147.63 477.1 180.36 512 224 512s76.37-34.9 97.84-86.12c14.64 1.7 87.11 10.46 116.33-41.88 16.38-29.4 15-73.09-25.14-128zM63.38 352c-4.03-7.21-.19-24.8 14.95-48.29 6.96 6.53 14.2 12.89 21.87 19.18 1.71 13.71 4 27.08 6.76 40.08-24.56.89-39.89-4.37-43.58-10.97zm36.82-162.88c-7.66 6.29-14.9 12.65-21.87 19.18-15.13-23.5-18.97-41.09-14.95-48.3 3.41-6.14 16.39-11.47 37.92-11.47 1.71 0 3.87.3 5.69.37a472.191 472.191 0 0 0-6.79 40.22zM224 64c9.47 0 22.2 13.52 33.86 37.26-11.19 3.7-22.44 8-33.86 12.86-11.42-4.86-22.67-9.16-33.86-12.86C201.8 77.52 214.53 64 224 64zm0 384c-9.47 0-22.2-13.52-33.86-37.26 11.19-3.7 22.44-8 33.86-12.86 11.42 4.86 22.67 9.16 33.86 12.86C246.2 434.48 233.47 448 224 448zm62.5-157.33c-26.7 19.08-46.14 29.33-62.5 37.48-16.35-8.14-35.8-18.41-62.5-37.48-1.99-27.79-1.99-41.54 0-69.33 26.67-19.05 46.13-29.32 62.5-37.48 16.39 8.17 35.86 18.44 62.5 37.48 1.98 27.78 1.99 41.53 0 69.33zM384.62 352c-3.67 6.62-19 11.82-43.58 10.95 2.76-13 5.05-26.37 6.76-40.06 7.66-6.29 14.9-12.65 21.87-19.18 15.13 23.49 18.97 41.08 14.95 48.29zm-14.95-143.71c-6.96-6.53-14.2-12.89-21.87-19.18a473.535 473.535 0 0 0-6.79-40.22c1.82-.07 3.97-.37 5.69-.37 21.52 0 34.51 5.34 37.92 11.47 4.02 7.22.18 24.81-14.95 48.3zM224 224c-17.67 0-32 14.33-32 32s14.33 32 32 32 32-14.33 32-32-14.33-32-32-32z"}}},audible:{search:{terms:[]},styles:["brands"],label:"Audible",svg:{brands:{viewBox:["0","0","640","512"],path:"M640 199.9v54l-320 200L0 254v-54l320 200 320-200.1zm-194.5 72l47.1-29.4c-37.2-55.8-100.7-92.6-172.7-92.6-72 0-135.5 36.7-172.6 92.4h.3c2.5-2.3 5.1-4.5 7.7-6.7 89.7-74.4 219.4-58.1 290.2 36.3zm-220.1 18.8c16.9-11.9 36.5-18.7 57.4-18.7 34.4 0 65.2 18.4 86.4 47.6l45.4-28.4c-20.9-29.9-55.6-49.5-94.8-49.5-38.9 0-73.4 19.4-94.4 49zM103.6 161.1c131.8-104.3 318.2-76.4 417.5 62.1l.7 1 48.8-30.4C517.1 112.1 424.8 58.1 319.9 58.1c-103.5 0-196.6 53.5-250.5 135.6 9.9-10.5 22.7-23.5 34.2-32.6zm467 32.7z"}}},"audio-description":{search:{terms:[]},styles:["solid"],label:"Audio Description",svg:{solid:{viewBox:["0","0","512","512"],path:"M162.925 238.709l8.822 30.655h-25.606l9.041-30.652c1.277-4.421 2.651-9.994 3.872-15.245 1.22 5.251 2.594 10.823 3.871 15.242zm166.474-32.099h-14.523v98.781h14.523c29.776 0 46.175-17.678 46.175-49.776 0-32.239-17.49-49.005-46.175-49.005zM512 112v288c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h416c26.51 0 48 21.49 48 48zM245.459 336.139l-57.097-168A12.001 12.001 0 0 0 177 160h-35.894a12.001 12.001 0 0 0-11.362 8.139l-57.097 168C70.003 343.922 75.789 352 84.009 352h29.133a12 12 0 0 0 11.535-8.693l8.574-29.906h51.367l8.793 29.977A12 12 0 0 0 204.926 352h29.172c8.22 0 14.006-8.078 11.361-15.861zm184.701-80.525c0-58.977-37.919-95.614-98.96-95.614h-57.366c-6.627 0-12 5.373-12 12v168c0 6.627 5.373 12 12 12H331.2c61.041 0 98.96-36.933 98.96-96.386z"}}},autoprefixer:{search:{terms:[]},styles:["brands"],label:"Autoprefixer",svg:{brands:{viewBox:["0","0","640","512"],path:"M318.4 16l-161 480h77.5l25.4-81.4h119.5L405 496h77.5L318.4 16zm-40.3 341.9l41.2-130.4h1.5l40.9 130.4h-83.6zM640 405l-10-31.4L462.1 358l19.4 56.5L640 405zm-462.1-47L10 373.7 0 405l158.5 9.4 19.4-56.4z"}}},avianex:{search:{terms:[]},styles:["brands"],label:"avianex",svg:{brands:{viewBox:["0","0","512","512"],path:"M453.1 32h-312c-38.9 0-76.2 31.2-83.3 69.7L1.2 410.3C-5.9 448.8 19.9 480 58.9 480h312c38.9 0 76.2-31.2 83.3-69.7l56.7-308.5c7-38.6-18.8-69.8-57.8-69.8zm-58.2 347.3l-32 13.5-115.4-110c-14.7 10-29.2 19.5-41.7 27.1l22.1 64.2-17.9 12.7-40.6-61-52.4-48.1 15.7-15.4 58 31.1c9.3-10.5 20.8-22.6 32.8-34.9L203 228.9l-68.8-99.8 18.8-28.9 8.9-4.8L265 207.8l4.9 4.5c19.4-18.8 33.8-32.4 33.8-32.4 7.7-6.5 21.5-2.9 30.7 7.9 9 10.5 10.6 24.7 2.7 31.3-1.8 1.3-15.5 11.4-35.3 25.6l4.5 7.3 94.9 119.4-6.3 7.9z"}}},aviato:{search:{terms:[]},styles:["brands"],label:"Aviato",svg:{brands:{viewBox:["0","0","640","512"],path:"M107.2 283.5l-19-41.8H36.1l-19 41.8H0l62.2-131.4 62.2 131.4h-17.2zm-45-98.1l-19.6 42.5h39.2l-19.6-42.5zm112.7 102.4l-62.2-131.4h17.1l45.1 96 45.1-96h17l-62.1 131.4zm80.6-4.3V156.4H271v127.1h-15.5zm209.1-115.6v115.6h-17.3V167.9h-41.2v-11.5h99.6v11.5h-41.1zM640 218.8c0 9.2-1.7 17.8-5.1 25.8-3.4 8-8.2 15.1-14.2 21.1-6 6-13.1 10.8-21.1 14.2-8 3.4-16.6 5.1-25.8 5.1s-17.8-1.7-25.8-5.1c-8-3.4-15.1-8.2-21.1-14.2-6-6-10.8-13-14.2-21.1-3.4-8-5.1-16.6-5.1-25.8s1.7-17.8 5.1-25.8c3.4-8 8.2-15.1 14.2-21.1 6-6 13-8.4 21.1-11.9 8-3.4 16.6-5.1 25.8-5.1s17.8 1.7 25.8 5.1c8 3.4 15.1 5.8 21.1 11.9 6 6 10.7 13.1 14.2 21.1 3.4 8 5.1 16.6 5.1 25.8zm-15.5 0c0-7.3-1.3-14-3.9-20.3-2.6-6.3-6.2-11.7-10.8-16.3-4.6-4.6-10-8.2-16.2-10.9-6.2-2.7-12.8-4-19.8-4s-13.6 1.3-19.8 4c-6.2 2.7-11.6 6.3-16.2 10.9-4.6 4.6-8.2 10-10.8 16.3-2.6 6.3-3.9 13.1-3.9 20.3 0 7.3 1.3 14 3.9 20.3 2.6 6.3 6.2 11.7 10.8 16.3 4.6 4.6 10 8.2 16.2 10.9 6.2 2.7 12.8 4 19.8 4s13.6-1.3 19.8-4c6.2-2.7 11.6-6.3 16.2-10.9 4.6-4.6 8.2-10 10.8-16.3 2.6-6.3 3.9-13.1 3.9-20.3zm-94.8 96.7v-6.3l88.9-10-242.9 13.4c.6-2.2 1.1-4.6 1.4-7.2.3-2 .5-4.2.6-6.5l64.8-8.1-64.9 1.9c0-.4-.1-.7-.1-1.1-2.8-17.2-25.5-23.7-25.5-23.7l-1.1-26.3h23.8l19 41.8h17.1L348.6 152l-62.2 131.4h17.1l19-41.8h23.6L345 268s-22.7 6.5-25.5 23.7c-.1.3-.1.7-.1 1.1l-64.9-1.9 64.8 8.1c.1 2.3.3 4.4.6 6.5.3 2.6.8 5 1.4 7.2L78.4 299.2l88.9 10v6.3c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4 0-6.2-4.6-11.3-10.5-12.2v-5.8l80.3 9v5.4c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-4.9l28.4 3.2v23.7h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9V323l38.3 4.3c8.1 11.4 19 13.6 19 13.6l-.1 6.7-5.1.2-.1 12.1h4.1l.1-5h5.2l.1 5h4.1l-.1-12.1-5.1-.2-.1-6.7s10.9-2.1 19-13.6l38.3-4.3v23.2h-5.9V360h5.9v-6.6h5v6.6h5.9v-13.8h-5.9v-23.7l28.4-3.2v4.9c-5.7 1.1-9.9 6.2-9.9 12.1 0 6.8 5.6 10.2 12.4 10.2 6.8 0 12.4-3.4 12.4-10.2 0-6-4.3-11-9.9-12.1v-5.4l80.3-9v5.8c-5.9.9-10.5 6-10.5 12.2 0 6.8 5.6 12.4 12.4 12.4 6.8 0 12.4-5.6 12.4-12.4-.2-6.3-4.7-11.4-10.7-12.3zm-200.8-87.6l19.6-42.5 19.6 42.5h-17.9l-1.7-40.3-1.7 40.3h-17.9z"}}},award:{search:{terms:["honor","praise","prize","recognition","ribbon"]},styles:["solid"],label:"Award",svg:{solid:{viewBox:["0","0","384","512"],path:"M97.12 362.63c-8.69-8.69-4.16-6.24-25.12-11.85-9.51-2.55-17.87-7.45-25.43-13.32L1.2 448.7c-4.39 10.77 3.81 22.47 15.43 22.03l52.69-2.01L105.56 507c8 8.44 22.04 5.81 26.43-4.96l52.05-127.62c-10.84 6.04-22.87 9.58-35.31 9.58-19.5 0-37.82-7.59-51.61-21.37zM382.8 448.7l-45.37-111.24c-7.56 5.88-15.92 10.77-25.43 13.32-21.07 5.64-16.45 3.18-25.12 11.85-13.79 13.78-32.12 21.37-51.62 21.37-12.44 0-24.47-3.55-35.31-9.58L252 502.04c4.39 10.77 18.44 13.4 26.43 4.96l36.25-38.28 52.69 2.01c11.62.44 19.82-11.27 15.43-22.03zM263 340c15.28-15.55 17.03-14.21 38.79-20.14 13.89-3.79 24.75-14.84 28.47-28.98 7.48-28.4 5.54-24.97 25.95-45.75 10.17-10.35 14.14-25.44 10.42-39.58-7.47-28.38-7.48-24.42 0-52.83 3.72-14.14-.25-29.23-10.42-39.58-20.41-20.78-18.47-17.36-25.95-45.75-3.72-14.14-14.58-25.19-28.47-28.98-27.88-7.61-24.52-5.62-44.95-26.41-10.17-10.35-25-14.4-38.89-10.61-27.87 7.6-23.98 7.61-51.9 0-13.89-3.79-28.72.25-38.89 10.61-20.41 20.78-17.05 18.8-44.94 26.41-13.89 3.79-24.75 14.84-28.47 28.98-7.47 28.39-5.54 24.97-25.95 45.75-10.17 10.35-14.15 25.44-10.42 39.58 7.47 28.36 7.48 24.4 0 52.82-3.72 14.14.25 29.23 10.42 39.59 20.41 20.78 18.47 17.35 25.95 45.75 3.72 14.14 14.58 25.19 28.47 28.98C104.6 325.96 106.27 325 121 340c13.23 13.47 33.84 15.88 49.74 5.82a39.676 39.676 0 0 1 42.53 0c15.89 10.06 36.5 7.65 49.73-5.82zM97.66 175.96c0-53.03 42.24-96.02 94.34-96.02s94.34 42.99 94.34 96.02-42.24 96.02-94.34 96.02-94.34-42.99-94.34-96.02z"}}},aws:{search:{terms:[]},styles:["brands"],label:"Amazon Web Services (AWS)",svg:{brands:{viewBox:["0","0","640","512"],path:"M180.41 203.01c-.72 22.65 10.6 32.68 10.88 39.05a8.164 8.164 0 0 1-4.1 6.27l-12.8 8.96a10.66 10.66 0 0 1-5.63 1.92c-.43-.02-8.19 1.83-20.48-25.61a78.608 78.608 0 0 1-62.61 29.45c-16.28.89-60.4-9.24-58.13-56.21-1.59-38.28 34.06-62.06 70.93-60.05 7.1.02 21.6.37 46.99 6.27v-15.62c2.69-26.46-14.7-46.99-44.81-43.91-2.4.01-19.4-.5-45.84 10.11-7.36 3.38-8.3 2.82-10.75 2.82-7.41 0-4.36-21.48-2.94-24.2 5.21-6.4 35.86-18.35 65.94-18.18a76.857 76.857 0 0 1 55.69 17.28 70.285 70.285 0 0 1 17.67 52.36l-.01 69.29zM93.99 235.4c32.43-.47 46.16-19.97 49.29-30.47 2.46-10.05 2.05-16.41 2.05-27.4-9.67-2.32-23.59-4.85-39.56-4.87-15.15-1.14-42.82 5.63-41.74 32.26-1.24 16.79 11.12 31.4 29.96 30.48zm170.92 23.05c-7.86.72-11.52-4.86-12.68-10.37l-49.8-164.65c-.97-2.78-1.61-5.65-1.92-8.58a4.61 4.61 0 0 1 3.86-5.25c.24-.04-2.13 0 22.25 0 8.78-.88 11.64 6.03 12.55 10.37l35.72 140.83 33.16-140.83c.53-3.22 2.94-11.07 12.8-10.24h17.16c2.17-.18 11.11-.5 12.68 10.37l33.42 142.63L420.98 80.1c.48-2.18 2.72-11.37 12.68-10.37h19.72c.85-.13 6.15-.81 5.25 8.58-.43 1.85 3.41-10.66-52.75 169.9-1.15 5.51-4.82 11.09-12.68 10.37h-18.69c-10.94 1.15-12.51-9.66-12.68-10.75L328.67 110.7l-32.78 136.99c-.16 1.09-1.73 11.9-12.68 10.75h-18.3zm273.48 5.63c-5.88.01-33.92-.3-57.36-12.29a12.802 12.802 0 0 1-7.81-11.91v-10.75c0-8.45 6.2-6.9 8.83-5.89 10.04 4.06 16.48 7.14 28.81 9.6 36.65 7.53 52.77-2.3 56.72-4.48 13.15-7.81 14.19-25.68 5.25-34.95-10.48-8.79-15.48-9.12-53.13-21-4.64-1.29-43.7-13.61-43.79-52.36-.61-28.24 25.05-56.18 69.52-55.95 12.67-.01 46.43 4.13 55.57 15.62 1.35 2.09 2.02 4.55 1.92 7.04v10.11c0 4.44-1.62 6.66-4.87 6.66-7.71-.86-21.39-11.17-49.16-10.75-6.89-.36-39.89.91-38.41 24.97-.43 18.96 26.61 26.07 29.7 26.89 36.46 10.97 48.65 12.79 63.12 29.58 17.14 22.25 7.9 48.3 4.35 55.44-19.08 37.49-68.42 34.44-69.26 34.42zm40.2 104.86c-70.03 51.72-171.69 79.25-258.49 79.25A469.127 469.127 0 0 1 2.83 327.46c-6.53-5.89-.77-13.96 7.17-9.47a637.37 637.37 0 0 0 316.88 84.12 630.22 630.22 0 0 0 241.59-49.55c11.78-5 21.77 7.8 10.12 16.38zm29.19-33.29c-8.96-11.52-59.28-5.38-81.81-2.69-6.79.77-7.94-5.12-1.79-9.47 40.07-28.17 105.88-20.1 113.44-10.63 7.55 9.47-2.05 75.41-39.56 106.91-5.76 4.87-11.27 2.3-8.71-4.1 8.44-21.25 27.39-68.49 18.43-80.02z"}}},backspace:{search:{terms:["command","delete","keyboard","undo"]},styles:["solid"],label:"Backspace",svg:{solid:{viewBox:["0","0","640","512"],path:"M576 64H205.26A63.97 63.97 0 0 0 160 82.75L9.37 233.37c-12.5 12.5-12.5 32.76 0 45.25L160 429.25c12 12 28.28 18.75 45.25 18.75H576c35.35 0 64-28.65 64-64V128c0-35.35-28.65-64-64-64zm-84.69 254.06c6.25 6.25 6.25 16.38 0 22.63l-22.62 22.62c-6.25 6.25-16.38 6.25-22.63 0L384 301.25l-62.06 62.06c-6.25 6.25-16.38 6.25-22.63 0l-22.62-22.62c-6.25-6.25-6.25-16.38 0-22.63L338.75 256l-62.06-62.06c-6.25-6.25-6.25-16.38 0-22.63l22.62-22.62c6.25-6.25 16.38-6.25 22.63 0L384 210.75l62.06-62.06c6.25-6.25 16.38-6.25 22.63 0l22.62 22.62c6.25 6.25 6.25 16.38 0 22.63L429.25 256l62.06 62.06z"}}},backward:{search:{terms:["previous","rewind"]},styles:["solid"],label:"backward",svg:{solid:{viewBox:["0","0","512","512"],path:"M11.5 280.6l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2zm256 0l192 160c20.6 17.2 52.5 2.8 52.5-24.6V96c0-27.4-31.9-41.8-52.5-24.6l-192 160c-15.3 12.8-15.3 36.4 0 49.2z"}}},"balance-scale":{search:{terms:["balanced","justice","legal","measure","weight"]},styles:["solid"],label:"Balance Scale",svg:{solid:{viewBox:["0","0","640","512"],path:"M256 336h-.02c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0C-2.06 328.75.02 320.33.02 336H0c0 44.18 57.31 80 128 80s128-35.82 128-80zM128 176l72 144H56l72-144zm511.98 160c0-16.18 1.34-8.73-85.05-181.51-17.65-35.29-68.19-35.36-85.87 0-87.12 174.26-85.04 165.84-85.04 181.51H384c0 44.18 57.31 80 128 80s128-35.82 128-80h-.02zM440 320l72-144 72 144H440zm88 128H352V153.25c23.51-10.29 41.16-31.48 46.39-57.25H528c8.84 0 16-7.16 16-16V48c0-8.84-7.16-16-16-16H383.64C369.04 12.68 346.09 0 320 0s-49.04 12.68-63.64 32H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h129.61c5.23 25.76 22.87 46.96 46.39 57.25V448H112c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h416c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},ban:{search:{terms:["abort","ban","block","cancel","delete","hide","prohibit","remove","stop","trash"]},styles:["solid"],label:"ban",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}}},"band-aid":{search:{terms:["bandage","boo boo","ouch"]},styles:["solid"],label:"Band-Aid",svg:{solid:{viewBox:["0","0","640","512"],path:"M0 160v192c0 35.3 28.7 64 64 64h96V96H64c-35.3 0-64 28.7-64 64zm576-64h-96v320h96c35.3 0 64-28.7 64-64V160c0-35.3-28.7-64-64-64zM192 416h256V96H192v320zm176-232c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm-96-96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm0 96c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24z"}}},bandcamp:{search:{terms:[]},styles:["brands"],label:"Bandcamp",svg:{brands:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zm48.2 326.1h-181L199.9 178h181l-84.7 156.1z"}}},barcode:{search:{terms:["scan"]},styles:["solid"],label:"barcode",svg:{solid:{viewBox:["0","0","512","512"],path:"M0 448V64h18v384H0zm26.857-.273V64H36v383.727h-9.143zm27.143 0V64h8.857v383.727H54zm44.857 0V64h8.857v383.727h-8.857zm36 0V64h17.714v383.727h-17.714zm44.857 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm18 0V64h8.857v383.727h-8.857zm35.715 0V64h18v383.727h-18zm44.857 0V64h18v383.727h-18zm35.999 0V64h18.001v383.727h-18.001zm36.001 0V64h18.001v383.727h-18.001zm26.857 0V64h18v383.727h-18zm45.143 0V64h26.857v383.727h-26.857zm35.714 0V64h9.143v383.727H476zm18 .273V64h18v384h-18z"}}},bars:{search:{terms:["checklist","drag","hamburger","list","menu","nav","navigation","ol","reorder","settings","todo","ul"]},styles:["solid"],label:"Bars",svg:{solid:{viewBox:["0","0","448","512"],path:"M16 132h416c8.837 0 16-7.163 16-16V76c0-8.837-7.163-16-16-16H16C7.163 60 0 67.163 0 76v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16zm0 160h416c8.837 0 16-7.163 16-16v-40c0-8.837-7.163-16-16-16H16c-8.837 0-16 7.163-16 16v40c0 8.837 7.163 16 16 16z"}}},"baseball-ball":{search:{terms:[]},styles:["solid"],label:"Baseball Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M368.5 363.9l28.8-13.9c11.1 22.9 26 43.2 44.1 60.9 34-42.5 54.5-96.3 54.5-154.9 0-58.5-20.4-112.2-54.2-154.6-17.8 17.3-32.6 37.1-43.6 59.5l-28.7-14.1c12.8-26 30-49 50.8-69C375.6 34.7 315 8 248 8 181.1 8 120.5 34.6 75.9 77.7c20.7 19.9 37.9 42.9 50.7 68.8l-28.7 14.1c-11-22.3-25.7-42.1-43.5-59.4C20.4 143.7 0 197.4 0 256c0 58.6 20.4 112.3 54.4 154.7 18.2-17.7 33.2-38 44.3-61l28.8 13.9c-12.9 26.7-30.3 50.3-51.5 70.7 44.5 43.1 105.1 69.7 172 69.7 66.8 0 127.3-26.5 171.9-69.5-21.1-20.4-38.5-43.9-51.4-70.6zm-228.3-32l-30.5-9.8c14.9-46.4 12.7-93.8-.6-134l30.4-10c15 45.6 18 99.9.7 153.8zm216.3-153.4l30.4 10c-13.2 40.1-15.5 87.5-.6 134l-30.5 9.8c-17.3-54-14.3-108.3.7-153.8z"}}},"basketball-ball":{search:{terms:[]},styles:["solid"],label:"Basketball Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M212.3 10.3c-43.8 6.3-86.2 24.1-122.2 53.8l77.4 77.4c27.8-35.8 43.3-81.2 44.8-131.2zM248 222L405.9 64.1c-42.4-35-93.6-53.5-145.5-56.1-1.2 63.9-21.5 122.3-58.7 167.7L248 222zM56.1 98.1c-29.7 36-47.5 78.4-53.8 122.2 50-1.5 95.5-17 131.2-44.8L56.1 98.1zm272.2 204.2c45.3-37.1 103.7-57.4 167.7-58.7-2.6-51.9-21.1-103.1-56.1-145.5L282 256l46.3 46.3zM248 290L90.1 447.9c42.4 34.9 93.6 53.5 145.5 56.1 1.3-64 21.6-122.4 58.7-167.7L248 290zm191.9 123.9c29.7-36 47.5-78.4 53.8-122.2-50.1 1.6-95.5 17.1-131.2 44.8l77.4 77.4zM167.7 209.7C122.3 246.9 63.9 267.3 0 268.4c2.6 51.9 21.1 103.1 56.1 145.5L214 256l-46.3-46.3zm116 292c43.8-6.3 86.2-24.1 122.2-53.8l-77.4-77.4c-27.7 35.7-43.2 81.2-44.8 131.2z"}}},bath:{search:{terms:[]},styles:["solid"],label:"Bath",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 256H80V112c0-17.645 14.355-32 32-32 11.351 0 21.332 5.945 27.015 14.88-16.492 25.207-14.687 59.576 6.838 83.035-4.176 4.713-4.021 11.916.491 16.428l11.314 11.314c4.686 4.686 12.284 4.686 16.971 0l95.03-95.029c4.686-4.686 4.686-12.284 0-16.971l-11.314-11.314c-4.512-4.512-11.715-4.666-16.428-.491-17.949-16.469-42.294-21.429-64.178-15.365C163.281 45.667 139.212 32 112 32c-44.112 0-80 35.888-80 80v144h-8c-13.255 0-24 10.745-24 24v16c0 13.255 10.745 24 24 24h8v32c0 28.43 12.362 53.969 32 71.547V456c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-8h256v8c0 13.255 10.745 24 24 24h16c13.255 0 24-10.745 24-24v-32.453c19.638-17.578 32-43.117 32-71.547v-32h8c13.255 0 24-10.745 24-24v-16c0-13.255-10.745-24-24-24z"}}},"battery-empty":{search:{terms:["power","status"]},styles:["solid"],label:"Battery Empty",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48z"}}},"battery-full":{search:{terms:["power","status"]},styles:["solid"],label:"Battery Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-48 96H96v128h416V192z"}}},"battery-half":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 1/2 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-240 96H96v128h224V192z"}}},"battery-quarter":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 1/4 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-336 96H96v128h128V192z"}}},"battery-three-quarters":{search:{terms:["power","status"]},styles:["solid"],label:"Battery 3/4 Full",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 160v64h32v64h-32v64H64V160h480m16-64H48c-26.51 0-48 21.49-48 48v224c0 26.51 21.49 48 48 48h512c26.51 0 48-21.49 48-48v-16h8c13.255 0 24-10.745 24-24V184c0-13.255-10.745-24-24-24h-8v-16c0-26.51-21.49-48-48-48zm-144 96H96v128h320V192z"}}},bed:{search:{terms:["lodging","sleep","travel"]},styles:["solid"],label:"Bed",svg:{solid:{viewBox:["0","0","640","512"],path:"M176 256c44.11 0 80-35.89 80-80s-35.89-80-80-80-80 35.89-80 80 35.89 80 80 80zm352-128H304c-8.84 0-16 7.16-16 16v144H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v352c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16v-48h512v48c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V240c0-61.86-50.14-112-112-112z"}}},beer:{search:{terms:["alcohol","bar","beverage","drink","liquor","mug","stein"]},styles:["solid"],label:"beer",svg:{solid:{viewBox:["0","0","448","512"],path:"M368 96h-48V56c0-13.255-10.745-24-24-24H24C10.745 32 0 42.745 0 56v400c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24v-42.11l80.606-35.977C429.396 365.063 448 336.388 448 304.86V176c0-44.112-35.888-80-80-80zm16 208.86a16.018 16.018 0 0 1-9.479 14.611L320 343.805V160h48c8.822 0 16 7.178 16 16v128.86zM208 384c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16zm-96 0c-8.836 0-16-7.164-16-16V144c0-8.836 7.164-16 16-16s16 7.164 16 16v224c0 8.836-7.164 16-16 16z"}}},behance:{search:{terms:[]},styles:["brands"],label:"Behance",svg:{brands:{viewBox:["0","0","576","512"],path:"M232 237.2c31.8-15.2 48.4-38.2 48.4-74 0-70.6-52.6-87.8-113.3-87.8H0v354.4h171.8c64.4 0 124.9-30.9 124.9-102.9 0-44.5-21.1-77.4-64.7-89.7zM77.9 135.9H151c28.1 0 53.4 7.9 53.4 40.5 0 30.1-19.7 42.2-47.5 42.2h-79v-82.7zm83.3 233.7H77.9V272h84.9c34.3 0 56 14.3 56 50.6 0 35.8-25.9 47-57.6 47zm358.5-240.7H376V94h143.7v34.9zM576 305.2c0-75.9-44.4-139.2-124.9-139.2-78.2 0-131.3 58.8-131.3 135.8 0 79.9 50.3 134.7 131.3 134.7 61.3 0 101-27.6 120.1-86.3H509c-6.7 21.9-34.3 33.5-55.7 33.5-41.3 0-63-24.2-63-65.3h185.1c.3-4.2.6-8.7.6-13.2zM390.4 274c2.3-33.7 24.7-54.8 58.5-54.8 35.4 0 53.2 20.8 56.2 54.8H390.4z"}}},"behance-square":{search:{terms:[]},styles:["brands"],label:"Behance Square",svg:{brands:{viewBox:["0","0","448","512"],path:"M186.5 293c0 19.3-14 25.4-31.2 25.4h-45.1v-52.9h46c18.6.1 30.3 7.8 30.3 27.5zm-7.7-82.3c0-17.7-13.7-21.9-28.9-21.9h-39.6v44.8H153c15.1 0 25.8-6.6 25.8-22.9zm132.3 23.2c-18.3 0-30.5 11.4-31.7 29.7h62.2c-1.7-18.5-11.3-29.7-30.5-29.7zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM271.7 185h77.8v-18.9h-77.8V185zm-43 110.3c0-24.1-11.4-44.9-35-51.6 17.2-8.2 26.2-17.7 26.2-37 0-38.2-28.5-47.5-61.4-47.5H68v192h93.1c34.9-.2 67.6-16.9 67.6-55.9zM380 280.5c0-41.1-24.1-75.4-67.6-75.4-42.4 0-71.1 31.8-71.1 73.6 0 43.3 27.3 73 71.1 73 33.2 0 54.7-14.9 65.1-46.8h-33.7c-3.7 11.9-18.6 18.1-30.2 18.1-22.4 0-34.1-13.1-34.1-35.3h100.2c.1-2.3.3-4.8.3-7.2z"}}},bell:{search:{terms:["alert","notification","reminder"]},styles:["solid","regular"],label:"bell",svg:{solid:{viewBox:["0","0","448","512"],path:"M224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64zm215.39-149.71c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71z"},regular:{last_modified:1532362831475,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M439.39 362.29c-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84C118.56 68.1 64.08 130.3 64.08 208c0 102.3-36.15 133.53-55.47 154.29-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h383.8c19.12 0 32-15.6 32.1-32 .05-7.55-2.61-15.27-8.61-21.71zM67.53 368c21.22-27.97 44.42-74.33 44.53-159.42 0-.2-.06-.38-.06-.58 0-61.86 50.14-112 112-112s112 50.14 112 112c0 .2-.06.38-.06.58.11 85.1 23.31 131.46 44.53 159.42H67.53zM224 512c35.32 0 63.97-28.65 63.97-64H160.03c0 35.35 28.65 64 63.97 64z"}}},"bell-slash":{search:{terms:[]},styles:["solid","regular"],label:"Bell Slash",svg:{solid:{viewBox:["0","0","640","512"],path:"M633.82 458.1l-90.62-70.05c.19-1.38.8-2.66.8-4.06.05-7.55-2.61-15.27-8.61-21.71-19.32-20.76-55.47-51.99-55.47-154.29 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-40.33 8.38-74.66 31.07-97.59 62.57L45.47 3.37C38.49-2.05 28.43-.8 23.01 6.18L3.37 31.45C-2.05 38.42-.8 48.47 6.18 53.9l588.35 454.73c6.98 5.43 17.03 4.17 22.46-2.81l19.64-25.27c5.42-6.97 4.17-17.02-2.81-22.45zM157.23 251.54c-8.61 67.96-36.41 93.33-52.62 110.75-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h241.92L157.23 251.54zM320 512c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"},regular:{last_modified:1532362831475,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 640 512"><path d="M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"/></svg>',viewBox:["0","0","640","512"],width:640,height:512,path:"M633.99 471.02L36 3.51C29.1-2.01 19.03-.9 13.51 6l-10 12.49C-2.02 25.39-.9 35.46 6 40.98l598 467.51c6.9 5.52 16.96 4.4 22.49-2.49l10-12.49c5.52-6.9 4.41-16.97-2.5-22.49zM163.53 368c16.71-22.03 34.48-55.8 41.4-110.58l-45.47-35.55c-3.27 90.73-36.47 120.68-54.84 140.42-6 6.45-8.66 14.16-8.61 21.71.11 16.4 12.98 32 32.1 32h279.66l-61.4-48H163.53zM320 96c61.86 0 112 50.14 112 112 0 .2-.06.38-.06.58.02 16.84 1.16 31.77 2.79 45.73l59.53 46.54c-8.31-22.13-14.34-51.49-14.34-92.85 0-77.7-54.48-139.9-127.94-155.16V32c0-17.67-14.32-32-31.98-32s-31.98 14.33-31.98 32v20.84c-26.02 5.41-49.45 16.94-69.13 32.72l38.17 29.84C275 103.18 296.65 96 320 96zm0 416c35.32 0 63.97-28.65 63.97-64H256.03c0 35.35 28.65 64 63.97 64z"}}},"bezier-curve":{search:{terms:["curves","illustrator","lines","path","vector"]},styles:["solid"],label:"Bezier Curve",svg:{solid:{viewBox:["0","0","640","512"],path:"M368 32h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V64c0-17.67-14.33-32-32-32zM208 88h-84.75C113.75 64.56 90.84 48 64 48 28.66 48 0 76.65 0 112s28.66 64 64 64c26.84 0 49.75-16.56 59.25-40h79.73c-55.37 32.52-95.86 87.32-109.54 152h49.4c11.3-41.61 36.77-77.21 71.04-101.56-3.7-8.08-5.88-16.99-5.88-26.44V88zm-48 232H64c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32zM576 48c-26.84 0-49.75 16.56-59.25 40H432v72c0 9.45-2.19 18.36-5.88 26.44 34.27 24.35 59.74 59.95 71.04 101.56h49.4c-13.68-64.68-54.17-119.48-109.54-152h79.73c9.5 23.44 32.41 40 59.25 40 35.34 0 64-28.65 64-64s-28.66-64-64-64zm0 272h-96c-17.67 0-32 14.33-32 32v96c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-96c0-17.67-14.33-32-32-32z"}}},bible:{search:{terms:["book","catholicism","christianity"]},styles:["solid"],label:"Bible",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 358.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM144 144c0-8.84 7.16-16 16-16h48V80c0-8.84 7.16-16 16-16h32c8.84 0 16 7.16 16 16v48h48c8.84 0 16 7.16 16 16v32c0 8.84-7.16 16-16 16h-48v112c0 8.84-7.16 16-16 16h-32c-8.84 0-16-7.16-16-16V192h-48c-8.84 0-16-7.16-16-16v-32zm236.8 304H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64z"}}},bicycle:{search:{terms:["bike","gears","transportation","vehicle"]},styles:["solid"],label:"Bicycle",svg:{solid:{viewBox:["0","0","640","512"],path:"M512.509 192.001c-16.373-.064-32.03 2.955-46.436 8.495l-77.68-125.153A24 24 0 0 0 368.001 64h-64c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h50.649l14.896 24H256.002v-16c0-8.837-7.163-16-16-16h-87.459c-13.441 0-24.777 10.999-24.536 24.437.232 13.044 10.876 23.563 23.995 23.563h48.726l-29.417 47.52c-13.433-4.83-27.904-7.483-42.992-7.52C58.094 191.83.412 249.012.002 319.236-.413 390.279 57.055 448 128.002 448c59.642 0 109.758-40.793 123.967-96h52.033a24 24 0 0 0 20.406-11.367L410.37 201.77l14.938 24.067c-25.455 23.448-41.385 57.081-41.307 94.437.145 68.833 57.899 127.051 126.729 127.719 70.606.685 128.181-55.803 129.255-125.996 1.086-70.941-56.526-129.72-127.476-129.996zM186.75 265.772c9.727 10.529 16.673 23.661 19.642 38.228h-43.306l23.664-38.228zM128.002 400c-44.112 0-80-35.888-80-80s35.888-80 80-80c5.869 0 11.586.653 17.099 1.859l-45.505 73.509C89.715 331.327 101.213 352 120.002 352h81.3c-12.37 28.225-40.562 48-73.3 48zm162.63-96h-35.624c-3.96-31.756-19.556-59.894-42.383-80.026L237.371 184h127.547l-74.286 120zm217.057 95.886c-41.036-2.165-74.049-35.692-75.627-76.755-.812-21.121 6.633-40.518 19.335-55.263l44.433 71.586c4.66 7.508 14.524 9.816 22.032 5.156l13.594-8.437c7.508-4.66 9.817-14.524 5.156-22.032l-44.468-71.643a79.901 79.901 0 0 1 19.858-2.497c44.112 0 80 35.888 80 80-.001 45.54-38.252 82.316-84.313 79.885z"}}},bimobject:{search:{terms:[]},styles:["brands"],label:"BIMobject",svg:{brands:{viewBox:["0","0","448","512"],path:"M416 32H32C14.4 32 0 46.4 0 64v384c0 17.6 14.4 32 32 32h384c17.6 0 32-14.4 32-32V64c0-17.6-14.4-32-32-32zm-64 257.4c0 49.4-11.4 82.6-103.8 82.6h-16.9c-44.1 0-62.4-14.9-70.4-38.8h-.9V368H96V136h64v74.7h1.1c4.6-30.5 39.7-38.8 69.7-38.8h17.3c92.4 0 103.8 33.1 103.8 82.5v35zm-64-28.9v22.9c0 21.7-3.4 33.8-38.4 33.8h-45.3c-28.9 0-44.1-6.5-44.1-35.7v-19c0-29.3 15.2-35.7 44.1-35.7h45.3c35-.2 38.4 12 38.4 33.7z"}}},binoculars:{search:{terms:[]},styles:["solid"],label:"Binoculars",svg:{solid:{viewBox:["0","0","512","512"],path:"M416 48c0-8.84-7.16-16-16-16h-64c-8.84 0-16 7.16-16 16v48h96V48zM63.91 159.99C61.4 253.84 3.46 274.22 0 404v44c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32V288h32V128H95.84c-17.63 0-31.45 14.37-31.93 31.99zm384.18 0c-.48-17.62-14.3-31.99-31.93-31.99H320v160h32v160c0 17.67 14.33 32 32 32h96c17.67 0 32-14.33 32-32v-44c-3.46-129.78-61.4-150.16-63.91-244.01zM176 32h-64c-8.84 0-16 7.16-16 16v48h96V48c0-8.84-7.16-16-16-16zm48 256h64V128h-64v160z"}}},"birthday-cake":{search:{terms:[]},styles:["solid"],label:"Birthday Cake",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 384c-28.02 0-31.26-32-74.5-32-43.43 0-46.825 32-74.75 32-27.695 0-31.454-32-74.75-32-42.842 0-47.218 32-74.5 32-28.148 0-31.202-32-74.75-32-43.547 0-46.653 32-74.75 32v-80c0-26.5 21.5-48 48-48h16V112h64v144h64V112h64v144h64V112h64v144h16c26.5 0 48 21.5 48 48v80zm0 128H0v-96c43.356 0 46.767-32 74.75-32 27.951 0 31.253 32 74.75 32 42.843 0 47.217-32 74.5-32 28.148 0 31.201 32 74.75 32 43.357 0 46.767-32 74.75-32 27.488 0 31.252 32 74.5 32v96zM96 96c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40zm128 0c-17.75 0-32-14.25-32-32 0-31 32-23 32-64 12 0 32 29.5 32 56s-14.25 40-32 40z"}}},bitbucket:{search:{terms:["bitbucket-square","git"]},styles:["brands"],label:"Bitbucket",svg:{brands:{viewBox:["0","0","512","512"],path:"M23.1 32C14.2 31.9 7 38.9 6.9 47.8c0 .9.1 1.8.2 2.8L74.9 462c1.7 10.4 10.7 18 21.2 18.1h325.1c7.9.1 14.7-5.6 16-13.4l67.8-416c1.4-8.7-4.5-16.9-13.2-18.3-.9-.1-1.8-.2-2.8-.2L23.1 32zm285.3 297.3H204.6l-28.1-146.8h157l-25.1 146.8z"}}},bitcoin:{search:{terms:[]},styles:["brands"],label:"Bitcoin",svg:{brands:{viewBox:["0","0","512","512"],path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zm-141.651-35.33c4.937-32.999-20.191-50.739-54.55-62.573l11.146-44.702-27.213-6.781-10.851 43.524c-7.154-1.783-14.502-3.464-21.803-5.13l10.929-43.81-27.198-6.781-11.153 44.686c-5.922-1.349-11.735-2.682-17.377-4.084l.031-.14-37.53-9.37-7.239 29.062s20.191 4.627 19.765 4.913c11.022 2.751 13.014 10.044 12.68 15.825l-12.696 50.925c.76.194 1.744.473 2.829.907-.907-.225-1.876-.473-2.876-.713l-17.796 71.338c-1.349 3.348-4.767 8.37-12.471 6.464.271.395-19.78-4.937-19.78-4.937l-13.51 31.147 35.414 8.827c6.588 1.651 13.045 3.379 19.4 5.006l-11.262 45.213 27.182 6.781 11.153-44.733a1038.209 1038.209 0 0 0 21.687 5.627l-11.115 44.523 27.213 6.781 11.262-45.128c46.404 8.781 81.299 5.239 95.986-36.727 11.836-33.79-.589-53.281-25.004-65.991 17.78-4.098 31.174-15.792 34.747-39.949zm-62.177 87.179c-8.41 33.79-65.308 15.523-83.755 10.943l14.944-59.899c18.446 4.603 77.6 13.717 68.811 48.956zm8.417-87.667c-7.673 30.736-55.031 15.12-70.393 11.292l13.548-54.327c15.363 3.828 64.836 10.973 56.845 43.035z"}}},bity:{search:{terms:[]},styles:["brands"],label:"Bity",svg:{brands:{viewBox:["0","0","496","512"],path:"M78.4 67.2C173.8-22 324.5-24 421.5 71c14.3 14.1-6.4 37.1-22.4 21.5-84.8-82.4-215.8-80.3-298.9-3.2-16.3 15.1-36.5-8.3-21.8-22.1zm98.9 418.6c19.3 5.7 29.3-23.6 7.9-30C73 421.9 9.4 306.1 37.7 194.8c5-19.6-24.9-28.1-30.2-7.1-32.1 127.4 41.1 259.8 169.8 298.1zm148.1-2c121.9-40.2 192.9-166.9 164.4-291-4.5-19.7-34.9-13.8-30 7.9 24.2 107.7-37.1 217.9-143.2 253.4-21.2 7-10.4 36 8.8 29.7zm-62.9-79l.2-71.8c0-8.2-6.6-14.8-14.8-14.8-8.2 0-14.8 6.7-14.8 14.8l-.2 71.8c0 8.2 6.6 14.8 14.8 14.8s14.8-6.6 14.8-14.8zm71-269c2.1 90.9 4.7 131.9-85.5 132.5-92.5-.7-86.9-44.3-85.5-132.5 0-21.8-32.5-19.6-32.5 0v71.6c0 69.3 60.7 90.9 118 90.1 57.3.8 118-20.8 118-90.1v-71.6c0-19.6-32.5-21.8-32.5 0z"}}},"black-tie":{search:{terms:[]},styles:["brands"],label:"Font Awesome Black Tie",svg:{brands:{viewBox:["0","0","448","512"],path:"M0 32v448h448V32H0zm316.5 325.2L224 445.9l-92.5-88.7 64.5-184-64.5-86.6h184.9L252 173.2l64.5 184z"}}},blackberry:{search:{terms:[]},styles:["brands"],label:"BlackBerry",svg:{brands:{viewBox:["0","0","512","512"],path:"M166 116.9c0 23.4-16.4 49.1-72.5 49.1H23.4l21-88.8h67.8c42.1 0 53.8 23.3 53.8 39.7zm126.2-39.7h-67.8L205.7 166h70.1c53.8 0 70.1-25.7 70.1-49.1.1-16.4-11.6-39.7-53.7-39.7zM88.8 208.1H21L0 296.9h70.1c56.1 0 72.5-23.4 72.5-49.1 0-16.3-11.7-39.7-53.8-39.7zm180.1 0h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1 0-16.3-11.7-39.7-53.7-39.7zm189.3-53.8h-67.8l-18.7 88.8h70.1c53.8 0 70.1-23.4 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7zm-28 137.9h-67.8L343.7 381h70.1c56.1 0 70.1-23.4 70.1-49.1 0-16.3-11.6-39.7-53.7-39.7zM240.8 346H173l-18.7 88.8h70.1c56.1 0 70.1-25.7 70.1-49.1.1-16.3-11.6-39.7-53.7-39.7z"}}},blender:{search:{terms:[]},styles:["solid"],label:"Blender",svg:{solid:{viewBox:["0","0","512","512"],path:"M416 384H160c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h320c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-128 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm40-416h166.54L512 0H48C21.49 0 0 21.49 0 48v160c0 26.51 21.49 48 48 48h103.27l8.73 96h256l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H328c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H328c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM64 192V64h69.82l11.64 128H64z"}}},"blender-phone":{search:{terms:["appliance","fantasy","silly"]},styles:["solid"],label:"Blender Phone",svg:{solid:{viewBox:["0","0","576","512"],path:"M392 64h166.54L576 0H192v352h288l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h114.18l17.46-64H392c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h140.36l17.46-64H392c-4.42 0-8-3.58-8-8V72c0-4.42 3.58-8 8-8zM158.8 335.01l-25.78-63.26c-2.78-6.81-9.8-10.99-17.24-10.26l-45.03 4.42c-17.28-46.94-17.65-99.78 0-147.72l45.03 4.42c7.43.73 14.46-3.46 17.24-10.26l25.78-63.26c3.02-7.39.2-15.85-6.68-20.07l-39.28-24.1C98.51-3.87 80.09-.5 68.95 11.97c-92.57 103.6-92 259.55 2.1 362.49 9.87 10.8 29.12 12.48 41.65 4.8l39.41-24.18c6.89-4.22 9.7-12.67 6.69-20.07zM480 384H192c-35.35 0-64 28.65-64 64v32c0 17.67 14.33 32 32 32h352c17.67 0 32-14.33 32-32v-32c0-35.35-28.65-64-64-64zm-144 96c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},blind:{search:{terms:[]},styles:["solid"],label:"Blind",svg:{solid:{viewBox:["0","0","384","512"],path:"M380.15 510.837a8 8 0 0 1-10.989-2.687l-125.33-206.427a31.923 31.923 0 0 0 12.958-9.485l126.048 207.608a8 8 0 0 1-2.687 10.991zM142.803 314.338l-32.54 89.485 36.12 88.285c6.693 16.36 25.377 24.192 41.733 17.501 16.357-6.692 24.193-25.376 17.501-41.734l-62.814-153.537zM96 88c24.301 0 44-19.699 44-44S120.301 0 96 0 52 19.699 52 44s19.699 44 44 44zm154.837 169.128l-120-152c-4.733-5.995-11.75-9.108-18.837-9.112V96H80v.026c-7.146.003-14.217 3.161-18.944 9.24L0 183.766v95.694c0 13.455 11.011 24.791 24.464 24.536C37.505 303.748 48 293.1 48 280v-79.766l16-20.571v140.698L9.927 469.055c-6.04 16.609 2.528 34.969 19.138 41.009 16.602 6.039 34.968-2.524 41.009-19.138L136 309.638V202.441l-31.406-39.816a4 4 0 1 1 6.269-4.971l102.3 129.217c9.145 11.584 24.368 11.339 33.708 3.965 10.41-8.216 12.159-23.334 3.966-33.708z"}}},blogger:{search:{terms:[]},styles:["brands"],label:"Blogger",svg:{brands:{viewBox:["0","0","448","512"],path:"M162.4 196c4.8-4.9 6.2-5.1 36.4-5.1 27.2 0 28.1.1 32.1 2.1 5.8 2.9 8.3 7 8.3 13.6 0 5.9-2.4 10-7.6 13.4-2.8 1.8-4.5 1.9-31.1 2.1-16.4.1-29.5-.2-31.5-.8-10.3-2.9-14.1-17.7-6.6-25.3zm61.4 94.5c-53.9 0-55.8.2-60.2 4.1-3.5 3.1-5.7 9.4-5.1 13.9.7 4.7 4.8 10.1 9.2 12 2.2 1 14.1 1.7 56.3 1.2l47.9-.6 9.2-1.5c9-5.1 10.5-17.4 3.1-24.4-5.3-4.7-5-4.7-60.4-4.7zm223.4 130.1c-3.5 28.4-23 50.4-51.1 57.5-7.2 1.8-9.7 1.9-172.9 1.8-157.8 0-165.9-.1-172-1.8-8.4-2.2-15.6-5.5-22.3-10-5.6-3.8-13.9-11.8-17-16.4-3.8-5.6-8.2-15.3-10-22C.1 423 0 420.3 0 256.3 0 93.2 0 89.7 1.8 82.6 8.1 57.9 27.7 39 53 33.4c7.3-1.6 332.1-1.9 340-.3 21.2 4.3 37.9 17.1 47.6 36.4 7.7 15.3 7-1.5 7.3 180.6.2 115.8 0 164.5-.7 170.5zm-85.4-185.2c-1.1-5-4.2-9.6-7.7-11.5-1.1-.6-8-1.3-15.5-1.7-12.4-.6-13.8-.8-17.8-3.1-6.2-3.6-7.9-7.6-8-18.3 0-20.4-8.5-39.4-25.3-56.5-12-12.2-25.3-20.5-40.6-25.1-3.6-1.1-11.8-1.5-39.2-1.8-42.9-.5-52.5.4-67.1 6.2-27 10.7-46.3 33.4-53.4 62.4-1.3 5.4-1.6 14.2-1.9 64.3-.4 62.8 0 72.1 4 84.5 9.7 30.7 37.1 53.4 64.6 58.4 9.2 1.7 122.2 2.1 133.7.5 20.1-2.7 35.9-10.8 50.7-25.9 10.7-10.9 17.4-22.8 21.8-38.5 3.2-10.9 2.9-88.4 1.7-93.9z"}}},"blogger-b":{search:{terms:[]},styles:["brands"],label:"Blogger B",svg:{brands:{viewBox:["0","0","448","512"],path:"M446.6 222.7c-1.8-8-6.8-15.4-12.5-18.5-1.8-1-13-2.2-25-2.7-20.1-.9-22.3-1.3-28.7-5-10.1-5.9-12.8-12.3-12.9-29.5-.1-33-13.8-63.7-40.9-91.3-19.3-19.7-40.9-33-65.5-40.5-5.9-1.8-19.1-2.4-63.3-2.9-69.4-.8-84.8.6-108.4 10C45.9 59.5 14.7 96.1 3.3 142.9 1.2 151.7.7 165.8.2 246.8c-.6 101.5.1 116.4 6.4 136.5 15.6 49.6 59.9 86.3 104.4 94.3 14.8 2.7 197.3 3.3 216 .8 32.5-4.4 58-17.5 81.9-41.9 17.3-17.7 28.1-36.8 35.2-62.1 4.9-17.6 4.5-142.8 2.5-151.7zm-322.1-63.6c7.8-7.9 10-8.2 58.8-8.2 43.9 0 45.4.1 51.8 3.4 9.3 4.7 13.4 11.3 13.4 21.9 0 9.5-3.8 16.2-12.3 21.6-4.6 2.9-7.3 3.1-50.3 3.3-26.5.2-47.7-.4-50.8-1.2-16.6-4.7-22.8-28.5-10.6-40.8zm191.8 199.8l-14.9 2.4-77.5.9c-68.1.8-87.3-.4-90.9-2-7.1-3.1-13.8-11.7-14.9-19.4-1.1-7.3 2.6-17.3 8.2-22.4 7.1-6.4 10.2-6.6 97.3-6.7 89.6-.1 89.1-.1 97.6 7.8 12.1 11.3 9.5 31.2-4.9 39.4z"}}},bluetooth:{search:{terms:[]},styles:["brands"],label:"Bluetooth",svg:{brands:{viewBox:["0","0","448","512"],path:"M292.6 171.1L249.7 214l-.3-86 43.2 43.1m-43.2 219.8l43.1-43.1-42.9-42.9-.2 86zM416 259.4C416 465 344.1 512 230.9 512S32 465 32 259.4 115.4 0 228.6 0 416 53.9 416 259.4zm-158.5 0l79.4-88.6L211.8 36.5v176.9L138 139.6l-27 26.9 92.7 93-92.7 93 26.9 26.9 73.8-73.8 2.3 170 127.4-127.5-83.9-88.7z"}}},"bluetooth-b":{search:{terms:[]},styles:["brands"],label:"Bluetooth",svg:{brands:{viewBox:["0","0","320","512"],path:"M196.48 260.023l92.626-103.333L143.125 0v206.33l-86.111-86.111-31.406 31.405 108.061 108.399L25.608 368.422l31.406 31.405 86.111-86.111L145.84 512l148.552-148.644-97.912-103.333zm40.86-102.996l-49.977 49.978-.338-100.295 50.315 50.317zM187.363 313.04l49.977 49.978-50.315 50.316.338-100.294z"}}},bold:{search:{terms:[]},styles:["solid"],label:"bold",svg:{solid:{viewBox:["0","0","384","512"],path:"M304.793 243.891c33.639-18.537 53.657-54.16 53.657-95.693 0-48.236-26.25-87.626-68.626-104.179C265.138 34.01 240.849 32 209.661 32H24c-8.837 0-16 7.163-16 16v33.049c0 8.837 7.163 16 16 16h33.113v318.53H24c-8.837 0-16 7.163-16 16V464c0 8.837 7.163 16 16 16h195.69c24.203 0 44.834-1.289 66.866-7.584C337.52 457.193 376 410.647 376 350.014c0-52.168-26.573-91.684-71.207-106.123zM142.217 100.809h67.444c16.294 0 27.536 2.019 37.525 6.717 15.828 8.479 24.906 26.502 24.906 49.446 0 35.029-20.32 56.79-53.029 56.79h-76.846V100.809zm112.642 305.475c-10.14 4.056-22.677 4.907-31.409 4.907h-81.233V281.943h84.367c39.645 0 63.057 25.38 63.057 63.057.001 28.425-13.66 52.483-34.782 61.284z"}}},bolt:{search:{terms:["electricity","lightning","weather","zap"]},styles:["solid"],label:"Lightning Bolt",svg:{solid:{viewBox:["0","0","320","512"],path:"M295.973 160H180.572L215.19 30.184C219.25 14.956 207.756 0 192 0H56C43.971 0 33.8 8.905 32.211 20.828l-31.996 240C-1.704 275.217 9.504 288 24.004 288h118.701L96.646 482.466C93.05 497.649 104.659 512 119.992 512c8.35 0 16.376-4.374 20.778-11.978l175.973-303.997c9.244-15.967-2.288-36.025-20.77-36.025z"}}},bomb:{search:{terms:[]},styles:["solid"],label:"Bomb",svg:{solid:{viewBox:["0","0","512","512"],path:"M440.5 88.5l-52 52L415 167c9.4 9.4 9.4 24.6 0 33.9l-17.4 17.4c11.8 26.1 18.4 55.1 18.4 85.6 0 114.9-93.1 208-208 208S0 418.9 0 304 93.1 96 208 96c30.5 0 59.5 6.6 85.6 18.4L311 97c9.4-9.4 24.6-9.4 33.9 0l26.5 26.5 52-52 17.1 17zM500 60h-24c-6.6 0-12 5.4-12 12s5.4 12 12 12h24c6.6 0 12-5.4 12-12s-5.4-12-12-12zM440 0c-6.6 0-12 5.4-12 12v24c0 6.6 5.4 12 12 12s12-5.4 12-12V12c0-6.6-5.4-12-12-12zm33.9 55l17-17c4.7-4.7 4.7-12.3 0-17-4.7-4.7-12.3-4.7-17 0l-17 17c-4.7 4.7-4.7 12.3 0 17 4.8 4.7 12.4 4.7 17 0zm-67.8 0c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17zm67.8 34c-4.7-4.7-12.3-4.7-17 0-4.7 4.7-4.7 12.3 0 17l17 17c4.7 4.7 12.3 4.7 17 0 4.7-4.7 4.7-12.3 0-17l-17-17zM112 272c0-35.3 28.7-64 64-64 8.8 0 16-7.2 16-16s-7.2-16-16-16c-52.9 0-96 43.1-96 96 0 8.8 7.2 16 16 16s16-7.2 16-16z"}}},bone:{search:{terms:[]},styles:["solid"],label:"Bone",svg:{solid:{viewBox:["0","0","640","512"],path:"M598.88 244.56c25.2-12.6 41.12-38.36 41.12-66.53v-7.64C640 129.3 606.7 96 565.61 96c-32.02 0-60.44 20.49-70.57 50.86-7.68 23.03-11.6 45.14-38.11 45.14H183.06c-27.38 0-31.58-25.54-38.11-45.14C134.83 116.49 106.4 96 74.39 96 33.3 96 0 129.3 0 170.39v7.64c0 28.17 15.92 53.93 41.12 66.53 9.43 4.71 9.43 18.17 0 22.88C15.92 280.04 0 305.8 0 333.97v7.64C0 382.7 33.3 416 74.38 416c32.02 0 60.44-20.49 70.57-50.86 7.68-23.03 11.6-45.14 38.11-45.14h273.87c27.38 0 31.58 25.54 38.11 45.14C505.17 395.51 533.6 416 565.61 416c41.08 0 74.38-33.3 74.38-74.39v-7.64c0-28.18-15.92-53.93-41.12-66.53-9.42-4.71-9.42-18.17.01-22.88z"}}},bong:{search:{terms:["aparatus","cannabis","marijuana","pipe","smoke","smoking"]},styles:["solid"],label:"Bong",svg:{solid:{viewBox:["0","0","448","512"],path:"M302.5 512c23.18 0 44.43-12.58 56-32.66C374.69 451.26 384 418.75 384 384c0-36.12-10.08-69.81-27.44-98.62L400 241.94l9.38 9.38c6.25 6.25 16.38 6.25 22.63 0l11.3-11.32c6.25-6.25 6.25-16.38 0-22.63l-52.69-52.69c-6.25-6.25-16.38-6.25-22.63 0l-11.31 11.31c-6.25 6.25-6.25 16.38 0 22.63l9.38 9.38-39.41 39.41c-11.56-11.37-24.53-21.33-38.65-29.51V63.74l15.97-.02c8.82-.01 15.97-7.16 15.98-15.98l.04-31.72C320 7.17 312.82-.01 303.97 0L80.03.26c-8.82.01-15.97 7.16-15.98 15.98l-.04 31.73c-.01 8.85 7.17 16.02 16.02 16.01L96 63.96v153.93C38.67 251.1 0 312.97 0 384c0 34.75 9.31 67.27 25.5 95.34C37.08 499.42 58.33 512 81.5 512h221zM120.06 259.43L144 245.56V63.91l96-.11v181.76l23.94 13.87c24.81 14.37 44.12 35.73 56.56 60.57h-257c12.45-24.84 31.75-46.2 56.56-60.57z"}}},book:{search:{terms:["documentation","read"]},styles:["solid"],label:"book",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 360V24c0-13.3-10.7-24-24-24H96C43 0 0 43 0 96v320c0 53 43 96 96 96h328c13.3 0 24-10.7 24-24v-16c0-7.5-3.5-14.3-8.9-18.7-4.2-15.4-4.2-59.3 0-74.7 5.4-4.3 8.9-11.1 8.9-18.6zM128 134c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm0 64c0-3.3 2.7-6 6-6h212c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H134c-3.3 0-6-2.7-6-6v-20zm253.4 250H96c-17.7 0-32-14.3-32-32 0-17.6 14.4-32 32-32h285.4c-1.9 17.1-1.9 46.9 0 64z"}}},"book-dead":{search:{terms:["Dungeons & Dragons","crossbones","d&d","dark arts","death","dnd","documentation","evil","fantasy","halloween","holiday","read","skull","spell"]},styles:["solid"],label:"Book of the Dead",svg:{solid:{viewBox:["0","0","448","512"],path:"M272 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16zm176 222.4V25.6c0-16-9.6-25.6-25.6-25.6H96C41.6 0 0 41.6 0 96v320c0 54.4 41.6 96 96 96h326.4c12.8 0 25.6-9.6 25.6-25.6v-16c0-6.4-3.2-12.8-9.6-19.2-3.2-16-3.2-60.8 0-73.6 6.4-3.2 9.6-9.6 9.6-19.2zM240 56c44.18 0 80 28.65 80 64 0 20.87-12.68 39.23-32 50.91V184c0 8.84-7.16 16-16 16h-64c-8.84 0-16-7.16-16-16v-13.09c-19.32-11.68-32-30.04-32-50.91 0-35.35 35.82-64 80-64zM129.05 233.85a7.996 7.996 0 0 1-4.2-10.5l6.29-14.7a7.995 7.995 0 0 1 10.51-4.2L240 246.6l98.35-42.15c4.06-1.74 8.77.14 10.51 4.2l6.29 14.7a7.996 7.996 0 0 1-4.2 10.5L280.6 264l70.34 30.15a7.996 7.996 0 0 1 4.2 10.5l-6.29 14.7a8.008 8.008 0 0 1-10.51 4.21L240 281.4l-98.35 42.15a8.003 8.003 0 0 1-10.51-4.21l-6.29-14.7a7.996 7.996 0 0 1 4.2-10.5L199.4 264l-70.35-30.15zM380.8 448H96c-19.2 0-32-12.8-32-32s16-32 32-32h284.8v64zM208 136c8.84 0 16-7.16 16-16s-7.16-16-16-16-16 7.16-16 16 7.16 16 16 16z"}}},"book-open":{search:{terms:["flyer","notebook","open book","pamphlet","reading"]},styles:["solid"],label:"Book Open",svg:{solid:{viewBox:["0","0","576","512"],path:"M542.22 32.05c-54.8 3.11-163.72 14.43-230.96 55.59-4.64 2.84-7.27 7.89-7.27 13.17v363.87c0 11.55 12.63 18.85 23.28 13.49 69.18-34.82 169.23-44.32 218.7-46.92 16.89-.89 30.02-14.43 30.02-30.66V62.75c.01-17.71-15.35-31.74-33.77-30.7zM264.73 87.64C197.5 46.48 88.58 35.17 33.78 32.05 15.36 31.01 0 45.04 0 62.75V400.6c0 16.24 13.13 29.78 30.02 30.66 49.49 2.6 149.59 12.11 218.77 46.95 10.62 5.35 23.21-1.94 23.21-13.46V100.63c0-5.29-2.62-10.14-7.27-12.99z"}}},"book-reader":{search:{terms:["library"]},styles:["solid"],label:"Book Reader",svg:{solid:{viewBox:["0","0","512","512"],path:"M352 96c0-53.02-42.98-96-96-96s-96 42.98-96 96 42.98 96 96 96 96-42.98 96-96zM233.59 241.1c-59.33-36.32-155.43-46.3-203.79-49.05C13.55 191.13 0 203.51 0 219.14v222.8c0 14.33 11.59 26.28 26.49 27.05 43.66 2.29 131.99 10.68 193.04 41.43 9.37 4.72 20.48-1.71 20.48-11.87V252.56c-.01-4.67-2.32-8.95-6.42-11.46zm248.61-49.05c-48.35 2.74-144.46 12.73-203.78 49.05-4.1 2.51-6.41 6.96-6.41 11.63v245.79c0 10.19 11.14 16.63 20.54 11.9 61.04-30.72 149.32-39.11 192.97-41.4 14.9-.78 26.49-12.73 26.49-27.06V219.14c-.01-15.63-13.56-28.01-29.81-27.09z"}}},bookmark:{search:{terms:["save"]},styles:["solid","regular"],label:"bookmark",svg:{solid:{viewBox:["0","0","384","512"],path:"M0 512V48C0 21.49 21.49 0 48 0h288c26.51 0 48 21.49 48 48v464L192 400 0 512z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"/></svg>',viewBox:["0","0","384","512"],width:384,height:512,path:"M336 0H48C21.49 0 0 21.49 0 48v464l192-112 192 112V48c0-26.51-21.49-48-48-48zm0 428.43l-144-84-144 84V54a6 6 0 0 1 6-6h276c3.314 0 6 2.683 6 5.996V428.43z"}}},"bowling-ball":{search:{terms:[]},styles:["solid"],label:"Bowling Ball",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM120 192c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm64-96c0-17.7 14.3-32 32-32s32 14.3 32 32-14.3 32-32 32-32-14.3-32-32zm48 144c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"}}},box:{search:{terms:["package"]},styles:["solid"],label:"Box",svg:{solid:{viewBox:["0","0","512","512"],path:"M509.5 184.6L458.9 32.8C452.4 13.2 434.1 0 413.4 0H272v192h238.7c-.4-2.5-.4-5-1.2-7.4zM240 0H98.6c-20.7 0-39 13.2-45.5 32.8L2.5 184.6c-.8 2.4-.8 4.9-1.2 7.4H240V0zM0 224v240c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V224H0z"}}},"box-open":{search:{terms:[]},styles:["solid"],label:"Box Open",svg:{solid:{viewBox:["0","0","640","512"],path:"M53.2 41L1.7 143.8c-4.6 9.2.3 20.2 10.1 23l197.9 56.5c7.1 2 14.7-1 18.5-7.3L320 64 69.8 32.1c-6.9-.8-13.5 2.7-16.6 8.9zm585.1 102.8L586.8 41c-3.1-6.2-9.8-9.8-16.7-8.9L320 64l91.7 152.1c3.8 6.3 11.4 9.3 18.5 7.3l197.9-56.5c9.9-2.9 14.7-13.9 10.2-23.1zM425.7 256c-16.9 0-32.8-9-41.4-23.4L320 126l-64.2 106.6c-8.7 14.5-24.6 23.5-41.5 23.5-4.5 0-9-.6-13.3-1.9L64 215v178c0 14.7 10 27.5 24.2 31l216.2 54.1c10.2 2.5 20.9 2.5 31 0L551.8 424c14.2-3.6 24.2-16.4 24.2-31V215l-137 39.1c-4.3 1.3-8.8 1.9-13.3 1.9z"}}},boxes:{search:{terms:[]},styles:["solid"],label:"Boxes",svg:{solid:{viewBox:["0","0","576","512"],path:"M560 288h-80v96l-32-21.3-32 21.3v-96h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16zm-384-64h224c8.8 0 16-7.2 16-16V16c0-8.8-7.2-16-16-16h-80v96l-32-21.3L256 96V0h-80c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16zm64 64h-80v96l-32-21.3L96 384v-96H16c-8.8 0-16 7.2-16 16v192c0 8.8 7.2 16 16 16h224c8.8 0 16-7.2 16-16V304c0-8.8-7.2-16-16-16z"}}},braille:{search:{terms:[]},styles:["solid"],label:"Braille",svg:{solid:{viewBox:["0","0","640","512"],path:"M128 256c0 35.346-28.654 64-64 64S0 291.346 0 256s28.654-64 64-64 64 28.654 64 64zM64 384c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352C28.654 32 0 60.654 0 96s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm224 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-352c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zm160 192c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0 160c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32zm0-320c-17.673 0-32 14.327-32 32s14.327 32 32 32 32-14.327 32-32-14.327-32-32-32z"}}},brain:{search:{terms:["cerebellum","gray matter","intellect","medulla oblongata","mind","noodle","wit"]},styles:["solid"],label:"Brain",svg:{solid:{viewBox:["0","0","576","512"],path:"M208 0c-29.87 0-54.74 20.55-61.8 48.22-.75-.02-1.45-.22-2.2-.22-35.34 0-64 28.65-64 64 0 4.84.64 9.51 1.66 14.04C52.54 138 32 166.57 32 200c0 12.58 3.16 24.32 8.34 34.91C16.34 248.72 0 274.33 0 304c0 33.34 20.42 61.88 49.42 73.89-.9 4.57-1.42 9.28-1.42 14.11 0 39.76 32.23 72 72 72 4.12 0 8.1-.55 12.03-1.21C141.61 491.31 168.25 512 200 512c39.77 0 72-32.24 72-72V205.45c-10.91 8.98-23.98 15.45-38.36 18.39-4.97 1.02-9.64-2.82-9.64-7.89v-16.18c0-3.57 2.35-6.78 5.8-7.66 24.2-6.16 42.2-27.95 42.2-54.04V64c0-35.35-28.66-64-64-64zm368 304c0-29.67-16.34-55.28-40.34-69.09 5.17-10.59 8.34-22.33 8.34-34.91 0-33.43-20.54-62-49.66-73.96 1.02-4.53 1.66-9.2 1.66-14.04 0-35.35-28.66-64-64-64-.75 0-1.45.2-2.2.22C422.74 20.55 397.87 0 368 0c-35.34 0-64 28.65-64 64v74.07c0 26.09 17.99 47.88 42.2 54.04 3.46.88 5.8 4.09 5.8 7.66v16.18c0 5.07-4.68 8.91-9.64 7.89-14.38-2.94-27.44-9.41-38.36-18.39V440c0 39.76 32.23 72 72 72 31.75 0 58.39-20.69 67.97-49.21 3.93.67 7.91 1.21 12.03 1.21 39.77 0 72-32.24 72-72 0-4.83-.52-9.54-1.42-14.11 29-12.01 49.42-40.55 49.42-73.89z"}}},briefcase:{search:{terms:["bag","business","luggage","office","work"]},styles:["solid"],label:"Briefcase",svg:{solid:{viewBox:["0","0","512","512"],path:"M320 336c0 8.84-7.16 16-16 16h-96c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h416c25.6 0 48-22.4 48-48V288H320v48zm144-208h-80V80c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h512v-80c0-25.6-22.4-48-48-48zm-144 0H192V96h128v32z"}}},"briefcase-medical":{search:{terms:["health briefcase"]},styles:["solid"],label:"Medical Briefcase",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 128h-80V80c0-26.5-21.5-48-48-48H176c-26.5 0-48 21.5-48 48v48H48c-26.5 0-48 21.5-48 48v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V176c0-26.5-21.5-48-48-48zM192 96h128v32H192V96zm160 248c0 4.4-3.6 8-8 8h-56v56c0 4.4-3.6 8-8 8h-48c-4.4 0-8-3.6-8-8v-56h-56c-4.4 0-8-3.6-8-8v-48c0-4.4 3.6-8 8-8h56v-56c0-4.4 3.6-8 8-8h48c4.4 0 8 3.6 8 8v56h56c4.4 0 8 3.6 8 8v48z"}}},"broadcast-tower":{search:{terms:["airwaves","radio","waves"]},styles:["solid"],label:"Broadcast Tower",svg:{solid:{viewBox:["0","0","640","512"],path:"M150.94 192h33.73c11.01 0 18.61-10.83 14.86-21.18-4.93-13.58-7.55-27.98-7.55-42.82s2.62-29.24 7.55-42.82C203.29 74.83 195.68 64 184.67 64h-33.73c-7.01 0-13.46 4.49-15.41 11.23C130.64 92.21 128 109.88 128 128c0 18.12 2.64 35.79 7.54 52.76 1.94 6.74 8.39 11.24 15.4 11.24zM89.92 23.34C95.56 12.72 87.97 0 75.96 0H40.63c-6.27 0-12.14 3.59-14.74 9.31C9.4 45.54 0 85.65 0 128c0 24.75 3.12 68.33 26.69 118.86 2.62 5.63 8.42 9.14 14.61 9.14h34.84c12.02 0 19.61-12.74 13.95-23.37-49.78-93.32-16.71-178.15-.17-209.29zM614.06 9.29C611.46 3.58 605.6 0 599.33 0h-35.42c-11.98 0-19.66 12.66-14.02 23.25 18.27 34.29 48.42 119.42.28 209.23-5.72 10.68 1.8 23.52 13.91 23.52h35.23c6.27 0 12.13-3.58 14.73-9.29C630.57 210.48 640 170.36 640 128s-9.42-82.48-25.94-118.71zM489.06 64h-33.73c-11.01 0-18.61 10.83-14.86 21.18 4.93 13.58 7.55 27.98 7.55 42.82s-2.62 29.24-7.55 42.82c-3.76 10.35 3.85 21.18 14.86 21.18h33.73c7.02 0 13.46-4.49 15.41-11.24 4.9-16.97 7.53-34.64 7.53-52.76 0-18.12-2.64-35.79-7.54-52.76-1.94-6.75-8.39-11.24-15.4-11.24zm-116.3 100.12c7.05-10.29 11.2-22.71 11.2-36.12 0-35.35-28.63-64-63.96-64-35.32 0-63.96 28.65-63.96 64 0 13.41 4.15 25.83 11.2 36.12l-130.5 313.41c-3.4 8.15.46 17.52 8.61 20.92l29.51 12.31c8.15 3.4 17.52-.46 20.91-8.61L244.96 384h150.07l49.2 118.15c3.4 8.16 12.76 12.01 20.91 8.61l29.51-12.31c8.15-3.4 12-12.77 8.61-20.92l-130.5-313.41zM271.62 320L320 203.81 368.38 320h-96.76z"}}},broom:{search:{terms:["clean","firebolt","fly","halloween","holiday","nimbus 2000","quidditch","sweep","witch"]},styles:["solid"],label:"Broom",svg:{solid:{viewBox:["0","0","640","512"],path:"M256.47 216.77l86.73 109.18s-16.6 102.36-76.57 150.12C206.66 523.85 0 510.19 0 510.19s3.8-23.14 11-55.43l94.62-112.17c3.97-4.7-.87-11.62-6.65-9.5l-60.4 22.09c14.44-41.66 32.72-80.04 54.6-97.47 59.97-47.76 163.3-40.94 163.3-40.94zM636.53 31.03l-19.86-25c-5.49-6.9-15.52-8.05-22.41-2.56l-232.48 177.8-34.14-42.97c-5.09-6.41-15.14-5.21-18.59 2.21l-25.33 54.55 86.73 109.18 58.8-12.45c8-1.69 11.42-11.2 6.34-17.6l-34.09-42.92 232.48-177.8c6.89-5.48 8.04-15.53 2.55-22.44z"}}},brush:{search:{terms:["bristles","color","handle","painting"]},styles:["solid"],label:"Brush",svg:{solid:{viewBox:["0","0","384","512"],path:"M352 0H32C14.33 0 0 14.33 0 32v224h384V32c0-17.67-14.33-32-32-32zM0 320c0 35.35 28.66 64 64 64h64v64c0 35.35 28.66 64 64 64s64-28.65 64-64v-64h64c35.34 0 64-28.65 64-64v-32H0v32zm192 104c13.25 0 24 10.74 24 24 0 13.25-10.75 24-24 24s-24-10.75-24-24c0-13.26 10.75-24 24-24z"}}},btc:{search:{terms:[]},styles:["brands"],label:"BTC",svg:{brands:{viewBox:["0","0","384","512"],path:"M310.204 242.638c27.73-14.18 45.377-39.39 41.28-81.3-5.358-57.351-52.458-76.573-114.85-81.929V0h-48.528v77.203c-12.605 0-25.525.315-38.444.63V0h-48.528v79.409c-17.842.539-38.622.276-97.37 0v51.678c38.314-.678 58.417-3.14 63.023 21.427v217.429c-2.925 19.492-18.524 16.685-53.255 16.071L3.765 443.68c88.481 0 97.37.315 97.37.315V512h48.528v-67.06c13.234.315 26.154.315 38.444.315V512h48.528v-68.005c81.299-4.412 135.647-24.894 142.895-101.467 5.671-61.446-23.32-88.862-69.326-99.89zM150.608 134.553c27.415 0 113.126-8.507 113.126 48.528 0 54.515-85.71 48.212-113.126 48.212v-96.74zm0 251.776V279.821c32.772 0 133.127-9.138 133.127 53.255-.001 60.186-100.355 53.253-133.127 53.253z"}}},bug:{search:{terms:["insect","report"]},styles:["solid"],label:"Bug",svg:{solid:{viewBox:["0","0","512","512"],path:"M511.988 288.9c-.478 17.43-15.217 31.1-32.653 31.1H424v16c0 21.864-4.882 42.584-13.6 61.145l60.228 60.228c12.496 12.497 12.496 32.758 0 45.255-12.498 12.497-32.759 12.496-45.256 0l-54.736-54.736C345.886 467.965 314.351 480 280 480V236c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v244c-34.351 0-65.886-12.035-90.636-32.108l-54.736 54.736c-12.498 12.497-32.759 12.496-45.256 0-12.496-12.497-12.496-32.758 0-45.255l60.228-60.228C92.882 378.584 88 357.864 88 336v-16H32.666C15.23 320 .491 306.33.013 288.9-.484 270.816 14.028 256 32 256h56v-58.745l-46.628-46.628c-12.496-12.497-12.496-32.758 0-45.255 12.498-12.497 32.758-12.497 45.256 0L141.255 160h229.489l54.627-54.627c12.498-12.497 32.758-12.497 45.256 0 12.496 12.497 12.496 32.758 0 45.255L424 197.255V256h56c17.972 0 32.484 14.816 31.988 32.9zM257 0c-61.856 0-112 50.144-112 112h224C369 50.144 318.856 0 257 0z"}}},building:{search:{terms:["apartment","business","company","office","work"]},styles:["solid","regular"],label:"Building",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 480h-20V24c0-13.255-10.745-24-24-24H56C42.745 0 32 10.745 32 24v456H12c-6.627 0-12 5.373-12 12v20h448v-20c0-6.627-5.373-12-12-12zM128 76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76zm0 96c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40zm52 148h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40c0 6.627-5.373 12-12 12zm76 160h-64v-84c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v84zm64-172c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12v-40c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40zm0-96c0 6.627-5.373 12-12 12h-40c-6.627 0-12-5.373-12-12V76c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M128 148v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12h-40c-6.6 0-12-5.4-12-12zm140 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-128 96h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm128 0h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm-76 84v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm76 12h40c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12zm180 124v36H0v-36c0-6.6 5.4-12 12-12h19.5V24c0-13.3 10.7-24 24-24h337c13.3 0 24 10.7 24 24v440H436c6.6 0 12 5.4 12 12zM79.5 463H192v-67c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v67h112.5V49L80 48l-.5 415z"}}},bullhorn:{search:{terms:["announcement","broadcast","louder","megaphone","share"]},styles:["solid"],label:"bullhorn",svg:{solid:{viewBox:["0","0","576","512"],path:"M576 240c0-23.63-12.95-44.04-32-55.12V32.01C544 23.26 537.02 0 512 0c-7.12 0-14.19 2.38-19.98 7.02l-85.03 68.03C364.28 109.19 310.66 128 256 128H64c-35.35 0-64 28.65-64 64v96c0 35.35 28.65 64 64 64h33.7c-1.39 10.48-2.18 21.14-2.18 32 0 39.77 9.26 77.35 25.56 110.94 5.19 10.69 16.52 17.06 28.4 17.06h74.28c26.05 0 41.69-29.84 25.9-50.56-16.4-21.52-26.15-48.36-26.15-77.44 0-11.11 1.62-21.79 4.41-32H256c54.66 0 108.28 18.81 150.98 52.95l85.03 68.03a32.023 32.023 0 0 0 19.98 7.02c24.92 0 32-22.78 32-32V295.13C563.05 284.04 576 263.63 576 240zm-96 141.42l-33.05-26.44C392.95 311.78 325.12 288 256 288v-96c69.12 0 136.95-23.78 190.95-66.98L480 98.58v282.84z"}}},bullseye:{search:{terms:["target"]},styles:["solid"],label:"Bullseye",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 432c-101.69 0-184-82.29-184-184 0-101.69 82.29-184 184-184 101.69 0 184 82.29 184 184 0 101.69-82.29 184-184 184zm0-312c-70.69 0-128 57.31-128 128s57.31 128 128 128 128-57.31 128-128-57.31-128-128-128zm0 192c-35.29 0-64-28.71-64-64s28.71-64 64-64 64 28.71 64 64-28.71 64-64 64z"}}},burn:{search:{terms:["energy"]},styles:["solid"],label:"Burn",svg:{solid:{viewBox:["0","0","384","512"],path:"M192 0C79.7 101.3 0 220.9 0 300.5 0 425 79 512 192 512s192-87 192-211.5c0-79.9-80.2-199.6-192-300.5zm0 448c-56.5 0-96-39-96-94.8 0-13.5 4.6-61.5 96-161.2 91.4 99.7 96 147.7 96 161.2 0 55.8-39.5 94.8-96 94.8z"}}},buromobelexperte:{search:{terms:[]},styles:["brands"],label:"B\xfcrom\xf6bel-Experte GmbH & Co. KG.",svg:{brands:{viewBox:["0","0","448","512"],path:"M0 32v128h128V32H0zm120 120H8V40h112v112zm40-120v128h128V32H160zm120 120H168V40h112v112zm40-120v128h128V32H320zm120 120H328V40h112v112zM0 192v128h128V192H0zm120 120H8V200h112v112zm40-120v128h128V192H160zm120 120H168V200h112v112zm40-120v128h128V192H320zm120 120H328V200h112v112zM0 352v128h128V352H0zm120 120H8V360h112v112zm40-120v128h128V352H160zm120 120H168V360h112v112zm40-120v128h128V352H320z"}}},bus:{search:{terms:["machine","public transportation","transportation","vehicle"]},styles:["solid"],label:"Bus",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM112 400c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm16-112c-17.67 0-32-14.33-32-32V128c0-17.67 14.33-32 32-32h256c17.67 0 32 14.33 32 32v128c0 17.67-14.33 32-32 32H128zm272 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"bus-alt":{search:{terms:["machine","public transportation","transportation","vehicle"]},styles:["solid"],label:"Bus Alt",svg:{solid:{viewBox:["0","0","512","512"],path:"M488 128h-8V80c0-44.8-99.2-80-224-80S32 35.2 32 80v48h-8c-13.25 0-24 10.74-24 24v80c0 13.25 10.75 24 24 24h8v160c0 17.67 14.33 32 32 32v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h192v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h6.4c16 0 25.6-12.8 25.6-25.6V256h8c13.25 0 24-10.75 24-24v-80c0-13.26-10.75-24-24-24zM160 72c0-4.42 3.58-8 8-8h176c4.42 0 8 3.58 8 8v16c0 4.42-3.58 8-8 8H168c-4.42 0-8-3.58-8-8V72zm-48 328c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm128-112H128c-17.67 0-32-14.33-32-32v-96c0-17.67 14.33-32 32-32h112v160zm32 0V128h112c17.67 0 32 14.33 32 32v96c0 17.67-14.33 32-32 32H272zm128 112c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"business-time":{search:{terms:["briefcase","business socks","clock","flight of the conchords","wednesday"]},styles:["solid"],label:"Business Time",svg:{solid:{viewBox:["0","0","640","512"],path:"M496 224c-79.59 0-144 64.41-144 144s64.41 144 144 144 144-64.41 144-144-64.41-144-144-144zm64 150.29c0 5.34-4.37 9.71-9.71 9.71h-60.57c-5.34 0-9.71-4.37-9.71-9.71v-76.57c0-5.34 4.37-9.71 9.71-9.71h12.57c5.34 0 9.71 4.37 9.71 9.71V352h38.29c5.34 0 9.71 4.37 9.71 9.71v12.58zM496 192c5.4 0 10.72.33 16 .81V144c0-25.6-22.4-48-48-48h-80V48c0-25.6-22.4-48-48-48H176c-25.6 0-48 22.4-48 48v48H48c-25.6 0-48 22.4-48 48v80h395.12c28.6-20.09 63.35-32 100.88-32zM320 96H192V64h128v32zm6.82 224H208c-8.84 0-16-7.16-16-16v-48H0v144c0 25.6 22.4 48 48 48h291.43C327.1 423.96 320 396.82 320 368c0-16.66 2.48-32.72 6.82-48z"}}},buysellads:{search:{terms:[]},styles:["brands"],label:"BuySellAds",svg:{brands:{viewBox:["0","0","448","512"],path:"M224 150.7l42.9 160.7h-85.8L224 150.7zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-65.3 325.3l-94.5-298.7H159.8L65.3 405.3H156l111.7-91.6 24.2 91.6h90.8z"}}},calculator:{search:{terms:[]},styles:["solid"],label:"Calculator",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 0H48C22.4 0 0 22.4 0 48v416c0 25.6 22.4 48 48 48h352c25.6 0 48-22.4 48-48V48c0-25.6-22.4-48-48-48zM128 435.2c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm0-128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8v-38.4c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v38.4zm128 128c0 6.4-6.4 12.8-12.8 12.8h-38.4c-6.4 0-12.8-6.4-12.8-12.8V268.8c0-6.4 6.4-12.8 12.8-12.8h38.4c6.4 0 12.8 6.4 12.8 12.8v166.4zm0-256c0 6.4-6.4 12.8-12.8 12.8H76.8c-6.4 0-12.8-6.4-12.8-12.8V76.8C64 70.4 70.4 64 76.8 64h294.4c6.4 0 12.8 6.4 12.8 12.8v102.4z"}}},calendar:{search:{terms:["calendar-o","date","event","schedule","time","when"]},styles:["solid","regular"],label:"Calendar",svg:{solid:{viewBox:["0","0","448","512"],path:"M12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm436-44v-36c0-26.5-21.5-48-48-48h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v36c0 6.6 5.4 12 12 12h424c6.6 0 12-5.4 12-12z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 64h-48V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H160V12c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v52H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 400H54c-3.3 0-6-2.7-6-6V160h352v298c0 3.3-2.7 6-6 6z"}}},"calendar-alt":{search:{terms:["calendar","date","event","schedule","time","when"]},styles:["solid","regular"],label:"Alternate Calendar",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm116 204c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12H76c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm128 128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40zm0-128c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M148 288h-40c-6.6 0-12-5.4-12-12v-40c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm108-12v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 96v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm-96 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-40c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm96-260v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-check":{search:{terms:["accept","agree","appointment","confirm","correct","done","ok","select","success","todo"]},styles:["solid","regular"],label:"Calendar Check",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.627 0-12-5.373-12-12v-36c0-26.51 21.49-48 48-48h48V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h128V12c0-6.627 5.373-12 12-12h40c6.627 0 12 5.373 12 12v52h48c26.51 0 48 21.49 48 48v36c0 6.627-5.373 12-12 12zM12 192h424c6.627 0 12 5.373 12 12v260c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V204c0-6.627 5.373-12 12-12zm333.296 95.947l-28.169-28.398c-4.667-4.705-12.265-4.736-16.97-.068L194.12 364.665l-45.98-46.352c-4.667-4.705-12.266-4.736-16.971-.068l-28.397 28.17c-4.705 4.667-4.736 12.265-.068 16.97l82.601 83.269c4.667 4.705 12.265 4.736 16.97.068l142.953-141.805c4.705-4.667 4.736-12.265.068-16.97z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 64h-48V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H160V12c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v52H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V160h352v298a6 6 0 0 1-6 6zm-52.849-200.65L198.842 404.519c-4.705 4.667-12.303 4.637-16.971-.068l-75.091-75.699c-4.667-4.705-4.637-12.303.068-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l44.104 44.461 111.072-110.181c4.705-4.667 12.303-4.637 16.971.068l22.536 22.718c4.667 4.705 4.636 12.303-.069 16.97z"}}},"calendar-minus":{search:{terms:["delete","negative","remove"]},styles:["solid","regular"],label:"Calendar Minus",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm304 192c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H132c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h184z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M124 328c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h200c6.6 0 12 5.4 12 12v24c0 6.6-5.4 12-12 12H124zm324-216v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-plus":{search:{terms:["add","create","new","positive"]},styles:["solid","regular"],label:"Calendar Plus",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm316 140c0-6.6-5.4-12-12-12h-60v-60c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v60h-60c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h60v60c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12v-60h60c6.6 0 12-5.4 12-12v-40z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M336 292v24c0 6.6-5.4 12-12 12h-76v76c0 6.6-5.4 12-12 12h-24c-6.6 0-12-5.4-12-12v-76h-76c-6.6 0-12-5.4-12-12v-24c0-6.6 5.4-12 12-12h76v-76c0-6.6 5.4-12 12-12h24c6.6 0 12 5.4 12 12v76h76c6.6 0 12 5.4 12 12zm112-180v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"calendar-times":{search:{terms:["archive","delete","remove","x"]},styles:["solid","regular"],label:"Calendar Times",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 160H12c-6.6 0-12-5.4-12-12v-36c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48v36c0 6.6-5.4 12-12 12zM12 192h424c6.6 0 12 5.4 12 12v260c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V204c0-6.6 5.4-12 12-12zm257.3 160l48.1-48.1c4.7-4.7 4.7-12.3 0-17l-28.3-28.3c-4.7-4.7-12.3-4.7-17 0L224 306.7l-48.1-48.1c-4.7-4.7-12.3-4.7-17 0l-28.3 28.3c-4.7 4.7-4.7 12.3 0 17l48.1 48.1-48.1 48.1c-4.7 4.7-4.7 12.3 0 17l28.3 28.3c4.7 4.7 12.3 4.7 17 0l48.1-48.1 48.1 48.1c4.7 4.7 12.3 4.7 17 0l28.3-28.3c4.7-4.7 4.7-12.3 0-17L269.3 352z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M311.7 374.7l-17 17c-4.7 4.7-12.3 4.7-17 0L224 337.9l-53.7 53.7c-4.7 4.7-12.3 4.7-17 0l-17-17c-4.7-4.7-4.7-12.3 0-17l53.7-53.7-53.7-53.7c-4.7-4.7-4.7-12.3 0-17l17-17c4.7-4.7 12.3-4.7 17 0l53.7 53.7 53.7-53.7c4.7-4.7 12.3-4.7 17 0l17 17c4.7 4.7 4.7 12.3 0 17L257.9 304l53.7 53.7c4.8 4.7 4.8 12.3.1 17zM448 112v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V112c0-26.5 21.5-48 48-48h48V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h128V12c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v52h48c26.5 0 48 21.5 48 48zm-48 346V160H48v298c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},camera:{search:{terms:["photo","picture","record"]},styles:["solid"],label:"camera",svg:{solid:{viewBox:["0","0","512","512"],path:"M512 144v288c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V144c0-26.5 21.5-48 48-48h88l12.3-32.9c7-18.7 24.9-31.1 44.9-31.1h125.5c20 0 37.9 12.4 44.9 31.1L376 96h88c26.5 0 48 21.5 48 48zM376 288c0-66.2-53.8-120-120-120s-120 53.8-120 120 53.8 120 120 120 120-53.8 120-120zm-32 0c0 48.5-39.5 88-88 88s-88-39.5-88-88 39.5-88 88-88 88 39.5 88 88z"}}},"camera-retro":{search:{terms:["photo","picture","record"]},styles:["solid"],label:"Retro Camera",svg:{solid:{viewBox:["0","0","512","512"],path:"M48 32C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48H48zm0 32h106c3.3 0 6 2.7 6 6v20c0 3.3-2.7 6-6 6H38c-3.3 0-6-2.7-6-6V80c0-8.8 7.2-16 16-16zm426 96H38c-3.3 0-6-2.7-6-6v-36c0-3.3 2.7-6 6-6h138l30.2-45.3c1.1-1.7 3-2.7 5-2.7H464c8.8 0 16 7.2 16 16v74c0 3.3-2.7 6-6 6zM256 424c-66.2 0-120-53.8-120-120s53.8-120 120-120 120 53.8 120 120-53.8 120-120 120zm0-208c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm-48 104c-8.8 0-16-7.2-16-16 0-35.3 28.7-64 64-64 8.8 0 16 7.2 16 16s-7.2 16-16 16c-17.6 0-32 14.4-32 32 0 8.8-7.2 16-16 16z"}}},campground:{search:{terms:["camping","fall","outdoors","seasonal","tent"]},styles:["solid"],label:"Campground",svg:{solid:{viewBox:["0","0","640","512"],path:"M624 448h-24.68L359.54 117.75l53.41-73.55c5.19-7.15 3.61-17.16-3.54-22.35l-25.9-18.79c-7.15-5.19-17.15-3.61-22.35 3.55L320 63.3 278.83 6.6c-5.19-7.15-15.2-8.74-22.35-3.55l-25.88 18.8c-7.15 5.19-8.74 15.2-3.54 22.35l53.41 73.55L40.68 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM320 288l116.36 160H203.64L320 288z"}}},cannabis:{search:{terms:["bud","chronic","drugs","endica","endo","ganja","marijuana","mary jane","pot","reefer","sativa","spliff","weed","whacky-tabacky"]},styles:["solid"],label:"Cannabis",svg:{solid:{viewBox:["0","0","512","512"],path:"M503.47 360.25c-1.56-.82-32.39-16.89-76.78-25.81 64.25-75.12 84.05-161.67 84.93-165.64 1.18-5.33-.44-10.9-4.3-14.77-3.03-3.04-7.12-4.7-11.32-4.7-1.14 0-2.29.12-3.44.38-3.88.85-86.54 19.59-160.58 79.76.01-1.46.01-2.93.01-4.4 0-118.79-59.98-213.72-62.53-217.7A15.973 15.973 0 0 0 256 0c-5.45 0-10.53 2.78-13.47 7.37-2.55 3.98-62.53 98.91-62.53 217.7 0 1.47.01 2.94.01 4.4-74.03-60.16-156.69-78.9-160.58-79.76-1.14-.25-2.29-.38-3.44-.38-4.2 0-8.29 1.66-11.32 4.7A15.986 15.986 0 0 0 .38 168.8c.88 3.97 20.68 90.52 84.93 165.64-44.39 8.92-75.21 24.99-76.78 25.81a16.003 16.003 0 0 0-.02 28.29c2.45 1.29 60.76 31.72 133.49 31.72 6.14 0 11.96-.1 17.5-.31-11.37 22.23-16.52 38.31-16.81 39.22-1.8 5.68-.29 11.89 3.91 16.11a16.019 16.019 0 0 0 16.1 3.99c1.83-.57 37.72-11.99 77.3-39.29V504c0 4.42 3.58 8 8 8h16c4.42 0 8-3.58 8-8v-64.01c39.58 27.3 75.47 38.71 77.3 39.29a16.019 16.019 0 0 0 16.1-3.99c4.2-4.22 5.71-10.43 3.91-16.11-.29-.91-5.45-16.99-16.81-39.22 5.54.21 11.37.31 17.5.31 72.72 0 131.04-30.43 133.49-31.72 5.24-2.78 8.52-8.22 8.51-14.15-.01-5.94-3.29-11.39-8.53-14.15z"}}},capsules:{search:{terms:["drugs","medicine"]},styles:["solid"],label:"Capsules",svg:{solid:{viewBox:["0","0","576","512"],path:"M555.3 300.1L424.2 112.8C401.9 81 366.4 64 330.4 64c-22.6 0-45.5 6.7-65.5 20.7-19.7 13.8-33.7 32.8-41.5 53.8C220.5 79.2 172 32 112 32 50.1 32 0 82.1 0 144v224c0 61.9 50.1 112 112 112s112-50.1 112-112V218.9c3.3 8.6 7.3 17.1 12.8 25L368 431.2c22.2 31.8 57.7 48.8 93.8 48.8 22.7 0 45.5-6.7 65.5-20.7 51.7-36.2 64.2-107.5 28-159.2zM160 256H64V144c0-26.5 21.5-48 48-48s48 21.5 48 48v112zm194.8 44.9l-65.6-93.7c-7.7-11-10.7-24.4-8.3-37.6 2.3-13.2 9.7-24.8 20.7-32.5 8.5-6 18.5-9.1 28.8-9.1 16.5 0 31.9 8 41.3 21.5l65.6 93.7-82.5 57.7z"}}},car:{search:{terms:["machine","transportation","vehicle"]},styles:["solid"],label:"Car",svg:{solid:{viewBox:["0","0","512","512"],path:"M499.99 176h-59.87l-16.64-41.6C406.38 91.63 365.57 64 319.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4L71.87 176H12.01C4.2 176-1.53 183.34.37 190.91l6 24C7.7 220.25 12.5 224 18.01 224h20.07C24.65 235.73 16 252.78 16 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-19.22-8.65-36.27-22.07-48H494c5.51 0 10.31-3.75 11.64-9.09l6-24c1.89-7.57-3.84-14.91-11.65-14.91zm-352.06-17.83c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L384 208H128l19.93-49.83zM96 319.8c-19.2 0-32-12.76-32-31.9S76.8 256 96 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S396.8 256 416 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"}}},"car-alt":{search:{terms:[]},styles:["solid"],label:"Alternate Car",svg:{solid:{viewBox:["0","0","480","512"],path:"M438.66 212.33l-11.24-28.1-19.93-49.83C390.38 91.63 349.57 64 303.5 64h-127c-46.06 0-86.88 27.63-103.99 70.4l-19.93 49.83-11.24 28.1C17.22 221.5 0 244.66 0 272v48c0 16.12 6.16 30.67 16 41.93V416c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-32h256v32c0 17.67 14.33 32 32 32h32c17.67 0 32-14.33 32-32v-54.07c9.84-11.25 16-25.8 16-41.93v-48c0-27.34-17.22-50.5-41.34-59.67zm-306.73-54.16c7.29-18.22 24.94-30.17 44.57-30.17h127c19.63 0 37.28 11.95 44.57 30.17L368 208H112l19.93-49.83zM80 319.8c-19.2 0-32-12.76-32-31.9S60.8 256 80 256s48 28.71 48 47.85-28.8 15.95-48 15.95zm320 0c-19.2 0-48 3.19-48-15.95S380.8 256 400 256s32 12.76 32 31.9-12.8 31.9-32 31.9z"}}},"car-battery":{search:{terms:[]},styles:["solid"],label:"Car Battery",svg:{solid:{viewBox:["0","0","512","512"],path:"M480 128h-32V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v48H192V80c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v48H32c-17.67 0-32 14.33-32 32v256c0 17.67 14.33 32 32 32h448c17.67 0 32-14.33 32-32V160c0-17.67-14.33-32-32-32zM192 264c0 4.42-3.58 8-8 8H72c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h112c4.42 0 8 3.58 8 8v16zm256 0c0 4.42-3.58 8-8 8h-40v40c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8v-40h-40c-4.42 0-8-3.58-8-8v-16c0-4.42 3.58-8 8-8h40v-40c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v40h40c4.42 0 8 3.58 8 8v16z"}}},"car-crash":{search:{terms:[]},styles:["solid"],label:"Car Crash",svg:{solid:{viewBox:["0","0","640","512"],path:"M143.25 220.81l-12.42 46.37c-3.01 11.25-3.63 22.89-2.41 34.39l-35.2 28.98c-6.57 5.41-16.31-.43-14.62-8.77l15.44-76.68c1.06-5.26-2.66-10.28-8-10.79l-77.86-7.55c-8.47-.82-11.23-11.83-4.14-16.54l65.15-43.3c4.46-2.97 5.38-9.15 1.98-13.29L21.46 93.22c-5.41-6.57.43-16.3 8.78-14.62l76.68 15.44c5.26 1.06 10.28-2.66 10.8-8l7.55-77.86c.82-8.48 11.83-11.23 16.55-4.14l43.3 65.14c2.97 4.46 9.15 5.38 13.29 1.98l60.4-49.71c6.57-5.41 16.3.43 14.62 8.77L262.1 86.38c-2.71 3.05-5.43 6.09-7.91 9.4l-32.15 42.97-10.71 14.32c-32.73 8.76-59.18 34.53-68.08 67.74zm494.57 132.51l-12.42 46.36c-3.13 11.68-9.38 21.61-17.55 29.36a66.876 66.876 0 0 1-8.76 7l-13.99 52.23c-1.14 4.27-3.1 8.1-5.65 11.38-7.67 9.84-20.74 14.68-33.54 11.25L515 502.62c-17.07-4.57-27.2-22.12-22.63-39.19l8.28-30.91-247.28-66.26-8.28 30.91c-4.57 17.07-22.12 27.2-39.19 22.63l-30.91-8.28c-12.8-3.43-21.7-14.16-23.42-26.51-.57-4.12-.35-8.42.79-12.68l13.99-52.23a66.62 66.62 0 0 1-4.09-10.45c-3.2-10.79-3.65-22.52-.52-34.2l12.42-46.37c5.31-19.8 19.36-34.83 36.89-42.21a64.336 64.336 0 0 1 18.49-4.72l18.13-24.23 32.15-42.97c3.45-4.61 7.19-8.9 11.2-12.84 8-7.89 17.03-14.44 26.74-19.51 4.86-2.54 9.89-4.71 15.05-6.49 10.33-3.58 21.19-5.63 32.24-6.04 11.05-.41 22.31.82 33.43 3.8l122.68 32.87c11.12 2.98 21.48 7.54 30.85 13.43a111.11 111.11 0 0 1 34.69 34.5c8.82 13.88 14.64 29.84 16.68 46.99l6.36 53.29 3.59 30.05a64.49 64.49 0 0 1 22.74 29.93c4.39 11.88 5.29 25.19 1.75 38.39zM255.58 234.34c-18.55-4.97-34.21 4.04-39.17 22.53-4.96 18.49 4.11 34.12 22.65 39.09 18.55 4.97 45.54 15.51 50.49-2.98 4.96-18.49-15.43-53.67-33.97-58.64zm290.61 28.17l-6.36-53.29c-.58-4.87-1.89-9.53-3.82-13.86-5.8-12.99-17.2-23.01-31.42-26.82l-122.68-32.87a48.008 48.008 0 0 0-50.86 17.61l-32.15 42.97 172 46.08 75.29 20.18zm18.49 54.65c-18.55-4.97-53.8 15.31-58.75 33.79-4.95 18.49 23.69 22.86 42.24 27.83 18.55 4.97 34.21-4.04 39.17-22.53 4.95-18.48-4.11-34.12-22.66-39.09z"}}},"car-side":{search:{terms:[]},styles:["solid"],label:"Car Side",svg:{solid:{viewBox:["0","0","640","512"],path:"M544 192h-16L419.22 56.02A64.025 64.025 0 0 0 369.24 32H155.33c-26.17 0-49.7 15.93-59.42 40.23L48 194.26C20.44 201.4 0 226.21 0 256v112c0 8.84 7.16 16 16 16h48c0 53.02 42.98 96 96 96s96-42.98 96-96h128c0 53.02 42.98 96 96 96s96-42.98 96-96h48c8.84 0 16-7.16 16-16v-80c0-53.02-42.98-96-96-96zM160 432c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48zm72-240H116.93l38.4-96H232v96zm48 0V96h89.24l76.8 96H280zm200 240c-26.47 0-48-21.53-48-48s21.53-48 48-48 48 21.53 48 48-21.53 48-48 48z"}}},"caret-down":{search:{terms:["arrow","dropdown","menu","more","triangle down"]},styles:["solid"],label:"Caret Down",svg:{solid:{viewBox:["0","0","320","512"],path:"M31.3 192h257.3c17.8 0 26.7 21.5 14.1 34.1L174.1 354.8c-7.8 7.8-20.5 7.8-28.3 0L17.2 226.1C4.6 213.5 13.5 192 31.3 192z"}}},"caret-left":{search:{terms:["arrow","back","previous","triangle left"]},styles:["solid"],label:"Caret Left",svg:{solid:{viewBox:["0","0","192","512"],path:"M192 127.338v257.324c0 17.818-21.543 26.741-34.142 14.142L29.196 270.142c-7.81-7.81-7.81-20.474 0-28.284l128.662-128.662c12.599-12.6 34.142-3.676 34.142 14.142z"}}},"caret-right":{search:{terms:["arrow","forward","next","triangle right"]},styles:["solid"],label:"Caret Right",svg:{solid:{viewBox:["0","0","192","512"],path:"M0 384.662V127.338c0-17.818 21.543-26.741 34.142-14.142l128.662 128.662c7.81 7.81 7.81 20.474 0 28.284L34.142 398.804C21.543 411.404 0 402.48 0 384.662z"}}},"caret-square-down":{search:{terms:["caret-square-o-down","dropdown","menu","more"]},styles:["solid","regular"],label:"Caret Square Down",svg:{solid:{viewBox:["0","0","448","512"],path:"M448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zM92.5 220.5l123 123c4.7 4.7 12.3 4.7 17 0l123-123c7.6-7.6 2.2-20.5-8.5-20.5H101c-10.7 0-16.1 12.9-8.5 20.5z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M125.1 208h197.8c10.7 0 16.1 13 8.5 20.5l-98.9 98.3c-4.7 4.7-12.2 4.7-16.9 0l-98.9-98.3c-7.7-7.5-2.3-20.5 8.4-20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-left":{search:{terms:["back","caret-square-o-left","previous"]},styles:["solid","regular"],label:"Caret Square Left",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zM259.515 124.485l-123.03 123.03c-4.686 4.686-4.686 12.284 0 16.971l123.029 123.029c7.56 7.56 20.485 2.206 20.485-8.485V132.971c.001-10.691-12.925-16.045-20.484-8.486z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M272 157.1v197.8c0 10.7-13 16.1-20.5 8.5l-98.3-98.9c-4.7-4.7-4.7-12.2 0-16.9l98.3-98.9c7.5-7.7 20.5-2.3 20.5 8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-right":{search:{terms:["caret-square-o-right","forward","next"]},styles:["solid","regular"],label:"Caret Square Right",svg:{solid:{viewBox:["0","0","448","512"],path:"M48 32h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48zm140.485 355.515l123.029-123.029c4.686-4.686 4.686-12.284 0-16.971l-123.029-123.03c-7.56-7.56-20.485-2.206-20.485 8.485v246.059c0 10.691 12.926 16.045 20.485 8.486z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M176 354.9V157.1c0-10.7 13-16.1 20.5-8.5l98.3 98.9c4.7 4.7 4.7 12.2 0 16.9l-98.3 98.9c-7.5 7.7-20.5 2.3-20.5-8.4zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-square-up":{search:{terms:["caret-square-o-up"]},styles:["solid","regular"],label:"Caret Square Up",svg:{solid:{viewBox:["0","0","448","512"],path:"M0 432V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48zm355.515-140.485l-123.03-123.03c-4.686-4.686-12.284-4.686-16.971 0L92.485 291.515c-7.56 7.56-2.206 20.485 8.485 20.485h246.059c10.691 0 16.045-12.926 8.486-20.485z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M322.9 304H125.1c-10.7 0-16.1-13-8.5-20.5l98.9-98.3c4.7-4.7 12.2-4.7 16.9 0l98.9 98.3c7.7 7.5 2.3 20.5-8.4 20.5zM448 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h352c26.5 0 48 21.5 48 48zm-48 346V86c0-3.3-2.7-6-6-6H54c-3.3 0-6 2.7-6 6v340c0 3.3 2.7 6 6 6h340c3.3 0 6-2.7 6-6z"}}},"caret-up":{search:{terms:["arrow","triangle up"]},styles:["solid"],label:"Caret Up",svg:{solid:{viewBox:["0","0","320","512"],path:"M288.662 352H31.338c-17.818 0-26.741-21.543-14.142-34.142l128.662-128.662c7.81-7.81 20.474-7.81 28.284 0l128.662 128.662c12.6 12.599 3.676 34.142-14.142 34.142z"}}},"cart-arrow-down":{search:{terms:["shopping"]},styles:["solid"],label:"Shopping Cart Arrow Down",svg:{solid:{viewBox:["0","0","576","512"],path:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM403.029 192H360v-60c0-6.627-5.373-12-12-12h-24c-6.627 0-12 5.373-12 12v60h-43.029c-10.691 0-16.045 12.926-8.485 20.485l67.029 67.029c4.686 4.686 12.284 4.686 16.971 0l67.029-67.029c7.559-7.559 2.205-20.485-8.486-20.485z"}}},"cart-plus":{search:{terms:["add","create","new","positive","shopping"]},styles:["solid"],label:"Add to Shopping Cart",svg:{solid:{viewBox:["0","0","576","512"],path:"M504.717 320H211.572l6.545 32h268.418c15.401 0 26.816 14.301 23.403 29.319l-5.517 24.276C523.112 414.668 536 433.828 536 456c0 31.202-25.519 56.444-56.824 55.994-29.823-.429-54.35-24.631-55.155-54.447-.44-16.287 6.085-31.049 16.803-41.548H231.176C241.553 426.165 248 440.326 248 456c0 31.813-26.528 57.431-58.67 55.938-28.54-1.325-51.751-24.385-53.251-52.917-1.158-22.034 10.436-41.455 28.051-51.586L93.883 64H24C10.745 64 0 53.255 0 40V24C0 10.745 10.745 0 24 0h102.529c11.401 0 21.228 8.021 23.513 19.19L159.208 64H551.99c15.401 0 26.816 14.301 23.403 29.319l-47.273 208C525.637 312.246 515.923 320 504.717 320zM408 168h-48v-40c0-8.837-7.163-16-16-16h-16c-8.837 0-16 7.163-16 16v40h-48c-8.837 0-16 7.163-16 16v16c0 8.837 7.163 16 16 16h48v40c0 8.837 7.163 16 16 16h16c8.837 0 16-7.163 16-16v-40h48c8.837 0 16-7.163 16-16v-16c0-8.837-7.163-16-16-16z"}}},cat:{search:{terms:["feline","halloween","holiday","kitten","kitty","meow","pet"]},styles:["solid"],label:"Cat",svg:{solid:{viewBox:["0","0","512","512"],path:"M290.59 192c-20.18 0-106.82 1.98-162.59 85.95V192c0-52.94-43.06-96-96-96-17.67 0-32 14.33-32 32s14.33 32 32 32c17.64 0 32 14.36 32 32v256c0 35.3 28.7 64 64 64h176c8.84 0 16-7.16 16-16v-16c0-17.67-14.33-32-32-32h-32l128-96v144c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V289.86c-10.29 2.67-20.89 4.54-32 4.54-61.81 0-113.52-44.05-125.41-102.4zM448 96h-64l-64-64v134.4c0 53.02 42.98 96 96 96s96-42.98 96-96V32l-64 64zm-72 80c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16zm80 0c-8.84 0-16-7.16-16-16s7.16-16 16-16 16 7.16 16 16-7.16 16-16 16z"}}},"cc-amazon-pay":{search:{terms:[]},styles:["brands"],label:"Amazon Pay Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M124.7 201.8c.1-11.8 0-23.5 0-35.3v-35.3c0-1.3.4-2 1.4-2.7 11.5-8 24.1-12.1 38.2-11.1 12.5.9 22.7 7 28.1 21.7 3.3 8.9 4.1 18.2 4.1 27.7 0 8.7-.7 17.3-3.4 25.6-5.7 17.8-18.7 24.7-35.7 23.9-11.7-.5-21.9-5-31.4-11.7-.9-.8-1.4-1.6-1.3-2.8zm154.9 14.6c4.6 1.8 9.3 2 14.1 1.5 11.6-1.2 21.9-5.7 31.3-12.5.9-.6 1.3-1.3 1.3-2.5-.1-3.9 0-7.9 0-11.8 0-4-.1-8 0-12 0-1.4-.4-2-1.8-2.2-7-.9-13.9-2.2-20.9-2.9-7-.6-14-.3-20.8 1.9-6.7 2.2-11.7 6.2-13.7 13.1-1.6 5.4-1.6 10.8.1 16.2 1.6 5.5 5.2 9.2 10.4 11.2zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zm-207.5 23.9c.4 1.7.9 3.4 1.6 5.1 16.5 40.6 32.9 81.3 49.5 121.9 1.4 3.5 1.7 6.4.2 9.9-2.8 6.2-4.9 12.6-7.8 18.7-2.6 5.5-6.7 9.5-12.7 11.2-4.2 1.1-8.5 1.3-12.9.9-2.1-.2-4.2-.7-6.3-.8-2.8-.2-4.2 1.1-4.3 4-.1 2.8-.1 5.6 0 8.3.1 4.6 1.6 6.7 6.2 7.5 4.7.8 9.4 1.6 14.2 1.7 14.3.3 25.7-5.4 33.1-17.9 2.9-4.9 5.6-10.1 7.7-15.4 19.8-50.1 39.5-100.3 59.2-150.5.6-1.5 1.1-3 1.3-4.6.4-2.4-.7-3.6-3.1-3.7-5.6-.1-11.1 0-16.7 0-3.1 0-5.3 1.4-6.4 4.3-.4 1.1-.9 2.3-1.3 3.4l-29.1 83.7c-2.1 6.1-4.2 12.1-6.5 18.6-.4-.9-.6-1.4-.8-1.9-10.8-29.9-21.6-59.9-32.4-89.8-1.7-4.7-3.5-9.5-5.3-14.2-.9-2.5-2.7-4-5.4-4-6.4-.1-12.8-.2-19.2-.1-2.2 0-3.3 1.6-2.8 3.7zM242.4 206c1.7 11.7 7.6 20.8 18 26.6 9.9 5.5 20.7 6.2 31.7 4.6 12.7-1.9 23.9-7.3 33.8-15.5.4-.3.8-.6 1.4-1 .5 3.2.9 6.2 1.5 9.2.5 2.6 2.1 4.3 4.5 4.4 4.6.1 9.1.1 13.7 0 2.3-.1 3.8-1.6 4-3.9.1-.8.1-1.6.1-2.3v-88.8c0-3.6-.2-7.2-.7-10.8-1.6-10.8-6.2-19.7-15.9-25.4-5.6-3.3-11.8-5-18.2-5.9-3-.4-6-.7-9.1-1.1h-10c-.8.1-1.6.3-2.5.3-8.2.4-16.3 1.4-24.2 3.5-5.1 1.3-10 3.2-15 4.9-3 1-4.5 3.2-4.4 6.5.1 2.8-.1 5.6 0 8.3.1 4.1 1.8 5.2 5.7 4.1 6.5-1.7 13.1-3.5 19.7-4.8 10.3-1.9 20.7-2.7 31.1-1.2 5.4.8 10.5 2.4 14.1 7 3.1 4 4.2 8.8 4.4 13.7.3 6.9.2 13.9.3 20.8 0 .4-.1.7-.2 1.2-.4 0-.8 0-1.1-.1-8.8-2.1-17.7-3.6-26.8-4.1-9.5-.5-18.9.1-27.9 3.2-10.8 3.8-19.5 10.3-24.6 20.8-4.1 8.3-4.6 17-3.4 25.8zM98.7 106.9v175.3c0 .8 0 1.7.1 2.5.2 2.5 1.7 4.1 4.1 4.2 5.9.1 11.8.1 17.7 0 2.5 0 4-1.7 4.1-4.1.1-.8.1-1.7.1-2.5v-60.7c.9.7 1.4 1.2 1.9 1.6 15 12.5 32.2 16.6 51.1 12.9 17.1-3.4 28.9-13.9 36.7-29.2 5.8-11.6 8.3-24.1 8.7-37 .5-14.3-1-28.4-6.8-41.7-7.1-16.4-18.9-27.3-36.7-30.9-2.7-.6-5.5-.8-8.2-1.2h-7c-1.2.2-2.4.3-3.6.5-11.7 1.4-22.3 5.8-31.8 12.7-2 1.4-3.9 3-5.9 4.5-.1-.5-.3-.8-.4-1.2-.4-2.3-.7-4.6-1.1-6.9-.6-3.9-2.5-5.5-6.4-5.6h-9.7c-5.9-.1-6.9 1-6.9 6.8zM493.6 339c-2.7-.7-5.1 0-7.6 1-43.9 18.4-89.5 30.2-136.8 35.8-14.5 1.7-29.1 2.8-43.7 3.2-26.6.7-53.2-.8-79.6-4.3-17.8-2.4-35.5-5.7-53-9.9-37-8.9-72.7-21.7-106.7-38.8-8.8-4.4-17.4-9.3-26.1-14-3.8-2.1-6.2-1.5-8.2 2.1v1.7c1.2 1.6 2.2 3.4 3.7 4.8 36 32.2 76.6 56.5 122 72.9 21.9 7.9 44.4 13.7 67.3 17.5 14 2.3 28 3.8 42.2 4.5 3 .1 6 .2 9 .4.7 0 1.4.2 2.1.3h17.7c.7-.1 1.4-.3 2.1-.3 14.9-.4 29.8-1.8 44.6-4 21.4-3.2 42.4-8.1 62.9-14.7 29.6-9.6 57.7-22.4 83.4-40.1 2.8-1.9 5.7-3.8 8-6.2 4.3-4.4 2.3-10.4-3.3-11.9zm50.4-27.7c-.8-4.2-4-5.8-7.6-7-5.7-1.9-11.6-2.8-17.6-3.3-11-.9-22-.4-32.8 1.6-12 2.2-23.4 6.1-33.5 13.1-1.2.8-2.4 1.8-3.1 3-.6.9-.7 2.3-.5 3.4.3 1.3 1.7 1.6 3 1.5.6 0 1.2 0 1.8-.1l19.5-2.1c9.6-.9 19.2-1.5 28.8-.8 4.1.3 8.1 1.2 12 2.2 4.3 1.1 6.2 4.4 6.4 8.7.3 6.7-1.2 13.1-2.9 19.5-3.5 12.9-8.3 25.4-13.3 37.8-.3.8-.7 1.7-.8 2.5-.4 2.5 1 4 3.4 3.5 1.4-.3 3-1.1 4-2.1 3.7-3.6 7.5-7.2 10.6-11.2 10.7-13.8 17-29.6 20.7-46.6.7-3 1.2-6.1 1.7-9.1.2-4.7.2-9.6.2-14.5z"}}},"cc-amex":{search:{terms:["amex"]},styles:["brands"],label:"American Express Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M576 255.4c-37.9-.2-44.2-.9-54.5 5v-5c-45.3 0-53.5-1.7-64.9 5.2v-5.2h-78.2v5.1c-11.4-6.5-21.4-5.1-75.7-5.1v5.6c-6.3-3.7-14.5-5.6-24.3-5.6h-58c-3.5 3.8-12.5 13.7-15.7 17.2-12.7-14.1-10.5-11.6-15.5-17.2h-83.1v92.3h82c3.3-3.5 12.9-13.9 16.1-17.4 12.7 14.3 10.3 11.7 15.4 17.4h48.9c0-14.7.1-8.3.1-23 11.5.2 24.3-.2 34.3-6.2 0 13.9-.1 17.1-.1 29.2h39.6c0-18.5.1-7.4.1-25.3 6.2 0 7.7 0 9.4.1.1 1.3 0 0 0 25.2 152.8 0 145.9 1.1 156.7-4.5v4.5c34.8 0 54.8 2.2 67.5-6.1V432c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V228.3h26.6c4.2-10.1 2.2-5.3 6.4-15.3h19.2c4.2 10 2.2 5.2 6.4 15.3h52.9v-11.4c2.2 5 1.1 2.5 5.1 11.4h29.5c2.4-5.5 2.6-5.8 5.1-11.4v11.4h135.5v-25.1c6.4 0 8-.1 9.8.2 0 0-.2 10.9.1 24.8h66.5v-8.9c7.4 5.9 17.4 8.9 29.7 8.9h26.8c4.2-10.1 2.2-5.3 6.4-15.3h19c6.5 15 .2.5 6.6 15.3h52.8v-21.9c11.8 19.7 7.8 12.9 13.2 21.9h41.6v-92h-39.9v18.4c-12.2-20.2-6.3-10.4-11.2-18.4h-43.3v20.6c-6.2-14.6-4.6-10.8-8.8-20.6h-32.4c-.4 0-2.3.2-2.3-.3h-27.6c-12.8 0-23.1 3.2-30.7 9.3v-9.3h-39.9v5.3c-10.8-6.1-20.7-5.1-64.4-5.3-.1 0-11.6-.1-11.6 0h-103c-2.5 6.1-6.8 16.4-12.6 30-2.8-6-11-23.8-13.9-30h-46V157c-7.4-17.4-4.7-11-9-21.1H22.9c-3.4 7.9-13.7 32-23.1 53.9V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48v175.4zm-186.6-80.6c-.3.2-1.4 2.2-1.4 7.6 0 6 .9 7.7 1.1 7.9.2.1 1.1.5 3.4.5l7.3-16.9c-1.1 0-2.1-.1-3.1-.1-5.6 0-7 .7-7.3 1zm-19.9 130.9c9.2 3.3 11 9.5 11 18.4l-.1 13.8h-16.6l.1-11.5c0-11.8-3.8-13.8-14.8-13.8h-17.6l-.1 25.3h-16.6l.1-69.3h39.4c13 0 27.1 2.3 27.1 18.7-.1 7.6-4.2 15.3-11.9 18.4zm-6.3-15.4c0-6.4-5.6-7.4-10.7-7.4h-21v15.6h20.7c5.6 0 11-1.3 11-8.2zm181.7-7.1H575v-14.6h-32.9c-12.8 0-23.8 6.6-23.8 20.7 0 33 42.7 12.8 42.7 27.4 0 5.1-4.3 6.4-8.4 6.4h-32l-.1 14.8h32c8.4 0 17.6-1.8 22.5-8.9v-25.8c-10.5-13.8-39.3-1.3-39.3-13.5 0-5.8 4.6-6.5 9.2-6.5zm-99.2-.3v-14.3h-55.2l-.1 69.3h55.2l.1-14.3-38.6-.3v-13.8H445v-14.1h-37.8v-12.5h38.5zm42.2 40.1h-32.2l-.1 14.8h32.2c14.8 0 26.2-5.6 26.2-22 0-33.2-42.9-11.2-42.9-26.3 0-5.6 4.9-6.4 9.2-6.4h30.4v-14.6h-33.2c-12.8 0-23.5 6.6-23.5 20.7 0 33 42.7 12.5 42.7 27.4-.1 5.4-4.7 6.4-8.8 6.4zm-78.1-158.7c-17.4-.3-33.2-4.1-33.2 19.7 0 11.8 2.8 19.9 16.1 19.9h7.4l23.5-54.5h24.8l27.9 65.4v-65.4h25.3l29.1 48.1v-48.1h16.9v69H524l-31.2-51.9v51.9h-33.7l-6.6-15.3h-34.3l-6.4 15.3h-19.2c-22.8 0-33-11.8-33-34 0-23.3 10.5-35.3 34-35.3h16.1v15.2zm14.3 24.5h22.8l-11.2-27.6-11.6 27.6zm-72.6-39.6h-16.9v69.3h16.9v-69.3zm-38.1 37.3c9.5 3.3 11 9.2 11 18.4v13.5h-16.6c-.3-14.8 3.6-25.1-14.8-25.1h-18v25.1h-16.4v-69.3l39.1.3c13.3 0 27.4 2 27.4 18.4.1 8-4.3 15.7-11.7 18.7zm-6.7-15.3c0-6.4-5.6-7.4-10.7-7.4h-21v15.3h20.7c5.7 0 11-1.3 11-7.9zm-59.5-7.4v-14.6h-55.5v69.3h55.5v-14.3h-38.9v-13.8h37.8v-14.1h-37.8v-12.5h38.9zm-84.6 54.7v-54.2l-24 54.2H124l-24-54.2v54.2H66.2l-6.4-15.3H25.3l-6.4 15.3H1l29.7-69.3h24.5l28.1 65.7v-65.7h27.1l21.7 47 19.7-47h27.6v69.3h-16.8zM53.9 188.8l-11.5-27.6-11.2 27.6h22.7zm253 102.5c0 27.9-30.4 23.3-49.3 23.3l-.1 23.3h-32.2l-20.4-23-21.3 23h-65.4l.1-69.3h66.5l20.5 22.8 21-22.8H279c15.6 0 27.9 5.4 27.9 22.7zm-112.7 11.8l-17.9-20.2h-41.7v12.5h36.3v14.1h-36.3v13.8h40.6l19-20.2zM241 276l-25.3 27.4 25.3 28.1V276zm48.3 15.3c0-6.1-4.6-8.4-10.2-8.4h-21.5v17.6h21.2c5.9 0 10.5-2.8 10.5-9.2z"}}},"cc-apple-pay":{search:{terms:[]},styles:["brands"],label:"Apple Pay Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M302.2 218.4c0 17.2-10.5 27.1-29 27.1h-24.3v-54.2h24.4c18.4 0 28.9 9.8 28.9 27.1zm47.5 62.6c0 8.3 7.2 13.7 18.5 13.7 14.4 0 25.2-9.1 25.2-21.9v-7.7l-23.5 1.5c-13.3.9-20.2 5.8-20.2 14.4zM576 79v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V79c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM127.8 197.2c8.4.7 16.8-4.2 22.1-10.4 5.2-6.4 8.6-15 7.7-23.7-7.4.3-16.6 4.9-21.9 11.3-4.8 5.5-8.9 14.4-7.9 22.8zm60.6 74.5c-.2-.2-19.6-7.6-19.8-30-.2-18.7 15.3-27.7 16-28.2-8.8-13-22.4-14.4-27.1-14.7-12.2-.7-22.6 6.9-28.4 6.9-5.9 0-14.7-6.6-24.3-6.4-12.5.2-24.2 7.3-30.5 18.6-13.1 22.6-3.4 56 9.3 74.4 6.2 9.1 13.7 19.1 23.5 18.7 9.3-.4 13-6 24.2-6 11.3 0 14.5 6 24.3 5.9 10.2-.2 16.5-9.1 22.8-18.2 6.9-10.4 9.8-20.4 10-21zm135.4-53.4c0-26.6-18.5-44.8-44.9-44.8h-51.2v136.4h21.2v-46.6h29.3c26.8 0 45.6-18.4 45.6-45zm90 23.7c0-19.7-15.8-32.4-40-32.4-22.5 0-39.1 12.9-39.7 30.5h19.1c1.6-8.4 9.4-13.9 20-13.9 13 0 20.2 6 20.2 17.2v7.5l-26.4 1.6c-24.6 1.5-37.9 11.6-37.9 29.1 0 17.7 13.7 29.4 33.4 29.4 13.3 0 25.6-6.7 31.2-17.4h.4V310h19.6v-68zM516 210.9h-21.5l-24.9 80.6h-.4l-24.9-80.6H422l35.9 99.3-1.9 6c-3.2 10.2-8.5 14.2-17.9 14.2-1.7 0-4.9-.2-6.2-.3v16.4c1.2.4 6.5.5 8.1.5 20.7 0 30.4-7.9 38.9-31.8L516 210.9z"}}},"cc-diners-club":{search:{terms:[]},styles:["brands"],label:"Diner's Club Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M239.7 79.9c-96.9 0-175.8 78.6-175.8 175.8 0 96.9 78.9 175.8 175.8 175.8 97.2 0 175.8-78.9 175.8-175.8 0-97.2-78.6-175.8-175.8-175.8zm-39.9 279.6c-41.7-15.9-71.4-56.4-71.4-103.8s29.7-87.9 71.4-104.1v207.9zm79.8.3V151.6c41.7 16.2 71.4 56.7 71.4 104.1s-29.7 87.9-71.4 104.1zM528 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h480c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM329.7 448h-90.3c-106.2 0-193.8-85.5-193.8-190.2C45.6 143.2 133.2 64 239.4 64h90.3c105 0 200.7 79.2 200.7 193.8 0 104.7-95.7 190.2-200.7 190.2z"}}},"cc-discover":{search:{terms:[]},styles:["brands"],label:"Discover Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M83 212.1c0 7.9-3.2 15.5-8.9 20.7-4.9 4.4-11.6 6.4-21.9 6.4H48V185h4.2c10.3 0 16.7 1.7 21.9 6.6 5.7 5 8.9 12.6 8.9 20.5zM504.8 184h-4.9v24.9h4.7c10.3 0 15.8-4.4 15.8-12.8 0-7.9-5.5-12.1-15.6-12.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM428 253h45.3v-13.8H444V217h28.3v-13.8H444V185h29.3v-14H428v82zm-86.2-82l35 84.2h8.6l35.5-84.2h-17.5l-22.2 55.2-21.9-55.2h-17.5zm-83 41.6c0 24.6 19.9 44.6 44.6 44.6 24.6 0 44.6-19.9 44.6-44.6 0-24.6-19.9-44.6-44.6-44.6-24.6 0-44.6 19.9-44.6 44.6zm-68-.5c0 32.5 33.6 52.5 63.3 38.2v-19c-19.3 19.3-46.8 5.8-46.8-19.2 0-23.7 26.7-39.1 46.8-19v-19c-30.2-15-63.3 6.8-63.3 38zm-33.9 28.3c-7.6 0-13.8-3.7-17.5-10.8l-10.3 9.9c17.8 26.1 56.6 18.2 56.6-11.3 0-13.1-5.4-19-23.6-25.6-9.6-3.4-12.3-5.9-12.3-10.3 0-8.7 14.5-14.1 24.9-2.5l8.4-10.8c-19.1-17.1-49.7-8.9-49.7 14.3 0 11.3 5.2 17.2 20.2 22.7 25.7 9.1 14.7 24.4 3.3 24.4zm-57.4-28.3c0-24.1-18-41.1-44.1-41.1H32v82h23.4c30.9 0 44.1-22.4 44.1-40.9zm23.4-41.1h-16v82h16v-82zM544 288c-33.3 20.8-226.4 124.4-416 160h401c8.2 0 15-6.8 15-15V288zm0-35l-25.9-34.5c12.1-2.5 18.7-10.6 18.7-23.2 0-28.5-30.3-24.4-52.9-24.4v82h16v-32.8h2.2l22.2 32.8H544z"}}},"cc-jcb":{search:{terms:[]},styles:["brands"],label:"JCB Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M431.5 244.3V212c41.2 0 38.5.2 38.5.2 7.3 1.3 13.3 7.3 13.3 16 0 8.8-6 14.5-13.3 15.8-1.2.4-3.3.3-38.5.3zm42.8 20.2c-2.8-.7-3.3-.5-42.8-.5v35c39.6 0 40 .2 42.8-.5 7.5-1.5 13.5-8 13.5-17 0-8.7-6-15.5-13.5-17zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM182 192.3h-57c0 67.1 10.7 109.7-35.8 109.7-19.5 0-38.8-5.7-57.2-14.8v28c30 8.3 68 8.3 68 8.3 97.9 0 82-47.7 82-131.2zm178.5 4.5c-63.4-16-165-14.9-165 59.3 0 77.1 108.2 73.6 165 59.2V287C312.9 311.7 253 309 253 256s59.8-55.6 107.5-31.2v-28zM544 286.5c0-18.5-16.5-30.5-38-32v-.8c19.5-2.7 30.3-15.5 30.3-30.2 0-19-15.7-30-37-31 0 0 6.3-.3-120.3-.3v127.5h122.7c24.3.1 42.3-12.9 42.3-33.2z"}}},"cc-mastercard":{search:{terms:[]},styles:["brands"],label:"MasterCard Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M482.9 410.3c0 6.8-4.6 11.7-11.2 11.7-6.8 0-11.2-5.2-11.2-11.7 0-6.5 4.4-11.7 11.2-11.7 6.6 0 11.2 5.2 11.2 11.7zm-310.8-11.7c-7.1 0-11.2 5.2-11.2 11.7 0 6.5 4.1 11.7 11.2 11.7 6.5 0 10.9-4.9 10.9-11.7-.1-6.5-4.4-11.7-10.9-11.7zm117.5-.3c-5.4 0-8.7 3.5-9.5 8.7h19.1c-.9-5.7-4.4-8.7-9.6-8.7zm107.8.3c-6.8 0-10.9 5.2-10.9 11.7 0 6.5 4.1 11.7 10.9 11.7 6.8 0 11.2-4.9 11.2-11.7 0-6.5-4.4-11.7-11.2-11.7zm105.9 26.1c0 .3.3.5.3 1.1 0 .3-.3.5-.3 1.1-.3.3-.3.5-.5.8-.3.3-.5.5-1.1.5-.3.3-.5.3-1.1.3-.3 0-.5 0-1.1-.3-.3 0-.5-.3-.8-.5-.3-.3-.5-.5-.5-.8-.3-.5-.3-.8-.3-1.1 0-.5 0-.8.3-1.1 0-.5.3-.8.5-1.1.3-.3.5-.3.8-.5.5-.3.8-.3 1.1-.3.5 0 .8 0 1.1.3.5.3.8.3 1.1.5s.2.6.5 1.1zm-2.2 1.4c.5 0 .5-.3.8-.3.3-.3.3-.5.3-.8 0-.3 0-.5-.3-.8-.3 0-.5-.3-1.1-.3h-1.6v3.5h.8V426h.3l1.1 1.4h.8l-1.1-1.3zM576 81v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V81c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM64 220.6c0 76.5 62.1 138.5 138.5 138.5 27.2 0 53.9-8.2 76.5-23.1-72.9-59.3-72.4-171.2 0-230.5-22.6-15-49.3-23.1-76.5-23.1-76.4-.1-138.5 62-138.5 138.2zm224 108.8c70.5-55 70.2-162.2 0-217.5-70.2 55.3-70.5 162.6 0 217.5zm-142.3 76.3c0-8.7-5.7-14.4-14.7-14.7-4.6 0-9.5 1.4-12.8 6.5-2.4-4.1-6.5-6.5-12.2-6.5-3.8 0-7.6 1.4-10.6 5.4V392h-8.2v36.7h8.2c0-18.9-2.5-30.2 9-30.2 10.2 0 8.2 10.2 8.2 30.2h7.9c0-18.3-2.5-30.2 9-30.2 10.2 0 8.2 10 8.2 30.2h8.2v-23zm44.9-13.7h-7.9v4.4c-2.7-3.3-6.5-5.4-11.7-5.4-10.3 0-18.2 8.2-18.2 19.3 0 11.2 7.9 19.3 18.2 19.3 5.2 0 9-1.9 11.7-5.4v4.6h7.9V392zm40.5 25.6c0-15-22.9-8.2-22.9-15.2 0-5.7 11.9-4.8 18.5-1.1l3.3-6.5c-9.4-6.1-30.2-6-30.2 8.2 0 14.3 22.9 8.3 22.9 15 0 6.3-13.5 5.8-20.7.8l-3.5 6.3c11.2 7.6 32.6 6 32.6-7.5zm35.4 9.3l-2.2-6.8c-3.8 2.1-12.2 4.4-12.2-4.1v-16.6h13.1V392h-13.1v-11.2h-8.2V392h-7.6v7.3h7.6V416c0 17.6 17.3 14.4 22.6 10.9zm13.3-13.4h27.5c0-16.2-7.4-22.6-17.4-22.6-10.6 0-18.2 7.9-18.2 19.3 0 20.5 22.6 23.9 33.8 14.2l-3.8-6c-7.8 6.4-19.6 5.8-21.9-4.9zm59.1-21.5c-4.6-2-11.6-1.8-15.2 4.4V392h-8.2v36.7h8.2V408c0-11.6 9.5-10.1 12.8-8.4l2.4-7.6zm10.6 18.3c0-11.4 11.6-15.1 20.7-8.4l3.8-6.5c-11.6-9.1-32.7-4.1-32.7 15 0 19.8 22.4 23.8 32.7 15l-3.8-6.5c-9.2 6.5-20.7 2.6-20.7-8.6zm66.7-18.3H408v4.4c-8.3-11-29.9-4.8-29.9 13.9 0 19.2 22.4 24.7 29.9 13.9v4.6h8.2V392zm33.7 0c-2.4-1.2-11-2.9-15.2 4.4V392h-7.9v36.7h7.9V408c0-11 9-10.3 12.8-8.4l2.4-7.6zm40.3-14.9h-7.9v19.3c-8.2-10.9-29.9-5.1-29.9 13.9 0 19.4 22.5 24.6 29.9 13.9v4.6h7.9v-51.7zm7.6-75.1v4.6h.8V302h1.9v-.8h-4.6v.8h1.9zm6.6 123.8c0-.5 0-1.1-.3-1.6-.3-.3-.5-.8-.8-1.1-.3-.3-.8-.5-1.1-.8-.5 0-1.1-.3-1.6-.3-.3 0-.8.3-1.4.3-.5.3-.8.5-1.1.8-.5.3-.8.8-.8 1.1-.3.5-.3 1.1-.3 1.6 0 .3 0 .8.3 1.4 0 .3.3.8.8 1.1.3.3.5.5 1.1.8.5.3 1.1.3 1.4.3.5 0 1.1 0 1.6-.3.3-.3.8-.5 1.1-.8.3-.3.5-.8.8-1.1.3-.6.3-1.1.3-1.4zm3.2-124.7h-1.4l-1.6 3.5-1.6-3.5h-1.4v5.4h.8v-4.1l1.6 3.5h1.1l1.4-3.5v4.1h1.1v-5.4zm4.4-80.5c0-76.2-62.1-138.3-138.5-138.3-27.2 0-53.9 8.2-76.5 23.1 72.1 59.3 73.2 171.5 0 230.5 22.6 15 49.5 23.1 76.5 23.1 76.4.1 138.5-61.9 138.5-138.4z"}}},"cc-paypal":{search:{terms:[]},styles:["brands"],label:"Paypal Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M186.3 258.2c0 12.2-9.7 21.5-22 21.5-9.2 0-16-5.2-16-15 0-12.2 9.5-22 21.7-22 9.3 0 16.3 5.7 16.3 15.5zM80.5 209.7h-4.7c-1.5 0-3 1-3.2 2.7l-4.3 26.7 8.2-.3c11 0 19.5-1.5 21.5-14.2 2.3-13.4-6.2-14.9-17.5-14.9zm284 0H360c-1.8 0-3 1-3.2 2.7l-4.2 26.7 8-.3c13 0 22-3 22-18-.1-10.6-9.6-11.1-18.1-11.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM128.3 215.4c0-21-16.2-28-34.7-28h-40c-2.5 0-5 2-5.2 4.7L32 294.2c-.3 2 1.2 4 3.2 4h19c2.7 0 5.2-2.9 5.5-5.7l4.5-26.6c1-7.2 13.2-4.7 18-4.7 28.6 0 46.1-17 46.1-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.2 8.2-5.8-8.5-14.2-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9 0 20.2-4.9 26.5-11.9-.5 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H200c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm40.5 97.9l63.7-92.6c.5-.5.5-1 .5-1.7 0-1.7-1.5-3.5-3.2-3.5h-19.2c-1.7 0-3.5 1-4.5 2.5l-26.5 39-11-37.5c-.8-2.2-3-4-5.5-4h-18.7c-1.7 0-3.2 1.8-3.2 3.5 0 1.2 19.5 56.8 21.2 62.1-2.7 3.8-20.5 28.6-20.5 31.6 0 1.8 1.5 3.2 3.2 3.2h19.2c1.8-.1 3.5-1.1 4.5-2.6zm159.3-106.7c0-21-16.2-28-34.7-28h-39.7c-2.7 0-5.2 2-5.5 4.7l-16.2 102c-.2 2 1.3 4 3.2 4h20.5c2 0 3.5-1.5 4-3.2l4.5-29c1-7.2 13.2-4.7 18-4.7 28.4 0 45.9-17 45.9-45.8zm84.2 8.8h-19c-3.8 0-4 5.5-4.3 8.2-5.5-8.5-14-10-23.7-10-24.5 0-43.2 21.5-43.2 45.2 0 19.5 12.2 32.2 31.7 32.2 9.3 0 20.5-4.9 26.5-11.9-.3 1.5-1 4.7-1 6.2 0 2.3 1 4 3.2 4H484c2.7 0 5-2.9 5.5-5.7l10.2-64.3c.3-1.9-1.2-3.9-3.2-3.9zm47.5-33.3c0-2-1.5-3.5-3.2-3.5h-18.5c-1.5 0-3 1.2-3.2 2.7l-16.2 104-.3.5c0 1.8 1.5 3.5 3.5 3.5h16.5c2.5 0 5-2.9 5.2-5.7L544 191.2v-.3zm-90 51.8c-12.2 0-21.7 9.7-21.7 22 0 9.7 7 15 16.2 15 12 0 21.7-9.2 21.7-21.5.1-9.8-6.9-15.5-16.2-15.5z"}}},"cc-stripe":{search:{terms:[]},styles:["brands"],label:"Stripe Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M396.9 256.5c0 19.1-8.8 33.4-21.9 33.4-8.3 0-13.3-3-16.8-6.7l-.2-52.8c3.7-4.1 8.8-7 17-7 12.9-.1 21.9 14.5 21.9 33.1zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM122.2 281.1c0-42.3-54.3-34.7-54.3-50.7 0-5.5 4.6-7.7 12.1-7.7 10.8 0 24.5 3.3 35.3 9.1v-33.4c-11.8-4.7-23.5-6.5-35.3-6.5-28.8 0-48 15-48 40.2 0 39.3 54 32.9 54 49.9 0 6.6-5.7 8.7-13.6 8.7-11.8 0-26.9-4.9-38.9-11.3v33.9c13.2 5.7 26.6 8.1 38.8 8.1 29.6-.2 49.9-14.7 49.9-40.3zm68.9-86.9h-27v-30.8l-34.7 7.4-.2 113.9c0 21 15.8 36.5 36.9 36.5 11.6 0 20.2-2.1 24.9-4.7v-28.9c-4.5 1.8-27 8.3-27-12.6v-50.5h27v-30.3zm73.8 0c-4.7-1.7-21.3-4.8-29.6 10.5l-2.2-10.5h-30.7v124.5h35.5v-84.4c8.4-11 22.6-8.9 27.1-7.4v-32.7zm44.2 0h-35.7v124.5h35.7V194.2zm0-47.3l-35.7 7.6v28.9l35.7-7.6v-28.9zm122.7 108.8c0-41.3-23.5-63.8-48.4-63.8-13.9 0-22.9 6.6-27.8 11.1l-1.8-8.8h-31.3V360l35.5-7.5.1-40.2c5.1 3.7 12.7 9 25.1 9 25.4-.1 48.6-20.5 48.6-65.6zm112.2 1.2c0-36.4-17.6-65.1-51.3-65.1-33.8 0-54.3 28.7-54.3 64.9 0 42.8 24.2 64.5 58.8 64.5 17 0 29.7-3.9 39.4-9.2v-28.6c-9.7 4.9-20.8 7.9-34.9 7.9-13.8 0-26-4.9-27.6-21.5h69.5c.1-2 .4-9.4.4-12.9zm-51.6-36.1c-8.9 0-18.7 6.7-18.7 22.7h36.7c0-16-9.3-22.7-18-22.7z"}}},"cc-visa":{search:{terms:[]},styles:["brands"],label:"Visa Credit Card",svg:{brands:{viewBox:["0","0","576","512"],path:"M470.1 231.3s7.6 37.2 9.3 45H446c3.3-8.9 16-43.5 16-43.5-.2.3 3.3-9.1 5.3-14.9l2.8 13.4zM576 80v352c0 26.5-21.5 48-48 48H48c-26.5 0-48-21.5-48-48V80c0-26.5 21.5-48 48-48h480c26.5 0 48 21.5 48 48zM152.5 331.2L215.7 176h-42.5l-39.3 106-4.3-21.5-14-71.4c-2.3-9.9-9.4-12.7-18.2-13.1H32.7l-.7 3.1c15.8 4 29.9 9.8 42.2 17.1l35.8 135h42.5zm94.4.2L272.1 176h-40.2l-25.1 155.4h40.1zm139.9-50.8c.2-17.7-10.6-31.2-33.7-42.3-14.1-7.1-22.7-11.9-22.7-19.2.2-6.6 7.3-13.4 23.1-13.4 13.1-.3 22.7 2.8 29.9 5.9l3.6 1.7 5.5-33.6c-7.9-3.1-20.5-6.6-36-6.6-39.7 0-67.6 21.2-67.8 51.4-.3 22.3 20 34.7 35.2 42.2 15.5 7.6 20.8 12.6 20.8 19.3-.2 10.4-12.6 15.2-24.1 15.2-16 0-24.6-2.5-37.7-8.3l-5.3-2.5-5.6 34.9c9.4 4.3 26.8 8.1 44.8 8.3 42.2.1 69.7-20.8 70-53zM528 331.4L495.6 176h-31.1c-9.6 0-16.9 2.8-21 12.9l-59.7 142.5H426s6.9-19.2 8.4-23.3H486c1.2 5.5 4.8 23.3 4.8 23.3H528z"}}},centercode:{search:{terms:[]},styles:["brands"],label:"Centercode",svg:{brands:{viewBox:["0","0","512","512"],path:"M329.2 268.6c-3.8 35.2-35.4 60.6-70.6 56.8-35.2-3.8-60.6-35.4-56.8-70.6 3.8-35.2 35.4-60.6 70.6-56.8 35.1 3.8 60.6 35.4 56.8 70.6zm-85.8 235.1C96.7 496-8.2 365.5 10.1 224.3c11.2-86.6 65.8-156.9 139.1-192 161-77.1 349.7 37.4 354.7 216.6 4.1 147-118.4 262.2-260.5 254.8zm179.9-180c27.9-118-160.5-205.9-237.2-234.2-57.5 56.3-69.1 188.6-33.8 344.4 68.8 15.8 169.1-26.4 271-110.2z"}}},certificate:{search:{terms:["badge","star"]},styles:["solid"],label:"certificate",svg:{solid:{viewBox:["0","0","512","512"],path:"M458.622 255.92l45.985-45.005c13.708-12.977 7.316-36.039-10.664-40.339l-62.65-15.99 17.661-62.015c4.991-17.838-11.829-34.663-29.661-29.671l-61.994 17.667-15.984-62.671C337.085.197 313.765-6.276 300.99 7.228L256 53.57 211.011 7.229c-12.63-13.351-36.047-7.234-40.325 10.668l-15.984 62.671-61.995-17.667C74.87 57.907 58.056 74.738 63.046 92.572l17.661 62.015-62.65 15.99C.069 174.878-6.31 197.944 7.392 210.915l45.985 45.005-45.985 45.004c-13.708 12.977-7.316 36.039 10.664 40.339l62.65 15.99-17.661 62.015c-4.991 17.838 11.829 34.663 29.661 29.671l61.994-17.667 15.984 62.671c4.439 18.575 27.696 24.018 40.325 10.668L256 458.61l44.989 46.001c12.5 13.488 35.987 7.486 40.325-10.668l15.984-62.671 61.994 17.667c17.836 4.994 34.651-11.837 29.661-29.671l-17.661-62.015 62.65-15.99c17.987-4.302 24.366-27.367 10.664-40.339l-45.984-45.004z"}}},chair:{search:{terms:["furniture","seat"]},styles:["solid"],label:"Chair",svg:{solid:{viewBox:["0","0","448","512"],path:"M446.33 341.88l-10.67-32A31.996 31.996 0 0 0 405.3 288H42.69c-13.77 0-26 8.81-30.36 21.88l-10.67 32C-5.24 362.6 10.18 384 32.03 384H32v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h256v112c0 8.84 7.16 16 16 16h32c8.84 0 16-7.16 16-16V384h-.03c21.85 0 37.27-21.4 30.36-42.12zM112 128c0-29.48 16.2-54.99 40-68.87V256h48V48h48v208h48V59.13c23.8 13.88 40 39.39 40 68.87v128h48V128C384 57.31 326.69 0 256 0h-64C121.31 0 64 57.31 64 128v128h48V128z"}}},chalkboard:{search:{terms:["blackboard","learning","school","teaching","whiteboard","writing"]},styles:["solid"],label:"Chalkboard",svg:{solid:{viewBox:["0","0","640","512"],path:"M96 64h448v352h64V40c0-22.06-17.94-40-40-40H72C49.94 0 32 17.94 32 40v376h64V64zm528 384H480v-64H288v64H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h608c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},"chalkboard-teacher":{search:{terms:["blackboard","instructor","learning","professor","school","whiteboard","writing"]},styles:["solid"],label:"Chalkboard Teacher",svg:{solid:{viewBox:["0","0","640","512"],path:"M208 352c-2.39 0-4.78.35-7.06 1.09C187.98 357.3 174.35 360 160 360c-14.35 0-27.98-2.7-40.95-6.91-2.28-.74-4.66-1.09-7.05-1.09C49.94 352-.33 402.48 0 464.62.14 490.88 21.73 512 48 512h224c26.27 0 47.86-21.12 48-47.38.33-62.14-49.94-112.62-112-112.62zm-48-32c53.02 0 96-42.98 96-96s-42.98-96-96-96-96 42.98-96 96 42.98 96 96 96zM592 0H208c-26.47 0-48 22.25-48 49.59V96c23.42 0 45.1 6.78 64 17.8V64h352v288h-64v-64H384v64h-76.24c19.1 16.69 33.12 38.73 39.69 64H592c26.47 0 48-22.25 48-49.59V49.59C640 22.25 618.47 0 592 0z"}}},"charging-station":{search:{terms:[]},styles:["solid"],label:"Charging Station",svg:{solid:{viewBox:["0","0","576","512"],path:"M336 448H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h320c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zm208-320V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-32V80c0-8.84-7.16-16-16-16s-16 7.16-16 16v48h-16c-8.84 0-16 7.16-16 16v32c0 35.76 23.62 65.69 56 75.93v118.49c0 13.95-9.5 26.92-23.26 29.19C431.22 402.5 416 388.99 416 372v-28c0-48.6-39.4-88-88-88h-8V64c0-35.35-28.65-64-64-64H96C60.65 0 32 28.65 32 64v352h288V304h8c22.09 0 40 17.91 40 40v24.61c0 39.67 28.92 75.16 68.41 79.01C481.71 452.05 520 416.41 520 372V251.93c32.38-10.24 56-40.17 56-75.93v-32c0-8.84-7.16-16-16-16h-16zm-283.91 47.76l-93.7 139c-2.2 3.33-6.21 5.24-10.39 5.24-7.67 0-13.47-6.28-11.67-12.92L167.35 224H108c-7.25 0-12.85-5.59-11.89-11.89l16-107C112.9 99.9 117.98 96 124 96h68c7.88 0 13.62 6.54 11.6 13.21L192 160h57.7c9.24 0 15.01 8.78 10.39 15.76z"}}},"chart-area":{search:{terms:["analytics","area-chart","graph"]},styles:["solid"],label:"Area Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M500 384c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12H12c-6.6 0-12-5.4-12-12V76c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v308h436zM372.7 159.5L288 216l-85.3-113.7c-5.1-6.8-15.5-6.3-19.9 1L96 248v104h384l-89.9-187.8c-3.2-6.5-11.4-8.7-17.4-4.7z"}}},"chart-bar":{search:{terms:["analytics","bar-chart","graph"]},styles:["solid","regular"],label:"Bar Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M332.8 320h38.4c6.4 0 12.8-6.4 12.8-12.8V172.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V76.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-288 0h38.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h38.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-38.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zM496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"},regular:{last_modified:1535388320834,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M396.8 352h22.4c6.4 0 12.8-6.4 12.8-12.8V108.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v230.4c0 6.4 6.4 12.8 12.8 12.8zm-192 0h22.4c6.4 0 12.8-6.4 12.8-12.8V140.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v198.4c0 6.4 6.4 12.8 12.8 12.8zm96 0h22.4c6.4 0 12.8-6.4 12.8-12.8V204.8c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v134.4c0 6.4 6.4 12.8 12.8 12.8zM496 400H48V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-16c0-8.84-7.16-16-16-16zm-387.2-48h22.4c6.4 0 12.8-6.4 12.8-12.8v-70.4c0-6.4-6.4-12.8-12.8-12.8h-22.4c-6.4 0-12.8 6.4-12.8 12.8v70.4c0 6.4 6.4 12.8 12.8 12.8z"}}},"chart-line":{search:{terms:["activity","analytics","dashboard","graph","line-chart"]},styles:["solid"],label:"Line Chart",svg:{solid:{viewBox:["0","0","512","512"],path:"M496 384H64V80c0-8.84-7.16-16-16-16H16C7.16 64 0 71.16 0 80v336c0 17.67 14.33 32 32 32h464c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16zM464 96H345.94c-21.38 0-32.09 25.85-16.97 40.97l32.4 32.4L288 242.75l-73.37-73.37c-12.5-12.5-32.76-12.5-45.25 0l-68.69 68.69c-6.25 6.25-6.25 16.38 0 22.63l22.62 22.62c6.25 6.25 16.38 6.25 22.63 0L192 237.25l73.37 73.37c12.5 12.5 32.76 12.5 45.25 0l96-96 32.4 32.4c15.12 15.12 40.97 4.41 40.97-16.97V112c.01-8.84-7.15-16-15.99-16z"}}},"chart-pie":{search:{terms:["analytics","graph","pie-chart"]},styles:["solid"],label:"Pie Chart",svg:{solid:{viewBox:["0","0","544","512"],path:"M527.79 288H290.5l158.03 158.03c6.04 6.04 15.98 6.53 22.19.68 38.7-36.46 65.32-85.61 73.13-140.86 1.34-9.46-6.51-17.85-16.06-17.85zm-15.83-64.8C503.72 103.74 408.26 8.28 288.8.04 279.68-.59 272 7.1 272 16.24V240h223.77c9.14 0 16.82-7.68 16.19-16.8zM224 288V50.71c0-9.55-8.39-17.4-17.84-16.06C86.99 51.49-4.1 155.6.14 280.37 4.5 408.51 114.83 513.59 243.03 511.98c50.4-.63 96.97-16.87 135.26-44.03 7.9-5.6 8.42-17.23 1.57-24.08L224 288z"}}},check:{search:{terms:["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo","yes"]},styles:["solid"],label:"Check",svg:{solid:{viewBox:["0","0","512","512"],path:"M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"}}},"check-circle":{search:{terms:["accept","agree","confirm","correct","done","ok","select","success","todo","yes"]},styles:["solid","regular"],label:"Check Circle",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 136.967-111.033 248-248 248S8 392.967 8 256 119.033 8 256 8s248 111.033 248 248zM227.314 387.314l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.249-16.379-6.249-22.628 0L216 308.118l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.249 16.379 6.249 22.628.001z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 48c110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200-110.532 0-200-89.451-200-200 0-110.532 89.451-200 200-200m140.204 130.267l-22.536-22.718c-4.667-4.705-12.265-4.736-16.97-.068L215.346 303.697l-59.792-60.277c-4.667-4.705-12.265-4.736-16.97-.069l-22.719 22.536c-4.705 4.667-4.736 12.265-.068 16.971l90.781 91.516c4.667 4.705 12.265 4.736 16.97.068l172.589-171.204c4.704-4.668 4.734-12.266.067-16.971z"}}},"check-double":{search:{terms:["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo"]},styles:["solid"],label:"Check Double",svg:{solid:{viewBox:["0","0","512","512"],path:"M504.5 171.95l-36.2-36.41c-10-10.05-26.21-10.05-36.2 0L192 377.02 79.9 264.28c-10-10.06-26.21-10.06-36.2 0L7.5 300.69c-10 10.05-10 26.36 0 36.41l166.4 167.36c10 10.06 26.21 10.06 36.2 0l294.4-296.09c10-10.06 10-26.36 0-36.42zM166.57 282.71c6.84 7.02 18.18 7.02 25.21.18L403.85 72.62c7.02-6.84 7.02-18.18.18-25.21L362.08 5.29c-6.84-7.02-18.18-7.02-25.21-.18L179.71 161.19l-68.23-68.77c-6.84-7.02-18.18-7.02-25.2-.18l-42.13 41.77c-7.02 6.84-7.02 18.18-.18 25.2l122.6 123.5z"}}},"check-square":{search:{terms:["accept","agree","checkmark","confirm","correct","done","ok","select","success","todo","yes"]},styles:["solid","regular"],label:"Check Square",svg:{solid:{viewBox:["0","0","448","512"],path:"M400 480H48c-26.51 0-48-21.49-48-48V80c0-26.51 21.49-48 48-48h352c26.51 0 48 21.49 48 48v352c0 26.51-21.49 48-48 48zm-204.686-98.059l184-184c6.248-6.248 6.248-16.379 0-22.627l-22.627-22.627c-6.248-6.248-16.379-6.249-22.628 0L184 302.745l-70.059-70.059c-6.248-6.248-16.379-6.248-22.628 0l-22.627 22.627c-6.248 6.248-6.248 16.379 0 22.627l104 104c6.249 6.25 16.379 6.25 22.628.001z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M400 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h352c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zm0 400H48V80h352v352zm-35.864-241.724L191.547 361.48c-4.705 4.667-12.303 4.637-16.97-.068l-90.781-91.516c-4.667-4.705-4.637-12.303.069-16.971l22.719-22.536c4.705-4.667 12.303-4.637 16.97.069l59.792 60.277 141.352-140.216c4.705-4.667 12.303-4.637 16.97.068l22.536 22.718c4.667 4.706 4.637 12.304-.068 16.971z"}}},chess:{search:{terms:[]},styles:["solid"],label:"Chess",svg:{solid:{viewBox:["0","0","512","512"],path:"M199.821 217.633a6 6 0 0 1 6 6l-.001 20.766a6 6 0 0 1-6 6h-25.805c0 31.715-2.153 96.201 17.398 153.229H64.597C84.54 345.452 82.02 279.245 82.02 250.399H56.183a6 6 0 0 1-6-6l.002-20.766a6 6 0 0 1 6-6h143.636zM41.554 115.088l34.58 95.071h103.734l34.572-95.072c2.846-7.826-2.95-16.101-11.278-16.101H152v-30.22h21.57a6 6 0 0 0 6-6V40.383a6 6 0 0 0-6-6h-28.367V6a6 6 0 0 0-6-6H116.82a6 6 0 0 0-6 6v28.383H82.421a6 6 0 0 0-6 6v22.383a6 6 0 0 0 6 6H104v30.219H52.831c-8.328.001-14.124 8.276-11.277 16.103zM222.678 445.17v-28.067a6 6 0 0 0-6-6H39.322a6 6 0 0 0-6 6v28.067l-22.148 14.164a6 6 0 0 0-2.767 5.055V506a6 6 0 0 0 6 6h227.187a6 6 0 0 0 6-6v-41.612a6 6 0 0 0-2.767-5.055l-22.149-14.163zm90.578-144.225l24.88 16.963c.09 18.124-.167 63.904-11.905 114.522h147.526c-11.713-50.475-11.969-96.324-11.882-114.537l24.859-16.949a3.856 3.856 0 0 0 1.684-3.187v-69.901a3.857 3.857 0 0 0-3.857-3.857h-27.655a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.858-3.857h-52.918a3.857 3.857 0 0 0-3.857 3.857v31.514h-22.737v-31.514a3.857 3.857 0 0 0-3.857-3.857H315.43a3.857 3.857 0 0 0-3.857 3.857v69.901a3.855 3.855 0 0 0 1.683 3.188zm71.585 51.906c0-8.372 6.787-15.158 15.159-15.158s15.158 6.787 15.158 15.158v30.318h-30.317v-30.318zM504.62 470.059l-13.664-10.639v-15.552a3.857 3.857 0 0 0-3.857-3.857H312.915a3.857 3.857 0 0 0-3.857 3.857v15.552l-13.677 10.639a3.857 3.857 0 0 0-1.488 3.044v35.039a3.857 3.857 0 0 0 3.857 3.857h204.5a3.857 3.857 0 0 0 3.857-3.857v-35.04a3.859 3.859 0 0 0-1.487-3.043z"}}},"chess-bishop":{search:{terms:[]},styles:["solid"],label:"Chess Bishop",svg:{solid:{viewBox:["0","0","320","512"],path:"M123.158 77.881C107.369 72.53 96 57.597 96 40c0-22.091 17.909-40 40-40h47.796c22.091 0 40 17.909 40 40 0 17.541-11.295 32.434-27.005 37.829 23.993 16.657 48.577 46.839 68.703 82.05L144.929 280.443a6 6 0 0 0 0 8.485l14.142 14.142a6 6 0 0 0 8.485 0L280.9 189.726c17.758 38.297 29.371 79.443 29.371 114.273 0 53.786-22.897 75.788-58.446 86.033V448H68.174v-57.97C32.631 379.784 9.739 357.781 9.739 304c0-78.029 58.281-187.766 113.419-226.119zM320 500v-24c0-6.627-5.373-12-12-12H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h296c6.627 0 12-5.373 12-12z"}}},"chess-board":{search:{terms:[]},styles:["solid"],label:"Chess Board",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 256v64h-64v-64h64zm0-256h-64v64h64V0zm0 256h64v-64h-64v64zM384 0h-64v64h64V0zm0 512h64v-64h-64v64zm128-64v-64h-64v64h64zm-384 64h64v-64h-64v64zm0-512H64v64h64V0zm384 192v-64h-64v64h64zm0 128v-64h-64v64h64zM0 512h64v-64H0v64zM0 64v64h64V64H0zm0 128v64h64v-64H0zm0 128v64h64v-64H0zm256 192h64v-64h-64v64zm-64-128v64h64v-64h-64zm64-192v-64h-64v64h64zM64 384v64h64v-64H64zm64-128H64v64h64v-64zm256 128h64v-64h-64v64zM512 0h-64v64h64V0zM384 256h64v-64h-64v64zm0-192v64h64V64h-64zm-64 320v64h64v-64h-64zm-192-64v64h64v-64h-64zm128 0v64h64v-64h-64zm-64-128h-64v64h64v-64zm-64-64H64v64h64v-64zm192 192h64v-64h-64v64zM192 128V64h-64v64h64zm128 0V64h-64v64h64zm0 64h64v-64h-64v64z"}}},"chess-king":{search:{terms:[]},styles:["solid"],label:"Chess King",svg:{solid:{viewBox:["0","0","448","512"],path:"M416 476v24c0 6.627-5.373 12-12 12H44c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12zm-8.033-324H248v-48h50a6 6 0 0 0 6-6V62a6 6 0 0 0-6-6h-50V6a6 6 0 0 0-6-6h-36a6 6 0 0 0-6 6v50h-50a6 6 0 0 0-6 6v36a6 6 0 0 0 6 6h50v48H40.033c-27.574 0-46.879 27.244-37.738 53.259L87.582 448h272.836l85.287-242.741C454.846 179.244 435.541 152 407.967 152z"}}},"chess-knight":{search:{terms:[]},styles:["solid"],label:"Chess Knight",svg:{solid:{viewBox:["0","0","384","512"],path:"M352 224v224H32v-46.557c0-30.302 17.12-58.003 44.223-71.554l57.243-28.622A48 48 0 0 0 160 258.334V208l-22.127 11.063a23.996 23.996 0 0 0-12.55 15.645l-11.835 47.338a12 12 0 0 1-7.185 8.231l-29.601 11.84a11.998 11.998 0 0 1-9.33-.176L7.126 275.167A12 12 0 0 1 0 264.201v-158.26c0-6.365 2.529-12.47 7.03-16.971L16 80 1.789 51.578A16.937 16.937 0 0 1 0 44c0-6.627 5.373-12 12-12h148c106.039 0 192 85.961 192 192zm20 240H12c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h360c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12zM52 128c-11.046 0-20 8.954-20 20s8.954 20 20 20 20-8.954 20-20-8.954-20-20-20z"}}},"chess-pawn":{search:{terms:[]},styles:["solid"],label:"Chess Pawn",svg:{solid:{viewBox:["0","0","320","512"],path:"M264 448H56s60-42.743 60-176H84c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h40.209C95.721 210.56 76 181.588 76 148c0-46.392 37.608-84 84-84s84 37.608 84 84c0 33.588-19.721 62.56-48.209 76H236c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12h-32c0 133.257 60 176 60 176zm28 16H28c-6.627 0-12 5.373-12 12v24c0 6.627 5.373 12 12 12h264c6.627 0 12-5.373 12-12v-24c0-6.627-5.373-12-12-12z"}}},"chess-queen":{search:{terms:[]},styles:["solid"],label:"Chess Queen",svg:{solid:{viewBox:["0","0","512","512"],path:"M436 512H76c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12v24c0 6.627-5.373 12-12 12zM255.579 0c-30.928 0-56 25.072-56 56s25.072 56 56 56 56-25.072 56-56-25.072-56-56-56zm204.568 154.634c-5.768-3.045-12.916-.932-16.082 4.77-8.616 15.516-22.747 37.801-44.065 37.801-28.714 0-30.625-19.804-31.686-57.542-.183-6.492-5.501-11.664-11.995-11.664h-41.006c-5.175 0-9.754 3.328-11.388 8.238-8.89 26.709-26.073 40.992-47.925 40.992s-39.034-14.283-47.925-40.992c-1.634-4.91-6.213-8.238-11.388-8.238h-41.005c-6.495 0-11.813 5.174-11.995 11.667-1.052 37.642-2.934 57.539-31.688 57.539-20.691 0-33.817-20.224-44.425-38.025-3.266-5.48-10.258-7.431-15.899-4.453l-39.179 20.679a12 12 0 0 0-5.51 15.145L112 448h288l105.014-257.448a12 12 0 0 0-5.51-15.145l-39.357-20.773z"}}},"chess-rook":{search:{terms:[]},styles:["solid"],label:"Chess Rook",svg:{solid:{viewBox:["0","0","384","512"],path:"M81.241 215.027C80.957 258.92 77.411 348.076 48 448h287.982c-29.4-99.604-32.936-188.912-33.221-232.975l45.418-42.312a11.998 11.998 0 0 0 3.82-8.78V44c0-6.627-5.373-12-12-12h-40c-6.627 0-12 5.373-12 12v44h-48V44c0-6.627-5.373-12-12-12h-72c-6.627 0-12 5.373-12 12v44H96V44c0-6.627-5.373-12-12-12H44c-6.627 0-12 5.373-12 12v119.932c0 3.33 1.384 6.51 3.82 8.78l45.421 42.315zM160 256c0-17.673 14.327-32 32-32 17.673 0 32 14.327 32 32v64.004h-64V256zm224 220v24c0 6.627-5.373 12-12 12H12c-6.627 0-12-5.373-12-12v-24c0-6.627 5.373-12 12-12h360c6.627 0 12 5.373 12 12z"}}},"chevron-circle-down":{search:{terms:["arrow","dropdown","menu","more"]},styles:["solid"],label:"Chevron Circle Down",svg:{solid:{viewBox:["0","0","512","512"],path:"M504 256c0 137-111 248-248 248S8 393 8 256 119 8 256 8s248 111 248 248zM273 369.9l135.5-135.5c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L256 285.1 154.4 183.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L239 369.9c9.4 9.4 24.6 9.4 34 0z"}}},"chevron-circle-left":{search:{terms:["arrow","back","previous"]},styles:["solid"],label:"Chevron Circle Left",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 504C119 504 8 393 8 256S119 8 256 8s248 111 248 248-111 248-248 248zM142.1 273l135.5 135.5c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L226.9 256l101.6-101.6c9.4-9.4 9.4-24.6 0-33.9l-17-17c-9.4-9.4-24.6-9.4-33.9 0L142.1 239c-9.4 9.4-9.4 24.6 0 34z"}}},"chevron-circle-right":{search:{terms:["arrow","forward","next"]},styles:["solid"],label:"Chevron Circle Right",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8c137 0 248 111 248 248S393 504 256 504 8 393 8 256 119 8 256 8zm113.9 231L234.4 103.5c-9.4-9.4-24.6-9.4-33.9 0l-17 17c-9.4 9.4-9.4 24.6 0 33.9L285.1 256 183.5 357.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L369.9 273c9.4-9.4 9.4-24.6 0-34z"}}},"chevron-circle-up":{search:{terms:["arrow"]},styles:["solid"],label:"Chevron Circle Up",svg:{solid:{viewBox:["0","0","512","512"],path:"M8 256C8 119 119 8 256 8s248 111 248 248-111 248-248 248S8 393 8 256zm231-113.9L103.5 277.6c-9.4 9.4-9.4 24.6 0 33.9l17 17c9.4 9.4 24.6 9.4 33.9 0L256 226.9l101.6 101.6c9.4 9.4 24.6 9.4 33.9 0l17-17c9.4-9.4 9.4-24.6 0-33.9L273 142.1c-9.4-9.4-24.6-9.4-34 0z"}}},"chevron-down":{search:{terms:[]},styles:["solid"],label:"chevron-down",svg:{solid:{viewBox:["0","0","448","512"],path:"M207.029 381.476L12.686 187.132c-9.373-9.373-9.373-24.569 0-33.941l22.667-22.667c9.357-9.357 24.522-9.375 33.901-.04L224 284.505l154.745-154.021c9.379-9.335 24.544-9.317 33.901.04l22.667 22.667c9.373 9.373 9.373 24.569 0 33.941L240.971 381.476c-9.373 9.372-24.569 9.372-33.942 0z"}}},"chevron-left":{search:{terms:["back","bracket","previous"]},styles:["solid"],label:"chevron-left",svg:{solid:{viewBox:["0","0","320","512"],path:"M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"}}},"chevron-right":{search:{terms:["bracket","forward","next"]},styles:["solid"],label:"chevron-right",svg:{solid:{viewBox:["0","0","320","512"],path:"M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"}}},"chevron-up":{search:{terms:[]},styles:["solid"],label:"chevron-up",svg:{solid:{viewBox:["0","0","448","512"],path:"M240.971 130.524l194.343 194.343c9.373 9.373 9.373 24.569 0 33.941l-22.667 22.667c-9.357 9.357-24.522 9.375-33.901.04L224 227.495 69.255 381.516c-9.379 9.335-24.544 9.317-33.901-.04l-22.667-22.667c-9.373-9.373-9.373-24.569 0-33.941L207.03 130.525c9.372-9.373 24.568-9.373 33.941-.001z"}}},child:{search:{terms:[]},styles:["solid"],label:"Child",svg:{solid:{viewBox:["0","0","384","512"],path:"M120 72c0-39.765 32.235-72 72-72s72 32.235 72 72c0 39.764-32.235 72-72 72s-72-32.236-72-72zm254.627 1.373c-12.496-12.497-32.758-12.497-45.254 0L242.745 160H141.254L54.627 73.373c-12.496-12.497-32.758-12.497-45.254 0-12.497 12.497-12.497 32.758 0 45.255L104 213.254V480c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V368h16v112c0 17.673 14.327 32 32 32h16c17.673 0 32-14.327 32-32V213.254l94.627-94.627c12.497-12.497 12.497-32.757 0-45.254z"}}},chrome:{search:{terms:["browser"]},styles:["brands"],label:"Chrome",svg:{brands:{viewBox:["0","0","496","512"],path:"M131.5 217.5L55.1 100.1c47.6-59.2 119-91.8 192-92.1 42.3-.3 85.5 10.5 124.8 33.2 43.4 25.2 76.4 61.4 97.4 103L264 133.4c-58.1-3.4-113.4 29.3-132.5 84.1zm32.9 38.5c0 46.2 37.4 83.6 83.6 83.6s83.6-37.4 83.6-83.6-37.4-83.6-83.6-83.6-83.6 37.3-83.6 83.6zm314.9-89.2L339.6 174c37.9 44.3 38.5 108.2 6.6 157.2L234.1 503.6c46.5 2.5 94.4-7.7 137.8-32.9 107.4-62 150.9-192 107.4-303.9zM133.7 303.6L40.4 120.1C14.9 159.1 0 205.9 0 256c0 124 90.8 226.7 209.5 244.9l63.7-124.8c-57.6 10.8-113.2-20.8-139.5-72.5z"}}},church:{search:{terms:["building","community","religion"]},styles:["solid"],label:"Church",svg:{solid:{viewBox:["0","0","640","512"],path:"M464.46 246.68L352 179.2V128h48c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-48V16c0-8.84-7.16-16-16-16h-32c-8.84 0-16 7.16-16 16v48h-48c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h48v51.2l-112.46 67.48A31.997 31.997 0 0 0 160 274.12V512h96v-96c0-35.35 28.65-64 64-64s64 28.65 64 64v96h96V274.12c0-11.24-5.9-21.66-15.54-27.44zM0 395.96V496c0 8.84 7.16 16 16 16h112V320L19.39 366.54A32.024 32.024 0 0 0 0 395.96zm620.61-29.42L512 320v192h112c8.84 0 16-7.16 16-16V395.96c0-12.8-7.63-24.37-19.39-29.42z"}}},circle:{search:{terms:["circle-thin","dot","notification"]},styles:["solid","regular"],label:"Circle",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"}}},"circle-notch":{search:{terms:["circle-o-notch"]},styles:["solid"],label:"Circle Notched",svg:{solid:{viewBox:["0","0","512","512"],path:"M288 39.056v16.659c0 10.804 7.281 20.159 17.686 23.066C383.204 100.434 440 171.518 440 256c0 101.689-82.295 184-184 184-101.689 0-184-82.295-184-184 0-84.47 56.786-155.564 134.312-177.219C216.719 75.874 224 66.517 224 55.712V39.064c0-15.709-14.834-27.153-30.046-23.234C86.603 43.482 7.394 141.206 8.003 257.332c.72 137.052 111.477 246.956 248.531 246.667C393.255 503.711 504 392.788 504 256c0-115.633-79.14-212.779-186.211-240.236C302.678 11.889 288 23.456 288 39.056z"}}},city:{search:{terms:["buildings","busy","skyscrapers","urban","windows"]},styles:["solid"],label:"City",svg:{solid:{viewBox:["0","0","640","512"],path:"M616 192H480V24c0-13.26-10.74-24-24-24H312c-13.26 0-24 10.74-24 24v72h-64V16c0-8.84-7.16-16-16-16h-16c-8.84 0-16 7.16-16 16v80h-64V16c0-8.84-7.16-16-16-16H80c-8.84 0-16 7.16-16 16v80H24c-13.26 0-24 10.74-24 24v360c0 17.67 14.33 32 32 32h576c17.67 0 32-14.33 32-32V216c0-13.26-10.75-24-24-24zM128 404c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12H76c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm128 192c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12V76c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm160 288c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40zm0-96c0 6.63-5.37 12-12 12h-40c-6.63 0-12-5.37-12-12v-40c0-6.63 5.37-12 12-12h40c6.63 0 12 5.37 12 12v40z"}}},clipboard:{search:{terms:["paste"]},styles:["solid","regular"],label:"Clipboard",svg:{solid:{viewBox:["0","0","384","512"],path:"M384 112v352c0 26.51-21.49 48-48 48H48c-26.51 0-48-21.49-48-48V112c0-26.51 21.49-48 48-48h80c0-35.29 28.71-64 64-64s64 28.71 64 64h80c26.51 0 48 21.49 48 48zM192 40c-13.255 0-24 10.745-24 24s10.745 24 24 24 24-10.745 24-24-10.745-24-24-24m96 114v-20a6 6 0 0 0-6-6H102a6 6 0 0 0-6 6v20a6 6 0 0 0 6 6h180a6 6 0 0 0 6-6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 384 512"><path d="M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24"/></svg>',viewBox:["0","0","384","512"],width:384,height:512,path:"M336 64h-80c0-35.29-28.71-64-64-64s-64 28.71-64 64H48C21.49 64 0 85.49 0 112v352c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48V112c0-26.51-21.49-48-48-48zm-6 400H54a6 6 0 0 1-6-6V118a6 6 0 0 1 6-6h42v36c0 6.627 5.373 12 12 12h168c6.627 0 12-5.373 12-12v-36h42a6 6 0 0 1 6 6v340a6 6 0 0 1-6 6zM192 40c13.255 0 24 10.745 24 24s-10.745 24-24 24-24-10.745-24-24 10.745-24 24-24"}}},"clipboard-check":{search:{terms:["accept","agree","confirm","done","ok","select","success","todo","yes"]},styles:["solid"],label:"Clipboard Check",svg:{solid:{viewBox:["0","0","384","512"],path:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM192 40c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm121.2 231.8l-143 141.8c-4.7 4.7-12.3 4.6-17-.1l-82.6-83.3c-4.7-4.7-4.6-12.3.1-17L99.1 285c4.7-4.7 12.3-4.6 17 .1l46 46.4 106-105.2c4.7-4.7 12.3-4.6 17 .1l28.2 28.4c4.7 4.8 4.6 12.3-.1 17z"}}},"clipboard-list":{search:{terms:["checklist","completed","done","finished","intinerary","ol","schedule","todo","ul"]},styles:["solid"],label:"Clipboard List",svg:{solid:{viewBox:["0","0","384","512"],path:"M336 64h-80c0-35.3-28.7-64-64-64s-64 28.7-64 64H48C21.5 64 0 85.5 0 112v352c0 26.5 21.5 48 48 48h288c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM96 424c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm0-96c-13.3 0-24-10.7-24-24s10.7-24 24-24 24 10.7 24 24-10.7 24-24 24zm96-192c13.3 0 24 10.7 24 24s-10.7 24-24 24-24-10.7-24-24 10.7-24 24-24zm128 368c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16zm0-96c0 4.4-3.6 8-8 8H168c-4.4 0-8-3.6-8-8v-16c0-4.4 3.6-8 8-8h144c4.4 0 8 3.6 8 8v16z"}}},clock:{search:{terms:["date","late","schedule","timer","timestamp","watch"]},styles:["solid","regular"],label:"Clock",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm57.1 350.1L224.9 294c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h48c6.6 0 12 5.4 12 12v137.7l63.5 46.2c5.4 3.9 6.5 11.4 2.6 16.8l-28.2 38.8c-3.9 5.3-11.4 6.5-16.8 2.6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200zm61.8-104.4l-84.9-61.7c-3.1-2.3-4.9-5.9-4.9-9.7V116c0-6.6 5.4-12 12-12h32c6.6 0 12 5.4 12 12v141.7l66.8 48.6c5.4 3.9 6.5 11.4 2.6 16.8L334.6 349c-3.9 5.3-11.4 6.5-16.8 2.6z"}}},clone:{search:{terms:["copy","duplicate"]},styles:["solid","regular"],label:"Clone",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 0c26.51 0 48 21.49 48 48v288c0 26.51-21.49 48-48 48H176c-26.51 0-48-21.49-48-48V48c0-26.51 21.49-48 48-48h288M176 416c-44.112 0-80-35.888-80-80V128H48c-26.51 0-48 21.49-48 48v288c0 26.51 21.49 48 48 48h288c26.51 0 48-21.49 48-48v-48H176z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M464 0H144c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h320c26.51 0 48-21.49 48-48v-48h48c26.51 0 48-21.49 48-48V48c0-26.51-21.49-48-48-48zM362 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h42v224c0 26.51 21.49 48 48 48h224v42a6 6 0 0 1-6 6zm96-96H150a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h308a6 6 0 0 1 6 6v308a6 6 0 0 1-6 6z"}}},"closed-captioning":{search:{terms:["cc"]},styles:["solid","regular"],label:"Closed Captioning",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zM218.1 287.7c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2.1 48 51.1 70.5 92.3 32.6zm190.4 0c2.8-2.5 7.1-2.1 9.2.9l19.5 27.7c1.7 2.4 1.5 5.6-.5 7.7-53.5 56.9-172.7 32.1-172.7-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 222.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M464 64H48C21.5 64 0 85.5 0 112v288c0 26.5 21.5 48 48 48h416c26.5 0 48-21.5 48-48V112c0-26.5-21.5-48-48-48zm-6 336H54c-3.3 0-6-2.7-6-6V118c0-3.3 2.7-6 6-6h404c3.3 0 6 2.7 6 6v276c0 3.3-2.7 6-6 6zm-211.1-85.7c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.8-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7l-17.5 30.5c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7zm190.4 0c1.7 2.4 1.5 5.6-.5 7.7-53.6 56.9-172.8 32.1-172.8-67.9 0-97.3 121.7-119.5 172.5-70.1 2.1 2 2.5 3.2 1 5.7L420 220.2c-1.9 3.1-6.2 4-9.1 1.7-40.8-32-94.6-14.9-94.6 31.2 0 48 51 70.5 92.2 32.6 2.8-2.5 7.1-2.1 9.2.9l19.6 27.7z"}}},cloud:{search:{terms:["save"]},styles:["solid"],label:"Cloud",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4z"}}},"cloud-download-alt":{search:{terms:["cloud-download"]},styles:["solid"],label:"Alternate Cloud Download",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zm-132.9 88.7L299.3 420.7c-6.2 6.2-16.4 6.2-22.6 0L171.3 315.3c-10.1-10.1-2.9-27.3 11.3-27.3H248V176c0-8.8 7.2-16 16-16h48c8.8 0 16 7.2 16 16v112h65.4c14.2 0 21.4 17.2 11.3 27.3z"}}},"cloud-moon":{search:{terms:["evening","halloween","holiday","night","sky"]},styles:["solid"],label:"Cloud with Moon",svg:{solid:{viewBox:["0","0","640","512"],path:"M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.3 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm285.26-29.42c-104.23 19.22-199.95-58.16-199.95-160.03 0-58.68 32.45-112.64 85.18-141.7 8.13-4.48 6.08-16.41-3.15-18.06C497.14 1.17 484 0 470.84 0 352.25 0 256 93.04 256 208c0 7.26.4 14.44 1.15 21.51 9.87-3.38 20.18-5.51 30.85-5.51 52.94 0 96 43.06 96 96 0 3.59-.21 7.17-.63 10.73 33.49 15.39 57.47 46.55 63.24 83.86 7.96.87 16.03 1.41 24.23 1.41 66.26 0 126.79-29.19 166.88-77.02 5.93-7.07-.54-17.41-9.71-15.72z"}}},"cloud-sun":{search:{terms:["day","daytime","fall","outdoors","seasonal"]},styles:["solid"],label:"Cloud with Sun",svg:{solid:{viewBox:["0","0","640","512"],path:"M342.75 352.68c5.74-9.59 9.25-20.69 9.25-32.68 0-35.35-28.65-64-64-64-17.21 0-32.77 6.88-44.27 17.93C227.39 244.31 196.23 224 160 224c-53.02 0-96 42.98-96 96 0 1.95.46 3.78.57 5.7C27.08 338.77 0 374.05 0 416c0 53.02 42.98 96 96 96h240c44.18 0 80-35.82 80-80 0-41.87-32.28-75.84-73.25-79.32zm243.19-99.8c-7.85-6.79-7.85-18.97 0-25.76L633.41 186c12.76-11.05 5.84-32.02-11-33.3l-61.59-4.67c-10.19-.78-17.28-10.49-14.9-20.43l14.95-62.48c3.89-16.26-13.96-29.02-28.08-20.07l-52.51 33.26c-8.61 5.46-20.06 1.75-23.85-7.72l-23.47-58.74c-6.32-15.81-28.19-15.81-34.51 0l-23.38 58.49c-3.83 9.59-15.44 13.35-24.17 7.82l-52.29-33.12c-14.13-8.95-31.98 3.81-28.08 20.07l14.95 62.48c2.38 9.94-4.7 19.65-14.9 20.43l-61.15 4.64c-17 1.29-23.99 22.46-11.1 33.62l31.23 27.05c7.82 5.17 15.21 11.01 21.78 17.84 11.42-4.71 23.73-7.18 36.37-7.18 5.97 0 11.77.71 17.44 1.76 7.09-54.98 53.68-97.76 110.56-97.76 61.76 0 112 50.24 112 112s-50.24 112-112 112c-.95 0-1.83-.26-2.77-.28 13.83 13.2 24.61 29.47 30.16 48.28h27.02c6.25 0 12.37 1.83 17.6 5.27l45.08 29.68c14.19 8.99 31.89-4.17 27.92-20.76l-14.69-61.38c-2.43-10.16 4.8-20.08 15.22-20.87l61.16-4.64c16.84-1.28 23.76-22.25 11-33.3l-47.47-41.11zm-202.66 59.94C393.3 317.34 404.32 320 416 320c44.11 0 80-35.89 80-80s-35.89-80-80-80c-43.25 0-78.39 34.56-79.75 77.49 26.44 15.53 44.59 43.13 47.03 75.33z"}}},"cloud-upload-alt":{search:{terms:["cloud-upload"]},styles:["solid"],label:"Alternate Cloud Upload",svg:{solid:{viewBox:["0","0","640","512"],path:"M537.6 226.6c4.1-10.7 6.4-22.4 6.4-34.6 0-53-43-96-96-96-19.7 0-38.1 6-53.3 16.2C367 64.2 315.3 32 256 32c-88.4 0-160 71.6-160 160 0 2.7.1 5.4.2 8.1C40.2 219.8 0 273.2 0 336c0 79.5 64.5 144 144 144h368c70.7 0 128-57.3 128-128 0-61.9-44-113.6-102.4-125.4zM393.4 288H328v112c0 8.8-7.2 16-16 16h-48c-8.8 0-16-7.2-16-16V288h-65.4c-14.3 0-21.4-17.2-11.3-27.3l105.4-105.4c6.2-6.2 16.4-6.2 22.6 0l105.4 105.4c10.1 10.1 2.9 27.3-11.3 27.3z"}}},cloudscale:{search:{terms:[]},styles:["brands"],label:"cloudscale.ch",svg:{brands:{viewBox:["0","0","448","512"],path:"M318.1 154l-9.4 7.6c-22.5-19.3-51.5-33.6-83.3-33.6C153.8 128 96 188.8 96 260.3c0 6.6.4 13.1 1.4 19.4-2-56 41.8-97.4 92.6-97.4 24.2 0 46.2 9.4 62.6 24.7l-25.2 20.4c-8.3-.9-16.8 1.8-23.1 8.1-11.1 11-11.1 28.9 0 40 11.1 11 28.9 11 40 0 6.3-6.3 9-14.9 8.1-23.1l75.2-88.8c6.3-6.5-3.3-15.9-9.5-9.6zm-83.8 111.5c-5.6 5.5-14.6 5.5-20.2 0-5.6-5.6-5.6-14.6 0-20.2s14.6-5.6 20.2 0 5.6 14.7 0 20.2zM224 32C100.5 32 0 132.5 0 256s100.5 224 224 224 224-100.5 224-224S347.5 32 224 32zm0 384c-88.2 0-160-71.8-160-160S135.8 96 224 96s160 71.8 160 160-71.8 160-160 160z"}}},cloudsmith:{search:{terms:[]},styles:["brands"],label:"Cloudsmith",svg:{brands:{viewBox:["0","0","332","512"],path:"M332.5 419.9c0 46.4-37.6 84.1-84 84.1s-84-37.7-84-84.1 37.6-84 84-84 84 37.6 84 84zm-84-243.9c46.4 0 80-37.6 80-84s-33.6-84-80-84-88 37.6-88 84-29.6 76-76 76-84 41.6-84 88 37.6 80 84 80 84-33.6 84-80 33.6-80 80-80z"}}},cloudversify:{search:{terms:[]},styles:["brands"],label:"cloudversify",svg:{brands:{viewBox:["0","0","616","512"],path:"M148.6 304c8.2 68.5 67.4 115.5 146 111.3 51.2 43.3 136.8 45.8 186.4-5.6 69.2 1.1 118.5-44.6 131.5-99.5 14.8-62.5-18.2-132.5-92.1-155.1-33-88.1-131.4-101.5-186.5-85-57.3 17.3-84.3 53.2-99.3 109.7-7.8 2.7-26.5 8.9-45 24.1 11.7 0 15.2 8.9 15.2 19.5v20.4c0 10.7-8.7 19.5-19.5 19.5h-20.2c-10.7 0-19.5-6-19.5-16.7V240H98.8C95 240 88 244.3 88 251.9v40.4c0 6.4 5.3 11.8 11.7 11.8h48.9zm227.4 8c-10.7 46.3 21.7 72.4 55.3 86.8C324.1 432.6 259.7 348 296 288c-33.2 21.6-33.7 71.2-29.2 92.9-17.9-12.4-53.8-32.4-57.4-79.8-3-39.9 21.5-75.7 57-93.9C297 191.4 369.9 198.7 400 248c-14.1-48-53.8-70.1-101.8-74.8 30.9-30.7 64.4-50.3 114.2-43.7 69.8 9.3 133.2 82.8 67.7 150.5 35-16.3 48.7-54.4 47.5-76.9l10.5 19.6c11.8 22 15.2 47.6 9.4 72-9.2 39-40.6 68.8-79.7 76.5-32.1 6.3-83.1-5.1-91.8-59.2zM128 208H88.2c-8.9 0-16.2-7.3-16.2-16.2v-39.6c0-8.9 7.3-16.2 16.2-16.2H128c8.9 0 16.2 7.3 16.2 16.2v39.6c0 8.9-7.3 16.2-16.2 16.2zM10.1 168C4.5 168 0 163.5 0 157.9v-27.8c0-5.6 4.5-10.1 10.1-10.1h27.7c5.5 0 10.1 4.5 10.1 10.1v27.8c0 5.6-4.5 10.1-10.1 10.1H10.1zM168 142.7v-21.4c0-5.1 4.2-9.3 9.3-9.3h21.4c5.1 0 9.3 4.2 9.3 9.3v21.4c0 5.1-4.2 9.3-9.3 9.3h-21.4c-5.1 0-9.3-4.2-9.3-9.3zM56 235.5v25c0 6.3-5.1 11.5-11.4 11.5H19.4C13.1 272 8 266.8 8 260.5v-25c0-6.3 5.1-11.5 11.4-11.5h25.1c6.4 0 11.5 5.2 11.5 11.5z"}}},cocktail:{search:{terms:["alcohol","beverage","drink"]},styles:["solid"],label:"Cocktail",svg:{solid:{viewBox:["0","0","576","512"],path:"M296 464h-56V338.78l168.74-168.73c15.52-15.52 4.53-42.05-17.42-42.05H24.68c-21.95 0-32.94 26.53-17.42 42.05L176 338.78V464h-56c-22.09 0-40 17.91-40 40 0 4.42 3.58 8 8 8h240c4.42 0 8-3.58 8-8 0-22.09-17.91-40-40-40zM432 0c-62.61 0-115.35 40.2-135.18 96h52.54c16.65-28.55 47.27-48 82.64-48 52.93 0 96 43.06 96 96s-43.07 96-96 96c-14.04 0-27.29-3.2-39.32-8.64l-35.26 35.26C379.23 279.92 404.59 288 432 288c79.53 0 144-64.47 144-144S511.53 0 432 0z"}}},code:{search:{terms:["brackets","html"]},styles:["solid"],label:"Code",svg:{solid:{viewBox:["0","0","640","512"],path:"M278.9 511.5l-61-17.7c-6.4-1.8-10-8.5-8.2-14.9L346.2 8.7c1.8-6.4 8.5-10 14.9-8.2l61 17.7c6.4 1.8 10 8.5 8.2 14.9L293.8 503.3c-1.9 6.4-8.5 10.1-14.9 8.2zm-114-112.2l43.5-46.4c4.6-4.9 4.3-12.7-.8-17.2L117 256l90.6-79.7c5.1-4.5 5.5-12.3.8-17.2l-43.5-46.4c-4.5-4.8-12.1-5.1-17-.5L3.8 247.2c-5.1 4.7-5.1 12.8 0 17.5l144.1 135.1c4.9 4.6 12.5 4.4 17-.5zm327.2.6l144.1-135.1c5.1-4.7 5.1-12.8 0-17.5L492.1 112.1c-4.8-4.5-12.4-4.3-17 .5L431.6 159c-4.6 4.9-4.3 12.7.8 17.2L523 256l-90.6 79.7c-5.1 4.5-5.5 12.3-.8 17.2l43.5 46.4c4.5 4.9 12.1 5.1 17 .6z"}}},"code-branch":{search:{terms:["branch","code-fork","fork","git","github","rebase","svn","vcs","version"]},styles:["solid"],label:"Code Branch",svg:{solid:{viewBox:["0","0","384","512"],path:"M384 144c0-44.2-35.8-80-80-80s-80 35.8-80 80c0 36.4 24.3 67.1 57.5 76.8-.6 16.1-4.2 28.5-11 36.9-15.4 19.2-49.3 22.4-85.2 25.7-28.2 2.6-57.4 5.4-81.3 16.9v-144c32.5-10.2 56-40.5 56-76.3 0-44.2-35.8-80-80-80S0 35.8 0 80c0 35.8 23.5 66.1 56 76.3v199.3C23.5 365.9 0 396.2 0 432c0 44.2 35.8 80 80 80s80-35.8 80-80c0-34-21.2-63.1-51.2-74.6 3.1-5.2 7.8-9.8 14.9-13.4 16.2-8.2 40.4-10.4 66.1-12.8 42.2-3.9 90-8.4 118.2-43.4 14-17.4 21.1-39.8 21.6-67.9 31.6-10.8 54.4-40.7 54.4-75.9zM80 64c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16zm0 384c-8.8 0-16-7.2-16-16s7.2-16 16-16 16 7.2 16 16-7.2 16-16 16zm224-320c8.8 0 16 7.2 16 16s-7.2 16-16 16-16-7.2-16-16 7.2-16 16-16z"}}},codepen:{search:{terms:[]},styles:["brands"],label:"Codepen",svg:{brands:{viewBox:["0","0","512","512"],path:"M502.285 159.704l-234-156c-7.987-4.915-16.511-4.96-24.571 0l-234 156C3.714 163.703 0 170.847 0 177.989v155.999c0 7.143 3.714 14.286 9.715 18.286l234 156.022c7.987 4.915 16.511 4.96 24.571 0l234-156.022c6-3.999 9.715-11.143 9.715-18.286V177.989c-.001-7.142-3.715-14.286-9.716-18.285zM278 63.131l172.286 114.858-76.857 51.429L278 165.703V63.131zm-44 0v102.572l-95.429 63.715-76.857-51.429L234 63.131zM44 219.132l55.143 36.857L44 292.846v-73.714zm190 229.715L61.714 333.989l76.857-51.429L234 346.275v102.572zm22-140.858l-77.715-52 77.715-52 77.715 52-77.715 52zm22 140.858V346.275l95.429-63.715 76.857 51.429L278 448.847zm190-156.001l-55.143-36.857L468 219.132v73.714z"}}},codiepie:{search:{terms:[]},styles:["brands"],label:"Codie Pie",svg:{brands:{viewBox:["0","0","472","512"],path:"M422.5 202.9c30.7 0 33.5 53.1-.3 53.1h-10.8v44.3h-26.6v-97.4h37.7zM472 352.6C429.9 444.5 350.4 504 248 504 111 504 0 393 0 256S111 8 248 8c97.4 0 172.8 53.7 218.2 138.4l-186 108.8L472 352.6zm-38.5 12.5l-60.3-30.7c-27.1 44.3-70.4 71.4-122.4 71.4-82.5 0-149.2-66.7-149.2-148.9 0-82.5 66.7-149.2 149.2-149.2 48.4 0 88.9 23.5 116.9 63.4l59.5-34.6c-40.7-62.6-104.7-100-179.2-100-121.2 0-219.5 98.3-219.5 219.5S126.8 475.5 248 475.5c78.6 0 146.5-42.1 185.5-110.4z"}}},coffee:{search:{terms:["beverage","breakfast","cafe","drink","fall","morning","mug","seasonal","tea"]},styles:["solid"],label:"Coffee",svg:{solid:{viewBox:["0","0","640","512"],path:"M192 384h192c53 0 96-43 96-96h32c70.6 0 128-57.4 128-128S582.6 32 512 32H120c-13.3 0-24 10.7-24 24v232c0 53 43 96 96 96zM512 96c35.3 0 64 28.7 64 64s-28.7 64-64 64h-32V96h32zm47.7 384H48.3c-47.6 0-61-64-36-64h583.3c25 0 11.8 64-35.9 64z"}}},cog:{search:{terms:["settings"]},styles:["solid"],label:"cog",svg:{solid:{viewBox:["0","0","512","512"],path:"M444.788 291.1l42.616 24.599c4.867 2.809 7.126 8.618 5.459 13.985-11.07 35.642-29.97 67.842-54.689 94.586a12.016 12.016 0 0 1-14.832 2.254l-42.584-24.595a191.577 191.577 0 0 1-60.759 35.13v49.182a12.01 12.01 0 0 1-9.377 11.718c-34.956 7.85-72.499 8.256-109.219.007-5.49-1.233-9.403-6.096-9.403-11.723v-49.184a191.555 191.555 0 0 1-60.759-35.13l-42.584 24.595a12.016 12.016 0 0 1-14.832-2.254c-24.718-26.744-43.619-58.944-54.689-94.586-1.667-5.366.592-11.175 5.459-13.985L67.212 291.1a193.48 193.48 0 0 1 0-70.199l-42.616-24.599c-4.867-2.809-7.126-8.618-5.459-13.985 11.07-35.642 29.97-67.842 54.689-94.586a12.016 12.016 0 0 1 14.832-2.254l42.584 24.595a191.577 191.577 0 0 1 60.759-35.13V25.759a12.01 12.01 0 0 1 9.377-11.718c34.956-7.85 72.499-8.256 109.219-.007 5.49 1.233 9.403 6.096 9.403 11.723v49.184a191.555 191.555 0 0 1 60.759 35.13l42.584-24.595a12.016 12.016 0 0 1 14.832 2.254c24.718 26.744 43.619 58.944 54.689 94.586 1.667 5.366-.592 11.175-5.459 13.985L444.788 220.9a193.485 193.485 0 0 1 0 70.2zM336 256c0-44.112-35.888-80-80-80s-80 35.888-80 80 35.888 80 80 80 80-35.888 80-80z"}}},cogs:{search:{terms:["gears","settings"]},styles:["solid"],label:"cogs",svg:{solid:{viewBox:["0","0","640","512"],path:"M512.1 191l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0L552 6.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zm-10.5-58.8c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.7-82.4 14.3-52.8 52.8zM386.3 286.1l33.7 16.8c10.1 5.8 14.5 18.1 10.5 29.1-8.9 24.2-26.4 46.4-42.6 65.8-7.4 8.9-20.2 11.1-30.3 5.3l-29.1-16.8c-16 13.7-34.6 24.6-54.9 31.7v33.6c0 11.6-8.3 21.6-19.7 23.6-24.6 4.2-50.4 4.4-75.9 0-11.5-2-20-11.9-20-23.6V418c-20.3-7.2-38.9-18-54.9-31.7L74 403c-10 5.8-22.9 3.6-30.3-5.3-16.2-19.4-33.3-41.6-42.2-65.7-4-10.9.4-23.2 10.5-29.1l33.3-16.8c-3.9-20.9-3.9-42.4 0-63.4L12 205.8c-10.1-5.8-14.6-18.1-10.5-29 8.9-24.2 26-46.4 42.2-65.8 7.4-8.9 20.2-11.1 30.3-5.3l29.1 16.8c16-13.7 34.6-24.6 54.9-31.7V57.1c0-11.5 8.2-21.5 19.6-23.5 24.6-4.2 50.5-4.4 76-.1 11.5 2 20 11.9 20 23.6v33.6c20.3 7.2 38.9 18 54.9 31.7l29.1-16.8c10-5.8 22.9-3.6 30.3 5.3 16.2 19.4 33.2 41.6 42.1 65.8 4 10.9.1 23.2-10 29.1l-33.7 16.8c3.9 21 3.9 42.5 0 63.5zm-117.6 21.1c59.2-77-28.7-164.9-105.7-105.7-59.2 77 28.7 164.9 105.7 105.7zm243.4 182.7l-8.2 14.3c-3 5.3-9.4 7.5-15.1 5.4-11.8-4.4-22.6-10.7-32.1-18.6-4.6-3.8-5.8-10.5-2.8-15.7l8.2-14.3c-6.9-8-12.3-17.3-15.9-27.4h-16.5c-6 0-11.2-4.3-12.2-10.3-2-12-2.1-24.6 0-37.1 1-6 6.2-10.4 12.2-10.4h16.5c3.6-10.1 9-19.4 15.9-27.4l-8.2-14.3c-3-5.2-1.9-11.9 2.8-15.7 9.5-7.9 20.4-14.2 32.1-18.6 5.7-2.1 12.1.1 15.1 5.4l8.2 14.3c10.5-1.9 21.2-1.9 31.7 0l8.2-14.3c3-5.3 9.4-7.5 15.1-5.4 11.8 4.4 22.6 10.7 32.1 18.6 4.6 3.8 5.8 10.5 2.8 15.7l-8.2 14.3c6.9 8 12.3 17.3 15.9 27.4h16.5c6 0 11.2 4.3 12.2 10.3 2 12 2.1 24.6 0 37.1-1 6-6.2 10.4-12.2 10.4h-16.5c-3.6 10.1-9 19.4-15.9 27.4l8.2 14.3c3 5.2 1.9 11.9-2.8 15.7-9.5 7.9-20.4 14.2-32.1 18.6-5.7 2.1-12.1-.1-15.1-5.4l-8.2-14.3c-10.4 1.9-21.2 1.9-31.7 0zM501.6 431c38.5 29.6 82.4-14.3 52.8-52.8-38.5-29.6-82.4 14.3-52.8 52.8z"}}},coins:{search:{terms:[]},styles:["solid"],label:"Coins",svg:{solid:{viewBox:["0","0","512","512"],path:"M0 405.3V448c0 35.3 86 64 192 64s192-28.7 192-64v-42.7C342.7 434.4 267.2 448 192 448S41.3 434.4 0 405.3zM320 128c106 0 192-28.7 192-64S426 0 320 0 128 28.7 128 64s86 64 192 64zM0 300.4V352c0 35.3 86 64 192 64s192-28.7 192-64v-51.6c-41.3 34-116.9 51.6-192 51.6S41.3 334.4 0 300.4zm416 11c57.3-11.1 96-31.7 96-55.4v-42.7c-23.2 16.4-57.3 27.6-96 34.5v63.6zM192 160C86 160 0 195.8 0 240s86 80 192 80 192-35.8 192-80-86-80-192-80zm219.3 56.3c60-10.8 100.7-32 100.7-56.3v-42.7c-35.5 25.1-96.5 38.6-160.7 41.8 29.5 14.3 51.2 33.5 60 57.2z"}}},columns:{search:{terms:["dashboard","panes","split"]},styles:["solid"],label:"Columns",svg:{solid:{viewBox:["0","0","512","512"],path:"M464 32H48C21.49 32 0 53.49 0 80v352c0 26.51 21.49 48 48 48h416c26.51 0 48-21.49 48-48V80c0-26.51-21.49-48-48-48zM224 416H64V160h160v256zm224 0H288V160h160v256z"}}},comment:{search:{terms:["bubble","chat","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"comment",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32z"},regular:{last_modified:1522083405998,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"}}},"comment-alt":{search:{terms:["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"Alternate Comment",svg:{solid:{viewBox:["0","0","512","512"],path:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 9.8 11.2 15.5 19.1 9.7L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64z"},regular:{last_modified:1522083405995,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M448 0H64C28.7 0 0 28.7 0 64v288c0 35.3 28.7 64 64 64h96v84c0 7.1 5.8 12 12 12 2.4 0 4.9-.7 7.1-2.4L304 416h144c35.3 0 64-28.7 64-64V64c0-35.3-28.7-64-64-64zm16 352c0 8.8-7.2 16-16 16H288l-12.8 9.6L208 428v-60H64c-8.8 0-16-7.2-16-16V64c0-8.8 7.2-16 16-16h384c8.8 0 16 7.2 16 16v288z"}}},"comment-dollar":{search:{terms:[]},styles:["solid"],label:"Comment Dollar",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.62 32 0 125.12 0 240c0 49.56 21.41 95.01 57.02 130.74C44.46 421.05 2.7 465.97 2.2 466.5A7.995 7.995 0 0 0 8 480c66.26 0 115.99-31.75 140.6-51.38C181.29 440.93 217.59 448 256 448c141.38 0 256-93.12 256-208S397.38 32 256 32zm24 302.44V352c0 8.84-7.16 16-16 16h-16c-8.84 0-16-7.16-16-16v-17.73c-11.42-1.35-22.28-5.19-31.78-11.46-6.22-4.11-6.82-13.11-1.55-18.38l17.52-17.52c3.74-3.74 9.31-4.24 14.11-2.03 3.18 1.46 6.66 2.22 10.26 2.22h32.78c4.66 0 8.44-3.78 8.44-8.42 0-3.75-2.52-7.08-6.12-8.11l-50.07-14.3c-22.25-6.35-40.01-24.71-42.91-47.67-4.05-32.07 19.03-59.43 49.32-63.05V128c0-8.84 7.16-16 16-16h16c8.84 0 16 7.16 16 16v17.73c11.42 1.35 22.28 5.19 31.78 11.46 6.22 4.11 6.82 13.11 1.55 18.38l-17.52 17.52c-3.74 3.74-9.31 4.24-14.11 2.03a24.516 24.516 0 0 0-10.26-2.22h-32.78c-4.66 0-8.44 3.78-8.44 8.42 0 3.75 2.52 7.08 6.12 8.11l50.07 14.3c22.25 6.36 40.01 24.71 42.91 47.67 4.05 32.06-19.03 59.42-49.32 63.04z"}}},"comment-dots":{search:{terms:[]},styles:["solid","regular"],label:"Comment Dots",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 32C114.6 32 0 125.1 0 240c0 49.6 21.4 95 57 130.7C44.5 421.1 2.7 466 2.2 466.5c-2.2 2.3-2.8 5.7-1.5 8.7S4.8 480 8 480c66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 141.4 0 256-93.1 256-208S397.4 32 256 32zM128 272c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32zm128 0c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z"},regular:{last_modified:1522083405995,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M144 208c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zm112 0c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32zM256 32C114.6 32 0 125.1 0 240c0 47.6 19.9 91.2 52.9 126.3C38 405.7 7 439.1 6.5 439.5c-6.6 7-8.4 17.2-4.6 26S14.4 480 24 480c61.5 0 110-25.7 139.1-46.3C192 442.8 223.2 448 256 448c141.4 0 256-93.1 256-208S397.4 32 256 32zm0 368c-26.7 0-53.1-4.1-78.4-12.1l-22.7-7.2-19.5 13.8c-14.3 10.1-33.9 21.4-57.5 29 7.3-12.1 14.4-25.7 19.9-40.2l10.6-28.1-20.6-21.8C69.7 314.1 48 282.2 48 240c0-88.2 93.3-160 208-160s208 71.8 208 160-93.3 160-208 160z"}}},"comment-slash":{search:{terms:[]},styles:["solid"],label:"Comment Slash",svg:{solid:{viewBox:["0","0","640","512"],path:"M64 240c0 49.6 21.4 95 57 130.7-12.6 50.3-54.3 95.2-54.8 95.8-2.2 2.3-2.8 5.7-1.5 8.7 1.3 2.9 4.1 4.8 7.3 4.8 66.3 0 116-31.8 140.6-51.4 32.7 12.3 69 19.4 107.4 19.4 27.4 0 53.7-3.6 78.4-10L72.9 186.4c-5.6 17.1-8.9 35-8.9 53.6zm569.8 218.1l-114.4-88.4C554.6 334.1 576 289.2 576 240c0-114.9-114.6-208-256-208-65.1 0-124.2 20.1-169.4 52.7L45.5 3.4C38.5-2 28.5-.8 23 6.2L3.4 31.4c-5.4 7-4.2 17 2.8 22.4l588.4 454.7c7 5.4 17 4.2 22.5-2.8l19.6-25.3c5.4-6.8 4.1-16.9-2.9-22.3z"}}},comments:{search:{terms:["bubble","chat","conversation","feedback","message","note","notification","sms","speech","texting"]},styles:["solid","regular"],label:"comments",svg:{solid:{viewBox:["0","0","576","512"],path:"M416 192c0-88.4-93.1-160-208-160S0 103.6 0 192c0 34.3 14.1 65.9 38 92-13.4 30.2-35.5 54.2-35.8 54.5-2.2 2.3-2.8 5.7-1.5 8.7S4.8 352 8 352c36.6 0 66.9-12.3 88.7-25 32.2 15.7 70.3 25 111.3 25 114.9 0 208-71.6 208-160zm122 220c23.9-26 38-57.7 38-92 0-66.9-53.5-124.2-129.3-148.1.9 6.6 1.3 13.3 1.3 20.1 0 105.9-107.7 192-240 192-10.8 0-21.3-.8-31.7-1.9C207.8 439.6 281.8 480 368 480c41 0 79.1-9.2 111.3-25 21.8 12.7 52.1 25 88.7 25 3.2 0 6.1-1.9 7.3-4.8 1.3-2.9.7-6.3-1.5-8.7-.3-.3-22.4-24.2-35.8-54.5z"},regular:{last_modified:1522083405999,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path d="M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"/></svg>',viewBox:["0","0","576","512"],width:576,height:512,path:"M532 386.2c27.5-27.1 44-61.1 44-98.2 0-80-76.5-146.1-176.2-157.9C368.3 72.5 294.3 32 208 32 93.1 32 0 103.6 0 192c0 37 16.5 71 44 98.2-15.3 30.7-37.3 54.5-37.7 54.9-6.3 6.7-8.1 16.5-4.4 25 3.6 8.5 12 14 21.2 14 53.5 0 96.7-20.2 125.2-38.8 9.2 2.1 18.7 3.7 28.4 4.9C208.1 407.6 281.8 448 368 448c20.8 0 40.8-2.4 59.8-6.8C456.3 459.7 499.4 480 553 480c9.2 0 17.5-5.5 21.2-14 3.6-8.5 1.9-18.3-4.4-25-.4-.3-22.5-24.1-37.8-54.8zm-392.8-92.3L122.1 305c-14.1 9.1-28.5 16.3-43.1 21.4 2.7-4.7 5.4-9.7 8-14.8l15.5-31.1L77.7 256C64.2 242.6 48 220.7 48 192c0-60.7 73.3-112 160-112s160 51.3 160 112-73.3 112-160 112c-16.5 0-33-1.9-49-5.6l-19.8-4.5zM498.3 352l-24.7 24.4 15.5 31.1c2.6 5.1 5.3 10.1 8 14.8-14.6-5.1-29-12.3-43.1-21.4l-17.1-11.1-19.9 4.6c-16 3.7-32.5 5.6-49 5.6-54 0-102.2-20.1-131.3-49.7C338 339.5 416 272.9 416 192c0-3.4-.4-6.7-.7-10C479.7 196.5 528 238.8 528 288c0 28.7-16.2 50.6-29.7 64z"}}},"comments-dollar":{search:{terms:[]},styles:["solid"],label:"Comments Dollar",svg:{solid:{viewBox:["0","0","576","512"],path:"M416 192c0-88.37-93.12-160-208-160S0 103.63 0 192c0 34.27 14.13 65.95 37.97 91.98C24.61 314.22 2.52 338.16 2.2 338.5A7.995 7.995 0 0 0 8 352c36.58 0 66.93-12.25 88.73-24.98C128.93 342.76 167.02 352 208 352c114.88 0 208-71.63 208-160zm-224 96v-16.29c-11.29-.58-22.27-4.52-31.37-11.35-3.9-2.93-4.1-8.77-.57-12.14l11.75-11.21c2.77-2.64 6.89-2.76 10.13-.73 3.87 2.42 8.26 3.72 12.82 3.72h28.11c6.5 0 11.8-5.92 11.8-13.19 0-5.95-3.61-11.19-8.77-12.73l-45-13.5c-18.59-5.58-31.58-23.42-31.58-43.39 0-24.52 19.05-44.44 42.67-45.07V96c0-4.42 3.58-8 8-8h16c4.42 0 8 3.58 8 8v16.29c11.29.58 22.27 4.51 31.37 11.35 3.9 2.93 4.1 8.77.57 12.14l-11.75 11.21c-2.77 2.64-6.89 2.76-10.13.73-3.87-2.43-8.26-3.72-12.82-3.72h-28.11c-6.5 0-11.8 5.92-11.8 13.19 0 5.95 3.61 11.19 8.77 12.73l45 13.5c18.59 5.58 31.58 23.42 31.58 43.39 0 24.53-19.05 44.44-42.67 45.07V288c0 4.42-3.58 8-8 8h-16c-4.42 0-8-3.58-8-8zm346.01 123.99C561.87 385.96 576 354.27 576 320c0-66.94-53.49-124.2-129.33-148.07.86 6.6 1.33 13.29 1.33 20.07 0 105.87-107.66 192-240 192-10.78 0-21.32-.77-31.73-1.88C207.8 439.63 281.77 480 368 480c40.98 0 79.07-9.24 111.27-24.98C501.07 467.75 531.42 480 568 480c3.2 0 6.09-1.91 7.34-4.84 1.27-2.94.66-6.34-1.55-8.67-.31-.33-22.42-24.24-35.78-54.5z"}}},"compact-disc":{search:{terms:["bluray","cd","disc","media"]},styles:["solid"],label:"Compact Disc",svg:{solid:{viewBox:["0","0","496","512"],path:"M248 8C111 8 0 119 0 256s111 248 248 248 248-111 248-248S385 8 248 8zM88 256H56c0-105.9 86.1-192 192-192v32c-88.2 0-160 71.8-160 160zm160 96c-53 0-96-43-96-96s43-96 96-96 96 43 96 96-43 96-96 96zm0-128c-17.7 0-32 14.3-32 32s14.3 32 32 32 32-14.3 32-32-14.3-32-32-32z"}}},compass:{search:{terms:["directory","location","menu","safari"]},styles:["solid","regular"],label:"Compass",svg:{solid:{viewBox:["0","0","496","512"],path:"M225.38 233.37c-12.5 12.5-12.5 32.76 0 45.25 12.49 12.5 32.76 12.5 45.25 0 12.5-12.5 12.5-32.76 0-45.25-12.5-12.49-32.76-12.49-45.25 0zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm126.14 148.05L308.17 300.4a31.938 31.938 0 0 1-15.77 15.77l-144.34 65.97c-16.65 7.61-33.81-9.55-26.2-26.2l65.98-144.35a31.938 31.938 0 0 1 15.77-15.77l144.34-65.97c16.65-7.6 33.8 9.55 26.19 26.2z"},regular:{last_modified:1532362831483,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path d="M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"/></svg>',viewBox:["0","0","496","512"],width:496,height:512,path:"M347.94 129.86L203.6 195.83a31.938 31.938 0 0 0-15.77 15.77l-65.97 144.34c-7.61 16.65 9.54 33.81 26.2 26.2l144.34-65.97a31.938 31.938 0 0 0 15.77-15.77l65.97-144.34c7.61-16.66-9.54-33.81-26.2-26.2zm-77.36 148.72c-12.47 12.47-32.69 12.47-45.16 0-12.47-12.47-12.47-32.69 0-45.16 12.47-12.47 32.69-12.47 45.16 0 12.47 12.47 12.47 32.69 0 45.16zM248 8C111.03 8 0 119.03 0 256s111.03 248 248 248 248-111.03 248-248S384.97 8 248 8zm0 448c-110.28 0-200-89.72-200-200S137.72 56 248 56s200 89.72 200 200-89.72 200-200 200z"}}},compress:{search:{terms:["collapse","combine","contract","merge","smaller"]},styles:["solid"],label:"Compress",svg:{solid:{viewBox:["0","0","448","512"],path:"M436 192H312c-13.3 0-24-10.7-24-24V44c0-6.6 5.4-12 12-12h40c6.6 0 12 5.4 12 12v84h84c6.6 0 12 5.4 12 12v40c0 6.6-5.4 12-12 12zm-276-24V44c0-6.6-5.4-12-12-12h-40c-6.6 0-12 5.4-12 12v84H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h124c13.3 0 24-10.7 24-24zm0 300V344c0-13.3-10.7-24-24-24H12c-6.6 0-12 5.4-12 12v40c0 6.6 5.4 12 12 12h84v84c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12zm192 0v-84h84c6.6 0 12-5.4 12-12v-40c0-6.6-5.4-12-12-12H312c-13.3 0-24 10.7-24 24v124c0 6.6 5.4 12 12 12h40c6.6 0 12-5.4 12-12z"}}},"concierge-bell":{search:{terms:["attention","hotel","service","support"]},styles:["solid"],label:"Concierge Bell",svg:{solid:{viewBox:["0","0","512","512"],path:"M288 130.54V112h16c8.84 0 16-7.16 16-16V80c0-8.84-7.16-16-16-16h-96c-8.84 0-16 7.16-16 16v16c0 8.84 7.16 16 16 16h16v18.54C115.49 146.11 32 239.18 32 352h448c0-112.82-83.49-205.89-192-221.46zM496 384H16c-8.84 0-16 7.16-16 16v32c0 8.84 7.16 16 16 16h480c8.84 0 16-7.16 16-16v-32c0-8.84-7.16-16-16-16z"}}},connectdevelop:{search:{terms:[]},styles:["brands"],label:"Connect Develop",svg:{brands:{viewBox:["0","0","576","512"],path:"M550.5 241l-50.089-86.786c1.071-2.142 1.875-4.553 1.875-7.232 0-8.036-6.696-14.733-14.732-15.001l-55.447-95.893c.536-1.607 1.071-3.214 1.071-4.821 0-8.571-6.964-15.268-15.268-15.268-4.821 0-8.839 2.143-11.786 5.625H299.518C296.839 18.143 292.821 16 288 16s-8.839 2.143-11.518 5.625H170.411C167.464 18.143 163.447 16 158.625 16c-8.303 0-15.268 6.696-15.268 15.268 0 1.607.536 3.482 1.072 4.821l-55.983 97.233c-5.356 2.41-9.107 7.5-9.107 13.661 0 .535.268 1.071.268 1.607l-53.304 92.143c-7.232 1.339-12.59 7.5-12.59 15 0 7.232 5.089 13.393 12.054 15l55.179 95.358c-.536 1.607-.804 2.946-.804 4.821 0 7.232 5.089 13.393 12.054 14.732l51.697 89.732c-.536 1.607-1.071 3.482-1.071 5.357 0 8.571 6.964 15.268 15.268 15.268 4.821 0 8.839-2.143 11.518-5.357h106.875C279.161 493.857 283.447 496 288 496s8.839-2.143 11.518-5.357h107.143c2.678 2.946 6.696 4.821 10.982 4.821 8.571 0 15.268-6.964 15.268-15.268 0-1.607-.267-2.946-.803-4.285l51.697-90.268c6.964-1.339 12.054-7.5 12.054-14.732 0-1.607-.268-3.214-.804-4.821l54.911-95.358c6.964-1.339 12.322-7.5 12.322-15-.002-7.232-5.092-13.393-11.788-14.732zM153.535 450.732l-43.66-75.803h43.66v75.803zm0-83.839h-43.66c-.268-1.071-.804-2.142-1.339-3.214l44.999-47.41v50.624zm0-62.411l-50.357 53.304c-1.339-.536-2.679-1.34-4.018-1.607L43.447 259.75c.535-1.339.535-2.679.535-4.018s0-2.41-.268-3.482l51.965-90c2.679-.268 5.357-1.072 7.768-2.679l50.089 51.965v92.946zm0-102.322l-45.803-47.41c1.339-2.143 2.143-4.821 2.143-7.767 0-.268-.268-.804-.268-1.072l43.928-15.804v72.053zm0-80.625l-43.66 15.804 43.66-75.536v59.732zm326.519 39.108l.804 1.339L445.5 329.125l-63.75-67.232 98.036-101.518.268.268zM291.75 355.107l11.518 11.786H280.5l11.25-11.786zm-.268-11.25l-83.303-85.446 79.553-84.375 83.036 87.589-79.286 82.232zm5.357 5.893l79.286-82.232 67.5 71.25-5.892 28.125H313.714l-16.875-17.143zM410.411 44.393c1.071.536 2.142 1.072 3.482 1.34l57.857 100.714v.536c0 2.946.803 5.624 2.143 7.767L376.393 256l-83.035-87.589L410.411 44.393zm-9.107-2.143L287.732 162.518l-57.054-60.268 166.339-60h4.287zm-123.483 0c2.678 2.678 6.16 4.285 10.179 4.285s7.5-1.607 10.179-4.285h75L224.786 95.821 173.893 42.25h103.928zm-116.249 5.625l1.071-2.142a33.834 33.834 0 0 0 2.679-.804l51.161 53.84-54.911 19.821V47.875zm0 79.286l60.803-21.964 59.732 63.214-79.553 84.107-40.982-42.053v-83.304zm0 92.678L198 257.607l-36.428 38.304v-76.072zm0 87.858l42.053-44.464 82.768 85.982-17.143 17.678H161.572v-59.196zm6.964 162.053c-1.607-1.607-3.482-2.678-5.893-3.482l-1.071-1.607v-89.732h99.91l-91.607 94.821h-1.339zm129.911 0c-2.679-2.41-6.428-4.285-10.447-4.285s-7.767 1.875-10.447 4.285h-96.429l91.607-94.821h38.304l91.607 94.821H298.447zm120-11.786l-4.286 7.5c-1.339.268-2.41.803-3.482 1.339l-89.196-91.875h114.376l-17.412 83.036zm12.856-22.232l12.858-60.803h21.964l-34.822 60.803zm34.822-68.839h-20.357l4.553-21.16 17.143 18.214c-.535.803-1.071 1.874-1.339 2.946zm66.161-107.411l-55.447 96.697c-1.339.535-2.679 1.071-4.018 1.874l-20.625-21.964 34.554-163.928 45.803 79.286c-.267 1.339-.803 2.678-.803 4.285 0 1.339.268 2.411.536 3.75z"}}},contao:{search:{terms:[]},styles:["brands"],label:"Contao",svg:{brands:{viewBox:["0","0","512","512"],path:"M45.4 305c14.4 67.1 26.4 129 68.2 175H34c-18.7 0-34-15.2-34-34V66c0-18.7 15.2-34 34-34h57.7C77.9 44.6 65.6 59.2 54.8 75.6c-45.4 70-27 146.8-9.4 229.4zM478 32h-90.2c21.4 21.4 39.2 49.5 52.7 84.1l-137.1 29.3c-14.9-29-37.8-53.3-82.6-43.9-24.6 5.3-41 19.3-48.3 34.6-8.8 18.7-13.2 39.8 8.2 140.3 21.1 100.2 33.7 117.7 49.5 131.2 12.9 11.1 33.4 17 58.3 11.7 44.5-9.4 55.7-40.7 57.4-73.2l137.4-29.6c3.2 71.5-18.7 125.2-57.4 163.6H478c18.7 0 34-15.2 34-34V66c0-18.8-15.2-34-34-34z"}}},cookie:{search:{terms:["baked good","chips","food","snack","sweet","treat"]},styles:["solid"],label:"Cookie",svg:{solid:{viewBox:["0","0","512","512"],path:"M510.37 254.79l-12.08-76.26a132.493 132.493 0 0 0-37.16-72.95l-54.76-54.75c-19.73-19.72-45.18-32.7-72.71-37.05l-76.7-12.15c-27.51-4.36-55.69.11-80.52 12.76L107.32 49.6a132.25 132.25 0 0 0-57.79 57.8l-35.1 68.88a132.602 132.602 0 0 0-12.82 80.94l12.08 76.27a132.493 132.493 0 0 0 37.16 72.95l54.76 54.75a132.087 132.087 0 0 0 72.71 37.05l76.7 12.14c27.51 4.36 55.69-.11 80.52-12.75l69.12-35.21a132.302 132.302 0 0 0 57.79-57.8l35.1-68.87c12.71-24.96 17.2-53.3 12.82-80.96zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},"cookie-bite":{search:{terms:["baked good","bitten","chips","eating","food","snack","sweet","treat"]},styles:["solid"],label:"Cookie Bite",svg:{solid:{viewBox:["0","0","512","512"],path:"M510.52 255.82c-69.97-.85-126.47-57.69-126.47-127.86-70.17 0-127-56.49-127.86-126.45-27.26-4.14-55.13.3-79.72 12.82l-69.13 35.22a132.221 132.221 0 0 0-57.79 57.81l-35.1 68.88a132.645 132.645 0 0 0-12.82 80.95l12.08 76.27a132.521 132.521 0 0 0 37.16 72.96l54.77 54.76a132.036 132.036 0 0 0 72.71 37.06l76.71 12.15c27.51 4.36 55.7-.11 80.53-12.76l69.13-35.21a132.273 132.273 0 0 0 57.79-57.81l35.1-68.88c12.56-24.64 17.01-52.58 12.91-79.91zM176 368c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm32-160c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32zm160 128c-17.67 0-32-14.33-32-32s14.33-32 32-32 32 14.33 32 32-14.33 32-32 32z"}}},copy:{search:{terms:["clone","duplicate","file","files-o"]},styles:["solid","regular"],label:"Copy",svg:{solid:{viewBox:["0","0","448","512"],path:"M320 448v40c0 13.255-10.745 24-24 24H24c-13.255 0-24-10.745-24-24V120c0-13.255 10.745-24 24-24h72v296c0 30.879 25.121 56 56 56h168zm0-344V0H152c-13.255 0-24 10.745-24 24v368c0 13.255 10.745 24 24 24h272c13.255 0 24-10.745 24-24V128H344c-13.2 0-24-10.8-24-24zm120.971-31.029L375.029 7.029A24 24 0 0 0 358.059 0H352v96h96v-6.059a24 24 0 0 0-7.029-16.97z"},regular:{last_modified:150092788e4,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path d="M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"/></svg>',viewBox:["0","0","448","512"],width:448,height:512,path:"M433.941 65.941l-51.882-51.882A48 48 0 0 0 348.118 0H176c-26.51 0-48 21.49-48 48v48H48c-26.51 0-48 21.49-48 48v320c0 26.51 21.49 48 48 48h224c26.51 0 48-21.49 48-48v-48h80c26.51 0 48-21.49 48-48V99.882a48 48 0 0 0-14.059-33.941zM266 464H54a6 6 0 0 1-6-6V150a6 6 0 0 1 6-6h74v224c0 26.51 21.49 48 48 48h96v42a6 6 0 0 1-6 6zm128-96H182a6 6 0 0 1-6-6V54a6 6 0 0 1 6-6h106v88c0 13.255 10.745 24 24 24h88v202a6 6 0 0 1-6 6zm6-256h-64V48h9.632c1.591 0 3.117.632 4.243 1.757l48.368 48.368a6 6 0 0 1 1.757 4.243V112z"}}},copyright:{search:{terms:[]},styles:["solid","regular"],label:"Copyright",svg:{solid:{viewBox:["0","0","512","512"],path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm117.134 346.753c-1.592 1.867-39.776 45.731-109.851 45.731-84.692 0-144.484-63.26-144.484-145.567 0-81.303 62.004-143.401 143.762-143.401 66.957 0 101.965 37.315 103.422 38.904a12 12 0 0 1 1.238 14.623l-22.38 34.655c-4.049 6.267-12.774 7.351-18.234 2.295-.233-.214-26.529-23.88-61.88-23.88-46.116 0-73.916 33.575-73.916 76.082 0 39.602 25.514 79.692 74.277 79.692 38.697 0 65.28-28.338 65.544-28.625 5.132-5.565 14.059-5.033 18.508 1.053l24.547 33.572a12.001 12.001 0 0 1-.553 14.866z"},regular:{last_modified:1501102193e3,raw:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"><path d="M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"/></svg>',viewBox:["0","0","512","512"],width:512,height:512,path:"M256 8C119.033 8 8 119.033 8 256s111.033 248 248 248 248-111.033 248-248S392.967 8 256 8zm0 448c-110.532 0-200-89.451-200-200 0-110.531 89.451-200 200-200 110.532 0 200 89.451 200 200 0 110.532-89.451 200-200 200zm107.351-101.064c-9.614 9.712-45.53 41.396-104.065 41.396-82.43 0-140.484-61.425-140.484-141.567 0-79.152 60.275-139.401 139.762-139.401 55.531 0 88.738 26.62 97.593 34.779a11.965 11.965 0 0 1 1.936 15.322l-18.155 28.113c-3.841 5.95-11.966 7.282-17.499 2.921-8.595-6.776-31.814-22.538-61.708-22.538-48.303 0-77.916 35.33-77.916 80.082 0 41.589 26.888 83.692 78.277 83.692 32.657 0 56.843-19.039 65.726-27.225 5.27-4.857 13.596-4.039 17.82 1.738l19.865 27.17a11.947 11.947 0 0 1-1.152 15.518z"}}},couch:{search:{terms:["furniture","sofa"]},styles:["solid"],label:"Couch",svg:{solid:{viewBox:["0","0","640","512"],path:"M160 224v64h320v-64c0-35.3 28.7-64 64-64h32c0-53-43-96-96-96H160c-53 0-96 43-96 96h32c35.3 0 64 28.7 64 64zm416-32h-32c-17.7 0-32 14.3-32 32v96H128v-96c0-17.7-14.3-32-32-32H64c-35.3 0-64 28.7-64 64 0 23.6 13 44 32 55.1V432c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16v-16h384v16c0 8.8 7.2 16 16 16h64c8.8 0 16-7.2 16-16V311.1c19-11.1 32-31.5 32-55.1 0-35.3-28.7-64-64-64z"}}