Orbit Fox by ThemeIsle - Version 2.9.9

Version Description

Download this release

Release Info

Developer themeisle
Plugin Icon 128x128 Orbit Fox by ThemeIsle
Version 2.9.9
Comparing to
See all releases

Code changes from version 2.9.8 to 2.9.9

CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
 
 
 
 
1
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
2
 
3
  - Fixed importing multiple photos and better error handling in the Mystock module
1
+ ##### [Version 2.9.9](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.8...v2.9.9) (2020-06-05)
2
+
3
+ New Header/Footer Scripts module
4
+
5
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
6
 
7
  - Fixed importing multiple photos and better error handling in the Mystock module
core/app/class-orbit-fox-global-settings.php CHANGED
@@ -72,6 +72,7 @@ class Orbit_Fox_Global_Settings {
72
  'mystock-import',
73
  'policy-notice',
74
  'beaver-widgets',
 
75
  )
76
  );
77
  }// End if().
72
  'mystock-import',
73
  'policy-notice',
74
  'beaver-widgets',
75
+ 'header-footer-scripts',
76
  )
77
  );
78
  }// End if().
core/includes/class-orbit-fox.php CHANGED
@@ -69,7 +69,7 @@ class Orbit_Fox {
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
- $this->version = '2.9.8';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
@@ -225,7 +225,7 @@ class Orbit_Fox {
225
  return;
226
  }
227
 
228
- $library = OBX_PATH . '/vendor/codeinwp/ti-onboarding/load.php';
229
 
230
  if ( ! is_file( $library ) ) {
231
  return;
@@ -235,11 +235,11 @@ class Orbit_Fox {
235
  add_filter(
236
  'themeisle_site_import_uri',
237
  function () {
238
- return OBFX_URL . Themeisle_Onboarding::OBOARDING_PATH;
239
  }
240
  );
241
 
242
- \Themeisle_Onboarding::instance();
243
 
244
  }
245
 
69
 
70
  $this->plugin_name = 'orbit-fox';
71
 
72
+ $this->version = '2.9.9';
73
 
74
  $this->load_dependencies();
75
  $this->set_locale();
225
  return;
226
  }
227
 
228
+ $library = OBX_PATH . '/vendor/codeinwp/themeisle-onboarding/load.php';
229
 
230
  if ( ! is_file( $library ) ) {
231
  return;
235
  add_filter(
236
  'themeisle_site_import_uri',
237
  function () {
238
+ return OBFX_URL . \TIOB\Main::OBOARDING_PATH;
239
  }
240
  );
241
 
242
+ \TIOB\Main::instance();
243
 
244
  }
245
 
obfx_modules/header-footer-scripts/init.php ADDED
@@ -0,0 +1,385 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Header Footer scripts module Orbit Fox Module.
4
+ *
5
+ * @link https://themeisle.com
6
+ * @since 2.9.6
7
+ */
8
+
9
+ /**
10
+ * Class Header_Footer_Scripts_OBFX_Module
11
+ */
12
+ class Header_Footer_Scripts_OBFX_Module extends Orbit_Fox_Module_Abstract {
13
+
14
+
15
+ /**
16
+ * Meta controls.
17
+ *
18
+ * @var array
19
+ */
20
+ private $meta_controls = array();
21
+
22
+ /**
23
+ * Header_Footer_Scripts_OBFX_Module constructor.
24
+ *
25
+ * @since 2.9.6
26
+ * @access public
27
+ */
28
+ public function __construct() {
29
+ parent::__construct();
30
+ $this->name = sprintf(
31
+ /* translators: %s is New tag */
32
+ __( 'Header Footer Scripts %s', 'themeisle-companion' ),
33
+ sprintf(
34
+ /* translators: %s is New tag text */
35
+ '<sup class="obfx-title-new">%s</sup>',
36
+ __( 'NEW', 'themeisle-companion' )
37
+ )
38
+ );
39
+
40
+ $this->description = __( 'An easy way to add scripts, such as tracking and analytics scripts, to the header and footer of your website, as well as in the body of your posts and pages.', 'themeisle-companion' );
41
+ $this->active_default = true;
42
+ $this->meta_controls = array(
43
+ 'obfx-header-scripts' => array(
44
+ 'type' => 'textarea',
45
+ 'label' => __( 'Header scripts', 'themeisle-companion' ),
46
+ 'description' => sprintf(
47
+ /* translators: %s is head tag */
48
+ __( 'Output before the closing %s tag, after sitewide header scripts.', 'themeisle-companion' ),
49
+ '<code>&lt;/head&gt;</code>'
50
+ ),
51
+ ),
52
+ 'obfx-footer-scripts' => array(
53
+ 'type' => 'textarea',
54
+ 'label' => __( 'Footer scripts', 'themeisle-companion' ),
55
+ 'description' => sprintf(
56
+ /* translators: %s is body tag */
57
+ __( 'Output before the closing %s tag, after sitewide footer scripts.', 'themeisle-companion' ),
58
+ '<code>&lt;/body&gt;</code>'
59
+ ),
60
+ ),
61
+ );
62
+ }
63
+
64
+ /**
65
+ * Determine if module should be loaded.
66
+ *
67
+ * @return bool
68
+ * @since 2.9.6
69
+ * @access public
70
+ */
71
+ public function enable_module() {
72
+ return true;
73
+ }
74
+
75
+ /**
76
+ * The loading logic for the module.
77
+ *
78
+ * @since 2.9.6
79
+ * @access public
80
+ */
81
+ public function load() {
82
+ }
83
+
84
+ /**
85
+ * Method to define hooks needed.
86
+ *
87
+ * @since 2.9.6
88
+ * @access public
89
+ */
90
+ public function hooks() {
91
+ $this->loader->add_action( 'customize_register', $this, 'register_customizer_controls' );
92
+ $this->loader->add_action( 'add_meta_boxes', $this, 'add_meta' );
93
+ $this->loader->add_action( 'save_post', $this, 'save_meta' );
94
+
95
+ $this->loader->add_action( 'wp_head', $this, 'do_header_scripts' );
96
+ $this->loader->add_action( 'wp_footer', $this, 'do_footer_scripts' );
97
+ }
98
+
99
+ /**
100
+ * Register customizer controls.
101
+ *
102
+ * @param object $wp_customize the customizer manager.
103
+ *
104
+ * @since 2.9.6
105
+ * @access public
106
+ */
107
+ public function register_customizer_controls( $wp_customize ) {
108
+
109
+ $wp_customize->add_section(
110
+ 'obfx_header_footer_scripts',
111
+ array(
112
+ 'title' => __( 'Header/Footer scripts', 'themeisle-companion' ),
113
+ 'priority' => 1000,
114
+ 'capability' => 'edit_theme_options',
115
+ )
116
+ );
117
+
118
+ $wp_customize->add_setting(
119
+ 'obfx_header_scripts',
120
+ array(
121
+ 'default' => sprintf(
122
+ /* translators: %s is placeholder value */
123
+ '<!-- %s -->',
124
+ __(
125
+ 'Enter your scripts here',
126
+ 'themeisle-companion'
127
+ )
128
+ ),
129
+ 'capability' => 'edit_theme_options',
130
+ )
131
+ );
132
+
133
+ $wp_customize->add_control(
134
+ 'obfx_header_scripts',
135
+ array(
136
+ 'section' => 'obfx_header_footer_scripts',
137
+ 'type' => 'textarea',
138
+ 'priority' => 10,
139
+ 'label' => __( 'Header scripts', 'themeisle-companion' ),
140
+ 'description' => sprintf(
141
+ /* translators: %s is head tag */
142
+ __( 'This code will output immediately before the closing %s tag in document source.', 'themeisle-companion' ),
143
+ '<code>&lt;/head&gt;</code>'
144
+ ),
145
+ )
146
+ );
147
+
148
+ $wp_customize->add_setting(
149
+ 'obfx_footer_scripts',
150
+ array(
151
+ 'default' => sprintf(
152
+ /* translators: %s is placeholder value */
153
+ '<!-- %s -->',
154
+ __(
155
+ 'Enter your scripts here',
156
+ 'themeisle-companion'
157
+ )
158
+ ),
159
+ 'capability' => 'edit_theme_options',
160
+ )
161
+ );
162
+
163
+ $wp_customize->add_control(
164
+ 'obfx_footer_scripts',
165
+ array(
166
+ 'section' => 'obfx_header_footer_scripts',
167
+ 'type' => 'textarea',
168
+ 'priority' => 10,
169
+ 'label' => __( 'Footer scripts', 'themeisle-companion' ),
170
+ 'description' => sprintf(
171
+ /* translators: %s is body tag */
172
+ __( 'This code will output immediately before the closing %s tag in document source.', 'themeisle-companion' ),
173
+ '<code>&lt;/body&gt;</code>'
174
+ ),
175
+ )
176
+ );
177
+ }
178
+
179
+ /**
180
+ * Add Header / Body scripts meta boxes.
181
+ *
182
+ * @since 2.9.6
183
+ * @access public
184
+ */
185
+ public function add_meta() {
186
+
187
+ add_meta_box(
188
+ 'obfx-scripts',
189
+ __( 'Scripts', 'themeisle-companion' ),
190
+ array( $this, 'render_scripts_metabox' ),
191
+ array( 'post', 'page' ),
192
+ 'normal',
193
+ 'default'
194
+ );
195
+ }
196
+
197
+ /**
198
+ * Render meta box field.
199
+ *
200
+ * @param object $post Current post object.
201
+ *
202
+ * @since 2.9.6
203
+ * @access public
204
+ */
205
+ public function render_scripts_metabox( $post ) {
206
+ echo '<table class="form-table">';
207
+ echo '<tbody>';
208
+ foreach ( $this->meta_controls as $control_id => $control_settings ) {
209
+
210
+ echo '<tr>';
211
+ echo '<th scope="row">';
212
+ echo '<label for="' . esc_attr( $control_id ) . '"><strong>' . esc_html( $control_settings['label'] ) . '</strong></label>';
213
+ echo '</th>';
214
+ echo '<td>';
215
+ echo '<p>';
216
+ wp_nonce_field( 'obfx_hfs_metabox_nonce', $control_id . '_meta_nonce' );
217
+ $this->render_control( $post, $control_id, $control_settings );
218
+ echo '</p>';
219
+ echo '</td>';
220
+ echo '</tr>';
221
+ }
222
+ echo '</tbody>';
223
+ echo '</table>';
224
+ }
225
+
226
+ /**
227
+ * Render meta control.
228
+ *
229
+ * @param object $post Current post object.
230
+ * @param string $control_id Meta control id.
231
+ * @param array $control_settings Meta control settings.
232
+ *
233
+ * @since 2.9.6
234
+ * @access private
235
+ */
236
+ private function render_control( $post, $control_id, $control_settings ) {
237
+ $post_meta = get_post_meta( $post->ID, $control_id, true );
238
+
239
+ if ( $control_settings['type'] === 'textarea' ) {
240
+ echo '<textarea class="widefat" rows="4" name="' . esc_attr( $control_id ) . '">';
241
+ if ( ! empty( $post_meta ) ) {
242
+ // phpcs:ignore
243
+ echo $post_meta;
244
+ }
245
+ echo '</textarea>';
246
+ }
247
+ if ( array_key_exists( 'description', $control_settings ) ) {
248
+ echo '<p>';
249
+ echo wp_kses_post( $control_settings['description'] );
250
+ echo '</p>';
251
+ }
252
+ }
253
+
254
+ /**
255
+ * Save header/body scripts meta.
256
+ *
257
+ * @param int $post_id Current post id.
258
+ *
259
+ * @return bool
260
+ * @since 2.9.6
261
+ * @access public
262
+ */
263
+ public function save_meta( $post_id ) {
264
+
265
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE ) {
266
+ return false;
267
+ }
268
+
269
+ if ( ! isset( $_POST['post_type'] ) ) {
270
+ return false;
271
+ }
272
+ if ( 'page' == $_POST['post_type'] && ! current_user_can( 'edit_page', $post_id ) ) {
273
+ return false;
274
+ }
275
+
276
+ if ( 'post' == $_POST['post_type'] && ! current_user_can( 'edit_post', $post_id ) ) {
277
+ return false;
278
+ }
279
+
280
+ foreach ( $this->meta_controls as $control_id => $control_settings ) {
281
+ if ( ! isset( $_POST[ $control_id . '_meta_nonce' ] ) || ! wp_verify_nonce( $_POST[ $control_id . '_meta_nonce' ], 'obfx_hfs_metabox_nonce' ) ) {
282
+ return false;
283
+ }
284
+ if ( ! isset( $_POST[ $control_id ] ) ) {
285
+ continue;
286
+ }
287
+ update_post_meta(
288
+ $post_id,
289
+ $control_id,
290
+ $_POST[ $control_id ]
291
+ );
292
+ }
293
+
294
+ return true;
295
+ }
296
+
297
+ /**
298
+ * Add content form Header scripts in wp_head hook.
299
+ *
300
+ * @since 2.9.6
301
+ * @access public
302
+ */
303
+ public function do_header_scripts() {
304
+ $default = sprintf(
305
+ /* translators: %s is placeholder value */
306
+ '<!-- %s -->',
307
+ __(
308
+ 'Enter your scripts here',
309
+ 'themeisle-companion'
310
+ )
311
+ );
312
+
313
+ // phpcs:ignore
314
+ echo get_theme_mod( 'obfx_header_scripts', $default );
315
+
316
+ if ( is_singular() ) {
317
+ global $post;
318
+
319
+ // phpcs:ignore
320
+ echo get_post_meta( $post->ID, 'obfx-header-scripts', true );
321
+ }
322
+ }
323
+
324
+ /**
325
+ * Add content form Footer scripts in wp_footer hook.
326
+ *
327
+ * @since 2.9.6
328
+ * @access public
329
+ */
330
+ public function do_footer_scripts() {
331
+ $default = sprintf(
332
+ /* translators: %s is placeholder value */
333
+ '<!-- %s -->',
334
+ __(
335
+ 'Enter your scripts here',
336
+ 'themeisle-companion'
337
+ )
338
+ );
339
+
340
+ // phpcs:ignore
341
+ echo get_theme_mod( 'obfx_footer_scripts', $default );
342
+
343
+ if ( is_singular() ) {
344
+ global $post;
345
+
346
+ // phpcs:ignore
347
+ echo get_post_meta( $post->ID, 'obfx-footer-scripts', true );
348
+ }
349
+ }
350
+
351
+ /**
352
+ * Method to define the options fields for the module
353
+ *
354
+ * @return array
355
+ * @since 2.9.6
356
+ * @access public
357
+ */
358
+ public function options() {
359
+ return array();
360
+ }
361
+
362
+ /**
363
+ * Method that returns an array of scripts and styles to be loaded
364
+ * for the admin part.
365
+ *
366
+ * @return array
367
+ * @since 2.9.6
368
+ * @access public
369
+ */
370
+ public function admin_enqueue() {
371
+ return array();
372
+ }
373
+
374
+ /**
375
+ * Method that returns an array of scripts and styles to be loaded
376
+ * for the front end part.
377
+ *
378
+ * @return array
379
+ * @since 2.9.6
380
+ * @access public
381
+ */
382
+ public function public_enqueue() {
383
+ return array();
384
+ }
385
+ }
obfx_modules/mystock-import/init.php CHANGED
@@ -174,7 +174,7 @@ class Mystock_Import_OBFX_Module extends Orbit_Fox_Module_Abstract {
174
  );
175
 
176
  // Insert as attachment
177
- $image_id = wp_insert_attachment( $attachment, $mirror['file'], 0 );
178
 
179
  // Generate Metadata
180
  $attach_data = wp_generate_attachment_metadata( $image_id, $mirror['file'] );
174
  );
175
 
176
  // Insert as attachment
177
+ $image_id = wp_insert_attachment( $attachment, $mirror['file'], 0 );
178
 
179
  // Generate Metadata
180
  $attach_data = wp_generate_attachment_metadata( $image_id, $mirror['file'] );
readme.md CHANGED
@@ -109,6 +109,13 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
109
 
110
  ## Changelog ##
111
 
 
 
 
 
 
 
 
112
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
113
 
114
  - Fixed importing multiple photos and better error handling in the Mystock module
109
 
110
  ## Changelog ##
111
 
112
+ ##### [Version 2.9.9](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.8...v2.9.9) (2020-06-05)
113
+
114
+ New Header/Footer Scripts module
115
+
116
+
117
+
118
+
119
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
120
 
121
  - Fixed importing multiple photos and better error handling in the Mystock module
readme.txt CHANGED
@@ -109,6 +109,13 @@ Activating the Orbit Fox plugin is just like any other plugin. If you've uploade
109
 
110
  == Changelog ==
111
 
 
 
 
 
 
 
 
112
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
113
 
114
  - Fixed importing multiple photos and better error handling in the Mystock module
109
 
110
  == Changelog ==
111
 
112
+ ##### [Version 2.9.9](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.8...v2.9.9) (2020-06-05)
113
+
114
+ New Header/Footer Scripts module
115
+
116
+
117
+
118
+
119
  ##### [Version 2.9.8](https://github.com/Codeinwp/themeisle-companion/compare/v2.9.7...v2.9.8) (2020-04-28)
120
 
121
  - Fixed importing multiple photos and better error handling in the Mystock module
themeisle-companion.php CHANGED
@@ -15,7 +15,7 @@
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
- * Version: 2.9.8
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
15
  * Plugin Name: Orbit Fox Companion
16
  * Plugin URI: https://orbitfox.com/
17
  * Description: This swiss-knife plugin comes with a quality template library, menu/sharing icons modules, Gutenberg blocks, and newly added Elementor/BeaverBuilder page builder widgets on each release.
18
+ * Version: 2.9.9
19
  * Author: Themeisle
20
  * Author URI: https://orbitfox.com/
21
  * License: GPL-2.0+
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInitc31cefc01633492a0642e610989f86d3::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit2f961a96c5d8ad7d435af2159e7b439a::getLoader();
vendor/codeinwp/gutenberg-blocks/CHANGELOG.md CHANGED
@@ -1,3 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
  ##### [Version 1.5.1](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.0...v1.5.1) (2020-04-10)
2
 
3
  - Remove Icons from Range Controls
1
+ ##### [Version 1.5.2](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.1...v1.5.2) (2020-05-26)
2
+
3
+ - Use WP File System in Template Import
4
+ - Fix CSS Regeneration
5
+ - Add TinyMCE in Map Marker
6
+ - Use ServerSideLoader in Author & Sharing Blocks
7
+ - Fix Posts Block for Gutenberg 8.0
8
+ - Display template name in Template Library
9
+ - Add AMP Support to Slider Block
10
+ - Remove Section Outline
11
+ - Add AMP Support to Google Maps Block
12
+ - Fix Horizontal/Vertical Alignment
13
+ - Add Template Preview in Template Library
14
+ - Fix issue with Color resetting in Button Group & Section
15
+ - Fix Font Awesome not loading on Index Pages
16
+ - Add two new templates
17
+ - Fix SVG issue in Slider & Section Block
18
+
19
  ##### [Version 1.5.1](https://github.com/Codeinwp/gutenberg-blocks/compare/v1.5.0...v1.5.1) (2020-04-10)
20
 
21
  - Remove Icons from Range Controls
vendor/codeinwp/gutenberg-blocks/assets/static/deprecated.css CHANGED
@@ -19,7 +19,7 @@
19
  .wp-block-themeisle-blocks-advanced-columns > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] {
20
  display: flex;
21
  flex-direction: column;
22
- margin: auto;
23
  width: 0;
24
  }
25
  .wp-block-themeisle-blocks-advanced-columns > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] .editor-block-list__block-edit {
@@ -86,6 +86,18 @@
86
  .wp-block-themeisle-blocks-advanced-columns.has-6-columns.has-desktop-equal-layout > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] {
87
  flex-basis: 16.66%;
88
  }
 
 
 
 
 
 
 
 
 
 
 
 
89
  }
90
  @media (min-width: 600px) and (max-width: 960px) {
91
  .wp-block-themeisle-blocks-advanced-columns {
@@ -241,13 +253,28 @@
241
  flex: 1 1 33%;
242
  }
243
  }
244
- .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start .wp-themeisle-block-advanced-column-resize-container {
 
 
 
 
 
 
 
 
 
 
 
 
 
245
  align-items: flex-start;
246
  }
247
- .wp-block-themeisle-blocks-advanced-columns.has-vertical-center .wp-themeisle-block-advanced-column-resize-container {
 
248
  align-items: center;
249
  }
250
- .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end .wp-themeisle-block-advanced-column-resize-container {
 
251
  align-items: flex-end;
252
  }
253
  .wp-block-themeisle-onboarding-component .wp-block-themeisle-layout-picker {
@@ -259,9 +286,6 @@
259
  .block-editor-block-list__block[data-type="themeisle-blocks/advanced-columns"]:not(.is-selected)::before {
260
  outline: none;
261
  }
262
- .editor-block-list__block[data-type="themeisle-blocks/advanced-columns"]:not(.is-selected) > .editor-block-list__block-edit:before {
263
- outline: 2px dashed #d5dadf;
264
- }
265
  [data-type="themeisle-blocks/advanced-column"] .wp-themeisle-block-advanced-column-resize-container .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle-right {
266
  right: -15.5px;
267
  }
19
  .wp-block-themeisle-blocks-advanced-columns > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] {
20
  display: flex;
21
  flex-direction: column;
22
+ margin: 0 auto;
23
  width: 0;
24
  }
25
  .wp-block-themeisle-blocks-advanced-columns > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] .editor-block-list__block-edit {
86
  .wp-block-themeisle-blocks-advanced-columns.has-6-columns.has-desktop-equal-layout > .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout >[data-type="themeisle-blocks/advanced-column"] {
87
  flex-basis: 16.66%;
88
  }
89
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"],
90
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"] {
91
+ align-self: flex-start;
92
+ }
93
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-center .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"],
94
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-center .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"] {
95
+ align-self: center;
96
+ }
97
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"],
98
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end .innerblocks-wrap > .editor-inner-blocks > .editor-block-list__layout > [data-type="themeisle-blocks/advanced-column"] {
99
+ align-self: flex-end;
100
+ }
101
  }
102
  @media (min-width: 600px) and (max-width: 960px) {
103
  .wp-block-themeisle-blocks-advanced-columns {
253
  flex: 1 1 33%;
254
  }
255
  }
256
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start,
257
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-start {
258
+ justify-content: flex-start;
259
+ }
260
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-center,
261
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-center {
262
+ justify-content: center;
263
+ }
264
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end,
265
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-vertical-flex-end {
266
+ justify-content: flex-end;
267
+ }
268
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-start,
269
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-start {
270
  align-items: flex-start;
271
  }
272
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-center,
273
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-center {
274
  align-items: center;
275
  }
276
+ .branch-5-2 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-end,
277
+ .branch-5-3 .wp-block-themeisle-blocks-advanced-columns.has-horizontal-flex-end {
278
  align-items: flex-end;
279
  }
280
  .wp-block-themeisle-onboarding-component .wp-block-themeisle-layout-picker {
286
  .block-editor-block-list__block[data-type="themeisle-blocks/advanced-columns"]:not(.is-selected)::before {
287
  outline: none;
288
  }
 
 
 
289
  [data-type="themeisle-blocks/advanced-column"] .wp-themeisle-block-advanced-column-resize-container .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle-right {
290
  right: -15.5px;
291
  }
vendor/codeinwp/gutenberg-blocks/build/blocks.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,r,i=t[0],c=t[1],d=t[2],m=0,s=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&s.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(p&&p(t);s.length;)s.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var d=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var p=c;o.push([37,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"h",(function(){return s})),n.d(t,"r",(function(){return u})),n.d(t,"j",(function(){return b})),n.d(t,"o",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"q",(function(){return h})),n.d(t,"p",(function(){return y})),n.d(t,"s",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"t",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return x})),n.d(t,"e",(function(){return C}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"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"}))},k=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"})),C=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement(l,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(42),wp.components.ColorIndicator);t.a=function(e){var t=e.label,n=e.colorValue,a=e.className,r=e.children;return wp.element.createElement("div",{className:l()("components-base-control","wp-block-themeisle-blocks-color-base-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},t&&wp.element.createElement("span",{className:"components-base-control__label"},t,n&&wp.element.createElement(o,{colorValue:n})),r))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(44),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Dropdown,p=i.Icon,m=i.IconButton,s=wp.compose,u=s.compose,b=s.withInstanceId,g=wp.data,f=g.withSelect,h=g.withDispatch,y=wp.viewport.withViewportMatch;t.a=u(b,y({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}),f((function(e,t){var n=e("themeisle-gutenberg/data").getView,a=e("core/edit-post").__experimentalGetPreviewDeviceType,l=!(t.isLarger||t.isLarge||t.isSmall||t.isSmaller);return{view:a&&!l?a():n()}})),h((function(e,t){var n=e("themeisle-gutenberg/data").updateView,a=e("core/edit-post").__experimentalSetPreviewDeviceType,l=!(t.isLarger||t.isLarge||t.isSmall||t.isSmaller);return{updateView:a&&!l?a:n}})))((function(e){var t=e.instanceId,n=e.label,a=e.className,i=e.children,s=e.view,u=e.updateView,b="inspector-responsive-control-".concat(t);return wp.element.createElement("div",{id:b,className:l()("wp-block-themeisle-blocks-responsive-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(d,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(m,{icon:"Mobile"===s?"smartphone":s.toLowerCase(),label:r("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},r("View")),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Desktop"===s}),onClick:function(){return u("Desktop")}},"Desktop"===s&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Desktop"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Tablet"===s}),onClick:function(){return u("Tablet")}},"Tablet"===s&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Tablet"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Mobile"===s}),onClick:function(){return u("Mobile")}},"Mobile"===s&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Mobile"))))}}))),i))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(45),wp.element),r=o.Fragment,i=o.useRef,c=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,o=e.max,c=e.onChange,d=i(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(r,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:void 0!==n.value?n.value:"",min:l,max:o,ref:d,onChange:function(e){return c(n.type,parseInt(e.target.value))}})),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},d=wp.i18n.__,p=wp.components.IconButton,m=wp.compose.withInstanceId;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.type,o=e.min,r=e.max,i=e.changeType,m=e.options,s=e.onChange,u="inspector-sizing-control-".concat(t);return m&&1>m.length?d("Please specify more options."):wp.element.createElement("div",{id:u,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:u},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},m.map((function(e,n){return wp.element.createElement(c,{id:t,index:e,option:n,min:o,max:r,onChange:s})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(p,{icon:"linked"===a?"admin-links":"editor-unlink",tooltip:d("linked"===a?"Unlink Values":"Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}))},function(e,t,n){"use strict";t.a={"themeisle-blocks/advanced-heading":{tag:"h2",headingColor:"#000000",fontStyle:"normal",textTransform:"none",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:0,marginTop:0,marginBottom:25},"themeisle-blocks/button-group":{spacing:20,collapse:"collapse-none",fontSize:18,fontStyle:"normal",data:{color:"#ffffff",background:"#32373c",paddingTopBottom:12,paddingLeftRight:24}},"themeisle-blocks/font-awesome-icons":{fontSize:16,padding:5,margin:5},"themeisle-blocks/advanced-columns":{columnsGap:"default",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginBottom:20,columnsHTMLTag:"div",horizontalAlign:"unset",columnsHeight:"auto",verticalAlign:"unset",hide:!1,hideTablet:!1,hideMobile:!1},"themeisle-blocks/advanced-column":{paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginRight:0,marginBottom:20,marginLeft:0,columnsHTMLTag:"div"}}},,function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t,n){"use strict";n(55);var a=wp.components,l=a.Dropdown,o=a.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,a=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(l,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(o,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:a,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(43);function o(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=lodash,p=d.startCase,m=d.toLower,s=wp.i18n.__,u=wp.compose.withInstanceId,b=wp.components,g=b.Button,f=b.BaseControl,h=b.Dropdown,y=b.MenuGroup,w=b.MenuItem,v=b.SelectControl,k=b.TextControl,T=wp.element,E=T.useEffect,x=T.useState;t.a=u((function(e){var t=e.instanceId,n=e.label,a=e.value,i=e.valueVariant,c=e.valueStyle,d=e.valueTransform,u=e.isSelect,b=void 0!==u&&u,T=e.onChangeFontFamily,C=e.onChangeFontVariant,S=e.onChangeFontStyle,M=e.onChangeTextTransform;E((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){R(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}}));return A(t)}}))}))}),[]);var B=r(x(null),2),O=B[0],R=B[1],L=r(x(null),2),N=L[0],A=L[1],z=r(x(""),2),I=z[0],P=z[1],H="inspector-google-fonts-control-".concat(t);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(f,{label:n,id:H},null!==O?b?wp.element.createElement(v,{value:a||"",id:H,options:[{label:s("Default"),value:""}].concat(o(O.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:s("Regular"),value:"regular"},{label:s("Italic"),value:"italic"}],T(void 0),void A(t);T(e),t=O.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}})),A(t)}}):wp.element.createElement(h,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(g,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:H,onClick:n,"aria-expanded":t},a||s("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(y,{label:s("Google Fonts")},wp.element.createElement(k,{value:I,onChange:function(e){return P(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),T(void 0),A([]),P("")}},s("Default")),O.map((function(e){if(!I||e.family.toLowerCase().includes(I.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),T(e.family);var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}}));A(n),P("")}},e.family)}))))}}):s("Loading…")),N&&wp.element.createElement(v,{label:s("Font Width"),value:i||"regular",options:N,onChange:C}),wp.element.createElement(v,{label:s("Font Style"),value:c,options:[{label:s("Regular"),value:"normal"},{label:s("Italic"),value:"italic"}],onChange:S}),wp.element.createElement(v,{label:s("Font Transform"),value:d,options:[{label:s("Default"),value:"none"},{label:s("Uppercase"),value:"uppercase"},{label:s("Lowercase"),value:"lowercase"},{label:s("Capitalize"),value:"capitalize"}],onChange:M}))}))},function(e,t){e.exports=React},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var a=n(0),l=n.n(a),o=(n(64),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,d=o.IconButton,p=o.Toolbar,m=wp.compose.withInstanceId,s=wp.blockEditor.BlockControls,u=wp.element.Fragment,b=m((function(e){var t=e.instanceId,n=e.label,a=e.value,o=e.options,c=e.onChange,d="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:d,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(s,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(d,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(u,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))}})))}},,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(72),n(73),wp.components),r=o.SVG,i=o.Path;t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,c=e.invert,d=e.width,p=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&d?{transform:"".concat(d?"scaleX( ".concat(d/100," )"):"")}:{}},"bigTriangle"===a&&!1===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===c&&wp.element.createElement(r,{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===c&&wp.element.createElement(r,{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(r,{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===c&&wp.element.createElement(r,{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement(i,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(r,{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:p?"".concat(p,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement(i,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(69),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.ButtonGroup,p=i.Icon,m=i.IconButton,s=i.Tooltip,u=wp.compose.withInstanceId;t.default=u((function(e){var t=e.label,n=e.instanceId,a=e.backgroundType,i=e.changeBackgroundType,u="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:u,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(d,{className:"linking-controls"},wp.element.createElement(m,{icon:"admin-customizer",label:r("Color"),className:l()("is-button",{"is-primary":"color"===a}),onClick:function(){i("color")}}),wp.element.createElement(m,{icon:"format-image",label:r("Image"),className:l()("is-button",{"is-primary":"image"===a}),onClick:function(){i("image")}}),wp.element.createElement(s,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:l()("is-button",{"is-primary":"gradient"===a}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:o.b})))))))}))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n(70);var a=n(3),l=n(0),o=n.n(l),r=wp.components,i=r.Dashicon,c=r.Tooltip,d=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,l=e.isSelected,r=e.onChange,d=wp.element.createElement("button",{type:"button","aria-pressed":l,className:o()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return r(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(c,{text:t},d):d,l&&wp.element.createElement(i,{icon:"saved"}))},p=wp.i18n.__,m=[{title:p("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:p("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:p("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:p("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:p("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:p("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:p("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:p("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:p("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:p("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:p("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:p("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],s=wp.i18n.__,u=wp.components,b=u.Button,g=u.ColorIndicator,f=u.Dropdown,h=u.RangeControl,y=u.SelectControl,w=wp.compose.withInstanceId,v=wp.blockEditor.ColorPalette,k=wp.element.Fragment;t.a=w((function(e){var t,n=e.label,l=e.instanceId,o=e.value,r=e.customGradient,i=void 0===r||r,c=e.onChange,p="inspector-gradient-picker-control-".concat(l),u=function(e){var t=e.firstColor,n=void 0===t?o.firstColor:t,a=e.firstLocation,l=void 0===a?o.firstLocation:a,r=e.secondColor,i=void 0===r?o.secondColor:r,d=e.secondLocation,p=void 0===d?o.secondLocation:d,m=e.type,s=void 0===m?o.type:m,u=e.angle,b=void 0===u?o.angle:u,g=e.position,f=void 0===g?o.position:g;c(n,l,i,p,s,b,f)};t="linear"===o.type?"".concat(o.angle,"deg"):"at ".concat(o.position);var w="".concat(o.type,"-gradient( ").concat(t,", ").concat(o.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.firstLocation,"%, ").concat(o.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.secondLocation,"% )"),T=m.some((function(e){return e.firstColor===o.firstColor&&e.secondColor===o.secondColor}));return wp.element.createElement("div",{id:p,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!T&&wp.element.createElement(g,{colorValue:w}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},m.map((function(e){return wp.element.createElement(d,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===o.firstColor&&e.secondColor===o.secondColor,onChange:c})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},i&&wp.element.createElement(f,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(b,{"aria-expanded":t,onClick:n,isLink:!0},s("Custom Gradient"))},renderContent:function(){return wp.element.createElement(k,null,wp.element.createElement(a.a,{label:s("First Color"),colorValue:o.firstColor},wp.element.createElement(v,{label:s("Color"),clearable:!1,value:o.firstColor,onChange:function(e){return u({firstColor:e})}})),wp.element.createElement(h,{label:s("Location"),value:o.firstLocation,min:0,max:100,onChange:function(e){return u({firstLocation:e})}}),wp.element.createElement(a.a,{label:s("Second Color"),colorValue:o.secondColor},wp.element.createElement(v,{label:s("Color"),clearable:!1,value:o.secondColor,onChange:function(e){return u({secondColor:e})}})),wp.element.createElement(h,{label:s("Location"),value:o.secondLocation,min:0,max:100,onChange:function(e){return u({secondLocation:e})}}),wp.element.createElement(y,{label:s("Type"),value:o.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return u({type:e})}}),"linear"===o.type?wp.element.createElement(h,{label:s("Angle"),value:o.angle,min:0,max:360,onChange:function(e){return u({angle:e})}}):wp.element.createElement(y,{label:s("Position"),value:o.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return u({position:e})}}))}}),wp.element.createElement(b,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return c("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},s("Clear"))))))}))},,function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(56);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i=wp.i18n.__,c=wp.blockEditor.InspectorAdvancedControls,d=wp.compose.withInstanceId,p=wp.components,m=p.BaseControl,s=p.IconButton,u=p.Notice,b=wp.element.useState;t.a=d((function(e){var t=e.instanceId,n=e.value,a=e.onChange,r=o(b(!1),2),d=r[0],p=r[1],g=o(b(n),2),f=g[0],h=g[1],y=void 0!==window.themeisleGutenberg.blockIDs&&n!==f&&window.themeisleGutenberg.blockIDs.includes(f);return wp.element.createElement(c,null,wp.element.createElement(m,{label:i("HTML Anchor"),help:i("Anchors lets you link directly to a section on a page."),id:"wp-block-themeisle-blocks-html-anchor-control-".concat(t)},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-html-anchor-control"},wp.element.createElement("input",{type:"text",className:"wp-block-themeisle-blocks-html-anchor-control-input",readonly:!d&&"readonly",value:d?f:n,onChange:function(e){return h(e.target.value)},onClick:function(e){return e.target.select()}}),wp.element.createElement(s,{icon:d?"yes":"edit",tooltip:i(d?"Save":"Edit"),disabled:!!y,className:l()("wp-block-themeisle-blocks-html-anchor-control-button",{"is-saved":!d}),onClick:function(){if(d&&n!==f){var e=window.themeisleGutenberg.blockIDs.findIndex((function(e){return e===n}));window.themeisleGutenberg.blockIDs[e]=f,a(f)}p(!d)}}))),y&&wp.element.createElement(u,{status:"warning",isDismissible:!1,className:"wp-block-themeisle-blocks-anchor-control-notice"},i("This ID has already been used in this page. Please consider using a different ID to avoid conflict.")))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(22);n(59);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.apiFetch,p=wp.components,m=p.BaseControl,s=p.IconButton,u=p.Popover,b=wp.compose,g=b.compose,f=b.withInstanceId,h=wp.data.withSelect,y=wp.element,w=y.useEffect,v=y.useRef,k=y.useState,T=wp.keycodes,E=T.DOWN,x=T.ENTER,C=T.TAB,S=T.UP,M=wp.url.addQueryArgs;t.a=g(f,h((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.instanceId,n=e.label,a=e.help,i=e.placeholder,p=e.value,b=e.className,g=e.onChange,f=e.children,h=e.fetchLinkSuggestions;w((function(){z&&null!==H&&void 0!==B[H]&&!T&&null!==y.current&&(T=!0,Object(o.a)(B[H],y.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){T=!1}),100))}));var y=v(null),T=!1,B=[],O=[],R=r(k(!1),2),L=R[0],N=R[1],A=r(k(!1),2),z=A[0],I=A[1],P=r(k(null),2),H=P[0],_=P[1],D=r(k([]),2),j=D[0],V=D[1],F=function(e){return function(t){B[e]=t}},G=function(e){g(e),I(!1)},W="inspector-link-control-".concat(t);return wp.element.createElement(m,{label:n,id:W,help:a,className:b},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":L})},wp.element.createElement("input",{type:"url",placeholder:i,value:p,onChange:function(e){g(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?I(!1):(I(!0),(t=h?h(e):d({path:M("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){O===t&&(V(e),_(null))})),O=t)}(e.target.value)},onKeyDown:function(e){if(z&&1<=j.length){var t=j[H];switch(e.keyCode){case S:e.stopPropagation(),e.preventDefault();var n=H?H-1:j.length-1;_(n);break;case E:e.stopPropagation(),e.preventDefault();var a=null===H||H===j.length-1?0:H+1;_(a);break;case C:case x:null!==H&&(e.stopPropagation(),G(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===f})}),z&&0<j.length&&wp.element.createElement(u,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:y,className:"wp-block-themeisle-blocks-link-control-popover-container"},j.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:F(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===H}),onClick:function(){return G(e.url)}},e.title||c("Untitled Post"))})))),void 0!==f&&wp.element.createElement(s,{icon:"admin-generic",tooltip:c("Link Options"),onClick:function(){return N(!L)}})),L&&f)}))},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(71),n(4)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Path,p=i.Rect,m=i.SVG,s=i.Tooltip,u=wp.compose.compose,b=wp.data.withSelect,g=wp.element.Fragment;t.default=u(b((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t,n=e.label,a=e.onClick,i=e.layout,u=e.layoutTablet,b=e.layoutMobile,f=e.columns,h=e.view;return"Desktop"===h?t=i:"Tablet"===h?t=u:"Mobile"===h&&(t=b),wp.element.createElement(o.a,{label:n,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},1===f&&wp.element.createElement(s,{text:r("Single Row")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===f&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return a("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return a("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===f&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return a("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("2:1:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return a("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return a("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("1:3:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return a("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===f&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===f&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===f&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==h||"Tablet"==h)&&wp.element.createElement(g,null,wp.element.createElement(s,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(s,{text:r("Three Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return a("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(s,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))))}))},function(e,t,n){"use strict";n.r(t);n(74);var a=n(2),l=n(0),o=n.n(l),r=n(106);n(75);function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=lodash,p=d.startCase,m=d.toLower,s=wp.i18n.__,u=wp.components,b=u.Button,g=u.Dashicon,f=u.Icon,h=u.TextControl,y=u.Tooltip,w=u.SelectControl,v=function(e){var t,n=e.preview,l=e.tab,r=e.blocksCategories,c=e.templateCategories,d=e.selectedCategory,u=e.selectedTemplate,v=e.search,k=e.togglePreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,M=(t=("block"===l?r:c).map((function(e){return{label:p(m(e)),value:e}})),[{label:s("All Categories"),value:"all"}].concat(i(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(b,{className:"library-modal-header-tabs-button back-to-library","aria-label":s("Back to Library"),onClick:k},wp.element.createElement(g,{icon:"arrow-left-alt"})," ",s("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(f,{icon:a.m}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(g,{icon:"screenoptions"}),s("Blocks")),wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(g,{icon:"editor-table"}),s("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(b,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(u.template_url)},tabindex:"0"},wp.element.createElement(g,{icon:"arrow-down-alt",size:16}),s("Insert")),wp.element.createElement(y,{text:s("Close")},wp.element.createElement(b,{className:"library-modal-header-tabs-button","aria-label":s("Close settings"),onClick:E},wp.element.createElement(g,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(w,{className:"library-modal-category-control",value:"all"===d?"all":d,onChange:C,options:M}),wp.element.createElement(h,{type:"text",value:v||"",placeholder:s("Search"),className:"library-modal-search-control",onChange:S})))},k=wp.i18n.__,T=wp.components.Notice,E=wp.element.Fragment,x=function(e){var t=e.isError,n=e.removeError,a=e.isMissing,l=e.removeMissing,o=e.missingBlocks;return wp.element.createElement(E,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:k("Update Now"),url:themeisleGutenberg.updatePath}]},k("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),t&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"error",onRemove:n},k("There seems to be an error. Please try again."))),a&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",className:"library-modal-missing",onRemove:l},k("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,k("View Missing Blocks")),wp.element.createElement("ul",null,o.map((function(e){return wp.element.createElement("li",null,e)})))))))},C=n(23),S=n.n(C),M=wp.i18n.__,B=wp.components.Button,O=function(e){var t=e.template,n=e.togglePreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||M("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},t.title&&"template"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_title"},t.title,t.author&&M(" by ")+t.author," "),t.author&&"block"===t.type&&wp.element.createElement("h4",{className:"library-modal-content__footer_meta_author"},M("Author:")," ",t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},t.demo_url&&wp.element.createElement(B,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},M("Preview")),wp.element.createElement(B,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},M("Insert")))))},R=wp.i18n.__,L=wp.components.Spinner,N=function(e){var t=e.preview,n=e.isLoaded,a=e.data,l=e.tab,o=e.selectedTemplate,r=e.selectedCategory,i=e.search,c=e.togglePreview,d=e.importTemplate;return t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement("iframe",{src:o.demo_url})):n?wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(O,{template:e,togglePreview:c,importTemplate:d})})),wp.element.createElement("div",{"aria-label":R("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(L,null))};function A(e){return(A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))}}var _=wp.apiFetch,D=wp.components.Modal,j=wp.compose.compose,V=wp.data,F=V.withSelect,G=V.withDispatch,W=wp.element,q=W.useEffect,U=W.useState,Z=j(F((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/blocks").getBlockTypes;return{block:a(n),availableBlocks:l()}})),G((function(e,t){var n=t.block,a=e("core/block-editor").replaceBlocks;return{importBlocks:function(e){return a(n.clientId,e)}}})))((function(e){var t=e.close,n=e.availableBlocks,a=e.importBlocks;q((function(){(function(){var e=H(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,_({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),B(n),L(a),j(t),m(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var l=z(U("block"),2),i=l[0],c=l[1],d=z(U(!1),2),p=d[0],m=d[1],s=z(U(!1),2),u=s[0],b=s[1],g=z(U(!1),2),f=g[0],h=g[1],y=z(U("all"),2),w=y[0],k=y[1],T=z(U(""),2),E=T[0],C=T[1],S=z(U([]),2),M=S[0],B=S[1],O=z(U([]),2),R=O[0],L=O[1],I=z(U([]),2),P=I[0],j=I[1],V=z(U(!1),2),F=V[0],G=V[1],W=z(U(null),2),Z=W[0],$=W[1],Q=z(U([]),2),K=Q[0],J=Q[1],Y=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:null;G(!F),$(e)},X=function e(t){return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===A(t)&&Object.keys(t).map((function(n){"clientId"===n&&(t[n]=Object(r.a)()),"innerBlocks"===n&&t[n].map((function(t){e(t)}))})),t},ee=function e(t){var a=!1,l=[];return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===A(t)&&Object.keys(t).some((function(o){"name"===o&&(void 0===n.find((function(e){return e.name===t.name}))&&(l.push(t.name),a=!0));"innerBlocks"===o&&t[o].map((function(t){return e(t)}))})),l=l.concat(l).filter((function(e,t,n){return n.indexOf(e)===t})),J(l),a},te=function(){var e=H(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return G(!1),m(!1),J([]),e.next=5,_({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:n=e.sent,null!==(n=X(n))?(m(!0),ee(n)?h(!0):a(n)):(m(!0),b(!0));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(D,{className:o()("wp-block-themeisle-library-modal",{"is-preview":F}),onRequestClose:t,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(v,{preview:F,tab:i,changeTab:function(e){c(e),k("all"),C("")},blocksCategories:M,templateCategories:R,selectedTemplate:Z,selectedCategory:w,search:E,togglePreview:Y,close:t,importTemplate:te,selectCategory:function(e){return k(e)},changeSearch:function(e){return C(e)}}),wp.element.createElement(x,{isError:u,isMissing:f,missingBlocks:K,removeError:function(){return b(!1)},removeMissing:function(){return h(!1)}}),wp.element.createElement(N,{preview:F,isLoaded:p,data:P,tab:i,selectedTemplate:Z,selectedCategory:w,search:E,togglePreview:Y,importTemplate:te}))}));function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var K=wp.i18n.__,J=wp.components,Y=J.Button,X=J.Dashicon,ee=J.Icon,te=J.Path,ne=J.Placeholder,ae=J.Rect,le=J.SVG,oe=J.Tooltip,re=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=$(re(!1),2),o=l[0],r=l[1];return wp.element.createElement(ne,{label:K("Select Layout"),instructions:K("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(ee,{icon:a.g}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(oe,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("2:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(ae,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("1:1:2")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(ae,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("2:1:1")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(ae,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(oe,{text:K("Equal")},wp.element.createElement(Y,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(le,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(te,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(ae,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(ae,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(ae,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(oe,{text:K("Open Template Library")},wp.element.createElement(Y,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(X,{icon:"category"}),K("Template Library")),o&&wp.element.createElement(Z,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(Y,{isLink:!0,onClick:function(){return n(1,"equal")}},K("Skip"))))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(8),r=wp.components,i=r.Placeholder,c=r.Spinner,d=(0,wp.data.withSelect)((function(e,t){var n=t.id,a=t.alt,l=t.size,o=n?e("core").getMedia(n):void 0,r=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null;return o?{thumbnail:r,alt:o.alt_text||a}:{alt:a}}))((function(e){var t=e.alt,n=e.id,a=e.thumbnail,l=e.link,o=wp.element.createElement(i,{className:"wp-themeisle-block-spinner"},wp.element.createElement(c,null));return a&&(o=wp.element.createElement("img",{src:a,alt:t,"data-id":n})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:l},o))})),p=wp.i18n,m=p.__,s=p.sprintf,u=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&s(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&s(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},b=wp.i18n,g=b.__,f=b.sprintf,h=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&f(g("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&f(g(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(u,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(h,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,,function(e,t,n){"use strict";n.r(t);var a,l=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r=(o(a={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},"reverseColumnsTablet",{type:"boolean",default:!1}),o(a,"columnsHTMLTag",{type:"string",default:"div"}),a),i=n(0),c=n.n(i),d=n(7),p=n.n(d);function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){u(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function u(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var b=wp.blockEditor.InnerBlocks,g=wp.components,f=g.SVG,h=g.Path,y=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:c()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(f,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(f,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(f,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(f,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(f,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(f,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(f,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(f,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},w=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,d=i.id,m=i.columns,u=i.layout,g=i.layoutTablet,f=i.layoutMobile,h=i.columnsGap,w=i.columnsWidth,v=i.horizontalAlign,k=i.verticalAlign,T=i.backgroundType,E=i.backgroundColor,x=i.backgroundImageURL,C=i.backgroundAttachment,S=i.backgroundPosition,M=i.backgroundRepeat,B=i.backgroundSize,O=i.backgroundGradientFirstColor,R=i.backgroundGradientFirstLocation,L=i.backgroundGradientSecondColor,N=i.backgroundGradientSecondLocation,A=i.backgroundGradientType,z=i.backgroundGradientAngle,I=i.backgroundGradientPosition,P=i.backgroundOverlayOpacity,H=i.backgroundOverlayType,_=i.backgroundOverlayColor,D=i.backgroundOverlayImageURL,j=i.backgroundOverlayAttachment,V=i.backgroundOverlayPosition,F=i.backgroundOverlayRepeat,G=i.backgroundOverlaySize,W=i.backgroundOverlayGradientFirstColor,q=i.backgroundOverlayGradientFirstLocation,U=i.backgroundOverlayGradientSecondColor,Z=i.backgroundOverlayGradientSecondLocation,$=i.backgroundOverlayGradientType,Q=i.backgroundOverlayGradientAngle,K=i.backgroundOverlayGradientPosition,J=i.backgroundOverlayFilterBlur,Y=i.backgroundOverlayFilterBrightness,X=i.backgroundOverlayFilterContrast,ee=i.backgroundOverlayFilterGrayscale,te=i.backgroundOverlayFilterHue,ne=i.backgroundOverlayFilterSaturate,ae=i.backgroundOverlayBlend,le=i.borderType,oe=i.border,re=i.borderTop,ie=i.borderRight,ce=i.borderBottom,de=i.borderLeft,pe=i.borderColor,me=i.borderRadiusType,se=i.borderRadius,ue=i.borderRadiusTop,be=i.borderRadiusRight,ge=i.borderRadiusBottom,fe=i.borderRadiusLeft,he=i.boxShadow,ye=i.boxShadowColor,we=i.boxShadowColorOpacity,ve=i.boxShadowBlur,ke=i.boxShadowSpread,Te=i.boxShadowHorizontal,Ee=i.boxShadowVertical,xe=i.dividerTopType,Ce=i.dividerTopColor,Se=i.dividerTopInvert,Me=i.dividerBottomType,Be=i.dividerBottomColor,Oe=i.dividerBottomInvert,Re=i.hide,Le=i.hideTablet,Ne=i.hideMobile,Ae=i.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:M,backgroundSize:B}),"gradient"===T)&&(r="linear"===A?"".concat(z,"deg"):"at ".concat(I),t={background:"".concat(A,"-gradient( ").concat(r,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(R,"%, ").concat(L||"rgba( 0, 0, 0, 0 )"," ").concat(N,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(de,"px"),borderStyle:"solid",borderColor:pe}),"linked"===me&&(l={borderRadius:"".concat(se,"px")}),"unlinked"===me&&(l={borderTopLeftRadius:"".concat(ue,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(fe,"px")}),!0===he&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(p()(ye||"#000000",we))});var ze,Ie=s({},t,{},a,{},l,{},o,{justifyContent:v});("color"===H&&(n={background:_,opacity:P/100}),"image"===H&&(n={backgroundImage:"url( '".concat(D,"' )"),backgroundAttachment:j,backgroundPosition:V,backgroundRepeat:F,backgroundSize:G,opacity:P/100}),"gradient"===H)&&(ze="linear"===$?"".concat(Q,"deg"):"at ".concat(K),n={background:"".concat($,"-gradient( ").concat(ze,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(U||"rgba( 0, 0, 0, 0 )"," ").concat(Z,"% )"),opacity:P/100});var Pe=s({},n,{mixBlendMode:ae,filter:"blur( ".concat(J/10,"px ) brightness( ").concat(Y/10," ) contrast( ").concat(X/10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),He={};w&&(He={maxWidth:w+"px"});var _e=Re?"":"has-desktop-".concat(u,"-layout"),De=Le?"":"has-tablet-".concat(g,"-layout"),je=Ne?"":"has-mobile-".concat(f,"-layout"),Ve=c()(e.className,"has-".concat(m,"-columns"),_e,De,je,{"hide-in-desktop":Re},{"hide-in-tablet":Le},{"hide-in-mobile":Ne},"has-".concat(h,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(Ae,{className:Ve,id:d,style:Ie},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Pe}),wp.element.createElement(y,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:He},wp.element.createElement(b.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:Me,fill:Be,invert:Oe}))}},{attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,d=e.className,m=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(r="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(r,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(a={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(a={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(l={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(l={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(o={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(p()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var u,g=s({},t,{},a,{},l,{},o,{justifyContent:i.horizontalAlign});("color"===i.backgroundOverlayType&&(n={background:i.backgroundOverlayColor,opacity:i.backgroundOverlayOpacity/100}),"image"===i.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(i.backgroundOverlayImageURL,"' )"),backgroundAttachment:i.backgroundOverlayAttachment,backgroundPosition:i.backgroundOverlayPosition,backgroundRepeat:i.backgroundOverlayRepeat,backgroundSize:i.backgroundOverlaySize,opacity:i.backgroundOverlayOpacity/100}),"gradient"===i.backgroundOverlayType)&&(u="linear"===i.backgroundOverlayGradientType?"".concat(i.backgroundOverlayGradientAngle,"deg"):"at ".concat(i.backgroundOverlayGradientPosition),n={background:"".concat(i.backgroundOverlayGradientType,"-gradient( ").concat(u,", ").concat(i.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientFirstLocation,"%, ").concat(i.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientSecondLocation,"% )"),opacity:i.backgroundOverlayOpacity/100});var f=s({},n,{mixBlendMode:i.backgroundOverlayBlend}),h={};i.columnsWidth&&(h={maxWidth:i.columnsWidth+"px"});var w=i.hide?"":"has-desktop-".concat(i.layout,"-layout"),v=i.hideTablet?"":"has-tablet-".concat(i.layoutTablet,"-layout"),k=i.hideMobile?"":"has-mobile-".concat(i.layoutMobile,"-layout"),T=c()(d,"has-".concat(i.columns,"-columns"),w,v,k,{"hide-in-desktop":i.hide},{"hide-in-tablet":i.hideTablet},{"hide-in-mobile":i.hideMobile},"has-".concat(i.columnsGap,"-gap"),"has-vertical-".concat(i.verticalAlign));return wp.element.createElement(m,{className:T,id:i.id,style:g},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:f}),wp.element.createElement(y,{type:"top",front:!0,style:i.dividerTopType,fill:i.dividerTopColor,invert:i.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:h},wp.element.createElement(b.Content,null)),wp.element.createElement(y,{type:"bottom",front:!0,style:i.dividerBottomType,fill:i.dividerBottomColor,invert:i.dividerBottomInvert}))}}],v=n(6),k=n(17),T=wp.blockEditor,E=T.BlockControls,x=T.BlockVerticalAlignmentToolbar,C=function(e){var t=e.attributes,n=e.setAttributes,a=function(){return"flex-start"===t.verticalAlign?"top":"flex-end"===t.verticalAlign?"bottom":t.verticalAlign};return a=a(),wp.element.createElement(E,null,x&&wp.element.createElement(x,{onChange:function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});"top"===e?e="flex-start":"bottom"===e&&(e="flex-end"),n({verticalAlign:e})},value:a}))},S=n(3),M=n(25),B=n(5),O=n(4),R=n(15),L=n(18),N=n(9),A=n(20);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var H=wp.i18n.__,_=wp.blockEditor,D=_.BlockVerticalAlignmentToolbar,j=_.ColorPalette,V=_.InspectorControls,F=_.MediaPlaceholder,G=wp.components,W=G.BaseControl,q=G.Button,U=G.ButtonGroup,Z=G.Dashicon,$=G.Icon,Q=G.IconButton,K=G.PanelBody,J=G.Tooltip,Y=G.ToggleControl,X=G.RangeControl,ee=G.SelectControl,te=wp.compose.compose,ne=wp.data.withSelect,ae=wp.element,le=ae.Fragment,oe=ae.useState,re=te(ne((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.updateColumnsWidth,o=e.dividerViewType,r=e.setDividerViewType,i=e.view,d=I(oe("layout"),2),p=d[0],m=d[1],s=function(){var e;return"Desktop"===i&&(e=t.paddingType),"Tablet"===i&&(e=t.paddingTypeTablet),"Mobile"===i&&(e=t.paddingTypeMobile),e};s=s();var u={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},b={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},g={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},f=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},h=function(){var e;return"Desktop"===i&&(e=t.marginType),"Tablet"===i&&(e=t.marginTypeTablet),"Mobile"===i&&(e=t.marginTypeMobile),e};h=h();var y={top:"marginTop",bottom:"marginBottom"},w={top:"marginTopTablet",bottom:"marginBottomTablet"},v={top:"marginTopMobile",bottom:"marginBottomMobile"},k=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},T=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},E=function(){var e;return"Desktop"===i&&(e=t.columnsHeightCustom),"Tablet"===i&&(e=t.columnsHeightCustomTablet),"Mobile"===i&&(e=t.columnsHeightCustomMobile),e};E=E();var x=function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});n({verticalAlign:e})},C=function(){n({backgroundImageID:"",backgroundImageURL:""})},P=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},_={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},G=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},te={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ne=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},ae=function(){var e;return"top"==o&&(e=t.dividerTopType),"bottom"==o&&(e=t.dividerBottomType),e};ae=ae();var re=function(){var e;return"top"==o&&(e=t.dividerTopColor),"bottom"==o&&(e=t.dividerBottomColor),e};re=re();var ie=function(){var e;return"top"==o&&("Desktop"==i&&(e=t.dividerTopWidth),"Tablet"==i&&(e=t.dividerTopWidthTablet),"Mobile"==i&&(e=t.dividerTopWidthMobile)),"bottom"==o&&("Desktop"==i&&(e=t.dividerBottomWidth),"Tablet"==i&&(e=t.dividerBottomWidthTablet),"Mobile"==i&&(e=t.dividerBottomWidthMobile)),e};ie=ie();var ce=function(){var e;return"top"==o&&("Desktop"==i&&(e=t.dividerTopHeight),"Tablet"==i&&(e=t.dividerTopHeightTablet),"Mobile"==i&&(e=t.dividerTopHeightMobile)),"bottom"==o&&("Desktop"==i&&(e=t.dividerBottomHeight),"Tablet"==i&&(e=t.dividerBottomHeightTablet),"Mobile"==i&&(e=t.dividerBottomHeightMobile)),e};ce=ce();var de=function(){var e;return"top"==o&&(e=t.dividerTopInvert),"bottom"==o&&(e=t.dividerBottomInvert),e};de=de();var pe=function(e,t){"Desktop"===t&&n({hide:e}),"Tablet"===t&&n({hideTablet:e}),"Mobile"===t&&n({hideMobile:e})},me=function(e,t){"Tablet"===t&&n({reverseColumnsTablet:e}),"Mobile"===t&&n({reverseColumnsMobile:e})};return wp.element.createElement(le,null,wp.element.createElement(V,null,wp.element.createElement(K,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(q,{className:c()("header-tab",{"is-selected":"layout"===p}),onClick:function(){return m("layout")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"editor-table"}),H("Layout"))),wp.element.createElement(q,{className:c()("header-tab",{"is-selected":"style"===p}),onClick:function(){return m("style")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"admin-customizer"}),H("Style"))),wp.element.createElement(q,{className:c()("header-tab",{"is-selected":"advanced"===p}),onClick:function(){return m("advanced")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:"admin-generic"}),H("Advanced")))),"layout"===p&&wp.element.createElement(le,null,wp.element.createElement(K,{title:H("Columns & Layout")},wp.element.createElement(X,{label:H("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),a(1,"equal"))},min:1,max:6}),wp.element.createElement(M.default,{label:H("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,onClick:function(e){"Desktop"===i&&(n({layout:e}),a(t.columns,e)),"Tablet"===i&&n({layoutTablet:e}),"Mobile"===i&&n({layoutMobile:e})}}),wp.element.createElement(ee,{label:H("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(K,{title:H("Spacing"),initialOpen:!1},wp.element.createElement(O.a,{label:"Padding"},wp.element.createElement(B.a,{type:s,min:0,max:500,changeType:function(e){"Desktop"===i&&n({paddingType:e}),"Tablet"===i&&n({paddingTypeTablet:e}),"Mobile"===i&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.paddingType?n({padding:a}):n(z({},u[e],a))),"Tablet"===i&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(z({},b[e],a))),"Mobile"===i&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(z({},g[e],a)))},options:[{label:H("Top"),type:"top",value:f("top")},{label:H("Right"),type:"right",value:f("right")},{label:H("Bottom"),type:"bottom",value:f("bottom")},{label:H("Left"),type:"left",value:f("left")}]})),wp.element.createElement(O.a,{label:"Margin"},wp.element.createElement(B.a,{type:h,min:-500,max:500,changeType:function(e){"Desktop"===i&&n({marginType:e}),"Tablet"===i&&n({marginTypeTablet:e}),"Mobile"===i&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.marginType?n({margin:a}):n(z({},y[e],a))),"Tablet"===i&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(z({},w[e],a))),"Mobile"===i&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(z({},v[e],a)))},options:[{label:H("Top"),type:"top",value:k("top")},{label:H("Right"),disabled:!0},{label:H("Bottom"),type:"bottom",value:k("bottom")},{label:H("Left"),disabled:!0}]}))),wp.element.createElement(K,{title:H("Section Structure"),initialOpen:!1},wp.element.createElement(X,{label:H("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(W,{label:"Horizontal Align"},wp.element.createElement(U,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(J,{text:H("Left")},wp.element.createElement(Q,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return T("flex-start")}})),wp.element.createElement(J,{text:H("Center")},wp.element.createElement(Q,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===t.horizontalAlign,onClick:function(){return T("center")}})),wp.element.createElement(J,{text:H("Right")},wp.element.createElement(Q,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return T("flex-end")}})))),wp.element.createElement(ee,{label:H("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(O.a,{label:"Custom Height"},wp.element.createElement(X,{value:E||"",onChange:function(e){"Desktop"===i&&n({columnsHeightCustom:e}),"Tablet"===i&&n({columnsHeightCustomTablet:e}),"Mobile"===i&&n({columnsHeightCustomMobile:e})},min:0,max:1e3})),!D&&wp.element.createElement(W,{label:"Vertical Align"},wp.element.createElement(U,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(J,{text:H("Top")},wp.element.createElement(q,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===t.verticalAlign,onClick:function(){return x("flex-start")}},wp.element.createElement($,{icon:l.t,size:20}))),wp.element.createElement(J,{text:H("Middle")},wp.element.createElement(q,{className:"components-icon-button is-button is-large",isPrimary:"center"===t.verticalAlign,onClick:function(){return x("center")}},wp.element.createElement($,{icon:l.k,size:20}))),wp.element.createElement(J,{text:H("Bottom")},wp.element.createElement(q,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===t.verticalAlign,onClick:function(){return x("flex-end")}},wp.element.createElement($,{icon:l.c,size:20})))))))||"style"===p&&wp.element.createElement(le,null,wp.element.createElement(K,{title:H("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(R.default,{label:H("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(S.a,{label:H("Background Color"),colorValue:t.backgroundColor},wp.element.createElement(j,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(le,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:C},wp.element.createElement(Z,{icon:"trash"}),wp.element.createElement("span",null,H("Remove Image"))))),wp.element.createElement(q,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:C},H("Change or Remove Image")),wp.element.createElement(N.a,{label:"Background Settings"},wp.element.createElement(ee,{label:H("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(ee,{label:H("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(ee,{label:H("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(ee,{label:H("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(F,{icon:"format-image",labels:{title:H("Background Image"),name:H("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(L.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(K,{title:H("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(R.default,{label:H("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(X,{label:H("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(S.a,{label:H("Overlay Color"),colorValue:t.backgroundOverlayColor},wp.element.createElement(j,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(le,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:P},wp.element.createElement(Z,{icon:"trash"}),wp.element.createElement("span",null,H("Remove Image"))))),wp.element.createElement(q,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:P},H("Change or Remove Image")),wp.element.createElement(N.a,{label:"Background Settings"},wp.element.createElement(ee,{label:H("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(ee,{label:H("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(ee,{label:H("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(ee,{label:H("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(F,{icon:"format-image",labels:{title:H("Background Image"),name:H("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(L.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})}}),wp.element.createElement(N.a,{label:"CSS Filters"},wp.element.createElement(X,{label:H("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(X,{label:H("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(ee,{label:H("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement(K,{title:H("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(B.a,{label:H("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(z({},_[e],a))},options:[{label:H("Top"),type:"top",value:G("top")},{label:H("Right"),type:"right",value:G("right")},{label:H("Bottom"),type:"bottom",value:G("bottom")},{label:H("Left"),type:"left",value:G("left")}]}),wp.element.createElement(S.a,{label:H("Border Color"),colorValue:t.borderColor},wp.element.createElement(j,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(B.a,{label:H("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(z({},te[e],a))},options:[{label:H("Top"),type:"top",value:ne("top")},{label:H("Right"),type:"right",value:ne("right")},{label:H("Bottom"),type:"bottom",value:ne("bottom")},{label:H("Left"),type:"left",value:ne("left")}]}),wp.element.createElement(Y,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(le,null,wp.element.createElement(S.a,{label:H("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(j,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(N.a,{label:"Border Shadow"},wp.element.createElement(X,{label:H("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(X,{label:H("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(X,{label:H("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(X,{label:H("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(K,{title:H("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(U,null,wp.element.createElement(q,{className:"is-button",isPrimary:"top"===o,onClick:function(){return r("top")}},H("Top")),wp.element.createElement(q,{className:"is-button",isPrimary:"bottom"===o,onClick:function(){return r("bottom")}},H("Bottom"))),wp.element.createElement(ee,{label:H("Type"),value:ae,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==o&&n({dividerTopType:e}),"bottom"==o&&n({dividerBottomType:e})}}),"none"!==ae&&wp.element.createElement(le,null,wp.element.createElement(S.a,{label:H("Color"),colorValue:re},wp.element.createElement(j,{label:H("Color"),value:re,onChange:function(e){"top"==o&&n({dividerTopColor:e}),"bottom"==o&&n({dividerBottomColor:e})}})),wp.element.createElement(O.a,{label:"Width"},wp.element.createElement(X,{value:ie,onChange:function(e){"top"==o&&("Desktop"==i&&n({dividerTopWidth:e}),"Tablet"==i&&n({dividerTopWidthTablet:e}),"Mobile"==i&&n({dividerTopWidthMobile:e})),"bottom"==o&&("Desktop"==i&&n({dividerBottomWidth:e}),"Tablet"==i&&n({dividerBottomWidthTablet:e}),"Mobile"==i&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(O.a,{label:"Height"},wp.element.createElement(X,{value:ce,onChange:function(e){"top"==o&&("Desktop"==i&&n({dividerTopHeight:e}),"Tablet"==i&&n({dividerTopHeightTablet:e}),"Mobile"==i&&n({dividerTopHeightMobile:e})),"bottom"==o&&("Desktop"==i&&n({dividerBottomHeight:e}),"Tablet"==i&&n({dividerBottomHeightTablet:e}),"Mobile"==i&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==ae&&"cloud"!==ae&&wp.element.createElement(Y,{label:"Invert Shape Divider",checked:de,onChange:function(){"top"==o&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==o&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===p&&wp.element.createElement(le,null,wp.element.createElement(K,{title:H("Responsive")},wp.element.createElement(Y,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return pe(e,"Desktop")}}),wp.element.createElement(Y,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return pe(e,"Tablet")}}),wp.element.createElement(Y,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return pe(e,"Mobile")}}),wp.element.createElement("hr",null),!t.hideTablet&&"collapsedRows"===t.layoutTablet&&wp.element.createElement(Y,{label:"Reverse Columns in Tablet devices?",checked:t.reverseColumnsTablet,onChange:function(e){return me(e,"Tablet")}}),!t.hideMobile&&"collapsedRows"===t.layoutMobile&&wp.element.createElement(Y,{label:"Reverse Columns in Mobile devices?",checked:t.reverseColumnsMobile,onChange:function(e){return me(e,"Mobile")}})),wp.element.createElement(K,{title:H("Section Settings"),initialOpen:!1},wp.element.createElement(ee,{label:H("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(A.a,{value:t.id,onChange:function(e){n({id:e})}}))}));function ie(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ce(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ce(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ce(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var de=wp.i18n.__,pe=wp.blockEditor,me=pe.__experimentalBlockNavigationList,se=pe.BlockControls,ue=wp.components,be=ue.IconButton,ge=ue.Modal,fe=ue.Toolbar,he=wp.compose.compose,ye=wp.data,we=ye.withSelect,ve=ye.withDispatch,ke=wp.element,Te=ke.Fragment,Ee=ke.useState,xe=he(we((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getSelectedBlockClientId;return{block:(0,a.getBlock)(n),selectedBlockClientId:l()}})),ve((function(e){return{selectBlock:e("core/block-editor").selectBlock}})))((function(e){var t=e.block,n=e.selectedBlockClientId,a=e.selectBlock,o=ie(Ee(!1),2),r=o[0],i=o[1];return wp.element.createElement(Te,null,wp.element.createElement(se,null,wp.element.createElement(fe,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement(be,{className:"components-toolbar__control",label:de("Open block navigator"),onClick:function(){return i(!0)},icon:l.l}))),r&&wp.element.createElement(ge,{title:de("Block Navigator"),closeLabel:de("Close"),onRequestClose:function(){return i(!1)}},wp.element.createElement(me,{blocks:[t],selectedBlockClientId:n,selectBlock:a,showNestedBlocks:!0})))})),Ce=n(14),Se=n(26);function Me(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Oe(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Be(e){return function(e){if(Array.isArray(e))return Re(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Oe(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e,t){if(e){if("string"==typeof e)return Re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Re(e,t):void 0}}function Re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ne(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(Object(n),!0).forEach((function(t){Ae(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ae(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=lodash,Ie=ze.isEqual,Pe=ze.times,He=wp.compose.compose,_e=wp.data,De=_e.withDispatch,je=_e.withSelect,Ve=wp.blockEditor,Fe=Ve.__experimentalBlockNavigationList,Ge=Ve.InnerBlocks,We=wp.element,qe=We.Fragment,Ue=We.useEffect,Ze=We.useState,$e=wp.viewport.withViewportMatch,Qe=[],Ke=He(De((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),je((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/edit-post").__experimentalGetPreviewDeviceType;return{sectionBlock:a(n),isViewportAvailable:!!l,isPreviewDesktop:!!l&&"Desktop"===l(),isPreviewTablet:!!l&&"Tablet"===l(),isPreviewMobile:!!l&&"Mobile"===l()}})),$e({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.name,i=e.updateBlockAttributes,d=e.sectionBlock,m=e.isLarger,s=e.isLarge,u=e.isSmall,b=e.isSmaller,g=e.isViewportAvailable,f=e.isPreviewDesktop,h=e.isPreviewTablet,y=e.isPreviewMobile;Ue((function(){w()}),[]);var w=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,i="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(Ie(v.a[o],window.themeisleGutenberg.globalDefaults[o])||(a=Ne({},window.themeisleGutenberg.globalDefaults[o]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==r[e].default&&t[e]!==r[e].default)return delete a[e]})))),n(Ne({},a,{id:i})),Qe.push(i),e.push(i)}else if(Qe.includes(t.id)){var c="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));n({id:c}),Qe.push(c)}else Qe.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=Be(e)},T=Me(Ze("top"),2),E=T[0],x=T[1],S=m&&!s&&u&&!b,M=!m&&!s&&u&&!b,B=!(m||s||u||b);g&&!B&&(S=f,M=h,B=y);var O,R,L,N,A,z,I,P=t.columnsHTMLTag;(S&&(O={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),M&&(O={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),B&&(O={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(R={background:t.backgroundColor}),"image"===t.backgroundType&&(R={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(I="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(R={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(I,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(N={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(N={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(A={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(A={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(z={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(p()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var H,_=Ne({},O,{},R,{},N,{},A,{},z,{alignItems:t.horizontalAlign});("color"===t.backgroundOverlayType&&(L={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(L={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(H="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),L={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(H,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var D=Ne({},L,{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),j={};t.columnsWidth&&(j={maxWidth:t.columnsWidth+"px"});var V=c()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign),{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},{"has-viewport-desktop":S},{"has-viewport-tablet":M},{"has-viewport-mobile":B}),F=function(){var e;return S&&(e=t.dividerTopWidth),M&&(e=t.dividerTopWidthTablet),B&&(e=t.dividerTopWidthMobile),e};F=F();var G=function(){var e;return S&&(e=t.dividerBottomWidth),M&&(e=t.dividerBottomWidthTablet),B&&(e=t.dividerBottomWidthMobile),e};G=G();var W=function(){var e;return S&&(e=t.dividerTopHeight),M&&(e=t.dividerTopHeightTablet),B&&(e=t.dividerTopHeightMobile),e};W=W();var q=function(){var e;return S&&(e=t.dividerBottomHeight),M&&(e=t.dividerBottomHeightTablet),B&&(e=t.dividerBottomHeightMobile),e};q=q();var U;return t.columns?wp.element.createElement(qe,null,Fe&&wp.element.createElement(xe,{clientId:l}),wp.element.createElement(C,{attributes:t,setAttributes:n}),wp.element.createElement(re,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){d.innerBlocks.map((function(n,a){i(n.clientId,{columnWidth:k.a[e][t][a]})}))},dividerViewType:E,setDividerViewType:x}),wp.element.createElement(P,{className:V,id:t.id,style:_},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:D}),wp.element.createElement(Ce.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:F,height:W}),wp.element.createElement("div",{className:"innerblocks-wrap",style:j},wp.element.createElement(Ge,{allowedBlocks:["themeisle-blocks/advanced-columns"],template:(U=t.columns,Pe(U,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:k.a[U][t.layout][e]}]}))),templateLock:"all"})),wp.element.createElement(Ce.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:G,height:q}))):wp.element.createElement(Se.default,{clientId:l,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})})),Je=wp.blockEditor.InnerBlocks,Ye=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),r=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),i=c()(n,"has-".concat(t.columns,"-columns"),l,o,r,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign));return wp.element.createElement(a,{className:i,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(Ce.default,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(Je.Content,null)),wp.element.createElement(Ce.default,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))},Xe=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:Xe("Section"),description:Xe("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:l.g,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:r,supports:{align:["wide","full"],html:!1},deprecated:w,edit:Ke,save:Ye})},function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRight:{type:"number",default:0},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(7),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d=wp.blockEditor.InnerBlocks,p=[{attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t,n,a,l,o,p=e.attributes,m=e.className,s=p.columnsHTMLTag;("color"===p.backgroundType&&(t={background:p.backgroundColor}),"image"===p.backgroundType&&(t={backgroundImage:"url( '".concat(p.backgroundImageURL,"' )"),backgroundAttachment:p.backgroundAttachment,backgroundPosition:p.backgroundPosition,backgroundRepeat:p.backgroundRepeat,backgroundSize:p.backgroundSize}),"gradient"===p.backgroundType)&&(o="linear"===p.backgroundGradientType?"".concat(p.backgroundGradientAngle,"deg"):"at ".concat(p.backgroundGradientPosition),t={background:"".concat(p.backgroundGradientType,"-gradient( ").concat(o,", ").concat(p.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientFirstLocation,"%, ").concat(p.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(p.backgroundGradientSecondLocation,"% )")});"linked"===p.borderType&&(n={borderWidth:"".concat(p.border,"px"),borderStyle:"solid",borderColor:p.borderColor}),"unlinked"===p.borderType&&(n={borderTopWidth:"".concat(p.borderTop,"px"),borderRightWidth:"".concat(p.borderRight,"px"),borderBottomWidth:"".concat(p.borderBottom,"px"),borderLeftWidth:"".concat(p.borderLeft,"px"),borderStyle:"solid",borderColor:p.borderColor}),"linked"===p.borderRadiusType&&(a={borderRadius:"".concat(p.borderRadius,"px")}),"unlinked"===p.borderRadiusType&&(a={borderTopLeftRadius:"".concat(p.borderRadiusTop,"px"),borderTopRightRadius:"".concat(p.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(p.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(p.borderRadiusLeft,"px")}),!0===p.boxShadow&&(l={boxShadow:"".concat(p.boxShadowHorizontal,"px ").concat(p.boxShadowVertical,"px ").concat(p.boxShadowBlur,"px ").concat(p.boxShadowSpread,"px ").concat(r()(p.boxShadowColor?p.boxShadowColor:"#000000",p.boxShadowColorOpacity))});var u=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){c(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},t,{},n,{},a,{},l);return wp.element.createElement(s,{className:m,id:p.id,style:u},wp.element.createElement(d.Content,null))}}],m=n(6),s=n(17),u=n(0),b=n.n(u),g=n(3),f=n(5),h=n(4),y=n(15),w=n(18),v=n(9);function k(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function T(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return E(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return E(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var x=wp.i18n.__,C=wp.blockEditor,S=C.ColorPalette,M=C.InspectorControls,B=C.MediaPlaceholder,O=wp.components,R=O.Button,L=O.Dashicon,N=O.PanelBody,A=O.ToggleControl,z=O.RangeControl,I=O.SelectControl,P=wp.compose.compose,H=wp.data.withSelect,_=wp.element,D=_.Fragment,j=_.useEffect,V=_.useRef,F=_.useState,G=P(H((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected,l=e.clientId,o=e.adjacentBlock,r=e.parentBlock,i=e.updateBlockAttributes,c=e.adjacentBlockClientId,d=e.view;j((function(){if(1<r.innerBlocks.length&&!c){var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),t=r.innerBlocks[e-1];E.current=t.clientId,C.current=t.attributes.columnWidth}}),[]),j((function(){if(1<r.innerBlocks.length)if(c)C.current=o.attributes.columnWidth,E.current=c,u.current=t.columnWidth;else{var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),n=r.innerBlocks[e-1];C.current=n.attributes.columnWidth,E.current=n.clientId,u.current=t.columnWidth}}),[a,t.columnWidth,r.innerBlocks.length]);var p=T(F("layout"),2),m=p[0],s=p[1],u=V(t.columnWidth),E=V(c&&c),C=V(o&&o.attributes.columnWidth),O=function(){var e;return"Desktop"===d&&(e=t.paddingType),"Tablet"===d&&(e=t.paddingTypeTablet),"Mobile"===d&&(e=t.paddingTypeMobile),e};O=O();var P={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},H={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},_={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},G=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},W=function(){var e;return"Desktop"===d&&(e=t.marginType),"Tablet"===d&&(e=t.marginTypeTablet),"Mobile"===d&&(e=t.marginTypeMobile),e};W=W();var q={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},U={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},Z={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},$=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginRight),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginLeft),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},Q=function(){n({backgroundImageID:"",backgroundImageURL:""})},K={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},J=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},Y={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},X=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(M,null,wp.element.createElement(N,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(R,{className:b()("header-tab",{"is-selected":"layout"===m}),onClick:function(){return s("layout")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"editor-table"}),x("Layout"))),wp.element.createElement(R,{className:b()("header-tab",{"is-selected":"style"===m}),onClick:function(){return s("style")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"admin-customizer"}),x("Style"))),wp.element.createElement(R,{className:b()("header-tab",{"is-selected":"advanced"===m}),onClick:function(){return s("advanced")}},wp.element.createElement("span",null,wp.element.createElement(L,{icon:"admin-generic"}),x("Advanced")))),"layout"===m&&wp.element.createElement(D,null,wp.element.createElement(N,{title:x("Spacing")},1<r.innerBlocks.length&&wp.element.createElement(z,{label:x("Column Width"),value:Number(t.columnWidth),onChange:function(e){var t=e||10,a=Number(u.current)-t+Number(C.current);u.current=t,C.current=a,n({columnWidth:t.toFixed(2)}),i(E.current,{columnWidth:a.toFixed(2)})},min:10,max:Number(t.columnWidth)+Number(C.current)-10}),wp.element.createElement(h.a,{label:"Padding"},wp.element.createElement(f.a,{type:O,min:0,max:500,changeType:function(e){"Desktop"===d&&n({paddingType:e}),"Tablet"===d&&n({paddingTypeTablet:e}),"Mobile"===d&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.paddingType?n({padding:a}):n(k({},P[e],a))),"Tablet"===d&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(k({},H[e],a))),"Mobile"===d&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(k({},_[e],a)))},options:[{label:x("Top"),type:"top",value:G("top")},{label:x("Right"),type:"right",value:G("right")},{label:x("Bottom"),type:"bottom",value:G("bottom")},{label:x("Left"),type:"left",value:G("left")}]})),wp.element.createElement(h.a,{label:"Margin"},wp.element.createElement(f.a,{type:W,min:-500,max:500,changeType:function(e){"Desktop"===d&&n({marginType:e}),"Tablet"===d&&n({marginTypeTablet:e}),"Mobile"===d&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.marginType?n({margin:a}):n(k({},q[e],a))),"Tablet"===d&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(k({},U[e],a))),"Mobile"===d&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(k({},Z[e],a)))},options:[{label:x("Top"),type:"top",value:$("top")},{label:x("Right"),type:"right",value:$("right")},{label:x("Bottom"),type:"bottom",value:$("bottom")},{label:x("Left"),type:"left",value:$("left")}]}))))||"style"===m&&wp.element.createElement(D,null,wp.element.createElement(N,{title:x("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(y.default,{label:x("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(g.a,{label:x("Background Color"),colorValue:t.headingColor},wp.element.createElement(S,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(D,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:Q},wp.element.createElement(L,{icon:"trash"}),wp.element.createElement("span",null,x("Remove Image"))))),wp.element.createElement(R,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:Q},x("Change or Remove Image")),wp.element.createElement(v.a,{label:"Background Settings"},wp.element.createElement(I,{label:x("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(I,{label:x("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(I,{label:x("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(I,{label:x("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(B,{icon:"format-image",labels:{title:x("Background Image"),name:x("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(w.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})}})),wp.element.createElement(N,{title:x("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(f.a,{label:x("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(k({},K[e],a))},options:[{label:x("Top"),type:"top",value:J("top")},{label:x("Right"),type:"right",value:J("right")},{label:x("Bottom"),type:"bottom",value:J("bottom")},{label:x("Left"),type:"left",value:J("left")}]}),wp.element.createElement(g.a,{label:x("Border Color"),colorValue:t.borderColor},wp.element.createElement(S,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(f.a,{label:x("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(k({},Y[e],a))},options:[{label:x("Top"),type:"top",value:X("top")},{label:x("Right"),type:"right",value:X("right")},{label:x("Bottom"),type:"bottom",value:X("bottom")},{label:x("Left"),type:"left",value:X("left")}]}),wp.element.createElement(A,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(D,null,wp.element.createElement(g.a,{label:x("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(S,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(v.a,{label:"Shadow Properties"},wp.element.createElement(z,{label:x("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(z,{label:x("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(z,{label:x("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(z,{label:x("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(z,{label:x("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===m&&wp.element.createElement(N,{title:x("Section Settings")},wp.element.createElement(I,{label:x("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))}));function W(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||U(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function q(e){return function(e){if(Array.isArray(e))return Z(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||U(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e,t){if(e){if("string"==typeof e)return Z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Z(e,t):void 0}}function Z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function $(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Q(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$(Object(n),!0).forEach((function(t){K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function K(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J=lodash.isEqual,Y=wp.components.ResizableBox,X=wp.compose.compose,ee=wp.data,te=ee.withDispatch,ne=ee.withSelect,ae=wp.blockEditor.InnerBlocks,le=wp.element,oe=le.Fragment,re=le.useEffect,ie=le.useState,ce=wp.viewport.withViewportMatch,de=[],pe=X(te((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),ne((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getAdjacentBlockClientId,o=a.getBlock,r=a.getBlockRootClientId,i=e("core/edit-post").__experimentalGetPreviewDeviceType,c=o(n),d=l(n),p=o(d),m=r(n);return{adjacentBlockClientId:d,adjacentBlock:p,parentClientId:m,parentBlock:o(m),hasInnerBlocks:!(!c||!c.innerBlocks.length),isViewportAvailable:!!i,isPreviewDesktop:!!i&&"Desktop"===i(),isPreviewTablet:!!i&&"Tablet"===i(),isPreviewMobile:!!i&&"Mobile"===i()}})),ce({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.isSelected,i=e.clientId,c=e.name,d=e.toggleSelection,p=e.updateBlockAttributes,u=e.adjacentBlockClientId,b=e.adjacentBlock,g=e.parentClientId,f=e.parentBlock,h=e.hasInnerBlocks,y=e.isLarger,w=e.isLarge,v=e.isSmall,k=e.isSmaller,T=e.isViewportAvailable,E=e.isPreviewDesktop,x=e.isPreviewTablet,C=e.isPreviewMobile;re((function(){S()}),[]);var S=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(J(m.a[c],window.themeisleGutenberg.globalDefaults[c])||(a=Q({},window.themeisleGutenberg.globalDefaults[c]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(Q({},a,{id:o})),de.push(o),e.push(o)}else if(de.includes(t.id)){var r="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));n({id:r}),de.push(r)}else de.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=q(e)},M=W(ie(0),2),B=M[0],O=M[1],R=W(ie(0),2),L=R[0],N=R[1],A=y&&!w&&v&&!k,z=!y&&!w&&v&&!k,I=!(y||w||v||k);T&&!I&&(A=E,z=x,I=C),void 0===t.columnWidth&&f.innerBlocks.map((function(e,t){if(i===e.clientId){var n=f.attributes.columns,a=f.attributes.layout;p(i,{columnWidth:s.a[n][a][t]})}}));var P=document.getElementById("block-".concat(i));null!==P&&(P.style.flexBasis=A?"".concat(t.columnWidth,"%"):"");var H,_,D,j,V,F,U=t.columnsHTMLTag;(A&&(H={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),z&&(H={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),I&&(H={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(_={background:t.backgroundColor}),"image"===t.backgroundType&&(_={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(F="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(_={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(F,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(D={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(D={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(j={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(j={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(V={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var Z=Q({},H,{},_,{},D,{},j,{},V);return wp.element.createElement(oe,null,wp.element.createElement(G,{attributes:t,setAttributes:n,isSelected:o,clientId:i,adjacentBlock:b,parentBlock:f,updateBlockAttributes:p,adjacentBlockClientId:u}),wp.element.createElement(Y,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!u},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(){var e=document.querySelector("#block-".concat(i," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),n=document.createElement("div"),a=document.createElement("div");n.setAttribute("class","resizable-tooltip resizable-tooltip-left"),n.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),e.appendChild(n),a.setAttribute("class","resizable-tooltip resizable-tooltip-right"),a.innerHTML="".concat(parseFloat(b.attributes.columnWidth).toFixed(0),"%"),e.appendChild(a),O(t.columnWidth),N(b.attributes.columnWidth),d(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(g)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(B)+r,c=L-r,d=document.querySelector(".resizable-tooltip-left"),m=document.querySelector(".resizable-tooltip-right");10<=i&&10<=c&&(d.innerHTML="".concat(i.toFixed(0),"%"),m.innerHTML="".concat(c.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),p(u,{columnWidth:c.toFixed(2)}))},onResizeStop:function(){var e=document.querySelector(".resizable-tooltip-left"),t=document.querySelector(".resizable-tooltip-right");e.parentNode.removeChild(e),t.parentNode.removeChild(t),d(!0)}},wp.element.createElement(U,{className:a,id:t.id,style:Z},wp.element.createElement(ae,{templateLock:!1,renderAppender:!h&&ae.ButtonBlockAppender}))))})),me=wp.blockEditor.InnerBlocks,se=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag;return wp.element.createElement(a,{className:n,id:t.id},wp.element.createElement(me.Content,null))},ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:ue("Section Column"),description:ue("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.f,category:"themeisle-blocks",attributes:l,deprecated:p,supports:{inserter:!1,reusable:!1,html:!1},edit:pe,save:se})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["core/separator",{}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/pricing",{title:p("Pricing"),description:p("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.p,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/service",{title:p("Service"),description:p("Use this Service block to showcase services your website offers."),icon:a.q,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/testimonials",{title:p("Testimonials"),description:p("Display kudos from customers and clients and display them on your website."),icon:a.s,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:d})},,,function(e,t,n){n(38),n(97),n(103),n(98),n(96),n(99),n(94),n(102),n(27),n(101),n(31),n(30),n(15),n(25),n(26),n(14),n(82),n(100),n(95),n(90),n(32),n(33),e.exports=n(34)},function(e,t,n){"use strict";n.r(t);n(39);n.p=window.themeisleGutenberg.packagePath},,,,,,,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,d=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,m=l(),s=a(),u=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(s||g&&u)||m||status||d()}))},function(e,t){var n=wp.data.registerStore,a={viewType:"Desktop"};n("themeisle-gutenberg/data",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_VIEW"===t.type?{viewType:t.viewType}:e},selectors:{getView:function(e){return e.viewType}},actions:{updateView:function(e){return{type:"UPDATE_VIEW",viewType:e}}}})},,function(e,t,n){},,function(e,t,n){},function(e,t){var n=wp.i18n.__,a=wp.richText,l=a.registerFormatType,o=a.toggleFormat,r=wp.blockEditor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,d=wp.element.Fragment,p="themeisle-blocks/mark";l(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,a=e.value,l=e.onChange,r=function(){return l(o(a,{type:p}))};return wp.element.createElement(d,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,function(e,t,n){},function(e,t,n){},,,,,function(e,t,n){},,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(83),n(84),n(30),n(31)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(32),n(33),n(34)},,,,function(e,t,n){"use strict";n.r(t);n(62),n(63);var a=n(2),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(106),c=wp.i18n.__,d=wp.components,p=d.Button,m=d.ExternalLink,s=d.Placeholder,u=d.Spinner,b=d.TextControl,g=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(s,{icon:"admin-site",label:c("Google Maps"),instructions:c("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement("div",{className:"components-placeholder__actions"},wp.element.createElement(b,{type:"text",placeholder:c("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(p,{isLarge:!0,isDefault:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},c("Save"))),wp.element.createElement("div",{className:"components-placeholder__learn-more"},c("You need to activate Maps and Places API.")," ",wp.element.createElement(m,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},c("Need an API key? Get one here.")))):wp.element.createElement(s,{className:"wp-themeisle-block-spinner"},wp.element.createElement(u,null),c("Loading…"))},f=n(12),h=wp.i18n.__,y=wp.components,w=y.BaseControl,v=y.Button,k=y.ExternalLink,T=y.IconButton,E=y.SelectControl,x=y.TextControl,C=y.TextareaControl,S=wp.element.useRef,M=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=S(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(v,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||h("Custom Marker")),wp.element.createElement(T,{icon:"no-alt",label:h("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(w,{label:h("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:h("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,h("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(k,{href:"https://developers.google.com/places/web-service/intro"},h("More info.")))),wp.element.createElement(x,{label:h("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(x,{label:h("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(E,{label:h("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:h("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:h("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:h("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:h("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:h("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(x,{label:h("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(C,{label:h("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function B(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return O(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return O(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var R=wp.i18n.__,L=wp.components.Button,N=wp.element,A=N.Fragment,z=N.useEffect,I=N.useState,P=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;z((function(){!1!==t&&d(t)}),[t]);var i=B(I(null),2),c=i[0],d=i[1],p=function(e){c===e&&(e=null),d(e)};return wp.element.createElement(A,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(M,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:p,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(L,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},R("Add Marker")))},H=wp.i18n.__,_=wp.components,D=_.BaseControl,j=_.Button,V=_.ExternalLink,F=_.PanelBody,G=_.RangeControl,W=_.SelectControl,q=_.TextControl,U=_.ToggleControl,Z=wp.blockEditor.InspectorControls,$=wp.element.useRef,Q=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,d=e.changeMarkerProp,p=e.addMarkerManual,m=e.api,s=e.isSaving,u=e.changeAPI,b=e.saveAPIKey,g=$(null);return wp.element.createElement(Z,null,wp.element.createElement(F,{title:H("Styles"),initialOpen:!1},wp.element.createElement(f.b,{value:t.style,options:[{label:H("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:H("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:H("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:H("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:H("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:H("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(F,{title:H("Location")},wp.element.createElement(D,{label:H("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:H("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,H("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(V,{href:"https://developers.google.com/places/web-service/intro"},H("More info.")))),wp.element.createElement(q,{label:H("Latitude"),type:"text",placeholder:H("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(q,{label:H("Longitude"),type:"text",placeholder:H("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(F,{title:H("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(W,{label:H("Map Type"),value:t.type,options:[{label:H("Road Map"),value:"roadmap"},{label:H("Satellite View"),value:"satellite"},{label:H("Hybrid"),value:"hybrid"},{label:H("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(G,{label:H("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(G,{label:H("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(F,{title:H("Controls"),initialOpen:!1},wp.element.createElement(D,null,H("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(U,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(U,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(U,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(U,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(U,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(F,{title:H("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(P,{markers:t.markers,removeMarker:c,changeMarkerProp:d,addMarker:p,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(F,{title:H("Global Settings"),initialOpen:!1},wp.element.createElement(q,{label:H("Google Maps API Key"),type:"text",placeholder:H("Google Maps API Key"),value:m,className:"components-placeholder__input",onChange:u,help:H("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(j,{isLarge:!0,isDefault:!0,type:"submit",onClick:b,isBusy:s},H("Save API Key"))))};function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Y=wp.i18n.__,X=wp.components,ee=X.BaseControl,te=X.Button,ne=X.ButtonGroup,ae=X.Modal,le=X.SelectControl,oe=X.TextControl,re=X.TextareaControl,ie=wp.element,ce=ie.useEffect,de=ie.useRef,pe=ie.useState,me=ie.Fragment,se=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;ce((function(){d(t.id),s(t.location),g(t.title),y(t.icon),k(t.description),x(t.latitude),M(t.longitude)}),[t]);var r=de(null),i=K(pe(t.id),2),c=i[0],d=i[1],p=K(pe(t.location),2),m=p[0],s=p[1],u=K(pe(t.title),2),b=u[0],g=u[1],f=K(pe(t.icon),2),h=f[0],y=f[1],w=K(pe(t.description),2),v=w[0],k=w[1],T=K(pe(t.latitude),2),E=T[0],x=T[1],C=K(pe(t.longitude),2),S=C[0],M=C[1];return wp.element.createElement(ae,{title:Y("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(me,null,wp.element.createElement(ee,{label:Y("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:Y("Enter a location…"),value:m,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();s(t),x(n),M(a)}))}))},onChange:function(e){return s(e.target.value)},disabled:!a})),wp.element.createElement(oe,{label:Y("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(oe,{label:Y("Longitude"),type:"text",value:S,onChange:M})),wp.element.createElement(oe,{label:Y("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(re,{label:Y("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(le,{label:Y("Map Icon"),value:h||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:Y("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:Y("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:Y("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:Y("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:Y("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:y}),wp.element.createElement(ne,null,wp.element.createElement(te,{isLarge:!0,isPrimary:!0,onClick:function(){return l(m,b,h,v,E,S)}},Y("Add")),wp.element.createElement(te,{isLarge:!0,isDefault:!0,onClick:o},Y("Cancel"))))},ue=wp.i18n.__,be=wp.components.Button,ge=wp.element,fe=ge.Fragment,he=ge.useEffect,ye=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return he((function(){l&&a()}),[l]),wp.element.createElement(fe,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(be,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:ue("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},we={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function ve(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function ke(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Ee(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e){return function(e){if(Array.isArray(e))return xe(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Ee(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ee(e,t){if(e){if("string"==typeof e)return xe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xe(e,t):void 0}}function xe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Ce=wp.i18n.__,Se=wp.components.ResizableBox,Me=wp.element,Be=Me.Fragment,Oe=Me.useEffect,Re=Me.useRef,Le=Me.useState,Ne=[],Ae=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,c=e.toggleSelection;Oe((function(){ee(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,m.current=document.createElement("script"),m.current.type="text/javascript",m.current.async=!0,m.current.defer=!0,m.current.id="themeisle-google-map-api-loading"}),[]),Oe((function(){!1!==x&&void 0!==window.google&&s.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),Oe((function(){b.current=Te(t.markers)}),[t.markers]);var d=Re([]),p=Re(null),m=Re(null),s=Re(null),u=Re(null),b=Re(Te(t.markers)),h=ke(Le(""),2),y=h[0],w=h[1],v=ke(Le(!1),2),k=v[0],T=v[1],E=ke(Le(!1),2),x=E[0],C=E[1],S=ke(Le(!1),2),M=S[0],B=S[1],O=ke(Le(!1),2),R=O[0],L=O[1],N=ke(Le(!0),2),A=N[0],z=N[1],I=ke(Le(!1),2),P=I[0],H=I[1],_=ke(Le(!1),2),D=_[0],j=_[1],V=ke(Le(!1),2),F=V[0],G=V[1],W=ke(Le(!1),2),q=W[0],U=W[1],Z=ke(Le(!1),2),$=Z[0],K=Z[1],J=ke(Le({}),2),Y=J[0],X=J[1],ee=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id){e.next=7;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:Ne.push(a),e.next=15;break;case 7:if(!Ne.includes(t.id)){e.next=14;break}return o="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=11,n({id:o});case 11:Ne.push(o),e.next=15;break;case 14:Ne.push(t.id);case 15:return e.next=17,wp.api.loadPromise.then((function(){p.current=new wp.api.models.Settings}));case 17:!1===Boolean(themeisleGutenberg.mapsAPI)?k||p.current.fetch().then((function(e){w(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),te(e.themeisle_google_map_block_api_key))})):k||(w(themeisleGutenberg.mapsAPI),T(!0),C(!0),te(themeisleGutenberg.mapsAPI));case 18:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){ve(o,a,l,r,i,"next",e)}function i(e){ve(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),te=function(e){window.isMapLoaded||(window.isMapLoaded=!0,m.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",H(!0)},m.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(m.current)),document.getElementById("themeisle-google-map-api")&&H(!0)},ne=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Ce("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){u.current=r,r.open(s.current,e)})),google.maps.event.addListener(r,"domready",(function(){j(t)})),google.maps.event.addListener(r,"closeclick",(function(){j(!1)}))},ae=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:s.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();le(e.id,"latitude",n),le(e.id,"longitude",a)})),d.current.push(l),google.maps.event.addListener(l,"click",(function(){u.current&&u.current.close()})),ne(l,e.id,e.title,e.description)}))},le=function(e,t,a){var l=Te(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ae(l),n({markers:l})},oe=function(e){var t=Te(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),j(!1),0<t.length&&ae(t)},re=function(){for(var e=0;e<d.current.length;e++)d.current[e].setMap(null);d.current=[]},ie=function(){!1===Boolean(themeisleGutenberg.mapsAPI)&&(L(!0),new wp.api.models.Settings({themeisle_google_map_block_api_key:y}).save().then((function(e){var t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),L(!1),C(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,te(e.themeisle_google_map_block_api_key))})))},ce=function(e){n({style:e}),s.current.setOptions({styles:we[e]})};return k&&x?wp.element.createElement(Be,null,wp.element.createElement(f.a,{label:Ce("Block Styles"),value:t.style,options:[{label:Ce("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Ce("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Ce("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Ce("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Ce("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Ce("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(Q,{attributes:t,setAttributes:n,map:s.current,changeStyle:ce,isPlaceAPIAvailable:A,isMarkerOpen:D,setMarkerOpen:j,removeMarker:oe,changeMarkerProp:le,addMarkerManual:function(){var e=Object(i.a)(),t=Ce("Custom Marker"),n=s.current.getCenter(),a=n.lat(),l=n.lng();U(!0),K(!0),X({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:y,isSaving:R,changeAPI:w,saveAPIKey:ie}),q&&wp.element.createElement(se,{marker:Y,isAdvanced:$,isPlaceAPIAvailable:A,close:function(){return U(!1)},addMarker:function(e,a,l,o,r,c){var p=new google.maps.LatLng(r,c),m=Object(i.a)(),b=new google.maps.Marker({position:p,map:s.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();le(m,"latitude",t),le(m,"longitude",n)})),d.current.push(b);var g=Te(t.markers),f={id:m,location:e,title:a,icon:l,description:o,latitude:r,longitude:c};g.push(f),n({markers:g}),google.maps.event.addListener(b,"click",(function(){u.current&&u.current.close()})),ne(b,f.id,a,o),U(!1),G(!1)}}),wp.element.createElement(Se,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){c(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),c(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(ye,{attributes:t,className:a,initMap:function(){if(s.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:we[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&s.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(s.current,"idle",(function(){B(!0)})),s.current.addListener("zoom_changed",(function(){var e=s.current.getZoom();n({zoom:e})})),s.current.addListener("maptypeid_changed",(function(){var e=s.current.getMapTypeId();n({type:e})})),s.current.addListener("bounds_changed",(function(){var e=s.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ae(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(s.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&z(!1)}))},displayMap:P,isMapLoaded:M,selectMarker:function(){G(!F),F?google.maps.event.clearListeners(s.current,"click"):s.current.addListener("click",(function(e){google.maps.event.clearListeners(s.current,"click");var t=Object(i.a)(),n=Ce("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();U(!0),K(!1),X({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:F}))):wp.element.createElement(g,{className:a,api:y,isAPILoaded:k,isAPISaved:x,changeAPI:w,saveAPIKey:ie})},ze=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:ze("Google Map"),description:ze("Display a Google Map on your website with Google Map block."),icon:a.j,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:Ae,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(88),n(89);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},l=n(0),o=n.n(l),r=wp.components,i=r.Path,c=r.SVG,d=wp.element.Fragment,p=function(e){var t=e.attributes;return wp.element.createElement(d,null,!t.hideArrows&&wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))),!t.hideBullets&&wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))},m=wp.blockEditor.RichText,s=[{attributes:{id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!m.isEmpty(e.caption)&&wp.element.createElement(m.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(p,{attributes:t})))}}],u=lodash,b=u.filter,g=u.every,f=wp.blocks.createBlock,h={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=g(e,["align",t])?t:void 0;var n=b(e,(function(e){return e.url}));return f("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return f("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return f("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):f("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return f("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},y=lodash.debounce,w=wp.blockEditor.MediaPlaceholder,v=function(e){var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=y(i,250);return wp.element.createElement(w,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},k=wp.i18n.__,T=lodash.max,E=wp.blockEditor.InspectorControls,x=wp.components,C=x.PanelBody,S=x.RangeControl,M=x.ToggleControl,B=wp.element.Fragment,O=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView;return wp.element.createElement(E,null,wp.element.createElement(C,{title:k("Settings")},t.images.length&&wp.element.createElement(B,null,wp.element.createElement(S,{label:k("Slides Per Page"),help:k("A number of visible slides."),value:t.perView,onChange:l,min:1,max:T([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(B,null,wp.element.createElement(S,{label:k("Gap"),help:k("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(S,{label:k("Peek"),help:k("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(S,{label:k("Height"),help:k("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(M,{label:k("Autoplay"),help:k("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e})}}),t.autoplay&&wp.element.createElement(S,{label:k("Delay"),help:k("Delay in slide change (in seconds)."),value:t.delay,onChange:function(e){n({delay:e})},min:1,max:10}),wp.element.createElement(M,{label:k("Hide Arrows"),help:k("Hide navigation arrows."),checked:t.hideArrows,onChange:function(e){n({hideArrows:e})}}),wp.element.createElement(M,{label:k("Hide Bullets"),help:k("Hide navigation bullets."),checked:t.hideBullets,onChange:function(e){n({hideBullets:e})}}))))};function R(e){return function(e){if(Array.isArray(e))return L(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return L(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return L(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var N=wp.i18n.__,A=lodash.filter,z=wp.blockEditor.RichText,I=wp.components.IconButton,P=wp.element.Fragment,H=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,r=e.isLastItem,i=e.isSelected,c=e.setAttributes,d=e.setSelectedImage,p=function(e,n){var a=R(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),d(n),c({images:a})};return wp.element.createElement("div",{className:o()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":i}),tabIndex:"0",onClick:function(){return d(n.id)},onFocus:function(){return d(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),i&&wp.element.createElement(P,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(I,{icon:"arrow-left-alt2",onClick:l?void 0:function(){0!==a&&p(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:N("Move image backward"),"aria-disabled":l,disabled:!i}),wp.element.createElement(I,{icon:"arrow-right-alt2",onClick:r?void 0:function(){a!==t.length-1&&p(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:N("Move image forward"),"aria-disabled":r,disabled:!i})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(I,{icon:"no-alt",onClick:function(){var e=A(t,(function(e,t){return a!==t}));d(null),c({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete",label:N("Remove image")}))),(i||!z.isEmpty(n.caption))&&wp.element.createElement(z,{tagName:"figcaption",placeholder:i?N("Write caption…"):null,value:n.caption,onChange:function(e){var n=R(t);n[a].caption=e,c({images:n})},multiline:!1})))};function _(e){return function(e){if(Array.isArray(e))return F(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||V(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function j(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||V(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function V(e,t){if(e){if("string"==typeof e)return F(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?F(e,t):void 0}}function F(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var G=wp.i18n.__,W=lodash.max,q=wp.components.ResizableBox,U=wp.element,Z=U.Fragment,$=U.useEffect,Q=U.useRef,K=U.useState,J=[],Y=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,r=e.isSelected,i=e.toggleSelection;$((function(){return b(),function(){t.images.length&&c.current.destroy()}}),[]),$((function(){t.images.length&&(u(null),null!==c.current&&(c.current.destroy(),g()))}),[r,t.align]),$((function(){t.images.length&&t.perView>t.images.length&&h(W([Math.round(t.images.length/2),1]))}),[t.images]);var c=Q(null),d=Q(null),m=j(K(null),2),s=m[0],u=m[1],b=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[],void 0!==t.id){e.next=10;break}return o="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=5,n({id:o});case 5:J.push(o),d.current=o,a.push(o),e.next=21;break;case 10:if(!J.includes(t.id)){e.next=18;break}return r="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=14,n({id:r});case 14:J.push(r),d.current=r,e.next=21;break;case 18:J.push(t.id),d.current=t.id,a.push(t.id);case 21:window.themeisleGutenberg.blockIDs=_(a),t.images.length&&g();case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){D(o,a,l,r,i,"next",e)}function i(e){D(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),g=function(){c.current=new Glide("#".concat(t.id||d.current),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},f=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==c.current&&c.current.destroy(),g()},h=function(e){n({perView:Number(e)}),c.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),c.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(v,{labels:{title:G("Slider"),instructions:G("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:f}):wp.element.createElement(Z,null,wp.element.createElement(O,{attributes:t,setAttributes:n,slider:c.current,changePerView:h}),wp.element.createElement(q,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:o()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":r})},wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(H,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:r&&e.id===s,setAttributes:n,setSelectedImage:u})}))),wp.element.createElement(p,{attributes:t})))),r&&wp.element.createElement(v,{labels:{title:"",instructions:""},icon:null,onSelectImages:f,isAppender:!0,value:t.images}))},X=wp.blockEditor.RichText,ee=function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px")},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!X.isEmpty(e.caption)&&wp.element.createElement(X.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(p,{attributes:t})))},te=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:te("Slider"),description:te("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,deprecated:s,transforms:h,supports:{align:["wide","full"]},edit:Y,save:ee})},function(e,t,n){"use strict";n.r(t);n(57),n(58);var a=n(2),l={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}},o=n(0),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=lodash.times,m=wp.editor.RichText,s=wp.element.Fragment,u=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,a=t.buttons,l=t.align,o=t.collapse,i=t.fontSize,d=t.fontFamily,u=t.fontStyle,b=t.fontVariant,g=t.textTransform,f=t.lineHeight,h=t.data,y={fontSize:"".concat(i,"px"),fontFamily:d,fontWeight:b,fontStyle:u,textTransform:g,lineHeight:f&&"".concat(f,"px")},w="collapse-none"!==o?o:"";return wp.element.createElement("div",{id:n,className:r()(e.className,w),style:{justifyContent:l,alignItems:l||"flex-start"}},p(a,(function(e){return function(e){var t=c({},y,{borderWidth:"".concat(h[e].borderSize,"px"),borderRadius:"".concat(h[e].borderRadius,"px"),padding:"".concat(h[e].paddingTopBottom,"px ").concat(h[e].paddingLeftRight,"px")});return wp.element.createElement(s,null,wp.element.createElement("a",{href:h[e].link,target:h[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===h[e].iconType||"only"===h[e].iconType)&&wp.element.createElement("i",{className:r()(h[e].prefix,"fa-fw","fa-".concat(h[e].icon),{"margin-right":"left"===h[e].iconType})}),"only"!==h[e].iconType&&wp.element.createElement(m.Content,{tagName:"span",value:h[e].text}),"right"===h[e].iconType&&wp.element.createElement("i",{className:"".concat(h[e].prefix," fa-fw fa-").concat(h[e].icon," margin-left")})))}(e)})))}},{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"",l={fontSize:"".concat(t.fontSize,"px"),fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px")};return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},p(t.buttons,(function(e){return function(e){var n=c({},l,{borderWidth:"".concat(t.data[e].borderSize,"px"),borderRadius:"".concat(t.data[e].borderRadius,"px"),padding:"".concat(t.data[e].paddingTopBottom,"px ").concat(t.data[e].paddingLeftRight,"px")});return wp.element.createElement(s,null,wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:n,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(m.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")})))}(e)})))}}],b=n(19),g=n.n(b),f=n(6),h=n(10),y=wp.i18n.__,w=wp.components,v=w.Dropdown,k=w.IconButton,T=w.RangeControl,E=w.Toolbar,x=wp.blockEditor,C=x.AlignmentToolbar,S=x.BlockControls,M=wp.element.Fragment,B=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontSize,l=e.changeFontFamily,o=e.changeFontVariant,r=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight;return wp.element.createElement(S,null,wp.element.createElement(C,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:y("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:y("Align center"),align:"center"},{icon:"editor-alignright",title:y("Align right"),align:"flex-end"}]}),wp.element.createElement(E,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(v,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:y("Typography Settings"),tooltip:y("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(M,null,wp.element.createElement(T,{label:y("Font Size"),value:t.fontSize,onChange:a,min:0,max:50}),wp.element.createElement(h.a,{label:y("Font Family"),value:t.fontFamily,onChangeFontFamily:l,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:o,valueStyle:t.fontStyle,onChangeFontStyle:r,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(T,{label:y("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}))}})))},O=n(8),R=n(3),L=n(9),N=n(21),A=n(5);function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var H=wp.i18n.__,_=lodash.times,D=wp.components,j=D.BaseControl,V=D.Button,F=D.ButtonGroup,G=D.Dashicon,W=D.Dropdown,q=D.MenuGroup,U=D.MenuItem,Z=D.Icon,$=D.PanelBody,Q=D.Placeholder,K=D.RangeControl,J=D.SelectControl,Y=D.Spinner,X=D.ToggleControl,ee=wp.blockEditor,te=ee.ColorPalette,ne=ee.InspectorControls,ae=wp.element,le=ae.Fragment,oe=ae.useState,re=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,108))})),ie=function(e){var t=e.attributes,n=e.setAttributes,l=e.selectedButton,o=e.wait,i=e.changeButtons,c=e.changeButton,d=e.updateButton,p=e.changeFontSize,m=e.changeFontFamily,s=e.changeFontVariant,u=e.changeFontStyle,b=e.changeTextTransform,g=e.changeLineHeight,f=I(oe("buttons"),2),y=f[0],w=f[1],v=I(oe(!1),2),k=v[0],T=v[1];return wp.element.createElement(ne,null,wp.element.createElement($,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(V,{className:r()("header-tab",{"is-selected":"buttons"===y}),onClick:function(){return w("buttons")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:a.d}),H("Buttons"))),wp.element.createElement(V,{className:r()("header-tab",{"is-selected":"group"===y}),onClick:function(){return w("group")}},wp.element.createElement("span",null,wp.element.createElement(G,{icon:"admin-generic"}),H("Group Settings")))),"buttons"===y&&wp.element.createElement(le,null,wp.element.createElement($,{opened:!0},wp.element.createElement(K,{label:H("Number of Buttons"),value:t.buttons,onChange:i,min:1,max:5}),wp.element.createElement(j,{label:H("Edit Button"),className:"wp-block-themeisle-blocks-select-button-container"},wp.element.createElement(W,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(V,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:a,"aria-expanded":n},H("Button")+" "+(l+1)+": "+Object(O.b)(t.data[l].text))},renderContent:function(e){var n=e.onToggle;return wp.element.createElement(q,null,_(t.buttons,(function(e){return wp.element.createElement(U,{onClick:function(){c(e),n()}},H("Button")+" "+(e+1)+": "+Object(O.b)(t.data[e].text))})))}}))),o?wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null)):wp.element.createElement(le,null,wp.element.createElement($,{title:H("Link")},wp.element.createElement(N.a,{label:"Link",placeholder:H("https://…"),value:t.data[l].link,onChange:function(e){return d({link:e},l)}},wp.element.createElement(X,{label:"Open in New Tab?",checked:t.data[l].newTab,onChange:function(){return d({newTab:!t.data[l].newTab},l)}}))),wp.element.createElement($,{title:H("Color & Border"),initialOpen:!1},wp.element.createElement(F,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(V,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},H("Normal")),wp.element.createElement(V,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},H("Hover"))),k?wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Color",colorValue:t.data[l].hoverColor},wp.element.createElement(te,{label:"Hover Color",value:t.data[l].hoverColor,onChange:function(e){return d({hoverColor:e},l)}})),wp.element.createElement(R.a,{label:"Hover Background",colorValue:t.data[l].hoverBackground},wp.element.createElement(te,{label:"Hover Background",value:t.data[l].hoverBackground,onChange:function(e){return d({hoverBackground:e},l)}})),wp.element.createElement(R.a,{label:"Hover Border",colorValue:t.data[l].hoverBorder},wp.element.createElement(te,{label:"Hover Border",value:t.data[l].hoverBorder,onChange:function(e){return d({hoverBorder:e},l)}}))):wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Color",colorValue:t.data[l].color},wp.element.createElement(te,{label:"Color",value:t.data[l].color,onChange:function(e){return d({color:e},l)}})),wp.element.createElement(R.a,{label:"Background",colorValue:t.data[l].background},wp.element.createElement(te,{label:"Background",value:t.data[l].background,onChange:function(e){return d({background:e},l)}})),wp.element.createElement(R.a,{label:"Border",colorValue:t.data[l].border},wp.element.createElement(te,{label:"Border",value:t.data[l].border,onChange:function(e){return d({border:e},l)}}))),wp.element.createElement(K,{label:H("Border Width"),className:"border-width",value:t.data[l].borderSize,onChange:function(e){return d({borderSize:e},l)},min:0,max:10}),wp.element.createElement(K,{label:H("Border Radius"),value:t.data[l].borderRadius,onChange:function(e){return d({borderRadius:e},l)},min:0,max:100})),wp.element.createElement($,{title:H("Box Shadow"),initialOpen:!1},wp.element.createElement(X,{label:"Box Shadow",checked:t.data[l].boxShadow,onChange:function(){return d({boxShadow:!t.data[l].boxShadow},l)}}),t.data[l].boxShadow&&wp.element.createElement(le,null,wp.element.createElement(F,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(V,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},H("Normal")),wp.element.createElement(V,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},H("Hover"))),!k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Shadow Color",colorValue:t.data[l].boxShadowColor},wp.element.createElement(te,{label:"Shadow Color",value:t.data[l].boxShadowColor,onChange:function(e){return d({boxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(K,{label:H("Opacity"),value:t.data[l].boxShadowColorOpacity,onChange:function(e){return d({boxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Blur"),value:t.data[l].boxShadowBlur,onChange:function(e){return d({boxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Spread"),value:t.data[l].boxShadowSpread,onChange:function(e){return d({boxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Horizontal"),value:t.data[l].boxShadowHorizontal,onChange:function(e){return d({boxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Vertical"),value:t.data[l].boxShadowVertical,onChange:function(e){return d({boxShadowVertical:e},l)},min:-100,max:100})))||k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Shadow Color",colorValue:t.data[l].hoverBoxShadowColor},wp.element.createElement(te,{label:"Hover Shadow Color",value:t.data[l].hoverBoxShadowColor,onChange:function(e){return d({hoverBoxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Hover Shadow Properties"},wp.element.createElement(K,{label:H("Opacity"),value:t.data[l].hoverBoxShadowColorOpacity,onChange:function(e){return d({hoverBoxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Blur"),value:t.data[l].hoverBoxShadowBlur,onChange:function(e){return d({hoverBoxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Spread"),value:t.data[l].hoverBoxShadowSpread,onChange:function(e){return d({hoverBoxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Horizontal"),value:t.data[l].hoverBoxShadowHorizontal,onChange:function(e){return d({hoverBoxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Vertical"),value:t.data[l].hoverBoxShadowVertical,onChange:function(e){return d({hoverBoxShadowVertical:e},l)},min:-100,max:100}))))),wp.element.createElement($,{title:H("Icon Settings"),initialOpen:!1},wp.element.createElement(J,{label:H("Icon Position"),value:t.data[l].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return d({iconType:e},l)}}),"none"!==t.data[l].iconType&&wp.element.createElement(le,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null))},wp.element.createElement(re,{label:H("Icon Picker"),prefix:t.data[l].prefix,icon:t.data[l].icon,onChange:function(e){"object"===z(e)?d({icon:e.name,prefix:e.prefix},l):d({icon:e},l)}})))),wp.element.createElement($,{title:H("Spacing"),initialOpen:!1},wp.element.createElement(A.a,{label:H("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||d({paddingTopBottom:t},n),"left"!==e&&"right"!==e||d({paddingLeftRight:t},n)}(e,t,l)},options:[{label:H("Top"),type:"top",value:t.data[l].paddingTopBottom},{label:H("Right"),type:"right",value:t.data[l].paddingLeftRight},{label:H("Bottom"),type:"bottom",value:t.data[l].paddingTopBottom},{label:H("Left"),type:"left",value:t.data[l].paddingLeftRight}]}))))||"group"===y&&wp.element.createElement(le,null,wp.element.createElement($,{title:H("Spacing")},wp.element.createElement(K,{label:H("Spacing"),value:t.spacing,onChange:function(e){n({spacing:e})},min:0,max:50}),wp.element.createElement(J,{label:H("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){n({collapse:e})}})),wp.element.createElement($,{title:H("Typography Settings"),initialOpen:!1},wp.element.createElement(K,{label:H("Font Size"),value:t.fontSize,onChange:p,min:0,max:50}),wp.element.createElement(h.a,{label:H("Font Family"),value:t.fontFamily,onChangeFontFamily:m,valueVariant:t.fontVariant,onChangeFontVariant:s,valueStyle:t.fontStyle,onChangeFontStyle:u,valueTransform:t.textTransform,onChangeTextTransform:b}),wp.element.createElement(K,{label:H("Line Height"),value:t.lineHeight,onChange:g,min:0,max:200}))))},ce=n(7),de=n.n(ce);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function se(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return ue(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ue(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ue(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var be=wp.i18n.__,ge=wp.blockEditor.RichText,fe=wp.element,he=fe.Fragment,ye=fe.useState,we=function(e){var t=e.index,n=e.attributes,a=e.changeButton,l=e.updateButton,o=se(ye((function(){return 0===t})),2),i=o[0],c=o[1],d={};n.data[t].boxShadow&&(d={boxShadow:"".concat(n.data[t].boxShadowHorizontal,"px ").concat(n.data[t].boxShadowVertical,"px ").concat(n.data[t].boxShadowBlur,"px ").concat(n.data[t].boxShadowSpread,"px ").concat(de()(n.data[t].boxShadowColor?n.data[t].boxShadowColor:"#000000",n.data[t].boxShadowColorOpacity))});var p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),color:n.data[t].color,background:n.data[t].background,border:"".concat(n.data[t].borderSize,"px solid ").concat(n.data[t].border),borderRadius:"".concat(n.data[t].borderRadius,"px"),paddingTop:"".concat(n.data[t].paddingTopBottom,"px"),paddingBottom:"".concat(n.data[t].paddingTopBottom,"px"),paddingLeft:"".concat(n.data[t].paddingLeftRight,"px"),paddingRight:"".concat(n.data[t].paddingLeftRight,"px"),marginLeft:0===t?"0px":"".concat(n.spacing/2,"px"),marginRight:n.buttons===t+1?"0px":"".concat(n.spacing/2,"px")},d);return wp.element.createElement(he,null,wp.element.createElement("style",null,"#".concat(n.id," .wp-block-themeisle-blocks-button-").concat(t,":hover {\n\t\t\t\t\tcolor: ").concat(n.data[t].hoverColor?n.data[t].hoverColor:n.data[t].color," !important;\n\t\t\t\t\tbackground: ").concat(n.data[t].hoverBackground?n.data[t].hoverBackground:n.data[t].background," !important;\n\t\t\t\t\tborder: ").concat(n.data[t].borderSize,"px solid ").concat(n.data[t].hoverBorder?n.data[t].hoverBorder:n.data[t].border," !important;\n\t\t\t\t\t").concat(n.data[t].boxShadow?"box-shadow: ".concat(n.data[t].hoverBoxShadowHorizontal,"px ").concat(n.data[t].hoverBoxShadowVertical,"px ").concat(n.data[t].hoverBoxShadowBlur,"px ").concat(n.data[t].hoverBoxShadowSpread,"px ").concat(de()(n.data[t].hoverBoxShadowColor?n.data[t].hoverBoxShadowColor:"#000000",n.data[t].hoverBoxShadowColorOpacity)," !important;"):"","\n\t\t\t\t}")),wp.element.createElement("div",{style:p,className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),onClick:function(){c(!0),a(t)},onBlur:function(){return c(!1)}},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(ge,{placeholder:be("Add text…"),value:n.data[t].text,onChange:function(e){return l({text:e},t)},tagName:"div",keepPlaceholderOnFocus:i,withoutInteractiveFormatting:!0}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))};function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e){return function(e){if(Array.isArray(e))return Ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(n):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=wp.i18n.__,Be=lodash,Oe=Be.isEqual,Re=Be.omit,Le=Be.pick,Ne=Be.times,Ae=wp.components.IconButton,ze=wp.element,Ie=ze.Fragment,Pe=ze.useEffect,He=ze.useState,_e=[],De=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.name,i=e.isSelected,c=e.clientId;Pe((function(){d()}),[]);var d=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));if(void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&!Oe(f.a[o],window.themeisleGutenberg.globalDefaults[o])){a=Re(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),Object.keys(a).map((function(e){if(t[e]!==a[e]&&(void 0!==l[e].default||void 0!==l[e].default&&t[e]!==l[e].default))return delete a[e]}));var i=Le(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),d=[];t.data.forEach((function(e,t){var n=Ce({},i.data);Object.keys(n).map((function(a){if(e[a]!==n[a]&&(void 0===l.data.default[t][a]||void 0!==l.data.default[t][a]&&e[a]!==l.data.default[t][a]))return delete n[a]})),d.push(Ce({},e,{},n))})),Oe(d,t.data)||(a.data=d)}n(Ce({},a,{id:r})),_e.push(r),e.push(r)}else if(_e.includes(t.id)){var p="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));n({id:p}),_e.push(p)}else _e.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=ke(e)},p=ve(He(0),2),m=p[0],s=p[1],u=ve(He(!1),2),b=u[0],h=u[1],y=function(e){s(e),h(!0),setTimeout((function(){h(!1)}),500)},w=function(e){if(1<=e&&5>=e){if(t.data.length<e){var a=ke(t.data);Ne(e-t.data.length,(function(){a.push({text:t.data[0].text,link:t.data[0].link,newTab:t.data[0].newTab,color:t.data[0].color,border:t.data[0].border,background:t.data[0].background,hoverColor:t.data[0].hoverColor,hoverBackground:t.data[0].hoverBackground,hoverBorder:t.data[0].hoverBorder,borderSize:t.data[0].borderSize,borderRadius:t.data[0].borderRadius,boxShadow:t.data[0].boxShadow,boxShadowColor:t.data[0].boxShadowColor,boxShadowColorOpacity:t.data[0].boxShadowColorOpacity,boxShadowBlur:t.data[0].boxShadowBlur,boxShadowSpread:t.data[0].boxShadowSpread,boxShadowHorizontal:t.data[0].boxShadowHorizontal,boxShadowVertical:t.data[0].boxShadowVertical,hoverBoxShadowColor:t.data[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:t.data[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:t.data[0].hoverBoxShadowBlur,hoverBoxShadowSpread:t.data[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:t.data[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:t.data[0].hoverBoxShadowVertical,iconType:t.data[0].iconType,prefix:t.data[0].prefix,icon:t.data[0].icon,paddingTopBottom:t.data[0].paddingTopBottom,paddingLeftRight:t.data[0].paddingLeftRight})})),n({data:a})}n({buttons:e}),s(0)}},v=function(e){n({fontSize:e})},k=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},T=function(e){n({fontVariant:e})},E=function(e){n({fontStyle:e})},x=function(e){n({textTransform:e})},C=function(e){n({lineHeight:e})},S=function(e,a){var l=t.data.map((function(t,n){return a===n&&(t=Ce({},t,{},e)),t}));n({data:l})},M="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement(Ie,null,t.fontFamily&&wp.element.createElement(g.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(B,{attributes:t,setAttributes:n,changeFontSize:v,changeFontFamily:k,changeFontVariant:T,changeFontStyle:E,changeTextTransform:x,changeLineHeight:C}),wp.element.createElement(ie,{attributes:t,setAttributes:n,selectedButton:m,wait:b,changeButtons:w,changeButton:y,updateButton:S,changeFontSize:v,changeFontFamily:k,changeFontVariant:T,changeFontStyle:E,changeTextTransform:x,changeLineHeight:C}),wp.element.createElement("div",{id:t.id,className:r()(a,M,"wp-block-button"),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},Ne(t.buttons,(function(e){return wp.element.createElement(we,{index:e,attributes:t,isSelected:i,changeButton:y,updateButton:S})})),i&&4>=t.buttons&&wp.element.createElement(Ae,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return w(t.buttons+1)},label:Me("Add Button")})))},je=wp.blockEditor.RichText,Ve=wp.element.Fragment,Fe=function(e){var t=e.index,n=e.attributes;return wp.element.createElement(Ve,null,wp.element.createElement("a",{href:n.data[t].link,target:n.data[t].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),rel:"noopener noreferrer"},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(je.Content,{tagName:"span",value:n.data[t].text}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))},Ge=lodash.times,We=function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse&&t.collapse;return wp.element.createElement("div",{id:t.id,className:r()(n,a,"wp-block-button")},Ge(t.buttons,(function(e){return wp.element.createElement(Fe,{index:e,attributes:t})})))},qe=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:qe("Button Group"),description:qe("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[qe("buttons"),qe("button group"),qe("advanced buttons")],attributes:l,deprecated:u,edit:De,save:We})},function(e,t,n){"use strict";n.r(t);n(40);var a=n(2);n(41);function l(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var r=e.apply(t,n);function i(e){l(r,a,o,i,c,"next",e)}function c(e){l(r,a,o,i,c,"throw",e)}i(void 0)}))}}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.blocks.getBlockType,p=wp.components,m=p.Button,s=p.Icon,u=p.Modal,b=wp.element,g=b.Fragment,f=b.useState,h=function(e){var t=e.blockName,n=e.saveConfig,a=e.resetConfig,l=e.children,i=d(t),p=r(f(!1),2),b=p[0],h=p[1],y=r(f(!1),2),w=y[0],v=y[1];return i?wp.element.createElement(g,null,wp.element.createElement(m,{className:"wp-block-themeisle-blocks-options-global-defaults-list-item block-editor-block-types-list__item",onClick:function(){return h(!0)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-icon"},wp.element.createElement(s,{icon:i.icon.src})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-title"},i.title)),b&&wp.element.createElement(u,{title:i.title,onRequestClose:function(){return h(!1)},shouldCloseOnClickOutside:!1,overlayClassName:"wp-block-themeisle-blocks-options-global-defaults-modal"},l,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions"},wp.element.createElement(m,{isLink:!0,isDestructive:!0,onClick:function(){return a(t)}},c("Reset")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions-primary"},wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:function(){return h(!1)}},c("Close")),wp.element.createElement(m,{isPrimary:!0,isLarge:!0,isBusy:w,onClick:o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,n();case 3:v(!1);case 4:case"end":return e.stop()}}),e)})))},c("Save")))))):null},y=n(3),w=n(10),v=n(4),k=n(5);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.i18n.__,x=wp.blockEditor.ColorPalette,C=wp.components,S=C.PanelBody,M=C.RangeControl,B=C.SelectControl,O=wp.compose.compose,R=wp.data.withSelect,L=wp.element.Fragment,N=O(R((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=e.view,o=function(){var e;return"Desktop"===l&&(e=n.fontSize),"Tablet"===l&&(e=n.fontSizeTablet),"Mobile"===l&&(e=n.fontSizeMobile),e};o=o();var r=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};m=m();var s={top:"marginTop",bottom:"marginBottom"},u={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t};return wp.element.createElement(L,null,wp.element.createElement(S,{title:E("General Settings")},wp.element.createElement(B,{label:E("HTML Tag"),value:n.tag,options:[{label:E("Heading 1"),value:"h1"},{label:E("Heading 2"),value:"h2"},{label:E("Heading 3"),value:"h3"},{label:E("Heading 4"),value:"h4"},{label:E("Heading 5"),value:"h5"},{label:E("Heading 6"),value:"h6"},{label:E("Division"),value:"div"},{label:E("Paragraph"),value:"p"},{label:E("Span"),value:"span"}],onChange:function(e){return a(t,{tag:e})}}),wp.element.createElement(y.a,{label:"Heading Color",colorValue:n.headingColor},wp.element.createElement(x,{value:n.headingColor,onChange:function(e){return a(t,{headingColor:e})}})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Font Size"},wp.element.createElement(M,{value:o||"",onChange:function(e){"Desktop"===l&&a(t,{fontSize:e}),"Tablet"===l&&a(t,{fontSizeTablet:e}),"Mobile"===l&&a(t,{fontSizeMobile:e})},min:1,max:500}))),wp.element.createElement(S,{title:E("Typography Settings"),initialOpen:!1},wp.element.createElement(w.a,{label:E("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Letter Spacing"),value:n.letterSpacing||"",onChange:function(e){return a(t,{letterSpacing:e})},min:-50,max:100})),wp.element.createElement(S,{title:E("Spacing"),initialOpen:!1},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,T({},i[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,T({},c[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,T({},d[e],o)))},options:[{label:E("Top"),type:"top",value:p("top")},{label:E("Right"),type:"right",value:p("right")},{label:E("Bottom"),type:"bottom",value:p("bottom")},{label:E("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,T({},s[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,T({},u[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,T({},b[e],o)))},options:[{label:E("Top"),type:"top",value:g("top")},{label:E("Right"),disabled:!0},{label:E("Bottom"),type:"bottom",value:g("bottom")},{label:E("Left"),disabled:!0}]}))))}));function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return z(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return z(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function z(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var I=wp.i18n.__,P=lodash.cloneDeep,H=wp.components,_=H.Button,D=H.ButtonGroup,j=H.PanelBody,V=H.RangeControl,F=H.SelectControl,G=wp.blockEditor.ColorPalette,W=wp.element,q=W.Fragment,U=W.useState,Z=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=A(U(!1),2),o=l[0],r=l[1],i=function(e,l){var o=P(n.data);o[e]=l,a(t,{data:o})};return wp.element.createElement(q,null,wp.element.createElement(j,{title:I("Color & Border")},wp.element.createElement(D,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(_,{isDefault:!0,isLarge:!0,isPrimary:!o,onClick:function(){return r(!1)}},I("Normal")),wp.element.createElement(_,{isDefault:!0,isLarge:!0,isPrimary:o,onClick:function(){return r(!0)}},I("Hover"))),o?wp.element.createElement(q,null,wp.element.createElement(y.a,{label:"Hover Color",colorValue:n.data.hoverColor},wp.element.createElement(G,{label:"Hover Color",value:n.data.hoverColor,onChange:function(e){return i("hoverColor",e)}})),wp.element.createElement("hr",null),wp.element.createElement(y.a,{label:"Hover Background",colorValue:n.data.hoverBackground},wp.element.createElement(G,{label:"Hover Background",value:n.data.hoverBackground,onChange:function(e){return i("hoverBackground",e)}})),wp.element.createElement("hr",null),wp.element.createElement(y.a,{label:"Hover Border",colorValue:n.data.hoverBorder},wp.element.createElement(G,{label:"Hover Border",value:n.data.hoverBorder,onChange:function(e){return i("hoverBorder",e)}}))):wp.element.createElement(q,null,wp.element.createElement(y.a,{label:"Color",colorValue:n.data.color},wp.element.createElement(G,{label:"Color",value:n.data.color,onChange:function(e){return i("color",e)}})),wp.element.createElement("hr",null),wp.element.createElement(y.a,{label:"Background",colorValue:n.data.background},wp.element.createElement(G,{label:"Background",value:n.data.background,onChange:function(e){return i("background",e)}})),wp.element.createElement("hr",null),wp.element.createElement(y.a,{label:"Border",colorValue:n.data.border},wp.element.createElement(G,{label:"Border",value:n.data.border,onChange:function(e){return i("border",e)}}))),wp.element.createElement("hr",null),wp.element.createElement(V,{label:I("Border Size"),value:n.data.borderSize||"",onChange:function(e){return i("borderSize",e)},min:0,max:10}),wp.element.createElement("hr",null),wp.element.createElement(V,{label:I("Border Radius"),value:n.data.borderRadius||"",onChange:function(e){return i("borderRadius",e)},min:0,max:100})),wp.element.createElement(j,{title:I("Spacing"),initialOpen:!1},wp.element.createElement(k.a,{label:I("Button Padding"),min:0,max:100,onChange:i,options:[{label:I("Top"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:I("Right"),type:"paddingLeftRight",value:n.data.paddingLeftRight},{label:I("Bottom"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:I("Left"),type:"paddingLeftRight",value:n.data.paddingLeftRight}]}),wp.element.createElement("hr",null),wp.element.createElement(V,{label:I("Group Spacing"),value:n.spacing,onChange:function(e){return a(t,{spacing:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(F,{label:I("Collapse On"),value:n.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){return a(t,{collapse:e})}})),wp.element.createElement(j,{title:I("Typography Settings"),initialOpen:!1},wp.element.createElement(V,{label:I("Font Size"),value:n.fontSize||"",onChange:function(e){return a(t,{fontSize:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(w.a,{label:I("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(V,{label:I("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200})))};function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var K=wp.i18n.__,J=wp.components,Y=J.Button,X=J.ButtonGroup,ee=J.PanelBody,te=J.RangeControl,ne=wp.blockEditor,ae=ne.ColorPalette,le=ne.ContrastChecker,oe=wp.element,re=oe.Fragment,ie=oe.useState,ce=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=$(ie(!1),2),o=l[0],r=l[1];return wp.element.createElement(re,null,wp.element.createElement(ee,{title:K("Sizing")},wp.element.createElement(te,{label:K("Icon Size"),value:n.fontSize||"",initialPosition:16,onChange:function(e){return a(t,{fontSize:e})},min:12,max:140}),wp.element.createElement("hr",null),wp.element.createElement(te,{label:K("Padding"),value:n.padding||"",initialPosition:5,onChange:function(e){return a(t,{padding:e})},min:0,max:100}),wp.element.createElement("hr",null),wp.element.createElement(te,{label:K("Margin"),value:n.margin||"",initialPosition:5,onChange:function(e){return a(t,{margin:e})},min:0,max:100})),wp.element.createElement(ee,{title:K("Color"),initialOpen:!1},wp.element.createElement(X,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(Y,{isDefault:!0,isLarge:!0,isPrimary:!o,onClick:function(){return r(!1)}},K("Normal")),wp.element.createElement(Y,{isDefault:!0,isLarge:!0,isPrimary:o,onClick:function(){return r(!0)}},K("Hover"))),o?wp.element.createElement(re,null,wp.element.createElement(y.a,{label:"Hover Background",colorValue:n.backgroundColorHover},wp.element.createElement(ae,{label:"Hover Background",value:n.backgroundColorHover,onChange:function(e){return a(t,{backgroundColorHover:e})}})),wp.element.createElement(y.a,{label:"Hover Icon",colorValue:n.textColorHover},wp.element.createElement(ae,{label:"Hover Icon",value:n.textColorHover,onChange:function(e){return a(t,{textColorHover:e})}})),wp.element.createElement(le,{textColor:n.textColorHover,backgroundColor:n.backgroundColorHover})):wp.element.createElement(re,null,wp.element.createElement(y.a,{label:"Background",colorValue:n.backgroundColor},wp.element.createElement(ae,{label:"Background",value:n.backgroundColor,onChange:function(e){return a(t,{backgroundColor:e})}})),wp.element.createElement(y.a,{label:"Icon",colorValue:n.textColor},wp.element.createElement(ae,{label:"Icon",value:n.textColor,onChange:function(e){return a(t,{textColor:e})}})),wp.element.createElement(le,{textColor:n.textColor,backgroundColor:n.backgroundColor}))))};function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=wp.i18n.__,me=wp.components,se=me.BaseControl,ue=me.Button,be=me.ButtonGroup,ge=me.Icon,fe=me.IconButton,he=me.PanelBody,ye=me.RangeControl,we=me.SelectControl,ve=me.ToggleControl,ke=me.Tooltip,Te=wp.compose.compose,Ee=wp.data.withSelect,xe=wp.element.Fragment,Ce=Te(Ee((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,l=e.changeConfig,o=e.view,r=function(){var e;return"Desktop"===o&&(e=n.paddingType),"Tablet"===o&&(e=n.paddingTypeTablet),"Mobile"===o&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===o&&(e=n.marginType),"Tablet"===o&&(e=n.marginTypeTablet),"Mobile"===o&&(e=n.marginTypeMobile),e};m=m();var s={top:"marginTop",bottom:"marginBottom"},u={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t},f=function(e){if(n.horizontalAlign===e)return l(t,{horizontalAlign:"unset"});l(t,{horizontalAlign:e})},h=function(){var e;return"Desktop"===o&&(e=n.columnsHeightCustom),"Tablet"===o&&(e=n.columnsHeightCustomTablet),"Mobile"===o&&(e=n.columnsHeightCustomMobile),e};h=h();var y=function(e){if(n.verticalAlign===e)return l(t,{verticalAlign:"unset"});l(t,{verticalAlign:e})};return wp.element.createElement(xe,null,wp.element.createElement(he,{title:pe("Sizing")},wp.element.createElement(we,{label:pe("Columns Gap"),value:n.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){return l(t,{columnsGap:e})}}),wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===o&&l(t,{paddingType:e}),"Tablet"===o&&l(t,{paddingTypeTablet:e}),"Mobile"===o&&l(t,{paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.paddingType?l(t,{padding:a}):l(t,de({},i[e],a))),"Tablet"===o&&("linked"===n.paddingTypeTablet?l(t,{paddingTablet:a}):l(t,de({},c[e],a))),"Mobile"===o&&("linked"===n.paddingTypeMobile?l(t,{paddingMobile:a}):l(t,de({},d[e],a)))},options:[{label:pe("Top"),type:"top",value:p("top")},{label:pe("Right"),type:"right",value:p("right")},{label:pe("Bottom"),type:"bottom",value:p("bottom")},{label:pe("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===o&&l(t,{marginType:e}),"Tablet"===o&&l(t,{marginTypeTablet:e}),"Mobile"===o&&l(t,{marginTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.marginType?l(t,{margin:a}):l(t,de({},s[e],a))),"Tablet"===o&&("linked"===n.marginTypeTablet?l(t,{marginTablet:a}):l(t,de({},u[e],a))),"Mobile"===o&&("linked"===n.marginTypeMobile?l(t,{marginMobile:a}):l(t,de({},b[e],a)))},options:[{label:pe("Top"),type:"top",value:g("top")},{label:pe("Right"),disabled:!0},{label:pe("Bottom"),type:"bottom",value:g("bottom")},{label:pe("Left"),disabled:!0}]}))),wp.element.createElement(he,{title:pe("Section Structure"),initialOpen:!1},wp.element.createElement(we,{label:pe("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return l(t,{columnsHTMLTag:e})}}),wp.element.createElement("hr",null),wp.element.createElement(ye,{label:pe("Maximum Content Width"),value:n.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&l(t,{columnsWidth:e})},min:0,max:1200}),wp.element.createElement("hr",null),n.columnsWidth&&wp.element.createElement(xe,null,wp.element.createElement(se,{label:"Horizontal Align"},wp.element.createElement(be,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ke,{text:pe("Left")},wp.element.createElement(fe,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===n.horizontalAlign,onClick:function(){return f("flex-start")}})),wp.element.createElement(ke,{text:pe("Center")},wp.element.createElement(fe,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===n.horizontalAlign,onClick:function(){return f("center")}})),wp.element.createElement(ke,{text:pe("Right")},wp.element.createElement(fe,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===n.horizontalAlign,onClick:function(){return f("flex-end")}})))),wp.element.createElement("hr",null)),wp.element.createElement(we,{label:pe("Minimum Height"),value:n.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){return l(t,{columnsHeight:e})}}),wp.element.createElement("hr",null),"custom"===n.columnsHeight&&wp.element.createElement(xe,null,wp.element.createElement(v.a,{label:"Custom Height"},wp.element.createElement(ye,{value:h||"",onChange:function(e){"Desktop"===o&&l(t,{columnsHeightCustom:e}),"Tablet"===o&&l(t,{columnsHeightCustomTablet:e}),"Mobile"===o&&l(t,{columnsHeightCustomMobile:e})},min:0,max:1e3})),wp.element.createElement("hr",null)),wp.element.createElement(se,{label:"Vertical Align"},wp.element.createElement(be,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ke,{text:pe("Top")},wp.element.createElement(ue,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===n.verticalAlign,onClick:function(){return y("flex-start")}},wp.element.createElement(ge,{icon:a.t,size:20}))),wp.element.createElement(ke,{text:pe("Middle")},wp.element.createElement(ue,{className:"components-icon-button is-button is-large",isPrimary:"center"===n.verticalAlign,onClick:function(){return y("center")}},wp.element.createElement(ge,{icon:a.k,size:20}))),wp.element.createElement(ke,{text:pe("Bottom")},wp.element.createElement(ue,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===n.verticalAlign,onClick:function(){return y("flex-end")}},wp.element.createElement(ge,{icon:a.c,size:20})))))),wp.element.createElement(he,{title:pe("Responsive"),initialOpen:!1},wp.element.createElement(ve,{label:"Hide this section in Desktop devices?",checked:n.hide,onChange:function(e){return l(t,{hide:e})}}),wp.element.createElement(ve,{label:"Hide this section in Tablet devices?",checked:n.hideTablet,onChange:function(e){return l(t,{hideTablet:e})}}),wp.element.createElement(ve,{label:"Hide this section in Mobile devices?",checked:n.hideMobile,onChange:function(e){return l(t,{hideMobile:e})}})))}));function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=wp.i18n.__,Be=wp.components,Oe=Be.PanelBody,Re=Be.SelectControl,Le=wp.compose.compose,Ne=wp.data.withSelect,Ae=wp.element.Fragment,ze=Le(Ne((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=e.view,o=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};o=o();var r={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},i={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},c={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},d=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},p=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};p=p();var m={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},s={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},u={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},b=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginRight),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginRightTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginLeft),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginLeftTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginLeftMobile)),t};return wp.element.createElement(Ae,null,wp.element.createElement(Oe,{title:Me("Sizing")},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:o,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,Se({},r[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,Se({},i[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,Se({},c[e],o)))},options:[{label:Me("Top"),type:"top",value:d("top")},{label:Me("Right"),type:"right",value:d("right")},{label:Me("Bottom"),type:"bottom",value:d("bottom")},{label:Me("Left"),type:"left",value:d("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:p,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,Se({},m[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,Se({},s[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,Se({},u[e],o)))},options:[{label:Me("Top"),type:"top",value:b("top")},{label:Me("Right"),type:"right",value:b("right")},{label:Me("Bottom"),type:"bottom",value:b("bottom")},{label:Me("Left"),type:"left",value:b("left")}]}))),wp.element.createElement(Oe,{title:Me("Section Settings"),initialOpen:!1},wp.element.createElement(Re,{label:Me("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return a(t,{columnsHTMLTag:e})}})))})),Ie=wp.i18n.__,Pe=wp.components.PanelBody,He=function(e){var t=e.blockDefaults,n=e.changeConfig,a=e.resetConfig,l=e.saveConfig,o=[{name:"themeisle-blocks/advanced-heading",control:N},{name:"themeisle-blocks/button-group",control:Z},{name:"themeisle-blocks/font-awesome-icons",control:ce},{name:"themeisle-blocks/advanced-columns",control:Ce},{name:"themeisle-blocks/advanced-column",control:ze}];return wp.element.createElement(Pe,{title:"Global Defaults",className:"wp-block-themeisle-blocks-options-global-defaults"},Ie("With Global Defaults, you can set site-wide block defaults for Otter."),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list"},o.map((function(e){var o=e.control;return wp.element.createElement(h,{blockName:e.name,saveConfig:l,resetConfig:a},wp.element.createElement(o,{blockName:e.name,defaults:t[e.name],changeConfig:n}))}))))},_e=n(6);function De(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function je(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Fe(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Fe(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Fe(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Ge(e){return(Ge="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function qe(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){We(o,a,l,r,i,"next",e)}function i(e){We(o,a,l,r,i,"throw",e)}r(void 0)}))}}var Ue=wp.i18n.__,Ze=lodash,$e=Ze.cloneDeep,Qe=Ze.isEqual,Ke=Ze.merge,Je=wp.apiFetch,Ye=wp.components,Xe=Ye.PanelBody,et=Ye.Snackbar,tt=Ye.ToggleControl,nt=wp.data.withDispatch,at=wp.element,lt=at.Fragment,ot=at.useEffect,rt=at.useRef,it=at.useState,ct=wp.editPost,dt=ct.PluginSidebar,pt=ct.PluginSidebarMoreMenuItem,mt=nt((function(e){return{createNotice:e("core/notices").createNotice}}))((function(e){var t=e.createNotice;ot(qe(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Je({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return l(!0),e.next=7,wp.api.loadPromise.then((function(){b.current=new wp.api.models.Settings}));case 7:!1===r&&b.current.fetch().then((function(e){if(u(Boolean(e.themeisle_blocks_settings_default_block)),""!==e.themeisle_blocks_settings_global_defaults){var t=$e(_e.a);"object"===Ge(window.themeisleGutenberg.themeDefaults)&&(t=Ke(t,window.themeisleGutenberg.themeDefaults)),t=Ke(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),p(t)}else{var n=$e(_e.a);"object"===Ge(window.themeisleGutenberg.themeDefaults)&&(n=Ke(n,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},p(n)}i(!1)}));case 8:case"end":return e.stop()}}),e)}))),[]);var n=Ve(it(!1),2),a=n[0],l=n[1],o=Ve(it(!1),2),r=o[0],i=o[1],c=Ve(it({}),2),d=c[0],p=c[1],m=Ve(it(!1),2),s=m[0],u=m[1],b=rt(null),g=function(e){et&&t("info",e,{isDismissible:!0,type:"snackbar"})},f=function(){var e=qe(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=$e(d),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){(void 0!==_e.a[e][n]&&t[e][n]===_e.a[e][n]||"object"===Ge(t[e][n])&&Qe(t[e][n],_e.a[e][n]))&&delete t[e][n]}))})),n=new wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(t)}),e.next=5,n.save().then((function(){window.themeisleGutenberg.globalDefaults=t,g(Ue("Option updated."))}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return wp.element.createElement(lt,null,a&&wp.element.createElement(pt,{target:"wp-block-themeisle-blocks-options"},Ue("Otter Options")),wp.element.createElement(dt,{title:Ue("Otter Options"),name:"wp-block-themeisle-blocks-options"},wp.element.createElement(Xe,{className:"wp-block-themeisle-blocks-options-general"},wp.element.createElement(tt,{label:Ue("Make Section block your default block for Pages?"),checked:s,onChange:function(){new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(s)}).save().then((function(e){u(Boolean(e.themeisle_blocks_settings_default_block)),g(Ue("Option updated."))}))}})),wp.element.createElement(He,{blockDefaults:d,changeConfig:function(e,t){var n=$e(d);for(var a in t)n[e][a]=t[a];p(n)},resetConfig:function(e){var t=$e(d),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?De(Object(n),!0).forEach((function(t){je(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):De(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},_e.a[e]);t[e]=n,p(t)},saveConfig:f})))})),st=(n(46),n(47),wp.components.Icon),ut=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(st,{icon:a.m}),render:function(){return wp.element.createElement(ut,null,wp.element.createElement(mt,null))}})},function(e,t,n){"use strict";n.r(t);n(50),n(51),n(52);var a=n(2),l={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:0},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"}},o=n(0),r=n.n(o),i=n(7),c=n.n(i);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=wp.blockEditor.RichText,s=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(c()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(m.Content,{tagName:n.tag,value:n.content,id:n.id,className:r()(n.id,a),style:l})}}],u=wp.blocks.createBlock,b={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return u("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return u("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return u("core/paragraph",{content:t})}}]},g=n(19),f=n.n(g),h=n(6),y=n(10),w=wp.i18n.__,v=wp.components,k=v.Dropdown,T=v.DropdownMenu,E=v.IconButton,x=v.RangeControl,C=v.SVG,S=v.Toolbar,M=wp.blockEditor.BlockControls,B=wp.element.Fragment,O=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,d=function(e){return"h1"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},p=function(e){n({tag:e})};return wp.element.createElement(M,null,wp.element.createElement(T,{icon:d(t.tag),label:w("Select tag"),className:"components-toolbar",controls:[{title:w("Heading 1"),icon:d("h1"),onClick:function(){return p("h1")}},{title:w("Heading 2"),icon:d("h2"),onClick:function(){return p("h2")}},{title:w("Heading 3"),icon:d("h3"),onClick:function(){return p("h3")}},{title:w("Heading 4"),icon:d("h4"),onClick:function(){return p("h4")}},{title:w("Heading 5"),icon:d("h5"),onClick:function(){return p("h5")}},{title:w("Heading 6"),icon:d("h6"),onClick:function(){return p("h6")}},{title:w("Division"),icon:d("div"),onClick:function(){return p("div")}},{title:w("Paragraph"),icon:d("p"),onClick:function(){return p("p")}},{title:w("Span Tag"),icon:d("span"),onClick:function(){return p("span")}}]}),wp.element.createElement(S,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(k,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(E,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:w("Typography Settings"),tooltip:w("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(B,null,wp.element.createElement(y.a,{label:w("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(x,{label:w("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(x,{label:w("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},R=n(3),L=n(9),N=n(4),A=n(5),z=n(20);function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function P(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=wp.i18n.__,D=wp.blockEditor,j=D.AlignmentToolbar,V=D.ColorPalette,F=D.InspectorControls,G=wp.components,W=G.Button,q=G.Dashicon,U=G.PanelBody,Z=G.RangeControl,$=G.ToggleControl,Q=wp.compose.compose,K=wp.data.withSelect,J=wp.element,Y=J.Fragment,X=J.useState,ee=Q(K((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight,d=e.changeLetterSpacing,p=e.view,m=P(X("style"),2),s=m[0],u=m[1],b=function(){var e;return"Desktop"===p&&(e=t.fontSize),"Tablet"===p&&(e=t.fontSizeTablet),"Mobile"===p&&(e=t.fontSizeMobile),e};b=b();var g=function(){var e;return"Desktop"===p&&(e=t.align),"Tablet"===p&&(e=t.alignTablet),"Mobile"===p&&(e=t.alignMobile),e};g=g();var f=function(){var e;return"Desktop"===p&&(e=t.paddingType),"Tablet"===p&&(e=t.paddingTypeTablet),"Mobile"===p&&(e=t.paddingTypeMobile),e};f=f();var h={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},w={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},v={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},k=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},T=function(){var e;return"Desktop"===p&&(e=t.marginType),"Tablet"===p&&(e=t.marginTypeTablet),"Mobile"===p&&(e=t.marginTypeMobile),e};T=T();var E={top:"marginTop",bottom:"marginBottom"},x={top:"marginTopTablet",bottom:"marginBottomTablet"},C={top:"marginTopMobile",bottom:"marginBottomMobile"},S=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(Y,null,wp.element.createElement(F,null,wp.element.createElement(U,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"style"===s}),onClick:function(){return u("style")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-customizer"}),_("Style"))),wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"advanced"===s}),onClick:function(){return u("advanced")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-generic"}),_("Advanced")))),"style"===s&&wp.element.createElement(Y,null,wp.element.createElement(U,{title:_("General Settings")},wp.element.createElement(R.a,{label:_("Heading Color"),colorValue:t.headingColor},wp.element.createElement(V,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(N.a,{label:"Font Size"},wp.element.createElement(Z,{value:b||"",onChange:function(e){"Desktop"===p&&n({fontSize:e}),"Tablet"===p&&n({fontSizeTablet:e}),"Mobile"===p&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(N.a,{label:"Alignment"},wp.element.createElement(j,{value:g,onChange:function(e){"Desktop"===p&&n({align:e}),"Tablet"===p&&n({alignTablet:e}),"Mobile"===p&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(U,{title:_("Typography Settings"),initialOpen:!1},wp.element.createElement(y.a,{label:_("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(Z,{label:_("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}),wp.element.createElement(Z,{label:_("Letter Spacing"),value:t.letterSpacing,onChange:d,min:-50,max:100}),wp.element.createElement($,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(Y,null,wp.element.createElement(R.a,{label:_("Color"),colorValue:t.textShadowColor},wp.element.createElement(V,{label:_("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Z,{label:_("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Z,{label:_("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(Z,{label:_("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Z,{label:_("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===s&&wp.element.createElement(Y,null,wp.element.createElement(U,{title:_("Highlight Color")},wp.element.createElement(R.a,{label:_("Highlight Color"),colorValue:t.highlightColor},wp.element.createElement(V,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(R.a,{label:_("Highlight Background"),colorValue:t.highlightBackground},wp.element.createElement(V,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(U,{title:_("Spacing"),initialOpen:!1},wp.element.createElement(N.a,{label:"Padding"},wp.element.createElement(A.a,{type:f,min:0,max:500,changeType:function(e){"Desktop"===p&&n({paddingType:e}),"Tablet"===p&&n({paddingTypeTablet:e}),"Mobile"===p&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.paddingType?n({padding:a}):n(I({},h[e],a))),"Tablet"===p&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(I({},w[e],a))),"Mobile"===p&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(I({},v[e],a)))},options:[{label:_("Top"),type:"top",value:k("top")},{label:_("Right"),type:"right",value:k("right")},{label:_("Bottom"),type:"bottom",value:k("bottom")},{label:_("Left"),type:"left",value:k("left")}]})),wp.element.createElement(N.a,{label:"Margin"},wp.element.createElement(A.a,{type:T,min:-500,max:500,changeType:function(e){"Desktop"===p&&n({marginType:e}),"Tablet"===p&&n({marginTypeTablet:e}),"Mobile"===p&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.marginType?n({margin:a}):n(I({},E[e],a))),"Tablet"===p&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(I({},x[e],a))),"Mobile"===p&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(I({},C[e],a)))},options:[{label:_("Top"),type:"top",value:S("top")},{label:_("Right"),disabled:!0},{label:_("Bottom"),type:"bottom",value:S("bottom")},{label:_("Left"),disabled:!0}]}))))),wp.element.createElement(z.a,{value:t.id,onChange:function(e){n({id:e})}}))}));function te(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ne(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var re=wp.i18n.__,ie=lodash.isEqual,ce=wp.blocks.createBlock,de=wp.blockEditor.RichText,pe=wp.compose.compose,me=wp.data.withSelect,se=wp.element,ue=se.Fragment,be=se.useEffect,ge=wp.viewport.withViewportMatch,fe=[],he=pe(ge({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}),me((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,i=e.mergeBlocks,d=e.name,p=e.insertBlocksAfter,m=e.onReplace,s=e.isLarger,u=e.isLarge,b=e.isSmall,g=e.isSmaller,y=e.isViewportAvailable,w=e.isPreviewDesktop,v=e.isPreviewTablet,k=e.isPreviewMobile;be((function(){T()}),[]);var T=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(ie(h.a[d],window.themeisleGutenberg.globalDefaults[d])||(a=le({},window.themeisleGutenberg.globalDefaults[d]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(le({},a,{id:r})),fe.push(r),e.push(r)}else if(fe.includes(t.id)){var i="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));n({id:i}),fe.push(i)}else fe.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=te(e)},E=s&&!u&&b&&!g,x=!s&&!u&&b&&!g,C=!(s||u||b||g);y&&!C&&(E=w,x=v,C=k);var S,M,B,R=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},L=function(e){n({fontVariant:e})},N=function(e){n({fontStyle:e})},A=function(e){n({textTransform:e})},z=function(e){n({lineHeight:e})},I=function(e){n({letterSpacing:e})};E&&(S={fontSize:"".concat(t.fontSize,"px")},M={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),x&&(S={fontSize:"".concat(t.fontSizeTablet,"px")},M={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),C&&(S={fontSize:"".concat(t.fontSizeMobile,"px")},M={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(B={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(c()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var P=le({color:t.headingColor},S,{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},M,{},B);return wp.element.createElement(ue,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(f.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(O,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:L,changeFontStyle:N,changeTextTransform:A,changeLineHeight:z,changeLetterSpacing:I}),wp.element.createElement(ee,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:L,changeFontStyle:N,changeTextTransform:A,changeLineHeight:z,changeLetterSpacing:I}),wp.element.createElement(de,{identifier:"content",className:r()(t.id,a),value:t.content,placeholder:re("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:i,unstableOnSplit:p?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];p([].concat(l,[ce("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return m([])},style:P,onChange:function(e){n({content:e})}}))})),ye=wp.blockEditor.RichText,we=function(e){var t=e.attributes,n=e.className;return wp.element.createElement(ye.Content,{tagName:t.tag,value:t.content,id:t.id,className:r()(t.id,n)})},ve=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:ve("Advanced Heading"),description:ve("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:a.i,category:"themeisle-blocks",keywords:[ve("heading"),ve("title"),ve("advanced heading")],attributes:l,deprecated:s,transforms:b,edit:he,save:we})},function(e,t,n){"use strict";n.r(t);n(60),n(61);var a=n(2),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var i=[{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){r(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e,{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}}],c=n(6),d=wp.i18n.__,p=wp.blockEditor,m=p.AlignmentToolbar,s=p.BlockControls,u=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(s,null,wp.element.createElement(m,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:d("Align left"),align:"left"},{icon:"editor-aligncenter",title:d("Align center"),align:"center"},{icon:"editor-alignright",title:d("Align right"),align:"right"}]}))},b=n(3),g=n(21);function f(e){return(f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return y(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return y(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var w=wp.i18n.__,v=wp.components,k=v.Button,T=v.ButtonGroup,E=v.PanelBody,x=v.Placeholder,C=v.RangeControl,S=v.Spinner,M=v.ToggleControl,B=wp.blockEditor,O=B.ColorPalette,R=B.ContrastChecker,L=B.InspectorControls,N=wp.element,A=N.Fragment,z=N.useState,I=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,108))})),P=function(e){var t=e.attributes,n=e.setAttributes,a=h(z(!1),2),l=a[0],o=a[1];return wp.element.createElement(L,null,wp.element.createElement(E,{title:w("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(x,{className:"wp-themeisle-block-spinner"},wp.element.createElement(S,null))},wp.element.createElement(I,{label:w("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===f(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}})),wp.element.createElement(g.a,{label:w("Link"),placeholder:"https://…",value:t.link,onChange:function(e){n({link:e})}},wp.element.createElement(M,{label:"Open in New Tab?",checked:t.newTab,onChange:function(){n({newTab:!t.newTab})}}))),wp.element.createElement(E,{title:w("Icon Sizes"),initialOpen:!1},wp.element.createElement(C,{label:w("Icon Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140}),wp.element.createElement(C,{label:w("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100}),wp.element.createElement(C,{label:w("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100})),wp.element.createElement(E,{title:w("Color"),initialOpen:!1},wp.element.createElement(T,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(k,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return o(!1)}},w("Normal")),wp.element.createElement(k,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return o(!0)}},w("Hover"))),l?wp.element.createElement(A,null,wp.element.createElement(b.a,{label:"Hover Background",colorValue:t.backgroundColorHover},wp.element.createElement(O,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(b.a,{label:"Hover Icon",colorValue:t.textColorHover},wp.element.createElement(O,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(b.a,{label:"Hover Border",colorValue:t.borderColorHover},wp.element.createElement(O,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(R,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(A,null,wp.element.createElement(b.a,{label:"Background",colorValue:t.backgroundColor},wp.element.createElement(O,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(b.a,{label:"Icon",colorValue:t.textColor},wp.element.createElement(O,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(b.a,{label:"Border",colorValue:t.borderColor},wp.element.createElement(O,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(R,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(E,{title:w("Border Settings"),initialOpen:!1},wp.element.createElement(C,{label:w("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120}),wp.element.createElement(C,{label:w("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100})))};function H(e){return function(e){if(Array.isArray(e))return _(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function j(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=lodash.isEqual,G=wp.element,W=G.Fragment,q=G.useEffect,U=[],Z=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,r=e.name;q((function(){i()}),[]);var i=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,i="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(F(c.a[r],window.themeisleGutenberg.globalDefaults[r])||(a=j({},window.themeisleGutenberg.globalDefaults[r]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(j({},a,{id:i})),U.push(i),e.push(i)}else if(U.includes(t.id)){var d="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));n({id:d}),U.push(d)}else U.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=H(e)},d={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},p={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(W,null,wp.element.createElement(u,{attributes:t,setAttributes:n}),wp.element.createElement(P,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:p},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:d}))))},$=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("p",{className:n,id:t.id},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})):wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})))},Q=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:Q("Font Awesome Icons"),description:Q("Share buttons for your website visitors to share content on any social sharing service."),icon:a.h,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:i,edit:Z,save:$})},function(e,t,n){"use strict";n.r(t);n(85),n(86),n(87);var a=n(2),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},d=wp.components,p=d.Path,m=d.SVG,s=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(p,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",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"})):"linkedin"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(p,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(p,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(p,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var u=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,f=g.Toolbar,h=g.Button,y=g.Tooltip,w=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(f,null,Object.keys(c).map((function(e){var n=t[e];return wp.element.createElement(y,{text:u("Display ".concat(c[e].label))},wp.element.createElement(h,{className:r()("components-button","wp-block-themeisle-toolbar",{"is-active":n}),onClick:function(){return a(e)}},wp.element.createElement(s,{icon:e})))}))))},v=wp.element.Fragment,k=function(e){var t=e.attributes,n=e.setAttributes,a=e.className;return wp.element.createElement(v,null,wp.element.createElement(w,{attributes:t,setAttributes:n}),wp.element.createElement("div",{className:r()(a,{"has-label":!t.className||!t.className.includes("is-style-icons")})},Object.keys(c).map((function(e,n){if(!0===t[e])return wp.element.createElement("a",{className:"social-icon is-".concat(e)},wp.element.createElement("i",{className:"fab fa-".concat(c[e].icon)}),(!t.className||!t.className.includes("is-style-icons"))&&c[e].label)}))))},T=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:T("Sharing Icons"),description:T("Share buttons for your website visitors to share content on any social sharing service."),icon:a.r,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:T("Regular"),isDefault:!0},{name:"icons",label:T("Icons Only")}],edit:k,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(67),n(68);var a=n(2),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"string"},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},offset:{type:"number",default:0},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},o=n(12),r=n(35),i=n.n(r),c=n(0),d=n.n(c),p=n(24);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return s(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return s(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function s(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var u=lodash,b=u.startCase,g=u.toLower,f=wp.i18n.__,h=wp.components,y=h.IconButton,w=h.TextControl,v=h.SelectControl,k=h.ToggleControl,T=wp.element,E=T.Fragment,x=T.useState,C=Object(p.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),S=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,p=m(x(!1),2),s=p[0],u=p[1],h=b(g(n)),T="hidden",S=f("Display ".concat(h));switch(l(n)&&(T="visibility",S=f("Hide ".concat(h))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(C,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},h),t&&wp.element.createElement(y,{icon:s?"arrow-up-alt2":"arrow-down-alt2",label:f(s?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return u(!s)}}),wp.element.createElement(y,{icon:T,label:S,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),u(!1)}})),t&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:s&&l(n)})},"image"===n&&wp.element.createElement(E,null,wp.element.createElement(v,{label:f("Image Size"),value:r.value,options:[{label:f("Thumbnail"),value:"thumbnail"},{label:f("Medium"),value:"medium"},{label:f("Medium Large"),value:"medium_large"},{label:f("Large"),value:"large"},{label:f("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(k,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(v,{label:f("Title Tag"),value:i.value||"h5",options:[{label:f("H1"),value:"h1"},{label:f("H2"),value:"h2"},{label:f("H3"),value:"h3"},{label:f("H4"),value:"h4"},{label:f("H5"),value:"h5"},{label:f("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(w,{label:f("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(E,null,wp.element.createElement(k,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(k,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},M=Object(p.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(S,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),B=Object(p.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(M,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))})),O=wp.i18n.__,R=wp.element.Fragment,L=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,c=e.excerptLimit;return wp.element.createElement(R,null,wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(S,{value:O("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(B,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=i()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:c,useDragHandle:!0})))},N=wp.i18n.__,A=wp.components,z=A.PanelBody,I=A.QueryControls,P=A.RangeControl,H=A.TextControl,_=wp.blockEditor.InspectorControls,D=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList;return wp.element.createElement(_,null,wp.element.createElement(z,{title:N("Styles"),initialOpen:!1},wp.element.createElement(o.b,{value:t.style,options:[{label:N("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:N("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(z,{title:N("Settings")},"grid"===t.style&&wp.element.createElement(P,{label:N("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(I,{order:t.order,orderBy:t.orderBy,numberOfItems:t.postsToShow,categoriesList:l,selectedCategoryId:t.categories,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},onCategoryChange:function(e){return n({categories:""!==e?e:void 0})},onNumberOfItemsChange:function(e){return n({postsToShow:e})}}),wp.element.createElement(H,{label:N("Offset"),help:N("Number of post to displace or pass over."),type:"number",value:t.offset,min:0,onChange:function(e){return n({offset:e})}})),wp.element.createElement(z,{title:N("Design & Layout"),initialOpen:!1},wp.element.createElement(L,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))},j=n(27),V=lodash,F=V.isUndefined,G=V.pickBy,W=wp.i18n.__,q=wp.components,U=q.Disabled,Z=q.Placeholder,$=q.Spinner,Q=wp.data.withSelect,K=wp.element.Fragment,J=Q((function(e,t){var n=t.attributes,a=n.categories,l=n.order,o=n.orderBy,r=n.postsToShow,i=n.offset,c=G({categories:a,order:l,orderby:o,per_page:r,offset:i},(function(e){return!F(e)}));return{posts:e("core").getEntityRecords("postType","post",c),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.posts,r=e.categoriesList,i=e.authors,c=function(e){n({style:e})};return l&&r&&i?0===l.length?wp.element.createElement(K,null,wp.element.createElement(Z,null,W("No Posts")),r&&t.offset?wp.element.createElement(D,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null):wp.element.createElement(K,null,wp.element.createElement(o.a,{label:W("Block Styles"),value:t.style,options:[{label:W("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:W("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(D,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(U,null,wp.element.createElement(j.default,{className:a,attributes:t,posts:l,categoriesList:r,authors:i}))):wp.element.createElement(K,null,wp.element.createElement(Z,{className:"wp-themeisle-block-spinner"},wp.element.createElement($,null),W("Loading Posts")),r&&t.offset?wp.element.createElement(D,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null)})),Y=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:Y("Posts"),description:Y("Display a list of your most recent posts in a beautiful layout."),icon:a.o,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},edit:J,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(65),n(66);var a=n(2),l={slug:{type:"string"}},o=n(22);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=wp.i18n.__,p=wp.apiFetch,m=wp.components,s=m.Button,u=m.Placeholder,b=m.Dashicon,g=m.TextControl,f=m.Spinner,h=wp.element,y=h.useEffect,w=h.useRef,v=h.useState,k=wp.keycodes,T=k.DOWN,E=k.ENTER,x=k.TAB,C=k.UP,S=function(e){var t=e.attributes,n=e.setAttributes,a=e.isFetching,l=e.hasError,c=e.setError,m=e.fetchPlugin,h=e.saveData,k=e.className,S=w(null),M=!1,B=[],O=i(v(!1),2),R=O[0],L=O[1],N=i(v(""),2),A=N[0],z=N[1],I=i(v({}),2),P=I[0],H=I[1],D=i(v(null),2),j=D[0],V=D[1];y((function(){null===j||M||(M=!0,Object(o.a)(B[j],S.current,{onlyScrollIfNeeded:!0}),B[j].focus(),setTimeout((function(){M=!1}),100))}),[j]);var F=function(){var e,t=(e=regeneratorRuntime.mark((function e(t){var a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return n({slug:""}),L(!0),c(!1),e.next=5,p({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(t))});case 5:if(!(a=e.sent).data.errors){e.next=12;break}return c(!0),L(!1),V(null),H({}),e.abrupt("return");case 12:L(!1),V(null),H(a.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return t.apply(this,arguments)}}(),G=function(e){if(Object.keys(P).length){e.stopPropagation(),e.preventDefault();var t=j?j-1:Object.keys(P).length-1;V(t)}},W=function(e){if(Object.keys(P).length){e.stopPropagation(),e.preventDefault();var t=null===j||j===Object.keys(P).length-1?0:j+1;V(t)}},q=function(e){n({slug:e.slug}),h(e),H({})};return a?wp.element.createElement(u,{className:"wp-themeisle-block-spinner"},wp.element.createElement(f,null)):t.slug&&l?wp.element.createElement(u,{className:k},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},d("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(s,{isDefault:!0,isLarge:!0,onClick:m},d("Try again")))):wp.element.createElement(u,{icon:"admin-plugins",label:d("Plugin Card"),instructions:d("Search for the plugin you want to display."),className:k},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(b,{icon:"search"}),R&&wp.element.createElement(f,null),wp.element.createElement(g,{type:"text",placeholder:d("Search for plugin…"),value:A,onChange:z,onKeyDown:function(e){switch(e.keyCode){case C:G(e);break;case T:W(e);break;case x:Object.keys(P).length&&!e.shiftKey&&V(0);break;case E:F(e.target.value)}},onFocus:function(){return V(null)}}),P&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:S},Object.keys(P).map((function(e){var t,n,a=P[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){B[n]=e}),onClick:function(e){e.preventDefault(),q(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case C:G(e);break;case T:W(e);break;case x:if(e.shiftKey){0!==j&&G(e);break}if(j===Object.keys(P).length-1)break;W(e);break;case E:q(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),l&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},d("There seems to be an error. Make sure your internet is working properly."),wp.element.createElement(s,{isDefault:!0,isLarge:!0,onClick:function(){return F(A)}},d("Try again"))))},M=wp.i18n.__,B=wp.components,O=B.Dashicon,R=B.Button,L=B.Toolbar,N=B.Tooltip,A=wp.blockEditor.BlockControls,z=function(e){var t=e.setLoaded;return wp.element.createElement(A,null,wp.element.createElement(L,null,wp.element.createElement(N,{text:M("Edit")},wp.element.createElement(R,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(O,{icon:"edit"})))))},I=n(8);function P(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return D(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return D(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function D(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var j=wp.i18n.__,V=wp.apiFetch,F=wp.element,G=F.Fragment,W=F.useEffect,q=F.useState,U=function(e){var t=e.attributes,n=e.setAttributes,a=e.className;W((function(){t.slug&&k()}),[]);var l,o,r,i,c,d=H(q(!1),2),p=d[0],m=d[1],s=H(q(!1),2),u=s[0],b=s[1],g=H(q(!1),2),f=g[0],h=g[1],y=H(q({}),2),w=y[0],v=y[1],k=function(){var e,n=(e=regeneratorRuntime.mark((function e(){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return m(!0),h(!1),b(!0),e.next=5,V({path:"themeisle-gutenberg-blocks/v1/get_plugin?slug=".concat(encodeURIComponent(t.slug))});case 5:if(!(n=e.sent).data.errors){e.next=11;break}return h(!0),m(!1),b(!1),e.abrupt("return");case 11:T(n.data),b(!1);case 13:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){P(o,a,l,r,i,"next",e)}function i(e){P(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return n.apply(this,arguments)}}(),T=function(e){var t;e.icons.svg&&(t=e.icons.svg),e.icons["2x"]&&(t=e.icons["2x"]),e.icons["1x"]&&(t=e.icons["1x"]),e.icons.default&&(t=e.icons.default),v({slug:e.slug,pluginIcon:t,pluginName:e.name,pluginAuthor:e.author,pluginRating:e.rating,pluginDescription:e.short_description,pluginInstalls:e.active_installs,pluginVersion:e.version,pluginTested:e.tested,pluginLink:e.download_link}),m(!0)};return!p||u?wp.element.createElement(S,{attributes:t,setAttributes:n,isFetching:u,hasError:f,setError:h,fetchPlugin:k,saveData:T,className:a}):wp.element.createElement(G,null,wp.element.createElement(z,{setLoaded:m}),wp.element.createElement("div",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-wrapper"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-header"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-main"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-logo"},wp.element.createElement("img",{src:w.pluginIcon,alt:Object(I.b)(w.pluginName),title:Object(I.b)(w.pluginName)})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-info"},wp.element.createElement("h4",null,Object(I.b)(w.pluginName)),wp.element.createElement("h5",{dangerouslySetInnerHTML:{__html:_.unescape(w.pluginAuthor)}})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-ratings",dangerouslySetInnerHTML:{__html:_.unescape((l=w.pluginRating,o=Math.floor(l/10)/2,r=Math.floor(o),i=Math.ceil(o-r),c=5-r-i,'<span className="star-full"></span>'.repeat(r)+'<span className="star-half"></span>'.repeat(i)+'<span className="star-empty"></span>'.repeat(c)))}}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-details"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-description"},Object(I.b)(w.pluginDescription)),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats"},wp.element.createElement("h5",null,j("Plugin Stats")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stats-list"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},w.pluginInstalls.toLocaleString(),"+"),j("active installs")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},w.pluginVersion),j("version")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-stat"},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-plugin-cards-text-large"},w.pluginTested),j("tested up to"))))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-download"},wp.element.createElement("a",{href:w.pluginLink},j("Download"))))))},Z=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:Z("Plugin Card"),description:Z("Plugin Card block lets you display plugins data in your blog posts."),icon:a.n,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:U,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(48),n(49);var a=n(2),l={id:{type:"number"}};function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(n);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i=wp.i18n.__,c=wp.components.Spinner,d=wp.data.withSelect,p=wp.element,m=p.useEffect,s=p.useState,u=d((function(e){return{postAuthor:e("core/editor").getEditedPostAttribute("author"),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.postAuthor,r=e.authors;m((function(){!p&&l&&r&&r.find((function(e){if(e.id===l)return l!==t.id&&n({id:e.id}),u(!0),f(e),e.id===l}))}),[l,r]);var d=o(s(!1),2),p=d[0],u=d[1],b=o(s({}),2),g=b[0],f=b[1];return p?wp.element.createElement("section",{className:a},wp.element.createElement("div",{className:"wp-block-themeisle-author-image"},wp.element.createElement("img",{className:"author-image",src:g.avatar_urls[96],alt:g.name})),wp.element.createElement("div",{className:"wp-block-themeisle-author-data"},wp.element.createElement("h4",null,g.name),wp.element.createElement("p",null,g.description))):wp.element.createElement("div",{className:"wp-block-themeisle-author-loading"},wp.element.createElement(c,null),wp.element.createElement("p",{className:"wp-block-themeisle-author-loading-text"},i("Loading…")))})),b=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:b("About Author"),description:b("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],attributes:l,supports:{html:!1},edit:u,save:function(){return null}})}]);
1
+ !function(e){function t(t){for(var a,r,i=t[0],c=t[1],d=t[2],m=0,u=[];m<i.length;m++)r=i[m],Object.prototype.hasOwnProperty.call(l,r)&&l[r]&&u.push(l[r][0]),l[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(p&&p(t);u.length;)u.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,i=1;i<n.length;i++){var c=n[i];0!==l[c]&&(a=!1)}a&&(o.splice(t--,1),e=r(r.s=n[0]))}return e}var a={},l={2:0},o=[];function r(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,r),n.l=!0,n.exports}r.e=function(e){var t=[],n=l[e];if(0!==n)if(n)t.push(n[2]);else{var a=new Promise((function(t,a){n=l[e]=[t,a]}));t.push(n[2]=a);var o,i=document.createElement("script");i.charset="utf-8",i.timeout=120,r.nc&&i.setAttribute("nonce",r.nc),i.src=function(e){return r.p+"chunk-"+({}[e]||e)+".js"}(e);var c=new Error;o=function(t){i.onerror=i.onload=null,clearTimeout(d);var n=l[e];if(0!==n){if(n){var a=t&&("load"===t.type?"missing":t.type),o=t&&t.target&&t.target.src;c.message="Loading chunk "+e+" failed.\n("+a+": "+o+")",c.name="ChunkLoadError",c.type=a,c.request=o,n[1](c)}l[e]=void 0}};var d=setTimeout((function(){o({type:"timeout",target:i})}),12e4);i.onerror=i.onload=o,document.head.appendChild(i)}return Promise.all(t)},r.m=e,r.c=a,r.d=function(e,t,n){r.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},r.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},r.t=function(e,t){if(1&t&&(e=r(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(r.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)r.d(n,a,function(t){return e[t]}.bind(null,a));return n},r.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return r.d(t,"a",t),t},r.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},r.p="",r.oe=function(e){throw console.error(e),e};var i=window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[],c=i.push.bind(i);i.push=t,i=i.slice();for(var d=0;d<i.length;d++)t(i[d]);var p=c;o.push([37,0]),n()}([,,function(e,t,n){"use strict";n.d(t,"m",(function(){return r})),n.d(t,"a",(function(){return i})),n.d(t,"d",(function(){return c})),n.d(t,"g",(function(){return d})),n.d(t,"f",(function(){return p})),n.d(t,"i",(function(){return m})),n.d(t,"h",(function(){return u})),n.d(t,"r",(function(){return s})),n.d(t,"j",(function(){return b})),n.d(t,"o",(function(){return g})),n.d(t,"n",(function(){return f})),n.d(t,"q",(function(){return y})),n.d(t,"p",(function(){return h})),n.d(t,"s",(function(){return w})),n.d(t,"b",(function(){return v})),n.d(t,"t",(function(){return k})),n.d(t,"k",(function(){return T})),n.d(t,"c",(function(){return E})),n.d(t,"l",(function(){return x})),n.d(t,"e",(function(){return C}));var a=wp.components,l=a.Path,o=a.SVG,r=function(){return wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 29 32",width:"20",height:"20",className:"otter-icon"},wp.element.createElement(l,{d:"M19.831 7.877c0.001-0.003 0.001-0.005 0.001-0.009s-0-0.006-0.001-0.009l0 0c-0.047-0.081-0.092-0.164-0.132-0.247l-0.057-0.115c-0.277-0.498-0.381-0.99-1.033-1.064h-0.045c-0.001 0-0.002 0-0.003 0-0.486 0-0.883 0.382-0.908 0.862l-0 0.002c0.674 0.126 1.252 0.278 1.813 0.468l-0.092-0.027 0.283 0.096 0.147 0.053s0.028 0 0.028-0.011z"}),wp.element.createElement(l,{d:"M23.982 13.574c-0.008-2.41-0.14-4.778-0.39-7.112l0.026 0.299 0.070-0.019c0.459-0.139 0.787-0.558 0.787-1.053 0-0.479-0.307-0.887-0.735-1.037l-0.008-0.002h-0.026c-0.479-0.164-0.874-0.468-1.149-0.861l-0.005-0.007c-2.7-3.96-8.252-3.781-8.252-3.781s-5.55-0.179-8.25 3.781c-0.28 0.401-0.676 0.704-1.14 0.862l-0.016 0.005c-0.441 0.148-0.754 0.557-0.754 1.040 0 0.009 0 0.017 0 0.026l-0-0.001c-0 0.010-0.001 0.022-0.001 0.034 0 0.493 0.335 0.907 0.789 1.029l0.007 0.002 0.045 0.011c-0.224 2.034-0.356 4.403-0.364 6.801l-0 0.012s-9.493 13.012-1.277 17.515c4.733 2.431 6.881-0.769 6.881-0.769s1.397-1.661-1.784-3.355v-4.609c0.006-0.344 0.282-0.621 0.625-0.628h1.212v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.274 0.001 0.496 0.224 0.496 0.498 0 0 0 0 0 0v0 0.59h2.721v-0.59c0-0.275 0.223-0.498 0.498-0.498v0h1.665c0.271 0.005 0.49 0.226 0.49 0.498 0 0 0 0 0 0v0 0.59h1.209c0 0 0 0 0 0 0.349 0 0.633 0.28 0.639 0.627v4.584c-3.193 1.703-1.784 3.355-1.784 3.355s2.148 3.193 6.879 0.769c8.222-4.503-1.269-17.515-1.269-17.515zM22.586 10.261c-0.097 1.461-0.67 2.772-1.563 3.797l0.007-0.008c-1.703 2.010-4.407 3.249-6.721 4.432v0c-2.325-1.177-5.026-2.416-6.736-4.432-0.883-1.019-1.455-2.329-1.555-3.769l-0.001-0.020c-0.126-2.22 0.583-5.929 3.044-6.74 2.416-0.788 3.947 1.288 4.494 2.227 0.152 0.258 0.429 0.428 0.745 0.428s0.593-0.17 0.743-0.424l0.002-0.004c0.551-0.932 2.080-3.008 4.494-2.22 2.474 0.805 3.174 4.513 3.046 6.734z"}),wp.element.createElement(l,{d:"M19.463 10.087h-0.028c-0.192 0.026-0.121 0.251-0.047 0.356 0.254 0.349 0.407 0.787 0.407 1.26 0 0.006-0 0.012-0 0.018v-0.001c-0.001 0.469-0.255 0.878-0.633 1.1l-0.006 0.003c-0.739 0.426-1.377-0.145-2.054-0.398-0.72-0.269-1.552-0.434-2.42-0.455l-0.009-0v-1.033c1.020-0.233 1.894-0.76 2.551-1.486l0.004-0.004c0.151-0.163 0.244-0.383 0.244-0.623 0-0.316-0.159-0.595-0.402-0.76l-0.003-0.002c-0.768-0.551-1.728-0.881-2.764-0.881-1.054 0-2.029 0.341-2.819 0.92l0.013-0.009c-0.224 0.166-0.367 0.429-0.367 0.726 0 0.226 0.083 0.433 0.221 0.591l-0.001-0.001c0.665 0.751 1.55 1.295 2.553 1.53l0.033 0.007v1.050c-0.742 0.021-1.448 0.14-2.118 0.343l0.057-0.015c-0.341 0.103-0.631 0.219-0.908 0.358l0.033-0.015c-0.519 0.26-1.037 0.436-1.58 0.121-0.371-0.213-0.617-0.607-0.617-1.058 0-0.002 0-0.004 0-0.007v0c0-0.002 0-0.004 0-0.007 0-0.47 0.153-0.905 0.411-1.257l-0.004 0.006c0.047-0.068 0.089-0.17 0.026-0.241s-0.189 0-0.27 0.030c-0.189 0.099-0.348 0.227-0.479 0.381l-0.002 0.002c-0.245 0.296-0.394 0.679-0.394 1.097 0 0.004 0 0.007 0 0.011v-0.001c0.008 0.706 0.393 1.321 0.964 1.651l0.009 0.005c0.296 0.178 0.654 0.283 1.036 0.283 0.364 0 0.706-0.095 1.001-0.263l-0.010 0.005c0.877-0.461 1.917-0.731 3.019-0.731 0.069 0 0.137 0.001 0.206 0.003l-0.010-0h0.030c1.277 0 2.382 0.266 3.266 0.775 0.27 0.159 0.594 0.253 0.94 0.253 0.001 0 0.002 0 0.003 0h-0c0.355-0.002 0.688-0.098 0.974-0.265l-0.009 0.005c0.606-0.357 1.007-1.007 1.007-1.75 0-0.001 0-0.003 0-0.004v0c0.001-0.026 0.002-0.056 0.002-0.086 0-0.625-0.34-1.171-0.846-1.462l-0.008-0.004c-0.056-0.040-0.125-0.065-0.199-0.070l-0.001-0zM13.101 8.831c-0.238 0.213-0.468 0.581-0.832 0.345-0.061-0.041-0.114-0.086-0.161-0.136l-0-0c-0.063-0.063-0.101-0.15-0.101-0.247 0-0.133 0.074-0.248 0.182-0.308l0.002-0.001c0.594-0.309 1.203-0.543 1.884-0.49-0.324 0.281-0.649 0.56-0.973 0.837z"}),wp.element.createElement(l,{d:"M15.89 13.578c-0.367 0.483-0.941 0.792-1.588 0.792s-1.221-0.309-1.585-0.787l-0.004-0.005c-0.064-0.103-0.177-0.171-0.306-0.171-0.199 0-0.36 0.161-0.36 0.36 0 0.091 0.034 0.174 0.090 0.238l-0-0c0.499 0.659 1.283 1.080 2.164 1.080s1.665-0.421 2.159-1.073l0.005-0.007c0.043-0.059 0.068-0.132 0.068-0.212 0-0.116-0.055-0.22-0.14-0.286l-0.001-0.001c-0.059-0.045-0.134-0.072-0.215-0.072-0.117 0-0.221 0.056-0.286 0.143l-0.001 0.001z"}),wp.element.createElement(l,{d:"M18.507 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M17.389 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M10.798 11.707c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M11.918 11.049c0 0.194-0.157 0.351-0.351 0.351s-0.351-0.157-0.351-0.351c0-0.194 0.157-0.351 0.351-0.351s0.351 0.157 0.351 0.351z"}),wp.element.createElement(l,{d:"M8.773 7.877c-0.001-0.003-0.002-0.005-0.002-0.009s0.001-0.006 0.002-0.009l-0 0c0.047-0.081 0.089-0.164 0.132-0.247 0.019-0.038 0.036-0.079 0.057-0.115 0.275-0.498 0.379-0.99 1.033-1.064h0.045c0 0 0.001 0 0.001 0 0.487 0 0.884 0.382 0.91 0.862l0 0.002c-0.678 0.124-1.261 0.277-1.827 0.468l0.092-0.027-0.275 0.096-0.1 0.036-0.045 0.017s-0.023 0-0.023-0.011z"}))},i=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.348 20.657v-0.135c1.029-0.471 1.758-1.446 1.916-2.563 0.434-0.157 0.739-0.576 0.739-1.051 0-0.408-0.221-0.774-0.562-0.969 0.036-0.111 0.065-0.223 0.087-0.335 0.182-0.901-0.025-1.822-0.583-2.592-0.548-0.758-1.373-1.281-2.321-1.473-0.255-0.051-0.515-0.077-0.773-0.077-0.813 0-1.607 0.262-2.234 0.739-0.646 0.49-1.088 1.187-1.244 1.962-0.118 0.587-0.070 1.193 0.139 1.762-0.355 0.191-0.59 0.566-0.59 0.985 0 0.481 0.31 0.901 0.751 1.055 0.163 1.144 0.916 2.128 1.978 2.587v0.106c-2.207 0.5-3.729 2.151-3.729 4.079v0.515h10.153v-0.515c0-1.929-1.522-3.58-3.729-4.080zM15.853 12.492c0.189 0 0.381 0.019 0.569 0.057 0.693 0.14 1.293 0.519 1.689 1.066 0.369 0.511 0.518 1.111 0.423 1.701-0.507-0.237-1.173-0.487-1.874-0.583-1.318-0.18-1.339-0.241-1.417-0.469l-0.252-0.728-0.579 0.512c-0.062 0.054-0.528 0.464-1.066 0.91-0.015-0.198-0.002-0.396 0.037-0.593 0.219-1.086 1.257-1.873 2.469-1.873zM13.67 16.025c0.361-0.292 0.718-0.594 0.977-0.816 0.358 0.323 0.916 0.414 1.874 0.545 0.65 0.089 1.287 0.349 1.748 0.578v1.161c0 1.268-1.031 2.299-2.299 2.299s-2.299-1.031-2.299-2.299v-1.468zM15.682 20.81c0.213 0.019 0.425 0.017 0.635-0.006v0.318l-0.318 0.177-0.317-0.176v-0.313zM12.006 24.22c0.237-1.154 1.25-2.113 2.646-2.501v0.010l1.346 0.748 1.35-0.748v-0.010c1.396 0.388 2.409 1.348 2.646 2.502l-7.987-0zM21.076 27.499h-10.153c-0.307 0-0.556-0.249-0.556-0.556s0.249-0.556 0.556-0.556h10.153c0.307 0 0.556 0.249 0.556 0.556s-0.249 0.556-0.556 0.556zM28.112 3.393h-9.422v-1.689c0-0.832-0.677-1.509-1.509-1.509h-2.363c-0.832 0-1.509 0.677-1.509 1.509v1.689h-9.422c-0.832 0-1.509 0.677-1.509 1.509v25.395c0 0.832 0.677 1.509 1.509 1.509h24.225c0.832 0 1.509-0.677 1.509-1.509v-25.395c-0-0.832-0.677-1.509-1.509-1.509zM14.421 1.703c0-0.219 0.178-0.397 0.397-0.397h2.363c0.219 0 0.397 0.178 0.397 0.397v5.083c0 0.219-0.178 0.397-0.397 0.397h-2.363c-0.219 0-0.397-0.178-0.397-0.397v-5.083zM28.509 30.297c0 0.219-0.178 0.397-0.397 0.397h-24.225c-0.219 0-0.397-0.178-0.397-0.397v-25.395c0-0.219 0.178-0.397 0.397-0.397h9.422v2.282c0 0.832 0.677 1.509 1.509 1.509h2.363c0.832 0 1.509-0.677 1.509-1.509v-2.282h9.422c0.219 0 0.397 0.178 0.397 0.397v25.395z"}))},c=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.457 11.777h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 18.886c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 15.133c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 15.523h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 23.388h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c-0-0.829-0.674-1.503-1.503-1.503zM30.84 30.497c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM4.67 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95 0.95-0.425 0.95-0.95c0-0.525-0.425-0.95-0.95-0.95zM7.947 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 26.744c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 27.134h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM30.457 0h-28.914c-0.829 0-1.503 0.674-1.503 1.503v5.606c0 0.829 0.674 1.503 1.503 1.503h28.914c0.829 0 1.503-0.674 1.503-1.503v-5.606c0-0.829-0.674-1.503-1.503-1.503zM30.84 7.109c0 0.211-0.172 0.383-0.383 0.383h-28.914c-0.211 0-0.383-0.172-0.383-0.383v-5.606c0-0.211 0.172-0.383 0.383-0.383h28.914c0.211 0 0.383 0.172 0.383 0.383v5.606zM5.62 4.306c0 0.525-0.425 0.95-0.95 0.95s-0.95-0.425-0.95-0.95c0-0.525 0.425-0.95 0.95-0.95s0.95 0.425 0.95 0.95zM7.947 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM11.224 3.356c-0.525 0-0.95 0.425-0.95 0.95s0.425 0.95 0.95 0.95c0.525 0 0.95-0.425 0.95-0.95s-0.425-0.95-0.95-0.95zM27.871 3.746h-11.386c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h11.386c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56z"}))},d=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.584 0.099h-29.068c-0.781 0-1.417 0.635-1.417 1.416v29.068c0 0.781 0.635 1.416 1.417 1.416h29.068c0.781 0 1.416-0.635 1.416-1.416v-29.068c0-0.781-0.635-1.416-1.416-1.416zM1.515 1.219h29.068c0.163 0 0.296 0.133 0.296 0.296v3.476h-29.661v-3.476c0-0.163 0.133-0.296 0.296-0.296zM30.584 30.88h-29.068c-0.163 0-0.296-0.133-0.296-0.296v-24.472h29.661v24.472c0 0.163-0.133 0.296-0.296 0.296zM26.999 20.461h-21.062c-0.838 0-1.52 0.682-1.52 1.52v5.601c0 0.838 0.682 1.52 1.52 1.52h21.062c0.838 0 1.52-0.682 1.52-1.52v-5.601c0-0.838-0.682-1.52-1.52-1.52zM27.399 27.582c0 0.221-0.18 0.4-0.4 0.4h-21.062c-0.221 0-0.4-0.18-0.4-0.4v-5.601c0-0.221 0.179-0.4 0.4-0.4h21.062c0.221 0 0.4 0.179 0.4 0.4v5.601zM5.937 16.247h5.432c0.838 0 1.52-0.682 1.52-1.52v-5.432c0-0.838-0.682-1.52-1.52-1.52h-5.432c-0.838 0-1.52 0.682-1.52 1.52v5.432c0 0.838 0.682 1.52 1.52 1.52zM5.537 9.294c0-0.221 0.179-0.4 0.4-0.4h5.432c0.221 0 0.4 0.179 0.4 0.4v5.432c0 0.221-0.18 0.4-0.4 0.4h-5.432c-0.221 0-0.4-0.18-0.4-0.4v-5.432zM27.959 17.714h-22.982c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h22.982c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 14.793h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 11.433h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM27.959 8.072h-12.696c-0.309 0-0.56 0.251-0.56 0.56s0.251 0.56 0.56 0.56h12.696c0.309 0 0.56-0.251 0.56-0.56s-0.251-0.56-0.56-0.56zM4.543 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM7.384 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9zM10.224 3.051c0 0.497-0.403 0.9-0.9 0.9s-0.9-0.403-0.9-0.9c0-0.497 0.403-0.9 0.9-0.9s0.9 0.403 0.9 0.9z"}))},p=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.276 3.351h-14.587l-3.23-3.028c-0.103-0.097-0.239-0.15-0.38-0.15h-12.354c-0.307 0-0.556 0.249-0.556 0.556v30.697c0 0.307 0.249 0.556 0.556 0.556h30.551c0.307 0 0.556-0.249 0.556-0.556v-27.518c0-0.307-0.249-0.556-0.556-0.556zM1.281 1.286h11.578l3.23 3.028c0.103 0.097 0.239 0.15 0.38 0.15h14.25v3.013h-29.439v-6.191zM30.719 30.87h-29.439v-22.281h29.439v22.281z"}))},m=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.958 13.988h-0.64c-0.572-5.298-4.029-9.744-8.764-11.73h5.439v0.555c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.23c-0.309 0-0.559 0.25-0.559 0.559v0.555h-9.319v-0.555c0-0.309-0.25-0.559-0.559-0.559h-2.229c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.229c0.309 0 0.559-0.25 0.559-0.559v-0.555h5.439c-4.735 1.987-8.191 6.432-8.764 11.73h-0.64c-0.309 0-0.559 0.25-0.559 0.559v2.229c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559h-0.464c0.709-6.044 5.49-10.86 11.518-11.621v0.446c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-0.446c6.028 0.761 10.809 5.578 11.518 11.621h-0.464c-0.309 0-0.559 0.25-0.559 0.559v2.23c0 0.309 0.25 0.559 0.559 0.559h2.23c0.309 0 0.559-0.25 0.559-0.559v-2.229c0-0.309-0.25-0.559-0.559-0.559zM29.223 2.253h-1.111v-1.111h1.111v1.111zM2.777 1.142h1.111v1.111h-1.111v-1.111zM2.712 15.608v0.609h-1.111v-0.973c0.001-0.046 0.002-0.092 0.003-0.138h1.108v0.501zM16 1.142c0.186 0 0.371 0.005 0.555 0.012v1.099h-1.111v-1.099c0.184-0.007 0.37-0.012 0.556-0.012zM30.399 15.25v0.967h-1.111v-1.111h1.107c0.002 0.048 0.003 0.096 0.004 0.144zM16.512 4.461c-0.089-0.204-0.29-0.336-0.513-0.336s-0.424 0.132-0.513 0.336l-7.287 16.694c-0.058 0.134-0.062 0.285-0.011 0.421l0.009 0.023c0.059 0.157 0.186 0.279 0.345 0.333 1.743 0.585 2.914 2.213 2.914 4.052 0 0.766-0.206 1.518-0.595 2.175-0.012 0.020-0.022 0.041-0.032 0.063-0.063 0.091-0.101 0.201-0.101 0.32v2.832c0 0.307 0.248 0.557 0.555 0.559l9.42 0.068c0.001 0 0.003 0 0.004 0 0.307 0 0.557-0.248 0.559-0.555 0.002-0.309-0.246-0.561-0.555-0.563l-8.865-0.064v-1.405h8.654c0.234 0 0.443-0.145 0.524-0.364l0.153-0.41c0.059-0.158 0.043-0.335-0.043-0.48-0.389-0.657-0.595-1.409-0.595-2.174 0-1.838 1.171-3.467 2.914-4.052 0.16-0.054 0.287-0.176 0.346-0.334l0.009-0.023c0.051-0.136 0.047-0.287-0.011-0.42l-7.287-16.694zM16 20.028c0.619 0 1.122 0.503 1.122 1.122s-0.504 1.122-1.122 1.122c-0.619 0-1.122-0.503-1.122-1.122s0.503-1.122 1.122-1.122zM19.424 25.983c0 0.802 0.179 1.591 0.52 2.31h-7.887c0.341-0.719 0.52-1.509 0.52-2.31 0-2.121-1.235-4.020-3.127-4.894l5.991-13.726v11.616c-0.966 0.249-1.682 1.128-1.682 2.17 0 1.236 1.005 2.241 2.241 2.241s2.241-1.005 2.241-2.241c0-1.043-0.716-1.921-1.682-2.17v-11.616l5.991 13.726c-1.892 0.874-3.127 2.773-3.127 4.894z"}))},u=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M30.424 0.171h-28.847c-0.775 0-1.406 0.631-1.406 1.406v28.848c0 0.775 0.631 1.406 1.406 1.406h28.847c0.775 0 1.406-0.631 1.406-1.406v-28.848c0-0.775-0.631-1.406-1.406-1.406zM1.576 1.282h28.847c0.162 0 0.294 0.132 0.294 0.294v3.45h-29.435v-3.45c0-0.162 0.132-0.294 0.294-0.294zM30.424 30.718h-28.847c-0.162 0-0.294-0.132-0.294-0.294v-24.286h29.435v24.286c0 0.162-0.132 0.294-0.294 0.294zM3.688 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM6.507 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM9.326 3.994c0.493 0 0.893-0.4 0.893-0.893s-0.4-0.893-0.893-0.893-0.893 0.4-0.893 0.893c0 0.493 0.4 0.893 0.893 0.893zM20.662 19.394l3.855-3.758c0.152-0.148 0.206-0.369 0.141-0.57s-0.239-0.348-0.449-0.378l-5.328-0.774-2.383-4.828c-0.094-0.19-0.287-0.31-0.498-0.31s-0.405 0.12-0.498 0.31l-2.383 4.828-5.328 0.774c-0.209 0.030-0.383 0.177-0.449 0.378s-0.011 0.422 0.141 0.57l3.855 3.758-0.91 5.307c-0.036 0.209 0.050 0.419 0.221 0.544s0.398 0.141 0.585 0.042l4.766-2.506 4.766 2.506c0.081 0.043 0.17 0.064 0.259 0.064 0.115 0 0.23-0.036 0.327-0.106 0.171-0.124 0.257-0.335 0.221-0.544l-0.91-5.307zM16.259 21.661c-0.162-0.085-0.355-0.085-0.517 0l-4.027 2.117 0.769-4.485c0.031-0.18-0.029-0.364-0.16-0.492l-3.258-3.176 4.503-0.654c0.181-0.026 0.338-0.14 0.418-0.304l2.014-4.080 2.014 4.080c0.081 0.164 0.238 0.278 0.419 0.304l4.503 0.654-3.258 3.176c-0.131 0.128-0.191 0.312-0.16 0.492l0.769 4.485-4.027-2.117zM16 25.179c-0.307 0-0.556 0.249-0.556 0.556v1.887c0 0.307 0.249 0.556 0.556 0.556s0.556-0.249 0.556-0.556v-1.887c0-0.307-0.249-0.556-0.556-0.556zM25.319 20.446l-1.794-0.583c-0.293-0.095-0.606 0.065-0.7 0.357s0.065 0.606 0.357 0.7l1.794 0.583c0.057 0.019 0.115 0.027 0.172 0.027 0.234 0 0.452-0.149 0.529-0.384 0.095-0.292-0.065-0.606-0.357-0.7zM20.218 12.197c0.099 0.072 0.213 0.106 0.326 0.106 0.172 0 0.341-0.079 0.45-0.229l1.109-1.526c0.18-0.248 0.125-0.596-0.123-0.776s-0.596-0.125-0.776 0.123l-1.109 1.526c-0.18 0.248-0.125 0.596 0.123 0.776zM11.006 12.075c0.109 0.15 0.278 0.229 0.45 0.229 0.113 0 0.228-0.034 0.326-0.106 0.248-0.18 0.303-0.528 0.123-0.776l-1.109-1.526c-0.18-0.248-0.528-0.303-0.776-0.123s-0.303 0.528-0.123 0.776l1.109 1.526zM8.475 19.863l-1.794 0.583c-0.292 0.095-0.452 0.408-0.357 0.7 0.076 0.235 0.294 0.384 0.529 0.384 0.057 0 0.115-0.009 0.172-0.027l1.794-0.583c0.292-0.095 0.452-0.408 0.357-0.7s-0.408-0.452-0.7-0.357z"}))},s=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M6.348 13.197c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.803-2.873-2.769-2.873zM25.842 3.161c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557zM25.742 22.433c-0.826 0-1.641 0.22-2.359 0.636-0.567 0.328-1.040 0.758-1.41 1.252l-11.344-6.569c0.069-0.174 0.13-0.353 0.179-0.537 0.276-1.036 0.194-2.11-0.226-3.079l11.319-6.555c0.878 1.235 2.316 1.986 3.848 1.986 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353-0.826 0-1.641 0.22-2.359 0.636-2.051 1.188-2.872 3.694-2.015 5.833l-11.344 6.569c-0.884-1.176-2.285-1.888-3.776-1.888-0.825 0-1.641 0.22-2.359 0.636-2.25 1.303-3.021 4.194-1.718 6.444 0.841 1.452 2.406 2.353 4.085 2.353 0.826 0 1.641-0.22 2.359-0.636 0.595-0.345 1.097-0.805 1.483-1.35l11.319 6.554c-0.567 1.323-0.526 2.888 0.249 4.227 0.841 1.452 2.406 2.353 4.085 2.353 0.825 0 1.641-0.22 2.359-0.636 1.090-0.631 1.869-1.649 2.194-2.866s0.155-2.488-0.476-3.578c-0.841-1.452-2.406-2.353-4.085-2.353zM23.941 1.734c0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.798-0.995-1.719-0.407-3.927 1.312-4.922zM8.056 19.117c-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.833 0.611 1.803 0.363 2.733s-0.843 1.707-1.675 2.189zM29.226 28.077c-0.248 0.93-0.843 1.707-1.675 2.189-0.549 0.318-1.171 0.486-1.801 0.486-1.283 0-2.479-0.689-3.121-1.797-0.995-1.719-0.407-3.927 1.312-4.922 0.549-0.318 1.171-0.486 1.801-0.486 1.283 0 2.479 0.689 3.121 1.798 0.482 0.832 0.611 1.803 0.363 2.733zM25.842 24.346c-0.308 0-0.557 0.249-0.557 0.557s0.249 0.557 0.557 0.557c0.495 0 1.655 0.598 1.655 1.759 0 0.308 0.249 0.557 0.557 0.557s0.557-0.249 0.557-0.557c0-1.886-1.802-2.873-2.769-2.873z"}))},b=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M16 27.667l7.849-7.849c0.146-0.139 0.464-0.469 0.478-0.483l0.006-0.007c1.972-2.116 3.059-4.874 3.059-7.766 0-6.282-5.11-11.392-11.392-11.392s-11.392 5.11-11.392 11.392c0 2.893 1.086 5.651 3.058 7.766l8.334 8.339zM16 1.265c5.677 0 10.297 4.619 10.297 10.297 0 2.613-0.981 5.104-2.761 7.016-0.092 0.096-0.343 0.353-0.446 0.451l-7.089 7.089-7.539-7.543c-1.779-1.911-2.758-4.401-2.758-7.012 0-5.678 4.619-10.297 10.297-10.297zM17.755 4.005c1.966 0 5.792 2.149 5.792 6.090 0 0.303 0.245 0.548 0.548 0.548s0.548-0.245 0.548-0.548c0-2.051-0.906-3.953-2.552-5.354-1.306-1.112-3.008-1.831-4.335-1.831-0.302 0-0.548 0.245-0.548 0.548s0.245 0.548 0.548 0.548zM22.875 24.197c-0.427-0.174-0.886-0.33-1.371-0.467l-0.897 0.897c2.645 0.631 4.275 1.756 4.275 2.802 0 1.564-3.648 3.306-8.882 3.306s-8.882-1.742-8.882-3.306c0-1.045 1.631-2.171 4.275-2.802l-0.897-0.897c-0.485 0.137-0.944 0.293-1.371 0.467-2.001 0.818-3.102 1.966-3.102 3.232s1.102 2.415 3.102 3.232c1.845 0.754 4.287 1.169 6.875 1.169s5.030-0.415 6.875-1.169c2.001-0.818 3.102-1.966 3.102-3.232s-1.102-2.415-3.102-3.232zM16.032 16.804c-3.043 0-5.519-2.476-5.519-5.519s2.476-5.519 5.519-5.519c3.043 0 5.519 2.476 5.519 5.519s-2.476 5.519-5.519 5.519zM16.032 6.862c-2.439 0-4.423 1.984-4.423 4.423s1.984 4.423 4.423 4.423c2.439 0 4.423-1.984 4.423-4.423s-1.984-4.423-4.423-4.423z"}))},g=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M4.285 5.775c0.004 0 0.009 0.001 0.013 0.001h8.279c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-8.279c-0.307 0-0.556 0.249-0.556 0.556 0 0.302 0.242 0.548 0.542 0.555zM3.743 8.005c0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556h-13.679c-0.307 0-0.556 0.249-0.556 0.556zM17.977 10.236h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 13.022h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 15.807h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM17.977 18.593h-13.679c-0.307 0-0.556 0.249-0.556 0.555s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.555-0.556-0.555zM17.977 21.379h-13.679c-0.307 0-0.556 0.249-0.556 0.556s0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556s-0.249-0.556-0.556-0.556zM17.977 24.165h-13.679c-0.145 0-0.276 0.056-0.375 0.147-0.11 0.102-0.18 0.247-0.18 0.409 0 0.307 0.249 0.556 0.556 0.556h13.679c0.307 0 0.556-0.249 0.556-0.556 0-0.162-0.070-0.307-0.18-0.409-0.099-0.091-0.23-0.147-0.375-0.147zM21.93 4.466l-4.277-3.87c-0.094-0.085-0.212-0.132-0.334-0.139h-15.831c-0.812 0-1.473 0.664-1.473 1.481v28.153c0 0.817 0.661 1.481 1.473 1.481h19.174c0.812 0 1.473-0.664 1.473-1.481v-25.222c-0.008-0.163-0.086-0.308-0.205-0.403zM17.833 2.238l2.331 2.109h-2.331v-2.109zM21.043 30.091c0 0.215-0.171 0.39-0.381 0.39h-19.174c-0.21 0-0.382-0.175-0.382-0.39v-28.153c0-0.215 0.171-0.39 0.382-0.39h15.251v3.348c0 0.303 0.245 0.549 0.547 0.549h3.758v24.647zM31.975 3.213c-0.125-1.57-1.442-2.809-3.044-2.809-0 0-0 0-0 0-0.816 0-1.583 0.318-2.16 0.895-0.519 0.519-0.827 1.191-0.884 1.915h-0.010v0.242c0 0.001-0 0.002-0 0.003s0 0.001 0 0.001l-0 24.342h0.003c0.010 0.096 0.045 0.191 0.108 0.273l2.509 3.305c0.103 0.136 0.264 0.216 0.435 0.216s0.331-0.080 0.435-0.216l2.508-3.305c0.063-0.083 0.098-0.177 0.108-0.274h0.003v-24.589h-0.011zM27.543 2.070c0.371-0.371 0.864-0.575 1.388-0.575h0c0.893 0 1.649 0.6 1.886 1.417h-3.772c0.091-0.315 0.26-0.604 0.498-0.842zM28.362 26.711l-1.394 0 0-22.406h3.926v22.406h-1.442l0-18.071-1.090 0 0 18.071zM28.931 30.148l-1.781-2.346 3.562-0-1.781 2.346z"}))},f=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.908 1.543c0-0.815-0.677-1.478-1.51-1.478h-28.731c-0.815 0-1.478 0.677-1.478 1.51v14.441c0 0.022 0.002 0.044 0.004 0.065-0.003 0.021-0.004 0.043-0.004 0.065v14.357c0 0.815 0.677 1.478 1.51 1.478h28.731c0.815 0 1.478-0.677 1.478-1.51v-14.441c0-0.022-0.002-0.044-0.004-0.065 0.003-0.021 0.004-0.043 0.004-0.065v-14.357zM30.792 1.543v13.799h-4.324c0.587-0.66 0.932-1.525 0.932-2.453 0-0.737-0.218-1.423-0.592-2-0.648-1.066-1.82-1.78-3.156-1.78-2.034 0-3.689 1.655-3.689 3.689 0 0.745 0.223 1.449 0.615 2.039 0.111 0.178 0.236 0.347 0.376 0.504h-4.372v-6.025c0-0.184-0.090-0.347-0.228-0.449-0.101-0.103-0.242-0.167-0.398-0.167h-0.173c-0.24 0-0.453 0.153-0.529 0.38-0.352 1.049-1.332 1.754-2.439 1.754-0.419 0-0.815-0.101-1.166-0.28-0.776-0.444-1.301-1.279-1.301-2.235 0-1.419 1.154-2.574 2.574-2.574 0.408 0 0.799 0.096 1.147 0.27 0.546 0.305 0.976 0.804 1.185 1.426 0.052 0.155 0.169 0.275 0.314 0.335 0.092 0.065 0.204 0.103 0.322 0.103h0.133c0.308 0 0.558-0.25 0.558-0.558v-6.142h13.816c0.217 0 0.394 0.162 0.394 0.362zM1.305 1.575c0-0.217 0.162-0.394 0.362-0.394h13.732v4.404c-0.239-0.216-0.505-0.401-0.793-0.549-0.536-0.297-1.148-0.464-1.791-0.464-2.034 0-3.689 1.655-3.689 3.689 0 1.423 0.81 2.659 1.992 3.274 0.534 0.301 1.149 0.473 1.804 0.473 0.939 0 1.813-0.354 2.476-0.955v4.404h-6.016c-0.308 0-0.558 0.25-0.558 0.558v0.173c0 0.127 0.043 0.245 0.117 0.34 0.065 0.129 0.178 0.231 0.321 0.279 0.562 0.189 1.023 0.558 1.332 1.030 0.232 0.39 0.364 0.842 0.364 1.318 0 1.419-1.154 2.574-2.574 2.574-0.894 0-1.682-0.458-2.144-1.151-0.236-0.389-0.372-0.844-0.372-1.331-0-1.107 0.705-2.087 1.754-2.44 0.227-0.076 0.38-0.289 0.38-0.529v-0.133c0-0.106-0.030-0.204-0.081-0.288-0.068-0.231-0.282-0.4-0.535-0.4h-6.084v-13.883zM1.305 30.505v-13.799h4.324c-0.587 0.66-0.932 1.525-0.932 2.453 0 0.737 0.218 1.424 0.592 2 0.647 1.066 1.82 1.78 3.156 1.78 2.034 0 3.689-1.655 3.689-3.689-0-0.745-0.223-1.449-0.615-2.040-0.111-0.178-0.236-0.347-0.376-0.504h4.372v6.025c0 0.184 0.090 0.347 0.228 0.449 0.101 0.103 0.242 0.167 0.398 0.167h0.173c0.24 0 0.453-0.153 0.529-0.38 0.352-1.049 1.332-1.754 2.439-1.754 0.419 0 0.815 0.101 1.165 0.28 0.776 0.444 1.301 1.279 1.301 2.236 0 1.419-1.154 2.574-2.574 2.574-0.408 0-0.799-0.096-1.147-0.27-0.546-0.305-0.976-0.804-1.185-1.426-0.052-0.155-0.169-0.275-0.314-0.336-0.092-0.065-0.204-0.103-0.322-0.103h-0.133c-0.308 0-0.558 0.25-0.558 0.558v6.142h-13.816c-0.217-0-0.394-0.163-0.394-0.362zM30.792 30.472c0 0.217-0.162 0.394-0.362 0.394h-13.732v-4.404c0.239 0.216 0.505 0.401 0.792 0.548 0.536 0.297 1.148 0.464 1.791 0.464 2.034 0 3.689-1.655 3.689-3.689 0-1.423-0.81-2.659-1.993-3.274-0.534-0.301-1.149-0.473-1.804-0.473-0.939 0-1.813 0.354-2.476 0.955v-4.404h6.016c0.308 0 0.558-0.25 0.558-0.558v-0.173c0-0.126-0.044-0.245-0.117-0.34-0.064-0.129-0.178-0.231-0.321-0.279-0.562-0.189-1.023-0.558-1.332-1.030-0.232-0.389-0.363-0.842-0.363-1.318 0-1.419 1.154-2.574 2.574-2.574 0.894 0 1.682 0.458 2.144 1.151 0.236 0.389 0.372 0.844 0.372 1.331 0 1.107-0.705 2.087-1.754 2.439-0.227 0.076-0.38 0.289-0.38 0.529v0.133c0 0.106 0.030 0.204 0.081 0.289 0.068 0.231 0.282 0.4 0.535 0.4h6.084v13.883z"}))},y=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M15.517 23.581c-0.036 0.002-0.069-0.003-0.102-0.009-0.108-0.019-0.211-0.070-0.294-0.153l-9.153-9.153c-0.104-0.104-0.162-0.245-0.162-0.392s0.058-0.288 0.163-0.392l2.13-2.129c0.217-0.217 0.568-0.217 0.784 0l6.633 6.633 12.94-12.94c0.217-0.217 0.568-0.217 0.785 0l2.13 2.13c0.104 0.104 0.163 0.245 0.163 0.392s-0.058 0.288-0.162 0.392l-15.46 15.46c-0.104 0.104-0.245 0.163-0.392 0.163zM7.145 13.873l8.37 8.37 14.678-14.678-1.345-1.345-12.94 12.94c-0.217 0.217-0.568 0.217-0.785 0l-6.633-6.633-1.345 1.345zM30.087 11.781c0.401 1.337 0.618 2.753 0.618 4.219 0 8.108-6.596 14.704-14.705 14.704s-14.704-6.596-14.704-14.704c0-8.108 6.596-14.705 14.704-14.705 3.79 0 7.25 1.442 9.86 3.805l0.785-0.785c-2.812-2.564-6.549-4.129-10.645-4.129-8.72 0-15.814 7.094-15.814 15.814s7.094 15.814 15.814 15.814c8.72 0 15.814-7.094 15.814-15.814 0-1.784-0.297-3.501-0.845-5.102l-0.883 0.883z"}))},h=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.425 25.368h-3.22v-2.107c-1.234-0.109-2.518-0.463-3.389-0.944l-0.373-0.206 0.93-3.628 0.622 0.341c0.602 0.33 1.835 0.883 3.323 0.883 0.769 0 1.545-0.244 1.545-0.789 0-0.365-0.235-0.783-1.938-1.358-1.985-0.668-4.264-1.78-4.264-4.477 0-2.098 1.387-3.709 3.652-4.289v-2.162h3.22v1.931c1.366 0.11 2.263 0.465 2.838 0.736l0.416 0.196-0.937 3.53-0.621-0.298c-0.539-0.259-1.442-0.692-2.853-0.692-0.488 0-1.307 0.088-1.307 0.681 0 0.448 1.192 0.94 2.231 1.319 2.781 0.973 3.971 2.344 3.971 4.58 0 1.114-0.391 2.124-1.13 2.922-0.668 0.721-1.601 1.236-2.716 1.503v2.328zM15.307 24.266h1.016v-2.139l0.457-0.079c2.090-0.36 3.389-1.676 3.389-3.433 0-1.446-0.551-2.601-3.24-3.542-1.624-0.592-2.962-1.176-2.962-2.357 0-0.862 0.633-1.783 2.409-1.783 1.213 0 2.119 0.278 2.746 0.536l0.36-1.354c-0.565-0.222-1.372-0.445-2.517-0.479l-0.535-0.016v-1.886h-1.016v1.959l-0.45 0.084c-2.005 0.375-3.202 1.61-3.202 3.305 0 1.577 1.051 2.604 3.514 3.432 1.396 0.472 2.688 1.089 2.688 2.402 0 1.149-1.039 1.891-2.647 1.891-1.312 0-2.447-0.366-3.222-0.708l-0.369 1.437c0.709 0.309 1.808 0.617 3.045 0.654l0.535 0.016v2.058zM15.901 30.607c-8.054 0-14.607-6.552-14.607-14.606s6.552-14.607 14.607-14.607c8.054 0 14.607 6.552 14.607 14.607 0 2.567-0.667 4.981-1.834 7.079l1.095 0.293c1.174-2.2 1.841-4.71 1.841-7.373 0-8.662-7.047-15.709-15.709-15.709s-15.709 7.047-15.709 15.709 7.047 15.709 15.709 15.709c2.752 0 5.34-0.712 7.592-1.96l-0.294-1.099c-2.148 1.244-4.641 1.957-7.297 1.957zM29.539 31.709c-0.141 0-0.282-0.054-0.39-0.161l-2.673-2.673-0.86 1.786c-0.1 0.208-0.32 0.331-0.548 0.31s-0.421-0.184-0.481-0.406l-1.977-7.377c-0.051-0.19 0.004-0.393 0.143-0.532s0.342-0.194 0.532-0.143l7.377 1.977c0.222 0.060 0.385 0.252 0.406 0.481s-0.102 0.448-0.31 0.548l-1.787 0.86 2.673 2.672c0.103 0.103 0.161 0.244 0.161 0.39s-0.058 0.286-0.161 0.39l-1.717 1.717c-0.108 0.107-0.249 0.161-0.39 0.161zM26.318 27.385c0.145 0 0.285 0.057 0.39 0.161l2.832 2.832 0.938-0.938-2.832-2.832c-0.126-0.126-0.184-0.306-0.154-0.482s0.143-0.327 0.304-0.404l1.148-0.552-5.020-1.345 1.345 5.020 0.552-1.148c0.077-0.161 0.228-0.274 0.404-0.304 0.031-0.005 0.062-0.008 0.092-0.008zM20.272 5.201c1.977 0 5.826 2.162 5.826 6.126 0 0.304 0.247 0.551 0.551 0.551s0.551-0.247 0.551-0.551c0-2.063-0.912-3.976-2.568-5.387-1.314-1.119-3.025-1.842-4.361-1.842-0.304 0-0.551 0.247-0.551 0.551s0.247 0.551 0.551 0.551z"}))},w=function(){return wp.element.createElement(o,{viewBox:"0 0 32 32",style:{padding:"1px",fill:"#000000"},xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M31.438 1.423h-30.877c-0.31 0-0.562 0.251-0.562 0.562v22.175c0 0.31 0.251 0.562 0.562 0.562h3.103v5.294c0 0.201 0.107 0.386 0.281 0.486 0.087 0.050 0.184 0.075 0.281 0.075s0.194-0.025 0.281-0.075l10.012-5.78h16.919c0.31 0 0.562-0.251 0.562-0.562v-22.175c0-0.31-0.251-0.562-0.562-0.562zM30.877 23.598h-16.508c-0.099 0-0.195 0.026-0.281 0.075l-9.3 5.369v-4.883c0-0.31-0.251-0.562-0.562-0.562h-3.103v-21.052h29.753v21.052zM4.386 7.532h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 11.865h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 16.198h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.251-0.562 0.562s0.251 0.562 0.562 0.562zM4.386 20.53h22.894c0.31 0 0.562-0.251 0.562-0.562s-0.251-0.562-0.562-0.562h-22.894c-0.31 0-0.562 0.252-0.562 0.562s0.251 0.562 0.562 0.562z"}))},v=function(){return wp.element.createElement(o,{viewBox:"0 0 512 512",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"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"}))},k=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"4.744",width:"11.022",height:"2.512"}))},T=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{y:"8.744",width:"11.022",x:"4.489",height:"2.512"}))},E=function(){return wp.element.createElement(o,{className:"wp-block-themeisle-icon-buttom-group-custom-icon",viewBox:"0 0 20 20",xmlns:"http://www.w3.org/2000/svg"},wp.element.createElement(l,{d:"M17.294,17.287l-14.588,0l0,-14.574l14.588,0c0,4.858 0,9.716 0,14.574Zm-13.738,-0.85l12.888,0l0,-12.874l-12.888,0c0,4.291 0,8.583 0,12.874Z"}),wp.element.createElement("rect",{x:"4.489",y:"12.802",width:"11.022",height:"2.512"}))},x=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24",width:"20",height:"20"},wp.element.createElement(l,{d:"M5 5H3v2h2V5zm3 8h11v-2H8v2zm9-8H6v2h11V5zM7 11H5v2h2v-2zm0 8h2v-2H7v2zm3-2v2h11v-2H10z"})),C=wp.element.createElement(o,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},wp.element.createElement(l,{d:"M9 18.6L3.5 13l1-1L9 16.4l9.5-9.9 1 1z"}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(42),wp.components.ColorIndicator);t.a=function(e){var t=e.label,n=e.colorValue,a=e.className,r=e.children;return wp.element.createElement("div",{className:l()("components-base-control","wp-block-themeisle-blocks-color-base-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},t&&wp.element.createElement("span",{className:"components-base-control__label"},t,n&&wp.element.createElement(o,{colorValue:n})),r))}},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(44),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Dropdown,p=i.Icon,m=i.IconButton,u=wp.compose,s=u.compose,b=u.withInstanceId,g=wp.data,f=g.withSelect,y=g.withDispatch,h=wp.viewport.withViewportMatch;t.a=s(b,h({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}),f((function(e,t){var n=e("themeisle-gutenberg/data").getView,a=e("core/edit-post").__experimentalGetPreviewDeviceType,l=!(t.isLarger||t.isLarge||t.isSmall||t.isSmaller);return{view:a&&!l?a():n()}})),y((function(e,t){var n=e("themeisle-gutenberg/data").updateView,a=e("core/edit-post").__experimentalSetPreviewDeviceType,l=!(t.isLarger||t.isLarge||t.isSmall||t.isSmaller);return{updateView:a&&!l?a:n}})))((function(e){var t=e.instanceId,n=e.label,a=e.className,i=e.children,u=e.view,s=e.updateView,b="inspector-responsive-control-".concat(t);return wp.element.createElement("div",{id:b,className:l()("wp-block-themeisle-blocks-responsive-control",a)},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(d,{position:"top left",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(m,{icon:"Mobile"===u?"smartphone":u.toLowerCase(),label:r("Responsiveness Settings"),className:"is-button",onClick:n,"aria-expanded":t})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-responsive-control-settings-title"},r("View")),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Desktop"===u}),onClick:function(){return s("Desktop")}},"Desktop"===u&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Desktop"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Tablet"===u}),onClick:function(){return s("Tablet")}},"Tablet"===u&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Tablet"))),wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-responsive-control-settings-item",{"is-selected":"Mobile"===u}),onClick:function(){return s("Mobile")}},"Mobile"===u&&wp.element.createElement(p,{icon:o.e}),wp.element.createElement("span",{className:"popover-title"},r("Mobile"))))}}))),i))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=(n(45),wp.element),r=o.Fragment,i=o.useRef,c=function(e){var t=e.id,n=e.index,a=e.option,l=e.min,o=e.max,c=e.onChange,d=i(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-sizing-control-item"},n.disabled?wp.element.createElement("input",{type:"number",disabled:n.disabled,className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a)}):wp.element.createElement(r,null,wp.element.createElement("input",{type:"number",className:"wp-block-themeisle-blocks-sizing-control-item-input",id:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t),value:void 0!==n.value?n.value:"",min:l,max:o,ref:d,onChange:function(e){return c(n.type,parseInt(e.target.value))}})),n.label&&wp.element.createElement("label",{className:"wp-block-themeisle-blocks-sizing-control-item-label",htmlFor:"wp-block-themeisle-blocks-sizing-control-item-input-".concat(a,"-").concat(t)},n.label))},d=wp.i18n.__,p=wp.components.IconButton,m=wp.compose.withInstanceId;t.a=m((function(e){var t=e.instanceId,n=e.label,a=e.type,o=e.min,r=e.max,i=e.changeType,m=e.options,u=e.onChange,s="inspector-sizing-control-".concat(t);return m&&1>m.length?d("Please specify more options."):wp.element.createElement("div",{id:s,className:"wp-block-themeisle-blocks-sizing-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("label",{className:"components-base-control__label",htmlFor:s},n),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-wrapper",{linking:a})},m.map((function(e,n){return wp.element.createElement(c,{id:t,index:e,option:n,min:o,max:r,onChange:u})})),a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-sizing-control-item","toggle-linking",{"is-linked":"linked"===a})},wp.element.createElement(p,{icon:"linked"===a?"admin-links":"editor-unlink",tooltip:d("linked"===a?"Unlink Values":"Link Values"),className:"wp-block-themeisle-blocks-sizing-control-item-input",onClick:function(){return i("linked"===a?"unlinked":"linked")}})))))}))},function(e,t,n){"use strict";t.a={"themeisle-blocks/advanced-heading":{tag:"h2",headingColor:"#000000",fontStyle:"normal",textTransform:"none",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:0,paddingTop:0,paddingRight:0,paddingBottom:0,paddingLeft:0,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:0,marginTop:0,marginBottom:25},"themeisle-blocks/button-group":{spacing:20,collapse:"collapse-none",fontSize:18,fontStyle:"normal",data:{color:"#ffffff",background:"#32373c",paddingTopBottom:12,paddingLeftRight:24}},"themeisle-blocks/font-awesome-icons":{fontSize:16,padding:5,margin:5},"themeisle-blocks/advanced-columns":{columnsGap:"default",paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginBottom:20,columnsHTMLTag:"div",horizontalAlign:"unset",columnsHeight:"auto",verticalAlign:"unset",hide:!1,hideTablet:!1,hideMobile:!1},"themeisle-blocks/advanced-column":{paddingType:"linked",paddingTypeTablet:"linked",paddingTypeMobile:"linked",padding:20,paddingTop:20,paddingRight:20,paddingBottom:20,paddingLeft:20,marginType:"unlinked",marginTypeTablet:"unlinked",marginTypeMobile:"unlinked",margin:20,marginTop:20,marginRight:0,marginBottom:20,marginLeft:0,columnsHTMLTag:"div"}}},,function(e,t,n){"use strict";n(55);var a=wp.components,l=a.Dropdown,o=a.IconButton,r=wp.compose.withInstanceId;t.a=r((function(e){var t=e.label,n=e.instanceId,a=e.children,r="inspector-control-panel-control-".concat(n);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-control-panel-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label",for:r},t),wp.element.createElement("div",{className:"floating-controls"},wp.element.createElement(l,{position:"top left",headerTitle:t,expandOnMobile:!0,renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(o,{id:r,icon:"admin-settings",label:t,className:"is-button",onClick:a,"aria-expanded":n})},renderContent:function(){return wp.element.createElement("div",{className:"wp-block-themeisle-popover-settings"},a)}})))))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(43);function o(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||i(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||i(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){if(e){if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=lodash,p=d.startCase,m=d.toLower,u=wp.i18n.__,s=wp.compose.withInstanceId,b=wp.components,g=b.Button,f=b.BaseControl,y=b.Dropdown,h=b.MenuGroup,w=b.MenuItem,v=b.SelectControl,k=b.TextControl,T=wp.element,E=T.useEffect,x=T.useState;t.a=s((function(e){var t=e.instanceId,n=e.label,a=e.value,i=e.valueVariant,c=e.valueStyle,d=e.valueTransform,s=e.isSelect,b=void 0!==s&&s,T=e.onChangeFontFamily,C=e.onChangeFontVariant,S=e.onChangeFontStyle,M=e.onChangeTextTransform;E((function(){fetch("https://www.googleapis.com/webfonts/v1/webfonts?key=AIzaSyClGdkPJ1BvgLOol5JAkQY4Mv2lkLYu00k").then((function(e){return e.json()})).then((function(e){R(e.items),a&&e.items.find((function(e){if(a===e.family){var t=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}}));return A(t)}}))}))}),[]);var B=r(x(null),2),O=B[0],R=B[1],L=r(x(null),2),N=L[0],A=L[1],P=r(x(""),2),z=P[0],I=P[1],H="inspector-google-fonts-control-".concat(t);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-fonts-control"},wp.element.createElement(f,{label:n,id:H},null!==O?b?wp.element.createElement(v,{value:a||"",id:H,options:[{label:u("Default"),value:""}].concat(o(O.map((function(e){return{label:e.family,value:e.family}})))),onChange:function(e){var t=[];if(""===e)return t=[{label:u("Regular"),value:"regular"},{label:u("Italic"),value:"italic"}],T(void 0),void A(t);T(e),t=O.find((function(t){return e===t.family})).variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}})),A(t)}}):wp.element.createElement(y,{contentClassName:"wp-block-themeisle-blocks-google-fonts-popover",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(g,{isLarge:!0,className:"wp-block-themeisle-blocks-google-fonts-button",id:H,onClick:n,"aria-expanded":t},a||u("Select Font Family"))},renderContent:function(e){var t=e.onToggle;return wp.element.createElement(h,{label:u("Google Fonts")},wp.element.createElement(k,{value:z,onChange:function(e){return I(e)}}),wp.element.createElement("div",{className:"components-popover__items"},wp.element.createElement(w,{onClick:function(){t(),T(void 0),A([]),I("")}},u("Default")),O.map((function(e){if(!z||e.family.toLowerCase().includes(z.toLowerCase()))return wp.element.createElement(w,{className:l()({"is-selected":e.family===a}),onClick:function(){t(),T(e.family);var n=e.variants.filter((function(e){return!1===e.includes("italic")})).map((function(e){return{label:p(m(e)),value:e}}));A(n),I("")}},e.family)}))))}}):u("Loading…")),N&&wp.element.createElement(v,{label:u("Font Width"),value:i||"regular",options:N,onChange:C}),wp.element.createElement(v,{label:u("Font Style"),value:c,options:[{label:u("Regular"),value:"normal"},{label:u("Italic"),value:"italic"}],onChange:S}),wp.element.createElement(v,{label:u("Font Transform"),value:d,options:[{label:u("Default"),value:"none"},{label:u("Uppercase"),value:"uppercase"},{label:u("Lowercase"),value:"lowercase"},{label:u("Capitalize"),value:"capitalize"}],onChange:M}))}))},function(e,t,n){"use strict";n.d(t,"b",(function(){return l})),n.d(t,"a",(function(){return o}));var a=wp.i18n.__,l=function(e){var t=document.createElement("div");return t.innerHTML=e,void 0!==t.innerText?t.innerText:t.textContent},o=function(e){var t=[a("January"),a("February"),a("March"),a("April"),a("May"),a("June"),a("July"),a("August"),a("September"),a("October"),a("November"),a("December")],n=(e=new Date(e)).getDate(),l=e.getMonth(),o=e.getFullYear();return n+" "+t[l]+", "+o}},function(e,t){e.exports=React},function(e,t,n){"use strict";n.d(t,"b",(function(){return b})),n.d(t,"a",(function(){return g}));var a=n(0),l=n.n(a),o=(n(64),wp.components),r=o.BaseControl,i=o.Button,c=o.Dropdown,d=o.IconButton,p=o.Toolbar,m=wp.compose.withInstanceId,u=wp.blockEditor.BlockControls,s=wp.element.Fragment,b=m((function(e){var t=e.instanceId,n=e.label,a=e.value,o=e.options,c=e.onChange,d="inspector-style-switcher-control-".concat(t);return wp.element.createElement(r,{id:d,label:n},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},o.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===a}),tabIndex:"0",onClick:function(){return function(e){return c(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))})),g=function(e){var t=e.label,n=e.value,a=e.options,o=e.onChange;return wp.element.createElement(u,null,wp.element.createElement(p,{className:"wp-themesiel-blocks-block-styles-components-toolbar"},wp.element.createElement(c,{contentClassName:"wp-themesiel-blocks-block-styles-popover-content",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(d,{className:"components-dropdown-menu__toggle",icon:"admin-appearance",onClick:a,"aria-haspopup":"true","aria-expanded":n,label:t,tooltip:t},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(s,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher"},a.map((function(e){return wp.element.createElement(i,{className:l()("wp-block-themeisle-blocks-style-switcher-item",{"is-active":e.value===n}),tabIndex:"0",onClick:function(){return function(e){return o(e)}(e.value)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-preview"},wp.element.createElement("img",{src:e.image})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-style-switcher-item-label"},e.label))}))))}})))}},,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a);n(72),n(73);t.default=function(e){var t=e.type,n=e.front,a=e.style,o=e.fill,r=e.invert,i=e.width,c=e.height;return"none"!==a&&wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&i?{transform:"".concat(i?"scaleX( ".concat(i/100," )"):"")}:{}},"bigTriangle"===a&&!1===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===r&&wp.element.createElement("svg",{id:"bigTriangle",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===r&&wp.element.createElement("svg",{id:"rightCurve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement("svg",{id:"curve",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===r&&wp.element.createElement("svg",{id:"slant",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"bottom"===t})},wp.element.createElement("path",{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement("svg",{id:"cloud",fill:o,viewBox:"0 0 100 100",width:"100%",height:c?"".concat(c,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:l()({rotate:"top"===t})},wp.element.createElement("path",{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(69),n(2)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.ButtonGroup,p=i.Icon,m=i.IconButton,u=i.Tooltip,s=wp.compose.withInstanceId;t.default=s((function(e){var t=e.label,n=e.instanceId,a=e.backgroundType,i=e.changeBackgroundType,s="inspector-background-control-".concat(n);return wp.element.createElement("div",{id:s,className:"components-base-control wp-block-themeisle-blocks-advanced-columns-background-control"},wp.element.createElement("div",{className:"components-base-control__field"},wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},t),wp.element.createElement(d,{className:"linking-controls"},wp.element.createElement(m,{icon:"admin-customizer",label:r("Color"),className:l()("is-button",{"is-primary":"color"===a}),onClick:function(){i("color")}}),wp.element.createElement(m,{icon:"format-image",label:r("Image"),className:l()("is-button",{"is-primary":"image"===a}),onClick:function(){i("image")}}),wp.element.createElement(u,{text:r("Gradient")},wp.element.createElement(c,{label:r("Gradient"),className:l()("is-button",{"is-primary":"gradient"===a}),onClick:function(){i("gradient")}},wp.element.createElement(p,{icon:o.b})))))))}))},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";t.a={1:{equal:["100"]},2:{equal:["50","50"],oneTwo:["33.34","66.66"],twoOne:["66.66","33.34"]},3:{equal:["33.33","33.33","33.33"],oneOneTwo:["25","25","50"],twoOneOne:["50","25","25"],oneTwoOne:["25","50","25"],oneThreeOne:["20","60","20"]},4:{equal:["25","25","25","25"]},5:{equal:["20","20","20","20","20"]},6:{equal:["16.66","16.66","16.66","16.66","16.66","16.66"]}}},function(e,t,n){"use strict";n(70);var a=n(3),l=n(0),o=n.n(l),r=wp.components,i=r.Dashicon,c=r.Tooltip,d=function(e){var t=e.title,n=e.firstColor,a=e.secondColor,l=e.isSelected,r=e.onChange,d=wp.element.createElement("button",{type:"button","aria-pressed":l,className:o()("wp-block-themeisle-blocks-gradient-picker-control-option",{"is-active":l}),style:{background:"linear-gradient(90deg, ".concat(n," 0%, ").concat(a," 100%)")},onClick:function(){return r(n,0,a,100,"linear",90,"center center")}});return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-option-wrapper"},t?wp.element.createElement(c,{text:t},d):d,l&&wp.element.createElement(i,{icon:"saved"}))},p=wp.i18n.__,m=[{title:p("Reef"),firstColor:"#36d1dc",secondColor:"#5b86e5"},{title:p("Mild"),firstColor:"#67B26F",secondColor:"#4ca2cd"},{title:p("Mojito"),firstColor:"#1D976C",secondColor:"#93F9B9"},{title:p("Nelson"),firstColor:"#f2709c",secondColor:"#ff9472"},{title:p("Orange Fun"),firstColor:"#fc4a1a",secondColor:"#f7b733"},{title:p("Evening Night"),firstColor:"#005AA7",secondColor:"#FFFDE4"},{title:p("Calm Darya"),firstColor:"#5f2c82",secondColor:"#49a09d"},{title:p("Opa"),firstColor:"#3D7EAA",secondColor:"#FFE47A"},{title:p("Bora Bora"),firstColor:"#2BC0E4",secondColor:"#EAECC6"},{title:p("Electric Violet"),firstColor:"#4776E6",secondColor:"#8E54E9"},{title:p("Pinky"),firstColor:"#DD5E89",secondColor:"#F7BB97"},{title:p("Purple Paradise"),firstColor:"#1D2B64",secondColor:"#F8CDDA"}],u=wp.i18n.__,s=wp.components,b=s.Button,g=s.ColorIndicator,f=s.Dropdown,y=s.RangeControl,h=s.SelectControl,w=wp.compose.withInstanceId,v=wp.blockEditor.ColorPalette,k=wp.element.Fragment;t.a=w((function(e){var t,n=e.label,l=e.instanceId,o=e.value,r=e.customGradient,i=void 0===r||r,c=e.onChange,p=e.onChangeValue,s="inspector-gradient-picker-control-".concat(l);t="linear"===o.type?"".concat(o.angle,"deg"):"at ".concat(o.position);var w="".concat(o.type,"-gradient( ").concat(t,", ").concat(o.firstColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.firstLocation,"%, ").concat(o.secondColor||"rgba( 0, 0, 0, 0 )"," ").concat(o.secondLocation,"% )"),T=m.some((function(e){return e.firstColor===o.firstColor&&e.secondColor===o.secondColor}));return wp.element.createElement("div",{id:s,className:"wp-block-themeisle-blocks-gradient-picker-control"},wp.element.createElement("div",{className:"components-base-control__field"},n&&wp.element.createElement("div",{className:"components-base-control__title"},wp.element.createElement("label",{className:"components-base-control__label"},n,!T&&wp.element.createElement(g,{colorValue:w}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-presets"},m.map((function(e){return wp.element.createElement(d,{title:e.title,firstColor:e.firstColor,secondColor:e.secondColor,isSelected:e.firstColor===o.firstColor&&e.secondColor===o.secondColor,onChange:c})})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-gradient-picker-control-custom-wrapper"},i&&wp.element.createElement(f,{className:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-link-action",contentClassName:"wp-block-themeisle-blocks-gradient-picker-control-dropdown-content",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(b,{"aria-expanded":t,onClick:n,isLink:!0},u("Custom Gradient"))},renderContent:function(){return wp.element.createElement(k,null,wp.element.createElement(a.a,{label:u("First Color"),colorValue:o.firstColor},wp.element.createElement(v,{label:u("Color"),clearable:!1,value:o.firstColor,onChange:function(e){return p({firstColor:e})}})),wp.element.createElement(y,{label:u("Location"),value:o.firstLocation,min:0,max:100,onChange:function(e){return p({firstLocation:e})}}),wp.element.createElement(a.a,{label:u("Second Color"),colorValue:o.secondColor},wp.element.createElement(v,{label:u("Color"),clearable:!1,value:o.secondColor,onChange:function(e){return p({secondColor:e})}})),wp.element.createElement(y,{label:u("Location"),value:o.secondLocation,min:0,max:100,onChange:function(e){return p({secondLocation:e})}}),wp.element.createElement(h,{label:u("Type"),value:o.type,options:[{label:"Linear",value:"linear"},{label:"Radial",value:"radial"}],onChange:function(e){return p({type:e})}}),"linear"===o.type?wp.element.createElement(y,{label:u("Angle"),value:o.angle,min:0,max:360,onChange:function(e){return p({angle:e})}}):wp.element.createElement(h,{label:u("Position"),value:o.position,options:[{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){return p({position:e})}}))}}),wp.element.createElement(b,{className:"wp-block-themeisle-blocks-gradient-picker-control-clear",type:"button",isSmall:!0,isDefault:!0,onClick:function(){return c("#ffffff",0,"#ffffff",100,"linear",90,"center center")}},u("Clear"))))))}))},,function(e,t,n){"use strict";var a=n(0),l=n.n(a);n(56);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return r(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var i=wp.i18n.__,c=wp.blockEditor.InspectorAdvancedControls,d=wp.compose.withInstanceId,p=wp.components,m=p.BaseControl,u=p.IconButton,s=p.Notice,b=wp.element.useState;t.a=d((function(e){var t=e.instanceId,n=e.value,a=e.onChange,r=o(b(!1),2),d=r[0],p=r[1],g=o(b(n),2),f=g[0],y=g[1],h=void 0!==window.themeisleGutenberg.blockIDs&&n!==f&&window.themeisleGutenberg.blockIDs.includes(f);return wp.element.createElement(c,null,wp.element.createElement(m,{label:i("HTML Anchor"),help:i("Anchors lets you link directly to a section on a page."),id:"wp-block-themeisle-blocks-html-anchor-control-".concat(t)},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-html-anchor-control"},wp.element.createElement("input",{type:"text",className:"wp-block-themeisle-blocks-html-anchor-control-input",readonly:!d&&"readonly",value:d?f:n,onChange:function(e){return y(e.target.value)},onClick:function(e){return e.target.select()}}),wp.element.createElement(u,{icon:d?"yes":"edit",tooltip:i(d?"Save":"Edit"),disabled:!!h,className:l()("wp-block-themeisle-blocks-html-anchor-control-button",{"is-saved":!d}),onClick:function(){if(d&&n!==f){var e=window.themeisleGutenberg.blockIDs.findIndex((function(e){return e===n}));window.themeisleGutenberg.blockIDs[e]=f,a(f)}p(!d)}}))),h&&wp.element.createElement(s,{status:"warning",isDismissible:!1,className:"wp-block-themeisle-blocks-anchor-control-notice"},i("This ID has already been used in this page. Please consider using a different ID to avoid conflict.")))}))},function(e,t,n){"use strict";var a=n(0),l=n.n(a),o=n(22);n(59);function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.apiFetch,p=wp.components,m=p.BaseControl,u=p.IconButton,s=p.Popover,b=wp.compose,g=b.compose,f=b.withInstanceId,y=wp.data.withSelect,h=wp.element,w=h.useEffect,v=h.useRef,k=h.useState,T=wp.keycodes,E=T.DOWN,x=T.ENTER,C=T.TAB,S=T.UP,M=wp.url.addQueryArgs;t.a=g(f,y((function(e){if(e("core/block-editor"))return{fetchLinkSuggestions:(0,e("core/block-editor").getSettings)().__experimentalFetchLinkSuggestions}})))((function(e){var t=e.instanceId,n=e.label,a=e.help,i=e.placeholder,p=e.value,b=e.className,g=e.onChange,f=e.children,y=e.fetchLinkSuggestions;w((function(){P&&null!==H&&void 0!==B[H]&&!T&&null!==h.current&&(T=!0,Object(o.a)(B[H],h.current,{onlyScrollIfNeeded:!0}),setTimeout((function(){T=!1}),100))}));var h=v(null),T=!1,B=[],O=[],R=r(k(!1),2),L=R[0],N=R[1],A=r(k(!1),2),P=A[0],z=A[1],I=r(k(null),2),H=I[0],_=I[1],j=r(k([]),2),D=j[0],G=j[1],V=function(e){return function(t){B[e]=t}},F=function(e){g(e),z(!1)},W="inspector-link-control-".concat(t);return wp.element.createElement(m,{label:n,id:W,help:a,className:b},wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-link-control-wrapper",{"is-open":L})},wp.element.createElement("input",{type:"url",placeholder:i,value:p,onChange:function(e){g(e.target.value),function(e){var t;1>=e.length||/^https?:/.test(e)?z(!1):(z(!0),(t=y?y(e):d({path:M("/wp/v2/search",{search:e,per_page:20,type:"post"})})).then((function(e){O===t&&(G(e),_(null))})),O=t)}(e.target.value)},onKeyDown:function(e){if(P&&1<=D.length){var t=D[H];switch(e.keyCode){case S:e.stopPropagation(),e.preventDefault();var n=H?H-1:D.length-1;_(n);break;case E:e.stopPropagation(),e.preventDefault();var a=null===H||H===D.length-1?0:H+1;_(a);break;case C:case x:null!==H&&(e.stopPropagation(),F(t.url))}}},className:l()("components-text-control__input",{"is-full":void 0===f})}),P&&0<D.length&&wp.element.createElement(s,{position:"bottom",noArrow:!0,focusOnMount:!1,className:"wp-block-themeisle-blocks-link-control-popover"},wp.element.createElement("div",{ref:h,className:"wp-block-themeisle-blocks-link-control-popover-container"},D.map((function(e,t){return wp.element.createElement("button",{key:e.id,role:"option",tabIndex:"-1",ref:V(t),className:l()("block-editor-url-input__suggestion","editor-url-input__suggestion",{"is-selected":t===H}),onClick:function(){return F(e.url)}},e.title||c("Untitled Post"))})))),void 0!==f&&wp.element.createElement(u,{icon:"admin-generic",tooltip:c("Link Options"),onClick:function(){return N(!L)}})),L&&f)}))},,,,function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=(n(71),n(4)),r=wp.i18n.__,i=wp.components,c=i.Button,d=i.Path,p=i.Rect,m=i.SVG,u=i.Tooltip,s=wp.compose.compose,b=wp.data.withSelect,g=wp.element.Fragment;t.default=s(b((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t,n=e.label,a=e.onClick,i=e.layout,s=e.layoutTablet,b=e.layoutMobile,f=e.columns,y=e.view;return"Desktop"===y?t=i:"Tablet"===y?t=s:"Mobile"===y&&(t=b),wp.element.createElement(o.a,{label:n,className:"wp-block-themeisle-blocks-advanced-columns-layout-control"},1===f&&wp.element.createElement(u,{text:r("Single Row")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}))))||2===f&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwo"===t}),onClick:function(){return a("oneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOne"===t}),onClick:function(){return a("twoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==y||"Tablet"==y)&&wp.element.createElement(u,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||3===f&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("1:1:2")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneOneTwo"===t}),onClick:function(){return a("oneOneTwo")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("2:1:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoOneOne"===t}),onClick:function(){return a("twoOneOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("1:2:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneTwoOne"===t}),onClick:function(){return a("oneTwoOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"31.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("1:3:1")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"oneThreeOne"===t}),onClick:function(){return a("oneThreeOne")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"11.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"33.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==y||"Tablet"==y)&&wp.element.createElement(u,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||4===f&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==y||"Tablet"==y)&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"}))))))||5===f&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"34.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"26.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"18.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==y||"Tablet"==y)&&wp.element.createElement(u,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))||6===f&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Equal")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"equal"===t}),onClick:function(){return a("equal")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"10.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"35.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"29.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.4",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"})))),("Mobile"==y||"Tablet"==y)&&wp.element.createElement(g,null,wp.element.createElement(u,{text:r("Two Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"twoColumnGrid"===t}),onClick:function(){return a("twoColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"18.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"4",y:"26.9",width:"40",height:"2.2"})))),wp.element.createElement(u,{text:r("Three Column Grid")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"threeColumnGrid"===t}),onClick:function(){return a("threeColumnGrid")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"4",y:"22.9",width:"40",height:"2.2"}),wp.element.createElement(p,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(p,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(u,{text:r("Collapsed Rows")},wp.element.createElement(c,{className:l()("wp-block-themeisle-blocks-advanced-column-layout",{selected:"collapsedRows"===t}),onClick:function(){return a("collapsedRows")}},wp.element.createElement(m,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(d,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(p,{x:"6",y:"22.9",width:"36",height:"2.2"})))))))}))},function(e,t,n){"use strict";n.r(t);n(74);var a=n(2),l=n(0),o=n.n(l),r=n(106);n(75);function i(e){return function(e){if(Array.isArray(e))return c(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=lodash,p=d.startCase,m=d.toLower,u=wp.i18n.__,s=wp.components,b=s.Button,g=s.Dashicon,f=s.Icon,y=s.TextControl,h=s.Tooltip,w=s.SelectControl,v=function(e){var t,n=e.preview,l=e.tab,r=e.blocksCategories,c=e.templateCategories,d=e.selectedCategory,s=e.selectedTemplate,v=e.search,k=e.setPreview,T=e.changeTab,E=e.close,x=e.importTemplate,C=e.selectCategory,S=e.changeSearch,M=(t=("block"===l?r:c).map((function(e){return{label:p(m(e)),value:e}})),[{label:u("All Categories"),value:"all"}].concat(i(t)));return wp.element.createElement("div",{className:"library-modal-control-panel"},wp.element.createElement("div",{className:"library-modal-header"},wp.element.createElement("div",{className:"library-modal-header-logo"},n?wp.element.createElement(b,{className:"library-modal-header-tabs-button back-to-library","aria-label":u("Back to Library"),onClick:function(){return k(!n)}},wp.element.createElement(g,{icon:"arrow-left-alt"})," ",u("Back to Library")):wp.element.createElement("div",{className:"library-modal-header-tabs-button"},wp.element.createElement(f,{icon:a.m}))),!n&&wp.element.createElement("div",{className:"library-modal-header-tabs"},wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"block"===l}),onClick:function(){return T("block")}},wp.element.createElement(g,{icon:"screenoptions"}),u("Blocks")),wp.element.createElement(b,{className:o()("library-modal-header-tabs-button",{"is-selected":"template"===l}),onClick:function(){return T("template")}},wp.element.createElement(g,{icon:"editor-table"}),u("Templates"))),wp.element.createElement("div",{className:"library-modal-header-actions"},n&&wp.element.createElement(b,{className:"library-modal-header-tabs-button insert-button",onClick:function(){return x(s.template_url)},tabindex:"0"},wp.element.createElement(g,{icon:"arrow-down-alt",size:16}),u("Insert")),wp.element.createElement(h,{text:u("Close")},wp.element.createElement(b,{className:"library-modal-header-tabs-button","aria-label":u("Close settings"),onClick:E},wp.element.createElement(g,{icon:"no-alt"}))))),!n&&wp.element.createElement("div",{className:"library-modal-actions"},wp.element.createElement(w,{className:"library-modal-category-control",value:"all"===d?"all":d,onChange:C,options:M}),wp.element.createElement(y,{type:"text",value:v||"",placeholder:u("Search"),className:"library-modal-search-control",onChange:S})))},k=wp.i18n.__,T=wp.components.Notice,E=wp.element.Fragment,x=function(e){var t=e.isError,n=e.removeError,a=e.isMissing,l=e.removeMissing,o=e.missingBlocks;return wp.element.createElement(E,null,!Boolean(themeisleGutenberg.isCompatible)&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",isDismissible:!1,className:"version-warning",actions:[{label:k("Update Now"),url:themeisleGutenberg.updatePath}]},k("You are using an older version of Otter. Use the latest version of Otter to have maximum compatibility with Template Library."))),t&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"error",onRemove:n},k("There seems to be an error. Please try again."))),a&&wp.element.createElement("div",{className:"library-modal-error"},wp.element.createElement(T,{status:"warning",className:"library-modal-missing",onRemove:l},k("You seem to be missing some blocks that are required by your selected template."),wp.element.createElement("details",null,wp.element.createElement("summary",null,k("View Missing Blocks")),wp.element.createElement("ul",null,o.map((function(e){return wp.element.createElement("li",null,e)})))))))},C=n(23),S=n.n(C),M=wp.i18n.__,B=wp.blockEditor.BlockPreview,O=wp.components.Button,R=function(e){var t=e.template,n=e.importPreview,a=e.importTemplate;return wp.element.createElement("div",{"aria-label":t.title||M("Untitled Gutenberg Template"),className:"library-modal-content__item",tabindex:"0"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:t.screenshot_url||"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/default.jpg"}))),wp.element.createElement("div",{className:"library-modal-content__footer"},wp.element.createElement("div",{className:"library-modal-content__footer_meta"},wp.element.createElement("h4",{className:"library-modal-content__footer_meta_area"},t.title&&t.title+(t.author&&M(" by ")+t.author),!t.title&&t.author&&M("Author: ")+t.author)),wp.element.createElement("div",{className:"library-modal-content__footer_actions"},B&&wp.element.createElement(O,{isDefault:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return n(t)},tabindex:"0"},M("Preview")),wp.element.createElement(O,{isPrimary:!0,isLarge:!0,className:"library-modal-overlay__actions",onClick:function(){return a(t.template_url)},tabindex:"0"},M("Insert")))))},L=wp.i18n.__,N=wp.blockEditor.BlockPreview,A=wp.components.Spinner,P=(0,wp.viewport.withViewportMatch)({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"})((function(e){var t=e.preview,n=e.isLoaded,a=e.data,l=e.tab,o=e.selectedTemplateContent,r=e.selectedCategory,i=e.search,c=e.importPreview,d=e.importTemplate,p=e.isLarger,m=e.isLarge,u=e.isSmall,s=e.isSmaller,b=1400;return!p&&!m&&u&&!s?b=960:!(p||m||u||s)&&(b=600),t?wp.element.createElement("div",{className:"library-modal-preview"},wp.element.createElement(N,{blocks:o,viewportWidth:b})):n?wp.element.createElement("div",{className:"library-modal-content"},a.map((function(e){if(e.template_url&&("all"===r||e.categories&&e.categories.includes(r))&&(!i||e.keywords&&e.keywords.some((function(e){return e.toLowerCase().includes(i.toLowerCase())})))&&l===e.type)return wp.element.createElement(R,{template:e,importPreview:c,importTemplate:d})})),wp.element.createElement("div",{"aria-label":L("Coming Soon"),className:"library-modal-content__item"},wp.element.createElement("div",{className:"library-modal-content__preview"},wp.element.createElement(S.a,null,wp.element.createElement("img",{src:"https://raw.githubusercontent.com/Codeinwp/gutenberg-templates/master/assets/images/coming-soon.jpg"}))))):wp.element.createElement("div",{className:"library-modal-loader"},wp.element.createElement(A,null))}));function z(e){return(z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function _(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function j(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){_(o,a,l,r,i,"next",e)}function i(e){_(o,a,l,r,i,"throw",e)}r(void 0)}))}}var D=wp.apiFetch,G=wp.components.Modal,V=wp.compose.compose,F=wp.data,W=F.withSelect,q=F.withDispatch,U=wp.element,Z=U.useEffect,$=U.useState,Q=V(W((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/blocks").getBlockTypes;return{block:a(n),availableBlocks:l()}})),q((function(e,t){var n=t.block,a=e("core/block-editor").replaceBlocks;return{importBlocks:function(e){return a(n.clientId,e)}}})))((function(e){var t=e.close,n=e.availableBlocks,a=e.importBlocks;Z((function(){(function(){var e=j(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,D({path:"themeisle-gutenberg-blocks/v1/fetch_templates"});case 2:t=e.sent,n=[],a=[],t.map((function(e){e.categories&&e.template_url&&("block"===e.type&&e.categories.map((function(e){n.push(e)})),"template"===e.type&&e.categories.map((function(e){a.push(e)})))})),n=n.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),a=a.filter((function(e,t,n){return n.indexOf(e)===t})).sort(),B(n),L(a),H(t),m(!0);case 12:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}})()()}),[]);var l=I($("block"),2),i=l[0],c=l[1],d=I($(!1),2),p=d[0],m=d[1],u=I($(!1),2),s=u[0],b=u[1],g=I($(!1),2),f=g[0],y=g[1],h=I($("all"),2),w=h[0],k=h[1],T=I($(""),2),E=T[0],C=T[1],S=I($([]),2),M=S[0],B=S[1],O=I($([]),2),R=O[0],L=O[1],N=I($([]),2),A=N[0],H=N[1],_=I($(!1),2),V=_[0],F=_[1],W=I($(null),2),q=W[0],U=W[1],Q=I($(null),2),K=Q[0],J=Q[1],Y=I($([]),2),X=Y[0],ee=Y[1],te=function(){var e=j(regeneratorRuntime.mark((function e(){var t,n,a=arguments;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=a.length>0&&void 0!==a[0]?a[0]:null,m(!1),e.next=4,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t.template_url)});case 4:n=e.sent,U(t),J(n),m(!0),F(!V);case 9:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}(),ne=function e(t){return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).map((function(n){"clientId"===n&&(t[n]=Object(r.a)()),"innerBlocks"===n&&t[n].map((function(t){e(t)}))})),t},ae=function e(t){var a=!1,l=[];return Array.isArray(t)?t.map((function(t){return e(t)})):"object"===z(t)&&Object.keys(t).some((function(o){"name"===o&&(void 0===n.find((function(e){return e.name===t.name}))&&(l.push(t.name),a=!0));"innerBlocks"===o&&t[o].map((function(t){return e(t)}))})),l=l.concat(l).filter((function(e,t,n){return n.indexOf(e)===t})),ee(l),a},le=function(){var e=j(regeneratorRuntime.mark((function e(t){var n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return F(!1),m(!1),ee([]),e.next=5,D({path:"themeisle-gutenberg-blocks/v1/import_template?url=".concat(t)});case 5:n=e.sent,null!==(n=ne(n))?(m(!0),ae(n)?y(!0):a(n)):(m(!0),b(!0));case 8:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}();return wp.element.createElement(G,{className:o()("wp-block-themeisle-library-modal",{"is-preview":V}),onRequestClose:t,isDismissable:!1,shouldCloseOnClickOutside:!1},wp.element.createElement(v,{preview:V,tab:i,changeTab:function(e){c(e),k("all"),C("")},blocksCategories:M,templateCategories:R,selectedTemplate:q,selectedCategory:w,search:E,setPreview:F,close:t,importTemplate:le,selectCategory:function(e){return k(e)},changeSearch:function(e){return C(e)}}),wp.element.createElement(x,{isError:s,isMissing:f,missingBlocks:X,removeError:function(){return b(!1)},removeMissing:function(){return y(!1)}}),wp.element.createElement(P,{preview:V,isLoaded:p,data:A,tab:i,selectedTemplateContent:K,selectedCategory:w,search:E,importPreview:te,importTemplate:le}))}));function K(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return J(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return J(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Y=wp.i18n.__,X=wp.components,ee=X.Button,te=X.Dashicon,ne=X.Icon,ae=X.Path,le=X.Placeholder,oe=X.Rect,re=X.SVG,ie=X.Tooltip,ce=wp.element.useState;t.default=function(e){var t=e.clientId,n=e.setupColumns,l=K(ce(!1),2),o=l[0],r=l[1];return wp.element.createElement(le,{label:Y("Select Layout"),instructions:Y("Select a layout to start with, or make one yourself."),icon:wp.element.createElement(ne,{icon:a.g}),isColumnLayout:!0,className:"wp-block-themeisle-onboarding-component"},wp.element.createElement("div",{className:"wp-block-themeisle-layout-picker"},wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"oneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(2,"twoOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"28.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"16.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("1:1:2")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"oneOneTwo")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"12.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("2:1:1")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(3,"twoOneOne")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"})))),wp.element.createElement(ie,{text:Y("Equal")},wp.element.createElement(ee,{isLarge:!0,className:"wp-block-themeisle-blocks-advanced-column-layout",onClick:function(){return n(4,"equal")}},wp.element.createElement(re,{viewBox:"0 0 48 48",xmlns:"http://www.w3.org/1999/xlink"},wp.element.createElement(ae,{d:"M41.8,13.2V34.8H6.2V13.2H41.8M42,11H6a2,2,0,0,0-2,2V35a2,2,0,0,0,2,2H42a2,2,0,0,0,2-2V13a2,2,0,0,0-2-2Z"}),wp.element.createElement(oe,{x:"13.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"32.9",y:"13",width:"2.2",height:"22"}),wp.element.createElement(oe,{x:"22.9",y:"13",width:"2.2",height:"22"}))))),wp.element.createElement(ie,{text:Y("Open Template Library")},wp.element.createElement(ee,{isPrimary:!0,isLarge:!0,className:"wp-block-themeisle-template-library",onClick:function(){return r(!0)}},wp.element.createElement(te,{icon:"category"}),Y("Template Library")),o&&wp.element.createElement(Q,{clientId:t,close:function(){return r(!1)}})),wp.element.createElement("div",{className:"wp-block-themeisle-layout-skipper"},wp.element.createElement(ee,{isLink:!0,onClick:function(){return n(1,"equal")}},Y("Skip"))))}},function(e,t,n){"use strict";n.r(t);var a=n(0),l=n.n(a),o=n(10),r=wp.components,i=r.Placeholder,c=r.Spinner,d=(0,wp.data.withSelect)((function(e,t){var n=t.id,a=t.alt,l=t.size,o=n?e("core").getMedia(n):void 0,r=o?0<Object.keys(o.media_details.sizes).length&&o.media_details.sizes[l]?o.media_details.sizes[l].source_url:o.source_url:null;return o?{thumbnail:r,alt:o.alt_text||a}:{alt:a}}))((function(e){var t=e.alt,n=e.id,a=e.thumbnail,l=e.link,o=wp.element.createElement(i,{className:"wp-themeisle-block-spinner"},wp.element.createElement(c,null));return a&&(o=wp.element.createElement("img",{src:a,alt:t,"data-id":n})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-image"},wp.element.createElement("a",{href:l},o))})),p=wp.i18n,m=p.__,u=p.sprintf,s=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-grid","wp-block-themeisle-blocks-posts-grid-columns-".concat(n.columns),{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-body"},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&u(m("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&u(m(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))},b=wp.i18n,g=b.__,f=b.sprintf,y=function(e){var t=e.className,n=e.attributes,a=e.posts,r=e.categoriesList,i=e.authors,c=n.titleTag||"h5";return wp.element.createElement("div",{className:l()(t,"is-list",{"has-shadow":n.imageBoxShadow})},a.map((function(e){var t,a;return r&&(t=r.find((function(t){return t.id===e.categories[0]}))),i&&(a=i.find((function(t){return t.id===e.author}))),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post-blog wp-block-themeisle-blocks-posts-grid-post-plain"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-post"},0!==e.featured_media&&n.displayFeaturedImage&&wp.element.createElement(d,{id:e.featured_media,link:e.link,alt:e.title.rendered,size:n.imageSize}),wp.element.createElement("div",{className:l()("wp-block-themeisle-blocks-posts-grid-post-body",{"is-full":!n.displayFeaturedImage})},n.template.map((function(l){return"category"===l&&void 0!==t&&n.displayCategory&&r?wp.element.createElement("span",{class:"wp-block-themeisle-blocks-posts-grid-post-category"},t.name):"title"===l&&n.displayTitle?wp.element.createElement(c,{className:"wp-block-themeisle-blocks-posts-grid-post-title"},wp.element.createElement("a",{href:e.link},Object(o.b)(e.title.rendered))):"meta"===l&&n.displayMeta&&(n.displayDate||n.displayAuthor)?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-meta"},n.displayDate&&f(g("on %s"),Object(o.a)(e.date)),n.displayAuthor&&void 0!==a&&i&&f(g(" by %s"),a.name)):"description"===l&&0<n.excerptLength&&n.displayDescription?wp.element.createElement("p",{className:"wp-block-themeisle-blocks-posts-grid-post-description"},Object(o.b)(e.excerpt.rendered).substring(0,n.excerptLength)+"…"):void 0})))))})))};t.default=function(e){var t=e.className,n=e.attributes,a=e.posts,l=e.categoriesList,o=e.authors;return"grid"===n.style?wp.element.createElement(s,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):"list"===n.style?wp.element.createElement(y,{className:t,attributes:n,posts:a,categoriesList:l,authors:o}):void 0}},,,function(e,t,n){"use strict";n.r(t);var a,l=n(2);function o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var r,i=(o(a={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},"reverseColumnsTablet",{type:"boolean",default:!1}),o(a,"columnsHTMLTag",{type:"string",default:"div"}),a),c=n(0),d=n.n(c),p=n(7),m=n.n(p);function u(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?u(Object(n),!0).forEach((function(t){b(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):u(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function b(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var g=wp.blockEditor.InnerBlocks,f=wp.components,y=f.SVG,h=f.Path,w=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(y,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"bottom"===t?{transform:"".concat("bottom"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(y,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",style:"top"===t?{transform:"".concat("top"===t?"rotate(180deg)":"")}:{}},wp.element.createElement(h,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))},v=[{attributes:{align:{type:"string"},id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},horizontalAlign:{type:"string",default:"unset"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,c=i.id,p=i.columns,u=i.layout,b=i.layoutTablet,f=i.layoutMobile,y=i.columnsGap,h=i.columnsWidth,v=i.horizontalAlign,k=i.verticalAlign,T=i.backgroundType,E=i.backgroundColor,x=i.backgroundImageURL,C=i.backgroundAttachment,S=i.backgroundPosition,M=i.backgroundRepeat,B=i.backgroundSize,O=i.backgroundGradientFirstColor,R=i.backgroundGradientFirstLocation,L=i.backgroundGradientSecondColor,N=i.backgroundGradientSecondLocation,A=i.backgroundGradientType,P=i.backgroundGradientAngle,z=i.backgroundGradientPosition,I=i.backgroundOverlayOpacity,H=i.backgroundOverlayType,_=i.backgroundOverlayColor,j=i.backgroundOverlayImageURL,D=i.backgroundOverlayAttachment,G=i.backgroundOverlayPosition,V=i.backgroundOverlayRepeat,F=i.backgroundOverlaySize,W=i.backgroundOverlayGradientFirstColor,q=i.backgroundOverlayGradientFirstLocation,U=i.backgroundOverlayGradientSecondColor,Z=i.backgroundOverlayGradientSecondLocation,$=i.backgroundOverlayGradientType,Q=i.backgroundOverlayGradientAngle,K=i.backgroundOverlayGradientPosition,J=i.backgroundOverlayFilterBlur,Y=i.backgroundOverlayFilterBrightness,X=i.backgroundOverlayFilterContrast,ee=i.backgroundOverlayFilterGrayscale,te=i.backgroundOverlayFilterHue,ne=i.backgroundOverlayFilterSaturate,ae=i.backgroundOverlayBlend,le=i.borderType,oe=i.border,re=i.borderTop,ie=i.borderRight,ce=i.borderBottom,de=i.borderLeft,pe=i.borderColor,me=i.borderRadiusType,ue=i.borderRadius,se=i.borderRadiusTop,be=i.borderRadiusRight,ge=i.borderRadiusBottom,fe=i.borderRadiusLeft,ye=i.boxShadow,he=i.boxShadowColor,we=i.boxShadowColorOpacity,ve=i.boxShadowBlur,ke=i.boxShadowSpread,Te=i.boxShadowHorizontal,Ee=i.boxShadowVertical,xe=i.dividerTopType,Ce=i.dividerTopColor,Se=i.dividerTopInvert,Me=i.dividerBottomType,Be=i.dividerBottomColor,Oe=i.dividerBottomInvert,Re=i.hide,Le=i.hideTablet,Ne=i.hideMobile,Ae=i.columnsHTMLTag;("color"===T&&(t={background:E}),"image"===T&&(t={backgroundImage:"url( '".concat(x,"' )"),backgroundAttachment:C,backgroundPosition:S,backgroundRepeat:M,backgroundSize:B}),"gradient"===T)&&(r="linear"===A?"".concat(P,"deg"):"at ".concat(z),t={background:"".concat(A,"-gradient( ").concat(r,", ").concat(O||"rgba( 0, 0, 0, 0 )"," ").concat(R,"%, ").concat(L||"rgba( 0, 0, 0, 0 )"," ").concat(N,"% )")});"linked"===le&&(a={borderWidth:"".concat(oe,"px"),borderStyle:"solid",borderColor:pe}),"unlinked"===le&&(a={borderTopWidth:"".concat(re,"px"),borderRightWidth:"".concat(ie,"px"),borderBottomWidth:"".concat(ce,"px"),borderLeftWidth:"".concat(de,"px"),borderStyle:"solid",borderColor:pe}),"linked"===me&&(l={borderRadius:"".concat(ue,"px")}),"unlinked"===me&&(l={borderTopLeftRadius:"".concat(se,"px"),borderTopRightRadius:"".concat(be,"px"),borderBottomRightRadius:"".concat(ge,"px"),borderBottomLeftRadius:"".concat(fe,"px")}),!0===ye&&(o={boxShadow:"".concat(Te,"px ").concat(Ee,"px ").concat(ve,"px ").concat(ke,"px ").concat(m()(he||"#000000",we))});var Pe,ze=s(s(s(s(s({},t),a),l),o),{},{justifyContent:v});("color"===H&&(n={background:_,opacity:I/100}),"image"===H&&(n={backgroundImage:"url( '".concat(j,"' )"),backgroundAttachment:D,backgroundPosition:G,backgroundRepeat:V,backgroundSize:F,opacity:I/100}),"gradient"===H)&&(Pe="linear"===$?"".concat(Q,"deg"):"at ".concat(K),n={background:"".concat($,"-gradient( ").concat(Pe,", ").concat(W||"rgba( 0, 0, 0, 0 )"," ").concat(q,"%, ").concat(U||"rgba( 0, 0, 0, 0 )"," ").concat(Z,"% )"),opacity:I/100});var Ie=s(s({},n),{},{mixBlendMode:ae,filter:"blur( ".concat(J/10,"px ) brightness( ").concat(Y/10," ) contrast( ").concat(X/10," ) grayscale( ").concat(ee/100," ) hue-rotate( ").concat(te,"deg ) saturate( ").concat(ne/10," )")}),He={};h&&(He={maxWidth:h+"px"});var _e=Re?"":"has-desktop-".concat(u,"-layout"),je=Le?"":"has-tablet-".concat(b,"-layout"),De=Ne?"":"has-mobile-".concat(f,"-layout"),Ge=d()(e.className,"has-".concat(p,"-columns"),_e,je,De,{"hide-in-desktop":Re},{"hide-in-tablet":Le},{"hide-in-mobile":Ne},"has-".concat(y,"-gap"),"has-vertical-".concat(k));return wp.element.createElement(Ae,{className:Ge,id:c,style:ze},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:Ie}),wp.element.createElement(w,{type:"top",front:!0,style:xe,fill:Ce,invert:Se}),wp.element.createElement("div",{className:"innerblocks-wrap",style:He},wp.element.createElement(g.Content,null)),wp.element.createElement(w,{type:"bottom",front:!0,style:Me,fill:Be,invert:Oe}))}},{attributes:{id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},columnsHTMLTag:{type:"string",default:"div"}},supports:{align:["wide","full"],html:!1},save:function(e){var t,n,a,l,o,r,i=e.attributes,c=e.className,p=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(r="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(r,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(a={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(a={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(l={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(l={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(o={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(m()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var u,b=s(s(s(s(s({},t),a),l),o),{},{justifyContent:i.horizontalAlign});("color"===i.backgroundOverlayType&&(n={background:i.backgroundOverlayColor,opacity:i.backgroundOverlayOpacity/100}),"image"===i.backgroundOverlayType&&(n={backgroundImage:"url( '".concat(i.backgroundOverlayImageURL,"' )"),backgroundAttachment:i.backgroundOverlayAttachment,backgroundPosition:i.backgroundOverlayPosition,backgroundRepeat:i.backgroundOverlayRepeat,backgroundSize:i.backgroundOverlaySize,opacity:i.backgroundOverlayOpacity/100}),"gradient"===i.backgroundOverlayType)&&(u="linear"===i.backgroundOverlayGradientType?"".concat(i.backgroundOverlayGradientAngle,"deg"):"at ".concat(i.backgroundOverlayGradientPosition),n={background:"".concat(i.backgroundOverlayGradientType,"-gradient( ").concat(u,", ").concat(i.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientFirstLocation,"%, ").concat(i.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundOverlayGradientSecondLocation,"% )"),opacity:i.backgroundOverlayOpacity/100});var f=s(s({},n),{},{mixBlendMode:i.backgroundOverlayBlend}),y={};i.columnsWidth&&(y={maxWidth:i.columnsWidth+"px"});var h=i.hide?"":"has-desktop-".concat(i.layout,"-layout"),v=i.hideTablet?"":"has-tablet-".concat(i.layoutTablet,"-layout"),k=i.hideMobile?"":"has-mobile-".concat(i.layoutMobile,"-layout"),T=d()(c,"has-".concat(i.columns,"-columns"),h,v,k,{"hide-in-desktop":i.hide},{"hide-in-tablet":i.hideTablet},{"hide-in-mobile":i.hideMobile},"has-".concat(i.columnsGap,"-gap"),"has-vertical-".concat(i.verticalAlign));return wp.element.createElement(p,{className:T,id:i.id,style:b},wp.element.createElement("div",{className:"wp-themeisle-block-overlay",style:f}),wp.element.createElement(w,{type:"top",front:!0,style:i.dividerTopType,fill:i.dividerTopColor,invert:i.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap",style:y},wp.element.createElement(g.Content,null)),wp.element.createElement(w,{type:"bottom",front:!0,style:i.dividerBottomType,fill:i.dividerBottomColor,invert:i.dividerBottomInvert}))}},{attributes:(r={id:{type:"string"},columns:{type:"number"},layout:{type:"string"},layoutTablet:{type:"string",default:"equal"},layoutMobile:{type:"string",default:"equal"},columnsGap:{type:"string",default:"default"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},columnsWidth:{type:"number"},horizontalAlign:{type:"string",default:"unset"},columnsHeight:{type:"string",default:"auto"},columnsHeightCustom:{type:"number"},columnsHeightCustomTablet:{type:"number"},columnsHeightCustomMobile:{type:"number"},verticalAlign:{type:"string",default:"unset"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},backgroundOverlayOpacity:{type:"number",default:50},backgroundOverlayType:{type:"string",default:"color"},backgroundOverlayColor:{type:"string"},backgroundOverlayImageID:{type:"number"},backgroundOverlayImageURL:{type:"string"},backgroundOverlayAttachment:{type:"string",default:"scroll"},backgroundOverlayPosition:{type:"string",default:"top left"},backgroundOverlayRepeat:{type:"string",default:"repeat"},backgroundOverlaySize:{type:"string",default:"auto"},backgroundOverlayGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundOverlayGradientFirstLocation:{type:"number",default:0},backgroundOverlayGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundOverlayGradientSecondLocation:{type:"number",default:100},backgroundOverlayGradientType:{type:"string",default:"linear"},backgroundOverlayGradientAngle:{type:"number",default:90},backgroundOverlayGradientPosition:{type:"string",default:"center center"},backgroundOverlayFilterBlur:{type:"number",default:0},backgroundOverlayFilterBrightness:{type:"number",default:10},backgroundOverlayFilterContrast:{type:"number",default:10},backgroundOverlayFilterGrayscale:{type:"number",default:0},backgroundOverlayFilterHue:{type:"number",default:0},backgroundOverlayFilterSaturate:{type:"number",default:10},backgroundOverlayBlend:{type:"string",default:"normal"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},dividerTopType:{type:"string",default:"none"},dividerTopColor:{type:"string",default:"#000000"},dividerTopWidth:{type:"number",default:100},dividerTopWidthTablet:{type:"number",default:100},dividerTopWidthMobile:{type:"number",default:100},dividerTopHeight:{type:"number",default:100},dividerTopHeightTablet:{type:"number",default:100},dividerTopHeightMobile:{type:"number",default:100},dividerTopInvert:{type:"boolean",default:!1},dividerBottomType:{type:"string",default:"none"},dividerBottomColor:{type:"string",default:"#000000"},dividerBottomWidth:{type:"number",default:100},dividerBottomWidthTablet:{type:"number",default:100},dividerBottomWidthMobile:{type:"number",default:100},dividerBottomHeight:{type:"number",default:100},dividerBottomHeightTablet:{type:"number",default:100},dividerBottomHeightMobile:{type:"number",default:100},dividerBottomInvert:{type:"boolean",default:!1},hide:{type:"boolean",default:!1},hideTablet:{type:"boolean",default:!1},hideMobile:{type:"boolean",default:!1},reverseColumnsTablet:{type:"boolean",default:!1}},b(r,"reverseColumnsTablet",{type:"boolean",default:!1}),b(r,"columnsHTMLTag",{type:"string",default:"div"}),r),supports:{align:["wide","full"],html:!1},save:function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),r=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),i=d()(n,"has-".concat(t.columns,"-columns"),l,o,r,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign)),c=function(e){var t=e.type,n=e.front,a=e.style,l=e.fill,o=e.invert,r=e.width,i=e.height;return"none"!==a&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-advanced-columns-separators",t),style:!n&&r?{transform:"".concat(r?"scaleX( ".concat(r/100," )"):"")}:{}},"bigTriangle"===a&&!1===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L50 100 L100 0 Z"})),"bigTriangle"===a&&!0===o&&wp.element.createElement(y,{id:"bigTriangle",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M100, 0l-50, 100l-50, -100l0, 100l100, 0l0, -100Z"})),"rightCurve"===a&&!1===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C 20 0 50 0 100 100 Z"})),"rightCurve"===a&&!0===o&&wp.element.createElement(y,{id:"rightCurve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C 50 0 70 0 100 100 Z"})),"curve"===a&&wp.element.createElement(y,{id:"curve",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M0 100 C40 0 60 0 100 100 Z"})),"slant"===a&&!1===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L100 100 L100 0 Z"})),"slant"===a&&!0===o&&wp.element.createElement(y,{id:"slant",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"bottom"===t})},wp.element.createElement(h,{d:"M0 0 L0 100 L100 0 Z"})),"cloud"===a&&wp.element.createElement(y,{id:"cloud",fill:l,viewBox:"0 0 100 100",width:"100%",height:i?"".concat(i,"px"):"100",preserveAspectRatio:"none",xmlns:"http://www.w3.org/2000/svg",className:d()({rotate:"top"===t})},wp.element.createElement(h,{d:"M-5 100 Q 10 -100 15 100 Z M10 100 Q 20 -20 30 100 M25 100 Q 35 -70 45 100 M40 100 Q 50 -100 60 100 M55 100 Q 65 -20 75 100 M70 100 Q 75 -45 90 100 M85 100 Q 90 -50 95 100 M90 100 Q 95 -25 105 100 Z"})))};return wp.element.createElement(a,{className:i,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(c,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(g.Content,null)),wp.element.createElement(c,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))}}],k=n(6),T=n(17),E=wp.blockEditor,x=E.BlockControls,C=E.BlockVerticalAlignmentToolbar,S=function(e){var t=e.attributes,n=e.setAttributes,a=function(){return"flex-start"===t.verticalAlign?"top":"flex-end"===t.verticalAlign?"bottom":t.verticalAlign};return a=a(),wp.element.createElement(x,null,C&&wp.element.createElement(C,{onChange:function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});"top"===e?e="flex-start":"bottom"===e&&(e="flex-end"),n({verticalAlign:e})},value:a}))},M=n(3),B=n(25),O=n(5),R=n(4),L=n(15),N=n(18),A=n(8),P=n(20);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=wp.i18n.__,j=wp.blockEditor,D=j.BlockVerticalAlignmentToolbar,G=j.ColorPalette,V=j.InspectorControls,F=j.MediaPlaceholder,W=wp.components,q=W.BaseControl,U=W.Button,Z=W.ButtonGroup,$=W.Dashicon,Q=W.Icon,K=W.IconButton,J=W.PanelBody,Y=W.Tooltip,X=W.ToggleControl,ee=W.RangeControl,te=W.SelectControl,ne=wp.compose.compose,ae=wp.data.withSelect,le=wp.element,oe=le.Fragment,re=le.useState,ie=ne(ae((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.updateColumnsWidth,o=e.dividerViewType,r=e.setDividerViewType,i=e.view,c=I(re("layout"),2),p=c[0],m=c[1],u=function(){var e;return"Desktop"===i&&(e=t.paddingType),"Tablet"===i&&(e=t.paddingTypeTablet),"Mobile"===i&&(e=t.paddingTypeMobile),e};u=u();var s={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},b={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},g={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},f=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===i&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===i&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===i&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},y=function(){var e;return"Desktop"===i&&(e=t.marginType),"Tablet"===i&&(e=t.marginTypeTablet),"Mobile"===i&&(e=t.marginTypeMobile),e};y=y();var h={top:"marginTop",bottom:"marginBottom"},w={top:"marginTopTablet",bottom:"marginBottomTablet"},v={top:"marginTopMobile",bottom:"marginBottomMobile"},k=function(e){var n;return"top"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===i&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===i&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===i&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n},T=function(e){if(t.horizontalAlign===e)return n({horizontalAlign:"unset"});n({horizontalAlign:e})},E=function(){var e;return"Desktop"===i&&(e=t.columnsHeightCustom),"Tablet"===i&&(e=t.columnsHeightCustomTablet),"Mobile"===i&&(e=t.columnsHeightCustomMobile),e};E=E();var x=function(e){if(t.verticalAlign===e)return n({verticalAlign:"unset"});n({verticalAlign:e})},C=function(){n({backgroundImageID:"",backgroundImageURL:""})},S=function(){n({backgroundOverlayImageID:"",backgroundOverlayImageURL:""})},H={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},j=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},W={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},ne=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n},ae=function(){var e;return"top"==o&&(e=t.dividerTopType),"bottom"==o&&(e=t.dividerBottomType),e};ae=ae();var le=function(){var e;return"top"==o&&(e=t.dividerTopColor),"bottom"==o&&(e=t.dividerBottomColor),e};le=le();var ie=function(){var e;return"top"==o&&("Desktop"==i&&(e=t.dividerTopWidth),"Tablet"==i&&(e=t.dividerTopWidthTablet),"Mobile"==i&&(e=t.dividerTopWidthMobile)),"bottom"==o&&("Desktop"==i&&(e=t.dividerBottomWidth),"Tablet"==i&&(e=t.dividerBottomWidthTablet),"Mobile"==i&&(e=t.dividerBottomWidthMobile)),e};ie=ie();var ce=function(){var e;return"top"==o&&("Desktop"==i&&(e=t.dividerTopHeight),"Tablet"==i&&(e=t.dividerTopHeightTablet),"Mobile"==i&&(e=t.dividerTopHeightMobile)),"bottom"==o&&("Desktop"==i&&(e=t.dividerBottomHeight),"Tablet"==i&&(e=t.dividerBottomHeightTablet),"Mobile"==i&&(e=t.dividerBottomHeightMobile)),e};ce=ce();var de=function(){var e;return"top"==o&&(e=t.dividerTopInvert),"bottom"==o&&(e=t.dividerBottomInvert),e};de=de();var pe=function(e,t){"Desktop"===t&&n({hide:e}),"Tablet"===t&&n({hideTablet:e}),"Mobile"===t&&n({hideMobile:e})},me=function(e,t){"Tablet"===t&&n({reverseColumnsTablet:e}),"Mobile"===t&&n({reverseColumnsMobile:e})};return wp.element.createElement(oe,null,wp.element.createElement(V,null,wp.element.createElement(J,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(U,{className:d()("header-tab",{"is-selected":"layout"===p}),onClick:function(){return m("layout")}},wp.element.createElement("span",null,wp.element.createElement($,{icon:"editor-table"}),_("Layout"))),wp.element.createElement(U,{className:d()("header-tab",{"is-selected":"style"===p}),onClick:function(){return m("style")}},wp.element.createElement("span",null,wp.element.createElement($,{icon:"admin-customizer"}),_("Style"))),wp.element.createElement(U,{className:d()("header-tab",{"is-selected":"advanced"===p}),onClick:function(){return m("advanced")}},wp.element.createElement("span",null,wp.element.createElement($,{icon:"admin-generic"}),_("Advanced")))),"layout"===p&&wp.element.createElement(oe,null,wp.element.createElement(J,{title:_("Columns & Layout")},wp.element.createElement(ee,{label:_("Columns"),value:t.columns,onChange:function(e){6>=e&&(n({columns:e,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(e,"equal")),6<e&&(n({columns:6,layout:"equal",layoutTablet:"equal",layoutMobile:"collapsedRows"}),a(6,"equal")),1>=e&&(n({columns:1,layout:"equal",layoutTablet:"equal",layoutMobile:"equal"}),a(1,"equal"))},min:1,max:6}),wp.element.createElement(B.default,{label:_("Layout"),columns:t.columns,layout:t.layout,layoutTablet:t.layoutTablet,layoutMobile:t.layoutMobile,onClick:function(e){"Desktop"===i&&(n({layout:e}),a(t.columns,e)),"Tablet"===i&&n({layoutTablet:e}),"Mobile"===i&&n({layoutMobile:e})}}),wp.element.createElement(te,{label:_("Columns Gap"),value:t.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){n({columnsGap:e})}})),wp.element.createElement(J,{title:_("Spacing"),initialOpen:!1},wp.element.createElement(R.a,{label:"Padding"},wp.element.createElement(O.a,{type:u,min:0,max:500,changeType:function(e){"Desktop"===i&&n({paddingType:e}),"Tablet"===i&&n({paddingTypeTablet:e}),"Mobile"===i&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.paddingType?n({padding:a}):n(z({},s[e],a))),"Tablet"===i&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(z({},b[e],a))),"Mobile"===i&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(z({},g[e],a)))},options:[{label:_("Top"),type:"top",value:f("top")},{label:_("Right"),type:"right",value:f("right")},{label:_("Bottom"),type:"bottom",value:f("bottom")},{label:_("Left"),type:"left",value:f("left")}]})),wp.element.createElement(R.a,{label:"Margin"},wp.element.createElement(O.a,{type:y,min:-500,max:500,changeType:function(e){"Desktop"===i&&n({marginType:e}),"Tablet"===i&&n({marginTypeTablet:e}),"Mobile"===i&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===i&&("linked"===t.marginType?n({margin:a}):n(z({},h[e],a))),"Tablet"===i&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(z({},w[e],a))),"Mobile"===i&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(z({},v[e],a)))},options:[{label:_("Top"),type:"top",value:k("top")},{label:_("Right"),disabled:!0},{label:_("Bottom"),type:"bottom",value:k("bottom")},{label:_("Left"),disabled:!0}]}))),wp.element.createElement(J,{title:_("Section Structure"),initialOpen:!1},wp.element.createElement(ee,{label:_("Maximum Content Width"),value:t.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&n({columnsWidth:e})},min:0,max:1200}),t.columnsWidth&&wp.element.createElement(q,{label:"Horizontal Align"},wp.element.createElement(Z,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(Y,{text:_("Left")},wp.element.createElement(K,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===t.horizontalAlign,onClick:function(){return T("flex-start")}})),wp.element.createElement(Y,{text:_("Center")},wp.element.createElement(K,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===t.horizontalAlign,onClick:function(){return T("center")}})),wp.element.createElement(Y,{text:_("Right")},wp.element.createElement(K,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===t.horizontalAlign,onClick:function(){return T("flex-end")}})))),wp.element.createElement(te,{label:_("Minimum Height"),value:t.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){n({columnsHeight:e})}}),"custom"===t.columnsHeight&&wp.element.createElement(R.a,{label:"Custom Height"},wp.element.createElement(ee,{value:E||"",onChange:function(e){"Desktop"===i&&n({columnsHeightCustom:e}),"Tablet"===i&&n({columnsHeightCustomTablet:e}),"Mobile"===i&&n({columnsHeightCustomMobile:e})},min:0,max:1e3})),!D&&wp.element.createElement(q,{label:"Vertical Align"},wp.element.createElement(Z,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(Y,{text:_("Top")},wp.element.createElement(U,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===t.verticalAlign,onClick:function(){return x("flex-start")}},wp.element.createElement(Q,{icon:l.t,size:20}))),wp.element.createElement(Y,{text:_("Middle")},wp.element.createElement(U,{className:"components-icon-button is-button is-large",isPrimary:"center"===t.verticalAlign,onClick:function(){return x("center")}},wp.element.createElement(Q,{icon:l.k,size:20}))),wp.element.createElement(Y,{text:_("Bottom")},wp.element.createElement(U,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===t.verticalAlign,onClick:function(){return x("flex-end")}},wp.element.createElement(Q,{icon:l.c,size:20})))))))||"style"===p&&wp.element.createElement(oe,null,wp.element.createElement(J,{title:_("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(L.default,{label:_("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(M.a,{label:_("Background Color"),colorValue:t.backgroundColor},wp.element.createElement(G,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(oe,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:C},wp.element.createElement($,{icon:"trash"}),wp.element.createElement("span",null,_("Remove Image"))))),wp.element.createElement(U,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:C},_("Change or Remove Image")),wp.element.createElement(A.a,{label:"Background Settings"},wp.element.createElement(te,{label:_("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(te,{label:_("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(te,{label:_("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(te,{label:_("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(F,{icon:"format-image",labels:{title:_("Background Image"),name:_("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(N.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(z({},t[a],e[a]))}})),wp.element.createElement(J,{title:_("Background Overlay"),className:"wp-block-themeisle-image-container",initialOpen:!1},wp.element.createElement(L.default,{label:_("Overlay Type"),backgroundType:t.backgroundOverlayType,changeBackgroundType:function(e){n({backgroundOverlayType:e})}}),wp.element.createElement(ee,{label:_("Overlay Opacity"),value:t.backgroundOverlayOpacity,onChange:function(e){n({backgroundOverlayOpacity:e})},min:0,max:100}),"color"===t.backgroundOverlayType&&wp.element.createElement(M.a,{label:_("Overlay Color"),colorValue:t.backgroundOverlayColor},wp.element.createElement(G,{label:"Overlay Color",value:t.backgroundOverlayColor,onChange:function(e){n({backgroundOverlayColor:e})}}))||"image"===t.backgroundOverlayType&&(t.backgroundOverlayImageURL?wp.element.createElement(oe,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundOverlayImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:S},wp.element.createElement($,{icon:"trash"}),wp.element.createElement("span",null,_("Remove Image"))))),wp.element.createElement(U,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:S},_("Change or Remove Image")),wp.element.createElement(A.a,{label:"Background Settings"},wp.element.createElement(te,{label:_("Background Attachment"),value:t.backgroundOverlayAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundOverlayAttachment:e})}}),wp.element.createElement(te,{label:_("Background Position"),value:t.backgroundOverlayPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundOverlayPosition:e})}}),wp.element.createElement(te,{label:_("Background Repeat"),value:t.backgroundOverlayRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundOverlayRepeat:e})}}),wp.element.createElement(te,{label:_("Background Size"),value:t.backgroundOverlaySize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundOverlaySize:e})}}))):wp.element.createElement(F,{icon:"format-image",labels:{title:_("Background Image"),name:_("an image")},value:t.backgroundOverlayImageID,onSelect:function(e){n({backgroundOverlayImageID:e.id,backgroundOverlayImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundOverlayType&&wp.element.createElement(N.a,{label:"Background Gradient",value:{firstColor:t.backgroundOverlayGradientFirstColor,firstLocation:t.backgroundOverlayGradientFirstLocation,secondColor:t.backgroundOverlayGradientSecondColor,secondLocation:t.backgroundOverlayGradientSecondLocation,type:t.backgroundOverlayGradientType,angle:t.backgroundOverlayGradientAngle,position:t.backgroundOverlayGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundOverlayGradientFirstColor:e,backgroundOverlayGradientFirstLocation:t,backgroundOverlayGradientSecondColor:a,backgroundOverlayGradientSecondLocation:l,backgroundOverlayGradientType:o,backgroundOverlayGradientAngle:r,backgroundOverlayGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundOverlayGradientFirstColor",firstLocation:"backgroundOverlayGradientFirstLocation",secondColor:"backgroundOverlayGradientSecondColor",secondLocation:"backgroundOverlayGradientSecondLocation",type:"backgroundOverlayGradientType",angle:"backgroundOverlayGradientAngle",position:"backgroundOverlayGradientPosition"};for(var a in e)n(z({},t[a],e[a]))}}),wp.element.createElement(A.a,{label:"CSS Filters"},wp.element.createElement(ee,{label:_("Blur"),value:t.backgroundOverlayFilterBlur,onChange:function(e){n({backgroundOverlayFilterBlur:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Brightness"),value:t.backgroundOverlayFilterBrightness,onChange:function(e){n({backgroundOverlayFilterBrightness:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Contrast"),value:t.backgroundOverlayFilterContrast,onChange:function(e){n({backgroundOverlayFilterContrast:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Grayscale"),value:t.backgroundOverlayFilterGrayscale,onChange:function(e){n({backgroundOverlayFilterGrayscale:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Hue"),value:t.backgroundOverlayFilterHue,onChange:function(e){n({backgroundOverlayFilterHue:e})},min:0,max:360}),wp.element.createElement(ee,{label:_("Saturation"),value:t.backgroundOverlayFilterSaturate,onChange:function(e){n({backgroundOverlayFilterSaturate:e})},min:0,max:100})),wp.element.createElement(te,{label:_("Blend Mode"),value:t.backgroundOverlayBlend,options:[{label:"Normal",value:"normal"},{label:"Multiply",value:"multiply"},{label:"Screen",value:"screen"},{label:"Overlay",value:"overlay"},{label:"Darken",value:"darken"},{label:"Lighten",value:"lighten"},{label:"Color Dodge",value:"color-dodge"},{label:"Color Burn",value:"color-burn"},{label:"Hard Light",value:"hard-light"},{label:"Soft Light",value:"soft-light"},{label:"Difference",value:"difference"},{label:"Exclusion",value:"exclusion"},{label:"Hue",value:"hue"},{label:"Saturation",value:"saturation"},{label:"Color",value:"color"},{label:"Luminosity",value:"luminosity"}],onChange:function(e){n({backgroundOverlayBlend:e})}})),wp.element.createElement(J,{title:_("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(O.a,{label:_("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(z({},H[e],a))},options:[{label:_("Top"),type:"top",value:j("top")},{label:_("Right"),type:"right",value:j("right")},{label:_("Bottom"),type:"bottom",value:j("bottom")},{label:_("Left"),type:"left",value:j("left")}]}),wp.element.createElement(M.a,{label:_("Border Color"),colorValue:t.borderColor},wp.element.createElement(G,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(O.a,{label:_("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(z({},W[e],a))},options:[{label:_("Top"),type:"top",value:ne("top")},{label:_("Right"),type:"right",value:ne("right")},{label:_("Bottom"),type:"bottom",value:ne("bottom")},{label:_("Left"),type:"left",value:ne("left")}]}),wp.element.createElement(X,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(oe,null,wp.element.createElement(M.a,{label:_("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(G,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(A.a,{label:"Border Shadow"},wp.element.createElement(ee,{label:_("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(ee,{label:_("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(ee,{label:_("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(ee,{label:_("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))),wp.element.createElement(J,{title:_("Shape Divider"),initialOpen:!1,className:"wp-block-themeisle-shape-divider"},wp.element.createElement(Z,null,wp.element.createElement(U,{className:"is-button",isPrimary:"top"===o,onClick:function(){return r("top")}},_("Top")),wp.element.createElement(U,{className:"is-button",isPrimary:"bottom"===o,onClick:function(){return r("bottom")}},_("Bottom"))),wp.element.createElement(te,{label:_("Type"),value:ae,options:[{label:"None",value:"none"},{label:"Triangle",value:"bigTriangle"},{label:"Right Curve",value:"rightCurve"},{label:"Curve",value:"curve"},{label:"Slant",value:"slant"},{label:"Cloud",value:"cloud"}],onChange:function(e){"top"==o&&n({dividerTopType:e}),"bottom"==o&&n({dividerBottomType:e})}}),"none"!==ae&&wp.element.createElement(oe,null,wp.element.createElement(M.a,{label:_("Color"),colorValue:le},wp.element.createElement(G,{label:_("Color"),value:le,onChange:function(e){"top"==o&&n({dividerTopColor:e}),"bottom"==o&&n({dividerBottomColor:e})}})),wp.element.createElement(R.a,{label:"Width"},wp.element.createElement(ee,{value:ie,onChange:function(e){"top"==o&&("Desktop"==i&&n({dividerTopWidth:e}),"Tablet"==i&&n({dividerTopWidthTablet:e}),"Mobile"==i&&n({dividerTopWidthMobile:e})),"bottom"==o&&("Desktop"==i&&n({dividerBottomWidth:e}),"Tablet"==i&&n({dividerBottomWidthTablet:e}),"Mobile"==i&&n({dividerBottomWidthMobile:e}))},min:0,max:500})),wp.element.createElement(R.a,{label:"Height"},wp.element.createElement(ee,{value:ce,onChange:function(e){"top"==o&&("Desktop"==i&&n({dividerTopHeight:e}),"Tablet"==i&&n({dividerTopHeightTablet:e}),"Mobile"==i&&n({dividerTopHeightMobile:e})),"bottom"==o&&("Desktop"==i&&n({dividerBottomHeight:e}),"Tablet"==i&&n({dividerBottomHeightTablet:e}),"Mobile"==i&&n({dividerBottomHeightMobile:e}))},min:0,max:500})),"curve"!==ae&&"cloud"!==ae&&wp.element.createElement(X,{label:"Invert Shape Divider",checked:de,onChange:function(){"top"==o&&n({dividerTopInvert:!t.dividerTopInvert}),"bottom"==o&&n({dividerBottomInvert:!t.dividerBottomInvert})}}))))||"advanced"===p&&wp.element.createElement(oe,null,wp.element.createElement(J,{title:_("Responsive")},wp.element.createElement(X,{label:"Hide this section in Desktop devices?",checked:t.hide,onChange:function(e){return pe(e,"Desktop")}}),wp.element.createElement(X,{label:"Hide this section in Tablet devices?",checked:t.hideTablet,onChange:function(e){return pe(e,"Tablet")}}),wp.element.createElement(X,{label:"Hide this section in Mobile devices?",checked:t.hideMobile,onChange:function(e){return pe(e,"Mobile")}}),wp.element.createElement("hr",null),!t.hideTablet&&"collapsedRows"===t.layoutTablet&&wp.element.createElement(X,{label:"Reverse Columns in Tablet devices?",checked:t.reverseColumnsTablet,onChange:function(e){return me(e,"Tablet")}}),!t.hideMobile&&"collapsedRows"===t.layoutMobile&&wp.element.createElement(X,{label:"Reverse Columns in Mobile devices?",checked:t.reverseColumnsMobile,onChange:function(e){return me(e,"Mobile")}})),wp.element.createElement(J,{title:_("Section Settings"),initialOpen:!1},wp.element.createElement(te,{label:_("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))),wp.element.createElement(P.a,{value:t.id,onChange:function(e){n({id:e})}}))}));function ce(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return de(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return de(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function de(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var pe=wp.i18n.__,me=wp.blockEditor,ue=me.__experimentalBlockNavigationList,se=me.BlockControls,be=wp.components,ge=be.IconButton,fe=be.Modal,ye=be.Toolbar,he=wp.compose.compose,we=wp.data,ve=we.withSelect,ke=we.withDispatch,Te=wp.element,Ee=Te.Fragment,xe=Te.useState,Ce=he(ve((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getSelectedBlockClientId;return{block:(0,a.getBlock)(n),selectedBlockClientId:l()}})),ke((function(e){return{selectBlock:e("core/block-editor").selectBlock}})))((function(e){var t=e.block,n=e.selectedBlockClientId,a=e.selectBlock,o=ce(xe(!1),2),r=o[0],i=o[1];return wp.element.createElement(Ee,null,wp.element.createElement(se,null,wp.element.createElement(ye,{className:"wp-themesiel-blocks-block-navigator-components-toolbar"},wp.element.createElement(ge,{className:"components-toolbar__control",label:pe("Open block navigator"),onClick:function(){return i(!0)},icon:l.l}))),r&&wp.element.createElement(fe,{title:pe("Block Navigator"),closeLabel:pe("Close"),onRequestClose:function(){return i(!1)}},wp.element.createElement(ue,{blocks:[t],selectedBlockClientId:n,selectBlock:a,showNestedBlocks:!0})))})),Se=n(14),Me=n(26);function Be(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Re(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Oe(e){return function(e){if(Array.isArray(e))return Le(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Re(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e,t){if(e){if("string"==typeof e)return Le(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Le(e,t):void 0}}function Le(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Ne(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ae(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ne(Object(n),!0).forEach((function(t){Pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ne(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var ze=lodash,Ie=ze.isEqual,He=ze.times,_e=wp.compose.compose,je=wp.data,De=je.withDispatch,Ge=je.withSelect,Ve=wp.blockEditor,Fe=Ve.__experimentalBlockNavigationList,We=Ve.InnerBlocks,qe=wp.element,Ue=qe.Fragment,Ze=qe.useEffect,$e=qe.useState,Qe=wp.viewport.withViewportMatch,Ke=[],Je=_e(De((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),Ge((function(e,t){var n=t.clientId,a=e("core/block-editor").getBlock,l=e("core/edit-post").__experimentalGetPreviewDeviceType;return{sectionBlock:a(n),isViewportAvailable:!!l,isPreviewDesktop:!!l&&"Desktop"===l(),isPreviewTablet:!!l&&"Tablet"===l(),isPreviewMobile:!!l&&"Mobile"===l()}})),Qe({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.name,r=e.updateBlockAttributes,c=e.sectionBlock,p=e.isLarger,u=e.isLarge,s=e.isSmall,b=e.isSmaller,g=e.isViewportAvailable,f=e.isPreviewDesktop,y=e.isPreviewTablet,h=e.isPreviewMobile;Ze((function(){w()}),[]);var w=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(Ie(k.a[o],window.themeisleGutenberg.globalDefaults[o])||(a=Ae({},window.themeisleGutenberg.globalDefaults[o]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==i[e].default&&t[e]!==i[e].default)return delete a[e]})))),n(Ae(Ae({},a),{},{id:r})),Ke.push(r),e.push(r)}else if(Ke.includes(t.id)){var c="wp-block-themeisle-blocks-advanced-columns-".concat(l.substr(0,8));n({id:c}),Ke.push(c)}else Ke.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=Oe(e)},v=Be($e("top"),2),E=v[0],x=v[1],C=p&&!u&&s&&!b,M=!p&&!u&&s&&!b,B=!(p||u||s||b);g&&!B&&(C=f,M=y,B=h);var O,R,L,N,A,P,z,I=t.columnsHTMLTag;(C&&(O={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustom,"px"):t.columnsHeight}),M&&(O={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomTablet,"px"):t.columnsHeight}),B&&(O={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),minHeight:"custom"===t.columnsHeight?"".concat(t.columnsHeightCustomMobile,"px"):t.columnsHeight}),"color"===t.backgroundType&&(R={background:t.backgroundColor}),"image"===t.backgroundType&&(R={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(z="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(R={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(z,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(N={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(N={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(A={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(A={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(P={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(m()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var H,_=Ae(Ae(Ae(Ae(Ae({},O),R),N),A),P);("color"===t.backgroundOverlayType&&(L={background:t.backgroundOverlayColor,opacity:t.backgroundOverlayOpacity/100}),"image"===t.backgroundOverlayType&&(L={backgroundImage:"url( '".concat(t.backgroundOverlayImageURL,"' )"),backgroundAttachment:t.backgroundOverlayAttachment,backgroundPosition:t.backgroundOverlayPosition,backgroundRepeat:t.backgroundOverlayRepeat,backgroundSize:t.backgroundOverlaySize,opacity:t.backgroundOverlayOpacity/100}),"gradient"===t.backgroundOverlayType)&&(H="linear"===t.backgroundOverlayGradientType?"".concat(t.backgroundOverlayGradientAngle,"deg"):"at ".concat(t.backgroundOverlayGradientPosition),L={background:"".concat(t.backgroundOverlayGradientType,"-gradient( ").concat(H,", ").concat(t.backgroundOverlayGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientFirstLocation,"%, ").concat(t.backgroundOverlayGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundOverlayGradientSecondLocation,"% )"),opacity:t.backgroundOverlayOpacity/100});var j=Ae(Ae({},L),{},{mixBlendMode:t.backgroundOverlayBlend,filter:"blur( ".concat(t.backgroundOverlayFilterBlur/10,"px ) brightness( ").concat(t.backgroundOverlayFilterBrightness/10," ) contrast( ").concat(t.backgroundOverlayFilterContrast/10," ) grayscale( ").concat(t.backgroundOverlayFilterGrayscale/100," ) hue-rotate( ").concat(t.backgroundOverlayFilterHue,"deg ) saturate( ").concat(t.backgroundOverlayFilterSaturate/10," )")}),D={};t.columnsWidth&&(D={maxWidth:t.columnsWidth+"px"});var G=d()(a,"has-".concat(t.columns,"-columns"),"has-desktop-".concat(t.layout,"-layout"),"has-tablet-".concat(t.layoutTablet,"-layout"),"has-mobile-".concat(t.layoutMobile,"-layout"),"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign),"has-horizontal-".concat(t.horizontalAlign),{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},{"has-viewport-desktop":C},{"has-viewport-tablet":M},{"has-viewport-mobile":B}),V=function(){var e;return C&&(e=t.dividerTopWidth),M&&(e=t.dividerTopWidthTablet),B&&(e=t.dividerTopWidthMobile),e};V=V();var F=function(){var e;return C&&(e=t.dividerBottomWidth),M&&(e=t.dividerBottomWidthTablet),B&&(e=t.dividerBottomWidthMobile),e};F=F();var W=function(){var e;return C&&(e=t.dividerTopHeight),M&&(e=t.dividerTopHeightTablet),B&&(e=t.dividerTopHeightMobile),e};W=W();var q=function(){var e;return C&&(e=t.dividerBottomHeight),M&&(e=t.dividerBottomHeightTablet),B&&(e=t.dividerBottomHeightMobile),e};q=q();var U;return t.columns?wp.element.createElement(Ue,null,Fe&&wp.element.createElement(Ce,{clientId:l}),wp.element.createElement(S,{attributes:t,setAttributes:n}),wp.element.createElement(ie,{attributes:t,setAttributes:n,updateColumnsWidth:function(e,t){c.innerBlocks.map((function(n,a){r(n.clientId,{columnWidth:T.a[e][t][a]})}))},dividerViewType:E,setDividerViewType:x}),wp.element.createElement(I,{className:G,id:t.id,style:_},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay",style:j}),wp.element.createElement(Se.default,{type:"top",style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert,width:V,height:W}),wp.element.createElement("div",{className:"innerblocks-wrap",style:D},wp.element.createElement(We,{allowedBlocks:["themeisle-blocks/advanced-column"],template:(U=t.columns,He(U,(function(e){return["themeisle-blocks/advanced-column",{columnWidth:T.a[U][t.layout][e]}]}))),templateLock:"all"})),wp.element.createElement(Se.default,{type:"bottom",style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert,width:F,height:q}))):wp.element.createElement(Me.default,{clientId:l,setupColumns:function(e,t){n(1>=e?{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"equal"}:{columns:e,layout:t,layoutTablet:"equal",layoutMobile:"collapsedRows"})}})})),Ye=wp.blockEditor.InnerBlocks,Xe=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag,l=t.hide?"":"has-desktop-".concat(t.layout,"-layout"),o=t.hideTablet?"":"has-tablet-".concat(t.layoutTablet,"-layout"),r=t.hideMobile?"":"has-mobile-".concat(t.layoutMobile,"-layout"),i=d()(n,"has-".concat(t.columns,"-columns"),l,o,r,{"hide-in-desktop":t.hide},{"hide-in-tablet":t.hideTablet},{"hide-in-mobile":t.hideMobile},{"has-reverse-columns-tablet":t.reverseColumnsTablet&&!t.hideTablet&&"collapsedRows"===t.layoutTablet},{"has-reverse-columns-mobile":t.reverseColumnsMobile&&!t.hideMobile&&"collapsedRows"===t.layoutMobile},"has-".concat(t.columnsGap,"-gap"),"has-vertical-".concat(t.verticalAlign));return wp.element.createElement(a,{className:i,id:t.id},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-advanced-columns-overlay"}),wp.element.createElement(Se.default,{type:"top",front:!0,style:t.dividerTopType,fill:t.dividerTopColor,invert:t.dividerTopInvert}),wp.element.createElement("div",{className:"innerblocks-wrap"},wp.element.createElement(Ye.Content,null)),wp.element.createElement(Se.default,{type:"bottom",front:!0,style:t.dividerBottomType,fill:t.dividerBottomColor,invert:t.dividerBottomInvert}))},et=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-columns",{title:et("Section"),description:et("Add a Section block that displays content in multiple columns, then add whatever content blocks you’d like."),icon:l.g,category:"themeisle-blocks",keywords:["advanced columns","layout","grid"],attributes:i,supports:{align:["wide","full"],html:!1},deprecated:v,edit:Je,save:Xe})},function(e,t,n){"use strict";n.r(t);var a=n(2),l={id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:20},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginRight:{type:"number",default:0},marginRightTablet:{type:"number"},marginRightMobile:{type:"number"},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number"},marginLeftMobile:{type:"number"},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},o=n(7),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=wp.blockEditor.InnerBlocks,m=[{attributes:{id:{type:"string"},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:20},paddingTablet:{type:"number",default:20},paddingMobile:{type:"number",default:20},paddingTop:{type:"number",default:20},paddingTopTablet:{type:"number",default:20},paddingTopMobile:{type:"number",default:20},paddingRight:{type:"number",default:20},paddingRightTablet:{type:"number",default:20},paddingRightMobile:{type:"number",default:20},paddingBottom:{type:"number",default:20},paddingBottomTablet:{type:"number",default:20},paddingBottomMobile:{type:"number",default:20},paddingLeft:{type:"number",default:20},paddingLeftTablet:{type:"number",default:20},paddingLeftMobile:{type:"number",default:20},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:20},marginTablet:{type:"number",default:20},marginMobile:{type:"number",default:20},marginTop:{type:"number",default:20},marginTopTablet:{type:"number",default:20},marginTopMobile:{type:"number",default:20},marginRight:{type:"number",default:0},marginRightTablet:{type:"number",default:0},marginRightMobile:{type:"number",default:0},marginBottom:{type:"number",default:20},marginBottomTablet:{type:"number",default:20},marginBottomMobile:{type:"number",default:20},marginLeft:{type:"number",default:0},marginLeftTablet:{type:"number",default:0},marginLeftMobile:{type:"number",default:0},backgroundType:{type:"string",default:"color"},backgroundColor:{type:"string"},backgroundImageID:{type:"number"},backgroundImageURL:{type:"string"},backgroundAttachment:{type:"string",default:"scroll"},backgroundPosition:{type:"string",default:"top left"},backgroundRepeat:{type:"string",default:"repeat"},backgroundSize:{type:"string",default:"auto"},backgroundGradientFirstColor:{type:"string",default:"#36d1dc"},backgroundGradientFirstLocation:{type:"number",default:0},backgroundGradientSecondColor:{type:"string",default:"#5b86e5"},backgroundGradientSecondLocation:{type:"number",default:100},backgroundGradientType:{type:"string",default:"linear"},backgroundGradientAngle:{type:"number",default:90},backgroundGradientPosition:{type:"string",default:"center center"},borderType:{type:"string",default:"linked"},border:{type:"number",default:0},borderTop:{type:"number",default:0},borderRight:{type:"number",default:0},borderBottom:{type:"number",default:0},borderLeft:{type:"number",default:0},borderColor:{type:"string",default:"#000000"},borderRadiusType:{type:"string",default:"linked"},borderRadius:{type:"number",default:0},borderRadiusTop:{type:"number",default:0},borderRadiusRight:{type:"number",default:0},borderRadiusBottom:{type:"number",default:0},borderRadiusLeft:{type:"number",default:0},boxShadow:{type:"boolean",default:!1},boxShadowColor:{type:"string",default:"#000000"},boxShadowColorOpacity:{type:"number",default:50},boxShadowBlur:{type:"number",default:5},boxShadowSpread:{type:"number",default:0},boxShadowHorizontal:{type:"number",default:0},boxShadowVertical:{type:"number",default:0},columnsHTMLTag:{type:"string",default:"div"},columnWidth:{type:"string"}},supports:{inserter:!1,reusable:!1,html:!1},save:function(e){var t,n,a,l,o,i=e.attributes,d=e.className,m=i.columnsHTMLTag;("color"===i.backgroundType&&(t={background:i.backgroundColor}),"image"===i.backgroundType&&(t={backgroundImage:"url( '".concat(i.backgroundImageURL,"' )"),backgroundAttachment:i.backgroundAttachment,backgroundPosition:i.backgroundPosition,backgroundRepeat:i.backgroundRepeat,backgroundSize:i.backgroundSize}),"gradient"===i.backgroundType)&&(o="linear"===i.backgroundGradientType?"".concat(i.backgroundGradientAngle,"deg"):"at ".concat(i.backgroundGradientPosition),t={background:"".concat(i.backgroundGradientType,"-gradient( ").concat(o,", ").concat(i.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientFirstLocation,"%, ").concat(i.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(i.backgroundGradientSecondLocation,"% )")});"linked"===i.borderType&&(n={borderWidth:"".concat(i.border,"px"),borderStyle:"solid",borderColor:i.borderColor}),"unlinked"===i.borderType&&(n={borderTopWidth:"".concat(i.borderTop,"px"),borderRightWidth:"".concat(i.borderRight,"px"),borderBottomWidth:"".concat(i.borderBottom,"px"),borderLeftWidth:"".concat(i.borderLeft,"px"),borderStyle:"solid",borderColor:i.borderColor}),"linked"===i.borderRadiusType&&(a={borderRadius:"".concat(i.borderRadius,"px")}),"unlinked"===i.borderRadiusType&&(a={borderTopLeftRadius:"".concat(i.borderRadiusTop,"px"),borderTopRightRadius:"".concat(i.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(i.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(i.borderRadiusLeft,"px")}),!0===i.boxShadow&&(l={boxShadow:"".concat(i.boxShadowHorizontal,"px ").concat(i.boxShadowVertical,"px ").concat(i.boxShadowBlur,"px ").concat(i.boxShadowSpread,"px ").concat(r()(i.boxShadowColor?i.boxShadowColor:"#000000",i.boxShadowColorOpacity))});var u=c(c(c(c({},t),n),a),l);return wp.element.createElement(m,{className:d,id:i.id,style:u},wp.element.createElement(p.Content,null))}}],u=n(6),s=n(17),b=n(0),g=n.n(b),f=n(3),y=n(5),h=n(4),w=n(15),v=n(18),k=n(8);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return x(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return x(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function x(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var C=wp.i18n.__,S=wp.blockEditor,M=S.ColorPalette,B=S.InspectorControls,O=S.MediaPlaceholder,R=wp.components,L=R.Button,N=R.Dashicon,A=R.PanelBody,P=R.ToggleControl,z=R.RangeControl,I=R.SelectControl,H=wp.compose.compose,_=wp.data.withSelect,j=wp.element,D=j.Fragment,G=j.useEffect,V=j.useRef,F=j.useState,W=H(_((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.isSelected,l=e.clientId,o=e.adjacentBlock,r=e.parentBlock,i=e.updateBlockAttributes,c=e.adjacentBlockClientId,d=e.view;G((function(){if(1<r.innerBlocks.length&&!c){var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),t=r.innerBlocks[e-1];b.current=t.clientId,x.current=t.attributes.columnWidth}}),[]),G((function(){if(1<r.innerBlocks.length)if(c)x.current=o.attributes.columnWidth,b.current=c,s.current=t.columnWidth;else{var e=r.innerBlocks.findIndex((function(e){return e.clientId===l})),n=r.innerBlocks[e-1];x.current=n.attributes.columnWidth,b.current=n.clientId,s.current=t.columnWidth}}),[a,t.columnWidth,r.innerBlocks.length]);var p=E(F("layout"),2),m=p[0],u=p[1],s=V(t.columnWidth),b=V(c&&c),x=V(o&&o.attributes.columnWidth),S=function(){var e;return"Desktop"===d&&(e=t.paddingType),"Tablet"===d&&(e=t.paddingTypeTablet),"Mobile"===d&&(e=t.paddingTypeMobile),e};S=S();var R={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},H={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},_={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},j=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===d&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===d&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},W=function(){var e;return"Desktop"===d&&(e=t.marginType),"Tablet"===d&&(e=t.marginTypeTablet),"Mobile"===d&&(e=t.marginTypeMobile),e};W=W();var q={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},U={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},Z={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},$=function(e){var n;return"top"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"right"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginRight),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginRightTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginRightMobile)),"bottom"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),"left"==e&&("Desktop"===d&&(n="linked"===t.marginType?t.margin:t.marginLeft),"Tablet"===d&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginLeftTablet),"Mobile"===d&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginLeftMobile)),n},Q=function(){n({backgroundImageID:"",backgroundImageURL:""})},K={top:"borderTop",right:"borderRight",bottom:"borderBottom",left:"borderLeft"},J=function(e){var n;return"top"==e&&(n="linked"===t.borderType?t.border:t.borderTop),"right"==e&&(n="linked"===t.borderType?t.border:t.borderRight),"bottom"==e&&(n="linked"===t.borderType?t.border:t.borderBottom),"left"==e&&(n="linked"===t.borderType?t.border:t.borderLeft),n},Y={top:"borderRadiusTop",right:"borderRadiusRight",bottom:"borderRadiusBottom",left:"borderRadiusLeft"},X=function(e){var n;return"top"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusTop),"right"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusRight),"bottom"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusBottom),"left"==e&&(n="linked"===t.borderRadiusType?t.borderRadius:t.borderRadiusLeft),n};return wp.element.createElement(B,null,wp.element.createElement(A,{className:"wp-block-themeisle-blocks-advanced-columns-header-panel"},wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"layout"===m}),onClick:function(){return u("layout")}},wp.element.createElement("span",null,wp.element.createElement(N,{icon:"editor-table"}),C("Layout"))),wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"style"===m}),onClick:function(){return u("style")}},wp.element.createElement("span",null,wp.element.createElement(N,{icon:"admin-customizer"}),C("Style"))),wp.element.createElement(L,{className:g()("header-tab",{"is-selected":"advanced"===m}),onClick:function(){return u("advanced")}},wp.element.createElement("span",null,wp.element.createElement(N,{icon:"admin-generic"}),C("Advanced")))),"layout"===m&&wp.element.createElement(D,null,wp.element.createElement(A,{title:C("Spacing")},1<r.innerBlocks.length&&wp.element.createElement(z,{label:C("Column Width"),value:Number(t.columnWidth),onChange:function(e){var t=e||10,a=Number(s.current)-t+Number(x.current);s.current=t,x.current=a,n({columnWidth:t.toFixed(2)}),i(b.current,{columnWidth:a.toFixed(2)})},min:10,max:Number(t.columnWidth)+Number(x.current)-10}),wp.element.createElement(h.a,{label:"Padding"},wp.element.createElement(y.a,{type:S,min:0,max:500,changeType:function(e){"Desktop"===d&&n({paddingType:e}),"Tablet"===d&&n({paddingTypeTablet:e}),"Mobile"===d&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.paddingType?n({padding:a}):n(T({},R[e],a))),"Tablet"===d&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(T({},H[e],a))),"Mobile"===d&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(T({},_[e],a)))},options:[{label:C("Top"),type:"top",value:j("top")},{label:C("Right"),type:"right",value:j("right")},{label:C("Bottom"),type:"bottom",value:j("bottom")},{label:C("Left"),type:"left",value:j("left")}]})),wp.element.createElement(h.a,{label:"Margin"},wp.element.createElement(y.a,{type:W,min:-500,max:500,changeType:function(e){"Desktop"===d&&n({marginType:e}),"Tablet"===d&&n({marginTypeTablet:e}),"Mobile"===d&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===d&&("linked"===t.marginType?n({margin:a}):n(T({},q[e],a))),"Tablet"===d&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(T({},U[e],a))),"Mobile"===d&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(T({},Z[e],a)))},options:[{label:C("Top"),type:"top",value:$("top")},{label:C("Right"),type:"right",value:$("right")},{label:C("Bottom"),type:"bottom",value:$("bottom")},{label:C("Left"),type:"left",value:$("left")}]}))))||"style"===m&&wp.element.createElement(D,null,wp.element.createElement(A,{title:C("Background Settings"),className:"wp-block-themeisle-image-container"},wp.element.createElement(w.default,{label:C("Background Type"),backgroundType:t.backgroundType,changeBackgroundType:function(e){n({backgroundType:e})}}),"color"===t.backgroundType&&wp.element.createElement(f.a,{label:C("Background Color"),colorValue:t.headingColor},wp.element.createElement(M,{label:"Background Color",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}}))||"image"===t.backgroundType&&(t.backgroundImageURL?wp.element.createElement(D,null,wp.element.createElement("div",{className:"wp-block-themeisle-image-container-body"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-area"},wp.element.createElement("div",{className:"wp-block-themeisle-image-container-holder",style:{backgroundImage:"url('".concat(t.backgroundImageURL,"')")}}),wp.element.createElement("div",{className:"wp-block-themeisle-image-container-delete",onClick:Q},wp.element.createElement(N,{icon:"trash"}),wp.element.createElement("span",null,C("Remove Image"))))),wp.element.createElement(L,{isDefault:!0,className:"wp-block-themeisle-image-container-delete-button",onClick:Q},C("Change or Remove Image")),wp.element.createElement(k.a,{label:"Background Settings"},wp.element.createElement(I,{label:C("Background Attachment"),value:t.backgroundAttachment,options:[{label:"Scroll",value:"scroll"},{label:"Fixed",value:"fixed"},{label:"Local",value:"local"}],onChange:function(e){n({backgroundAttachment:e})}}),wp.element.createElement(I,{label:C("Background Position"),value:t.backgroundPosition,options:[{label:"Default",value:"top left"},{label:"Top Left",value:"top left"},{label:"Top Center",value:"top center"},{label:"Top Right",value:"top right"},{label:"Center Left",value:"center left"},{label:"Center Center",value:"center center"},{label:"Center Right",value:"center right"},{label:"Bottom Left",value:"bottom left"},{label:"Bottom Center",value:"bottom center"},{label:"Bottom Right",value:"bottom right"}],onChange:function(e){n({backgroundPosition:e})}}),wp.element.createElement(I,{label:C("Background Repeat"),value:t.backgroundRepeat,options:[{label:"Repeat",value:"repeat"},{label:"No-repeat",value:"no-repeat"}],onChange:function(e){n({backgroundRepeat:e})}}),wp.element.createElement(I,{label:C("Background Size"),value:t.backgroundSize,options:[{label:"Auto",value:"auto"},{label:"Cover",value:"cover"},{label:"Contain",value:"contain"}],onChange:function(e){n({backgroundSize:e})}}))):wp.element.createElement(O,{icon:"format-image",labels:{title:C("Background Image"),name:C("an image")},value:t.backgroundImageID,onSelect:function(e){n({backgroundImageID:e.id,backgroundImageURL:e.url})},accept:"image/*",allowedTypes:["image"]}))||"gradient"===t.backgroundType&&wp.element.createElement(v.a,{label:"Background Gradient",value:{firstColor:t.backgroundGradientFirstColor,firstLocation:t.backgroundGradientFirstLocation,secondColor:t.backgroundGradientSecondColor,secondLocation:t.backgroundGradientSecondLocation,type:t.backgroundGradientType,angle:t.backgroundGradientAngle,position:t.backgroundGradientPosition},onChange:function(e,t,a,l,o,r,i){n({backgroundGradientFirstColor:e,backgroundGradientFirstLocation:t,backgroundGradientSecondColor:a,backgroundGradientSecondLocation:l,backgroundGradientType:o,backgroundGradientAngle:r,backgroundGradientPosition:i})},onChangeValue:function(e){var t={firstColor:"backgroundGradientFirstColor",firstLocation:"backgroundGradientFirstLocation",secondColor:"backgroundGradientSecondColor",secondLocation:"backgroundGradientSecondLocation",type:"backgroundGradientType",angle:"backgroundGradientAngle",position:"backgroundGradientPosition"};for(var a in e)n(T({},t[a],e[a]))}})),wp.element.createElement(A,{title:C("Border"),className:"wp-block-themeisle-border-container",initialOpen:!1},wp.element.createElement(y.a,{label:C("Border Width"),type:t.borderType,min:0,max:500,changeType:function(e){n({borderType:e})},onChange:function(e,a){"linked"===t.borderType?n({border:a}):n(T({},K[e],a))},options:[{label:C("Top"),type:"top",value:J("top")},{label:C("Right"),type:"right",value:J("right")},{label:C("Bottom"),type:"bottom",value:J("bottom")},{label:C("Left"),type:"left",value:J("left")}]}),wp.element.createElement(f.a,{label:C("Border Color"),colorValue:t.borderColor},wp.element.createElement(M,{label:"Border Color",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(y.a,{label:C("Border Radius"),type:t.borderRadiusType,min:0,max:500,changeType:function(e){n({borderRadiusType:e})},onChange:function(e,a){"linked"===t.borderRadiusType?n({borderRadius:a}):n(T({},Y[e],a))},options:[{label:C("Top"),type:"top",value:X("top")},{label:C("Right"),type:"right",value:X("right")},{label:C("Bottom"),type:"bottom",value:X("bottom")},{label:C("Left"),type:"left",value:X("left")}]}),wp.element.createElement(P,{label:"Box Shadow",checked:t.boxShadow,onChange:function(){n({boxShadow:!t.boxShadow})}}),t.boxShadow&&wp.element.createElement(D,null,wp.element.createElement(f.a,{label:C("Shadow Color"),colorValue:t.boxShadowColor},wp.element.createElement(M,{label:"Shadow Color",value:t.boxShadowColor,onChange:function(e){n({boxShadowColor:e})}})),wp.element.createElement(k.a,{label:"Shadow Properties"},wp.element.createElement(z,{label:C("Opacity"),value:t.boxShadowColorOpacity,onChange:function(e){n({boxShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(z,{label:C("Blur"),value:t.boxShadowBlur,onChange:function(e){n({boxShadowBlur:e})},min:0,max:100}),wp.element.createElement(z,{label:C("Spread"),value:t.boxShadowSpread,onChange:function(e){n({boxShadowSpread:e})},min:-100,max:100}),wp.element.createElement(z,{label:C("Horizontal"),value:t.boxShadowHorizontal,onChange:function(e){n({boxShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(z,{label:C("Vertical"),value:t.boxShadowVertical,onChange:function(e){n({boxShadowVertical:e})},min:-100,max:100})))))||"advanced"===m&&wp.element.createElement(A,{title:C("Section Settings")},wp.element.createElement(I,{label:C("HTML Tag"),value:t.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){n({columnsHTMLTag:e})}})))}));function q(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Z(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function U(e){return function(e){if(Array.isArray(e))return $(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Z(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Z(e,t){if(e){if("string"==typeof e)return $(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$(e,t):void 0}}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Q(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function K(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Q(Object(n),!0).forEach((function(t){J(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Q(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function J(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Y=lodash.isEqual,X=wp.components.ResizableBox,ee=wp.compose.compose,te=wp.data,ne=te.withDispatch,ae=te.withSelect,le=wp.blockEditor.InnerBlocks,oe=wp.element,re=oe.Fragment,ie=oe.useEffect,ce=oe.useState,de=wp.viewport.withViewportMatch,pe=[],me=ee(ne((function(e){return{updateBlockAttributes:e("core/block-editor").updateBlockAttributes}})),ae((function(e,t){var n=t.clientId,a=e("core/block-editor"),l=a.getAdjacentBlockClientId,o=a.getBlock,r=a.getBlockRootClientId,i=e("core/edit-post").__experimentalGetPreviewDeviceType,c=o(n),d=l(n),p=o(d),m=r(n);return{adjacentBlockClientId:d,adjacentBlock:p,parentClientId:m,parentBlock:o(m),hasInnerBlocks:!(!c||!c.innerBlocks.length),isViewportAvailable:!!i,isPreviewDesktop:!!i&&"Desktop"===i(),isPreviewTablet:!!i&&"Tablet"===i(),isPreviewMobile:!!i&&"Mobile"===i()}})),de({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.isSelected,i=e.clientId,c=e.name,d=e.toggleSelection,p=e.updateBlockAttributes,m=e.adjacentBlockClientId,b=e.adjacentBlock,g=e.parentClientId,f=e.parentBlock,y=e.hasInnerBlocks,h=e.isLarger,w=e.isLarge,v=e.isSmall,k=e.isSmaller,T=e.isViewportAvailable,E=e.isPreviewDesktop,x=e.isPreviewTablet,C=e.isPreviewMobile;ie((function(){S()}),[]);var S=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,o="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(Y(u.a[c],window.themeisleGutenberg.globalDefaults[c])||(a=K({},window.themeisleGutenberg.globalDefaults[c]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(K(K({},a),{},{id:o})),pe.push(o),e.push(o)}else if(pe.includes(t.id)){var r="wp-block-themeisle-blocks-advanced-column-".concat(i.substr(0,8));n({id:r}),pe.push(r)}else pe.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=U(e)},M=q(ce(0),2),B=M[0],O=M[1],R=q(ce(0),2),L=R[0],N=R[1],A=h&&!w&&v&&!k,P=!h&&!w&&v&&!k,z=!(h||w||v||k);T&&!z&&(A=E,P=x,z=C),void 0===t.columnWidth&&f.innerBlocks.map((function(e,t){if(i===e.clientId){var n=f.attributes.columns,a=f.attributes.layout;p(i,{columnWidth:s.a[n][a][t]})}}));var I=document.getElementById("block-".concat(i));null!==I&&(I.style.flexBasis=A?"".concat(t.columnWidth,"%"):"");var H,_,j,D,G,V,F=t.columnsHTMLTag;(A&&(H={paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginRight:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginRight,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px"),marginLeft:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginLeft,"px")}),P&&(H={paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginRight:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginRightTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px"),marginLeft:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginLeftTablet,"px")}),z&&(H={paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginRight:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginRightMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px"),marginLeft:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginLeftMobile,"px")}),"color"===t.backgroundType&&(_={background:t.backgroundColor}),"image"===t.backgroundType&&(_={backgroundImage:"url( '".concat(t.backgroundImageURL,"' )"),backgroundAttachment:t.backgroundAttachment,backgroundPosition:t.backgroundPosition,backgroundRepeat:t.backgroundRepeat,backgroundSize:t.backgroundSize}),"gradient"===t.backgroundType)&&(V="linear"===t.backgroundGradientType?"".concat(t.backgroundGradientAngle,"deg"):"at ".concat(t.backgroundGradientPosition),(t.backgroundGradientFirstColor||t.backgroundGradientSecondColor)&&(_={background:"".concat(t.backgroundGradientType,"-gradient( ").concat(V,", ").concat(t.backgroundGradientFirstColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientFirstLocation,"%, ").concat(t.backgroundGradientSecondColor||"rgba( 0, 0, 0, 0 )"," ").concat(t.backgroundGradientSecondLocation,"% )")}));"linked"===t.borderType&&(j={borderWidth:"".concat(t.border,"px"),borderStyle:"solid",borderColor:t.borderColor}),"unlinked"===t.borderType&&(j={borderTopWidth:"".concat(t.borderTop,"px"),borderRightWidth:"".concat(t.borderRight,"px"),borderBottomWidth:"".concat(t.borderBottom,"px"),borderLeftWidth:"".concat(t.borderLeft,"px"),borderStyle:"solid",borderColor:t.borderColor}),"linked"===t.borderRadiusType&&(D={borderRadius:"".concat(t.borderRadius,"px")}),"unlinked"===t.borderRadiusType&&(D={borderTopLeftRadius:"".concat(t.borderRadiusTop,"px"),borderTopRightRadius:"".concat(t.borderRadiusRight,"px"),borderBottomRightRadius:"".concat(t.borderRadiusBottom,"px"),borderBottomLeftRadius:"".concat(t.borderRadiusLeft,"px")}),!0===t.boxShadow&&(G={boxShadow:"".concat(t.boxShadowHorizontal,"px ").concat(t.boxShadowVertical,"px ").concat(t.boxShadowBlur,"px ").concat(t.boxShadowSpread,"px ").concat(r()(t.boxShadowColor?t.boxShadowColor:"#000000",t.boxShadowColorOpacity))});var Z=K(K(K(K(K({},H),_),j),D),G);return wp.element.createElement(re,null,wp.element.createElement(W,{attributes:t,setAttributes:n,isSelected:o,clientId:i,adjacentBlock:b,parentBlock:f,updateBlockAttributes:p,adjacentBlockClientId:m}),wp.element.createElement(X,{className:"block-library-spacer__resize-container wp-themeisle-block-advanced-column-resize-container",enable:{right:!!m},handleWrapperClass:"wp-themeisle-block-advanced-column-resize-container-handle",onResizeStart:function(){var e=document.querySelector("#block-".concat(i," .wp-themeisle-block-advanced-column-resize-container-handle .components-resizable-box__handle")),n=document.createElement("div"),a=document.createElement("div");n.setAttribute("class","resizable-tooltip resizable-tooltip-left"),n.innerHTML="".concat(parseFloat(t.columnWidth).toFixed(0),"%"),e.appendChild(n),a.setAttribute("class","resizable-tooltip resizable-tooltip-right"),a.innerHTML="".concat(parseFloat(b.attributes.columnWidth).toFixed(0),"%"),e.appendChild(a),O(t.columnWidth),N(b.attributes.columnWidth),d(!1)},onResize:function(e,t,a,l){var o=document.getElementById("block-".concat(g)).getBoundingClientRect().width,r=l.width/o*100,i=parseFloat(B)+r,c=L-r,d=document.querySelector(".resizable-tooltip-left"),u=document.querySelector(".resizable-tooltip-right");10<=i&&10<=c&&(d.innerHTML="".concat(i.toFixed(0),"%"),u.innerHTML="".concat(c.toFixed(0),"%"),n({columnWidth:i.toFixed(2)}),p(m,{columnWidth:c.toFixed(2)}))},onResizeStop:function(){var e=document.querySelector(".resizable-tooltip-left"),t=document.querySelector(".resizable-tooltip-right");e.parentNode.removeChild(e),t.parentNode.removeChild(t),d(!0)}},wp.element.createElement(F,{className:a,id:t.id,style:Z},wp.element.createElement(le,{templateLock:!1,renderAppender:!y&&le.ButtonBlockAppender}))))})),ue=wp.blockEditor.InnerBlocks,se=function(e){var t=e.attributes,n=e.className,a=t.columnsHTMLTag;return wp.element.createElement(a,{className:n,id:t.id},wp.element.createElement(ue.Content,null))},be=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-column",{title:be("Section Column"),description:be("A single column within a Section block."),parent:["themeisle-blocks/advanced-columns"],icon:a.f,category:"themeisle-blocks",attributes:l,deprecated:m,supports:{inserter:!1,reusable:!1,html:!1},edit:me,save:se})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h3",fontSize:24}],["themeisle-blocks/advanced-heading",{content:l("$9.99"),align:"center",tag:"h4",fontSize:36,fontFamily:"Roboto Slab",fontVariant:"normal"}],["themeisle-blocks/advanced-heading",{content:l("Per Month"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("First Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Second Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/advanced-heading",{content:l("Last Feature"),align:"center",tag:"p",fontSize:12,marginBottom:0}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Buy Now"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/pricing",{title:p("Pricing"),description:p("Pricing tables are a critical part in showcasing your services, prices and overall offerings."),icon:a.p,category:"themeisle-blocks",keywords:["pricing","table","money"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["themeisle-blocks/font-awesome-icons",{fontSize:62,prefix:"fab",icon:"angellist"}],["themeisle-blocks/advanced-heading",{content:l("Basic"),align:"center",tag:"h4",marginBottom:20}],["themeisle-blocks/advanced-heading",{content:l("Lorem ipsum dolor sit amet elit do, consectetur adipiscing, sed eiusmod tempor incididunt ut labore et dolore magna aliqua."),align:"center",color:"#999999",tag:"p",fontSize:14,marginBottom:20}],["themeisle-blocks/button-group",{align:"center",buttons:1,data:[{text:l("Know More"),newTab:!1,color:"#ffffff",background:"#32373c",hoverColor:"#ffffff",hoverBackground:"#444a50",borderSize:0,borderRadius:3,boxShadow:!1,boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",paddingTopBottom:12,paddingLeftRight:24}]}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/service",{title:p("Service"),description:p("Use this Service block to showcase services your website offers."),icon:a.q,category:"themeisle-blocks",keywords:["services","icon","features"],edit:i,save:d})},function(e,t,n){"use strict";n.r(t);var a=n(2),l=wp.i18n.__,o=wp.blockEditor.InnerBlocks,r=[["core/image",{align:"center"}],["themeisle-blocks/advanced-heading",{content:l("John Doe"),align:"center",fontSize:24,tag:"h3",marginTop:25,marginBottom:10,marginTopTablet:25,marginTopMobile:25}],["themeisle-blocks/advanced-heading",{content:l("Jedi Master"),align:"center",fontSize:14,tag:"h4",marginTop:10,marginBottom:10}],["themeisle-blocks/advanced-heading",{content:l('"What is the point of being alive if you don’t at least try to do something remarkable?"'),align:"center",color:"#999999",tag:"p",fontSize:14,marginTop:10,marginBottom:20}]],i=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(o,{template:r}))},c=wp.blockEditor.InnerBlocks,d=function(e){var t=e.className;return wp.element.createElement("div",{className:t},wp.element.createElement(c.Content,null))},p=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/testimonials",{title:p("Testimonials"),description:p("Display kudos from customers and clients and display them on your website."),icon:a.s,category:"themeisle-blocks",keywords:["testimonials","quotes","business"],edit:i,save:d})},,,function(e,t,n){n(38),n(96),n(103),n(98),n(97),n(99),n(94),n(102),n(27),n(100),n(31),n(30),n(15),n(25),n(26),n(14),n(82),n(101),n(95),n(90),n(32),n(33),e.exports=n(34)},function(e,t,n){"use strict";n.r(t);n(39);n.p=window.themeisleGutenberg.packagePath},,,,,,,,function(e,t){function n(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function a(e){return function(){var t=this,a=arguments;return new Promise((function(l,o){var r=e.apply(t,a);function i(e){n(r,l,o,i,c,"next",e)}function c(e){n(r,l,o,i,c,"throw",e)}i(void 0)}))}}var l=lodash.debounce,o=wp.apiFetch,r=wp.data,i=r.select,c=r.subscribe,d=l(a(regeneratorRuntime.mark((function e(){var t,n,a;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=i("core/editor"),n=t.getCurrentPostId,a=n(),e.next=4,o({path:"themeisle-gutenberg-blocks/v1/save_post_meta/".concat(a),method:"POST"});case 4:case"end":return e.stop()}}),e)}))),1e3),p={};c((function(){var e=i("core/editor"),t=e.isCurrentPostPublished,n=e.isSavingPost,a=e.isPublishingPost,l=e.isAutosavingPost,r=e.__experimentalGetReusableBlocks,c=e.__experimentalIsSavingReusableBlock,m=l(),u=a(),s=n(),b=r(),g=t();b.map((function(e){if(e){var t=(n=e.id,c(n));t&&!e.isTemporary&&(p[e.id]={id:e.id,isSaving:!0}),t||e.isTemporary||!p[e.id]||e.id===p[e.id].id&&!t&&p[e.id].isSaving&&(p[e.id].isSaving=!1,o({path:"themeisle-gutenberg-blocks/v1/save_block_meta/".concat(e.id),method:"POST"}))}var n})),!(u||g&&s)||m||status||d()}))},function(e,t){var n=wp.data.registerStore,a={viewType:"Desktop"};n("themeisle-gutenberg/data",{reducer:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:a,t=arguments.length>1?arguments[1]:void 0;return"UPDATE_VIEW"===t.type?{viewType:t.viewType}:e},selectors:{getView:function(e){return e.viewType}},actions:{updateView:function(e){return{type:"UPDATE_VIEW",viewType:e}}}})},,function(e,t,n){},,function(e,t,n){},function(e,t){var n=wp.i18n.__,a=wp.richText,l=a.registerFormatType,o=a.toggleFormat,r=wp.blockEditor,i=r.RichTextShortcut,c=r.RichTextToolbarButton,d=wp.element.Fragment,p="themeisle-blocks/mark";l(p,{name:p,title:n("Highlight"),tagName:"mark",className:null,edit:function(e){var t=e.isActive,a=e.value,l=e.onChange,r=function(){return l(o(a,{type:p}))};return wp.element.createElement(d,null,wp.element.createElement(i,{type:"primary",character:"m",onUse:r}),wp.element.createElement(c,{icon:"admin-customizer",title:n("Highlight"),onClick:r,isActive:t,shortcutType:"access",shortcutCharacter:"m"}))}})},,,,,,function(e,t,n){},,function(e,t,n){},,function(e,t,n){},,,,function(e,t,n){},function(e,t,n){},,,,,function(e,t,n){},,,,,,,,,,function(e,t,n){"use strict";n.r(t);n(83),n(84),n(30),n(31)},function(e,t,n){},,function(e,t,n){},,function(e,t,n){},function(e,t,n){},,function(e,t,n){"use strict";n.r(t);n(32),n(33),n(34)},,,,function(e,t,n){"use strict";n.r(t);n(62),n(63);var a=n(2),l={id:{type:"string"},style:{type:"string",default:"standard"},location:{type:"string",default:"La Sagrada Familia, Barcelona, Spain"},latitude:{type:"string"},longitude:{type:"string"},type:{type:"string",default:"roadmap"},zoom:{type:"number",default:15},height:{type:"number",default:400},draggable:{type:"boolean",default:!0},mapTypeControl:{type:"boolean",default:!0},zoomControl:{type:"boolean",default:!0},fullscreenControl:{type:"boolean",default:!0},streetViewControl:{type:"boolean",default:!0},markers:{type:"array",default:[]}},o=n(0),r=n.n(o),i=n(106),c=wp.i18n.__,d=wp.components,p=d.Button,m=d.ExternalLink,u=d.Placeholder,s=d.Spinner,b=d.TextControl,g=function(e){var t=e.className,n=e.api,a=e.isAPILoaded,l=e.isAPISaved,o=e.isSaving,r=e.changeAPI,i=e.saveAPIKey;return a?l?void 0:wp.element.createElement(u,{icon:"admin-site",label:c("Google Maps"),instructions:c("A Google Maps API key is required, please enter one below."),className:t},wp.element.createElement("div",{className:"components-placeholder__actions"},wp.element.createElement(b,{type:"text",placeholder:c("Google Maps API Key"),value:n,className:"components-placeholder__input",onChange:r}),wp.element.createElement(p,{isLarge:!0,isDefault:!0,type:"submit",onClick:i,isBusy:o,disabled:""===n},c("Save"))),wp.element.createElement("div",{className:"components-placeholder__learn-more"},c("You need to activate Maps and Places API.")," ",wp.element.createElement(m,{href:"https://developers.google.com/maps/documentation/javascript/get-api-key"},c("Need an API key? Get one here.")))):wp.element.createElement(u,{className:"wp-themeisle-block-spinner"},wp.element.createElement(s,null),c("Loading…"))},f=n(12);function y(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function h(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?y(Object(n),!0).forEach((function(t){w(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):y(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function w(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var v=wp.i18n.__,k=wp.components.BaseControl,T=wp.compose.withInstanceId,E=wp.element,x=E.useEffect,C=E.useRef,S=T((function(e){var t=e.instanceId,n=e.value,a=e.onChange;x((function(){wp.oldEditor.initialize(o.current.id,{tinymce:h({},{classic_block_editor:!0,plugins:"lists,media,paste,tabfocus,wordpress,wpautoresize,wpeditimage,wpgallery,wplink,wpdialogs,wptextpattern,wpview",toolbar1:"formatselect,bold,italic,bullist,numlist,alignleft,aligncenter,alignright,link,unlink,spellchecker,wp_add_media"})});var e=window.tinymce.get(o.current.id);return e.on("change",(function(){return a(e.getContent())})),function(){return wp.oldEditor.remove(o.current.id)}}),[]);var l="inspector-textarea-control-".concat(t),o=C(null);return wp.element.createElement(k,{id:l,label:v("Description")},wp.element.createElement("textarea",{id:l,className:"components-textarea-control__input",rows:4,value:n,onChange:function(e){return a(e.target.value)},ref:o}))})),M=wp.i18n.__,B=wp.components,O=B.BaseControl,R=B.Button,L=B.ExternalLink,N=B.IconButton,A=B.SelectControl,P=B.TextControl,z=wp.element.useRef,I=function(e){var t=e.marker,n=e.isOpen,a=e.isPlaceAPIAvailable,l=e.openMarker,o=e.removeMarker,i=e.changeMarkerProp,c=z(null);return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker"},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-title-area"},wp.element.createElement(R,{className:"wp-block-themeisle-blocks-google-map-marker-title",onClick:function(){return l(t.id)}},t.title||M("Custom Marker")),wp.element.createElement(N,{icon:"no-alt",label:M("Remove Marker"),className:"wp-block-themeisle-blocks-google-map-marker-remove",onClick:function(){return o(t.id)}})),wp.element.createElement("div",{className:r()("wp-block-themeisle-blocks-google-map-marker-control-area",{opened:t.id===n})},wp.element.createElement(O,{label:M("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(t.id),placeholder:M("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:c,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var n=new google.maps.places.SearchBox(c.current);n.addListener("places_changed",(function(){var e=n.getPlaces();e&&0<e.length&&e.forEach((function(e){var n=e.formatted_address||e.name,a=e.geometry.location.lat(),l=e.geometry.location.lng();i(t.id,"location",n),i(t.id,"latitude",a),i(t.id,"longitude",l)}))}))},onChange:function(e){return i(t.id,"location",e.target.value)},disabled:!a}),!a&&wp.element.createElement("p",null,M("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(L,{href:"https://developers.google.com/places/web-service/intro"},M("More info.")))),wp.element.createElement(P,{label:M("Latitude"),type:"text",value:t.latitude,onChange:function(e){return i(t.id,"latitude",e)}}),wp.element.createElement(P,{label:M("Longitude"),type:"text",value:t.longitude,onChange:function(e){return i(t.id,"longitude",e)}}),wp.element.createElement(A,{label:M("Map Icon"),value:t.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:M("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:M("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:M("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:M("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:M("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:function(e){return i(t.id,"icon",e)}}),wp.element.createElement(P,{label:M("Title"),type:"text",value:t.title,onChange:function(e){return i(t.id,"title",e)}}),wp.element.createElement(S,{label:M("Description"),type:"text",value:t.description,onChange:function(e){return i(t.id,"description",e)}})))};function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return _(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function _(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var j=wp.i18n.__,D=wp.components.Button,G=wp.element,V=G.Fragment,F=G.useEffect,W=G.useState,q=function(e){var t=e.initialOpen,n=e.markers,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.removeMarker,r=e.changeMarkerProp;F((function(){!1!==t&&d(t)}),[t]);var i=H(W(null),2),c=i[0],d=i[1],p=function(e){c===e&&(e=null),d(e)};return wp.element.createElement(V,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-google-map-marker-group"},n.map((function(e){return wp.element.createElement(I,{marker:e,isOpen:c,isPlaceAPIAvailable:a,openMarker:p,removeMarker:o,changeMarkerProp:r})}))),wp.element.createElement(D,{isDefault:!0,isLarge:!0,className:"wp-block-themeisle-blocks-google-map-marker-add",onClick:l},j("Add Marker")))},U=wp.i18n.__,Z=wp.components,$=Z.BaseControl,Q=Z.Button,K=Z.ExternalLink,J=Z.PanelBody,Y=Z.RangeControl,X=Z.SelectControl,ee=Z.TextControl,te=Z.ToggleControl,ne=wp.blockEditor.InspectorControls,ae=wp.element.useRef,le=function(e){var t=e.attributes,n=e.setAttributes,a=e.map,l=e.changeStyle,o=e.isPlaceAPIAvailable,r=e.isMarkerOpen,i=e.setMarkerOpen,c=e.removeMarker,d=e.changeMarkerProp,p=e.addMarkerManual,m=e.api,u=e.isSaving,s=e.changeAPI,b=e.saveAPIKey,g=ae(null);return wp.element.createElement(ne,null,wp.element.createElement(J,{title:U("Styles"),initialOpen:!1},wp.element.createElement(f.b,{value:t.style,options:[{label:U("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:U("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:U("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:U("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:U("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:U("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:l})),wp.element.createElement(J,{title:U("Location")},wp.element.createElement($,{label:U("Location"),id:"wp-block-themeisle-blocks-google-map-search"},wp.element.createElement("input",{type:"text",id:"wp-block-themeisle-blocks-google-map-search",placeholder:U("Enter a location…"),value:t.location,className:"wp-block-themeisle-blocks-google-map-search",ref:g,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(g.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.geometry.location.lat(),l=e.geometry.location.lng(),o=new google.maps.LatLng(t,l);a.setCenter(o),n({location:e.formatted_address||e.name,latitude:t.toString(),longitude:l.toString()})}))}))},onChange:function(e){n({location:e.target.value})},disabled:!o}),!o&&wp.element.createElement("p",null,U("To enable locations earch, please ensure Places API is activated in the Google Developers Console.")+" ",wp.element.createElement(K,{href:"https://developers.google.com/places/web-service/intro"},U("More info.")))),wp.element.createElement(ee,{label:U("Latitude"),type:"text",placeholder:U("Enter latitude…"),value:t.latitude,onChange:function(e){n({latitude:e.toString()});var l=Number(e),o=t.longitude,r=new google.maps.LatLng(l,o);a.setCenter(r)}}),wp.element.createElement(ee,{label:U("Longitude"),type:"text",placeholder:U("Enter longitude"),value:t.longitude,onChange:function(e){n({longitude:e.toString()});var l=t.latitude,o=Number(e),r=new google.maps.LatLng(l,o);a.setCenter(r)}})),wp.element.createElement(J,{title:U("Positioning & Zooming"),initialOpen:!1},wp.element.createElement(X,{label:U("Map Type"),value:t.type,options:[{label:U("Road Map"),value:"roadmap"},{label:U("Satellite View"),value:"satellite"},{label:U("Hybrid"),value:"hybrid"},{label:U("Terrain"),value:"terrain"}],onChange:function(e){n({type:e}),a.setMapTypeId(google.maps.MapTypeId[e.toUpperCase()])}}),wp.element.createElement(Y,{label:U("Map Zoom Level"),value:t.zoom,onChange:function(e){n({zoom:e}),a.setZoom(e)},min:0,max:20}),wp.element.createElement(Y,{label:U("Map Height"),value:t.height,onChange:function(e){n({height:e})},min:100,max:1400})),wp.element.createElement(J,{title:U("Controls"),initialOpen:!1},wp.element.createElement($,null,U("The following changes will not affect block preview during the editing process. You can click outside the block to see the changes take effect.")),wp.element.createElement(te,{label:"Draggable Map",checked:t.draggable,onChange:function(){n({draggable:!t.draggable})}}),wp.element.createElement(te,{label:"Map Type Control",checked:t.mapTypeControl,onChange:function(){n({mapTypeControl:!t.mapTypeControl})}}),wp.element.createElement(te,{label:"Zoom Control",checked:t.zoomControl,onChange:function(){n({zoomControl:!t.zoomControl})}}),wp.element.createElement(te,{label:"Full Screen Control",checked:t.fullscreenControl,onChange:function(){n({fullscreenControl:!t.fullscreenControl})}}),wp.element.createElement(te,{label:"Streen View Control",checked:t.streetViewControl,onChange:function(){n({streetViewControl:!t.streetViewControl})}})),wp.element.createElement(J,{title:U("Markers"),initialOpen:!1,opened:!1!==r||void 0,onToggle:function(){!1!==r&&i(!0)}},wp.element.createElement(q,{markers:t.markers,removeMarker:c,changeMarkerProp:d,addMarker:p,isPlaceAPIAvailable:o,initialOpen:r})),wp.element.createElement(J,{title:U("Global Settings"),initialOpen:!1},wp.element.createElement(ee,{label:U("Google Maps API Key"),type:"text",placeholder:U("Google Maps API Key"),value:m,className:"components-placeholder__input",onChange:s,help:U("Changing the API key effects all Google Map Embed blocks. You will have to refresh the page after changing your API keys.")}),wp.element.createElement(Q,{isLarge:!0,isDefault:!0,type:"submit",onClick:b,isBusy:u},U("Save API Key"))))};function oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return re(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return re(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function re(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var ie=wp.i18n.__,ce=wp.components,de=ce.BaseControl,pe=ce.Button,me=ce.ButtonGroup,ue=ce.Modal,se=ce.SelectControl,be=ce.TextControl,ge=wp.element,fe=ge.useEffect,ye=ge.useRef,he=ge.useState,we=ge.Fragment,ve=function(e){var t=e.marker,n=e.isAdvanced,a=e.isPlaceAPIAvailable,l=e.addMarker,o=e.close;fe((function(){d(t.id),u(t.location),g(t.title),h(t.icon),k(t.description),x(t.latitude),B(t.longitude)}),[t]);var r=ye(null),i=oe(he(t.id),2),c=i[0],d=i[1],p=oe(he(t.location),2),m=p[0],u=p[1],s=oe(he(t.title),2),b=s[0],g=s[1],f=oe(he(t.icon),2),y=f[0],h=f[1],w=oe(he(t.description),2),v=w[0],k=w[1],T=oe(he(t.latitude),2),E=T[0],x=T[1],C=oe(he(t.longitude),2),M=C[0],B=C[1];return wp.element.createElement(ue,{title:ie("Add Marker"),onRequestClose:o,shouldCloseOnClickOutside:!1},n&&wp.element.createElement(we,null,wp.element.createElement(de,{label:ie("Location"),id:"themeisle-location-search-".concat(t.id)},wp.element.createElement("input",{type:"text",id:"themeisle-location-search-".concat(c),placeholder:ie("Enter a location…"),value:m,className:"wp-block-themeisle-blocks-google-map-search",ref:r,onFocus:function(){var e=document.getElementsByClassName("pac-container");Object.keys(e).forEach((function(t){return e[t].remove()}));var t=new google.maps.places.SearchBox(r.current);t.addListener("places_changed",(function(){var e=t.getPlaces();e&&0<e.length&&e.forEach((function(e){var t=e.formatted_address||e.name,n=e.geometry.location.lat(),a=e.geometry.location.lng();u(t),x(n),B(a)}))}))},onChange:function(e){return u(e.target.value)},disabled:!a})),wp.element.createElement(be,{label:ie("Latitude"),type:"text",value:E,onChange:x}),wp.element.createElement(be,{label:ie("Longitude"),type:"text",value:M,onChange:B})),wp.element.createElement(be,{label:ie("Title"),type:"text",value:b,onChange:g}),wp.element.createElement(S,{label:ie("Description"),type:"text",value:v,onChange:k}),wp.element.createElement(se,{label:ie("Map Icon"),value:y||"https://maps.google.com/mapfiles/ms/icons/red-dot.png",options:[{label:ie("Red"),value:"https://maps.google.com/mapfiles/ms/icons/red-dot.png"},{label:ie("Blue"),value:"https://maps.google.com/mapfiles/ms/icons/blue-dot.png"},{label:ie("Yellow"),value:"https://maps.google.com/mapfiles/ms/icons/yellow-dot.png"},{label:ie("Green"),value:"https://maps.google.com/mapfiles/ms/icons/green-dot.png"},{label:ie("Orange"),value:"https://maps.google.com/mapfiles/ms/icons/orange-dot.png"}],onChange:h}),wp.element.createElement(me,null,wp.element.createElement(pe,{isLarge:!0,isPrimary:!0,onClick:function(){return l(m,b,y,v,E,M)}},ie("Add")),wp.element.createElement(pe,{isLarge:!0,isDefault:!0,onClick:o},ie("Cancel"))))},ke=wp.i18n.__,Te=wp.components.Button,Ee=wp.element,xe=Ee.Fragment,Ce=Ee.useEffect,Se=function(e){var t=e.attributes,n=e.className,a=e.initMap,l=e.displayMap,o=e.isMapLoaded,i=e.selectMarker,c=e.isSelectingMarker;return Ce((function(){l&&a()}),[l]),wp.element.createElement(xe,null,wp.element.createElement("div",{id:t.id,className:r()(n,{"is-selecting-marker":c}),style:{height:t.height+"px"}}),o&&wp.element.createElement(Te,{className:"wp-block-themeisle-blocks-google-map-marker-button",title:ke("Add Button"),onClick:i},wp.element.createElement("span",{className:"dashicons dashicons-sticky"})))},Me={standard:[],silver:[{elementType:"geometry",stylers:[{color:"#f5f5f5"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f5f5"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#ffffff"}]},{featureType:"road.arterial",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#dadada"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#e5e5e5"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#eeeeee"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#c9c9c9"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]}],retro:[{elementType:"geometry",stylers:[{color:"#ebe3cd"}]},{elementType:"labels.text.fill",stylers:[{color:"#523735"}]},{elementType:"labels.text.stroke",stylers:[{color:"#f5f1e6"}]},{featureType:"administrative",elementType:"geometry.stroke",stylers:[{color:"#c9b2a6"}]},{featureType:"administrative.land_parcel",elementType:"geometry.stroke",stylers:[{color:"#dcd2be"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#ae9e90"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#93817c"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#a5b076"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#447530"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#f5f1e6"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#fdfcf8"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#f8c967"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#e9bc62"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#e98d58"}]},{featureType:"road.highway.controlled_access",elementType:"geometry.stroke",stylers:[{color:"#db8555"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#806b63"}]},{featureType:"transit.line",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"transit.line",elementType:"labels.text.fill",stylers:[{color:"#8f7d77"}]},{featureType:"transit.line",elementType:"labels.text.stroke",stylers:[{color:"#ebe3cd"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#dfd2ae"}]},{featureType:"water",elementType:"geometry.fill",stylers:[{color:"#b9d3c2"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#92998d"}]}],dark:[{elementType:"geometry",stylers:[{color:"#212121"}]},{elementType:"labels.icon",stylers:[{visibility:"off"}]},{elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{elementType:"labels.text.stroke",stylers:[{color:"#212121"}]},{featureType:"administrative",elementType:"geometry",stylers:[{color:"#757575"}]},{featureType:"administrative.country",elementType:"labels.text.fill",stylers:[{color:"#9e9e9e"}]},{featureType:"administrative.land_parcel",stylers:[{visibility:"off"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#bdbdbd"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#181818"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"poi.park",elementType:"labels.text.stroke",stylers:[{color:"#1b1b1b"}]},{featureType:"road",elementType:"geometry.fill",stylers:[{color:"#2c2c2c"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#8a8a8a"}]},{featureType:"road.arterial",elementType:"geometry",stylers:[{color:"#373737"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#3c3c3c"}]},{featureType:"road.highway.controlled_access",elementType:"geometry",stylers:[{color:"#4e4e4e"}]},{featureType:"road.local",elementType:"labels.text.fill",stylers:[{color:"#616161"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#757575"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#000000"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#3d3d3d"}]}],night:[{elementType:"geometry",stylers:[{color:"#242f3e"}]},{elementType:"labels.text.fill",stylers:[{color:"#746855"}]},{elementType:"labels.text.stroke",stylers:[{color:"#242f3e"}]},{featureType:"administrative.locality",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"poi.park",elementType:"geometry",stylers:[{color:"#263c3f"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#6b9a76"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#38414e"}]},{featureType:"road",elementType:"geometry.stroke",stylers:[{color:"#212a37"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#9ca5b3"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#746855"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#1f2835"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#f3d19c"}]},{featureType:"transit",elementType:"geometry",stylers:[{color:"#2f3948"}]},{featureType:"transit.station",elementType:"labels.text.fill",stylers:[{color:"#d59563"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#17263c"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#515c6d"}]},{featureType:"water",elementType:"labels.text.stroke",stylers:[{color:"#17263c"}]}],aubergine:[{elementType:"geometry",stylers:[{color:"#1d2c4d"}]},{elementType:"labels.text.fill",stylers:[{color:"#8ec3b9"}]},{elementType:"labels.text.stroke",stylers:[{color:"#1a3646"}]},{featureType:"administrative.country",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"administrative.land_parcel",elementType:"labels.text.fill",stylers:[{color:"#64779e"}]},{featureType:"administrative.province",elementType:"geometry.stroke",stylers:[{color:"#4b6878"}]},{featureType:"landscape.man_made",elementType:"geometry.stroke",stylers:[{color:"#334e87"}]},{featureType:"landscape.natural",elementType:"geometry",stylers:[{color:"#023e58"}]},{featureType:"poi",elementType:"geometry",stylers:[{color:"#283d6a"}]},{featureType:"poi",elementType:"labels.text.fill",stylers:[{color:"#6f9ba5"}]},{featureType:"poi",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"poi.park",elementType:"geometry.fill",stylers:[{color:"#023e58"}]},{featureType:"poi.park",elementType:"labels.text.fill",stylers:[{color:"#3C7680"}]},{featureType:"road",elementType:"geometry",stylers:[{color:"#304a7d"}]},{featureType:"road",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"road",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"road.highway",elementType:"geometry",stylers:[{color:"#2c6675"}]},{featureType:"road.highway",elementType:"geometry.stroke",stylers:[{color:"#255763"}]},{featureType:"road.highway",elementType:"labels.text.fill",stylers:[{color:"#b0d5ce"}]},{featureType:"road.highway",elementType:"labels.text.stroke",stylers:[{color:"#023e58"}]},{featureType:"transit",elementType:"labels.text.fill",stylers:[{color:"#98a5be"}]},{featureType:"transit",elementType:"labels.text.stroke",stylers:[{color:"#1d2c4d"}]},{featureType:"transit.line",elementType:"geometry.fill",stylers:[{color:"#283d6a"}]},{featureType:"transit.station",elementType:"geometry",stylers:[{color:"#3a4762"}]},{featureType:"water",elementType:"geometry",stylers:[{color:"#0e1626"}]},{featureType:"water",elementType:"labels.text.fill",stylers:[{color:"#4e6d70"}]}]};function Be(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function Oe(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Le(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Re(e){return function(e){if(Array.isArray(e))return Ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Le(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Le(e,t){if(e){if("string"==typeof e)return Ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ne(e,t):void 0}}function Ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var Ae=wp.i18n.__,Pe=wp.components.ResizableBox,ze=wp.element,Ie=ze.Fragment,He=ze.useEffect,_e=ze.useRef,je=ze.useState,De=[],Ge=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,o=e.isSelected,c=e.toggleSelection;He((function(){X(),window.isMapLoaded=window.isMapLoaded||!1,window["removeMarker_".concat(l.substr(0,8))]=oe,m.current=document.createElement("script"),m.current.type="text/javascript",m.current.async=!0,m.current.defer=!0,m.current.id="themeisle-google-map-api-loading"}),[]),He((function(){!1!==x&&void 0!==window.google&&u.current.setOptions({mapTypeControl:!!o||t.mapTypeControl,zoomControl:!!o||t.zoomControl,fullscreenControl:!!o||t.fullscreenControl,streetViewControl:!!o||t.streetViewControl})}),[o]),He((function(){b.current=Re(t.markers)}),[t.markers]);var d=_e([]),p=_e(null),m=_e(null),u=_e(null),s=_e(null),b=_e(Re(t.markers)),y=Oe(je(""),2),h=y[0],w=y[1],v=Oe(je(!1),2),k=v[0],T=v[1],E=Oe(je(!1),2),x=E[0],C=E[1],S=Oe(je(!1),2),M=S[0],B=S[1],O=Oe(je(!1),2),R=O[0],L=O[1],N=Oe(je(!0),2),A=N[0],P=N[1],z=Oe(je(!1),2),I=z[0],H=z[1],_=Oe(je(!1),2),j=_[0],D=_[1],G=Oe(je(!1),2),V=G[0],F=G[1],W=Oe(je(!1),2),q=W[0],U=W[1],Z=Oe(je(!1),2),$=Z[0],Q=Z[1],K=Oe(je({}),2),J=K[0],Y=K[1],X=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0!==t.id){e.next=7;break}return a="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=4,n({id:a});case 4:De.push(a),e.next=15;break;case 7:if(!De.includes(t.id)){e.next=14;break}return o="wp-block-themeisle-blocks-google-map-".concat(l.substr(0,8)),e.next=11,n({id:o});case 11:De.push(o),e.next=15;break;case 14:De.push(t.id);case 15:return e.next=17,wp.api.loadPromise.then((function(){p.current=new wp.api.models.Settings}));case 17:!1===Boolean(themeisleGutenberg.mapsAPI)?k||p.current.fetch().then((function(e){w(e.themeisle_google_map_block_api_key),T(!0),""!==e.themeisle_google_map_block_api_key&&(C(!0),ee(e.themeisle_google_map_block_api_key))})):k||(w(themeisleGutenberg.mapsAPI),T(!0),C(!0),ee(themeisleGutenberg.mapsAPI));case 18:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){Be(o,a,l,r,i,"next",e)}function i(e){Be(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),ee=function(e){window.isMapLoaded||(window.isMapLoaded=!0,m.current.onload=function(){document.getElementById("themeisle-google-map-api-loading").id="themeisle-google-map-api",H(!0)},m.current.src="https://maps.googleapis.com/maps/api/js?key=".concat(e,"&libraries=places&cache=").concat(Math.random()),document.head.appendChild(m.current)),document.getElementById("themeisle-google-map-api")&&H(!0)},te=function(e,t,n,a){var o='<div class="wp-block-themeisle-blocks-map-overview"><h6 class="wp-block-themeisle-blocks-map-overview-title">'.concat(n,'</h6><div class="wp-block-themeisle-blocks-map-overview-content">').concat(a?"<p>".concat(a,"</p>"):"",'<a class="wp-block-themeisle-blocks-map-overview-delete" onclick="removeMarker_').concat(l.substr(0,8),"( '").concat(t,"' )\">").concat(Ae("Delete Marker"),"</a></div></div>"),r=new google.maps.InfoWindow({content:o});e.addListener("click",(function(){s.current=r,r.open(u.current,e)})),google.maps.event.addListener(r,"domready",(function(){D(t)})),google.maps.event.addListener(r,"closeclick",(function(){D(!1)}))},ne=function(e){e.forEach((function(e){var t=e.latitude,n=e.longitude,a=new google.maps.LatLng(t,n),l=new google.maps.Marker({position:a,map:u.current,title:e.title,draggable:!0,icon:e.icon||"https://maps.google.com/mapfiles/ms/icons/red-dot.png"});google.maps.event.addListener(l,"dragend",(function(t){var n=t.latLng.lat(),a=t.latLng.lng();ae(e.id,"latitude",n),ae(e.id,"longitude",a)})),d.current.push(l),google.maps.event.addListener(l,"click",(function(){s.current&&s.current.close()})),te(l,e.id,e.title,e.description)}))},ae=function(e,t,a){var l=Re(b.current);l.map((function(n){if(n.id===e)return n[t]=a.toString()})),re(),ne(l),n({markers:l})},oe=function(e){var t=Re(b.current);t=t.filter((function(t){return t.id!==e})),n({markers:t}),re(),D(!1),0<t.length&&ne(t)},re=function(){for(var e=0;e<d.current.length;e++)d.current[e].setMap(null);d.current=[]},ie=function(){!1===Boolean(themeisleGutenberg.mapsAPI)&&(L(!0),new wp.api.models.Settings({themeisle_google_map_block_api_key:h}).save().then((function(e){var t=!1;""!==e.themeisle_google_map_block_api_key&&(t=!0),L(!1),C(t),""!==e.themeisle_google_map_block_api_key&&(window.isMapLoaded=!1,ee(e.themeisle_google_map_block_api_key))})))},ce=function(e){n({style:e}),u.current.setOptions({styles:Me[e]})};return k&&x?wp.element.createElement(Ie,null,wp.element.createElement(f.a,{label:Ae("Block Styles"),value:t.style,options:[{label:Ae("Standard"),value:"standard",image:themeisleGutenberg.assetsPath+"/icons/map-standard.png"},{label:Ae("Silver"),value:"silver",image:themeisleGutenberg.assetsPath+"/icons/map-silver.png"},{label:Ae("Retro"),value:"retro",image:themeisleGutenberg.assetsPath+"/icons/map-retro.png"},{label:Ae("Dark"),value:"dark",image:themeisleGutenberg.assetsPath+"/icons/map-dark.png"},{label:Ae("Night"),value:"night",image:themeisleGutenberg.assetsPath+"/icons/map-night.png"},{label:Ae("Aubergine"),value:"aubergine",image:themeisleGutenberg.assetsPath+"/icons/map-aubergine.png"}],onChange:ce}),wp.element.createElement(le,{attributes:t,setAttributes:n,map:u.current,changeStyle:ce,isPlaceAPIAvailable:A,isMarkerOpen:j,setMarkerOpen:D,removeMarker:oe,changeMarkerProp:ae,addMarkerManual:function(){var e=Object(i.a)(),t=Ae("Custom Marker"),n=u.current.getCenter(),a=n.lat(),l=n.lng();U(!0),Q(!0),Y({id:e,location:"",title:t,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})},api:h,isSaving:R,changeAPI:w,saveAPIKey:ie}),q&&wp.element.createElement(ve,{marker:J,isAdvanced:$,isPlaceAPIAvailable:A,close:function(){return U(!1)},addMarker:function(e,a,l,o,r,c){var p=new google.maps.LatLng(r,c),m=Object(i.a)(),b=new google.maps.Marker({position:p,map:u.current,title:a,draggable:!0,icon:l});google.maps.event.addListener(b,"dragend",(function(e){var t=e.latLng.lat(),n=e.latLng.lng();ae(m,"latitude",t),ae(m,"longitude",n)})),d.current.push(b);var g=Re(t.markers),f={id:m,location:e,title:a,icon:l,description:o,latitude:r,longitude:c};g.push(f),n({markers:g}),google.maps.event.addListener(b,"click",(function(){s.current&&s.current.close()})),te(b,f.id,a,o),U(!1),F(!1)}}),wp.element.createElement(Pe,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){c(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),c(!0)},className:r()("wp-block-themeisle-blocks-google-map-resizer",{"is-focused":o})},wp.element.createElement(Se,{attributes:t,className:a,initMap:function(){if(u.current=new google.maps.Map(document.getElementById(t.id),{center:{lat:Number(t.latitude)||41.4036299,lng:Number(t.longitude)||2.1743558000000576},gestureHandling:"cooperative",zoom:t.zoom,mapTypeId:t.type,styles:Me[t.style]}),t.location&&void 0===t.latitude&&void 0===t.longitude){var e={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(u.current).findPlaceFromQuery(e,(function(e,t){t===google.maps.places.PlacesServiceStatus.OK&&0<e.length&&u.current.setCenter(e[0].geometry.location)}))}google.maps.event.addListenerOnce(u.current,"idle",(function(){B(!0)})),u.current.addListener("zoom_changed",(function(){var e=u.current.getZoom();n({zoom:e})})),u.current.addListener("maptypeid_changed",(function(){var e=u.current.getMapTypeId();n({type:e})})),u.current.addListener("bounds_changed",(function(){var e=u.current.getCenter(),t=e.lat(),a=e.lng();n({latitude:t.toString(),longitude:a.toString()})})),0<t.markers.length&&ne(t.markers);var a={query:t.location,fields:["name","geometry"]};new google.maps.places.PlacesService(u.current).findPlaceFromQuery(a,(function(e,t){"REQUEST_DENIED"===t&&P(!1)}))},displayMap:I,isMapLoaded:M,selectMarker:function(){F(!V),V?google.maps.event.clearListeners(u.current,"click"):u.current.addListener("click",(function(e){google.maps.event.clearListeners(u.current,"click");var t=Object(i.a)(),n=Ae("Custom Marker"),a=e.latLng.lat(),l=e.latLng.lng();U(!0),Q(!1),Y({id:t,location:"",title:n,icon:"https://maps.google.com/mapfiles/ms/icons/red-dot.png",description:"",latitude:a,longitude:l})}))},isSelectingMarker:V}))):wp.element.createElement(g,{className:a,api:h,isAPILoaded:k,isAPISaved:x,changeAPI:w,saveAPIKey:ie})},Ve=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/google-map",{title:Ve("Google Map"),description:Ve("Display a Google Map on your website with Google Map block."),icon:a.j,category:"themeisle-blocks",keywords:["map","google","orbitfox"],attributes:l,supports:{align:["wide","full"],html:!1},edit:Ge,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(88),n(89);var a={id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},l=n(0),o=n.n(l),r=wp.components,i=r.Path,c=r.SVG,d=wp.element.Fragment,p=function(e){var t=e.attributes;return wp.element.createElement(d,null,!t.hideArrows&&wp.element.createElement("div",{className:"glide__arrows","data-glide-el":"controls"},wp.element.createElement("button",{className:"glide__arrow glide__arrow--left","data-glide-dir":"<"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"}))),wp.element.createElement("button",{className:"glide__arrow glide__arrow--right","data-glide-dir":">"},wp.element.createElement(c,{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 100 100"},wp.element.createElement(i,{d:"M 10,50 L 60,100 L 70,90 L 30,50 L 70,10 L 60,0 Z"})))))},m=function(e){var t=e.attributes;return wp.element.createElement(d,null,!t.hideBullets&&wp.element.createElement("div",{className:"glide__bullets","data-glide-el":"controls[nav]"},t.images.map((function(e,t){return wp.element.createElement("button",{className:"glide__bullet","data-glide-dir":"=".concat(t)})}))))},u=function(e){var t=e.attributes;return wp.element.createElement(d,null,wp.element.createElement(p,{attributes:t}),wp.element.createElement(m,{attributes:t}))},s=wp.blockEditor.RichText,b=[{attributes:{id:{type:"string"},align:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},height:{type:"number",default:400}},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":t.autoplay},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!s.isEmpty(e.caption)&&wp.element.createElement(s.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(u,{attributes:t})))}},{attributes:{id:{type:"string"},images:{type:"array",default:[],source:"query",selector:".wp-block-themeisle-blocks-slider-item-wrapper",query:{id:{type:"number",source:"attribute",selector:"img",attribute:"data-id"},url:{type:"string",source:"attribute",selector:"img",attribute:"src"},alt:{type:"string",source:"attribute",selector:"img",attribute:"alt",default:""},caption:{type:"string",source:"html",selector:"figcaption",default:""}}},perView:{type:"number",default:1},gap:{type:"number",default:0},peek:{type:"number",default:0},autoplay:{type:"boolean",default:!0},delay:{type:"number",default:2},hideArrows:{type:"boolean",default:!1},hideBullets:{type:"boolean",default:!1},height:{type:"number",default:400}},supports:{align:["wide","full"]},save:function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px")},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!s.isEmpty(e.caption)&&wp.element.createElement(s.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(u,{attributes:t})))}}],g=lodash,f=g.filter,y=g.every,h=wp.blocks.createBlock,w={from:[{type:"block",isMultiBlock:!0,blocks:["core/image"],transform:function(e){var t=e[0].align;t=y(e,["align",t])?t:void 0;var n=f(e,(function(e){return e.url}));return h("themeisle-blocks/slider",{images:n.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:t})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return h("themeisle-blocks/slider",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}],to:[{type:"block",blocks:["core/image"],transform:function(e){var t=e.images,n=e.align;return 0<t.length?t.map((function(e){var t=e.id,a=e.url,l=e.alt,o=e.caption;return h("core/image",{id:t,url:a,alt:l,caption:o,align:n})})):h("core/image",{align:n})}},{type:"block",blocks:["core/gallery"],transform:function(e){var t=e.images,n=e.align;return h("core/gallery",{images:t.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}})),align:n})}}]},v=lodash.debounce,k=wp.blockEditor.MediaPlaceholder,T=function(e){var t=e.labels,n=e.icon,a=e.isAppender,l=void 0!==a&&a,o=e.value,r=void 0===o?{}:o,i=e.onSelectImages,c=v(i,250);return wp.element.createElement(k,{labels:t,icon:n,accept:"image/*",allowedTypes:["image"],isAppender:l,className:"wp-block-themeisle-blocks-slider-uploader",value:r,onSelect:c,multiple:!0})},E=wp.i18n.__,x=lodash.max,C=wp.blockEditor.InspectorControls,S=wp.components,M=S.PanelBody,B=S.RangeControl,O=S.ToggleControl,R=wp.element.Fragment,L=function(e){var t=e.attributes,n=e.setAttributes,a=e.slider,l=e.changePerView;return wp.element.createElement(C,null,wp.element.createElement(M,{title:E("Settings")},t.images.length&&wp.element.createElement(R,null,wp.element.createElement(B,{label:E("Slides Per Page"),help:E("A number of visible slides."),value:t.perView,onChange:l,min:1,max:x([Math.round(t.images.length/2),1])}),1<t.perView&&wp.element.createElement(R,null,wp.element.createElement(B,{label:E("Gap"),help:E("A size of the space between slides."),value:t.gap,onChange:function(e){n({gap:Number(e)}),a.update({gap:Number(e)})},min:0,max:100}),wp.element.createElement(B,{label:E("Peek"),help:E("The value of the future slides which have to be visible in the current slide."),value:t.peek,onChange:function(e){n({peek:Number(e)}),a.update({peek:Number(e)})},min:0,max:100})),wp.element.createElement(B,{label:E("Height"),help:E("Slider height in pixels."),value:t.height,onChange:function(e){n({height:Number(e)})},min:100,max:1400}),wp.element.createElement(O,{label:E("Autoplay"),help:E("Autoplay slider in the front."),checked:t.autoplay,onChange:function(e){n({autoplay:e})}}),t.autoplay&&wp.element.createElement(B,{label:E("Delay"),help:E("Delay in slide change (in seconds)."),value:t.delay,onChange:function(e){n({delay:e})},min:1,max:10}),wp.element.createElement(O,{label:E("Hide Arrows"),help:E("Hide navigation arrows."),checked:t.hideArrows,onChange:function(e){n({hideArrows:e})}}),wp.element.createElement(O,{label:E("Hide Bullets"),help:E("Hide navigation bullets."),checked:t.hideBullets,onChange:function(e){n({hideBullets:e})}}))))};function N(e){return function(e){if(Array.isArray(e))return A(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return A(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return A(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var P=wp.i18n.__,z=lodash.filter,I=wp.blockEditor.RichText,H=wp.components.IconButton,_=wp.element.Fragment,j=function(e){var t=e.images,n=e.image,a=e.index,l=e.isFirstItem,r=e.isLastItem,i=e.isSelected,c=e.setAttributes,d=e.setSelectedImage,p=function(e,n){var a=N(t);a.splice(n,1,t[e]),a.splice(e,1,t[n]),d(n),c({images:a})};return wp.element.createElement("div",{className:o()("wp-block-themeisle-blocks-slider-item-wrapper glide__slide",{"is-selected":i}),tabIndex:"0",onClick:function(){return d(n.id)},onFocus:function(){return d(n.id)}},wp.element.createElement("figure",null,wp.element.createElement("img",{key:n.id,className:"wp-block-themeisle-blocks-slider-item",src:n.url,alt:n.alt,title:n.alt,"data-id":n.id}),i&&wp.element.createElement(_,null,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-move-menu"},wp.element.createElement(H,{icon:"arrow-left-alt2",onClick:l?void 0:function(){0!==a&&p(a,a-1)},className:"wp-block-themeisle-blocks-slider-item-move-backward",label:P("Move image backward"),"aria-disabled":l,disabled:!i}),wp.element.createElement(H,{icon:"arrow-right-alt2",onClick:r?void 0:function(){a!==t.length-1&&p(a,a+1)},className:"wp-block-themeisle-blocks-slider-item-move-forward",label:P("Move image forward"),"aria-disabled":r,disabled:!i})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-delete-menu"},wp.element.createElement(H,{icon:"no-alt",onClick:function(){var e=z(t,(function(e,t){return a!==t}));d(null),c({images:e})},className:"wp-block-themeisle-blocks-slider-item-delete",label:P("Remove image")}))),(i||!I.isEmpty(n.caption))&&wp.element.createElement(I,{tagName:"figcaption",placeholder:i?P("Write caption…"):null,value:n.caption,onChange:function(e){var n=N(t);n[a].caption=e,c({images:n})},multiline:!1})))};function D(e){return function(e){if(Array.isArray(e))return W(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||F(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function G(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function V(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||F(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function F(e,t){if(e){if("string"==typeof e)return W(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?W(e,t):void 0}}function W(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var q=wp.i18n.__,U=lodash.max,Z=wp.components.ResizableBox,$=wp.element,Q=$.Fragment,K=$.useEffect,J=$.useRef,Y=$.useState,X=[],ee=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.clientId,r=e.isSelected,i=e.toggleSelection;K((function(){return b(),function(){t.images.length&&c.current.destroy()}}),[]),K((function(){t.images.length&&(s(null),null!==c.current&&(c.current.destroy(),g()))}),[r,t.align]),K((function(){t.images.length&&t.perView>t.images.length&&y(U([Math.round(t.images.length/2),1]))}),[t.images]);var c=J(null),d=J(null),p=V(Y(null),2),m=p[0],s=p[1],b=function(){var e,a=(e=regeneratorRuntime.mark((function e(){var a,o,r;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(a=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[],void 0!==t.id){e.next=10;break}return o="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=5,n({id:o});case 5:X.push(o),d.current=o,a.push(o),e.next=21;break;case 10:if(!X.includes(t.id)){e.next=18;break}return r="wp-block-themeisle-blocks-slider-".concat(l.substr(0,8)),e.next=14,n({id:r});case 14:X.push(r),d.current=r,e.next=21;break;case 18:X.push(t.id),d.current=t.id,a.push(t.id);case 21:window.themeisleGutenberg.blockIDs=D(a),t.images.length&&g();case 23:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){G(o,a,l,r,i,"next",e)}function i(e){G(o,a,l,r,i,"throw",e)}r(void 0)}))});return function(){return a.apply(this,arguments)}}(),g=function(){c.current=new Glide("#".concat(t.id||d.current),{type:"carousel",keyboard:!1,perView:t.perView,gap:t.gap,peek:t.peek,autoplay:!1,breakpoints:{800:{perView:1,peek:0,gap:0}}}).mount()},f=function(e){n({images:e.map((function(e){return{id:e.id,url:e.url,alt:e.alt,caption:e.caption}}))}),null!==c.current&&c.current.destroy(),g()},y=function(e){n({perView:Number(e)}),c.current.update({perView:Number(e)}),1===e&&(n({gap:0,peek:0}),c.current.update({gap:0,peek:0}))};return Array.isArray(t.images)&&!t.images.length?wp.element.createElement(T,{labels:{title:q("Slider"),instructions:q("Drag images, upload new ones or select files from your library.")},icon:"images-alt2",onSelectImages:f}):wp.element.createElement(Q,null,wp.element.createElement(L,{attributes:t,setAttributes:n,slider:c.current,changePerView:y}),wp.element.createElement(Z,{size:{height:t.height},enable:{top:!1,right:!1,bottom:!0,left:!1},minHeight:100,maxHeight:1400,onResizeStart:function(){i(!1)},onResizeStop:function(e,a,l,o){n({height:parseInt(t.height+o.height,10)}),i(!0)},className:o()("wp-block-themeisle-blocks-slider-resizer",{"is-focused":r})},wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",a)},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides",style:{height:"".concat(t.height,"px")}},t.images.map((function(e,a){return wp.element.createElement(j,{images:t.images,image:e,index:a,isFirstItem:0===a,isLastItem:a+1===t.images.length,isSelected:r&&e.id===m,setAttributes:n,setSelectedImage:s})}))),wp.element.createElement(u,{attributes:t})))),r&&wp.element.createElement(T,{labels:{title:"",instructions:""},icon:null,onSelectImages:f,isAppender:!0,value:t.images}))},te=wp.blockEditor.RichText,ne=function(e){var t=e.attributes,n=e.className,a=t.autoplay&&2!==t.delay?1e3*t.delay:t.autoplay;return wp.element.createElement("div",{id:t.id,className:o()("wp-block-themeisle-blocks-slider","glide",n),"data-per-view":t.perView,"data-gap":t.gap,"data-peek":t.peek,"data-autoplay":a,"data-height":"".concat(t.height,"px"),"data-hide-arrows":t.hideArrows},wp.element.createElement("div",{className:"glide__track","data-glide-el":"track"},wp.element.createElement("div",{className:"glide__slides"},t.images.map((function(e){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-slider-item-wrapper glide__slide",tabIndex:"0"},wp.element.createElement("figure",null,wp.element.createElement("img",{key:e.id,className:"wp-block-themeisle-blocks-slider-item",src:e.url,alt:e.alt,title:e.alt,"data-id":e.id}),!te.isEmpty(e.caption)&&wp.element.createElement(te.Content,{tagName:"figcaption",value:e.caption})))}))),wp.element.createElement(m,{attributes:t})))},ae=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/slider",{title:ae("Slider"),description:ae("Minimal image slider to showcase beautiful images."),icon:"images-alt2",category:"themeisle-blocks",keywords:["slider","gallery","carousel"],attributes:a,deprecated:b,transforms:w,supports:{align:["wide","full"]},edit:ee,save:ne})},function(e,t,n){"use strict";n.r(t);n(40);var a=n(2);n(41);function l(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function o(e){return function(){var t=this,n=arguments;return new Promise((function(a,o){var r=e.apply(t,n);function i(e){l(r,a,o,i,c,"next",e)}function c(e){l(r,a,o,i,c,"throw",e)}i(void 0)}))}}function r(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return i(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return i(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var c=wp.i18n.__,d=wp.blocks.getBlockType,p=wp.components,m=p.Button,u=p.Icon,s=p.Modal,b=wp.element,g=b.Fragment,f=b.useState,y=function(e){var t=e.blockName,n=e.saveConfig,a=e.resetConfig,l=e.children,i=d(t),p=r(f(!1),2),b=p[0],y=p[1],h=r(f(!1),2),w=h[0],v=h[1];return i?wp.element.createElement(g,null,wp.element.createElement(m,{className:"wp-block-themeisle-blocks-options-global-defaults-list-item block-editor-block-types-list__item",onClick:function(){return y(!0)}},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-icon"},wp.element.createElement(u,{icon:i.icon.src})),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list-item-title"},i.title)),b&&wp.element.createElement(s,{title:i.title,onRequestClose:function(){return y(!1)},shouldCloseOnClickOutside:!1,overlayClassName:"wp-block-themeisle-blocks-options-global-defaults-modal"},l,wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions"},wp.element.createElement(m,{isLink:!0,isDestructive:!0,onClick:function(){return a(t)}},c("Reset")),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-actions-primary"},wp.element.createElement(m,{isDefault:!0,isLarge:!0,onClick:function(){return y(!1)}},c("Close")),wp.element.createElement(m,{isPrimary:!0,isLarge:!0,isBusy:w,onClick:o(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return v(!0),e.next=3,n();case 3:v(!1);case 4:case"end":return e.stop()}}),e)})))},c("Save")))))):null},h=n(3),w=n(9),v=n(4),k=n(5);function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.i18n.__,x=wp.blockEditor.ColorPalette,C=wp.components,S=C.PanelBody,M=C.RangeControl,B=C.SelectControl,O=wp.compose.compose,R=wp.data.withSelect,L=wp.element.Fragment,N=O(R((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=e.view,o=function(){var e;return"Desktop"===l&&(e=n.fontSize),"Tablet"===l&&(e=n.fontSizeTablet),"Mobile"===l&&(e=n.fontSizeMobile),e};o=o();var r=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};m=m();var u={top:"marginTop",bottom:"marginBottom"},s={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t};return wp.element.createElement(L,null,wp.element.createElement(S,{title:E("General Settings")},wp.element.createElement(B,{label:E("HTML Tag"),value:n.tag,options:[{label:E("Heading 1"),value:"h1"},{label:E("Heading 2"),value:"h2"},{label:E("Heading 3"),value:"h3"},{label:E("Heading 4"),value:"h4"},{label:E("Heading 5"),value:"h5"},{label:E("Heading 6"),value:"h6"},{label:E("Division"),value:"div"},{label:E("Paragraph"),value:"p"},{label:E("Span"),value:"span"}],onChange:function(e){return a(t,{tag:e})}}),wp.element.createElement(h.a,{label:"Heading Color",colorValue:n.headingColor},wp.element.createElement(x,{value:n.headingColor,onChange:function(e){return a(t,{headingColor:e})}})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Font Size"},wp.element.createElement(M,{value:o||"",onChange:function(e){"Desktop"===l&&a(t,{fontSize:e}),"Tablet"===l&&a(t,{fontSizeTablet:e}),"Mobile"===l&&a(t,{fontSizeMobile:e})},min:1,max:500}))),wp.element.createElement(S,{title:E("Typography Settings"),initialOpen:!1},wp.element.createElement(w.a,{label:E("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200}),wp.element.createElement("hr",null),wp.element.createElement(M,{label:E("Letter Spacing"),value:n.letterSpacing||"",onChange:function(e){return a(t,{letterSpacing:e})},min:-50,max:100})),wp.element.createElement(S,{title:E("Spacing"),initialOpen:!1},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,T({},i[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,T({},c[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,T({},d[e],o)))},options:[{label:E("Top"),type:"top",value:p("top")},{label:E("Right"),type:"right",value:p("right")},{label:E("Bottom"),type:"bottom",value:p("bottom")},{label:E("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,T({},u[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,T({},s[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,T({},b[e],o)))},options:[{label:E("Top"),type:"top",value:g("top")},{label:E("Right"),disabled:!0},{label:E("Bottom"),type:"bottom",value:g("bottom")},{label:E("Left"),disabled:!0}]}))))}));function A(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return P(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function P(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var z=wp.i18n.__,I=lodash.cloneDeep,H=wp.components,_=H.Button,j=H.ButtonGroup,D=H.PanelBody,G=H.RangeControl,V=H.SelectControl,F=wp.blockEditor.ColorPalette,W=wp.element,q=W.Fragment,U=W.useState,Z=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=A(U(!1),2),o=l[0],r=l[1],i=function(e,l){var o=I(n.data);o[e]=l,a(t,{data:o})};return wp.element.createElement(q,null,wp.element.createElement(D,{title:z("Color & Border")},wp.element.createElement(j,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(_,{isDefault:!0,isLarge:!0,isPrimary:!o,onClick:function(){return r(!1)}},z("Normal")),wp.element.createElement(_,{isDefault:!0,isLarge:!0,isPrimary:o,onClick:function(){return r(!0)}},z("Hover"))),o?wp.element.createElement(q,null,wp.element.createElement(h.a,{label:"Hover Color",colorValue:n.data.hoverColor},wp.element.createElement(F,{label:"Hover Color",value:n.data.hoverColor,onChange:function(e){return i("hoverColor",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Hover Background",colorValue:n.data.hoverBackground},wp.element.createElement(F,{label:"Hover Background",value:n.data.hoverBackground,onChange:function(e){return i("hoverBackground",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Hover Border",colorValue:n.data.hoverBorder},wp.element.createElement(F,{label:"Hover Border",value:n.data.hoverBorder,onChange:function(e){return i("hoverBorder",e)}}))):wp.element.createElement(q,null,wp.element.createElement(h.a,{label:"Color",colorValue:n.data.color},wp.element.createElement(F,{label:"Color",value:n.data.color,onChange:function(e){return i("color",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Background",colorValue:n.data.background},wp.element.createElement(F,{label:"Background",value:n.data.background,onChange:function(e){return i("background",e)}})),wp.element.createElement("hr",null),wp.element.createElement(h.a,{label:"Border",colorValue:n.data.border},wp.element.createElement(F,{label:"Border",value:n.data.border,onChange:function(e){return i("border",e)}}))),wp.element.createElement("hr",null),wp.element.createElement(G,{label:z("Border Size"),value:n.data.borderSize||"",onChange:function(e){return i("borderSize",e)},min:0,max:10}),wp.element.createElement("hr",null),wp.element.createElement(G,{label:z("Border Radius"),value:n.data.borderRadius||"",onChange:function(e){return i("borderRadius",e)},min:0,max:100})),wp.element.createElement(D,{title:z("Spacing"),initialOpen:!1},wp.element.createElement(k.a,{label:z("Button Padding"),min:0,max:100,onChange:i,options:[{label:z("Top"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:z("Right"),type:"paddingLeftRight",value:n.data.paddingLeftRight},{label:z("Bottom"),type:"paddingTopBottom",value:n.data.paddingTopBottom},{label:z("Left"),type:"paddingLeftRight",value:n.data.paddingLeftRight}]}),wp.element.createElement("hr",null),wp.element.createElement(G,{label:z("Group Spacing"),value:n.spacing,onChange:function(e){return a(t,{spacing:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(V,{label:z("Collapse On"),value:n.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){return a(t,{collapse:e})}})),wp.element.createElement(D,{title:z("Typography Settings"),initialOpen:!1},wp.element.createElement(G,{label:z("Font Size"),value:n.fontSize||"",onChange:function(e){return a(t,{fontSize:e})},min:0,max:50}),wp.element.createElement("hr",null),wp.element.createElement(w.a,{label:z("Font Family"),value:n.fontFamily,onChangeFontFamily:function(e){a(t,e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},valueVariant:n.fontVariant,onChangeFontVariant:function(e){return a(t,{fontVariant:e})},valueStyle:n.fontStyle,onChangeFontStyle:function(e){return a(t,{fontStyle:e})},valueTransform:n.textTransform,onChangeTextTransform:function(e){return a(t,{textTransform:e})}}),wp.element.createElement("hr",null),wp.element.createElement(G,{label:z("Line Height"),value:n.lineHeight||"",onChange:function(e){return a(t,{lineHeight:e})},min:0,max:200})))};function $(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Q(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Q(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Q(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var K=wp.i18n.__,J=wp.components,Y=J.Button,X=J.ButtonGroup,ee=J.PanelBody,te=J.RangeControl,ne=wp.blockEditor,ae=ne.ColorPalette,le=ne.ContrastChecker,oe=wp.element,re=oe.Fragment,ie=oe.useState,ce=function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=$(ie(!1),2),o=l[0],r=l[1];return wp.element.createElement(re,null,wp.element.createElement(ee,{title:K("Sizing")},wp.element.createElement(te,{label:K("Icon Size"),value:n.fontSize||"",initialPosition:16,onChange:function(e){return a(t,{fontSize:e})},min:12,max:140}),wp.element.createElement("hr",null),wp.element.createElement(te,{label:K("Padding"),value:n.padding||"",initialPosition:5,onChange:function(e){return a(t,{padding:e})},min:0,max:100}),wp.element.createElement("hr",null),wp.element.createElement(te,{label:K("Margin"),value:n.margin||"",initialPosition:5,onChange:function(e){return a(t,{margin:e})},min:0,max:100})),wp.element.createElement(ee,{title:K("Color"),initialOpen:!1},wp.element.createElement(X,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(Y,{isDefault:!0,isLarge:!0,isPrimary:!o,onClick:function(){return r(!1)}},K("Normal")),wp.element.createElement(Y,{isDefault:!0,isLarge:!0,isPrimary:o,onClick:function(){return r(!0)}},K("Hover"))),o?wp.element.createElement(re,null,wp.element.createElement(h.a,{label:"Hover Background",colorValue:n.backgroundColorHover},wp.element.createElement(ae,{label:"Hover Background",value:n.backgroundColorHover,onChange:function(e){return a(t,{backgroundColorHover:e})}})),wp.element.createElement(h.a,{label:"Hover Icon",colorValue:n.textColorHover},wp.element.createElement(ae,{label:"Hover Icon",value:n.textColorHover,onChange:function(e){return a(t,{textColorHover:e})}})),wp.element.createElement(le,{textColor:n.textColorHover,backgroundColor:n.backgroundColorHover})):wp.element.createElement(re,null,wp.element.createElement(h.a,{label:"Background",colorValue:n.backgroundColor},wp.element.createElement(ae,{label:"Background",value:n.backgroundColor,onChange:function(e){return a(t,{backgroundColor:e})}})),wp.element.createElement(h.a,{label:"Icon",colorValue:n.textColor},wp.element.createElement(ae,{label:"Icon",value:n.textColor,onChange:function(e){return a(t,{textColor:e})}})),wp.element.createElement(le,{textColor:n.textColor,backgroundColor:n.backgroundColor}))))};function de(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pe=wp.i18n.__,me=wp.components,ue=me.BaseControl,se=me.Button,be=me.ButtonGroup,ge=me.Icon,fe=me.IconButton,ye=me.PanelBody,he=me.RangeControl,we=me.SelectControl,ve=me.ToggleControl,ke=me.Tooltip,Te=wp.compose.compose,Ee=wp.data.withSelect,xe=wp.element.Fragment,Ce=Te(Ee((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,l=e.changeConfig,o=e.view,r=function(){var e;return"Desktop"===o&&(e=n.paddingType),"Tablet"===o&&(e=n.paddingTypeTablet),"Mobile"===o&&(e=n.paddingTypeMobile),e};r=r();var i={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},c={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},d={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},p=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===o&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===o&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===o&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},m=function(){var e;return"Desktop"===o&&(e=n.marginType),"Tablet"===o&&(e=n.marginTypeTablet),"Mobile"===o&&(e=n.marginTypeMobile),e};m=m();var u={top:"marginTop",bottom:"marginBottom"},s={top:"marginTopTablet",bottom:"marginBottomTablet"},b={top:"marginTopMobile",bottom:"marginBottomMobile"},g=function(e){var t;return"top"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"bottom"==e&&("Desktop"===o&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===o&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===o&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),t},f=function(e){if(n.horizontalAlign===e)return l(t,{horizontalAlign:"unset"});l(t,{horizontalAlign:e})},y=function(){var e;return"Desktop"===o&&(e=n.columnsHeightCustom),"Tablet"===o&&(e=n.columnsHeightCustomTablet),"Mobile"===o&&(e=n.columnsHeightCustomMobile),e};y=y();var h=function(e){if(n.verticalAlign===e)return l(t,{verticalAlign:"unset"});l(t,{verticalAlign:e})};return wp.element.createElement(xe,null,wp.element.createElement(ye,{title:pe("Sizing")},wp.element.createElement(we,{label:pe("Columns Gap"),value:n.columnsGap,options:[{label:"Default (10px)",value:"default"},{label:"No Gap",value:"nogap"},{label:"Narrow (5px)",value:"narrow"},{label:"Extended (15px)",value:"extended"},{label:"Wide (20px)",value:"wide"},{label:"Wider (30px)",value:"wider"}],onChange:function(e){return l(t,{columnsGap:e})}}),wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:r,min:0,max:500,changeType:function(e){"Desktop"===o&&l(t,{paddingType:e}),"Tablet"===o&&l(t,{paddingTypeTablet:e}),"Mobile"===o&&l(t,{paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.paddingType?l(t,{padding:a}):l(t,de({},i[e],a))),"Tablet"===o&&("linked"===n.paddingTypeTablet?l(t,{paddingTablet:a}):l(t,de({},c[e],a))),"Mobile"===o&&("linked"===n.paddingTypeMobile?l(t,{paddingMobile:a}):l(t,de({},d[e],a)))},options:[{label:pe("Top"),type:"top",value:p("top")},{label:pe("Right"),type:"right",value:p("right")},{label:pe("Bottom"),type:"bottom",value:p("bottom")},{label:pe("Left"),type:"left",value:p("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:m,min:-500,max:500,changeType:function(e){"Desktop"===o&&l(t,{marginType:e}),"Tablet"===o&&l(t,{marginTypeTablet:e}),"Mobile"===o&&l(t,{marginTypeMobile:e})},onChange:function(e,a){"Desktop"===o&&("linked"===n.marginType?l(t,{margin:a}):l(t,de({},u[e],a))),"Tablet"===o&&("linked"===n.marginTypeTablet?l(t,{marginTablet:a}):l(t,de({},s[e],a))),"Mobile"===o&&("linked"===n.marginTypeMobile?l(t,{marginMobile:a}):l(t,de({},b[e],a)))},options:[{label:pe("Top"),type:"top",value:g("top")},{label:pe("Right"),disabled:!0},{label:pe("Bottom"),type:"bottom",value:g("bottom")},{label:pe("Left"),disabled:!0}]}))),wp.element.createElement(ye,{title:pe("Section Structure"),initialOpen:!1},wp.element.createElement(we,{label:pe("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return l(t,{columnsHTMLTag:e})}}),wp.element.createElement("hr",null),wp.element.createElement(he,{label:pe("Maximum Content Width"),value:n.columnsWidth||"",onChange:function(e){(0<=e&&1200>=e||void 0===e)&&l(t,{columnsWidth:e})},min:0,max:1200}),wp.element.createElement("hr",null),n.columnsWidth&&wp.element.createElement(xe,null,wp.element.createElement(ue,{label:"Horizontal Align"},wp.element.createElement(be,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ke,{text:pe("Left")},wp.element.createElement(fe,{icon:"editor-alignleft",className:"is-button is-large",isPrimary:"flex-start"===n.horizontalAlign,onClick:function(){return f("flex-start")}})),wp.element.createElement(ke,{text:pe("Center")},wp.element.createElement(fe,{icon:"editor-aligncenter",className:"is-button is-large",isPrimary:"center"===n.horizontalAlign,onClick:function(){return f("center")}})),wp.element.createElement(ke,{text:pe("Right")},wp.element.createElement(fe,{icon:"editor-alignright",className:"is-button is-large",isPrimary:"flex-end"===n.horizontalAlign,onClick:function(){return f("flex-end")}})))),wp.element.createElement("hr",null)),wp.element.createElement(we,{label:pe("Minimum Height"),value:n.columnsHeight,options:[{label:"Default",value:"auto"},{label:"Fit to Screen",value:"100vh"},{label:"Custom",value:"custom"}],onChange:function(e){return l(t,{columnsHeight:e})}}),wp.element.createElement("hr",null),"custom"===n.columnsHeight&&wp.element.createElement(xe,null,wp.element.createElement(v.a,{label:"Custom Height"},wp.element.createElement(he,{value:y||"",onChange:function(e){"Desktop"===o&&l(t,{columnsHeightCustom:e}),"Tablet"===o&&l(t,{columnsHeightCustomTablet:e}),"Mobile"===o&&l(t,{columnsHeightCustomMobile:e})},min:0,max:1e3})),wp.element.createElement("hr",null)),wp.element.createElement(ue,{label:"Vertical Align"},wp.element.createElement(be,{className:"wp-block-themeisle-icon-buttom-group"},wp.element.createElement(ke,{text:pe("Top")},wp.element.createElement(se,{className:"components-icon-button is-button is-large",isPrimary:"flex-start"===n.verticalAlign,onClick:function(){return h("flex-start")}},wp.element.createElement(ge,{icon:a.t,size:20}))),wp.element.createElement(ke,{text:pe("Middle")},wp.element.createElement(se,{className:"components-icon-button is-button is-large",isPrimary:"center"===n.verticalAlign,onClick:function(){return h("center")}},wp.element.createElement(ge,{icon:a.k,size:20}))),wp.element.createElement(ke,{text:pe("Bottom")},wp.element.createElement(se,{className:"components-icon-button is-button is-large",isPrimary:"flex-end"===n.verticalAlign,onClick:function(){return h("flex-end")}},wp.element.createElement(ge,{icon:a.c,size:20})))))),wp.element.createElement(ye,{title:pe("Responsive"),initialOpen:!1},wp.element.createElement(ve,{label:"Hide this section in Desktop devices?",checked:n.hide,onChange:function(e){return l(t,{hide:e})}}),wp.element.createElement(ve,{label:"Hide this section in Tablet devices?",checked:n.hideTablet,onChange:function(e){return l(t,{hideTablet:e})}}),wp.element.createElement(ve,{label:"Hide this section in Mobile devices?",checked:n.hideMobile,onChange:function(e){return l(t,{hideMobile:e})}})))}));function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=wp.i18n.__,Be=wp.components,Oe=Be.PanelBody,Re=Be.SelectControl,Le=wp.compose.compose,Ne=wp.data.withSelect,Ae=wp.element.Fragment,Pe=Le(Ne((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.blockName,n=e.defaults,a=e.changeConfig,l=e.view,o=function(){var e;return"Desktop"===l&&(e=n.paddingType),"Tablet"===l&&(e=n.paddingTypeTablet),"Mobile"===l&&(e=n.paddingTypeMobile),e};o=o();var r={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},i={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},c={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},d=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingTop),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingTopTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingRight),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingRightTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingBottom),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingBottomTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.paddingType?n.padding:n.paddingLeft),"Tablet"===l&&(t="linked"===n.paddingTypeTablet?n.paddingTablet:n.paddingLeftTablet),"Mobile"===l&&(t="linked"===n.paddingTypeMobile?n.paddingMobile:n.paddingLeftMobile)),t},p=function(){var e;return"Desktop"===l&&(e=n.marginType),"Tablet"===l&&(e=n.marginTypeTablet),"Mobile"===l&&(e=n.marginTypeMobile),e};p=p();var m={top:"marginTop",right:"marginRight",bottom:"marginBottom",left:"marginLeft"},u={top:"marginTopTablet",right:"marginRightTablet",bottom:"marginBottomTablet",left:"marginLeftTablet"},s={top:"marginTopMobile",right:"marginRightMobile",bottom:"marginBottomMobile",left:"marginLeftMobile"},b=function(e){var t;return"top"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginTop),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginTopTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginTopMobile)),"right"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginRight),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginRightTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginRightMobile)),"bottom"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginBottom),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginBottomTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginBottomMobile)),"left"==e&&("Desktop"===l&&(t="linked"===n.marginType?n.margin:n.marginLeft),"Tablet"===l&&(t="linked"===n.marginTypeTablet?n.marginTablet:n.marginLeftTablet),"Mobile"===l&&(t="linked"===n.marginTypeMobile?n.marginMobile:n.marginLeftMobile)),t};return wp.element.createElement(Ae,null,wp.element.createElement(Oe,{title:Me("Sizing")},wp.element.createElement(v.a,{label:"Padding"},wp.element.createElement(k.a,{type:o,min:0,max:500,changeType:function(e){"Desktop"===l&&a(t,{paddingType:e}),"Tablet"===l&&a(t,{paddingTypeTablet:e}),"Mobile"===l&&a(t,{paddingTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.paddingType?a(t,{padding:o}):a(t,Se({},r[e],o))),"Tablet"===l&&("linked"===n.paddingTypeTablet?a(t,{paddingTablet:o}):a(t,Se({},i[e],o))),"Mobile"===l&&("linked"===n.paddingTypeMobile?a(t,{paddingMobile:o}):a(t,Se({},c[e],o)))},options:[{label:Me("Top"),type:"top",value:d("top")},{label:Me("Right"),type:"right",value:d("right")},{label:Me("Bottom"),type:"bottom",value:d("bottom")},{label:Me("Left"),type:"left",value:d("left")}]})),wp.element.createElement("hr",null),wp.element.createElement(v.a,{label:"Margin"},wp.element.createElement(k.a,{type:p,min:-500,max:500,changeType:function(e){"Desktop"===l&&a(t,{marginType:e}),"Tablet"===l&&a(t,{marginTypeTablet:e}),"Mobile"===l&&a(t,{marginTypeMobile:e})},onChange:function(e,o){"Desktop"===l&&("linked"===n.marginType?a(t,{margin:o}):a(t,Se({},m[e],o))),"Tablet"===l&&("linked"===n.marginTypeTablet?a(t,{marginTablet:o}):a(t,Se({},u[e],o))),"Mobile"===l&&("linked"===n.marginTypeMobile?a(t,{marginMobile:o}):a(t,Se({},s[e],o)))},options:[{label:Me("Top"),type:"top",value:b("top")},{label:Me("Right"),type:"right",value:b("right")},{label:Me("Bottom"),type:"bottom",value:b("bottom")},{label:Me("Left"),type:"left",value:b("left")}]}))),wp.element.createElement(Oe,{title:Me("Section Settings"),initialOpen:!1},wp.element.createElement(Re,{label:Me("HTML Tag"),value:n.columnsHTMLTag,options:[{label:"Default (div)",value:"div"},{label:"section",value:"section"},{label:"header",value:"header"},{label:"footer",value:"footer"},{label:"article",value:"article"},{label:"main",value:"main"}],onChange:function(e){return a(t,{columnsHTMLTag:e})}})))})),ze=wp.i18n.__,Ie=wp.components.PanelBody,He=function(e){var t=e.blockDefaults,n=e.changeConfig,a=e.resetConfig,l=e.saveConfig,o=[{name:"themeisle-blocks/advanced-heading",control:N},{name:"themeisle-blocks/button-group",control:Z},{name:"themeisle-blocks/font-awesome-icons",control:ce},{name:"themeisle-blocks/advanced-columns",control:Ce},{name:"themeisle-blocks/advanced-column",control:Pe}];return wp.element.createElement(Ie,{title:"Global Defaults",className:"wp-block-themeisle-blocks-options-global-defaults"},ze("With Global Defaults, you can set site-wide block defaults for Otter."),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-options-global-defaults-list"},o.map((function(e){var o=e.control;return wp.element.createElement(y,{blockName:e.name,saveConfig:l,resetConfig:a},wp.element.createElement(o,{blockName:e.name,defaults:t[e.name],changeConfig:n}))}))))},_e=n(6);function je(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function De(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ge(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return Ve(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Ve(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Ve(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function Fe(e){return(Fe="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function We(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function qe(e){return function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function r(e){We(o,a,l,r,i,"next",e)}function i(e){We(o,a,l,r,i,"throw",e)}r(void 0)}))}}var Ue=wp.i18n.__,Ze=lodash,$e=Ze.cloneDeep,Qe=Ze.isEqual,Ke=Ze.merge,Je=wp.apiFetch,Ye=wp.components,Xe=Ye.PanelBody,et=Ye.Snackbar,tt=Ye.ToggleControl,nt=wp.data.withDispatch,at=wp.element,lt=at.Fragment,ot=at.useEffect,rt=at.useRef,it=at.useState,ct=wp.editPost,dt=ct.PluginSidebar,pt=ct.PluginSidebarMoreMenuItem,mt=nt((function(e){return{createNotice:e("core/notices").createNotice}}))((function(e){var t=e.createNotice;ot(qe(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Je({path:"wp/v2/users/me?context=edit"});case 2:if(!e.sent.capabilities.manage_options){e.next=8;break}return l(!0),e.next=7,wp.api.loadPromise.then((function(){b.current=new wp.api.models.Settings}));case 7:!1===r&&b.current.fetch().then((function(e){if(s(Boolean(e.themeisle_blocks_settings_default_block)),""!==e.themeisle_blocks_settings_global_defaults){var t=$e(_e.a);"object"===Fe(window.themeisleGutenberg.themeDefaults)&&(t=Ke(t,window.themeisleGutenberg.themeDefaults)),t=Ke(t,JSON.parse(e.themeisle_blocks_settings_global_defaults)),window.themeisleGutenberg.globalDefaults=JSON.parse(e.themeisle_blocks_settings_global_defaults),p(t)}else{var n=$e(_e.a);"object"===Fe(window.themeisleGutenberg.themeDefaults)&&(n=Ke(n,window.themeisleGutenberg.themeDefaults)),window.themeisleGutenberg.globalDefaults={},p(n)}i(!1)}));case 8:case"end":return e.stop()}}),e)}))),[]);var n=Ge(it(!1),2),a=n[0],l=n[1],o=Ge(it(!1),2),r=o[0],i=o[1],c=Ge(it({}),2),d=c[0],p=c[1],m=Ge(it(!1),2),u=m[0],s=m[1],b=rt(null),g=function(e){et&&t("info",e,{isDismissible:!0,type:"snackbar"})},f=function(){var e=qe(regeneratorRuntime.mark((function e(){var t,n;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t=$e(d),Object.keys(t).forEach((function(e){Object.keys(t[e]).forEach((function(n){(void 0!==_e.a[e][n]&&t[e][n]===_e.a[e][n]||"object"===Fe(t[e][n])&&Qe(t[e][n],_e.a[e][n]))&&delete t[e][n]}))})),n=new wp.api.models.Settings({themeisle_blocks_settings_global_defaults:JSON.stringify(t)}),e.next=5,n.save().then((function(){window.themeisleGutenberg.globalDefaults=t,g(Ue("Option updated."))}));case 5:case"end":return e.stop()}}),e)})));return function(){return e.apply(this,arguments)}}();return wp.element.createElement(lt,null,a&&wp.element.createElement(pt,{target:"wp-block-themeisle-blocks-options"},Ue("Otter Options")),wp.element.createElement(dt,{title:Ue("Otter Options"),name:"wp-block-themeisle-blocks-options"},wp.element.createElement(Xe,{className:"wp-block-themeisle-blocks-options-general"},wp.element.createElement(tt,{label:Ue("Make Section block your default block for Pages?"),checked:u,onChange:function(){new wp.api.models.Settings({themeisle_blocks_settings_default_block:!Boolean(u)}).save().then((function(e){s(Boolean(e.themeisle_blocks_settings_default_block)),g(Ue("Option updated."))}))}})),wp.element.createElement(He,{blockDefaults:d,changeConfig:function(e,t){var n=$e(d);for(var a in t)n[e][a]=t[a];p(n)},resetConfig:function(e){var t=$e(d),n=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?je(Object(n),!0).forEach((function(t){De(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):je(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},_e.a[e]);t[e]=n,p(t)},saveConfig:f})))})),ut=(n(46),n(47),wp.components.Icon),st=wp.element.Fragment;(0,wp.plugins.registerPlugin)("themeisle-blocks",{icon:wp.element.createElement(ut,{icon:a.m}),render:function(){return wp.element.createElement(st,null,wp.element.createElement(mt,null))}})},function(e,t,n){"use strict";n.r(t);n(57),n(58);var a=n(2),l={id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""},{text:"",link:"",newTab:!1,color:"",background:"",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:"",borderRadius:"",boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:"",paddingLeftRight:""}]}},o=n(0),r=n.n(o);function i(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?i(Object(n),!0).forEach((function(t){d(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function d(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var p=lodash.times,m=wp.editor.RichText,u=wp.element.Fragment,s=[{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=t.id,a=t.buttons,l=t.align,o=t.collapse,i=t.fontSize,d=t.fontFamily,s=t.fontStyle,b=t.fontVariant,g=t.textTransform,f=t.lineHeight,y=t.data,h={fontSize:"".concat(i,"px"),fontFamily:d,fontWeight:b,fontStyle:s,textTransform:g,lineHeight:f&&"".concat(f,"px")},w="collapse-none"!==o?o:"";return wp.element.createElement("div",{id:n,className:r()(e.className,w),style:{justifyContent:l,alignItems:l||"flex-start"}},p(a,(function(e){return function(e){var t=c(c({},h),{},{borderWidth:"".concat(y[e].borderSize,"px"),borderRadius:"".concat(y[e].borderRadius,"px"),padding:"".concat(y[e].paddingTopBottom,"px ").concat(y[e].paddingLeftRight,"px")});return wp.element.createElement(u,null,wp.element.createElement("a",{href:y[e].link,target:y[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:t},("left"===y[e].iconType||"only"===y[e].iconType)&&wp.element.createElement("i",{className:r()(y[e].prefix,"fa-fw","fa-".concat(y[e].icon),{"margin-right":"left"===y[e].iconType})}),"only"!==y[e].iconType&&wp.element.createElement(m.Content,{tagName:"span",value:y[e].text}),"right"===y[e].iconType&&wp.element.createElement("i",{className:"".concat(y[e].prefix," fa-fw fa-").concat(y[e].icon," margin-left")})))}(e)})))}},{attributes:{id:{type:"string"},buttons:{type:"number",default:2},align:{type:"string"},spacing:{type:"number",default:20},collapse:{type:"string",default:"collapse-none"},fontSize:{type:"number",default:18},fontFamily:{type:"string"},fontVariant:{type:"string"},textTransform:{type:"string"},fontStyle:{type:"string",default:"normal"},lineHeight:{type:"number"},data:{type:"array",default:[{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24},{text:"",link:"",newTab:!1,color:"#ffffff",background:"#32373c",border:"",hoverColor:"",hoverBackground:"",hoverBorder:"",borderSize:0,borderRadius:0,boxShadow:!1,boxShadowColor:"",boxShadowColorOpacity:50,boxShadowBlur:5,boxShadowSpread:1,boxShadowHorizontal:0,boxShadowVertical:0,hoverBoxShadowColor:"",hoverBoxShadowColorOpacity:50,hoverBoxShadowBlur:5,hoverBoxShadowSpread:1,hoverBoxShadowHorizontal:0,hoverBoxShadowVertical:0,iconType:"none",prefix:"",icon:"",paddingTopBottom:12,paddingLeftRight:24}]}},save:function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse?t.collapse:"",l={fontSize:"".concat(t.fontSize,"px"),fontFamily:t.fontFamily,fontWeight:t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px")};return wp.element.createElement("div",{id:t.id,className:r()(n,a),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},p(t.buttons,(function(e){return function(e){var n=c(c({},l),{},{borderWidth:"".concat(t.data[e].borderSize,"px"),borderRadius:"".concat(t.data[e].borderRadius,"px"),padding:"".concat(t.data[e].paddingTopBottom,"px ").concat(t.data[e].paddingLeftRight,"px")});return wp.element.createElement(u,null,wp.element.createElement("a",{href:t.data[e].link,target:t.data[e].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(e)),style:n,rel:"noopener noreferrer"},("left"===t.data[e].iconType||"only"===t.data[e].iconType)&&wp.element.createElement("i",{className:r()(t.data[e].prefix,"fa-fw","fa-".concat(t.data[e].icon),{"margin-right":"left"===t.data[e].iconType})}),"only"!==t.data[e].iconType&&wp.element.createElement(m.Content,{tagName:"span",value:t.data[e].text}),"right"===t.data[e].iconType&&wp.element.createElement("i",{className:"".concat(t.data[e].prefix," fa-fw fa-").concat(t.data[e].icon," margin-left")})))}(e)})))}}],b=n(19),g=n.n(b),f=n(6),y=n(9),h=wp.i18n.__,w=wp.components,v=w.Dropdown,k=w.IconButton,T=w.RangeControl,E=w.Toolbar,x=wp.blockEditor,C=x.AlignmentToolbar,S=x.BlockControls,M=wp.element.Fragment,B=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontSize,l=e.changeFontFamily,o=e.changeFontVariant,r=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight;return wp.element.createElement(S,null,wp.element.createElement(C,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:h("Align left"),align:"flex-start"},{icon:"editor-aligncenter",title:h("Align center"),align:"center"},{icon:"editor-alignright",title:h("Align right"),align:"flex-end"}]}),wp.element.createElement(E,{className:"wp-themesiel-blocks-button-group-components-toolbar"},wp.element.createElement(v,{contentClassName:"wp-themesiel-blocks-button-group-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(k,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:h("Typography Settings"),tooltip:h("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(M,null,wp.element.createElement(T,{label:h("Font Size"),value:t.fontSize,onChange:a,min:0,max:50}),wp.element.createElement(y.a,{label:h("Font Family"),value:t.fontFamily,onChangeFontFamily:l,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:o,valueStyle:t.fontStyle,onChangeFontStyle:r,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(T,{label:h("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}))}})))},O=n(10),R=n(3),L=n(8),N=n(21),A=n(5);function P(e){return(P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return I(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return I(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function I(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var H=wp.i18n.__,_=lodash.times,j=wp.components,D=j.BaseControl,G=j.Button,V=j.ButtonGroup,F=j.Dashicon,W=j.Dropdown,q=j.MenuGroup,U=j.MenuItem,Z=j.Icon,$=j.PanelBody,Q=j.Placeholder,K=j.RangeControl,J=j.SelectControl,Y=j.Spinner,X=j.ToggleControl,ee=wp.blockEditor,te=ee.ColorPalette,ne=ee.InspectorControls,ae=wp.element,le=ae.Fragment,oe=ae.useState,re=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,108))})),ie=function(e){var t=e.attributes,n=e.setAttributes,l=e.selectedButton,o=e.wait,i=e.changeButtons,c=e.changeButton,d=e.updateButton,p=e.changeFontSize,m=e.changeFontFamily,u=e.changeFontVariant,s=e.changeFontStyle,b=e.changeTextTransform,g=e.changeLineHeight,f=z(oe("buttons"),2),h=f[0],w=f[1],v=z(oe(!1),2),k=v[0],T=v[1];return wp.element.createElement(ne,null,wp.element.createElement($,{className:"wp-block-themeisle-blocks-button-group-header-panel"},wp.element.createElement(G,{className:r()("header-tab",{"is-selected":"buttons"===h}),onClick:function(){return w("buttons")}},wp.element.createElement("span",null,wp.element.createElement(Z,{icon:a.d}),H("Buttons"))),wp.element.createElement(G,{className:r()("header-tab",{"is-selected":"group"===h}),onClick:function(){return w("group")}},wp.element.createElement("span",null,wp.element.createElement(F,{icon:"admin-generic"}),H("Group Settings")))),"buttons"===h&&wp.element.createElement(le,null,wp.element.createElement($,{opened:!0},wp.element.createElement(K,{label:H("Number of Buttons"),value:t.buttons,onChange:i,min:1,max:5}),wp.element.createElement(D,{label:H("Edit Button"),className:"wp-block-themeisle-blocks-select-button-container"},wp.element.createElement(W,{contentClassName:"wp-block-themeisle-blocks-select-button-popover",position:"bottom center",renderToggle:function(e){var n=e.isOpen,a=e.onToggle;return wp.element.createElement(G,{isLarge:!0,className:"wp-block-themeisle-blocks-select-button-button",onClick:a,"aria-expanded":n},H("Button")+" "+(l+1)+": "+Object(O.b)(t.data[l].text))},renderContent:function(e){var n=e.onToggle;return wp.element.createElement(q,null,_(t.buttons,(function(e){return wp.element.createElement(U,{onClick:function(){c(e),n()}},H("Button")+" "+(e+1)+": "+Object(O.b)(t.data[e].text))})))}}))),o?wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null)):wp.element.createElement(le,null,wp.element.createElement($,{title:H("Link")},wp.element.createElement(N.a,{label:"Link",placeholder:H("https://…"),value:t.data[l].link,onChange:function(e){return d({link:e},l)}},wp.element.createElement(X,{label:"Open in New Tab?",checked:t.data[l].newTab,onChange:function(){return d({newTab:!t.data[l].newTab},l)}}))),wp.element.createElement($,{title:H("Color & Border"),initialOpen:!1},wp.element.createElement(V,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(G,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},H("Normal")),wp.element.createElement(G,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},H("Hover"))),k?wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Color",colorValue:t.data[l].hoverColor},wp.element.createElement(te,{label:"Hover Color",value:t.data[l].hoverColor,onChange:function(e){return d({hoverColor:e},l)}})),wp.element.createElement(R.a,{label:"Hover Background",colorValue:t.data[l].hoverBackground},wp.element.createElement(te,{label:"Hover Background",value:t.data[l].hoverBackground,onChange:function(e){return d({hoverBackground:e},l)}})),wp.element.createElement(R.a,{label:"Hover Border",colorValue:t.data[l].hoverBorder},wp.element.createElement(te,{label:"Hover Border",value:t.data[l].hoverBorder,onChange:function(e){return d({hoverBorder:e},l)}}))):wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Color",colorValue:t.data[l].color},wp.element.createElement(te,{label:"Color",value:t.data[l].color,onChange:function(e){return d({color:e},l)}})),wp.element.createElement(R.a,{label:"Background",colorValue:t.data[l].background},wp.element.createElement(te,{label:"Background",value:t.data[l].background,onChange:function(e){return d({background:e},l)}})),wp.element.createElement(R.a,{label:"Border",colorValue:t.data[l].border},wp.element.createElement(te,{label:"Border",value:t.data[l].border,onChange:function(e){return d({border:e},l)}}))),wp.element.createElement(K,{label:H("Border Width"),className:"border-width",value:t.data[l].borderSize,onChange:function(e){return d({borderSize:e},l)},min:0,max:10}),wp.element.createElement(K,{label:H("Border Radius"),value:t.data[l].borderRadius,onChange:function(e){return d({borderRadius:e},l)},min:0,max:100})),wp.element.createElement($,{title:H("Box Shadow"),initialOpen:!1},wp.element.createElement(X,{label:"Box Shadow",checked:t.data[l].boxShadow,onChange:function(){return d({boxShadow:!t.data[l].boxShadow},l)}}),t.data[l].boxShadow&&wp.element.createElement(le,null,wp.element.createElement(V,{className:"wp-block-themeisle-blocks-button-group-hover-control"},wp.element.createElement(G,{isDefault:!0,isLarge:!0,isPrimary:!k,onClick:function(){return T(!1)}},H("Normal")),wp.element.createElement(G,{isDefault:!0,isLarge:!0,isPrimary:k,onClick:function(){return T(!0)}},H("Hover"))),!k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Shadow Color",colorValue:t.data[l].boxShadowColor},wp.element.createElement(te,{label:"Shadow Color",value:t.data[l].boxShadowColor,onChange:function(e){return d({boxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(K,{label:H("Opacity"),value:t.data[l].boxShadowColorOpacity,onChange:function(e){return d({boxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Blur"),value:t.data[l].boxShadowBlur,onChange:function(e){return d({boxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Spread"),value:t.data[l].boxShadowSpread,onChange:function(e){return d({boxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Horizontal"),value:t.data[l].boxShadowHorizontal,onChange:function(e){return d({boxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Vertical"),value:t.data[l].boxShadowVertical,onChange:function(e){return d({boxShadowVertical:e},l)},min:-100,max:100})))||k&&wp.element.createElement(le,null,wp.element.createElement(R.a,{label:"Hover Shadow Color",colorValue:t.data[l].hoverBoxShadowColor},wp.element.createElement(te,{label:"Hover Shadow Color",value:t.data[l].hoverBoxShadowColor,onChange:function(e){return d({hoverBoxShadowColor:e},l)}})),wp.element.createElement(L.a,{label:"Hover Shadow Properties"},wp.element.createElement(K,{label:H("Opacity"),value:t.data[l].hoverBoxShadowColorOpacity,onChange:function(e){return d({hoverBoxShadowColorOpacity:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Blur"),value:t.data[l].hoverBoxShadowBlur,onChange:function(e){return d({hoverBoxShadowBlur:e},l)},min:0,max:100}),wp.element.createElement(K,{label:H("Spread"),value:t.data[l].hoverBoxShadowSpread,onChange:function(e){return d({hoverBoxShadowSpread:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Horizontal"),value:t.data[l].hoverBoxShadowHorizontal,onChange:function(e){return d({hoverBoxShadowHorizontal:e},l)},min:-100,max:100}),wp.element.createElement(K,{label:H("Vertical"),value:t.data[l].hoverBoxShadowVertical,onChange:function(e){return d({hoverBoxShadowVertical:e},l)},min:-100,max:100}))))),wp.element.createElement($,{title:H("Icon Settings"),initialOpen:!1},wp.element.createElement(J,{label:H("Icon Position"),value:t.data[l].iconType,options:[{label:"No Icon",value:"none"},{label:"Left",value:"left"},{label:"Right",value:"right"},{label:"Icon Only",value:"only"}],onChange:function(e){return d({iconType:e},l)}}),"none"!==t.data[l].iconType&&wp.element.createElement(le,null,wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(Q,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null))},wp.element.createElement(re,{label:H("Icon Picker"),prefix:t.data[l].prefix,icon:t.data[l].icon,onChange:function(e){"object"===P(e)?d({icon:e.name,prefix:e.prefix},l):d({icon:e},l)}})))),wp.element.createElement($,{title:H("Spacing"),initialOpen:!1},wp.element.createElement(A.a,{label:H("Padding"),min:0,max:100,onChange:function(e,t){return function(e,t,n){"top"!==e&&"bottom"!==e||d({paddingTopBottom:t},n),"left"!==e&&"right"!==e||d({paddingLeftRight:t},n)}(e,t,l)},options:[{label:H("Top"),type:"top",value:t.data[l].paddingTopBottom},{label:H("Right"),type:"right",value:t.data[l].paddingLeftRight},{label:H("Bottom"),type:"bottom",value:t.data[l].paddingTopBottom},{label:H("Left"),type:"left",value:t.data[l].paddingLeftRight}]}))))||"group"===h&&wp.element.createElement(le,null,wp.element.createElement($,{title:H("Spacing")},wp.element.createElement(K,{label:H("Spacing"),value:t.spacing,onChange:function(e){n({spacing:e})},min:0,max:50}),wp.element.createElement(J,{label:H("Collapse On"),value:t.collapse,options:[{label:"None",value:"collapse-none"},{label:"Desktop",value:"collapse-desktop"},{label:"Tablet",value:"collapse-tablet"},{label:"Mobile",value:"collapse-mobile"}],onChange:function(e){n({collapse:e})}})),wp.element.createElement($,{title:H("Typography Settings"),initialOpen:!1},wp.element.createElement(K,{label:H("Font Size"),value:t.fontSize,onChange:p,min:0,max:50}),wp.element.createElement(y.a,{label:H("Font Family"),value:t.fontFamily,onChangeFontFamily:m,valueVariant:t.fontVariant,onChangeFontVariant:u,valueStyle:t.fontStyle,onChangeFontStyle:s,valueTransform:t.textTransform,onChangeTextTransform:b}),wp.element.createElement(K,{label:H("Line Height"),value:t.lineHeight,onChange:g,min:0,max:200}))))},ce=n(7),de=n.n(ce);function pe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function me(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ue(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return se(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return se(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function se(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var be=wp.i18n.__,ge=wp.blockEditor.RichText,fe=wp.element,ye=fe.Fragment,he=fe.useState,we=function(e){var t=e.index,n=e.attributes,a=e.changeButton,l=e.updateButton,o=ue(he((function(){return 0===t})),2),i=o[0],c=o[1],d={};n.data[t].boxShadow&&(d={boxShadow:"".concat(n.data[t].boxShadowHorizontal,"px ").concat(n.data[t].boxShadowVertical,"px ").concat(n.data[t].boxShadowBlur,"px ").concat(n.data[t].boxShadowSpread,"px ").concat(de()(n.data[t].boxShadowColor?n.data[t].boxShadowColor:"#000000",n.data[t].boxShadowColorOpacity))});var p=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pe(Object(n),!0).forEach((function(t){me(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({fontSize:"".concat(n.fontSize,"px"),fontFamily:n.fontFamily,fontWeight:n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),color:n.data[t].color,background:n.data[t].background,border:"".concat(n.data[t].borderSize,"px solid ").concat(n.data[t].border),borderRadius:"".concat(n.data[t].borderRadius,"px"),paddingTop:"".concat(n.data[t].paddingTopBottom,"px"),paddingBottom:"".concat(n.data[t].paddingTopBottom,"px"),paddingLeft:"".concat(n.data[t].paddingLeftRight,"px"),paddingRight:"".concat(n.data[t].paddingLeftRight,"px"),marginLeft:0===t?"0px":"".concat(n.spacing/2,"px"),marginRight:n.buttons===t+1?"0px":"".concat(n.spacing/2,"px")},d);return wp.element.createElement(ye,null,wp.element.createElement("style",null,"#".concat(n.id," .wp-block-themeisle-blocks-button-").concat(t,":hover {\n\t\t\t\t\tcolor: ").concat(n.data[t].hoverColor?n.data[t].hoverColor:n.data[t].color," !important;\n\t\t\t\t\tbackground: ").concat(n.data[t].hoverBackground?n.data[t].hoverBackground:n.data[t].background," !important;\n\t\t\t\t\tborder: ").concat(n.data[t].borderSize,"px solid ").concat(n.data[t].hoverBorder?n.data[t].hoverBorder:n.data[t].border," !important;\n\t\t\t\t\t").concat(n.data[t].boxShadow?"box-shadow: ".concat(n.data[t].hoverBoxShadowHorizontal,"px ").concat(n.data[t].hoverBoxShadowVertical,"px ").concat(n.data[t].hoverBoxShadowBlur,"px ").concat(n.data[t].hoverBoxShadowSpread,"px ").concat(de()(n.data[t].hoverBoxShadowColor?n.data[t].hoverBoxShadowColor:"#000000",n.data[t].hoverBoxShadowColorOpacity)," !important;"):"","\n\t\t\t\t}")),wp.element.createElement("div",{style:p,className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),onClick:function(){c(!0),a(t)},onBlur:function(){return c(!1)}},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(ge,{placeholder:be("Add text…"),value:n.data[t].text,onChange:function(e){return l({text:e},t)},tagName:"div",keepPlaceholderOnFocus:i,withoutInteractiveFormatting:!0}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))};function ve(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||Te(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ke(e){return function(e){if(Array.isArray(e))return Ee(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||Te(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Te(e,t){if(e){if("string"==typeof e)return Ee(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ee(e,t):void 0}}function Ee(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function xe(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xe(Object(n),!0).forEach((function(t){Se(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xe(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Se(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Me=wp.i18n.__,Be=lodash,Oe=Be.isEqual,Re=Be.omit,Le=Be.pick,Ne=Be.times,Ae=wp.components.IconButton,Pe=wp.element,ze=Pe.Fragment,Ie=Pe.useEffect,He=Pe.useRef,_e=Pe.useState,je=[],De=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.name,i=e.isSelected,c=e.clientId;Ie((function(){d()}),[]);var d=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));if(void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&!Oe(f.a[o],window.themeisleGutenberg.globalDefaults[o])){a=Re(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),Object.keys(a).map((function(e){if(t[e]!==a[e]&&(void 0!==l[e].default||void 0!==l[e].default&&t[e]!==l[e].default))return delete a[e]}));var i=Le(Ce({},window.themeisleGutenberg.globalDefaults[o]),"data"),d=[];t.data.forEach((function(e,t){var n=Ce({},i.data);Object.keys(n).map((function(a){if(e[a]!==n[a]&&(void 0===l.data.default[t][a]||void 0!==l.data.default[t][a]&&e[a]!==l.data.default[t][a]))return delete n[a]})),d.push(Ce(Ce({},e),n))})),Oe(d,t.data)||(a.data=d)}n(Ce(Ce({},a),{},{id:r})),je.push(r),e.push(r)}else if(je.includes(t.id)){var p="wp-block-themeisle-blocks-button-group-".concat(c.substr(0,8));n({id:p}),je.push(p)}else je.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=ke(e)},p=He(t.data),m=ve(_e(0),2),u=m[0],s=m[1],b=ve(_e(!1),2),y=b[0],h=b[1],w=function(e){s(e),h(!0),setTimeout((function(){h(!1)}),500)},v=function(e){1<=e&&5>=e&&(t.data.length<e&&(Ne(e-t.data.length,(function(){p.current.push({text:t.data[0].text,link:t.data[0].link,newTab:t.data[0].newTab,color:t.data[0].color,border:t.data[0].border,background:t.data[0].background,hoverColor:t.data[0].hoverColor,hoverBackground:t.data[0].hoverBackground,hoverBorder:t.data[0].hoverBorder,borderSize:t.data[0].borderSize,borderRadius:t.data[0].borderRadius,boxShadow:t.data[0].boxShadow,boxShadowColor:t.data[0].boxShadowColor,boxShadowColorOpacity:t.data[0].boxShadowColorOpacity,boxShadowBlur:t.data[0].boxShadowBlur,boxShadowSpread:t.data[0].boxShadowSpread,boxShadowHorizontal:t.data[0].boxShadowHorizontal,boxShadowVertical:t.data[0].boxShadowVertical,hoverBoxShadowColor:t.data[0].hoverBoxShadowColor,hoverBoxShadowColorOpacity:t.data[0].hoverBoxShadowColorOpacity,hoverBoxShadowBlur:t.data[0].hoverBoxShadowBlur,hoverBoxShadowSpread:t.data[0].hoverBoxShadowSpread,hoverBoxShadowHorizontal:t.data[0].hoverBoxShadowHorizontal,hoverBoxShadowVertical:t.data[0].hoverBoxShadowVertical,iconType:t.data[0].iconType,prefix:t.data[0].prefix,icon:t.data[0].icon,paddingTopBottom:t.data[0].paddingTopBottom,paddingLeftRight:t.data[0].paddingLeftRight})})),n({data:p.current})),n({buttons:e}),s(0))},k=function(e){n({fontSize:e})},T=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},E=function(e){n({fontVariant:e})},x=function(e){n({fontStyle:e})},C=function(e){n({textTransform:e})},S=function(e){n({lineHeight:e})},M=function(e,t){p.current=p.current.map((function(n,a){return t===a&&(n=Ce(Ce({},n),e)),n})),n({data:p.current})},O="collapse-none"!==t.collapse?t.collapse:"";return wp.element.createElement(ze,null,t.fontFamily&&wp.element.createElement(g.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(B,{attributes:t,setAttributes:n,changeFontSize:k,changeFontFamily:T,changeFontVariant:E,changeFontStyle:x,changeTextTransform:C,changeLineHeight:S}),wp.element.createElement(ie,{attributes:t,setAttributes:n,selectedButton:u,wait:y,changeButtons:v,changeButton:w,updateButton:M,changeFontSize:k,changeFontFamily:T,changeFontVariant:E,changeFontStyle:x,changeTextTransform:C,changeLineHeight:S}),wp.element.createElement("div",{id:t.id,className:r()(a,O,"wp-block-button"),style:{justifyContent:t.align,alignItems:t.align?t.align:"flex-start"}},Ne(t.buttons,(function(e){return wp.element.createElement(we,{index:e,attributes:t,isSelected:i,changeButton:w,updateButton:M})})),i&&4>=t.buttons&&wp.element.createElement(Ae,{className:"wp-block-themeisle-blocks-button-inserter",icon:"plus-alt",onClick:function(){return v(t.buttons+1)},label:Me("Add Button")})))},Ge=wp.blockEditor.RichText,Ve=wp.element.Fragment,Fe=function(e){var t=e.index,n=e.attributes;return wp.element.createElement(Ve,null,wp.element.createElement("a",{href:n.data[t].link,target:n.data[t].newTab?"_blank":"_self",className:r()("wp-block-themeisle-blocks-button","wp-block-themeisle-blocks-button-".concat(t),"wp-block-button__link"),rel:"noopener noreferrer"},("left"===n.data[t].iconType||"only"===n.data[t].iconType)&&wp.element.createElement("i",{className:r()(n.data[t].prefix,"fa-fw","fa-".concat(n.data[t].icon),{"margin-right":"left"===n.data[t].iconType})}),"only"!==n.data[t].iconType&&wp.element.createElement(Ge.Content,{tagName:"span",value:n.data[t].text}),"right"===n.data[t].iconType&&wp.element.createElement("i",{className:"".concat(n.data[t].prefix," fa-fw fa-").concat(n.data[t].icon," margin-left")})))},We=lodash.times,qe=function(e){var t=e.attributes,n=e.className,a="collapse-none"!==t.collapse&&t.collapse;return wp.element.createElement("div",{id:t.id,className:r()(n,a,"wp-block-button")},We(t.buttons,(function(e){return wp.element.createElement(Fe,{index:e,attributes:t})})))},Ue=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/button-group",{title:Ue("Button Group"),description:Ue("Prompt visitors to take action with a button group."),icon:a.d,category:"themeisle-blocks",keywords:[Ue("buttons"),Ue("button group"),Ue("advanced buttons")],attributes:l,deprecated:s,edit:De,save:qe})},function(e,t,n){"use strict";n.r(t);n(50),n(51),n(52);var a=n(2),l={id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number"},paddingMobile:{type:"number"},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number"},paddingTopMobile:{type:"number"},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number"},paddingRightMobile:{type:"number"},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number"},paddingBottomMobile:{type:"number"},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number"},paddingLeftMobile:{type:"number"},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number"},marginMobile:{type:"number"},marginTop:{type:"number",default:0},marginTopTablet:{type:"number"},marginTopMobile:{type:"number"},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number"},marginBottomMobile:{type:"number"}},o=n(0),r=n.n(o),i=n(7),c=n.n(i);function d(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function p(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var m=wp.blockEditor.RichText,u=[{attributes:{id:{type:"string"},content:{type:"string",source:"html",selector:"h1,h2,h3,h4,h5,h6,div,p,span",default:""},tag:{default:"h2",type:"string"},align:{type:"string"},alignTablet:{type:"string"},alignMobile:{type:"string"},headingColor:{type:"string",default:"#000000"},highlightColor:{type:"string"},highlightBackground:{type:"string"},fontSize:{type:"number"},fontSizeTablet:{type:"number"},fontSizeMobile:{type:"number"},fontFamily:{type:"string"},fontVariant:{type:"string"},fontStyle:{type:"string",default:"normal"},textTransform:{type:"string",default:"none"},lineHeight:{type:"number"},letterSpacing:{type:"number"},textShadow:{type:"boolean",default:!1},textShadowColor:{type:"string",default:"#000000"},textShadowColorOpacity:{type:"number",default:50},textShadowBlur:{type:"number",default:5},textShadowHorizontal:{type:"number",default:0},textShadowVertical:{type:"number",default:0},paddingType:{type:"string",default:"linked"},paddingTypeTablet:{type:"string",default:"linked"},paddingTypeMobile:{type:"string",default:"linked"},padding:{type:"number",default:0},paddingTablet:{type:"number",default:0},paddingMobile:{type:"number",default:0},paddingTop:{type:"number",default:0},paddingTopTablet:{type:"number",default:0},paddingTopMobile:{type:"number",default:0},paddingRight:{type:"number",default:0},paddingRightTablet:{type:"number",default:0},paddingRightMobile:{type:"number",default:0},paddingBottom:{type:"number",default:0},paddingBottomTablet:{type:"number",default:0},paddingBottomMobile:{type:"number",default:0},paddingLeft:{type:"number",default:0},paddingLeftTablet:{type:"number",default:0},paddingLeftMobile:{type:"number",default:0},marginType:{type:"string",default:"unlinked"},marginTypeTablet:{type:"string",default:"unlinked"},marginTypeMobile:{type:"string",default:"unlinked"},margin:{type:"number",default:0},marginTablet:{type:"number",default:0},marginMobile:{type:"number",default:0},marginTop:{type:"number",default:0},marginTopTablet:{type:"number",default:0},marginTopMobile:{type:"number",default:0},marginBottom:{type:"number",default:25},marginBottomTablet:{type:"number",default:25},marginBottomMobile:{type:"number",default:20}},save:function(e){var t,n=e.attributes,a=e.className;n.textShadow&&(t={textShadow:"".concat(n.textShadowHorizontal,"px ").concat(n.textShadowVertical,"px ").concat(n.textShadowBlur,"px ").concat(c()(n.textShadowColor?n.textShadowColor:"#000000",n.textShadowColorOpacity))});var l=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d(Object(n),!0).forEach((function(t){p(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({color:n.headingColor,fontFamily:n.fontFamily,fontWeight:"regular"===n.fontVariant?"normal":n.fontVariant,fontStyle:n.fontStyle,textTransform:n.textTransform,lineHeight:n.lineHeight&&"".concat(n.lineHeight,"px"),letterSpacing:n.letterSpacing&&"".concat(n.letterSpacing,"px")},t);return wp.element.createElement(m.Content,{tagName:n.tag,value:n.content,id:n.id,className:r()(n.id,a),style:l})}}],s=wp.blocks.createBlock,b={from:[{type:"block",blocks:["core/heading"],transform:function(e){var t=e.content;return s("themeisle-blocks/advanced-heading",{content:t})}},{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("themeisle-blocks/advanced-heading",{content:t})}}],to:[{type:"block",blocks:["core/paragraph"],transform:function(e){var t=e.content;return s("core/paragraph",{content:t})}}]},g=n(19),f=n.n(g),y=n(6),h=n(9),w=wp.i18n.__,v=wp.components,k=v.Dropdown,T=v.DropdownMenu,E=v.IconButton,x=v.RangeControl,C=v.SVG,S=v.Toolbar,M=wp.blockEditor.BlockControls,B=wp.element.Fragment,O=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,r=e.changeTextTransform,i=e.changeLineHeight,c=e.changeLetterSpacing,d=function(e){return"h1"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H1")):"h2"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H2")):"h3"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H3")):"h4"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H4")):"h5"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H5")):"h6"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"H6")):"div"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"DIV")):"p"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{x:"0",y:"15"},"P")):"span"===e?wp.element.createElement(C,{style:{width:"25px",height:"20px"}},wp.element.createElement("text",{style:{fontSize:"12px"},x:"0",y:"15"},"SPAN")):void 0},p=function(e){n({tag:e})};return wp.element.createElement(M,null,wp.element.createElement(T,{icon:d(t.tag),label:w("Select tag"),className:"components-toolbar",controls:[{title:w("Heading 1"),icon:d("h1"),onClick:function(){return p("h1")}},{title:w("Heading 2"),icon:d("h2"),onClick:function(){return p("h2")}},{title:w("Heading 3"),icon:d("h3"),onClick:function(){return p("h3")}},{title:w("Heading 4"),icon:d("h4"),onClick:function(){return p("h4")}},{title:w("Heading 5"),icon:d("h5"),onClick:function(){return p("h5")}},{title:w("Heading 6"),icon:d("h6"),onClick:function(){return p("h6")}},{title:w("Division"),icon:d("div"),onClick:function(){return p("div")}},{title:w("Paragraph"),icon:d("p"),onClick:function(){return p("p")}},{title:w("Span Tag"),icon:d("span"),onClick:function(){return p("span")}}]}),wp.element.createElement(S,{className:"wp-themesiel-blocks-advanced-heading-components-toolbar"},wp.element.createElement(k,{contentClassName:"wp-themesiel-blocks-advanced-heading-popover-content",position:"bottom center",renderToggle:function(e){var t=e.isOpen,n=e.onToggle;return wp.element.createElement(E,{className:"components-dropdown-menu__toggle",icon:"editor-textcolor",onClick:n,"aria-haspopup":"true","aria-expanded":t,label:w("Typography Settings"),tooltip:w("Typography Settings")},wp.element.createElement("span",{className:"components-dropdown-menu__indicator"}))},renderContent:function(){return wp.element.createElement(B,null,wp.element.createElement(h.a,{label:w("Font Family"),value:t.fontFamily,onChangeFontFamily:a,isSelect:!0,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:r}),wp.element.createElement(x,{label:w("Line Height"),value:t.lineHeight,onChange:i,min:0,max:200}),wp.element.createElement(x,{label:w("Letter Spacing"),value:t.letterSpacing,onChange:c,min:-50,max:100}))}})))},R=n(3),L=n(8),N=n(4),A=n(5),P=n(20);function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function I(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return H(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return H(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var _=wp.i18n.__,j=wp.blockEditor,D=j.AlignmentToolbar,G=j.ColorPalette,V=j.InspectorControls,F=wp.components,W=F.Button,q=F.Dashicon,U=F.PanelBody,Z=F.RangeControl,$=F.ToggleControl,Q=wp.compose.compose,K=wp.data.withSelect,J=wp.element,Y=J.Fragment,X=J.useState,ee=Q(K((function(e){var t=e("themeisle-gutenberg/data").getView,n=e("core/edit-post").__experimentalGetPreviewDeviceType;return{view:n?n():t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.changeFontFamily,l=e.changeFontVariant,o=e.changeFontStyle,i=e.changeTextTransform,c=e.changeLineHeight,d=e.changeLetterSpacing,p=e.view,m=I(X("style"),2),u=m[0],s=m[1],b=function(){var e;return"Desktop"===p&&(e=t.fontSize),"Tablet"===p&&(e=t.fontSizeTablet),"Mobile"===p&&(e=t.fontSizeMobile),e};b=b();var g=function(){var e;return"Desktop"===p&&(e=t.align),"Tablet"===p&&(e=t.alignTablet),"Mobile"===p&&(e=t.alignMobile),e};g=g();var f=function(){var e;return"Desktop"===p&&(e=t.paddingType),"Tablet"===p&&(e=t.paddingTypeTablet),"Mobile"===p&&(e=t.paddingTypeMobile),e};f=f();var y={top:"paddingTop",right:"paddingRight",bottom:"paddingBottom",left:"paddingLeft"},w={top:"paddingTopTablet",right:"paddingRightTablet",bottom:"paddingBottomTablet",left:"paddingLeftTablet"},v={top:"paddingTopMobile",right:"paddingRightMobile",bottom:"paddingBottomMobile",left:"paddingLeftMobile"},k=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingTop),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingTopTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingTopMobile)),"right"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingRight),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingRightTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingRightMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingBottom),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingBottomTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingBottomMobile)),"left"==e&&("Desktop"===p&&(n="linked"===t.paddingType?t.padding:t.paddingLeft),"Tablet"===p&&(n="linked"===t.paddingTypeTablet?t.paddingTablet:t.paddingLeftTablet),"Mobile"===p&&(n="linked"===t.paddingTypeMobile?t.paddingMobile:t.paddingLeftMobile)),n},T=function(){var e;return"Desktop"===p&&(e=t.marginType),"Tablet"===p&&(e=t.marginTypeTablet),"Mobile"===p&&(e=t.marginTypeMobile),e};T=T();var E={top:"marginTop",bottom:"marginBottom"},x={top:"marginTopTablet",bottom:"marginBottomTablet"},C={top:"marginTopMobile",bottom:"marginBottomMobile"},S=function(e){var n;return"top"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginTop),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginTopTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginTopMobile)),"bottom"==e&&("Desktop"===p&&(n="linked"===t.marginType?t.margin:t.marginBottom),"Tablet"===p&&(n="linked"===t.marginTypeTablet?t.marginTablet:t.marginBottomTablet),"Mobile"===p&&(n="linked"===t.marginTypeMobile?t.marginMobile:t.marginBottomMobile)),n};return wp.element.createElement(Y,null,wp.element.createElement(V,null,wp.element.createElement(U,{className:"wp-block-themeisle-blocks-advanced-heading-header-panel"},wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"style"===u}),onClick:function(){return s("style")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-customizer"}),_("Style"))),wp.element.createElement(W,{className:r()("header-tab",{"is-selected":"advanced"===u}),onClick:function(){return s("advanced")}},wp.element.createElement("span",null,wp.element.createElement(q,{icon:"admin-generic"}),_("Advanced")))),"style"===u&&wp.element.createElement(Y,null,wp.element.createElement(U,{title:_("General Settings")},wp.element.createElement(R.a,{label:_("Heading Color"),colorValue:t.headingColor},wp.element.createElement(G,{label:"Heading Color",value:t.headingColor,onChange:function(e){n({headingColor:e})}})),wp.element.createElement(N.a,{label:"Font Size"},wp.element.createElement(Z,{value:b||"",onChange:function(e){"Desktop"===p&&n({fontSize:e}),"Tablet"===p&&n({fontSizeTablet:e}),"Mobile"===p&&n({fontSizeMobile:e})},min:1,max:500})),wp.element.createElement(N.a,{label:"Alignment"},wp.element.createElement(D,{value:g,onChange:function(e){"Desktop"===p&&n({align:e}),"Tablet"===p&&n({alignTablet:e}),"Mobile"===p&&n({alignMobile:e})},isCollapsed:!1}))),wp.element.createElement(U,{title:_("Typography Settings"),initialOpen:!1},wp.element.createElement(h.a,{label:_("Font Family"),value:t.fontFamily,onChangeFontFamily:a,valueVariant:t.fontVariant,onChangeFontVariant:l,valueStyle:t.fontStyle,onChangeFontStyle:o,valueTransform:t.textTransform,onChangeTextTransform:i}),wp.element.createElement(Z,{label:_("Line Height"),value:t.lineHeight,onChange:c,min:0,max:200}),wp.element.createElement(Z,{label:_("Letter Spacing"),value:t.letterSpacing,onChange:d,min:-50,max:100}),wp.element.createElement($,{label:"Shadow Properties",checked:t.textShadow,onChange:function(e){n({textShadow:e})}}),t.textShadow&&wp.element.createElement(Y,null,wp.element.createElement(R.a,{label:_("Color"),colorValue:t.textShadowColor},wp.element.createElement(G,{label:_("Color"),value:t.textShadowColor,onChange:function(e){n({textShadowColor:e})}})),wp.element.createElement(L.a,{label:"Shadow Properties"},wp.element.createElement(Z,{label:_("Opacity"),value:t.textShadowColorOpacity,onChange:function(e){n({textShadowColorOpacity:e})},min:0,max:100}),wp.element.createElement(Z,{label:_("Blur"),value:t.textShadowBlur,onChange:function(e){n({textShadowBlur:e})},min:0,max:100}),wp.element.createElement(Z,{label:_("Horizontal"),value:t.textShadowHorizontal,onChange:function(e){n({textShadowHorizontal:e})},min:-100,max:100}),wp.element.createElement(Z,{label:_("Vertical"),value:t.textShadowVertical,onChange:function(e){n({textShadowVertical:e})},min:-100,max:100})))))||"advanced"===u&&wp.element.createElement(Y,null,wp.element.createElement(U,{title:_("Highlight Color")},wp.element.createElement(R.a,{label:_("Highlight Color"),colorValue:t.highlightColor},wp.element.createElement(G,{label:"Highlight Color",value:t.highlightColor,onChange:function(e){n({highlightColor:e})}})),wp.element.createElement(R.a,{label:_("Highlight Background"),colorValue:t.highlightBackground},wp.element.createElement(G,{label:"Highlight Background",value:t.highlightBackground,onChange:function(e){n({highlightBackground:e})}}))),wp.element.createElement(U,{title:_("Spacing"),initialOpen:!1},wp.element.createElement(N.a,{label:"Padding"},wp.element.createElement(A.a,{type:f,min:0,max:500,changeType:function(e){"Desktop"===p&&n({paddingType:e}),"Tablet"===p&&n({paddingTypeTablet:e}),"Mobile"===p&&n({paddingTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.paddingType?n({padding:a}):n(z({},y[e],a))),"Tablet"===p&&("linked"===t.paddingTypeTablet?n({paddingTablet:a}):n(z({},w[e],a))),"Mobile"===p&&("linked"===t.paddingTypeMobile?n({paddingMobile:a}):n(z({},v[e],a)))},options:[{label:_("Top"),type:"top",value:k("top")},{label:_("Right"),type:"right",value:k("right")},{label:_("Bottom"),type:"bottom",value:k("bottom")},{label:_("Left"),type:"left",value:k("left")}]})),wp.element.createElement(N.a,{label:"Margin"},wp.element.createElement(A.a,{type:T,min:-500,max:500,changeType:function(e){"Desktop"===p&&n({marginType:e}),"Tablet"===p&&n({marginTypeTablet:e}),"Mobile"===p&&n({marginTypeMobile:e})},onChange:function(e,a){"Desktop"===p&&("linked"===t.marginType?n({margin:a}):n(z({},E[e],a))),"Tablet"===p&&("linked"===t.marginTypeTablet?n({marginTablet:a}):n(z({},x[e],a))),"Mobile"===p&&("linked"===t.marginTypeMobile?n({marginMobile:a}):n(z({},C[e],a)))},options:[{label:_("Top"),type:"top",value:S("top")},{label:_("Right"),disabled:!0},{label:_("Bottom"),type:"bottom",value:S("bottom")},{label:_("Left"),disabled:!0}]}))))),wp.element.createElement(P.a,{value:t.id,onChange:function(e){n({id:e})}}))}));function te(e){return function(e){if(Array.isArray(e))return ne(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return ne(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return ne(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ne(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function ae(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function le(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ae(Object(n),!0).forEach((function(t){oe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ae(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var re=wp.i18n.__,ie=lodash.isEqual,ce=wp.blocks.createBlock,de=wp.blockEditor.RichText,pe=wp.compose.compose,me=wp.data.withSelect,ue=wp.element,se=ue.Fragment,be=ue.useEffect,ge=wp.viewport.withViewportMatch,fe=[],ye=pe(ge({isLarger:">= large",isLarge:"<= large",isSmall:">= small",isSmaller:"<= small"}),me((function(e){var t=e("core/edit-post").__experimentalGetPreviewDeviceType;return{isViewportAvailable:!!t,isPreviewDesktop:!!t&&"Desktop"===t(),isPreviewTablet:!!t&&"Tablet"===t(),isPreviewMobile:!!t&&"Mobile"===t()}})))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,i=e.mergeBlocks,d=e.name,p=e.insertBlocksAfter,m=e.onReplace,u=e.isLarger,s=e.isLarge,b=e.isSmall,g=e.isSmaller,h=e.isViewportAvailable,w=e.isPreviewDesktop,v=e.isPreviewTablet,k=e.isPreviewMobile;be((function(){T()}),[]);var T=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,r="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(ie(y.a[d],window.themeisleGutenberg.globalDefaults[d])||(a=le({},window.themeisleGutenberg.globalDefaults[d]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(le(le({},a),{},{id:r})),fe.push(r),e.push(r)}else if(fe.includes(t.id)){var i="wp-block-themeisle-blocks-advanced-heading-".concat(o.substr(0,8));n({id:i}),fe.push(i)}else fe.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=te(e)},E=u&&!s&&b&&!g,x=!u&&!s&&b&&!g,C=!(u||s||b||g);h&&!C&&(E=w,x=v,C=k);var S,M,B,R=function(e){n(e?{fontFamily:e,fontVariant:"normal",fontStyle:"normal"}:{fontFamily:e,fontVariant:e})},L=function(e){n({fontVariant:e})},N=function(e){n({fontStyle:e})},A=function(e){n({textTransform:e})},P=function(e){n({lineHeight:e})},z=function(e){n({letterSpacing:e})};E&&(S={fontSize:"".concat(t.fontSize,"px")},M={textAlign:t.align,paddingTop:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingTop,"px"),paddingRight:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingRight,"px"),paddingBottom:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingBottom,"px"),paddingLeft:"linked"===t.paddingType?"".concat(t.padding,"px"):"".concat(t.paddingLeft,"px"),marginTop:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginTop,"px"),marginBottom:"linked"===t.marginType?"".concat(t.margin,"px"):"".concat(t.marginBottom,"px")}),x&&(S={fontSize:"".concat(t.fontSizeTablet,"px")},M={textAlign:t.alignTablet,paddingTop:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingTopTablet,"px"),paddingRight:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingRightTablet,"px"),paddingBottom:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingBottomTablet,"px"),paddingLeft:"linked"===t.paddingTypeTablet?"".concat(t.paddingTablet,"px"):"".concat(t.paddingLeftTablet,"px"),marginTop:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginTopTablet,"px"),marginBottom:"linked"===t.marginTypeTablet?"".concat(t.marginTablet,"px"):"".concat(t.marginBottomTablet,"px")}),C&&(S={fontSize:"".concat(t.fontSizeMobile,"px")},M={textAlign:t.alignMobile,paddingTop:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingTopMobile,"px"),paddingRight:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingRightMobile,"px"),paddingBottom:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingBottomMobile,"px"),paddingLeft:"linked"===t.paddingTypeMobile?"".concat(t.paddingMobile,"px"):"".concat(t.paddingLeftMobile,"px"),marginTop:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginTopMobile,"px"),marginBottom:"linked"===t.marginTypeMobile?"".concat(t.marginMobile,"px"):"".concat(t.marginBottomMobile,"px")}),t.textShadow&&(B={textShadow:"".concat(t.textShadowHorizontal,"px ").concat(t.textShadowVertical,"px ").concat(t.textShadowBlur,"px ").concat(c()(t.textShadowColor?t.textShadowColor:"#000000",t.textShadowColorOpacity))});var I=le(le(le({color:t.headingColor},S),{},{fontFamily:t.fontFamily?t.fontFamily:"inherit",fontWeight:"regular"===t.fontVariant?"normal":t.fontVariant,fontStyle:t.fontStyle,textTransform:t.textTransform,lineHeight:t.lineHeight&&"".concat(t.lineHeight,"px"),letterSpacing:t.letterSpacing&&"".concat(t.letterSpacing,"px")},M),B);return wp.element.createElement(se,null,wp.element.createElement("style",null,".".concat(t.id," mark {\n\t\t\t\t\t\tcolor: ").concat(t.highlightColor,";\n\t\t\t\t\t\tbackground: ").concat(t.highlightBackground,";\n\t\t\t\t\t}")),t.fontFamily&&wp.element.createElement(f.a,{fonts:[{font:t.fontFamily,weights:t.fontVariant&&["".concat(t.fontVariant+("italic"===t.fontStyle?":i":""))]}]}),wp.element.createElement(O,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:L,changeFontStyle:N,changeTextTransform:A,changeLineHeight:P,changeLetterSpacing:z}),wp.element.createElement(ee,{attributes:t,setAttributes:n,changeFontFamily:R,changeFontVariant:L,changeFontStyle:N,changeTextTransform:A,changeLineHeight:P,changeLetterSpacing:z}),wp.element.createElement(de,{identifier:"content",className:r()(t.id,a),value:t.content,placeholder:re("Write heading…"),tagName:t.tag,formattingControls:["bold","italic","link","strikethrough","mark"],allowedFormats:["core/bold","core/italic","core/link","core/strikethrough","themeisle-blocks/mark"],onMerge:i,unstableOnSplit:p?function(e,t){n({content:e});for(var a=arguments.length,l=new Array(a>2?a-2:0),o=2;o<a;o++)l[o-2]=arguments[o];p([].concat(l,[ce("core/paragraph",{content:t})]))}:void 0,onRemove:function(){return m([])},style:I,onChange:function(e){n({content:e})}}))})),he=wp.blockEditor.RichText,we=function(e){var t=e.attributes,n=e.className;return wp.element.createElement(he.Content,{tagName:t.tag,value:t.content,id:t.id,className:r()(t.id,n)})},ve=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/advanced-heading",{title:ve("Advanced Heading"),description:ve("Advanced Heading gives a spin to editor's Heading block with much needed customization options."),icon:a.i,category:"themeisle-blocks",keywords:[ve("heading"),ve("title"),ve("advanced heading")],attributes:l,deprecated:u,transforms:b,edit:ye,save:we})},function(e,t,n){"use strict";n.r(t);n(60),n(61);var a=n(2),l={id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}};function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function r(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){i(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function i(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c=[{attributes:{prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},supports:{align:["left","center","right"]},migrate:function(e){var t="center";return e.className.includes("alignleft")&&(t="left"),e.className.includes("aligncenter")&&(t="center"),e.className.includes("alignright")&&(t="right"),r(r({},e),{},{align:t,className:""})},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"".concat(e.className,"-container"),style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t={borderRadius:e.attributes.borderRadius+"%",fontSize:e.attributes.fontSize+"px",padding:e.attributes.padding+"px"},n={color:e.attributes.textColor,backgroundColor:e.attributes.backgroundColor,borderColor:e.attributes.borderColor,borderRadius:e.attributes.borderRadius+"%",borderStyle:"solid",borderWidth:e.attributes.borderSize+"px",display:"inline-block",margin:e.attributes.margin+"px"};return wp.element.createElement("p",{className:e.className,style:{textAlign:e.attributes.align}},wp.element.createElement("span",{className:"undefined-container",style:n},wp.element.createElement("i",{className:"".concat(e.attributes.prefix," fa-").concat(e.attributes.icon),style:t})))}},{attributes:{id:{type:"string"},align:{type:"string"},prefix:{type:"string",default:"fab"},icon:{type:"string",default:"themeisle"},link:{type:"string"},newTab:{type:"boolean",default:!1},fontSize:{type:"number",default:16},padding:{type:"number",default:5},margin:{type:"number",default:5},backgroundColor:{type:"string"},textColor:{type:"string"},borderColor:{type:"string"},backgroundColorHover:{type:"string"},textColorHover:{type:"string"},borderColorHover:{type:"string"},borderSize:{type:"number",default:0},borderRadius:{type:"number",default:0}},save:function(e){var t=e.attributes,n=e.className,a={borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"},l={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},o=function(){return wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:l})};return wp.element.createElement("p",{className:n,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:a},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",style:{color:t.textColor},rel:"noopener noreferrer"},wp.element.createElement(o,null)):wp.element.createElement(o,null)))}}],d=n(6),p=wp.i18n.__,m=wp.blockEditor,u=m.AlignmentToolbar,s=m.BlockControls,b=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(s,null,wp.element.createElement(u,{value:t.align,onChange:function(e){n({align:e})},alignmentControls:[{icon:"editor-alignleft",title:p("Align left"),align:"left"},{icon:"editor-aligncenter",title:p("Align center"),align:"center"},{icon:"editor-alignright",title:p("Align right"),align:"right"}]}))},g=n(3),f=n(21);function y(e){return(y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return w(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return w(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var v=wp.i18n.__,k=wp.components,T=k.Button,E=k.ButtonGroup,x=k.PanelBody,C=k.Placeholder,S=k.RangeControl,M=k.Spinner,B=k.ToggleControl,O=wp.blockEditor,R=O.ColorPalette,L=O.ContrastChecker,N=O.InspectorControls,A=wp.element,P=A.Fragment,z=A.useState,I=React.lazy((function(){return Promise.all([n.e(0),n.e(1)]).then(n.bind(null,108))})),H=function(e){var t=e.attributes,n=e.setAttributes,a=h(z(!1),2),l=a[0],o=a[1];return wp.element.createElement(N,null,wp.element.createElement(x,{title:v("Icon Settings")},wp.element.createElement(React.Suspense,{fallback:wp.element.createElement(C,{className:"wp-themeisle-block-spinner"},wp.element.createElement(M,null))},wp.element.createElement(I,{label:v("Icon Picker"),prefix:t.prefix,icon:t.icon,onChange:function(e){"object"===y(e)?n({icon:e.name,prefix:e.prefix}):n({icon:e})}})),wp.element.createElement(f.a,{label:v("Link"),placeholder:"https://…",value:t.link,onChange:function(e){n({link:e})}},wp.element.createElement(B,{label:"Open in New Tab?",checked:t.newTab,onChange:function(){n({newTab:!t.newTab})}}))),wp.element.createElement(x,{title:v("Icon Sizes"),initialOpen:!1},wp.element.createElement(S,{label:v("Icon Size"),value:t.fontSize||"",initialPosition:16,onChange:function(e){n({fontSize:e})},min:12,max:140}),wp.element.createElement(S,{label:v("Padding"),value:t.padding||"",initialPosition:5,onChange:function(e){n({padding:e})},min:0,max:100}),wp.element.createElement(S,{label:v("Margin"),value:t.margin||"",initialPosition:5,onChange:function(e){n({margin:e})},min:0,max:100})),wp.element.createElement(x,{title:v("Color"),initialOpen:!1},wp.element.createElement(E,{className:"wp-block-themeisle-blocks-font-awesome-icons-hover-control"},wp.element.createElement(T,{isDefault:!0,isLarge:!0,isPrimary:!l,onClick:function(){return o(!1)}},v("Normal")),wp.element.createElement(T,{isDefault:!0,isLarge:!0,isPrimary:l,onClick:function(){return o(!0)}},v("Hover"))),l?wp.element.createElement(P,null,wp.element.createElement(g.a,{label:"Hover Background",colorValue:t.backgroundColorHover},wp.element.createElement(R,{label:"Hover Background",value:t.backgroundColorHover,onChange:function(e){n({backgroundColorHover:e})}})),wp.element.createElement(g.a,{label:"Hover Icon",colorValue:t.textColorHover},wp.element.createElement(R,{label:"Hover Icon",value:t.textColorHover,onChange:function(e){n({textColorHover:e})}})),wp.element.createElement(g.a,{label:"Hover Border",colorValue:t.borderColorHover},wp.element.createElement(R,{label:"Hover Border",value:t.borderColorHover,onChange:function(e){n({borderColorHover:e})}})),wp.element.createElement(L,{textColor:t.textColorHover,backgroundColor:t.backgroundColorHover})):wp.element.createElement(P,null,wp.element.createElement(g.a,{label:"Background",colorValue:t.backgroundColor},wp.element.createElement(R,{label:"Background",value:t.backgroundColor,onChange:function(e){n({backgroundColor:e})}})),wp.element.createElement(g.a,{label:"Icon",colorValue:t.textColor},wp.element.createElement(R,{label:"Icon",value:t.textColor,onChange:function(e){n({textColor:e})}})),wp.element.createElement(g.a,{label:"Border",colorValue:t.borderColor},wp.element.createElement(R,{label:"Border",value:t.borderColor,onChange:function(e){n({borderColor:e})}})),wp.element.createElement(L,{textColor:t.textColor,backgroundColor:t.backgroundColor}))),wp.element.createElement(x,{title:v("Border Settings"),initialOpen:!1},wp.element.createElement(S,{label:v("Border Size"),value:t.borderSize,onChange:function(e){n({borderSize:e})},min:0,max:120}),wp.element.createElement(S,{label:v("Border Radius"),value:t.borderRadius,onChange:function(e){n({borderRadius:e})},min:0,max:100})))};function _(e){return function(e){if(Array.isArray(e))return j(e)}(e)||function(e){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function D(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function G(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?D(Object(n),!0).forEach((function(t){V(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):D(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function V(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var F=lodash.isEqual,W=wp.element,q=W.Fragment,U=W.useEffect,Z=[],$=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,o=e.clientId,r=e.name;U((function(){i()}),[]);var i=function(){var e=window.themeisleGutenberg.blockIDs?window.themeisleGutenberg.blockIDs:[];if(void 0===t.id){var a,i="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));void 0!==(window.themeisleGutenberg.globalDefaults?window.themeisleGutenberg.globalDefaults:void 0)&&(F(d.a[r],window.themeisleGutenberg.globalDefaults[r])||(a=G({},window.themeisleGutenberg.globalDefaults[r]),Object.keys(a).map((function(e){if(t[e]!==a[e]&&void 0!==l[e].default&&t[e]!==l[e].default)return delete a[e]})))),n(G(G({},a),{},{id:i})),Z.push(i),e.push(i)}else if(Z.includes(t.id)){var c="wp-block-themeisle-blocks-font-awesome-icons-".concat(o.substr(0,8));n({id:c}),Z.push(c)}else Z.push(t.id),e.push(t.id);window.themeisleGutenberg.blockIDs=_(e)},c={borderRadius:t.borderRadius+"%",fontSize:t.fontSize+"px",padding:t.padding+"px"},p={color:t.textColor,backgroundColor:t.backgroundColor,borderColor:t.borderColor,borderRadius:t.borderRadius+"%",borderStyle:"solid",borderWidth:t.borderSize+"px",display:"inline-block",margin:t.margin+"px"};return wp.element.createElement(q,null,wp.element.createElement(b,{attributes:t,setAttributes:n}),wp.element.createElement(H,{attributes:t,setAttributes:n}),wp.element.createElement("style",null,"#".concat(t.id," .").concat(a,"-container:hover {\n\t\t\t\t\t\tcolor: ").concat(t.textColorHover?t.textColorHover:t.textColor," !important;\n\t\t\t\t\t\tbackground: ").concat(t.backgroundColorHover?t.backgroundColorHover:t.backgroundColor," !important;\n\t\t\t\t\t\tborder-color: ").concat(t.borderColorHover?t.borderColorHover:t.borderColor," !important;\n\t\t\t\t\t}")),wp.element.createElement("p",{className:a,id:t.id,style:{textAlign:t.align}},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container",style:p},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon),style:c}))))},Q=function(e){var t=e.attributes,n=e.className;return wp.element.createElement("p",{className:n,id:t.id},wp.element.createElement("span",{className:"wp-block-themeisle-blocks-font-awesome-icons-container"},t.link?wp.element.createElement("a",{href:t.link,target:t.newTab?"_blank":"_self",rel:"noopener noreferrer"},wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})):wp.element.createElement("i",{className:"".concat(t.prefix," fa-").concat(t.icon)})))},K=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/font-awesome-icons",{title:K("Font Awesome Icons"),description:K("Share buttons for your website visitors to share content on any social sharing service."),icon:a.h,category:"themeisle-blocks",keywords:["font awesome","dashicons","icons"],attributes:l,deprecated:c,edit:$,save:Q})},function(e,t,n){"use strict";n.r(t);n(67),n(68);var a=n(2),l={style:{type:"string",default:"grid"},columns:{type:"number",default:3},template:{type:"array",default:["category","title","meta","description"]},categories:{type:"array",items:{type:"object"}},postsToShow:{type:"number",default:5},order:{type:"string",default:"desc"},orderBy:{type:"string",default:"date"},offset:{type:"number",default:0},imageSize:{type:"string",default:"full"},imageBoxShadow:{type:"boolean",default:!0},displayFeaturedImage:{type:"boolean",default:!0},displayCategory:{type:"boolean",default:!0},displayTitle:{type:"boolean",default:!0},titleTag:{type:"string",default:"h5"},displayMeta:{type:"boolean",default:!0},displayDescription:{type:"boolean",default:!0},excerptLength:{type:"number",default:100},displayDate:{type:"boolean",default:!0},displayAuthor:{type:"boolean",default:!0}},o=n(12),r=n(35),i=n.n(r),c=n(0),d=n.n(c),p=n(24);function m(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return u(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return u(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var s=lodash,b=s.startCase,g=s.toLower,f=wp.i18n.__,y=wp.components,h=y.IconButton,w=y.TextControl,v=y.SelectControl,k=y.ToggleControl,T=wp.element,E=T.Fragment,x=T.useState,C=Object(p.c)((function(){return wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-handle"},wp.element.createElement("span",null))})),S=function(e){var t,n=e.value,a=e.disabled,l=e.getFields,o=e.toggleFields,r=e.imageSize,i=e.titleTag,c=e.excerptLimit,p=m(x(!1),2),u=p[0],s=p[1],y=b(g(n)),T="hidden",S=f("Display ".concat(y));switch(l(n)&&(T="visibility",S=f("Hide ".concat(y))),n){case"image":case"title":case"meta":case"description":t=!0;break;default:t=!1}return wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-item-area","wp-block-themeisle-blocks-posts-grid-builder-item-area-".concat(n))},wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-item",{disabled:a,hidden:!l(n),editable:t})},!a&&wp.element.createElement(C,null),wp.element.createElement("div",{className:"wp-block-themeisle-blocks-posts-grid-builder-label"},y),t&&wp.element.createElement(h,{icon:u?"arrow-up-alt2":"arrow-down-alt2",label:f(u?"Close Settings":"Open Settings"),className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){return s(!u)}}),wp.element.createElement(h,{icon:T,label:S,className:"wp-block-themeisle-blocks-posts-grid-builder-button",onClick:function(){o(n),s(!1)}})),t&&wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder-control-area",{opened:u&&l(n)})},"image"===n&&wp.element.createElement(E,null,wp.element.createElement(v,{label:f("Image Size"),value:r.value,options:[{label:f("Thumbnail"),value:"thumbnail"},{label:f("Medium"),value:"medium"},{label:f("Medium Large"),value:"medium_large"},{label:f("Large"),value:"large"},{label:f("Full"),value:"full"}],onChange:r.onChange}),wp.element.createElement(k,{label:"Display Box Shadow?",checked:l("imageBoxShadow"),onChange:function(){return o("imageBoxShadow")}})),"title"===n&&wp.element.createElement(v,{label:f("Title Tag"),value:i.value||"h5",options:[{label:f("H1"),value:"h1"},{label:f("H2"),value:"h2"},{label:f("H3"),value:"h3"},{label:f("H4"),value:"h4"},{label:f("H5"),value:"h5"},{label:f("H6"),value:"h6"}],onChange:i.onChange}),"description"===n&&wp.element.createElement(w,{label:f("Excerpt Limit"),type:"number",value:c.value,onChange:c.onChange}),"meta"===n&&wp.element.createElement(E,null,wp.element.createElement(k,{label:"Display Date?",checked:l("date"),onChange:function(){return o("date")}}),wp.element.createElement(k,{label:"Display Author?",checked:l("author"),onChange:function(){return o("author")}}))))},M=Object(p.b)((function(e){var t=e.value,n=e.disabled,a=e.getFields,l=e.toggleFields,o=e.titleTag,r=e.excerptLimit;return wp.element.createElement(S,{value:t,disabled:n,getFields:a,toggleFields:l,titleTag:o,excerptLimit:r})})),B=Object(p.a)((function(e){var t=e.template,n=e.getFields,a=e.toggleFields,l=e.titleTag,o=e.excerptLimit;return wp.element.createElement("div",null,t.map((function(e,t){return wp.element.createElement(M,{key:"item-".concat(t),index:t,value:e,getFields:n,toggleFields:a,titleTag:l,excerptLimit:o})})))})),O=wp.i18n.__,R=wp.element.Fragment,L=function(e){var t=e.attributes,n=e.setAttributes,a=e.getFields,l=e.toggleFields,o=e.imageSize,r=e.titleTag,c=e.excerptLimit;return wp.element.createElement(R,null,wp.element.createElement("div",{className:d()("wp-block-themeisle-blocks-posts-grid-builder",t.style)},wp.element.createElement(S,{value:O("image"),disabled:!0,getFields:a,toggleFields:l,imageSize:o}),wp.element.createElement(B,{template:t.template,onSortEnd:function(e){var a=e.oldIndex,l=e.newIndex,o=i()(t.template,a,l);n({template:o})},getFields:a,toggleFields:l,titleTag:r,excerptLimit:c,useDragHandle:!0})))};function N(e){return(N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function A(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function P(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A(Object(n),!0).forEach((function(t){z(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function z(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var I=wp.i18n.__,H=wp.components,_=H.PanelBody,j=H.QueryControls,D=H.RangeControl,G=H.TextControl,V=wp.blockEditor.InspectorControls,F=function(e){var t=e.attributes,n=e.setAttributes,a=e.changeStyle,l=e.categoriesList,r=l.reduce((function(e,t){return P(P({},e),{},z({},t.name,t))}),{}),i=t.categories?t.categories.map((function(e){var t=l.find((function(t){return t.id===Number(e.id)}));return{id:e.id,name:t.name||t.slug}})):[],c="object"===N(t.categories)?1<=t.categories.length?t.categories[0].id:void 0:t.categories;return wp.element.createElement(V,null,wp.element.createElement(_,{title:I("Styles"),initialOpen:!1},wp.element.createElement(o.b,{value:t.style,options:[{label:I("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:I("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:a})),wp.element.createElement(_,{title:I("Settings")},"grid"===t.style&&wp.element.createElement(D,{label:I("Columns"),value:t.columns,onChange:function(e){n({columns:e})},min:1,max:5}),wp.element.createElement(j,{order:t.order,orderBy:t.orderBy,onOrderChange:function(e){return n({order:e})},onOrderByChange:function(e){return n({orderBy:e})},numberOfItems:t.postsToShow,onNumberOfItemsChange:function(e){return n({postsToShow:e})},categoriesList:l,categorySuggestions:r,selectedCategoryId:c,selectedCategories:i,onCategoryChange:function(e){var t;"object"===N(e)?0<e.length&&(t=e.map((function(e){if("object"===N(e))return e;var t=l.find((function(t){return t.name===e}));return t?{id:t.id,name:e}:void 0})).filter((function(e){return void 0!==e}))):""!==e&&(t=[{id:e,name:l.find((function(t){return t.id===Number(e)})).name}]),n({categories:t})}}),wp.element.createElement(G,{label:I("Offset"),help:I("Number of post to displace or pass over."),type:"number",value:t.offset,min:0,onChange:function(e){return n({offset:e})}})),wp.element.createElement(_,{title:I("Design & Layout"),initialOpen:!1},wp.element.createElement(L,{attributes:t,getFields:function(e){return"image"===e?t.displayFeaturedImage:"imageBoxShadow"===e?t.imageBoxShadow:"category"===e?t.displayCategory:"title"===e?t.displayTitle:"meta"===e?t.displayMeta:"description"===e?t.displayDescription:"date"===e?t.displayDate:"author"===e?t.displayAuthor:void 0},toggleFields:function(e){"image"===e&&n({displayFeaturedImage:!t.displayFeaturedImage}),"imageBoxShadow"===e&&n({imageBoxShadow:!t.imageBoxShadow}),"category"===e&&n({displayCategory:!t.displayCategory}),"title"===e&&n({displayTitle:!t.displayTitle}),"meta"===e&&n({displayMeta:!t.displayMeta}),"description"===e&&n({displayDescription:!t.displayDescription}),"date"===e&&n({displayDate:!t.displayDate}),"author"===e&&n({displayAuthor:!t.displayAuthor})},setAttributes:n,imageSize:{value:t.imageSize,onChange:function(e){n({imageSize:e})}},titleTag:{value:t.titleTag,onChange:function(e){n({titleTag:e})}},excerptLimit:{value:t.excerptLength,onChange:function(e){n({excerptLength:e})}}})))},W=n(27),q=lodash,U=q.isUndefined,Z=q.pickBy,$=wp.i18n.__,Q=wp.components,K=Q.Disabled,J=Q.Placeholder,Y=Q.Spinner,X=wp.data.withSelect,ee=wp.element.Fragment,te=X((function(e,t){var n=t.attributes,a=n.categories,l=n.order,o=n.orderBy,r=n.postsToShow,i=n.offset,c=a&&0<a.length?a.map((function(e){return e.id})):[],d=Z({categories:c,order:l,orderby:o,per_page:r,offset:i},(function(e){return!U(e)}));return{posts:e("core").getEntityRecords("postType","post",d),categoriesList:e("core").getEntityRecords("taxonomy","category",{per_page:100}),authors:e("core").getAuthors()}}))((function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=e.posts,r=e.categoriesList,i=e.authors,c=function(e){n({style:e})};return l&&r&&i?0===l.length?wp.element.createElement(ee,null,wp.element.createElement(J,null,$("No Posts")),r&&t.offset?wp.element.createElement(F,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null):wp.element.createElement(ee,null,wp.element.createElement(o.a,{label:$("Block Styles"),value:t.style,options:[{label:$("Grid"),value:"grid",image:themeisleGutenberg.assetsPath+"/icons/posts-grid.jpg"},{label:$("List"),value:"list",image:themeisleGutenberg.assetsPath+"/icons/posts-list.jpg"}],onChange:c}),wp.element.createElement(F,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}),wp.element.createElement(K,null,wp.element.createElement(W.default,{className:a,attributes:t,posts:l,categoriesList:r,authors:i}))):wp.element.createElement(ee,null,wp.element.createElement(J,{className:"wp-themeisle-block-spinner"},wp.element.createElement(Y,null),$("Loading Posts")),r&&t.offset?wp.element.createElement(F,{attributes:t,setAttributes:n,changeStyle:c,categoriesList:r}):null)})),ne=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/posts-grid",{title:ne("Posts"),description:ne("Display a list of your most recent posts in a beautiful layout."),icon:a.o,category:"themeisle-blocks",keywords:["posts","grid","news"],attributes:l,supports:{align:["wide","full"],html:!1},edit:te,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(85),n(86),n(87);var a=n(2),l={facebook:{type:"boolean",default:!0},twitter:{type:"boolean",default:!0},linkedin:{type:"boolean",default:!0},pinterest:{type:"boolean",default:!1},tumblr:{type:"boolean",default:!1},reddit:{type:"boolean",default:!1}},o=n(0),r=n.n(o),i=wp.i18n.__,c={facebook:{label:i("Facebook"),icon:"facebook-f"},twitter:{label:i("Twitter"),icon:"twitter"},linkedin:{label:i("Linkedin"),icon:"linkedin-in"},pinterest:{label:i("Pinterest"),icon:"pinterest-p"},tumblr:{label:i("Tumblr"),icon:"tumblr"},reddit:{label:i("Reddit"),icon:"reddit-alien"}},d=wp.components,p=d.Path,m=d.SVG,u=function(e){var t=e.icon;return"facebook"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 264 512"},wp.element.createElement(p,{fill:"currentColor",d:"M76.7 512V283H0v-91h76.7v-71.7C76.7 42.4 124.3 0 193.8 0c33.3 0 61.9 2.5 70.2 3.6V85h-48.2c-37.8 0-45.1 18-45.1 44.3V192H256l-11.7 91h-73.6v229"})):"twitter"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",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"})):"linkedin"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 448 512"},wp.element.createElement(p,{fill:"currentColor",d:"M100.3 480H7.4V180.9h92.9V480zM53.8 140.1C24.1 140.1 0 115.5 0 85.8 0 56.1 24.1 32 53.8 32c29.7 0 53.8 24.1 53.8 53.8 0 29.7-24.1 54.3-53.8 54.3zM448 480h-92.7V334.4c0-34.7-.7-79.2-48.3-79.2-48.3 0-55.7 37.7-55.7 76.7V480h-92.8V180.9h89.1v40.8h1.3c12.4-23.5 42.7-48.3 87.9-48.3 94 0 111.3 61.9 111.3 142.3V480z"})):"pinterest"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 384 512"},wp.element.createElement(p,{fill:"currentColor",d:"M204 6.5C101.4 6.5 0 74.9 0 185.6 0 256 39.6 296 63.6 296c9.9 0 15.6-27.6 15.6-35.4 0-9.3-23.7-29.1-23.7-67.8 0-80.4 61.2-137.4 140.4-137.4 68.1 0 118.5 38.7 118.5 109.8 0 53.1-21.3 152.7-90.3 152.7-24.9 0-46.2-18-46.2-43.8 0-37.8 26.4-74.4 26.4-113.4 0-66.2-93.9-54.2-93.9 25.8 0 16.8 2.1 35.4 9.6 50.7-13.8 59.4-42 147.9-42 209.1 0 18.9 2.7 37.5 4.5 56.4 3.4 3.8 1.7 3.4 6.9 1.5 50.4-69 48.6-82.5 71.4-172.8 12.3 23.4 44.1 36 69.3 36 106.2 0 153.9-103.5 153.9-196.8C384 71.3 298.2 6.5 204 6.5z"})):"tumblr"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 320 512"},wp.element.createElement(p,{fill:"currentColor",d:"M309.8 480.3c-13.6 14.5-50 31.7-97.4 31.7-120.8 0-147-88.8-147-140.6v-144H17.9c-5.5 0-10-4.5-10-10v-68c0-7.2 4.5-13.6 11.3-16 62-21.8 81.5-76 84.3-117.1.8-11 6.5-16.3 16.1-16.3h70.9c5.5 0 10 4.5 10 10v115.2h83c5.5 0 10 4.4 10 9.9v81.7c0 5.5-4.5 10-10 10h-83.4V360c0 34.2 23.7 53.6 68 35.8 4.8-1.9 9-3.2 12.7-2.2 3.5.9 5.8 3.4 7.4 7.9l22 64.3c1.8 5 3.3 10.6-.4 14.5z"})):"reddit"===t?wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M440.3 203.5c-15 0-28.2 6.2-37.9 15.9-35.7-24.7-83.8-40.6-137.1-42.3L293 52.3l88.2 19.8c0 21.6 17.6 39.2 39.2 39.2 22 0 39.7-18.1 39.7-39.7s-17.6-39.7-39.7-39.7c-15.4 0-28.7 9.3-35.3 22l-97.4-21.6c-4.9-1.3-9.7 2.2-11 7.1L246.3 177c-52.9 2.2-100.5 18.1-136.3 42.8-9.7-10.1-23.4-16.3-38.4-16.3-55.6 0-73.8 74.6-22.9 100.1-1.8 7.9-2.6 16.3-2.6 24.7 0 83.8 94.4 151.7 210.3 151.7 116.4 0 210.8-67.9 210.8-151.7 0-8.4-.9-17.2-3.1-25.1 49.9-25.6 31.5-99.7-23.8-99.7zM129.4 308.9c0-22 17.6-39.7 39.7-39.7 21.6 0 39.2 17.6 39.2 39.7 0 21.6-17.6 39.2-39.2 39.2-22 .1-39.7-17.6-39.7-39.2zm214.3 93.5c-36.4 36.4-139.1 36.4-175.5 0-4-3.5-4-9.7 0-13.7 3.5-3.5 9.7-3.5 13.2 0 27.8 28.5 120 29 149 0 3.5-3.5 9.7-3.5 13.2 0 4.1 4 4.1 10.2.1 13.7zm-.8-54.2c-21.6 0-39.2-17.6-39.2-39.2 0-22 17.6-39.7 39.2-39.7 22 0 39.7 17.6 39.7 39.7-.1 21.5-17.7 39.2-39.7 39.2z"})):wp.element.createElement(m,{className:"wp-block-themeisle-toolbar-icon",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"},wp.element.createElement(p,{fill:"currentColor",d:"M208 88.286c0-10 6.286-21.714 17.715-21.714 11.142 0 17.714 11.714 17.714 21.714 0 10.285-6.572 21.714-17.714 21.714C214.286 110 208 98.571 208 88.286zm304 160c0 36.001-11.429 102.286-36.286 129.714-22.858 24.858-87.428 61.143-120.857 70.572l-1.143.286v32.571c0 16.286-12.572 30.571-29.143 30.571-10 0-19.429-5.714-24.572-14.286-5.427 8.572-14.856 14.286-24.856 14.286-10 0-19.429-5.714-24.858-14.286-5.142 8.572-14.571 14.286-24.57 14.286-10.286 0-19.429-5.714-24.858-14.286-5.143 8.572-14.571 14.286-24.571 14.286-18.857 0-29.429-15.714-29.429-32.857-16.286 12.285-35.715 19.428-56.571 19.428-22 0-43.429-8.285-60.286-22.857 10.285-.286 20.571-2.286 30.285-5.714-20.857-5.714-39.428-18.857-52-36.286 21.37 4.645 46.209 1.673 67.143-11.143-22-22-56.571-58.857-68.572-87.428C1.143 321.714 0 303.714 0 289.429c0-49.714 20.286-160 86.286-160 10.571 0 18.857 4.858 23.143 14.857a158.792 158.792 0 0 1 12-15.428c2-2.572 5.714-5.429 7.143-8.286 7.999-12.571 11.714-21.142 21.714-34C182.571 45.428 232 17.143 285.143 17.143c6 0 12 .285 17.714 1.143C313.714 6.571 328.857 0 344.572 0c14.571 0 29.714 6 40 16.286.857.858 1.428 2.286 1.428 3.428 0 3.714-10.285 13.429-12.857 16.286 4.286 1.429 15.714 6.858 15.714 12 0 2.857-2.857 5.143-4.571 7.143 31.429 27.714 49.429 67.143 56.286 108 4.286-5.143 10.285-8.572 17.143-8.572 10.571 0 20.857 7.144 28.571 14.001C507.143 187.143 512 221.714 512 248.286zM188 89.428c0 18.286 12.571 37.143 32.286 37.143 19.714 0 32.285-18.857 32.285-37.143 0-18-12.571-36.857-32.285-36.857-19.715 0-32.286 18.858-32.286 36.857zM237.714 194c0-19.714 3.714-39.143 8.571-58.286-52.039 79.534-13.531 184.571 68.858 184.571 21.428 0 42.571-7.714 60-20 2-7.429 3.714-14.857 3.714-22.572 0-14.286-6.286-21.428-20.572-21.428-4.571 0-9.143.857-13.429 1.714-63.343 12.668-107.142 3.669-107.142-63.999zm-41.142 254.858c0-11.143-8.858-20.857-20.286-20.857-11.429 0-20 9.715-20 20.857v32.571c0 11.143 8.571 21.142 20 21.142 11.428 0 20.286-9.715 20.286-21.142v-32.571zm49.143 0c0-11.143-8.572-20.857-20-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20-10 20-21.142v-32.571zm49.713 0c0-11.143-8.857-20.857-20.285-20.857-11.429 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.857 21.142 20.286 21.142 11.428 0 20.285-9.715 20.285-21.142v-32.571zm49.715 0c0-11.143-8.857-20.857-20.286-20.857-11.428 0-20.286 9.715-20.286 20.857v32.571c0 11.143 8.858 21.142 20.286 21.142 11.429 0 20.286-10 20.286-21.142v-32.571zM421.714 286c-30.857 59.142-90.285 102.572-158.571 102.572-96.571 0-160.571-84.572-160.571-176.572 0-16.857 2-33.429 6-49.714-20 33.715-29.714 72.572-29.714 111.429 0 60.286 24.857 121.715 71.429 160.857 5.143-9.714 14.857-16.286 26-16.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.571-14.286 24.858-14.286 10 0 19.428 5.714 24.571 14.286 5.429-8.571 14.857-14.286 24.858-14.286 10 0 19.428 5.714 24.857 14.286 5.143-8.571 14.571-14.286 24.572-14.286 10.857 0 20.857 6.572 25.714 16 43.427-36.286 68.569-92 71.426-148.286zm10.572-99.714c0-53.714-34.571-105.714-92.572-105.714-30.285 0-58.571 15.143-78.857 36.857C240.862 183.812 233.41 254 302.286 254c28.805 0 97.357-28.538 84.286 36.857 28.857-26 45.714-65.714 45.714-104.571z"}))};var s=wp.i18n.__,b=wp.blockEditor.BlockControls,g=wp.components,f=g.Toolbar,y=g.Button,h=g.Tooltip,w=function(e){var t=e.attributes,n=e.setAttributes,a=function(e){var a,l,o;n((a={},l=e,o=!t[e],l in a?Object.defineProperty(a,l,{value:o,enumerable:!0,configurable:!0,writable:!0}):a[l]=o,a))};return wp.element.createElement(b,null,wp.element.createElement(f,null,Object.keys(c).map((function(e){var n=t[e];return wp.element.createElement(h,{text:s("Display ".concat(c[e].label))},wp.element.createElement(y,{className:r()("components-button","wp-block-themeisle-toolbar",{"is-active":n}),onClick:function(){return a(e)}},wp.element.createElement(u,{icon:e})))}))))};function v(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function k(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?v(Object(n),!0).forEach((function(t){T(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):v(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function T(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var E=wp.components.Disabled,x=wp.element.Fragment,C=wp.serverSideRender,S=function(e){var t=e.attributes,n=e.setAttributes;return wp.element.createElement(x,null,wp.element.createElement(w,{attributes:t,setAttributes:n}),wp.element.createElement(E,null,wp.element.createElement(C,{block:"themeisle-blocks/sharing-icons",attributes:k({},t)})))},M=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/sharing-icons",{title:M("Sharing Icons"),description:M("Share buttons for your website visitors to share content on any social sharing service."),icon:a.r,category:"themeisle-blocks",keywords:["social media","sharing","icons"],attributes:l,supports:{html:!0,align:["left","center","right"]},styles:[{name:"default",label:M("Regular"),isDefault:!0},{name:"icons",label:M("Icons Only")}],edit:S,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(65),n(66);var a=n(2),l={slug:{type:"string"}},o=n(22);function r(e,t,n,a,l,o,r){try{var i=e[o](r),c=i.value}catch(e){return void n(e)}i.done?t(c):Promise.resolve(c).then(a,l)}function i(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return c(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var d=wp.i18n.__,p=wp.apiFetch,m=wp.components,u=m.Placeholder,s=m.Dashicon,b=m.TextControl,g=m.Spinner,f=wp.element,y=f.useEffect,h=f.useRef,w=f.useState,v=wp.keycodes,k=v.DOWN,T=v.ENTER,E=v.TAB,x=v.UP,C=function(e){var t=e.setAttributes,n=e.hasError,a=e.setError,l=e.className,c=h(null),m=!1,f=[],v=i(w(!1),2),C=v[0],S=v[1],M=i(w(""),2),B=M[0],O=M[1],R=i(w({}),2),L=R[0],N=R[1],A=i(w(null),2),P=A[0],z=A[1];y((function(){null===P||m||(m=!0,Object(o.a)(f[P],c.current,{onlyScrollIfNeeded:!0}),f[P].focus(),setTimeout((function(){m=!1}),100))}),[P]);var I=function(){var e,n=(e=regeneratorRuntime.mark((function e(n){var l;return regeneratorRuntime.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return t({slug:""}),S(!0),a(!1),e.next=5,p({path:"themeisle-gutenberg-blocks/v1/get_plugins?search=".concat(encodeURIComponent(n))});case 5:if(!(l=e.sent).data.errors){e.next=12;break}return a(!0),S(!1),z(null),N({}),e.abrupt("return");case 12:S(!1),z(null),N(l.data.plugins);case 15:case"end":return e.stop()}}),e)})),function(){var t=this,n=arguments;return new Promise((function(a,l){var o=e.apply(t,n);function i(e){r(o,a,l,i,c,"next",e)}function c(e){r(o,a,l,i,c,"throw",e)}i(void 0)}))});return function(e){return n.apply(this,arguments)}}(),H=function(e){if(Object.keys(L).length){e.stopPropagation(),e.preventDefault();var t=P?P-1:Object.keys(L).length-1;z(t)}},j=function(e){if(Object.keys(L).length){e.stopPropagation(),e.preventDefault();var t=null===P||P===Object.keys(L).length-1?0:P+1;z(t)}},D=function(e){t({slug:e.slug}),N({})};return wp.element.createElement(u,{icon:"admin-plugins",label:d("Plugin Card"),instructions:d("Search for the plugin you want to display."),className:l},wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-search-field"},wp.element.createElement(s,{icon:"search"}),C&&wp.element.createElement(g,null),wp.element.createElement(b,{type:"text",placeholder:d("Search for plugin…"),value:B,onChange:O,onKeyDown:function(e){switch(e.keyCode){case x:H(e);break;case k:j(e);break;case E:Object.keys(L).length&&!e.shiftKey&&z(0);break;case T:I(e.target.value)}},onFocus:function(){return z(null)}}),L&&wp.element.createElement("div",{tabIndex:"-1",className:"wp-block-themeisle-blocks-plugin-cards-search-results",ref:c},Object.keys(L).map((function(e){var t,n,a=L[e];return a.icons.svg&&(t=a.icons.svg),a.icons["2x"]&&(t=a.icons["2x"]),a.icons["1x"]&&(t=a.icons["1x"]),a.icons.default&&(t=a.icons.default),wp.element.createElement("button",{className:"wp-block-themeisle-blocks-plugin-cards-list-item",key:e,ref:(n=e,function(e){f[n]=e}),onClick:function(e){e.preventDefault(),D(a)},onKeyDown:function(e){return function(e,t){switch(e.keyCode){case x:H(e);break;case k:j(e);break;case E:if(e.shiftKey){0!==P&&H(e);break}if(P===Object.keys(L).length-1)break;j(e);break;case T:D(t)}}(e,a)}},wp.element.createElement("img",{src:t}),wp.element.createElement("span",{dangerouslySetInnerHTML:{__html:_.unescape(a.name)}}))})))),n&&wp.element.createElement("div",{className:"wp-block-themeisle-blocks-plugin-cards-error"},wp.element.createElement("span",null,d("There seems to be an error. Make sure your internet is working properly."))))},S=wp.i18n.__,M=wp.components,B=M.Dashicon,O=M.Button,R=M.Toolbar,L=M.Tooltip,N=wp.blockEditor.BlockControls,A=function(e){var t=e.setLoaded;return wp.element.createElement(N,null,wp.element.createElement(R,null,wp.element.createElement(L,{text:S("Edit")},wp.element.createElement(O,{className:"components-icon-button components-toolbar__control wp-block-themeisle-blocks-plugin-cards-edit-plugin-card",onClick:function(){return t(!1)}},wp.element.createElement(B,{icon:"edit"})))))};function P(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function z(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?P(Object(n),!0).forEach((function(t){I(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):P(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function I(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function H(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var n=[],a=!0,l=!1,o=void 0;try{for(var r,i=e[Symbol.iterator]();!(a=(r=i.next()).done)&&(n.push(r.value),!t||n.length!==t);a=!0);}catch(e){l=!0,o=e}finally{try{a||null==i.return||i.return()}finally{if(l)throw o}}return n}(e,t)||function(e,t){if(!e)return;if("string"==typeof e)return j(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return j(e,t)}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function j(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var D=wp.components.Disabled,G=wp.serverSideRender,V=wp.element,F=V.Fragment,W=V.useState,q=function(e){var t=e.attributes,n=e.setAttributes,a=e.className,l=H(W(!1),2),o=l[0],r=l[1];return t.slug?wp.element.createElement(F,null,wp.element.createElement(A,null),wp.element.createElement(D,null,wp.element.createElement(G,{block:"themeisle-blocks/plugin-cards",attributes:z({},t)}))):wp.element.createElement(C,{attributes:t,setAttributes:n,hasError:o,setError:r,className:a})},U=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/plugin-cards",{title:U("Plugin Card"),description:U("Plugin Card block lets you display plugins data in your blog posts."),icon:a.n,category:"themeisle-blocks",keywords:["plugin","card","orbitfox"],attributes:l,supports:{html:!1},edit:q,save:function(){return null}})},function(e,t,n){"use strict";n.r(t);n(48),n(49);var a=n(2),l=wp.components.Disabled,o=wp.serverSideRender,r=function(){return wp.element.createElement(l,null,wp.element.createElement(o,{block:"themeisle-blocks/about-author"}))},i=wp.i18n.__;(0,wp.blocks.registerBlockType)("themeisle-blocks/about-author",{title:i("About Author"),description:i("About Author block is the easiest way to add a author bio below your posts."),icon:a.a,category:"themeisle-blocks",keywords:["about","author","profile"],supports:{html:!1},edit:r,save:function(){return null}})}]);
vendor/codeinwp/gutenberg-blocks/build/chunk-1.js CHANGED
@@ -1 +1 @@
1
- (window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[]).push([[1],{107:function(e){e.exports=JSON.parse('{"500px":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26e","label":"500px"},"accessible-icon":{"search":{"terms":["accessibility","handicap","person","wheelchair","wheelchair-alt"]},"styles":["brands"],"unicode":"f368","label":"Accessible Icon"},"accusoft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f369","label":"Accusoft"},"acquisitions-incorporated":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated"},"ad":{"search":{"terms":["advertisement","media","newspaper","promotion","publicity"]},"styles":["solid"],"unicode":"f641","label":"Ad"},"address-book":{"search":{"terms":["contact","directory","index","little black book","rolodex"]},"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book"},"address-card":{"search":{"terms":["about","contact","id","identification","postcard","profile"]},"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card"},"adjust":{"search":{"terms":["contrast","dark","light","saturation"]},"styles":["solid"],"unicode":"f042","label":"adjust"},"adn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f170","label":"App.net"},"adobe":{"search":{"terms":["acrobat","app","design","illustrator","indesign","photoshop"]},"styles":["brands"],"unicode":"f778","label":"Adobe"},"adversal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36a","label":"Adversal"},"affiliatetheme":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36b","label":"affiliatetheme"},"air-freshener":{"search":{"terms":["car","deodorize","fresh","pine","scent"]},"styles":["solid"],"unicode":"f5d0","label":"Air Freshener"},"airbnb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f834","label":"Airbnb"},"algolia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36c","label":"Algolia"},"align-center":{"search":{"terms":["format","middle","paragraph","text"]},"styles":["solid"],"unicode":"f037","label":"align-center"},"align-justify":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f039","label":"align-justify"},"align-left":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f036","label":"align-left"},"align-right":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f038","label":"align-right"},"alipay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f642","label":"Alipay"},"allergies":{"search":{"terms":["allergy","freckles","hand","hives","pox","skin","spots"]},"styles":["solid"],"unicode":"f461","label":"Allergies"},"amazon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f270","label":"Amazon"},"amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42c","label":"Amazon Pay"},"ambulance":{"search":{"terms":["covid-19","emergency","emt","er","help","hospital","support","vehicle"]},"styles":["solid"],"unicode":"f0f9","label":"ambulance"},"american-sign-language-interpreting":{"search":{"terms":["asl","deaf","finger","hand","interpret","speak"]},"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting"},"amilia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36d","label":"Amilia"},"anchor":{"search":{"terms":["berth","boat","dock","embed","link","maritime","moor","secure"]},"styles":["solid"],"unicode":"f13d","label":"Anchor"},"android":{"search":{"terms":["robot"]},"styles":["brands"],"unicode":"f17b","label":"Android"},"angellist":{"search":{"terms":[]},"styles":["brands"],"unicode":"f209","label":"AngelList"},"angle-double-down":{"search":{"terms":["arrows","caret","download","expand"]},"styles":["solid"],"unicode":"f103","label":"Angle Double Down"},"angle-double-left":{"search":{"terms":["arrows","back","caret","laquo","previous","quote"]},"styles":["solid"],"unicode":"f100","label":"Angle Double Left"},"angle-double-right":{"search":{"terms":["arrows","caret","forward","more","next","quote","raquo"]},"styles":["solid"],"unicode":"f101","label":"Angle Double Right"},"angle-double-up":{"search":{"terms":["arrows","caret","collapse","upload"]},"styles":["solid"],"unicode":"f102","label":"Angle Double Up"},"angle-down":{"search":{"terms":["arrow","caret","download","expand"]},"styles":["solid"],"unicode":"f107","label":"angle-down"},"angle-left":{"search":{"terms":["arrow","back","caret","less","previous"]},"styles":["solid"],"unicode":"f104","label":"angle-left"},"angle-right":{"search":{"terms":["arrow","care","forward","more","next"]},"styles":["solid"],"unicode":"f105","label":"angle-right"},"angle-up":{"search":{"terms":["arrow","caret","collapse","upload"]},"styles":["solid"],"unicode":"f106","label":"angle-up"},"angry":{"search":{"terms":["disapprove","emoticon","face","mad","upset"]},"styles":["solid","regular"],"unicode":"f556","label":"Angry Face"},"angrycreative":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36e","label":"Angry Creative"},"angular":{"search":{"terms":[]},"styles":["brands"],"unicode":"f420","label":"Angular"},"ankh":{"search":{"terms":["amulet","copper","coptic christianity","copts","crux ansata","egypt","venus"]},"styles":["solid"],"unicode":"f644","label":"Ankh"},"app-store":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36f","label":"App Store"},"app-store-ios":{"search":{"terms":[]},"styles":["brands"],"unicode":"f370","label":"iOS App Store"},"apper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f371","label":"Apper Systems AB"},"apple":{"search":{"terms":["fruit","ios","mac","operating system","os","osx"]},"styles":["brands"],"unicode":"f179","label":"Apple"},"apple-alt":{"search":{"terms":["fall","fruit","fuji","macintosh","orchard","seasonal","vegan"]},"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple"},"apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f415","label":"Apple Pay"},"archive":{"search":{"terms":["box","package","save","storage"]},"styles":["solid"],"unicode":"f187","label":"Archive"},"archway":{"search":{"terms":["arc","monument","road","street","tunnel"]},"styles":["solid"],"unicode":"f557","label":"Archway"},"arrow-alt-circle-down":{"search":{"terms":["arrow-circle-o-down","download"]},"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down"},"arrow-alt-circle-left":{"search":{"terms":["arrow-circle-o-left","back","previous"]},"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left"},"arrow-alt-circle-right":{"search":{"terms":["arrow-circle-o-right","forward","next"]},"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right"},"arrow-alt-circle-up":{"search":{"terms":["arrow-circle-o-up"]},"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up"},"arrow-circle-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down"},"arrow-circle-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left"},"arrow-circle-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right"},"arrow-circle-up":{"search":{"terms":["upload"]},"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up"},"arrow-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f063","label":"arrow-down"},"arrow-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f060","label":"arrow-left"},"arrow-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f061","label":"arrow-right"},"arrow-up":{"search":{"terms":["forward","upload"]},"styles":["solid"],"unicode":"f062","label":"arrow-up"},"arrows-alt":{"search":{"terms":["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows"},"arrows-alt-h":{"search":{"terms":["arrows-h","expand","horizontal","landscape","resize","wide"]},"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal"},"arrows-alt-v":{"search":{"terms":["arrows-v","expand","portrait","resize","tall","vertical"]},"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical"},"artstation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77a","label":"Artstation"},"assistive-listening-systems":{"search":{"terms":["amplify","audio","deaf","ear","headset","hearing","sound"]},"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems"},"asterisk":{"search":{"terms":["annotation","details","reference","star"]},"styles":["solid"],"unicode":"f069","label":"asterisk"},"asymmetrik":{"search":{"terms":[]},"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd."},"at":{"search":{"terms":["address","author","e-mail","email","handle"]},"styles":["solid"],"unicode":"f1fa","label":"At"},"atlas":{"search":{"terms":["book","directions","geography","globe","map","travel","wayfinding"]},"styles":["solid"],"unicode":"f558","label":"Atlas"},"atlassian":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77b","label":"Atlassian"},"atom":{"search":{"terms":["atheism","chemistry","electron","ion","isotope","neutron","nuclear","proton","science"]},"styles":["solid"],"unicode":"f5d2","label":"Atom"},"audible":{"search":{"terms":[]},"styles":["brands"],"unicode":"f373","label":"Audible"},"audio-description":{"search":{"terms":["blind","narration","video","visual"]},"styles":["solid"],"unicode":"f29e","label":"Audio Description"},"autoprefixer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41c","label":"Autoprefixer"},"avianex":{"search":{"terms":[]},"styles":["brands"],"unicode":"f374","label":"avianex"},"aviato":{"search":{"terms":[]},"styles":["brands"],"unicode":"f421","label":"Aviato"},"award":{"search":{"terms":["honor","praise","prize","recognition","ribbon","trophy"]},"styles":["solid"],"unicode":"f559","label":"Award"},"aws":{"search":{"terms":[]},"styles":["brands"],"unicode":"f375","label":"Amazon Web Services (AWS)"},"baby":{"search":{"terms":["child","diaper","doll","human","infant","kid","offspring","person","sprout"]},"styles":["solid"],"unicode":"f77c","label":"Baby"},"baby-carriage":{"search":{"terms":["buggy","carrier","infant","push","stroller","transportation","walk","wheels"]},"styles":["solid"],"unicode":"f77d","label":"Baby Carriage"},"backspace":{"search":{"terms":["command","delete","erase","keyboard","undo"]},"styles":["solid"],"unicode":"f55a","label":"Backspace"},"backward":{"search":{"terms":["previous","rewind"]},"styles":["solid"],"unicode":"f04a","label":"backward"},"bacon":{"search":{"terms":["blt","breakfast","ham","lard","meat","pancetta","pork","rasher"]},"styles":["solid"],"unicode":"f7e5","label":"Bacon"},"bahai":{"search":{"terms":["bahai","bahá\'í","star"]},"styles":["solid"],"unicode":"f666","label":"Bahá\'í"},"balance-scale":{"search":{"terms":["balanced","justice","legal","measure","weight"]},"styles":["solid"],"unicode":"f24e","label":"Balance Scale"},"balance-scale-left":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f515","label":"Balance Scale (Left-Weighted)"},"balance-scale-right":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f516","label":"Balance Scale (Right-Weighted)"},"ban":{"search":{"terms":["abort","ban","block","cancel","delete","hide","prohibit","remove","stop","trash"]},"styles":["solid"],"unicode":"f05e","label":"ban"},"band-aid":{"search":{"terms":["bandage","boo boo","first aid","ouch"]},"styles":["solid"],"unicode":"f462","label":"Band-Aid"},"bandcamp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d5","label":"Bandcamp"},"barcode":{"search":{"terms":["info","laser","price","scan","upc"]},"styles":["solid"],"unicode":"f02a","label":"barcode"},"bars":{"search":{"terms":["checklist","drag","hamburger","list","menu","nav","navigation","ol","reorder","settings","todo","ul"]},"styles":["solid"],"unicode":"f0c9","label":"Bars"},"baseball-ball":{"search":{"terms":["foul","hardball","league","leather","mlb","softball","sport"]},"styles":["solid"],"unicode":"f433","label":"Baseball Ball"},"basketball-ball":{"search":{"terms":["dribble","dunk","hoop","nba"]},"styles":["solid"],"unicode":"f434","label":"Basketball Ball"},"bath":{"search":{"terms":["clean","shower","tub","wash"]},"styles":["solid"],"unicode":"f2cd","label":"Bath"},"battery-empty":{"search":{"terms":["charge","dead","power","status"]},"styles":["solid"],"unicode":"f244","label":"Battery Empty"},"battery-full":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f240","label":"Battery Full"},"battery-half":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f242","label":"Battery 1/2 Full"},"battery-quarter":{"search":{"terms":["charge","low","power","status"]},"styles":["solid"],"unicode":"f243","label":"Battery 1/4 Full"},"battery-three-quarters":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f241","label":"Battery 3/4 Full"},"battle-net":{"search":{"terms":[]},"styles":["brands"],"unicode":"f835","label":"Battle.net"},"bed":{"search":{"terms":["lodging","mattress","rest","sleep","travel"]},"styles":["solid"],"unicode":"f236","label":"Bed"},"beer":{"search":{"terms":["alcohol","ale","bar","beverage","brewery","drink","lager","liquor","mug","stein"]},"styles":["solid"],"unicode":"f0fc","label":"beer"},"behance":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b4","label":"Behance"},"behance-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b5","label":"Behance Square"},"bell":{"search":{"terms":["alarm","alert","chime","notification","reminder"]},"styles":["solid","regular"],"unicode":"f0f3","label":"bell"},"bell-slash":{"search":{"terms":["alert","cancel","disabled","notification","off","reminder"]},"styles":["solid","regular"],"unicode":"f1f6","label":"Bell Slash"},"bezier-curve":{"search":{"terms":["curves","illustrator","lines","path","vector"]},"styles":["solid"],"unicode":"f55b","label":"Bezier Curve"},"bible":{"search":{"terms":["book","catholicism","christianity","god","holy"]},"styles":["solid"],"unicode":"f647","label":"Bible"},"bicycle":{"search":{"terms":["bike","gears","pedal","transportation","vehicle"]},"styles":["solid"],"unicode":"f206","label":"Bicycle"},"biking":{"search":{"terms":["bicycle","bike","cycle","cycling","ride","wheel"]},"styles":["solid"],"unicode":"f84a","label":"Biking"},"bimobject":{"search":{"terms":[]},"styles":["brands"],"unicode":"f378","label":"BIMobject"},"binoculars":{"search":{"terms":["glasses","magnify","scenic","spyglass","view"]},"styles":["solid"],"unicode":"f1e5","label":"Binoculars"},"biohazard":{"search":{"terms":["covid-19","danger","dangerous","hazmat","medical","radioactive","toxic","waste","zombie"]},"styles":["solid"],"unicode":"f780","label":"Biohazard"},"birthday-cake":{"search":{"terms":["anniversary","bakery","candles","celebration","dessert","frosting","holiday","party","pastry"]},"styles":["solid"],"unicode":"f1fd","label":"Birthday Cake"},"bitbucket":{"search":{"terms":["atlassian","bitbucket-square","git"]},"styles":["brands"],"unicode":"f171","label":"Bitbucket"},"bitcoin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f379","label":"Bitcoin"},"bity":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37a","label":"Bity"},"black-tie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f27e","label":"Font Awesome Black Tie"},"blackberry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37b","label":"BlackBerry"},"blender":{"search":{"terms":["cocktail","milkshake","mixer","puree","smoothie"]},"styles":["solid"],"unicode":"f517","label":"Blender"},"blender-phone":{"search":{"terms":["appliance","cocktail","communication","fantasy","milkshake","mixer","puree","silly","smoothie"]},"styles":["solid"],"unicode":"f6b6","label":"Blender Phone"},"blind":{"search":{"terms":["cane","disability","person","sight"]},"styles":["solid"],"unicode":"f29d","label":"Blind"},"blog":{"search":{"terms":["journal","log","online","personal","post","web 2.0","wordpress","writing"]},"styles":["solid"],"unicode":"f781","label":"Blog"},"blogger":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37c","label":"Blogger"},"blogger-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37d","label":"Blogger B"},"bluetooth":{"search":{"terms":[]},"styles":["brands"],"unicode":"f293","label":"Bluetooth"},"bluetooth-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f294","label":"Bluetooth"},"bold":{"search":{"terms":["emphasis","format","text"]},"styles":["solid"],"unicode":"f032","label":"bold"},"bolt":{"search":{"terms":["electricity","lightning","weather","zap"]},"styles":["solid"],"unicode":"f0e7","label":"Lightning Bolt"},"bomb":{"search":{"terms":["error","explode","fuse","grenade","warning"]},"styles":["solid"],"unicode":"f1e2","label":"Bomb"},"bone":{"search":{"terms":["calcium","dog","skeletal","skeleton","tibia"]},"styles":["solid"],"unicode":"f5d7","label":"Bone"},"bong":{"search":{"terms":["aparatus","cannabis","marijuana","pipe","smoke","smoking"]},"styles":["solid"],"unicode":"f55c","label":"Bong"},"book":{"search":{"terms":["diary","documentation","journal","library","read"]},"styles":["solid"],"unicode":"f02d","label":"book"},"book-dead":{"search":{"terms":["Dungeons & Dragons","crossbones","d&d","dark arts","death","dnd","documentation","evil","fantasy","halloween","holiday","necronomicon","read","skull","spell"]},"styles":["solid"],"unicode":"f6b7","label":"Book of the Dead"},"book-medical":{"search":{"terms":["diary","documentation","health","history","journal","library","read","record"]},"styles":["solid"],"unicode":"f7e6","label":"Medical Book"},"book-open":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f518","label":"Book Open"},"book-reader":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f5da","label":"Book Reader"},"bookmark":{"search":{"terms":["favorite","marker","read","remember","save"]},"styles":["solid","regular"],"unicode":"f02e","label":"bookmark"},"bootstrap":{"search":{"terms":[]},"styles":["brands"],"unicode":"f836","label":"Bootstrap"},"border-all":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f84c","label":"Border All"},"border-none":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f850","label":"Border None"},"border-style":{"search":{"terms":[]},"styles":["solid"],"unicode":"f853","label":"Border Style"},"bowling-ball":{"search":{"terms":["alley","candlepin","gutter","lane","strike","tenpin"]},"styles":["solid"],"unicode":"f436","label":"Bowling Ball"},"box":{"search":{"terms":["archive","container","package","storage"]},"styles":["solid"],"unicode":"f466","label":"Box"},"box-open":{"search":{"terms":["archive","container","package","storage","unpack"]},"styles":["solid"],"unicode":"f49e","label":"Box Open"},"box-tissue":{"search":{"terms":["cough","covid-19","kleenex","mucus","nose","sneeze","snot"]},"styles":["solid"],"unicode":"f95b","label":"Tissue Box"},"boxes":{"search":{"terms":["archives","inventory","storage","warehouse"]},"styles":["solid"],"unicode":"f468","label":"Boxes"},"braille":{"search":{"terms":["alphabet","blind","dots","raised","vision"]},"styles":["solid"],"unicode":"f2a1","label":"Braille"},"brain":{"search":{"terms":["cerebellum","gray matter","intellect","medulla oblongata","mind","noodle","wit"]},"styles":["solid"],"unicode":"f5dc","label":"Brain"},"bread-slice":{"search":{"terms":["bake","bakery","baking","dough","flour","gluten","grain","sandwich","sourdough","toast","wheat","yeast"]},"styles":["solid"],"unicode":"f7ec","label":"Bread Slice"},"briefcase":{"search":{"terms":["bag","business","luggage","office","work"]},"styles":["solid"],"unicode":"f0b1","label":"Briefcase"},"briefcase-medical":{"search":{"terms":["doctor","emt","first aid","health"]},"styles":["solid"],"unicode":"f469","label":"Medical Briefcase"},"broadcast-tower":{"search":{"terms":["airwaves","antenna","radio","reception","waves"]},"styles":["solid"],"unicode":"f519","label":"Broadcast Tower"},"broom":{"search":{"terms":["clean","firebolt","fly","halloween","nimbus 2000","quidditch","sweep","witch"]},"styles":["solid"],"unicode":"f51a","label":"Broom"},"brush":{"search":{"terms":["art","bristles","color","handle","paint"]},"styles":["solid"],"unicode":"f55d","label":"Brush"},"btc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f15a","label":"BTC"},"buffer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f837","label":"Buffer"},"bug":{"search":{"terms":["beetle","error","insect","report"]},"styles":["solid"],"unicode":"f188","label":"Bug"},"building":{"search":{"terms":["apartment","business","city","company","office","work"]},"styles":["solid","regular"],"unicode":"f1ad","label":"Building"},"bullhorn":{"search":{"terms":["announcement","broadcast","louder","megaphone","share"]},"styles":["solid"],"unicode":"f0a1","label":"bullhorn"},"bullseye":{"search":{"terms":["archery","goal","objective","target"]},"styles":["solid"],"unicode":"f140","label":"Bullseye"},"burn":{"search":{"terms":["caliente","energy","fire","flame","gas","heat","hot"]},"styles":["solid"],"unicode":"f46a","label":"Burn"},"buromobelexperte":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37f","label":"Büromöbel-Experte GmbH & Co. KG."},"bus":{"search":{"terms":["public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f207","label":"Bus"},"bus-alt":{"search":{"terms":["mta","public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f55e","label":"Bus Alt"},"business-time":{"search":{"terms":["alarm","briefcase","business socks","clock","flight of the conchords","reminder","wednesday"]},"styles":["solid"],"unicode":"f64a","label":"Business Time"},"buy-n-large":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8a6","label":"Buy n Large"},"buysellads":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20d","label":"BuySellAds"},"calculator":{"search":{"terms":["abacus","addition","arithmetic","counting","math","multiplication","subtraction"]},"styles":["solid"],"unicode":"f1ec","label":"Calculator"},"calendar":{"search":{"terms":["calendar-o","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f133","label":"Calendar"},"calendar-alt":{"search":{"terms":["calendar","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f073","label":"Alternate Calendar"},"calendar-check":{"search":{"terms":["accept","agree","appointment","confirm","correct","date","done","event","ok","schedule","select","success","tick","time","todo","when"]},"styles":["solid","regular"],"unicode":"f274","label":"Calendar Check"},"calendar-day":{"search":{"terms":["date","detail","event","focus","schedule","single day","time","today","when"]},"styles":["solid"],"unicode":"f783","label":"Calendar with Day Focus"},"calendar-minus":{"search":{"terms":["calendar","date","delete","event","negative","remove","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f272","label":"Calendar Minus"},"calendar-plus":{"search":{"terms":["add","calendar","create","date","event","new","positive","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f271","label":"Calendar Plus"},"calendar-times":{"search":{"terms":["archive","calendar","date","delete","event","remove","schedule","time","when","x"]},"styles":["solid","regular"],"unicode":"f273","label":"Calendar Times"},"calendar-week":{"search":{"terms":["date","detail","event","focus","schedule","single week","time","today","when"]},"styles":["solid"],"unicode":"f784","label":"Calendar with Week Focus"},"camera":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f030","label":"camera"},"camera-retro":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f083","label":"Retro Camera"},"campground":{"search":{"terms":["camping","fall","outdoors","teepee","tent","tipi"]},"styles":["solid"],"unicode":"f6bb","label":"Campground"},"canadian-maple-leaf":{"search":{"terms":["canada","flag","flora","nature","plant"]},"styles":["brands"],"unicode":"f785","label":"Canadian Maple Leaf"},"candy-cane":{"search":{"terms":["candy","christmas","holiday","mint","peppermint","striped","xmas"]},"styles":["solid"],"unicode":"f786","label":"Candy Cane"},"cannabis":{"search":{"terms":["bud","chronic","drugs","endica","endo","ganja","marijuana","mary jane","pot","reefer","sativa","spliff","weed","whacky-tabacky"]},"styles":["solid"],"unicode":"f55f","label":"Cannabis"},"capsules":{"search":{"terms":["drugs","medicine","pills","prescription"]},"styles":["solid"],"unicode":"f46b","label":"Capsules"},"car":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f1b9","label":"Car"},"car-alt":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5de","label":"Alternate Car"},"car-battery":{"search":{"terms":["auto","electric","mechanic","power"]},"styles":["solid"],"unicode":"f5df","label":"Car Battery"},"car-crash":{"search":{"terms":["accident","auto","automobile","insurance","sedan","transportation","vehicle","wreck"]},"styles":["solid"],"unicode":"f5e1","label":"Car Crash"},"car-side":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5e4","label":"Car Side"},"caravan":{"search":{"terms":["camper","motor home","rv","trailer","travel"]},"styles":["solid"],"unicode":"f8ff","label":"Caravan"},"caret-down":{"search":{"terms":["arrow","dropdown","expand","menu","more","triangle"]},"styles":["solid"],"unicode":"f0d7","label":"Caret Down"},"caret-left":{"search":{"terms":["arrow","back","previous","triangle"]},"styles":["solid"],"unicode":"f0d9","label":"Caret Left"},"caret-right":{"search":{"terms":["arrow","forward","next","triangle"]},"styles":["solid"],"unicode":"f0da","label":"Caret Right"},"caret-square-down":{"search":{"terms":["arrow","caret-square-o-down","dropdown","expand","menu","more","triangle"]},"styles":["solid","regular"],"unicode":"f150","label":"Caret Square Down"},"caret-square-left":{"search":{"terms":["arrow","back","caret-square-o-left","previous","triangle"]},"styles":["solid","regular"],"unicode":"f191","label":"Caret Square Left"},"caret-square-right":{"search":{"terms":["arrow","caret-square-o-right","forward","next","triangle"]},"styles":["solid","regular"],"unicode":"f152","label":"Caret Square Right"},"caret-square-up":{"search":{"terms":["arrow","caret-square-o-up","collapse","triangle","upload"]},"styles":["solid","regular"],"unicode":"f151","label":"Caret Square Up"},"caret-up":{"search":{"terms":["arrow","collapse","triangle"]},"styles":["solid"],"unicode":"f0d8","label":"Caret Up"},"carrot":{"search":{"terms":["bugs bunny","orange","vegan","vegetable"]},"styles":["solid"],"unicode":"f787","label":"Carrot"},"cart-arrow-down":{"search":{"terms":["download","save","shopping"]},"styles":["solid"],"unicode":"f218","label":"Shopping Cart Arrow Down"},"cart-plus":{"search":{"terms":["add","create","new","positive","shopping"]},"styles":["solid"],"unicode":"f217","label":"Add to Shopping Cart"},"cash-register":{"search":{"terms":["buy","cha-ching","change","checkout","commerce","leaerboard","machine","pay","payment","purchase","store"]},"styles":["solid"],"unicode":"f788","label":"Cash Register"},"cat":{"search":{"terms":["feline","halloween","holiday","kitten","kitty","meow","pet"]},"styles":["solid"],"unicode":"f6be","label":"Cat"},"cc-amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42d","label":"Amazon Pay Credit Card"},"cc-amex":{"search":{"terms":["amex"]},"styles":["brands"],"unicode":"f1f3","label":"American Express Credit Card"},"cc-apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f416","label":"Apple Pay Credit Card"},"cc-diners-club":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24c","label":"Diner\'s Club Credit Card"},"cc-discover":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f2","label":"Discover Credit Card"},"cc-jcb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24b","label":"JCB Credit Card"},"cc-mastercard":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f1","label":"MasterCard Credit Card"},"cc-paypal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f4","label":"Paypal Credit Card"},"cc-stripe":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f5","label":"Stripe Credit Card"},"cc-visa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f0","label":"Visa Credit Card"},"centercode":{"search":{"terms":[]},"styles":["brands"],"unicode":"f380","label":"Centercode"},"centos":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f789","label":"Centos"},"certificate":{"search":{"terms":["badge","star","verified"]},"styles":["solid"],"unicode":"f0a3","label":"certificate"},"chair":{"search":{"terms":["furniture","seat","sit"]},"styles":["solid"],"unicode":"f6c0","label":"Chair"},"chalkboard":{"search":{"terms":["blackboard","learning","school","teaching","whiteboard","writing"]},"styles":["solid"],"unicode":"f51b","label":"Chalkboard"},"chalkboard-teacher":{"search":{"terms":["blackboard","instructor","learning","professor","school","whiteboard","writing"]},"styles":["solid"],"unicode":"f51c","label":"Chalkboard Teacher"},"charging-station":{"search":{"terms":["electric","ev","tesla","vehicle"]},"styles":["solid"],"unicode":"f5e7","label":"Charging Station"},"chart-area":{"search":{"terms":["analytics","area","chart","graph"]},"styles":["solid"],"unicode":"f1fe","label":"Area Chart"},"chart-bar":{"search":{"terms":["analytics","bar","chart","graph"]},"styles":["solid","regular"],"unicode":"f080","label":"Bar Chart"},"chart-line":{"search":{"terms":["activity","analytics","chart","dashboard","gain","graph","increase","line"]},"styles":["solid"],"unicode":"f201","label":"Line Chart"},"chart-pie":{"search":{"terms":["analytics","chart","diagram","graph","pie"]},"styles":["solid"],"unicode":"f200","label":"Pie Chart"},"check":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f00c","label":"Check"},"check-circle":{"search":{"terms":["accept","agree","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f058","label":"Check Circle"},"check-double":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo"]},"styles":["solid"],"unicode":"f560","label":"Double Check"},"check-square":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f14a","label":"Check Square"},"cheese":{"search":{"terms":["cheddar","curd","gouda","melt","parmesan","sandwich","swiss","wedge"]},"styles":["solid"],"unicode":"f7ef","label":"Cheese"},"chess":{"search":{"terms":["board","castle","checkmate","game","king","rook","strategy","tournament"]},"styles":["solid"],"unicode":"f439","label":"Chess"},"chess-bishop":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43a","label":"Chess Bishop"},"chess-board":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43c","label":"Chess Board"},"chess-king":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43f","label":"Chess King"},"chess-knight":{"search":{"terms":["board","checkmate","game","horse","strategy"]},"styles":["solid"],"unicode":"f441","label":"Chess Knight"},"chess-pawn":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f443","label":"Chess Pawn"},"chess-queen":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f445","label":"Chess Queen"},"chess-rook":{"search":{"terms":["board","castle","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f447","label":"Chess Rook"},"chevron-circle-down":{"search":{"terms":["arrow","download","dropdown","menu","more"]},"styles":["solid"],"unicode":"f13a","label":"Chevron Circle Down"},"chevron-circle-left":{"search":{"terms":["arrow","back","previous"]},"styles":["solid"],"unicode":"f137","label":"Chevron Circle Left"},"chevron-circle-right":{"search":{"terms":["arrow","forward","next"]},"styles":["solid"],"unicode":"f138","label":"Chevron Circle Right"},"chevron-circle-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f139","label":"Chevron Circle Up"},"chevron-down":{"search":{"terms":["arrow","download","expand"]},"styles":["solid"],"unicode":"f078","label":"chevron-down"},"chevron-left":{"search":{"terms":["arrow","back","bracket","previous"]},"styles":["solid"],"unicode":"f053","label":"chevron-left"},"chevron-right":{"search":{"terms":["arrow","bracket","forward","next"]},"styles":["solid"],"unicode":"f054","label":"chevron-right"},"chevron-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f077","label":"chevron-up"},"child":{"search":{"terms":["boy","girl","kid","toddler","young"]},"styles":["solid"],"unicode":"f1ae","label":"Child"},"chrome":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f268","label":"Chrome"},"chromecast":{"search":{"terms":[]},"styles":["brands"],"unicode":"f838","label":"Chromecast"},"church":{"search":{"terms":["building","cathedral","chapel","community","religion"]},"styles":["solid"],"unicode":"f51d","label":"Church"},"circle":{"search":{"terms":["circle-thin","diameter","dot","ellipse","notification","round"]},"styles":["solid","regular"],"unicode":"f111","label":"Circle"},"circle-notch":{"search":{"terms":["circle-o-notch","diameter","dot","ellipse","round","spinner"]},"styles":["solid"],"unicode":"f1ce","label":"Circle Notched"},"city":{"search":{"terms":["buildings","busy","skyscrapers","urban","windows"]},"styles":["solid"],"unicode":"f64f","label":"City"},"clinic-medical":{"search":{"terms":["covid-19","doctor","general practitioner","hospital","infirmary","medicine","office","outpatient"]},"styles":["solid"],"unicode":"f7f2","label":"Medical Clinic"},"clipboard":{"search":{"terms":["copy","notes","paste","record"]},"styles":["solid","regular"],"unicode":"f328","label":"Clipboard"},"clipboard-check":{"search":{"terms":["accept","agree","confirm","done","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f46c","label":"Clipboard with Check"},"clipboard-list":{"search":{"terms":["checklist","completed","done","finished","intinerary","ol","schedule","tick","todo","ul"]},"styles":["solid"],"unicode":"f46d","label":"Clipboard List"},"clock":{"search":{"terms":["date","late","schedule","time","timer","timestamp","watch"]},"styles":["solid","regular"],"unicode":"f017","label":"Clock"},"clone":{"search":{"terms":["arrange","copy","duplicate","paste"]},"styles":["solid","regular"],"unicode":"f24d","label":"Clone"},"closed-captioning":{"search":{"terms":["cc","deaf","hearing","subtitle","subtitling","text","video"]},"styles":["solid","regular"],"unicode":"f20a","label":"Closed Captioning"},"cloud":{"search":{"terms":["atmosphere","fog","overcast","save","upload","weather"]},"styles":["solid"],"unicode":"f0c2","label":"Cloud"},"cloud-download-alt":{"search":{"terms":["download","export","save"]},"styles":["solid"],"unicode":"f381","label":"Alternate Cloud Download"},"cloud-meatball":{"search":{"terms":["FLDSMDFR","food","spaghetti","storm"]},"styles":["solid"],"unicode":"f73b","label":"Cloud with (a chance of) Meatball"},"cloud-moon":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","sky"]},"styles":["solid"],"unicode":"f6c3","label":"Cloud with Moon"},"cloud-moon-rain":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73c","label":"Cloud with Moon and Rain"},"cloud-rain":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73d","label":"Cloud with Rain"},"cloud-showers-heavy":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f740","label":"Cloud with Heavy Showers"},"cloud-sun":{"search":{"terms":["clear","day","daytime","fall","outdoors","overcast","partly cloudy"]},"styles":["solid"],"unicode":"f6c4","label":"Cloud with Sun"},"cloud-sun-rain":{"search":{"terms":["day","overcast","precipitation","storm","summer","sunshower"]},"styles":["solid"],"unicode":"f743","label":"Cloud with Sun and Rain"},"cloud-upload-alt":{"search":{"terms":["cloud-upload","import","save","upload"]},"styles":["solid"],"unicode":"f382","label":"Alternate Cloud Upload"},"cloudscale":{"search":{"terms":[]},"styles":["brands"],"unicode":"f383","label":"cloudscale.ch"},"cloudsmith":{"search":{"terms":[]},"styles":["brands"],"unicode":"f384","label":"Cloudsmith"},"cloudversify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f385","label":"cloudversify"},"cocktail":{"search":{"terms":["alcohol","beverage","drink","gin","glass","margarita","martini","vodka"]},"styles":["solid"],"unicode":"f561","label":"Cocktail"},"code":{"search":{"terms":["brackets","code","development","html"]},"styles":["solid"],"unicode":"f121","label":"Code"},"code-branch":{"search":{"terms":["branch","code-fork","fork","git","github","rebase","svn","vcs","version"]},"styles":["solid"],"unicode":"f126","label":"Code Branch"},"codepen":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1cb","label":"Codepen"},"codiepie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f284","label":"Codie Pie"},"coffee":{"search":{"terms":["beverage","breakfast","cafe","drink","fall","morning","mug","seasonal","tea"]},"styles":["solid"],"unicode":"f0f4","label":"Coffee"},"cog":{"search":{"terms":["gear","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f013","label":"cog"},"cogs":{"search":{"terms":["gears","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f085","label":"cogs"},"coins":{"search":{"terms":["currency","dime","financial","gold","money","penny"]},"styles":["solid"],"unicode":"f51e","label":"Coins"},"columns":{"search":{"terms":["browser","dashboard","organize","panes","split"]},"styles":["solid"],"unicode":"f0db","label":"Columns"},"comment":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f075","label":"comment"},"comment-alt":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f27a","label":"Alternate Comment"},"comment-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f651","label":"Comment Dollar"},"comment-dots":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","more","note","notification","reply","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f4ad","label":"Comment Dots"},"comment-medical":{"search":{"terms":["advice","bubble","chat","commenting","conversation","diagnose","feedback","message","note","notification","prescription","sms","speech","texting"]},"styles":["solid"],"unicode":"f7f5","label":"Alternate Medical Chat"},"comment-slash":{"search":{"terms":["bubble","cancel","chat","commenting","conversation","feedback","message","mute","note","notification","quiet","sms","speech","texting"]},"styles":["solid"],"unicode":"f4b3","label":"Comment Slash"},"comments":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f086","label":"comments"},"comments-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f653","label":"Comments Dollar"},"compact-disc":{"search":{"terms":["album","bluray","cd","disc","dvd","media","movie","music","record","video","vinyl"]},"styles":["solid"],"unicode":"f51f","label":"Compact Disc"},"compass":{"search":{"terms":["directions","directory","location","menu","navigation","safari","travel"]},"styles":["solid","regular"],"unicode":"f14e","label":"Compass"},"compress":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f066","label":"Compress"},"compress-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f422","label":"Alternate Compress"},"compress-arrows-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f78c","label":"Alternate Compress Arrows"},"concierge-bell":{"search":{"terms":["attention","hotel","receptionist","service","support"]},"styles":["solid"],"unicode":"f562","label":"Concierge Bell"},"confluence":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f78d","label":"Confluence"},"connectdevelop":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20e","label":"Connect Develop"},"contao":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26d","label":"Contao"},"cookie":{"search":{"terms":["baked good","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f563","label":"Cookie"},"cookie-bite":{"search":{"terms":["baked good","bitten","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f564","label":"Cookie Bite"},"copy":{"search":{"terms":["clone","duplicate","file","files-o","paper","paste"]},"styles":["solid","regular"],"unicode":"f0c5","label":"Copy"},"copyright":{"search":{"terms":["brand","mark","register","trademark"]},"styles":["solid","regular"],"unicode":"f1f9","label":"Copyright"},"cotton-bureau":{"search":{"terms":["clothing","t-shirts","tshirts"]},"styles":["brands"],"unicode":"f89e","label":"Cotton Bureau"},"couch":{"search":{"terms":["chair","cushion","furniture","relax","sofa"]},"styles":["solid"],"unicode":"f4b8","label":"Couch"},"cpanel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f388","label":"cPanel"},"creative-commons":{"search":{"terms":[]},"styles":["brands"],"unicode":"f25e","label":"Creative Commons"},"creative-commons-by":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e7","label":"Creative Commons Attribution"},"creative-commons-nc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e8","label":"Creative Commons Noncommercial"},"creative-commons-nc-eu":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e9","label":"Creative Commons Noncommercial (Euro Sign)"},"creative-commons-nc-jp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ea","label":"Creative Commons Noncommercial (Yen Sign)"},"creative-commons-nd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4eb","label":"Creative Commons No Derivative Works"},"creative-commons-pd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ec","label":"Creative Commons Public Domain"},"creative-commons-pd-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ed","label":"Alternate Creative Commons Public Domain"},"creative-commons-remix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ee","label":"Creative Commons Remix"},"creative-commons-sa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ef","label":"Creative Commons Share Alike"},"creative-commons-sampling":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f0","label":"Creative Commons Sampling"},"creative-commons-sampling-plus":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f1","label":"Creative Commons Sampling +"},"creative-commons-share":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f2","label":"Creative Commons Share"},"creative-commons-zero":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f3","label":"Creative Commons CC0"},"credit-card":{"search":{"terms":["buy","checkout","credit-card-alt","debit","money","payment","purchase"]},"styles":["solid","regular"],"unicode":"f09d","label":"Credit Card"},"critical-role":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6c9","label":"Critical Role"},"crop":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f125","label":"crop"},"crop-alt":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f565","label":"Alternate Crop"},"cross":{"search":{"terms":["catholicism","christianity","church","jesus"]},"styles":["solid"],"unicode":"f654","label":"Cross"},"crosshairs":{"search":{"terms":["aim","bullseye","gpd","picker","position"]},"styles":["solid"],"unicode":"f05b","label":"Crosshairs"},"crow":{"search":{"terms":["bird","bullfrog","fauna","halloween","holiday","toad"]},"styles":["solid"],"unicode":"f520","label":"Crow"},"crown":{"search":{"terms":["award","favorite","king","queen","royal","tiara"]},"styles":["solid"],"unicode":"f521","label":"Crown"},"crutch":{"search":{"terms":["cane","injury","mobility","wheelchair"]},"styles":["solid"],"unicode":"f7f7","label":"Crutch"},"css3":{"search":{"terms":["code"]},"styles":["brands"],"unicode":"f13c","label":"CSS 3 Logo"},"css3-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38b","label":"Alternate CSS3 Logo"},"cube":{"search":{"terms":["3d","block","dice","package","square","tesseract"]},"styles":["solid"],"unicode":"f1b2","label":"Cube"},"cubes":{"search":{"terms":["3d","block","dice","package","pyramid","square","stack","tesseract"]},"styles":["solid"],"unicode":"f1b3","label":"Cubes"},"cut":{"search":{"terms":["clip","scissors","snip"]},"styles":["solid"],"unicode":"f0c4","label":"Cut"},"cuttlefish":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38c","label":"Cuttlefish"},"d-and-d":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38d","label":"Dungeons & Dragons"},"d-and-d-beyond":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","gaming","tabletop"]},"styles":["brands"],"unicode":"f6ca","label":"D&D Beyond"},"dailymotion":{"search":{"terms":[]},"styles":["brands"],"unicode":"f952","label":"dailymotion"},"dashcube":{"search":{"terms":[]},"styles":["brands"],"unicode":"f210","label":"DashCube"},"database":{"search":{"terms":["computer","development","directory","memory","storage"]},"styles":["solid"],"unicode":"f1c0","label":"Database"},"deaf":{"search":{"terms":["ear","hearing","sign language"]},"styles":["solid"],"unicode":"f2a4","label":"Deaf"},"delicious":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a5","label":"Delicious"},"democrat":{"search":{"terms":["american","democratic party","donkey","election","left","left-wing","liberal","politics","usa"]},"styles":["solid"],"unicode":"f747","label":"Democrat"},"deploydog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38e","label":"deploy.dog"},"deskpro":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38f","label":"Deskpro"},"desktop":{"search":{"terms":["computer","cpu","demo","desktop","device","imac","machine","monitor","pc","screen"]},"styles":["solid"],"unicode":"f108","label":"Desktop"},"dev":{"search":{"terms":[]},"styles":["brands"],"unicode":"f6cc","label":"DEV"},"deviantart":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1bd","label":"deviantART"},"dharmachakra":{"search":{"terms":["buddhism","buddhist","wheel of dharma"]},"styles":["solid"],"unicode":"f655","label":"Dharmachakra"},"dhl":{"search":{"terms":["Dalsey","Hillblom and Lynn","german","package","shipping"]},"styles":["brands"],"unicode":"f790","label":"DHL"},"diagnoses":{"search":{"terms":["analyze","detect","diagnosis","examine","medicine"]},"styles":["solid"],"unicode":"f470","label":"Diagnoses"},"diaspora":{"search":{"terms":[]},"styles":["brands"],"unicode":"f791","label":"Diaspora"},"dice":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f522","label":"Dice"},"dice-d20":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6cf","label":"Dice D20"},"dice-d6":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6d1","label":"Dice D6"},"dice-five":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f523","label":"Dice Five"},"dice-four":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f524","label":"Dice Four"},"dice-one":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f525","label":"Dice One"},"dice-six":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f526","label":"Dice Six"},"dice-three":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f527","label":"Dice Three"},"dice-two":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f528","label":"Dice Two"},"digg":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a6","label":"Digg Logo"},"digital-ocean":{"search":{"terms":[]},"styles":["brands"],"unicode":"f391","label":"Digital Ocean"},"digital-tachograph":{"search":{"terms":["data","distance","speed","tachometer"]},"styles":["solid"],"unicode":"f566","label":"Digital Tachograph"},"directions":{"search":{"terms":["map","navigation","sign","turn"]},"styles":["solid"],"unicode":"f5eb","label":"Directions"},"discord":{"search":{"terms":[]},"styles":["brands"],"unicode":"f392","label":"Discord"},"discourse":{"search":{"terms":[]},"styles":["brands"],"unicode":"f393","label":"Discourse"},"disease":{"search":{"terms":["bacteria","cancer","covid-19","illness","infection","sickness","virus"]},"styles":["solid"],"unicode":"f7fa","label":"Disease"},"divide":{"search":{"terms":["arithmetic","calculus","division","math"]},"styles":["solid"],"unicode":"f529","label":"Divide"},"dizzy":{"search":{"terms":["dazed","dead","disapprove","emoticon","face"]},"styles":["solid","regular"],"unicode":"f567","label":"Dizzy Face"},"dna":{"search":{"terms":["double helix","genetic","helix","molecule","protein"]},"styles":["solid"],"unicode":"f471","label":"DNA"},"dochub":{"search":{"terms":[]},"styles":["brands"],"unicode":"f394","label":"DocHub"},"docker":{"search":{"terms":[]},"styles":["brands"],"unicode":"f395","label":"Docker"},"dog":{"search":{"terms":["animal","canine","fauna","mammal","pet","pooch","puppy","woof"]},"styles":["solid"],"unicode":"f6d3","label":"Dog"},"dollar-sign":{"search":{"terms":["$","cost","dollar-sign","money","price","usd"]},"styles":["solid"],"unicode":"f155","label":"Dollar Sign"},"dolly":{"search":{"terms":["carry","shipping","transport"]},"styles":["solid"],"unicode":"f472","label":"Dolly"},"dolly-flatbed":{"search":{"terms":["carry","inventory","shipping","transport"]},"styles":["solid"],"unicode":"f474","label":"Dolly Flatbed"},"donate":{"search":{"terms":["contribute","generosity","gift","give"]},"styles":["solid"],"unicode":"f4b9","label":"Donate"},"door-closed":{"search":{"terms":["enter","exit","locked"]},"styles":["solid"],"unicode":"f52a","label":"Door Closed"},"door-open":{"search":{"terms":["enter","exit","welcome"]},"styles":["solid"],"unicode":"f52b","label":"Door Open"},"dot-circle":{"search":{"terms":["bullseye","notification","target"]},"styles":["solid","regular"],"unicode":"f192","label":"Dot Circle"},"dove":{"search":{"terms":["bird","fauna","flying","peace","war"]},"styles":["solid"],"unicode":"f4ba","label":"Dove"},"download":{"search":{"terms":["export","hard drive","save","transfer"]},"styles":["solid"],"unicode":"f019","label":"Download"},"draft2digital":{"search":{"terms":[]},"styles":["brands"],"unicode":"f396","label":"Draft2digital"},"drafting-compass":{"search":{"terms":["design","map","mechanical drawing","plot","plotting"]},"styles":["solid"],"unicode":"f568","label":"Drafting Compass"},"dragon":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","fire","lizard","serpent"]},"styles":["solid"],"unicode":"f6d5","label":"Dragon"},"draw-polygon":{"search":{"terms":["anchors","lines","object","render","shape"]},"styles":["solid"],"unicode":"f5ee","label":"Draw Polygon"},"dribbble":{"search":{"terms":[]},"styles":["brands"],"unicode":"f17d","label":"Dribbble"},"dribbble-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f397","label":"Dribbble Square"},"dropbox":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16b","label":"Dropbox"},"drum":{"search":{"terms":["instrument","music","percussion","snare","sound"]},"styles":["solid"],"unicode":"f569","label":"Drum"},"drum-steelpan":{"search":{"terms":["calypso","instrument","music","percussion","reggae","snare","sound","steel","tropical"]},"styles":["solid"],"unicode":"f56a","label":"Drum Steelpan"},"drumstick-bite":{"search":{"terms":["bone","chicken","leg","meat","poultry","turkey"]},"styles":["solid"],"unicode":"f6d7","label":"Drumstick with Bite Taken Out"},"drupal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a9","label":"Drupal Logo"},"dumbbell":{"search":{"terms":["exercise","gym","strength","weight","weight-lifting"]},"styles":["solid"],"unicode":"f44b","label":"Dumbbell"},"dumpster":{"search":{"terms":["alley","bin","commercial","trash","waste"]},"styles":["solid"],"unicode":"f793","label":"Dumpster"},"dumpster-fire":{"search":{"terms":["alley","bin","commercial","danger","dangerous","euphemism","flame","heat","hot","trash","waste"]},"styles":["solid"],"unicode":"f794","label":"Dumpster Fire"},"dungeon":{"search":{"terms":["Dungeons & Dragons","building","d&d","dnd","door","entrance","fantasy","gate"]},"styles":["solid"],"unicode":"f6d9","label":"Dungeon"},"dyalog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f399","label":"Dyalog"},"earlybirds":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39a","label":"Earlybirds"},"ebay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f4","label":"eBay"},"edge":{"search":{"terms":["browser","ie"]},"styles":["brands"],"unicode":"f282","label":"Edge Browser"},"edit":{"search":{"terms":["edit","pen","pencil","update","write"]},"styles":["solid","regular"],"unicode":"f044","label":"Edit"},"egg":{"search":{"terms":["breakfast","chicken","easter","shell","yolk"]},"styles":["solid"],"unicode":"f7fb","label":"Egg"},"eject":{"search":{"terms":["abort","cancel","cd","discharge"]},"styles":["solid"],"unicode":"f052","label":"eject"},"elementor":{"search":{"terms":[]},"styles":["brands"],"unicode":"f430","label":"Elementor"},"ellipsis-h":{"search":{"terms":["dots","drag","kebab","list","menu","nav","navigation","ol","reorder","settings","ul"]},"styles":["solid"],"unicode":"f141","label":"Horizontal Ellipsis"},"ellipsis-v":{"search":{"terms":["dots","drag","kebab","list","menu","nav","navigation","ol","reorder","settings","ul"]},"styles":["solid"],"unicode":"f142","label":"Vertical Ellipsis"},"ello":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5f1","label":"Ello"},"ember":{"search":{"terms":[]},"styles":["brands"],"unicode":"f423","label":"Ember"},"empire":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d1","label":"Galactic Empire"},"envelope":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid","regular"],"unicode":"f0e0","label":"Envelope"},"envelope-open":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid","regular"],"unicode":"f2b6","label":"Envelope Open"},"envelope-open-text":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid"],"unicode":"f658","label":"Envelope Open-text"},"envelope-square":{"search":{"terms":["e-mail","email","letter","mail","message","notification","support"]},"styles":["solid"],"unicode":"f199","label":"Envelope Square"},"envira":{"search":{"terms":["leaf"]},"styles":["brands"],"unicode":"f299","label":"Envira Gallery"},"equals":{"search":{"terms":["arithmetic","even","match","math"]},"styles":["solid"],"unicode":"f52c","label":"Equals"},"eraser":{"search":{"terms":["art","delete","remove","rubber"]},"styles":["solid"],"unicode":"f12d","label":"eraser"},"erlang":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39d","label":"Erlang"},"ethereum":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42e","label":"Ethereum"},"ethernet":{"search":{"terms":["cable","cat 5","cat 6","connection","hardware","internet","network","wired"]},"styles":["solid"],"unicode":"f796","label":"Ethernet"},"etsy":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d7","label":"Etsy"},"euro-sign":{"search":{"terms":["currency","dollar","exchange","money"]},"styles":["solid"],"unicode":"f153","label":"Euro Sign"},"evernote":{"search":{"terms":[]},"styles":["brands"],"unicode":"f839","label":"Evernote"},"exchange-alt":{"search":{"terms":["arrow","arrows","exchange","reciprocate","return","swap","transfer"]},"styles":["solid"],"unicode":"f362","label":"Alternate Exchange"},"exclamation":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f12a","label":"exclamation"},"exclamation-circle":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f06a","label":"Exclamation Circle"},"exclamation-triangle":{"search":{"terms":["alert","danger","error","important","notice","notification","notify","problem","warning"]},"styles":["solid"],"unicode":"f071","label":"Exclamation Triangle"},"expand":{"search":{"terms":["arrow","bigger","enlarge","resize"]},"styles":["solid"],"unicode":"f065","label":"Expand"},"expand-alt":{"search":{"terms":["arrow","bigger","enlarge","resize"]},"styles":["solid"],"unicode":"f424","label":"Alternate Expand"},"expand-arrows-alt":{"search":{"terms":["arrows-alt","bigger","enlarge","move","resize"]},"styles":["solid"],"unicode":"f31e","label":"Alternate Expand Arrows"},"expeditedssl":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23e","label":"ExpeditedSSL"},"external-link-alt":{"search":{"terms":["external-link","new","open","share"]},"styles":["solid"],"unicode":"f35d","label":"Alternate External Link"},"external-link-square-alt":{"search":{"terms":["external-link-square","new","open","share"]},"styles":["solid"],"unicode":"f360","label":"Alternate External Link Square"},"eye":{"search":{"terms":["look","optic","see","seen","show","sight","views","visible"]},"styles":["solid","regular"],"unicode":"f06e","label":"Eye"},"eye-dropper":{"search":{"terms":["beaker","clone","color","copy","eyedropper","pipette"]},"styles":["solid"],"unicode":"f1fb","label":"Eye Dropper"},"eye-slash":{"search":{"terms":["blind","hide","show","toggle","unseen","views","visible","visiblity"]},"styles":["solid","regular"],"unicode":"f070","label":"Eye Slash"},"facebook":{"search":{"terms":["facebook-official","social network"]},"styles":["brands"],"unicode":"f09a","label":"Facebook"},"facebook-f":{"search":{"terms":["facebook"]},"styles":["brands"],"unicode":"f39e","label":"Facebook F"},"facebook-messenger":{"search":{"terms":[]},"styles":["brands"],"unicode":"f39f","label":"Facebook Messenger"},"facebook-square":{"search":{"terms":["social network"]},"styles":["brands"],"unicode":"f082","label":"Facebook Square"},"fan":{"search":{"terms":["ac","air conditioning","blade","blower","cool","hot"]},"styles":["solid"],"unicode":"f863","label":"Fan"},"fantasy-flight-games":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6dc","label":"Fantasy Flight-games"},"fast-backward":{"search":{"terms":["beginning","first","previous","rewind","start"]},"styles":["solid"],"unicode":"f049","label":"fast-backward"},"fast-forward":{"search":{"terms":["end","last","next"]},"styles":["solid"],"unicode":"f050","label":"fast-forward"},"faucet":{"search":{"terms":["covid-19","drip","house","hygiene","kitchen","sink","water"]},"styles":["solid"],"unicode":"f905","label":"Faucet"},"fax":{"search":{"terms":["business","communicate","copy","facsimile","send"]},"styles":["solid"],"unicode":"f1ac","label":"Fax"},"feather":{"search":{"terms":["bird","light","plucked","quill","write"]},"styles":["solid"],"unicode":"f52d","label":"Feather"},"feather-alt":{"search":{"terms":["bird","light","plucked","quill","write"]},"styles":["solid"],"unicode":"f56b","label":"Alternate Feather"},"fedex":{"search":{"terms":["Federal Express","package","shipping"]},"styles":["brands"],"unicode":"f797","label":"FedEx"},"fedora":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f798","label":"Fedora"},"female":{"search":{"terms":["human","person","profile","user","woman"]},"styles":["solid"],"unicode":"f182","label":"Female"},"fighter-jet":{"search":{"terms":["airplane","fast","fly","goose","maverick","plane","quick","top gun","transportation","travel"]},"styles":["solid"],"unicode":"f0fb","label":"fighter-jet"},"figma":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f799","label":"Figma"},"file":{"search":{"terms":["document","new","page","pdf","resume"]},"styles":["solid","regular"],"unicode":"f15b","label":"File"},"file-alt":{"search":{"terms":["document","file-text","invoice","new","page","pdf"]},"styles":["solid","regular"],"unicode":"f15c","label":"Alternate File"},"file-archive":{"search":{"terms":[".zip","bundle","compress","compression","download","zip"]},"styles":["solid","regular"],"unicode":"f1c6","label":"Archive File"},"file-audio":{"search":{"terms":["document","mp3","music","page","play","sound"]},"styles":["solid","regular"],"unicode":"f1c7","label":"Audio File"},"file-code":{"search":{"terms":["css","development","document","html"]},"styles":["solid","regular"],"unicode":"f1c9","label":"Code File"},"file-contract":{"search":{"terms":["agreement","binding","document","legal","signature"]},"styles":["solid"],"unicode":"f56c","label":"File Contract"},"file-csv":{"search":{"terms":["document","excel","numbers","spreadsheets","table"]},"styles":["solid"],"unicode":"f6dd","label":"File CSV"},"file-download":{"search":{"terms":["document","export","save"]},"styles":["solid"],"unicode":"f56d","label":"File Download"},"file-excel":{"search":{"terms":["csv","document","numbers","spreadsheets","table"]},"styles":["solid","regular"],"unicode":"f1c3","label":"Excel File"},"file-export":{"search":{"terms":["download","save"]},"styles":["solid"],"unicode":"f56e","label":"File Export"},"file-image":{"search":{"terms":["document","image","jpg","photo","png"]},"styles":["solid","regular"],"unicode":"f1c5","label":"Image File"},"file-import":{"search":{"terms":["copy","document","send","upload"]},"styles":["solid"],"unicode":"f56f","label":"File Import"},"file-invoice":{"search":{"terms":["account","bill","charge","document","payment","receipt"]},"styles":["solid"],"unicode":"f570","label":"File Invoice"},"file-invoice-dollar":{"search":{"terms":["$","account","bill","charge","document","dollar-sign","money","payment","receipt","usd"]},"styles":["solid"],"unicode":"f571","label":"File Invoice with US Dollar"},"file-medical":{"search":{"terms":["document","health","history","prescription","record"]},"styles":["solid"],"unicode":"f477","label":"Medical File"},"file-medical-alt":{"search":{"terms":["document","health","history","prescription","record"]},"styles":["solid"],"unicode":"f478","label":"Alternate Medical File"},"file-pdf":{"search":{"terms":["acrobat","document","preview","save"]},"styles":["solid","regular"],"unicode":"f1c1","label":"PDF File"},"file-powerpoint":{"search":{"terms":["display","document","keynote","presentation"]},"styles":["solid","regular"],"unicode":"f1c4","label":"Powerpoint File"},"file-prescription":{"search":{"terms":["document","drugs","medical","medicine","rx"]},"styles":["solid"],"unicode":"f572","label":"File Prescription"},"file-signature":{"search":{"terms":["John Hancock","contract","document","name"]},"styles":["solid"],"unicode":"f573","label":"File Signature"},"file-upload":{"search":{"terms":["document","import","page","save"]},"styles":["solid"],"unicode":"f574","label":"File Upload"},"file-video":{"search":{"terms":["document","m4v","movie","mp4","play"]},"styles":["solid","regular"],"unicode":"f1c8","label":"Video File"},"file-word":{"search":{"terms":["document","edit","page","text","writing"]},"styles":["solid","regular"],"unicode":"f1c2","label":"Word File"},"fill":{"search":{"terms":["bucket","color","paint","paint bucket"]},"styles":["solid"],"unicode":"f575","label":"Fill"},"fill-drip":{"search":{"terms":["bucket","color","drop","paint","paint bucket","spill"]},"styles":["solid"],"unicode":"f576","label":"Fill Drip"},"film":{"search":{"terms":["cinema","movie","strip","video"]},"styles":["solid"],"unicode":"f008","label":"Film"},"filter":{"search":{"terms":["funnel","options","separate","sort"]},"styles":["solid"],"unicode":"f0b0","label":"Filter"},"fingerprint":{"search":{"terms":["human","id","identification","lock","smudge","touch","unique","unlock"]},"styles":["solid"],"unicode":"f577","label":"Fingerprint"},"fire":{"search":{"terms":["burn","caliente","flame","heat","hot","popular"]},"styles":["solid"],"unicode":"f06d","label":"fire"},"fire-alt":{"search":{"terms":["burn","caliente","flame","heat","hot","popular"]},"styles":["solid"],"unicode":"f7e4","label":"Alternate Fire"},"fire-extinguisher":{"search":{"terms":["burn","caliente","fire fighter","flame","heat","hot","rescue"]},"styles":["solid"],"unicode":"f134","label":"fire-extinguisher"},"firefox":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f269","label":"Firefox"},"firefox-browser":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f907","label":"Firefox Browser"},"first-aid":{"search":{"terms":["emergency","emt","health","medical","rescue"]},"styles":["solid"],"unicode":"f479","label":"First Aid"},"first-order":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b0","label":"First Order"},"first-order-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50a","label":"Alternate First Order"},"firstdraft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a1","label":"firstdraft"},"fish":{"search":{"terms":["fauna","gold","seafood","swimming"]},"styles":["solid"],"unicode":"f578","label":"Fish"},"fist-raised":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","hand","ki","monk","resist","strength","unarmed combat"]},"styles":["solid"],"unicode":"f6de","label":"Raised Fist"},"flag":{"search":{"terms":["country","notice","notification","notify","pole","report","symbol"]},"styles":["solid","regular"],"unicode":"f024","label":"flag"},"flag-checkered":{"search":{"terms":["notice","notification","notify","pole","racing","report","symbol"]},"styles":["solid"],"unicode":"f11e","label":"flag-checkered"},"flag-usa":{"search":{"terms":["betsy ross","country","old glory","stars","stripes","symbol"]},"styles":["solid"],"unicode":"f74d","label":"United States of America Flag"},"flask":{"search":{"terms":["beaker","experimental","labs","science"]},"styles":["solid"],"unicode":"f0c3","label":"Flask"},"flickr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16e","label":"Flickr"},"flipboard":{"search":{"terms":[]},"styles":["brands"],"unicode":"f44d","label":"Flipboard"},"flushed":{"search":{"terms":["embarrassed","emoticon","face"]},"styles":["solid","regular"],"unicode":"f579","label":"Flushed Face"},"fly":{"search":{"terms":[]},"styles":["brands"],"unicode":"f417","label":"Fly"},"folder":{"search":{"terms":["archive","directory","document","file"]},"styles":["solid","regular"],"unicode":"f07b","label":"Folder"},"folder-minus":{"search":{"terms":["archive","delete","directory","document","file","negative","remove"]},"styles":["solid"],"unicode":"f65d","label":"Folder Minus"},"folder-open":{"search":{"terms":["archive","directory","document","empty","file","new"]},"styles":["solid","regular"],"unicode":"f07c","label":"Folder Open"},"folder-plus":{"search":{"terms":["add","archive","create","directory","document","file","new","positive"]},"styles":["solid"],"unicode":"f65e","label":"Folder Plus"},"font":{"search":{"terms":["alphabet","glyph","text","type","typeface"]},"styles":["solid"],"unicode":"f031","label":"font"},"font-awesome":{"search":{"terms":["meanpath"]},"styles":["brands"],"unicode":"f2b4","label":"Font Awesome"},"font-awesome-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f35c","label":"Alternate Font Awesome"},"font-awesome-flag":{"search":{"terms":[]},"styles":["brands"],"unicode":"f425","label":"Font Awesome Flag"},"font-awesome-logo-full":{"search":{"terms":[]},"styles":["regular","solid","brands"],"unicode":"f4e6","label":"Font Awesome Full Logo","private":true},"fonticons":{"search":{"terms":[]},"styles":["brands"],"unicode":"f280","label":"Fonticons"},"fonticons-fi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a2","label":"Fonticons Fi"},"football-ball":{"search":{"terms":["ball","fall","nfl","pigskin","seasonal"]},"styles":["solid"],"unicode":"f44e","label":"Football Ball"},"fort-awesome":{"search":{"terms":["castle"]},"styles":["brands"],"unicode":"f286","label":"Fort Awesome"},"fort-awesome-alt":{"search":{"terms":["castle"]},"styles":["brands"],"unicode":"f3a3","label":"Alternate Fort Awesome"},"forumbee":{"search":{"terms":[]},"styles":["brands"],"unicode":"f211","label":"Forumbee"},"forward":{"search":{"terms":["forward","next","skip"]},"styles":["solid"],"unicode":"f04e","label":"forward"},"foursquare":{"search":{"terms":[]},"styles":["brands"],"unicode":"f180","label":"Foursquare"},"free-code-camp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c5","label":"freeCodeCamp"},"freebsd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a4","label":"FreeBSD"},"frog":{"search":{"terms":["amphibian","bullfrog","fauna","hop","kermit","kiss","prince","ribbit","toad","wart"]},"styles":["solid"],"unicode":"f52e","label":"Frog"},"frown":{"search":{"terms":["disapprove","emoticon","face","rating","sad"]},"styles":["solid","regular"],"unicode":"f119","label":"Frowning Face"},"frown-open":{"search":{"terms":["disapprove","emoticon","face","rating","sad"]},"styles":["solid","regular"],"unicode":"f57a","label":"Frowning Face With Open Mouth"},"fulcrum":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50b","label":"Fulcrum"},"funnel-dollar":{"search":{"terms":["filter","money","options","separate","sort"]},"styles":["solid"],"unicode":"f662","label":"Funnel Dollar"},"futbol":{"search":{"terms":["ball","football","mls","soccer"]},"styles":["solid","regular"],"unicode":"f1e3","label":"Futbol"},"galactic-republic":{"search":{"terms":["politics","star wars"]},"styles":["brands"],"unicode":"f50c","label":"Galactic Republic"},"galactic-senate":{"search":{"terms":["star wars"]},"styles":["brands"],"unicode":"f50d","label":"Galactic Senate"},"gamepad":{"search":{"terms":["arcade","controller","d-pad","joystick","video","video game"]},"styles":["solid"],"unicode":"f11b","label":"Gamepad"},"gas-pump":{"search":{"terms":["car","fuel","gasoline","petrol"]},"styles":["solid"],"unicode":"f52f","label":"Gas Pump"},"gavel":{"search":{"terms":["hammer","judge","law","lawyer","opinion"]},"styles":["solid"],"unicode":"f0e3","label":"Gavel"},"gem":{"search":{"terms":["diamond","jewelry","sapphire","stone","treasure"]},"styles":["solid","regular"],"unicode":"f3a5","label":"Gem"},"genderless":{"search":{"terms":["androgynous","asexual","sexless"]},"styles":["solid"],"unicode":"f22d","label":"Genderless"},"get-pocket":{"search":{"terms":[]},"styles":["brands"],"unicode":"f265","label":"Get Pocket"},"gg":{"search":{"terms":[]},"styles":["brands"],"unicode":"f260","label":"GG Currency"},"gg-circle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f261","label":"GG Currency Circle"},"ghost":{"search":{"terms":["apparition","blinky","clyde","floating","halloween","holiday","inky","pinky","spirit"]},"styles":["solid"],"unicode":"f6e2","label":"Ghost"},"gift":{"search":{"terms":["christmas","generosity","giving","holiday","party","present","wrapped","xmas"]},"styles":["solid"],"unicode":"f06b","label":"gift"},"gifts":{"search":{"terms":["christmas","generosity","giving","holiday","party","present","wrapped","xmas"]},"styles":["solid"],"unicode":"f79c","label":"Gifts"},"git":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d3","label":"Git"},"git-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f841","label":"Git Alt"},"git-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d2","label":"Git Square"},"github":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f09b","label":"GitHub"},"github-alt":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f113","label":"Alternate GitHub"},"github-square":{"search":{"terms":["octocat"]},"styles":["brands"],"unicode":"f092","label":"GitHub Square"},"gitkraken":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a6","label":"GitKraken"},"gitlab":{"search":{"terms":["Axosoft"]},"styles":["brands"],"unicode":"f296","label":"GitLab"},"gitter":{"search":{"terms":[]},"styles":["brands"],"unicode":"f426","label":"Gitter"},"glass-cheers":{"search":{"terms":["alcohol","bar","beverage","celebration","champagne","clink","drink","holiday","new year\'s eve","party","toast"]},"styles":["solid"],"unicode":"f79f","label":"Glass Cheers"},"glass-martini":{"search":{"terms":["alcohol","bar","beverage","drink","liquor"]},"styles":["solid"],"unicode":"f000","label":"Martini Glass"},"glass-martini-alt":{"search":{"terms":["alcohol","bar","beverage","drink","liquor"]},"styles":["solid"],"unicode":"f57b","label":"Alternate Glass Martini"},"glass-whiskey":{"search":{"terms":["alcohol","bar","beverage","bourbon","drink","liquor","neat","rye","scotch","whisky"]},"styles":["solid"],"unicode":"f7a0","label":"Glass Whiskey"},"glasses":{"search":{"terms":["hipster","nerd","reading","sight","spectacles","vision"]},"styles":["solid"],"unicode":"f530","label":"Glasses"},"glide":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a5","label":"Glide"},"glide-g":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a6","label":"Glide G"},"globe":{"search":{"terms":["all","coordinates","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f0ac","label":"Globe"},"globe-africa":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57c","label":"Globe with Africa shown"},"globe-americas":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57d","label":"Globe with Americas shown"},"globe-asia":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f57e","label":"Globe with Asia shown"},"globe-europe":{"search":{"terms":["all","country","earth","global","gps","language","localize","location","map","online","place","planet","translate","travel","world"]},"styles":["solid"],"unicode":"f7a2","label":"Globe with Europe shown"},"gofore":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a7","label":"Gofore"},"golf-ball":{"search":{"terms":["caddy","eagle","putt","tee"]},"styles":["solid"],"unicode":"f450","label":"Golf Ball"},"goodreads":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a8","label":"Goodreads"},"goodreads-g":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3a9","label":"Goodreads G"},"google":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a0","label":"Google Logo"},"google-drive":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3aa","label":"Google Drive"},"google-play":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ab","label":"Google Play"},"google-plus":{"search":{"terms":["google-plus-circle","google-plus-official"]},"styles":["brands"],"unicode":"f2b3","label":"Google Plus"},"google-plus-g":{"search":{"terms":["google-plus","social network"]},"styles":["brands"],"unicode":"f0d5","label":"Google Plus G"},"google-plus-square":{"search":{"terms":["social network"]},"styles":["brands"],"unicode":"f0d4","label":"Google Plus Square"},"google-wallet":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ee","label":"Google Wallet"},"gopuram":{"search":{"terms":["building","entrance","hinduism","temple","tower"]},"styles":["solid"],"unicode":"f664","label":"Gopuram"},"graduation-cap":{"search":{"terms":["ceremony","college","graduate","learning","school","student"]},"styles":["solid"],"unicode":"f19d","label":"Graduation Cap"},"gratipay":{"search":{"terms":["favorite","heart","like","love"]},"styles":["brands"],"unicode":"f184","label":"Gratipay (Gittip)"},"grav":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d6","label":"Grav"},"greater-than":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f531","label":"Greater Than"},"greater-than-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f532","label":"Greater Than Equal To"},"grimace":{"search":{"terms":["cringe","emoticon","face","teeth"]},"styles":["solid","regular"],"unicode":"f57f","label":"Grimacing Face"},"grin":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f580","label":"Grinning Face"},"grin-alt":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f581","label":"Alternate Grinning Face"},"grin-beam":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f582","label":"Grinning Face With Smiling Eyes"},"grin-beam-sweat":{"search":{"terms":["embarass","emoticon","face","smile"]},"styles":["solid","regular"],"unicode":"f583","label":"Grinning Face With Sweat"},"grin-hearts":{"search":{"terms":["emoticon","face","love","smile"]},"styles":["solid","regular"],"unicode":"f584","label":"Smiling Face With Heart-Eyes"},"grin-squint":{"search":{"terms":["emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f585","label":"Grinning Squinting Face"},"grin-squint-tears":{"search":{"terms":["emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f586","label":"Rolling on the Floor Laughing"},"grin-stars":{"search":{"terms":["emoticon","face","star-struck"]},"styles":["solid","regular"],"unicode":"f587","label":"Star-Struck"},"grin-tears":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f588","label":"Face With Tears of Joy"},"grin-tongue":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f589","label":"Face With Tongue"},"grin-tongue-squint":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f58a","label":"Squinting Face With Tongue"},"grin-tongue-wink":{"search":{"terms":["LOL","emoticon","face"]},"styles":["solid","regular"],"unicode":"f58b","label":"Winking Face With Tongue"},"grin-wink":{"search":{"terms":["emoticon","face","flirt","laugh","smile"]},"styles":["solid","regular"],"unicode":"f58c","label":"Grinning Winking Face"},"grip-horizontal":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f58d","label":"Grip Horizontal"},"grip-lines":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f7a4","label":"Grip Lines"},"grip-lines-vertical":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f7a5","label":"Grip Lines Vertical"},"grip-vertical":{"search":{"terms":["affordance","drag","drop","grab","handle"]},"styles":["solid"],"unicode":"f58e","label":"Grip Vertical"},"gripfire":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ac","label":"Gripfire, Inc."},"grunt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ad","label":"Grunt"},"guitar":{"search":{"terms":["acoustic","instrument","music","rock","rock and roll","song","strings"]},"styles":["solid"],"unicode":"f7a6","label":"Guitar"},"gulp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ae","label":"Gulp"},"h-square":{"search":{"terms":["directions","emergency","hospital","hotel","map"]},"styles":["solid"],"unicode":"f0fd","label":"H Square"},"hacker-news":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d4","label":"Hacker News"},"hacker-news-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3af","label":"Hacker News Square"},"hackerrank":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5f7","label":"Hackerrank"},"hamburger":{"search":{"terms":["bacon","beef","burger","burger king","cheeseburger","fast food","grill","ground beef","mcdonalds","sandwich"]},"styles":["solid"],"unicode":"f805","label":"Hamburger"},"hammer":{"search":{"terms":["admin","fix","repair","settings","tool"]},"styles":["solid"],"unicode":"f6e3","label":"Hammer"},"hamsa":{"search":{"terms":["amulet","christianity","islam","jewish","judaism","muslim","protection"]},"styles":["solid"],"unicode":"f665","label":"Hamsa"},"hand-holding":{"search":{"terms":["carry","lift"]},"styles":["solid"],"unicode":"f4bd","label":"Hand Holding"},"hand-holding-heart":{"search":{"terms":["carry","charity","gift","lift","package"]},"styles":["solid"],"unicode":"f4be","label":"Hand Holding Heart"},"hand-holding-medical":{"search":{"terms":["care","covid-19","donate","help"]},"styles":["solid"],"unicode":"f95c","label":"Hand Holding Medical Cross"},"hand-holding-usd":{"search":{"terms":["$","carry","dollar sign","donation","giving","lift","money","price"]},"styles":["solid"],"unicode":"f4c0","label":"Hand Holding US Dollar"},"hand-holding-water":{"search":{"terms":["carry","covid-19","drought","grow","lift"]},"styles":["solid"],"unicode":"f4c1","label":"Hand Holding Water"},"hand-lizard":{"search":{"terms":["game","roshambo"]},"styles":["solid","regular"],"unicode":"f258","label":"Lizard (Hand)"},"hand-middle-finger":{"search":{"terms":["flip the bird","gesture","hate","rude"]},"styles":["solid"],"unicode":"f806","label":"Hand with Middle Finger Raised"},"hand-paper":{"search":{"terms":["game","halt","roshambo","stop"]},"styles":["solid","regular"],"unicode":"f256","label":"Paper (Hand)"},"hand-peace":{"search":{"terms":["rest","truce"]},"styles":["solid","regular"],"unicode":"f25b","label":"Peace (Hand)"},"hand-point-down":{"search":{"terms":["finger","hand-o-down","point"]},"styles":["solid","regular"],"unicode":"f0a7","label":"Hand Pointing Down"},"hand-point-left":{"search":{"terms":["back","finger","hand-o-left","left","point","previous"]},"styles":["solid","regular"],"unicode":"f0a5","label":"Hand Pointing Left"},"hand-point-right":{"search":{"terms":["finger","forward","hand-o-right","next","point","right"]},"styles":["solid","regular"],"unicode":"f0a4","label":"Hand Pointing Right"},"hand-point-up":{"search":{"terms":["finger","hand-o-up","point"]},"styles":["solid","regular"],"unicode":"f0a6","label":"Hand Pointing Up"},"hand-pointer":{"search":{"terms":["arrow","cursor","select"]},"styles":["solid","regular"],"unicode":"f25a","label":"Pointer (Hand)"},"hand-rock":{"search":{"terms":["fist","game","roshambo"]},"styles":["solid","regular"],"unicode":"f255","label":"Rock (Hand)"},"hand-scissors":{"search":{"terms":["cut","game","roshambo"]},"styles":["solid","regular"],"unicode":"f257","label":"Scissors (Hand)"},"hand-sparkles":{"search":{"terms":["clean","covid-19","hygiene","magic","soap","wash"]},"styles":["solid"],"unicode":"f95d","label":"Hand Sparkles"},"hand-spock":{"search":{"terms":["live long","prosper","salute","star trek","vulcan"]},"styles":["solid","regular"],"unicode":"f259","label":"Spock (Hand)"},"hands":{"search":{"terms":["carry","hold","lift"]},"styles":["solid"],"unicode":"f4c2","label":"Hands"},"hands-helping":{"search":{"terms":["aid","assistance","handshake","partnership","volunteering"]},"styles":["solid"],"unicode":"f4c4","label":"Helping Hands"},"hands-wash":{"search":{"terms":["covid-19","hygiene","soap","wash"]},"styles":["solid"],"unicode":"f95e","label":"Hands Wash"},"handshake":{"search":{"terms":["agreement","greeting","meeting","partnership"]},"styles":["solid","regular"],"unicode":"f2b5","label":"Handshake"},"handshake-alt-slash":{"search":{"terms":["broken","covid-19","social distance"]},"styles":["solid"],"unicode":"f95f","label":"Handshake Alternate Slash"},"handshake-slash":{"search":{"terms":["broken","covid-19","social distance"]},"styles":["solid"],"unicode":"f960","label":"Handshake Slash"},"hanukiah":{"search":{"terms":["candle","hanukkah","jewish","judaism","light"]},"styles":["solid"],"unicode":"f6e6","label":"Hanukiah"},"hard-hat":{"search":{"terms":["construction","hardhat","helmet","safety"]},"styles":["solid"],"unicode":"f807","label":"Hard Hat"},"hashtag":{"search":{"terms":["Twitter","instagram","pound","social media","tag"]},"styles":["solid"],"unicode":"f292","label":"Hashtag"},"hat-cowboy":{"search":{"terms":["buckaroo","horse","jackeroo","john b.","old west","pardner","ranch","rancher","rodeo","western","wrangler"]},"styles":["solid"],"unicode":"f8c0","label":"Cowboy Hat"},"hat-cowboy-side":{"search":{"terms":["buckaroo","horse","jackeroo","john b.","old west","pardner","ranch","rancher","rodeo","western","wrangler"]},"styles":["solid"],"unicode":"f8c1","label":"Cowboy Hat Side"},"hat-wizard":{"search":{"terms":["Dungeons & Dragons","accessory","buckle","clothing","d&d","dnd","fantasy","halloween","head","holiday","mage","magic","pointy","witch"]},"styles":["solid"],"unicode":"f6e8","label":"Wizard\'s Hat"},"hdd":{"search":{"terms":["cpu","hard drive","harddrive","machine","save","storage"]},"styles":["solid","regular"],"unicode":"f0a0","label":"HDD"},"head-side-cough":{"search":{"terms":["cough","covid-19","germs","lungs","respiratory","sick"]},"styles":["solid"],"unicode":"f961","label":"Head Side Cough"},"head-side-cough-slash":{"search":{"terms":["cough","covid-19","germs","lungs","respiratory","sick"]},"styles":["solid"],"unicode":"f962","label":"Head Side-cough-slash"},"head-side-mask":{"search":{"terms":["breath","covid-19","filter","respirator","virus"]},"styles":["solid"],"unicode":"f963","label":"Head Side Mask"},"head-side-virus":{"search":{"terms":["cold","covid-19","flu","sick"]},"styles":["solid"],"unicode":"f964","label":"Head Side Virus"},"heading":{"search":{"terms":["format","header","text","title"]},"styles":["solid"],"unicode":"f1dc","label":"heading"},"headphones":{"search":{"terms":["audio","listen","music","sound","speaker"]},"styles":["solid"],"unicode":"f025","label":"headphones"},"headphones-alt":{"search":{"terms":["audio","listen","music","sound","speaker"]},"styles":["solid"],"unicode":"f58f","label":"Alternate Headphones"},"headset":{"search":{"terms":["audio","gamer","gaming","listen","live chat","microphone","shot caller","sound","support","telemarketer"]},"styles":["solid"],"unicode":"f590","label":"Headset"},"heart":{"search":{"terms":["favorite","like","love","relationship","valentine"]},"styles":["solid","regular"],"unicode":"f004","label":"Heart"},"heart-broken":{"search":{"terms":["breakup","crushed","dislike","dumped","grief","love","lovesick","relationship","sad"]},"styles":["solid"],"unicode":"f7a9","label":"Heart Broken"},"heartbeat":{"search":{"terms":["ekg","electrocardiogram","health","lifeline","vital signs"]},"styles":["solid"],"unicode":"f21e","label":"Heartbeat"},"helicopter":{"search":{"terms":["airwolf","apache","chopper","flight","fly","travel"]},"styles":["solid"],"unicode":"f533","label":"Helicopter"},"highlighter":{"search":{"terms":["edit","marker","sharpie","update","write"]},"styles":["solid"],"unicode":"f591","label":"Highlighter"},"hiking":{"search":{"terms":["activity","backpack","fall","fitness","outdoors","person","seasonal","walking"]},"styles":["solid"],"unicode":"f6ec","label":"Hiking"},"hippo":{"search":{"terms":["animal","fauna","hippopotamus","hungry","mammal"]},"styles":["solid"],"unicode":"f6ed","label":"Hippo"},"hips":{"search":{"terms":[]},"styles":["brands"],"unicode":"f452","label":"Hips"},"hire-a-helper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b0","label":"HireAHelper"},"history":{"search":{"terms":["Rewind","clock","reverse","time","time machine"]},"styles":["solid"],"unicode":"f1da","label":"History"},"hockey-puck":{"search":{"terms":["ice","nhl","sport"]},"styles":["solid"],"unicode":"f453","label":"Hockey Puck"},"holly-berry":{"search":{"terms":["catwoman","christmas","decoration","flora","halle","holiday","ororo munroe","plant","storm","xmas"]},"styles":["solid"],"unicode":"f7aa","label":"Holly Berry"},"home":{"search":{"terms":["abode","building","house","main"]},"styles":["solid"],"unicode":"f015","label":"home"},"hooli":{"search":{"terms":[]},"styles":["brands"],"unicode":"f427","label":"Hooli"},"hornbill":{"search":{"terms":[]},"styles":["brands"],"unicode":"f592","label":"Hornbill"},"horse":{"search":{"terms":["equus","fauna","mammmal","mare","neigh","pony"]},"styles":["solid"],"unicode":"f6f0","label":"Horse"},"horse-head":{"search":{"terms":["equus","fauna","mammmal","mare","neigh","pony"]},"styles":["solid"],"unicode":"f7ab","label":"Horse Head"},"hospital":{"search":{"terms":["building","covid-19","emergency room","medical center"]},"styles":["solid","regular"],"unicode":"f0f8","label":"hospital"},"hospital-alt":{"search":{"terms":["building","covid-19","emergency room","medical center"]},"styles":["solid"],"unicode":"f47d","label":"Alternate Hospital"},"hospital-symbol":{"search":{"terms":["clinic","covid-19","emergency","map"]},"styles":["solid"],"unicode":"f47e","label":"Hospital Symbol"},"hospital-user":{"search":{"terms":["covid-19","doctor","network","patient","primary care"]},"styles":["solid"],"unicode":"f80d","label":"Hospital with User"},"hot-tub":{"search":{"terms":["bath","jacuzzi","massage","sauna","spa"]},"styles":["solid"],"unicode":"f593","label":"Hot Tub"},"hotdog":{"search":{"terms":["bun","chili","frankfurt","frankfurter","kosher","polish","sandwich","sausage","vienna","weiner"]},"styles":["solid"],"unicode":"f80f","label":"Hot Dog"},"hotel":{"search":{"terms":["building","inn","lodging","motel","resort","travel"]},"styles":["solid"],"unicode":"f594","label":"Hotel"},"hotjar":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b1","label":"Hotjar"},"hourglass":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid","regular"],"unicode":"f254","label":"Hourglass"},"hourglass-end":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f253","label":"Hourglass End"},"hourglass-half":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f252","label":"Hourglass Half"},"hourglass-start":{"search":{"terms":["hour","minute","sand","stopwatch","time"]},"styles":["solid"],"unicode":"f251","label":"Hourglass Start"},"house-damage":{"search":{"terms":["building","devastation","disaster","home","insurance"]},"styles":["solid"],"unicode":"f6f1","label":"Damaged House"},"house-user":{"search":{"terms":["covid-19","home","isolation","quarantine"]},"styles":["solid"],"unicode":"f965","label":"House User"},"houzz":{"search":{"terms":[]},"styles":["brands"],"unicode":"f27c","label":"Houzz"},"hryvnia":{"search":{"terms":["currency","money","ukraine","ukrainian"]},"styles":["solid"],"unicode":"f6f2","label":"Hryvnia"},"html5":{"search":{"terms":[]},"styles":["brands"],"unicode":"f13b","label":"HTML 5 Logo"},"hubspot":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b2","label":"HubSpot"},"i-cursor":{"search":{"terms":["editing","i-beam","type","writing"]},"styles":["solid"],"unicode":"f246","label":"I Beam Cursor"},"ice-cream":{"search":{"terms":["chocolate","cone","dessert","frozen","scoop","sorbet","vanilla","yogurt"]},"styles":["solid"],"unicode":"f810","label":"Ice Cream"},"icicles":{"search":{"terms":["cold","frozen","hanging","ice","seasonal","sharp"]},"styles":["solid"],"unicode":"f7ad","label":"Icicles"},"icons":{"search":{"terms":["bolt","emoji","heart","image","music","photo","symbols"]},"styles":["solid"],"unicode":"f86d","label":"Icons"},"id-badge":{"search":{"terms":["address","contact","identification","license","profile"]},"styles":["solid","regular"],"unicode":"f2c1","label":"Identification Badge"},"id-card":{"search":{"terms":["contact","demographics","document","identification","issued","profile"]},"styles":["solid","regular"],"unicode":"f2c2","label":"Identification Card"},"id-card-alt":{"search":{"terms":["contact","demographics","document","identification","issued","profile"]},"styles":["solid"],"unicode":"f47f","label":"Alternate Identification Card"},"ideal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f913","label":"iDeal"},"igloo":{"search":{"terms":["dome","dwelling","eskimo","home","house","ice","snow"]},"styles":["solid"],"unicode":"f7ae","label":"Igloo"},"image":{"search":{"terms":["album","landscape","photo","picture"]},"styles":["solid","regular"],"unicode":"f03e","label":"Image"},"images":{"search":{"terms":["album","landscape","photo","picture"]},"styles":["solid","regular"],"unicode":"f302","label":"Images"},"imdb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d8","label":"IMDB"},"inbox":{"search":{"terms":["archive","desk","email","mail","message"]},"styles":["solid"],"unicode":"f01c","label":"inbox"},"indent":{"search":{"terms":["align","justify","paragraph","tab"]},"styles":["solid"],"unicode":"f03c","label":"Indent"},"industry":{"search":{"terms":["building","factory","industrial","manufacturing","mill","warehouse"]},"styles":["solid"],"unicode":"f275","label":"Industry"},"infinity":{"search":{"terms":["eternity","forever","math"]},"styles":["solid"],"unicode":"f534","label":"Infinity"},"info":{"search":{"terms":["details","help","information","more","support"]},"styles":["solid"],"unicode":"f129","label":"Info"},"info-circle":{"search":{"terms":["details","help","information","more","support"]},"styles":["solid"],"unicode":"f05a","label":"Info Circle"},"instagram":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16d","label":"Instagram"},"instagram-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f955","label":"Instagram Square"},"intercom":{"search":{"terms":["app","customer","messenger"]},"styles":["brands"],"unicode":"f7af","label":"Intercom"},"internet-explorer":{"search":{"terms":["browser","ie"]},"styles":["brands"],"unicode":"f26b","label":"Internet-explorer"},"invision":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f7b0","label":"InVision"},"ioxhost":{"search":{"terms":[]},"styles":["brands"],"unicode":"f208","label":"ioxhost"},"italic":{"search":{"terms":["edit","emphasis","font","format","text","type"]},"styles":["solid"],"unicode":"f033","label":"italic"},"itch-io":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83a","label":"itch.io"},"itunes":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b4","label":"iTunes"},"itunes-note":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b5","label":"Itunes Note"},"java":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e4","label":"Java"},"jedi":{"search":{"terms":["crest","force","sith","skywalker","star wars","yoda"]},"styles":["solid"],"unicode":"f669","label":"Jedi"},"jedi-order":{"search":{"terms":["star wars"]},"styles":["brands"],"unicode":"f50e","label":"Jedi Order"},"jenkins":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b6","label":"Jenkis"},"jira":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f7b1","label":"Jira"},"joget":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b7","label":"Joget"},"joint":{"search":{"terms":["blunt","cannabis","doobie","drugs","marijuana","roach","smoke","smoking","spliff"]},"styles":["solid"],"unicode":"f595","label":"Joint"},"joomla":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1aa","label":"Joomla Logo"},"journal-whills":{"search":{"terms":["book","force","jedi","sith","star wars","yoda"]},"styles":["solid"],"unicode":"f66a","label":"Journal of the Whills"},"js":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b8","label":"JavaScript (JS)"},"js-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3b9","label":"JavaScript (JS) Square"},"jsfiddle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1cc","label":"jsFiddle"},"kaaba":{"search":{"terms":["building","cube","islam","muslim"]},"styles":["solid"],"unicode":"f66b","label":"Kaaba"},"kaggle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5fa","label":"Kaggle"},"key":{"search":{"terms":["lock","password","private","secret","unlock"]},"styles":["solid"],"unicode":"f084","label":"key"},"keybase":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f5","label":"Keybase"},"keyboard":{"search":{"terms":["accessory","edit","input","text","type","write"]},"styles":["solid","regular"],"unicode":"f11c","label":"Keyboard"},"keycdn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ba","label":"KeyCDN"},"khanda":{"search":{"terms":["chakkar","sikh","sikhism","sword"]},"styles":["solid"],"unicode":"f66d","label":"Khanda"},"kickstarter":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bb","label":"Kickstarter"},"kickstarter-k":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bc","label":"Kickstarter K"},"kiss":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f596","label":"Kissing Face"},"kiss-beam":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f597","label":"Kissing Face With Smiling Eyes"},"kiss-wink-heart":{"search":{"terms":["beso","emoticon","face","love","smooch"]},"styles":["solid","regular"],"unicode":"f598","label":"Face Blowing a Kiss"},"kiwi-bird":{"search":{"terms":["bird","fauna","new zealand"]},"styles":["solid"],"unicode":"f535","label":"Kiwi Bird"},"korvue":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42f","label":"KORVUE"},"landmark":{"search":{"terms":["building","historic","memorable","monument","politics"]},"styles":["solid"],"unicode":"f66f","label":"Landmark"},"language":{"search":{"terms":["dialect","idiom","localize","speech","translate","vernacular"]},"styles":["solid"],"unicode":"f1ab","label":"Language"},"laptop":{"search":{"terms":["computer","cpu","dell","demo","device","mac","macbook","machine","pc"]},"styles":["solid"],"unicode":"f109","label":"Laptop"},"laptop-code":{"search":{"terms":["computer","cpu","dell","demo","develop","device","mac","macbook","machine","pc"]},"styles":["solid"],"unicode":"f5fc","label":"Laptop Code"},"laptop-house":{"search":{"terms":["computer","covid-19","device","office","remote","work from home"]},"styles":["solid"],"unicode":"f966","label":"Laptop House"},"laptop-medical":{"search":{"terms":["computer","device","ehr","electronic health records","history"]},"styles":["solid"],"unicode":"f812","label":"Laptop Medical"},"laravel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3bd","label":"Laravel"},"lastfm":{"search":{"terms":[]},"styles":["brands"],"unicode":"f202","label":"last.fm"},"lastfm-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f203","label":"last.fm Square"},"laugh":{"search":{"terms":["LOL","emoticon","face","laugh","smile"]},"styles":["solid","regular"],"unicode":"f599","label":"Grinning Face With Big Eyes"},"laugh-beam":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59a","label":"Laugh Face with Beaming Eyes"},"laugh-squint":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59b","label":"Laughing Squinting Face"},"laugh-wink":{"search":{"terms":["LOL","emoticon","face","happy","smile"]},"styles":["solid","regular"],"unicode":"f59c","label":"Laughing Winking Face"},"layer-group":{"search":{"terms":["arrange","develop","layers","map","stack"]},"styles":["solid"],"unicode":"f5fd","label":"Layer Group"},"leaf":{"search":{"terms":["eco","flora","nature","plant","vegan"]},"styles":["solid"],"unicode":"f06c","label":"leaf"},"leanpub":{"search":{"terms":[]},"styles":["brands"],"unicode":"f212","label":"Leanpub"},"lemon":{"search":{"terms":["citrus","lemonade","lime","tart"]},"styles":["solid","regular"],"unicode":"f094","label":"Lemon"},"less":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41d","label":"Less"},"less-than":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f536","label":"Less Than"},"less-than-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f537","label":"Less Than Equal To"},"level-down-alt":{"search":{"terms":["arrow","level-down"]},"styles":["solid"],"unicode":"f3be","label":"Alternate Level Down"},"level-up-alt":{"search":{"terms":["arrow","level-up"]},"styles":["solid"],"unicode":"f3bf","label":"Alternate Level Up"},"life-ring":{"search":{"terms":["coast guard","help","overboard","save","support"]},"styles":["solid","regular"],"unicode":"f1cd","label":"Life Ring"},"lightbulb":{"search":{"terms":["energy","idea","inspiration","light"]},"styles":["solid","regular"],"unicode":"f0eb","label":"Lightbulb"},"line":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c0","label":"Line"},"link":{"search":{"terms":["attach","attachment","chain","connect"]},"styles":["solid"],"unicode":"f0c1","label":"Link"},"linkedin":{"search":{"terms":["linkedin-square"]},"styles":["brands"],"unicode":"f08c","label":"LinkedIn"},"linkedin-in":{"search":{"terms":["linkedin"]},"styles":["brands"],"unicode":"f0e1","label":"LinkedIn In"},"linode":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b8","label":"Linode"},"linux":{"search":{"terms":["tux"]},"styles":["brands"],"unicode":"f17c","label":"Linux"},"lira-sign":{"search":{"terms":["currency","money","try","turkish"]},"styles":["solid"],"unicode":"f195","label":"Turkish Lira Sign"},"list":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f03a","label":"List"},"list-alt":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid","regular"],"unicode":"f022","label":"Alternate List"},"list-ol":{"search":{"terms":["checklist","completed","done","finished","numbers","ol","todo","ul"]},"styles":["solid"],"unicode":"f0cb","label":"list-ol"},"list-ul":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f0ca","label":"list-ul"},"location-arrow":{"search":{"terms":["address","compass","coordinate","direction","gps","map","navigation","place"]},"styles":["solid"],"unicode":"f124","label":"location-arrow"},"lock":{"search":{"terms":["admin","lock","open","password","private","protect","security"]},"styles":["solid"],"unicode":"f023","label":"lock"},"lock-open":{"search":{"terms":["admin","lock","open","password","private","protect","security"]},"styles":["solid"],"unicode":"f3c1","label":"Lock Open"},"long-arrow-alt-down":{"search":{"terms":["download","long-arrow-down"]},"styles":["solid"],"unicode":"f309","label":"Alternate Long Arrow Down"},"long-arrow-alt-left":{"search":{"terms":["back","long-arrow-left","previous"]},"styles":["solid"],"unicode":"f30a","label":"Alternate Long Arrow Left"},"long-arrow-alt-right":{"search":{"terms":["forward","long-arrow-right","next"]},"styles":["solid"],"unicode":"f30b","label":"Alternate Long Arrow Right"},"long-arrow-alt-up":{"search":{"terms":["long-arrow-up","upload"]},"styles":["solid"],"unicode":"f30c","label":"Alternate Long Arrow Up"},"low-vision":{"search":{"terms":["blind","eye","sight"]},"styles":["solid"],"unicode":"f2a8","label":"Low Vision"},"luggage-cart":{"search":{"terms":["bag","baggage","suitcase","travel"]},"styles":["solid"],"unicode":"f59d","label":"Luggage Cart"},"lungs":{"search":{"terms":["air","breath","covid-19","organ","respiratory"]},"styles":["solid"],"unicode":"f604","label":"Lungs"},"lungs-virus":{"search":{"terms":["breath","covid-19","respiratory","sick"]},"styles":["solid"],"unicode":"f967","label":"Lungs Virus"},"lyft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c3","label":"lyft"},"magento":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c4","label":"Magento"},"magic":{"search":{"terms":["autocomplete","automatic","mage","magic","spell","wand","witch","wizard"]},"styles":["solid"],"unicode":"f0d0","label":"magic"},"magnet":{"search":{"terms":["Attract","lodestone","tool"]},"styles":["solid"],"unicode":"f076","label":"magnet"},"mail-bulk":{"search":{"terms":["archive","envelope","letter","post office","postal","postcard","send","stamp","usps"]},"styles":["solid"],"unicode":"f674","label":"Mail Bulk"},"mailchimp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f59e","label":"Mailchimp"},"male":{"search":{"terms":["human","man","person","profile","user"]},"styles":["solid"],"unicode":"f183","label":"Male"},"mandalorian":{"search":{"terms":[]},"styles":["brands"],"unicode":"f50f","label":"Mandalorian"},"map":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid","regular"],"unicode":"f279","label":"Map"},"map-marked":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f59f","label":"Map Marked"},"map-marked-alt":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f5a0","label":"Alternate Map Marked"},"map-marker":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f041","label":"map-marker"},"map-marker-alt":{"search":{"terms":["address","coordinates","destination","gps","localize","location","map","navigation","paper","pin","place","point of interest","position","route","travel"]},"styles":["solid"],"unicode":"f3c5","label":"Alternate Map Marker"},"map-pin":{"search":{"terms":["address","agree","coordinates","destination","gps","localize","location","map","marker","navigation","pin","place","position","travel"]},"styles":["solid"],"unicode":"f276","label":"Map Pin"},"map-signs":{"search":{"terms":["directions","directory","map","signage","wayfinding"]},"styles":["solid"],"unicode":"f277","label":"Map Signs"},"markdown":{"search":{"terms":[]},"styles":["brands"],"unicode":"f60f","label":"Markdown"},"marker":{"search":{"terms":["design","edit","sharpie","update","write"]},"styles":["solid"],"unicode":"f5a1","label":"Marker"},"mars":{"search":{"terms":["male"]},"styles":["solid"],"unicode":"f222","label":"Mars"},"mars-double":{"search":{"terms":[]},"styles":["solid"],"unicode":"f227","label":"Mars Double"},"mars-stroke":{"search":{"terms":[]},"styles":["solid"],"unicode":"f229","label":"Mars Stroke"},"mars-stroke-h":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22b","label":"Mars Stroke Horizontal"},"mars-stroke-v":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22a","label":"Mars Stroke Vertical"},"mask":{"search":{"terms":["carnivale","costume","disguise","halloween","secret","super hero"]},"styles":["solid"],"unicode":"f6fa","label":"Mask"},"mastodon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f6","label":"Mastodon"},"maxcdn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f136","label":"MaxCDN"},"mdb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8ca","label":"Material Design for Bootstrap"},"medal":{"search":{"terms":["award","ribbon","star","trophy"]},"styles":["solid"],"unicode":"f5a2","label":"Medal"},"medapps":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c6","label":"MedApps"},"medium":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23a","label":"Medium"},"medium-m":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c7","label":"Medium M"},"medkit":{"search":{"terms":["first aid","firstaid","health","help","support"]},"styles":["solid"],"unicode":"f0fa","label":"medkit"},"medrt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3c8","label":"MRT"},"meetup":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2e0","label":"Meetup"},"megaport":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5a3","label":"Megaport"},"meh":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f11a","label":"Neutral Face"},"meh-blank":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f5a4","label":"Face Without Mouth"},"meh-rolling-eyes":{"search":{"terms":["emoticon","face","neutral","rating"]},"styles":["solid","regular"],"unicode":"f5a5","label":"Face With Rolling Eyes"},"memory":{"search":{"terms":["DIMM","RAM","hardware","storage","technology"]},"styles":["solid"],"unicode":"f538","label":"Memory"},"mendeley":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7b3","label":"Mendeley"},"menorah":{"search":{"terms":["candle","hanukkah","jewish","judaism","light"]},"styles":["solid"],"unicode":"f676","label":"Menorah"},"mercury":{"search":{"terms":["transgender"]},"styles":["solid"],"unicode":"f223","label":"Mercury"},"meteor":{"search":{"terms":["armageddon","asteroid","comet","shooting star","space"]},"styles":["solid"],"unicode":"f753","label":"Meteor"},"microblog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f91a","label":"Micro.blog"},"microchip":{"search":{"terms":["cpu","hardware","processor","technology"]},"styles":["solid"],"unicode":"f2db","label":"Microchip"},"microphone":{"search":{"terms":["audio","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f130","label":"microphone"},"microphone-alt":{"search":{"terms":["audio","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f3c9","label":"Alternate Microphone"},"microphone-alt-slash":{"search":{"terms":["audio","disable","mute","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f539","label":"Alternate Microphone Slash"},"microphone-slash":{"search":{"terms":["audio","disable","mute","podcast","record","sing","sound","voice"]},"styles":["solid"],"unicode":"f131","label":"Microphone Slash"},"microscope":{"search":{"terms":["covid-19","electron","lens","optics","science","shrink"]},"styles":["solid"],"unicode":"f610","label":"Microscope"},"microsoft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ca","label":"Microsoft"},"minus":{"search":{"terms":["collapse","delete","hide","minify","negative","remove","trash"]},"styles":["solid"],"unicode":"f068","label":"minus"},"minus-circle":{"search":{"terms":["delete","hide","negative","remove","shape","trash"]},"styles":["solid"],"unicode":"f056","label":"Minus Circle"},"minus-square":{"search":{"terms":["collapse","delete","hide","minify","negative","remove","shape","trash"]},"styles":["solid","regular"],"unicode":"f146","label":"Minus Square"},"mitten":{"search":{"terms":["clothing","cold","glove","hands","knitted","seasonal","warmth"]},"styles":["solid"],"unicode":"f7b5","label":"Mitten"},"mix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3cb","label":"Mix"},"mixcloud":{"search":{"terms":[]},"styles":["brands"],"unicode":"f289","label":"Mixcloud"},"mixer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f956","label":"Mixer"},"mizuni":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3cc","label":"Mizuni"},"mobile":{"search":{"terms":["apple","call","cell phone","cellphone","device","iphone","number","screen","telephone"]},"styles":["solid"],"unicode":"f10b","label":"Mobile Phone"},"mobile-alt":{"search":{"terms":["apple","call","cell phone","cellphone","device","iphone","number","screen","telephone"]},"styles":["solid"],"unicode":"f3cd","label":"Alternate Mobile"},"modx":{"search":{"terms":[]},"styles":["brands"],"unicode":"f285","label":"MODX"},"monero":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d0","label":"Monero"},"money-bill":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f0d6","label":"Money Bill"},"money-bill-alt":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid","regular"],"unicode":"f3d1","label":"Alternate Money Bill"},"money-bill-wave":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53a","label":"Wavy Money Bill"},"money-bill-wave-alt":{"search":{"terms":["buy","cash","checkout","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53b","label":"Alternate Wavy Money Bill"},"money-check":{"search":{"terms":["bank check","buy","checkout","cheque","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53c","label":"Money Check"},"money-check-alt":{"search":{"terms":["bank check","buy","checkout","cheque","money","payment","price","purchase"]},"styles":["solid"],"unicode":"f53d","label":"Alternate Money Check"},"monument":{"search":{"terms":["building","historic","landmark","memorable"]},"styles":["solid"],"unicode":"f5a6","label":"Monument"},"moon":{"search":{"terms":["contrast","crescent","dark","lunar","night"]},"styles":["solid","regular"],"unicode":"f186","label":"Moon"},"mortar-pestle":{"search":{"terms":["crush","culinary","grind","medical","mix","pharmacy","prescription","spices"]},"styles":["solid"],"unicode":"f5a7","label":"Mortar Pestle"},"mosque":{"search":{"terms":["building","islam","landmark","muslim"]},"styles":["solid"],"unicode":"f678","label":"Mosque"},"motorcycle":{"search":{"terms":["bike","machine","transportation","vehicle"]},"styles":["solid"],"unicode":"f21c","label":"Motorcycle"},"mountain":{"search":{"terms":["glacier","hiking","hill","landscape","travel","view"]},"styles":["solid"],"unicode":"f6fc","label":"Mountain"},"mouse":{"search":{"terms":["click","computer","cursor","input","peripheral"]},"styles":["solid"],"unicode":"f8cc","label":"Mouse"},"mouse-pointer":{"search":{"terms":["arrow","cursor","select"]},"styles":["solid"],"unicode":"f245","label":"Mouse Pointer"},"mug-hot":{"search":{"terms":["caliente","cocoa","coffee","cup","drink","holiday","hot chocolate","steam","tea","warmth"]},"styles":["solid"],"unicode":"f7b6","label":"Mug Hot"},"music":{"search":{"terms":["lyrics","melody","note","sing","sound"]},"styles":["solid"],"unicode":"f001","label":"Music"},"napster":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d2","label":"Napster"},"neos":{"search":{"terms":[]},"styles":["brands"],"unicode":"f612","label":"Neos"},"network-wired":{"search":{"terms":["computer","connect","ethernet","internet","intranet"]},"styles":["solid"],"unicode":"f6ff","label":"Wired Network"},"neuter":{"search":{"terms":[]},"styles":["solid"],"unicode":"f22c","label":"Neuter"},"newspaper":{"search":{"terms":["article","editorial","headline","journal","journalism","news","press"]},"styles":["solid","regular"],"unicode":"f1ea","label":"Newspaper"},"nimblr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5a8","label":"Nimblr"},"node":{"search":{"terms":[]},"styles":["brands"],"unicode":"f419","label":"Node.js"},"node-js":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d3","label":"Node.js JS"},"not-equal":{"search":{"terms":["arithmetic","compare","math"]},"styles":["solid"],"unicode":"f53e","label":"Not Equal"},"notes-medical":{"search":{"terms":["clipboard","doctor","ehr","health","history","records"]},"styles":["solid"],"unicode":"f481","label":"Medical Notes"},"npm":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d4","label":"npm"},"ns8":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d5","label":"NS8"},"nutritionix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d6","label":"Nutritionix"},"object-group":{"search":{"terms":["combine","copy","design","merge","select"]},"styles":["solid","regular"],"unicode":"f247","label":"Object Group"},"object-ungroup":{"search":{"terms":["copy","design","merge","select","separate"]},"styles":["solid","regular"],"unicode":"f248","label":"Object Ungroup"},"odnoklassniki":{"search":{"terms":[]},"styles":["brands"],"unicode":"f263","label":"Odnoklassniki"},"odnoklassniki-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f264","label":"Odnoklassniki Square"},"oil-can":{"search":{"terms":["auto","crude","gasoline","grease","lubricate","petroleum"]},"styles":["solid"],"unicode":"f613","label":"Oil Can"},"old-republic":{"search":{"terms":["politics","star wars"]},"styles":["brands"],"unicode":"f510","label":"Old Republic"},"om":{"search":{"terms":["buddhism","hinduism","jainism","mantra"]},"styles":["solid"],"unicode":"f679","label":"Om"},"opencart":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23d","label":"OpenCart"},"openid":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19b","label":"OpenID"},"opera":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26a","label":"Opera"},"optin-monster":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23c","label":"Optin Monster"},"orcid":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8d2","label":"ORCID"},"osi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41a","label":"Open Source Initiative"},"otter":{"search":{"terms":["animal","badger","fauna","fur","mammal","marten"]},"styles":["solid"],"unicode":"f700","label":"Otter"},"outdent":{"search":{"terms":["align","justify","paragraph","tab"]},"styles":["solid"],"unicode":"f03b","label":"Outdent"},"page4":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d7","label":"page4 Corporation"},"pagelines":{"search":{"terms":["eco","flora","leaf","leaves","nature","plant","tree"]},"styles":["brands"],"unicode":"f18c","label":"Pagelines"},"pager":{"search":{"terms":["beeper","cellphone","communication"]},"styles":["solid"],"unicode":"f815","label":"Pager"},"paint-brush":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f1fc","label":"Paint Brush"},"paint-roller":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f5aa","label":"Paint Roller"},"palette":{"search":{"terms":["acrylic","art","brush","color","fill","paint","pigment","watercolor"]},"styles":["solid"],"unicode":"f53f","label":"Palette"},"palfed":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d8","label":"Palfed"},"pallet":{"search":{"terms":["archive","box","inventory","shipping","warehouse"]},"styles":["solid"],"unicode":"f482","label":"Pallet"},"paper-plane":{"search":{"terms":["air","float","fold","mail","paper","send"]},"styles":["solid","regular"],"unicode":"f1d8","label":"Paper Plane"},"paperclip":{"search":{"terms":["attach","attachment","connect","link"]},"styles":["solid"],"unicode":"f0c6","label":"Paperclip"},"parachute-box":{"search":{"terms":["aid","assistance","rescue","supplies"]},"styles":["solid"],"unicode":"f4cd","label":"Parachute Box"},"paragraph":{"search":{"terms":["edit","format","text","writing"]},"styles":["solid"],"unicode":"f1dd","label":"paragraph"},"parking":{"search":{"terms":["auto","car","garage","meter"]},"styles":["solid"],"unicode":"f540","label":"Parking"},"passport":{"search":{"terms":["document","id","identification","issued","travel"]},"styles":["solid"],"unicode":"f5ab","label":"Passport"},"pastafarianism":{"search":{"terms":["agnosticism","atheism","flying spaghetti monster","fsm"]},"styles":["solid"],"unicode":"f67b","label":"Pastafarianism"},"paste":{"search":{"terms":["clipboard","copy","document","paper"]},"styles":["solid"],"unicode":"f0ea","label":"Paste"},"patreon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3d9","label":"Patreon"},"pause":{"search":{"terms":["hold","wait"]},"styles":["solid"],"unicode":"f04c","label":"pause"},"pause-circle":{"search":{"terms":["hold","wait"]},"styles":["solid","regular"],"unicode":"f28b","label":"Pause Circle"},"paw":{"search":{"terms":["animal","cat","dog","pet","print"]},"styles":["solid"],"unicode":"f1b0","label":"Paw"},"paypal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ed","label":"Paypal"},"peace":{"search":{"terms":["serenity","tranquility","truce","war"]},"styles":["solid"],"unicode":"f67c","label":"Peace"},"pen":{"search":{"terms":["design","edit","update","write"]},"styles":["solid"],"unicode":"f304","label":"Pen"},"pen-alt":{"search":{"terms":["design","edit","update","write"]},"styles":["solid"],"unicode":"f305","label":"Alternate Pen"},"pen-fancy":{"search":{"terms":["design","edit","fountain pen","update","write"]},"styles":["solid"],"unicode":"f5ac","label":"Pen Fancy"},"pen-nib":{"search":{"terms":["design","edit","fountain pen","update","write"]},"styles":["solid"],"unicode":"f5ad","label":"Pen Nib"},"pen-square":{"search":{"terms":["edit","pencil-square","update","write"]},"styles":["solid"],"unicode":"f14b","label":"Pen Square"},"pencil-alt":{"search":{"terms":["design","edit","pencil","update","write"]},"styles":["solid"],"unicode":"f303","label":"Alternate Pencil"},"pencil-ruler":{"search":{"terms":["design","draft","draw","pencil"]},"styles":["solid"],"unicode":"f5ae","label":"Pencil Ruler"},"penny-arcade":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","pax","tabletop"]},"styles":["brands"],"unicode":"f704","label":"Penny Arcade"},"people-arrows":{"search":{"terms":["covid-19","personal space","social distance","space","spread","users"]},"styles":["solid"],"unicode":"f968","label":"People Arrows"},"people-carry":{"search":{"terms":["box","carry","fragile","help","movers","package"]},"styles":["solid"],"unicode":"f4ce","label":"People Carry"},"pepper-hot":{"search":{"terms":["buffalo wings","capsicum","chili","chilli","habanero","jalapeno","mexican","spicy","tabasco","vegetable"]},"styles":["solid"],"unicode":"f816","label":"Hot Pepper"},"percent":{"search":{"terms":["discount","fraction","proportion","rate","ratio"]},"styles":["solid"],"unicode":"f295","label":"Percent"},"percentage":{"search":{"terms":["discount","fraction","proportion","rate","ratio"]},"styles":["solid"],"unicode":"f541","label":"Percentage"},"periscope":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3da","label":"Periscope"},"person-booth":{"search":{"terms":["changing","changing room","election","human","person","vote","voting"]},"styles":["solid"],"unicode":"f756","label":"Person Entering Booth"},"phabricator":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3db","label":"Phabricator"},"phoenix-framework":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3dc","label":"Phoenix Framework"},"phoenix-squadron":{"search":{"terms":[]},"styles":["brands"],"unicode":"f511","label":"Phoenix Squadron"},"phone":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f095","label":"Phone"},"phone-alt":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f879","label":"Alternate Phone"},"phone-slash":{"search":{"terms":["call","cancel","earphone","mute","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f3dd","label":"Phone Slash"},"phone-square":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f098","label":"Phone Square"},"phone-square-alt":{"search":{"terms":["call","earphone","number","support","telephone","voice"]},"styles":["solid"],"unicode":"f87b","label":"Alternate Phone Square"},"phone-volume":{"search":{"terms":["call","earphone","number","sound","support","telephone","voice","volume-control-phone"]},"styles":["solid"],"unicode":"f2a0","label":"Phone Volume"},"photo-video":{"search":{"terms":["av","film","image","library","media"]},"styles":["solid"],"unicode":"f87c","label":"Photo Video"},"php":{"search":{"terms":[]},"styles":["brands"],"unicode":"f457","label":"PHP"},"pied-piper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ae","label":"Pied Piper Logo"},"pied-piper-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a8","label":"Alternate Pied Piper Logo (Old)"},"pied-piper-hat":{"search":{"terms":["clothing"]},"styles":["brands"],"unicode":"f4e5","label":"Pied Piper Hat (Old)"},"pied-piper-pp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a7","label":"Pied Piper PP Logo (Old)"},"pied-piper-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f91e","label":"Pied Piper Square Logo (Old)"},"piggy-bank":{"search":{"terms":["bank","save","savings"]},"styles":["solid"],"unicode":"f4d3","label":"Piggy Bank"},"pills":{"search":{"terms":["drugs","medicine","prescription","tablets"]},"styles":["solid"],"unicode":"f484","label":"Pills"},"pinterest":{"search":{"terms":[]},"styles":["brands"],"unicode":"f0d2","label":"Pinterest"},"pinterest-p":{"search":{"terms":[]},"styles":["brands"],"unicode":"f231","label":"Pinterest P"},"pinterest-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f0d3","label":"Pinterest Square"},"pizza-slice":{"search":{"terms":["cheese","chicago","italian","mozzarella","new york","pepperoni","pie","slice","teenage mutant ninja turtles","tomato"]},"styles":["solid"],"unicode":"f818","label":"Pizza Slice"},"place-of-worship":{"search":{"terms":["building","church","holy","mosque","synagogue"]},"styles":["solid"],"unicode":"f67f","label":"Place of Worship"},"plane":{"search":{"terms":["airplane","destination","fly","location","mode","travel","trip"]},"styles":["solid"],"unicode":"f072","label":"plane"},"plane-arrival":{"search":{"terms":["airplane","arriving","destination","fly","land","landing","location","mode","travel","trip"]},"styles":["solid"],"unicode":"f5af","label":"Plane Arrival"},"plane-departure":{"search":{"terms":["airplane","departing","destination","fly","location","mode","take off","taking off","travel","trip"]},"styles":["solid"],"unicode":"f5b0","label":"Plane Departure"},"plane-slash":{"search":{"terms":["airplane mode","canceled","covid-19","delayed","grounded","travel"]},"styles":["solid"],"unicode":"f969","label":"Plane Slash"},"play":{"search":{"terms":["audio","music","playing","sound","start","video"]},"styles":["solid"],"unicode":"f04b","label":"play"},"play-circle":{"search":{"terms":["audio","music","playing","sound","start","video"]},"styles":["solid","regular"],"unicode":"f144","label":"Play Circle"},"playstation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3df","label":"PlayStation"},"plug":{"search":{"terms":["connect","electric","online","power"]},"styles":["solid"],"unicode":"f1e6","label":"Plug"},"plus":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid"],"unicode":"f067","label":"plus"},"plus-circle":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid"],"unicode":"f055","label":"Plus Circle"},"plus-square":{"search":{"terms":["add","create","expand","new","positive","shape"]},"styles":["solid","regular"],"unicode":"f0fe","label":"Plus Square"},"podcast":{"search":{"terms":["audio","broadcast","music","sound"]},"styles":["solid"],"unicode":"f2ce","label":"Podcast"},"poll":{"search":{"terms":["results","survey","trend","vote","voting"]},"styles":["solid"],"unicode":"f681","label":"Poll"},"poll-h":{"search":{"terms":["results","survey","trend","vote","voting"]},"styles":["solid"],"unicode":"f682","label":"Poll H"},"poo":{"search":{"terms":["crap","poop","shit","smile","turd"]},"styles":["solid"],"unicode":"f2fe","label":"Poo"},"poo-storm":{"search":{"terms":["bolt","cloud","euphemism","lightning","mess","poop","shit","turd"]},"styles":["solid"],"unicode":"f75a","label":"Poo Storm"},"poop":{"search":{"terms":["crap","poop","shit","smile","turd"]},"styles":["solid"],"unicode":"f619","label":"Poop"},"portrait":{"search":{"terms":["id","image","photo","picture","selfie"]},"styles":["solid"],"unicode":"f3e0","label":"Portrait"},"pound-sign":{"search":{"terms":["currency","gbp","money"]},"styles":["solid"],"unicode":"f154","label":"Pound Sign"},"power-off":{"search":{"terms":["cancel","computer","on","reboot","restart"]},"styles":["solid"],"unicode":"f011","label":"Power Off"},"pray":{"search":{"terms":["kneel","preach","religion","worship"]},"styles":["solid"],"unicode":"f683","label":"Pray"},"praying-hands":{"search":{"terms":["kneel","preach","religion","worship"]},"styles":["solid"],"unicode":"f684","label":"Praying Hands"},"prescription":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f5b1","label":"Prescription"},"prescription-bottle":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f485","label":"Prescription Bottle"},"prescription-bottle-alt":{"search":{"terms":["drugs","medical","medicine","pharmacy","rx"]},"styles":["solid"],"unicode":"f486","label":"Alternate Prescription Bottle"},"print":{"search":{"terms":["business","copy","document","office","paper"]},"styles":["solid"],"unicode":"f02f","label":"print"},"procedures":{"search":{"terms":["EKG","bed","electrocardiogram","health","hospital","life","patient","vital"]},"styles":["solid"],"unicode":"f487","label":"Procedures"},"product-hunt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f288","label":"Product Hunt"},"project-diagram":{"search":{"terms":["chart","graph","network","pert"]},"styles":["solid"],"unicode":"f542","label":"Project Diagram"},"pump-medical":{"search":{"terms":["anti-bacterial","clean","covid-19","disinfect","hygiene","medical grade","sanitizer","soap"]},"styles":["solid"],"unicode":"f96a","label":"Pump Medical"},"pump-soap":{"search":{"terms":["anti-bacterial","clean","covid-19","disinfect","hygiene","sanitizer","soap"]},"styles":["solid"],"unicode":"f96b","label":"Pump Soap"},"pushed":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e1","label":"Pushed"},"puzzle-piece":{"search":{"terms":["add-on","addon","game","section"]},"styles":["solid"],"unicode":"f12e","label":"Puzzle Piece"},"python":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e2","label":"Python"},"qq":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d6","label":"QQ"},"qrcode":{"search":{"terms":["barcode","info","information","scan"]},"styles":["solid"],"unicode":"f029","label":"qrcode"},"question":{"search":{"terms":["help","information","support","unknown"]},"styles":["solid"],"unicode":"f128","label":"Question"},"question-circle":{"search":{"terms":["help","information","support","unknown"]},"styles":["solid","regular"],"unicode":"f059","label":"Question Circle"},"quidditch":{"search":{"terms":["ball","bludger","broom","golden snitch","harry potter","hogwarts","quaffle","sport","wizard"]},"styles":["solid"],"unicode":"f458","label":"Quidditch"},"quinscape":{"search":{"terms":[]},"styles":["brands"],"unicode":"f459","label":"QuinScape"},"quora":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c4","label":"Quora"},"quote-left":{"search":{"terms":["mention","note","phrase","text","type"]},"styles":["solid"],"unicode":"f10d","label":"quote-left"},"quote-right":{"search":{"terms":["mention","note","phrase","text","type"]},"styles":["solid"],"unicode":"f10e","label":"quote-right"},"quran":{"search":{"terms":["book","islam","muslim","religion"]},"styles":["solid"],"unicode":"f687","label":"Quran"},"r-project":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f7","label":"R Project"},"radiation":{"search":{"terms":["danger","dangerous","deadly","hazard","nuclear","radioactive","warning"]},"styles":["solid"],"unicode":"f7b9","label":"Radiation"},"radiation-alt":{"search":{"terms":["danger","dangerous","deadly","hazard","nuclear","radioactive","warning"]},"styles":["solid"],"unicode":"f7ba","label":"Alternate Radiation"},"rainbow":{"search":{"terms":["gold","leprechaun","prism","rain","sky"]},"styles":["solid"],"unicode":"f75b","label":"Rainbow"},"random":{"search":{"terms":["arrows","shuffle","sort","swap","switch","transfer"]},"styles":["solid"],"unicode":"f074","label":"random"},"raspberry-pi":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7bb","label":"Raspberry Pi"},"ravelry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d9","label":"Ravelry"},"react":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41b","label":"React"},"reacteurope":{"search":{"terms":[]},"styles":["brands"],"unicode":"f75d","label":"ReactEurope"},"readme":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4d5","label":"ReadMe"},"rebel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d0","label":"Rebel Alliance"},"receipt":{"search":{"terms":["check","invoice","money","pay","table"]},"styles":["solid"],"unicode":"f543","label":"Receipt"},"record-vinyl":{"search":{"terms":["LP","album","analog","music","phonograph","sound"]},"styles":["solid"],"unicode":"f8d9","label":"Record Vinyl"},"recycle":{"search":{"terms":["Waste","compost","garbage","reuse","trash"]},"styles":["solid"],"unicode":"f1b8","label":"Recycle"},"red-river":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e3","label":"red river"},"reddit":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a1","label":"reddit Logo"},"reddit-alien":{"search":{"terms":[]},"styles":["brands"],"unicode":"f281","label":"reddit Alien"},"reddit-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a2","label":"reddit Square"},"redhat":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7bc","label":"Redhat"},"redo":{"search":{"terms":["forward","refresh","reload","repeat"]},"styles":["solid"],"unicode":"f01e","label":"Redo"},"redo-alt":{"search":{"terms":["forward","refresh","reload","repeat"]},"styles":["solid"],"unicode":"f2f9","label":"Alternate Redo"},"registered":{"search":{"terms":["copyright","mark","trademark"]},"styles":["solid","regular"],"unicode":"f25d","label":"Registered Trademark"},"remove-format":{"search":{"terms":["cancel","font","format","remove","style","text"]},"styles":["solid"],"unicode":"f87d","label":"Remove Format"},"renren":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18b","label":"Renren"},"reply":{"search":{"terms":["mail","message","respond"]},"styles":["solid"],"unicode":"f3e5","label":"Reply"},"reply-all":{"search":{"terms":["mail","message","respond"]},"styles":["solid"],"unicode":"f122","label":"reply-all"},"replyd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e6","label":"replyd"},"republican":{"search":{"terms":["american","conservative","election","elephant","politics","republican party","right","right-wing","usa"]},"styles":["solid"],"unicode":"f75e","label":"Republican"},"researchgate":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f8","label":"Researchgate"},"resolving":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e7","label":"Resolving"},"restroom":{"search":{"terms":["bathroom","john","loo","potty","washroom","waste","wc"]},"styles":["solid"],"unicode":"f7bd","label":"Restroom"},"retweet":{"search":{"terms":["refresh","reload","share","swap"]},"styles":["solid"],"unicode":"f079","label":"Retweet"},"rev":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5b2","label":"Rev.io"},"ribbon":{"search":{"terms":["badge","cause","lapel","pin"]},"styles":["solid"],"unicode":"f4d6","label":"Ribbon"},"ring":{"search":{"terms":["Dungeons & Dragons","Gollum","band","binding","d&d","dnd","engagement","fantasy","gold","jewelry","marriage","precious"]},"styles":["solid"],"unicode":"f70b","label":"Ring"},"road":{"search":{"terms":["highway","map","pavement","route","street","travel"]},"styles":["solid"],"unicode":"f018","label":"road"},"robot":{"search":{"terms":["android","automate","computer","cyborg"]},"styles":["solid"],"unicode":"f544","label":"Robot"},"rocket":{"search":{"terms":["aircraft","app","jet","launch","nasa","space"]},"styles":["solid"],"unicode":"f135","label":"rocket"},"rocketchat":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e8","label":"Rocket.Chat"},"rockrms":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3e9","label":"Rockrms"},"route":{"search":{"terms":["directions","navigation","travel"]},"styles":["solid"],"unicode":"f4d7","label":"Route"},"rss":{"search":{"terms":["blog","feed","journal","news","writing"]},"styles":["solid"],"unicode":"f09e","label":"rss"},"rss-square":{"search":{"terms":["blog","feed","journal","news","writing"]},"styles":["solid"],"unicode":"f143","label":"RSS Square"},"ruble-sign":{"search":{"terms":["currency","money","rub"]},"styles":["solid"],"unicode":"f158","label":"Ruble Sign"},"ruler":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f545","label":"Ruler"},"ruler-combined":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f546","label":"Ruler Combined"},"ruler-horizontal":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f547","label":"Ruler Horizontal"},"ruler-vertical":{"search":{"terms":["design","draft","length","measure","planning"]},"styles":["solid"],"unicode":"f548","label":"Ruler Vertical"},"running":{"search":{"terms":["exercise","health","jog","person","run","sport","sprint"]},"styles":["solid"],"unicode":"f70c","label":"Running"},"rupee-sign":{"search":{"terms":["currency","indian","inr","money"]},"styles":["solid"],"unicode":"f156","label":"Indian Rupee Sign"},"sad-cry":{"search":{"terms":["emoticon","face","tear","tears"]},"styles":["solid","regular"],"unicode":"f5b3","label":"Crying Face"},"sad-tear":{"search":{"terms":["emoticon","face","tear","tears"]},"styles":["solid","regular"],"unicode":"f5b4","label":"Loudly Crying Face"},"safari":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f267","label":"Safari"},"salesforce":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83b","label":"Salesforce"},"sass":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41e","label":"Sass"},"satellite":{"search":{"terms":["communications","hardware","orbit","space"]},"styles":["solid"],"unicode":"f7bf","label":"Satellite"},"satellite-dish":{"search":{"terms":["SETI","communications","hardware","receiver","saucer","signal","space"]},"styles":["solid"],"unicode":"f7c0","label":"Satellite Dish"},"save":{"search":{"terms":["disk","download","floppy","floppy-o"]},"styles":["solid","regular"],"unicode":"f0c7","label":"Save"},"schlix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ea","label":"SCHLIX"},"school":{"search":{"terms":["building","education","learn","student","teacher"]},"styles":["solid"],"unicode":"f549","label":"School"},"screwdriver":{"search":{"terms":["admin","fix","mechanic","repair","settings","tool"]},"styles":["solid"],"unicode":"f54a","label":"Screwdriver"},"scribd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f28a","label":"Scribd"},"scroll":{"search":{"terms":["Dungeons & Dragons","announcement","d&d","dnd","fantasy","paper","script"]},"styles":["solid"],"unicode":"f70e","label":"Scroll"},"sd-card":{"search":{"terms":["image","memory","photo","save"]},"styles":["solid"],"unicode":"f7c2","label":"Sd Card"},"search":{"search":{"terms":["bigger","enlarge","find","magnify","preview","zoom"]},"styles":["solid"],"unicode":"f002","label":"Search"},"search-dollar":{"search":{"terms":["bigger","enlarge","find","magnify","money","preview","zoom"]},"styles":["solid"],"unicode":"f688","label":"Search Dollar"},"search-location":{"search":{"terms":["bigger","enlarge","find","magnify","preview","zoom"]},"styles":["solid"],"unicode":"f689","label":"Search Location"},"search-minus":{"search":{"terms":["minify","negative","smaller","zoom","zoom out"]},"styles":["solid"],"unicode":"f010","label":"Search Minus"},"search-plus":{"search":{"terms":["bigger","enlarge","magnify","positive","zoom","zoom in"]},"styles":["solid"],"unicode":"f00e","label":"Search Plus"},"searchengin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3eb","label":"Searchengin"},"seedling":{"search":{"terms":["flora","grow","plant","vegan"]},"styles":["solid"],"unicode":"f4d8","label":"Seedling"},"sellcast":{"search":{"terms":["eercast"]},"styles":["brands"],"unicode":"f2da","label":"Sellcast"},"sellsy":{"search":{"terms":[]},"styles":["brands"],"unicode":"f213","label":"Sellsy"},"server":{"search":{"terms":["computer","cpu","database","hardware","network"]},"styles":["solid"],"unicode":"f233","label":"Server"},"servicestack":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ec","label":"Servicestack"},"shapes":{"search":{"terms":["blocks","build","circle","square","triangle"]},"styles":["solid"],"unicode":"f61f","label":"Shapes"},"share":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f064","label":"Share"},"share-alt":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f1e0","label":"Alternate Share"},"share-alt-square":{"search":{"terms":["forward","save","send","social"]},"styles":["solid"],"unicode":"f1e1","label":"Alternate Share Square"},"share-square":{"search":{"terms":["forward","save","send","social"]},"styles":["solid","regular"],"unicode":"f14d","label":"Share Square"},"shekel-sign":{"search":{"terms":["currency","ils","money"]},"styles":["solid"],"unicode":"f20b","label":"Shekel Sign"},"shield-alt":{"search":{"terms":["achievement","award","block","defend","security","winner"]},"styles":["solid"],"unicode":"f3ed","label":"Alternate Shield"},"shield-virus":{"search":{"terms":["antibodies","barrier","covid-19","health","protect"]},"styles":["solid"],"unicode":"f96c","label":"Shield Virus"},"ship":{"search":{"terms":["boat","sea","water"]},"styles":["solid"],"unicode":"f21a","label":"Ship"},"shipping-fast":{"search":{"terms":["express","fedex","mail","overnight","package","ups"]},"styles":["solid"],"unicode":"f48b","label":"Shipping Fast"},"shirtsinbulk":{"search":{"terms":[]},"styles":["brands"],"unicode":"f214","label":"Shirts in Bulk"},"shoe-prints":{"search":{"terms":["feet","footprints","steps","walk"]},"styles":["solid"],"unicode":"f54b","label":"Shoe Prints"},"shopify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f957","label":"Shopify"},"shopping-bag":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f290","label":"Shopping Bag"},"shopping-basket":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f291","label":"Shopping Basket"},"shopping-cart":{"search":{"terms":["buy","checkout","grocery","payment","purchase"]},"styles":["solid"],"unicode":"f07a","label":"shopping-cart"},"shopware":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5b5","label":"Shopware"},"shower":{"search":{"terms":["bath","clean","faucet","water"]},"styles":["solid"],"unicode":"f2cc","label":"Shower"},"shuttle-van":{"search":{"terms":["airport","machine","public-transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5b6","label":"Shuttle Van"},"sign":{"search":{"terms":["directions","real estate","signage","wayfinding"]},"styles":["solid"],"unicode":"f4d9","label":"Sign"},"sign-in-alt":{"search":{"terms":["arrow","enter","join","log in","login","sign in","sign up","sign-in","signin","signup"]},"styles":["solid"],"unicode":"f2f6","label":"Alternate Sign In"},"sign-language":{"search":{"terms":["Translate","asl","deaf","hands"]},"styles":["solid"],"unicode":"f2a7","label":"Sign Language"},"sign-out-alt":{"search":{"terms":["arrow","exit","leave","log out","logout","sign-out"]},"styles":["solid"],"unicode":"f2f5","label":"Alternate Sign Out"},"signal":{"search":{"terms":["bars","graph","online","reception","status"]},"styles":["solid"],"unicode":"f012","label":"signal"},"signature":{"search":{"terms":["John Hancock","cursive","name","writing"]},"styles":["solid"],"unicode":"f5b7","label":"Signature"},"sim-card":{"search":{"terms":["hard drive","hardware","portable","storage","technology","tiny"]},"styles":["solid"],"unicode":"f7c4","label":"SIM Card"},"simplybuilt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f215","label":"SimplyBuilt"},"sistrix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3ee","label":"SISTRIX"},"sitemap":{"search":{"terms":["directory","hierarchy","ia","information architecture","organization"]},"styles":["solid"],"unicode":"f0e8","label":"Sitemap"},"sith":{"search":{"terms":[]},"styles":["brands"],"unicode":"f512","label":"Sith"},"skating":{"search":{"terms":["activity","figure skating","fitness","ice","person","winter"]},"styles":["solid"],"unicode":"f7c5","label":"Skating"},"sketch":{"search":{"terms":["app","design","interface"]},"styles":["brands"],"unicode":"f7c6","label":"Sketch"},"skiing":{"search":{"terms":["activity","downhill","fast","fitness","olympics","outdoors","person","seasonal","slalom"]},"styles":["solid"],"unicode":"f7c9","label":"Skiing"},"skiing-nordic":{"search":{"terms":["activity","cross country","fitness","outdoors","person","seasonal"]},"styles":["solid"],"unicode":"f7ca","label":"Skiing Nordic"},"skull":{"search":{"terms":["bones","skeleton","x-ray","yorick"]},"styles":["solid"],"unicode":"f54c","label":"Skull"},"skull-crossbones":{"search":{"terms":["Dungeons & Dragons","alert","bones","d&d","danger","dead","deadly","death","dnd","fantasy","halloween","holiday","jolly-roger","pirate","poison","skeleton","warning"]},"styles":["solid"],"unicode":"f714","label":"Skull & Crossbones"},"skyatlas":{"search":{"terms":[]},"styles":["brands"],"unicode":"f216","label":"skyatlas"},"skype":{"search":{"terms":[]},"styles":["brands"],"unicode":"f17e","label":"Skype"},"slack":{"search":{"terms":["anchor","hash","hashtag"]},"styles":["brands"],"unicode":"f198","label":"Slack Logo"},"slack-hash":{"search":{"terms":["anchor","hash","hashtag"]},"styles":["brands"],"unicode":"f3ef","label":"Slack Hashtag"},"slash":{"search":{"terms":["cancel","close","mute","off","stop","x"]},"styles":["solid"],"unicode":"f715","label":"Slash"},"sleigh":{"search":{"terms":["christmas","claus","fly","holiday","santa","sled","snow","xmas"]},"styles":["solid"],"unicode":"f7cc","label":"Sleigh"},"sliders-h":{"search":{"terms":["adjust","settings","sliders","toggle"]},"styles":["solid"],"unicode":"f1de","label":"Horizontal Sliders"},"slideshare":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e7","label":"Slideshare"},"smile":{"search":{"terms":["approve","emoticon","face","happy","rating","satisfied"]},"styles":["solid","regular"],"unicode":"f118","label":"Smiling Face"},"smile-beam":{"search":{"terms":["emoticon","face","happy","positive"]},"styles":["solid","regular"],"unicode":"f5b8","label":"Beaming Face With Smiling Eyes"},"smile-wink":{"search":{"terms":["emoticon","face","happy","hint","joke"]},"styles":["solid","regular"],"unicode":"f4da","label":"Winking Face"},"smog":{"search":{"terms":["dragon","fog","haze","pollution","smoke","weather"]},"styles":["solid"],"unicode":"f75f","label":"Smog"},"smoking":{"search":{"terms":["cancer","cigarette","nicotine","smoking status","tobacco"]},"styles":["solid"],"unicode":"f48d","label":"Smoking"},"smoking-ban":{"search":{"terms":["ban","cancel","no smoking","non-smoking"]},"styles":["solid"],"unicode":"f54d","label":"Smoking Ban"},"sms":{"search":{"terms":["chat","conversation","message","mobile","notification","phone","sms","texting"]},"styles":["solid"],"unicode":"f7cd","label":"SMS"},"snapchat":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ab","label":"Snapchat"},"snapchat-ghost":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ac","label":"Snapchat Ghost"},"snapchat-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2ad","label":"Snapchat Square"},"snowboarding":{"search":{"terms":["activity","fitness","olympics","outdoors","person"]},"styles":["solid"],"unicode":"f7ce","label":"Snowboarding"},"snowflake":{"search":{"terms":["precipitation","rain","winter"]},"styles":["solid","regular"],"unicode":"f2dc","label":"Snowflake"},"snowman":{"search":{"terms":["decoration","frost","frosty","holiday"]},"styles":["solid"],"unicode":"f7d0","label":"Snowman"},"snowplow":{"search":{"terms":["clean up","cold","road","storm","winter"]},"styles":["solid"],"unicode":"f7d2","label":"Snowplow"},"soap":{"search":{"terms":["bubbles","clean","covid-19","hygiene","wash"]},"styles":["solid"],"unicode":"f96e","label":"Soap"},"socks":{"search":{"terms":["business socks","business time","clothing","feet","flight of the conchords","wednesday"]},"styles":["solid"],"unicode":"f696","label":"Socks"},"solar-panel":{"search":{"terms":["clean","eco-friendly","energy","green","sun"]},"styles":["solid"],"unicode":"f5ba","label":"Solar Panel"},"sort":{"search":{"terms":["filter","order"]},"styles":["solid"],"unicode":"f0dc","label":"Sort"},"sort-alpha-down":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-asc"]},"styles":["solid"],"unicode":"f15d","label":"Sort Alphabetical Down"},"sort-alpha-down-alt":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-asc"]},"styles":["solid"],"unicode":"f881","label":"Alternate Sort Alphabetical Down"},"sort-alpha-up":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-desc"]},"styles":["solid"],"unicode":"f15e","label":"Sort Alphabetical Up"},"sort-alpha-up-alt":{"search":{"terms":["alphabetical","arrange","filter","order","sort-alpha-desc"]},"styles":["solid"],"unicode":"f882","label":"Alternate Sort Alphabetical Up"},"sort-amount-down":{"search":{"terms":["arrange","filter","number","order","sort-amount-asc"]},"styles":["solid"],"unicode":"f160","label":"Sort Amount Down"},"sort-amount-down-alt":{"search":{"terms":["arrange","filter","order","sort-amount-asc"]},"styles":["solid"],"unicode":"f884","label":"Alternate Sort Amount Down"},"sort-amount-up":{"search":{"terms":["arrange","filter","order","sort-amount-desc"]},"styles":["solid"],"unicode":"f161","label":"Sort Amount Up"},"sort-amount-up-alt":{"search":{"terms":["arrange","filter","order","sort-amount-desc"]},"styles":["solid"],"unicode":"f885","label":"Alternate Sort Amount Up"},"sort-down":{"search":{"terms":["arrow","descending","filter","order","sort-desc"]},"styles":["solid"],"unicode":"f0dd","label":"Sort Down (Descending)"},"sort-numeric-down":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-asc"]},"styles":["solid"],"unicode":"f162","label":"Sort Numeric Down"},"sort-numeric-down-alt":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-asc"]},"styles":["solid"],"unicode":"f886","label":"Alternate Sort Numeric Down"},"sort-numeric-up":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-desc"]},"styles":["solid"],"unicode":"f163","label":"Sort Numeric Up"},"sort-numeric-up-alt":{"search":{"terms":["arrange","filter","numbers","order","sort-numeric-desc"]},"styles":["solid"],"unicode":"f887","label":"Alternate Sort Numeric Up"},"sort-up":{"search":{"terms":["arrow","ascending","filter","order","sort-asc"]},"styles":["solid"],"unicode":"f0de","label":"Sort Up (Ascending)"},"soundcloud":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1be","label":"SoundCloud"},"sourcetree":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7d3","label":"Sourcetree"},"spa":{"search":{"terms":["flora","massage","mindfulness","plant","wellness"]},"styles":["solid"],"unicode":"f5bb","label":"Spa"},"space-shuttle":{"search":{"terms":["astronaut","machine","nasa","rocket","space","transportation"]},"styles":["solid"],"unicode":"f197","label":"Space Shuttle"},"speakap":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f3","label":"Speakap"},"speaker-deck":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83c","label":"Speaker Deck"},"spell-check":{"search":{"terms":["dictionary","edit","editor","grammar","text"]},"styles":["solid"],"unicode":"f891","label":"Spell Check"},"spider":{"search":{"terms":["arachnid","bug","charlotte","crawl","eight","halloween"]},"styles":["solid"],"unicode":"f717","label":"Spider"},"spinner":{"search":{"terms":["circle","loading","progress"]},"styles":["solid"],"unicode":"f110","label":"Spinner"},"splotch":{"search":{"terms":["Ink","blob","blotch","glob","stain"]},"styles":["solid"],"unicode":"f5bc","label":"Splotch"},"spotify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1bc","label":"Spotify"},"spray-can":{"search":{"terms":["Paint","aerosol","design","graffiti","tag"]},"styles":["solid"],"unicode":"f5bd","label":"Spray Can"},"square":{"search":{"terms":["block","box","shape"]},"styles":["solid","regular"],"unicode":"f0c8","label":"Square"},"square-full":{"search":{"terms":["block","box","shape"]},"styles":["solid"],"unicode":"f45c","label":"Square Full"},"square-root-alt":{"search":{"terms":["arithmetic","calculus","division","math"]},"styles":["solid"],"unicode":"f698","label":"Alternate Square Root"},"squarespace":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5be","label":"Squarespace"},"stack-exchange":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18d","label":"Stack Exchange"},"stack-overflow":{"search":{"terms":[]},"styles":["brands"],"unicode":"f16c","label":"Stack Overflow"},"stackpath":{"search":{"terms":[]},"styles":["brands"],"unicode":"f842","label":"Stackpath"},"stamp":{"search":{"terms":["art","certificate","imprint","rubber","seal"]},"styles":["solid"],"unicode":"f5bf","label":"Stamp"},"star":{"search":{"terms":["achievement","award","favorite","important","night","rating","score"]},"styles":["solid","regular"],"unicode":"f005","label":"Star"},"star-and-crescent":{"search":{"terms":["islam","muslim","religion"]},"styles":["solid"],"unicode":"f699","label":"Star and Crescent"},"star-half":{"search":{"terms":["achievement","award","rating","score","star-half-empty","star-half-full"]},"styles":["solid","regular"],"unicode":"f089","label":"star-half"},"star-half-alt":{"search":{"terms":["achievement","award","rating","score","star-half-empty","star-half-full"]},"styles":["solid"],"unicode":"f5c0","label":"Alternate Star Half"},"star-of-david":{"search":{"terms":["jewish","judaism","religion"]},"styles":["solid"],"unicode":"f69a","label":"Star of David"},"star-of-life":{"search":{"terms":["doctor","emt","first aid","health","medical"]},"styles":["solid"],"unicode":"f621","label":"Star of Life"},"staylinked":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f5","label":"StayLinked"},"steam":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b6","label":"Steam"},"steam-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b7","label":"Steam Square"},"steam-symbol":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f6","label":"Steam Symbol"},"step-backward":{"search":{"terms":["beginning","first","previous","rewind","start"]},"styles":["solid"],"unicode":"f048","label":"step-backward"},"step-forward":{"search":{"terms":["end","last","next"]},"styles":["solid"],"unicode":"f051","label":"step-forward"},"stethoscope":{"search":{"terms":["covid-19","diagnosis","doctor","general practitioner","hospital","infirmary","medicine","office","outpatient"]},"styles":["solid"],"unicode":"f0f1","label":"Stethoscope"},"sticker-mule":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f7","label":"Sticker Mule"},"sticky-note":{"search":{"terms":["message","note","paper","reminder","sticker"]},"styles":["solid","regular"],"unicode":"f249","label":"Sticky Note"},"stop":{"search":{"terms":["block","box","square"]},"styles":["solid"],"unicode":"f04d","label":"stop"},"stop-circle":{"search":{"terms":["block","box","circle","square"]},"styles":["solid","regular"],"unicode":"f28d","label":"Stop Circle"},"stopwatch":{"search":{"terms":["clock","reminder","time"]},"styles":["solid"],"unicode":"f2f2","label":"Stopwatch"},"stopwatch-20":{"search":{"terms":["ABCs","countdown","covid-19","happy birthday","i will survive","reminder","seconds","time","timer"]},"styles":["solid"],"unicode":"f96f","label":"Stopwatch 20"},"store":{"search":{"terms":["building","buy","purchase","shopping"]},"styles":["solid"],"unicode":"f54e","label":"Store"},"store-alt":{"search":{"terms":["building","buy","purchase","shopping"]},"styles":["solid"],"unicode":"f54f","label":"Alternate Store"},"store-alt-slash":{"search":{"terms":["building","buy","closed","covid-19","purchase","shopping"]},"styles":["solid"],"unicode":"f970","label":"Alternate Store Slash"},"store-slash":{"search":{"terms":["building","buy","closed","covid-19","purchase","shopping"]},"styles":["solid"],"unicode":"f971","label":"Store Slash"},"strava":{"search":{"terms":[]},"styles":["brands"],"unicode":"f428","label":"Strava"},"stream":{"search":{"terms":["flow","list","timeline"]},"styles":["solid"],"unicode":"f550","label":"Stream"},"street-view":{"search":{"terms":["directions","location","map","navigation"]},"styles":["solid"],"unicode":"f21d","label":"Street View"},"strikethrough":{"search":{"terms":["cancel","edit","font","format","text","type"]},"styles":["solid"],"unicode":"f0cc","label":"Strikethrough"},"stripe":{"search":{"terms":[]},"styles":["brands"],"unicode":"f429","label":"Stripe"},"stripe-s":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42a","label":"Stripe S"},"stroopwafel":{"search":{"terms":["caramel","cookie","dessert","sweets","waffle"]},"styles":["solid"],"unicode":"f551","label":"Stroopwafel"},"studiovinari":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f8","label":"Studio Vinari"},"stumbleupon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a4","label":"StumbleUpon Logo"},"stumbleupon-circle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a3","label":"StumbleUpon Circle"},"subscript":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f12c","label":"subscript"},"subway":{"search":{"terms":["machine","railway","train","transportation","vehicle"]},"styles":["solid"],"unicode":"f239","label":"Subway"},"suitcase":{"search":{"terms":["baggage","luggage","move","suitcase","travel","trip"]},"styles":["solid"],"unicode":"f0f2","label":"Suitcase"},"suitcase-rolling":{"search":{"terms":["baggage","luggage","move","suitcase","travel","trip"]},"styles":["solid"],"unicode":"f5c1","label":"Suitcase Rolling"},"sun":{"search":{"terms":["brighten","contrast","day","lighter","sol","solar","star","weather"]},"styles":["solid","regular"],"unicode":"f185","label":"Sun"},"superpowers":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2dd","label":"Superpowers"},"superscript":{"search":{"terms":["edit","exponential","font","format","text","type"]},"styles":["solid"],"unicode":"f12b","label":"superscript"},"supple":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3f9","label":"Supple"},"surprise":{"search":{"terms":["emoticon","face","shocked"]},"styles":["solid","regular"],"unicode":"f5c2","label":"Hushed Face"},"suse":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7d6","label":"Suse"},"swatchbook":{"search":{"terms":["Pantone","color","design","hue","palette"]},"styles":["solid"],"unicode":"f5c3","label":"Swatchbook"},"swift":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8e1","label":"Swift"},"swimmer":{"search":{"terms":["athlete","head","man","olympics","person","pool","water"]},"styles":["solid"],"unicode":"f5c4","label":"Swimmer"},"swimming-pool":{"search":{"terms":["ladder","recreation","swim","water"]},"styles":["solid"],"unicode":"f5c5","label":"Swimming Pool"},"symfony":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83d","label":"Symfony"},"synagogue":{"search":{"terms":["building","jewish","judaism","religion","star of david","temple"]},"styles":["solid"],"unicode":"f69b","label":"Synagogue"},"sync":{"search":{"terms":["exchange","refresh","reload","rotate","swap"]},"styles":["solid"],"unicode":"f021","label":"Sync"},"sync-alt":{"search":{"terms":["exchange","refresh","reload","rotate","swap"]},"styles":["solid"],"unicode":"f2f1","label":"Alternate Sync"},"syringe":{"search":{"terms":["covid-19","doctor","immunizations","medical","needle"]},"styles":["solid"],"unicode":"f48e","label":"Syringe"},"table":{"search":{"terms":["data","excel","spreadsheet"]},"styles":["solid"],"unicode":"f0ce","label":"table"},"table-tennis":{"search":{"terms":["ball","paddle","ping pong"]},"styles":["solid"],"unicode":"f45d","label":"Table Tennis"},"tablet":{"search":{"terms":["apple","device","ipad","kindle","screen"]},"styles":["solid"],"unicode":"f10a","label":"tablet"},"tablet-alt":{"search":{"terms":["apple","device","ipad","kindle","screen"]},"styles":["solid"],"unicode":"f3fa","label":"Alternate Tablet"},"tablets":{"search":{"terms":["drugs","medicine","pills","prescription"]},"styles":["solid"],"unicode":"f490","label":"Tablets"},"tachometer-alt":{"search":{"terms":["dashboard","fast","odometer","speed","speedometer"]},"styles":["solid"],"unicode":"f3fd","label":"Alternate Tachometer"},"tag":{"search":{"terms":["discount","label","price","shopping"]},"styles":["solid"],"unicode":"f02b","label":"tag"},"tags":{"search":{"terms":["discount","label","price","shopping"]},"styles":["solid"],"unicode":"f02c","label":"tags"},"tape":{"search":{"terms":["design","package","sticky"]},"styles":["solid"],"unicode":"f4db","label":"Tape"},"tasks":{"search":{"terms":["checklist","downloading","downloads","loading","progress","project management","settings","to do"]},"styles":["solid"],"unicode":"f0ae","label":"Tasks"},"taxi":{"search":{"terms":["cab","cabbie","car","car service","lyft","machine","transportation","travel","uber","vehicle"]},"styles":["solid"],"unicode":"f1ba","label":"Taxi"},"teamspeak":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f9","label":"TeamSpeak"},"teeth":{"search":{"terms":["bite","dental","dentist","gums","mouth","smile","tooth"]},"styles":["solid"],"unicode":"f62e","label":"Teeth"},"teeth-open":{"search":{"terms":["dental","dentist","gums bite","mouth","smile","tooth"]},"styles":["solid"],"unicode":"f62f","label":"Teeth Open"},"telegram":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2c6","label":"Telegram"},"telegram-plane":{"search":{"terms":[]},"styles":["brands"],"unicode":"f3fe","label":"Telegram Plane"},"temperature-high":{"search":{"terms":["cook","covid-19","mercury","summer","thermometer","warm"]},"styles":["solid"],"unicode":"f769","label":"High Temperature"},"temperature-low":{"search":{"terms":["cold","cool","covid-19","mercury","thermometer","winter"]},"styles":["solid"],"unicode":"f76b","label":"Low Temperature"},"tencent-weibo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d5","label":"Tencent Weibo"},"tenge":{"search":{"terms":["currency","kazakhstan","money","price"]},"styles":["solid"],"unicode":"f7d7","label":"Tenge"},"terminal":{"search":{"terms":["code","command","console","development","prompt"]},"styles":["solid"],"unicode":"f120","label":"Terminal"},"text-height":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f034","label":"text-height"},"text-width":{"search":{"terms":["edit","font","format","text","type"]},"styles":["solid"],"unicode":"f035","label":"Text Width"},"th":{"search":{"terms":["blocks","boxes","grid","squares"]},"styles":["solid"],"unicode":"f00a","label":"th"},"th-large":{"search":{"terms":["blocks","boxes","grid","squares"]},"styles":["solid"],"unicode":"f009","label":"th-large"},"th-list":{"search":{"terms":["checklist","completed","done","finished","ol","todo","ul"]},"styles":["solid"],"unicode":"f00b","label":"th-list"},"the-red-yeti":{"search":{"terms":[]},"styles":["brands"],"unicode":"f69d","label":"The Red Yeti"},"theater-masks":{"search":{"terms":["comedy","perform","theatre","tragedy"]},"styles":["solid"],"unicode":"f630","label":"Theater Masks"},"themeco":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5c6","label":"Themeco"},"themeisle":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b2","label":"ThemeIsle"},"thermometer":{"search":{"terms":["covid-19","mercury","status","temperature"]},"styles":["solid"],"unicode":"f491","label":"Thermometer"},"thermometer-empty":{"search":{"terms":["cold","mercury","status","temperature"]},"styles":["solid"],"unicode":"f2cb","label":"Thermometer Empty"},"thermometer-full":{"search":{"terms":["fever","hot","mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c7","label":"Thermometer Full"},"thermometer-half":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c9","label":"Thermometer 1/2 Full"},"thermometer-quarter":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2ca","label":"Thermometer 1/4 Full"},"thermometer-three-quarters":{"search":{"terms":["mercury","status","temperature"]},"styles":["solid"],"unicode":"f2c8","label":"Thermometer 3/4 Full"},"think-peaks":{"search":{"terms":[]},"styles":["brands"],"unicode":"f731","label":"Think Peaks"},"thumbs-down":{"search":{"terms":["disagree","disapprove","dislike","hand","social","thumbs-o-down"]},"styles":["solid","regular"],"unicode":"f165","label":"thumbs-down"},"thumbs-up":{"search":{"terms":["agree","approve","favorite","hand","like","ok","okay","social","success","thumbs-o-up","yes","you got it dude"]},"styles":["solid","regular"],"unicode":"f164","label":"thumbs-up"},"thumbtack":{"search":{"terms":["coordinates","location","marker","pin","thumb-tack"]},"styles":["solid"],"unicode":"f08d","label":"Thumbtack"},"ticket-alt":{"search":{"terms":["movie","pass","support","ticket"]},"styles":["solid"],"unicode":"f3ff","label":"Alternate Ticket"},"times":{"search":{"terms":["close","cross","error","exit","incorrect","notice","notification","notify","problem","wrong","x"]},"styles":["solid"],"unicode":"f00d","label":"Times"},"times-circle":{"search":{"terms":["close","cross","exit","incorrect","notice","notification","notify","problem","wrong","x"]},"styles":["solid","regular"],"unicode":"f057","label":"Times Circle"},"tint":{"search":{"terms":["color","drop","droplet","raindrop","waterdrop"]},"styles":["solid"],"unicode":"f043","label":"tint"},"tint-slash":{"search":{"terms":["color","drop","droplet","raindrop","waterdrop"]},"styles":["solid"],"unicode":"f5c7","label":"Tint Slash"},"tired":{"search":{"terms":["angry","emoticon","face","grumpy","upset"]},"styles":["solid","regular"],"unicode":"f5c8","label":"Tired Face"},"toggle-off":{"search":{"terms":["switch"]},"styles":["solid"],"unicode":"f204","label":"Toggle Off"},"toggle-on":{"search":{"terms":["switch"]},"styles":["solid"],"unicode":"f205","label":"Toggle On"},"toilet":{"search":{"terms":["bathroom","flush","john","loo","pee","plumbing","poop","porcelain","potty","restroom","throne","washroom","waste","wc"]},"styles":["solid"],"unicode":"f7d8","label":"Toilet"},"toilet-paper":{"search":{"terms":["bathroom","covid-19","halloween","holiday","lavatory","prank","restroom","roll"]},"styles":["solid"],"unicode":"f71e","label":"Toilet Paper"},"toilet-paper-slash":{"search":{"terms":["bathroom","covid-19","halloween","holiday","lavatory","leaves","prank","restroom","roll","trouble","ut oh"]},"styles":["solid"],"unicode":"f972","label":"Toilet Paper Slash"},"toolbox":{"search":{"terms":["admin","container","fix","repair","settings","tools"]},"styles":["solid"],"unicode":"f552","label":"Toolbox"},"tools":{"search":{"terms":["admin","fix","repair","screwdriver","settings","tools","wrench"]},"styles":["solid"],"unicode":"f7d9","label":"Tools"},"tooth":{"search":{"terms":["bicuspid","dental","dentist","molar","mouth","teeth"]},"styles":["solid"],"unicode":"f5c9","label":"Tooth"},"torah":{"search":{"terms":["book","jewish","judaism","religion","scroll"]},"styles":["solid"],"unicode":"f6a0","label":"Torah"},"torii-gate":{"search":{"terms":["building","shintoism"]},"styles":["solid"],"unicode":"f6a1","label":"Torii Gate"},"tractor":{"search":{"terms":["agriculture","farm","vehicle"]},"styles":["solid"],"unicode":"f722","label":"Tractor"},"trade-federation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f513","label":"Trade Federation"},"trademark":{"search":{"terms":["copyright","register","symbol"]},"styles":["solid"],"unicode":"f25c","label":"Trademark"},"traffic-light":{"search":{"terms":["direction","road","signal","travel"]},"styles":["solid"],"unicode":"f637","label":"Traffic Light"},"trailer":{"search":{"terms":["carry","haul","moving","travel"]},"styles":["solid"],"unicode":"f941","label":"Trailer"},"train":{"search":{"terms":["bullet","commute","locomotive","railway","subway"]},"styles":["solid"],"unicode":"f238","label":"Train"},"tram":{"search":{"terms":["crossing","machine","mountains","seasonal","transportation"]},"styles":["solid"],"unicode":"f7da","label":"Tram"},"transgender":{"search":{"terms":["intersex"]},"styles":["solid"],"unicode":"f224","label":"Transgender"},"transgender-alt":{"search":{"terms":["intersex"]},"styles":["solid"],"unicode":"f225","label":"Alternate Transgender"},"trash":{"search":{"terms":["delete","garbage","hide","remove"]},"styles":["solid"],"unicode":"f1f8","label":"Trash"},"trash-alt":{"search":{"terms":["delete","garbage","hide","remove","trash-o"]},"styles":["solid","regular"],"unicode":"f2ed","label":"Alternate Trash"},"trash-restore":{"search":{"terms":["back","control z","oops","undo"]},"styles":["solid"],"unicode":"f829","label":"Trash Restore"},"trash-restore-alt":{"search":{"terms":["back","control z","oops","undo"]},"styles":["solid"],"unicode":"f82a","label":"Alternative Trash Restore"},"tree":{"search":{"terms":["bark","fall","flora","forest","nature","plant","seasonal"]},"styles":["solid"],"unicode":"f1bb","label":"Tree"},"trello":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f181","label":"Trello"},"tripadvisor":{"search":{"terms":[]},"styles":["brands"],"unicode":"f262","label":"TripAdvisor"},"trophy":{"search":{"terms":["achievement","award","cup","game","winner"]},"styles":["solid"],"unicode":"f091","label":"trophy"},"truck":{"search":{"terms":["cargo","delivery","shipping","vehicle"]},"styles":["solid"],"unicode":"f0d1","label":"truck"},"truck-loading":{"search":{"terms":["box","cargo","delivery","inventory","moving","rental","vehicle"]},"styles":["solid"],"unicode":"f4de","label":"Truck Loading"},"truck-monster":{"search":{"terms":["offroad","vehicle","wheel"]},"styles":["solid"],"unicode":"f63b","label":"Truck Monster"},"truck-moving":{"search":{"terms":["cargo","inventory","rental","vehicle"]},"styles":["solid"],"unicode":"f4df","label":"Truck Moving"},"truck-pickup":{"search":{"terms":["cargo","vehicle"]},"styles":["solid"],"unicode":"f63c","label":"Truck Side"},"tshirt":{"search":{"terms":["clothing","fashion","garment","shirt"]},"styles":["solid"],"unicode":"f553","label":"T-Shirt"},"tty":{"search":{"terms":["communication","deaf","telephone","teletypewriter","text"]},"styles":["solid"],"unicode":"f1e4","label":"TTY"},"tumblr":{"search":{"terms":[]},"styles":["brands"],"unicode":"f173","label":"Tumblr"},"tumblr-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f174","label":"Tumblr Square"},"tv":{"search":{"terms":["computer","display","monitor","television"]},"styles":["solid"],"unicode":"f26c","label":"Television"},"twitch":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e8","label":"Twitch"},"twitter":{"search":{"terms":["social network","tweet"]},"styles":["brands"],"unicode":"f099","label":"Twitter"},"twitter-square":{"search":{"terms":["social network","tweet"]},"styles":["brands"],"unicode":"f081","label":"Twitter Square"},"typo3":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42b","label":"Typo3"},"uber":{"search":{"terms":[]},"styles":["brands"],"unicode":"f402","label":"Uber"},"ubuntu":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f7df","label":"Ubuntu"},"uikit":{"search":{"terms":[]},"styles":["brands"],"unicode":"f403","label":"UIkit"},"umbraco":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8e8","label":"Umbraco"},"umbrella":{"search":{"terms":["protection","rain","storm","wet"]},"styles":["solid"],"unicode":"f0e9","label":"Umbrella"},"umbrella-beach":{"search":{"terms":["protection","recreation","sand","shade","summer","sun"]},"styles":["solid"],"unicode":"f5ca","label":"Umbrella Beach"},"underline":{"search":{"terms":["edit","emphasis","format","text","writing"]},"styles":["solid"],"unicode":"f0cd","label":"Underline"},"undo":{"search":{"terms":["back","control z","exchange","oops","return","rotate","swap"]},"styles":["solid"],"unicode":"f0e2","label":"Undo"},"undo-alt":{"search":{"terms":["back","control z","exchange","oops","return","swap"]},"styles":["solid"],"unicode":"f2ea","label":"Alternate Undo"},"uniregistry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f404","label":"Uniregistry"},"unity":{"search":{"terms":[]},"styles":["brands"],"unicode":"f949","label":"Unity 3D"},"universal-access":{"search":{"terms":["accessibility","hearing","person","seeing","visual impairment"]},"styles":["solid"],"unicode":"f29a","label":"Universal Access"},"university":{"search":{"terms":["bank","building","college","higher education - students","institution"]},"styles":["solid"],"unicode":"f19c","label":"University"},"unlink":{"search":{"terms":["attachment","chain","chain-broken","remove"]},"styles":["solid"],"unicode":"f127","label":"unlink"},"unlock":{"search":{"terms":["admin","lock","password","private","protect"]},"styles":["solid"],"unicode":"f09c","label":"unlock"},"unlock-alt":{"search":{"terms":["admin","lock","password","private","protect"]},"styles":["solid"],"unicode":"f13e","label":"Alternate Unlock"},"untappd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f405","label":"Untappd"},"upload":{"search":{"terms":["hard drive","import","publish"]},"styles":["solid"],"unicode":"f093","label":"Upload"},"ups":{"search":{"terms":["United Parcel Service","package","shipping"]},"styles":["brands"],"unicode":"f7e0","label":"UPS"},"usb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f287","label":"USB"},"user":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid","regular"],"unicode":"f007","label":"User"},"user-alt":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid"],"unicode":"f406","label":"Alternate User"},"user-alt-slash":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid"],"unicode":"f4fa","label":"Alternate User Slash"},"user-astronaut":{"search":{"terms":["avatar","clothing","cosmonaut","nasa","space","suit"]},"styles":["solid"],"unicode":"f4fb","label":"User Astronaut"},"user-check":{"search":{"terms":["accept","check","person","verified"]},"styles":["solid"],"unicode":"f4fc","label":"User Check"},"user-circle":{"search":{"terms":["account","avatar","head","human","man","person","profile"]},"styles":["solid","regular"],"unicode":"f2bd","label":"User Circle"},"user-clock":{"search":{"terms":["alert","person","remind","time"]},"styles":["solid"],"unicode":"f4fd","label":"User Clock"},"user-cog":{"search":{"terms":["admin","cog","person","settings"]},"styles":["solid"],"unicode":"f4fe","label":"User Cog"},"user-edit":{"search":{"terms":["edit","pen","pencil","person","update","write"]},"styles":["solid"],"unicode":"f4ff","label":"User Edit"},"user-friends":{"search":{"terms":["group","people","person","team","users"]},"styles":["solid"],"unicode":"f500","label":"User Friends"},"user-graduate":{"search":{"terms":["cap","clothing","commencement","gown","graduation","person","student"]},"styles":["solid"],"unicode":"f501","label":"User Graduate"},"user-injured":{"search":{"terms":["cast","injury","ouch","patient","person","sling"]},"styles":["solid"],"unicode":"f728","label":"User Injured"},"user-lock":{"search":{"terms":["admin","lock","person","private","unlock"]},"styles":["solid"],"unicode":"f502","label":"User Lock"},"user-md":{"search":{"terms":["covid-19","job","medical","nurse","occupation","physician","profile","surgeon"]},"styles":["solid"],"unicode":"f0f0","label":"Doctor"},"user-minus":{"search":{"terms":["delete","negative","remove"]},"styles":["solid"],"unicode":"f503","label":"User Minus"},"user-ninja":{"search":{"terms":["assassin","avatar","dangerous","deadly","sneaky"]},"styles":["solid"],"unicode":"f504","label":"User Ninja"},"user-nurse":{"search":{"terms":["covid-19","doctor","midwife","practitioner","surgeon"]},"styles":["solid"],"unicode":"f82f","label":"Nurse"},"user-plus":{"search":{"terms":["add","avatar","positive","sign up","signup","team"]},"styles":["solid"],"unicode":"f234","label":"User Plus"},"user-secret":{"search":{"terms":["clothing","coat","hat","incognito","person","privacy","spy","whisper"]},"styles":["solid"],"unicode":"f21b","label":"User Secret"},"user-shield":{"search":{"terms":["admin","person","private","protect","safe"]},"styles":["solid"],"unicode":"f505","label":"User Shield"},"user-slash":{"search":{"terms":["ban","delete","remove"]},"styles":["solid"],"unicode":"f506","label":"User Slash"},"user-tag":{"search":{"terms":["avatar","discount","label","person","role","special"]},"styles":["solid"],"unicode":"f507","label":"User Tag"},"user-tie":{"search":{"terms":["avatar","business","clothing","formal","professional","suit"]},"styles":["solid"],"unicode":"f508","label":"User Tie"},"user-times":{"search":{"terms":["archive","delete","remove","x"]},"styles":["solid"],"unicode":"f235","label":"Remove User"},"users":{"search":{"terms":["friends","group","people","persons","profiles","team"]},"styles":["solid"],"unicode":"f0c0","label":"Users"},"users-cog":{"search":{"terms":["admin","cog","group","person","settings","team"]},"styles":["solid"],"unicode":"f509","label":"Users Cog"},"usps":{"search":{"terms":["american","package","shipping","usa"]},"styles":["brands"],"unicode":"f7e1","label":"United States Postal Service"},"ussunnah":{"search":{"terms":[]},"styles":["brands"],"unicode":"f407","label":"us-Sunnah Foundation"},"utensil-spoon":{"search":{"terms":["cutlery","dining","scoop","silverware","spoon"]},"styles":["solid"],"unicode":"f2e5","label":"Utensil Spoon"},"utensils":{"search":{"terms":["cutlery","dining","dinner","eat","food","fork","knife","restaurant"]},"styles":["solid"],"unicode":"f2e7","label":"Utensils"},"vaadin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f408","label":"Vaadin"},"vector-square":{"search":{"terms":["anchors","lines","object","render","shape"]},"styles":["solid"],"unicode":"f5cb","label":"Vector Square"},"venus":{"search":{"terms":["female"]},"styles":["solid"],"unicode":"f221","label":"Venus"},"venus-double":{"search":{"terms":["female"]},"styles":["solid"],"unicode":"f226","label":"Venus Double"},"venus-mars":{"search":{"terms":["Gender"]},"styles":["solid"],"unicode":"f228","label":"Venus Mars"},"viacoin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f237","label":"Viacoin"},"viadeo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2a9","label":"Video"},"viadeo-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2aa","label":"Video Square"},"vial":{"search":{"terms":["experiment","lab","sample","science","test","test tube"]},"styles":["solid"],"unicode":"f492","label":"Vial"},"vials":{"search":{"terms":["experiment","lab","sample","science","test","test tube"]},"styles":["solid"],"unicode":"f493","label":"Vials"},"viber":{"search":{"terms":[]},"styles":["brands"],"unicode":"f409","label":"Viber"},"video":{"search":{"terms":["camera","film","movie","record","video-camera"]},"styles":["solid"],"unicode":"f03d","label":"Video"},"video-slash":{"search":{"terms":["add","create","film","new","positive","record","video"]},"styles":["solid"],"unicode":"f4e2","label":"Video Slash"},"vihara":{"search":{"terms":["buddhism","buddhist","building","monastery"]},"styles":["solid"],"unicode":"f6a7","label":"Vihara"},"vimeo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40a","label":"Vimeo"},"vimeo-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f194","label":"Vimeo Square"},"vimeo-v":{"search":{"terms":["vimeo"]},"styles":["brands"],"unicode":"f27d","label":"Vimeo"},"vine":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1ca","label":"Vine"},"virus":{"search":{"terms":["bug","covid-19","flu","health","sick","viral"]},"styles":["solid"],"unicode":"f974","label":"Virus"},"virus-slash":{"search":{"terms":["bug","covid-19","cure","eliminate","flu","health","sick","viral"]},"styles":["solid"],"unicode":"f975","label":"Virus Slash"},"viruses":{"search":{"terms":["bugs","covid-19","flu","health","multiply","sick","spread","viral"]},"styles":["solid"],"unicode":"f976","label":"Viruses"},"vk":{"search":{"terms":[]},"styles":["brands"],"unicode":"f189","label":"VK"},"vnv":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40b","label":"VNV"},"voicemail":{"search":{"terms":["answer","inbox","message","phone"]},"styles":["solid"],"unicode":"f897","label":"Voicemail"},"volleyball-ball":{"search":{"terms":["beach","olympics","sport"]},"styles":["solid"],"unicode":"f45f","label":"Volleyball Ball"},"volume-down":{"search":{"terms":["audio","lower","music","quieter","sound","speaker"]},"styles":["solid"],"unicode":"f027","label":"Volume Down"},"volume-mute":{"search":{"terms":["audio","music","quiet","sound","speaker"]},"styles":["solid"],"unicode":"f6a9","label":"Volume Mute"},"volume-off":{"search":{"terms":["audio","ban","music","mute","quiet","silent","sound"]},"styles":["solid"],"unicode":"f026","label":"Volume Off"},"volume-up":{"search":{"terms":["audio","higher","louder","music","sound","speaker"]},"styles":["solid"],"unicode":"f028","label":"Volume Up"},"vote-yea":{"search":{"terms":["accept","cast","election","politics","positive","yes"]},"styles":["solid"],"unicode":"f772","label":"Vote Yea"},"vr-cardboard":{"search":{"terms":["3d","augment","google","reality","virtual"]},"styles":["solid"],"unicode":"f729","label":"Cardboard VR"},"vuejs":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41f","label":"Vue.js"},"walking":{"search":{"terms":["exercise","health","pedometer","person","steps"]},"styles":["solid"],"unicode":"f554","label":"Walking"},"wallet":{"search":{"terms":["billfold","cash","currency","money"]},"styles":["solid"],"unicode":"f555","label":"Wallet"},"warehouse":{"search":{"terms":["building","capacity","garage","inventory","storage"]},"styles":["solid"],"unicode":"f494","label":"Warehouse"},"water":{"search":{"terms":["lake","liquid","ocean","sea","swim","wet"]},"styles":["solid"],"unicode":"f773","label":"Water"},"wave-square":{"search":{"terms":["frequency","pulse","signal"]},"styles":["solid"],"unicode":"f83e","label":"Square Wave"},"waze":{"search":{"terms":[]},"styles":["brands"],"unicode":"f83f","label":"Waze"},"weebly":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5cc","label":"Weebly"},"weibo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f18a","label":"Weibo"},"weight":{"search":{"terms":["health","measurement","scale","weight"]},"styles":["solid"],"unicode":"f496","label":"Weight"},"weight-hanging":{"search":{"terms":["anvil","heavy","measurement"]},"styles":["solid"],"unicode":"f5cd","label":"Hanging Weight"},"weixin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1d7","label":"Weixin (WeChat)"},"whatsapp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f232","label":"What\'s App"},"whatsapp-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40c","label":"What\'s App Square"},"wheelchair":{"search":{"terms":["accessible","handicap","person"]},"styles":["solid"],"unicode":"f193","label":"Wheelchair"},"whmcs":{"search":{"terms":[]},"styles":["brands"],"unicode":"f40d","label":"WHMCS"},"wifi":{"search":{"terms":["connection","hotspot","internet","network","wireless"]},"styles":["solid"],"unicode":"f1eb","label":"WiFi"},"wikipedia-w":{"search":{"terms":[]},"styles":["brands"],"unicode":"f266","label":"Wikipedia W"},"wind":{"search":{"terms":["air","blow","breeze","fall","seasonal","weather"]},"styles":["solid"],"unicode":"f72e","label":"Wind"},"window-close":{"search":{"terms":["browser","cancel","computer","development"]},"styles":["solid","regular"],"unicode":"f410","label":"Window Close"},"window-maximize":{"search":{"terms":["browser","computer","development","expand"]},"styles":["solid","regular"],"unicode":"f2d0","label":"Window Maximize"},"window-minimize":{"search":{"terms":["browser","collapse","computer","development"]},"styles":["solid","regular"],"unicode":"f2d1","label":"Window Minimize"},"window-restore":{"search":{"terms":["browser","computer","development"]},"styles":["solid","regular"],"unicode":"f2d2","label":"Window Restore"},"windows":{"search":{"terms":["microsoft","operating system","os"]},"styles":["brands"],"unicode":"f17a","label":"Windows"},"wine-bottle":{"search":{"terms":["alcohol","beverage","cabernet","drink","glass","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f72f","label":"Wine Bottle"},"wine-glass":{"search":{"terms":["alcohol","beverage","cabernet","drink","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f4e3","label":"Wine Glass"},"wine-glass-alt":{"search":{"terms":["alcohol","beverage","cabernet","drink","grapes","merlot","sauvignon"]},"styles":["solid"],"unicode":"f5ce","label":"Alternate Wine Glas"},"wix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f5cf","label":"Wix"},"wizards-of-the-coast":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f730","label":"Wizards of the Coast"},"wolf-pack-battalion":{"search":{"terms":[]},"styles":["brands"],"unicode":"f514","label":"Wolf Pack Battalion"},"won-sign":{"search":{"terms":["currency","krw","money"]},"styles":["solid"],"unicode":"f159","label":"Won Sign"},"wordpress":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19a","label":"WordPress Logo"},"wordpress-simple":{"search":{"terms":[]},"styles":["brands"],"unicode":"f411","label":"Wordpress Simple"},"wpbeginner":{"search":{"terms":[]},"styles":["brands"],"unicode":"f297","label":"WPBeginner"},"wpexplorer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2de","label":"WPExplorer"},"wpforms":{"search":{"terms":[]},"styles":["brands"],"unicode":"f298","label":"WPForms"},"wpressr":{"search":{"terms":["rendact"]},"styles":["brands"],"unicode":"f3e4","label":"wpressr"},"wrench":{"search":{"terms":["construction","fix","mechanic","plumbing","settings","spanner","tool","update"]},"styles":["solid"],"unicode":"f0ad","label":"Wrench"},"x-ray":{"search":{"terms":["health","medical","radiological images","radiology","skeleton"]},"styles":["solid"],"unicode":"f497","label":"X-Ray"},"xbox":{"search":{"terms":[]},"styles":["brands"],"unicode":"f412","label":"Xbox"},"xing":{"search":{"terms":[]},"styles":["brands"],"unicode":"f168","label":"Xing"},"xing-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f169","label":"Xing Square"},"y-combinator":{"search":{"terms":[]},"styles":["brands"],"unicode":"f23b","label":"Y Combinator"},"yahoo":{"search":{"terms":[]},"styles":["brands"],"unicode":"f19e","label":"Yahoo Logo"},"yammer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f840","label":"Yammer"},"yandex":{"search":{"terms":[]},"styles":["brands"],"unicode":"f413","label":"Yandex"},"yandex-international":{"search":{"terms":[]},"styles":["brands"],"unicode":"f414","label":"Yandex International"},"yarn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f7e3","label":"Yarn"},"yelp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1e9","label":"Yelp"},"yen-sign":{"search":{"terms":["currency","jpy","money"]},"styles":["solid"],"unicode":"f157","label":"Yen Sign"},"yin-yang":{"search":{"terms":["daoism","opposites","taoism"]},"styles":["solid"],"unicode":"f6ad","label":"Yin Yang"},"yoast":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2b1","label":"Yoast"},"youtube":{"search":{"terms":["film","video","youtube-play","youtube-square"]},"styles":["brands"],"unicode":"f167","label":"YouTube"},"youtube-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f431","label":"YouTube Square"},"zhihu":{"search":{"terms":[]},"styles":["brands"],"unicode":"f63f","label":"Zhihu"}}')},108:function(e,s,a){"use strict";a.r(s);var l=a(0),r=a.n(l),t=(a(105),a(107));function o(e,s){return function(e){if(Array.isArray(e))return e}(e)||function(e,s){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(e)))return;var a=[],l=!0,r=!1,t=void 0;try{for(var o,i=e[Symbol.iterator]();!(l=(o=i.next()).done)&&(a.push(o.value),!s||a.length!==s);l=!0);}catch(e){r=!0,t=e}finally{try{l||null==i.return||i.return()}finally{if(r)throw t}}return a}(e,s)||function(e,s){if(!e)return;if("string"==typeof e)return i(e,s);var a=Object.prototype.toString.call(e).slice(8,-1);"Object"===a&&e.constructor&&(a=e.constructor.name);if("Map"===a||"Set"===a)return Array.from(a);if("Arguments"===a||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(a))return i(e,s)}(e,s)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function i(e,s){(null==s||s>e.length)&&(s=e.length);for(var a=0,l=new Array(s);a<s;a++)l[a]=e[a];return l}var c=wp.i18n.__,n=wp.compose.withInstanceId,d=wp.components,u=d.Button,m=d.BaseControl,h=d.Dropdown,b=d.MenuGroup,f=d.MenuItem,y=d.TextControl,p=wp.element,g=p.Fragment,w=p.useEffect,k=p.useState;s.default=n((function(e){var s=e.instanceId,a=e.label,l=e.prefix,i=e.icon,n=e.onChange;w((function(){var e=[];Object.keys(t).forEach((function(s){Object.keys(t[s].styles).forEach((function(a){var l="",r=t[s].search.terms;switch(t[s].styles[a]){case"brands":l="fab";break;case"solid":l="fas";break;case"regular":l="far";break;default:l="fas"}r.push(s,t[s].label),e.push({name:s,unicode:t[s].unicode,prefix:l,label:t[s].label,search:r})}))})),x(e)}),[]);var d=o(k(""),2),p=d[0],v=d[1],S=o(k(null),2),C=S[0],x=S[1],A="inspector-icon-picker-control-".concat(s);return wp.element.createElement(m,{label:a,id:A,className:"wp-block-themeisle-blocks-icon-picker-control"},wp.element.createElement(h,{contentClassName:"wp-block-themeisle-blocks-icon-picker-popover",position:"bottom center",renderToggle:function(e){var s=e.isOpen,a=e.onToggle;return wp.element.createElement(u,{isLarge:!0,className:"wp-block-themeisle-blocks-icon-picker-button",onClick:a,"aria-expanded":s},l&&i?wp.element.createElement(g,null,wp.element.createElement("i",{className:r()(l,"fa-".concat(i),"fa-fw")}),i):c("Select Icon"))},renderContent:function(e){var s=e.onToggle;return wp.element.createElement(b,{label:c("Font Awesome Icons")},wp.element.createElement(y,{value:p,onChange:function(e){return v(e)}}),wp.element.createElement("div",{className:"components-popover__items"},C.map((function(e){if(!p||e.search.some((function(e){return e.toLowerCase().match(p.toLowerCase())})))return wp.element.createElement(f,{label:e.label,className:r()({"is-selected":e.name===i&&e.prefix===l}),onClick:function(){s(),n({name:e.name,prefix:e.prefix})}},wp.element.createElement("i",{className:r()(e.prefix,"fa-".concat(e.name),"fa-fw")}),e.name)}))))}}))}))}}]);
1
+ (window.tiOtterWebpackJsonp=window.tiOtterWebpackJsonp||[]).push([[1],{107:function(e){e.exports=JSON.parse('{"500px":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26e","label":"500px"},"accessible-icon":{"search":{"terms":["accessibility","handicap","person","wheelchair","wheelchair-alt"]},"styles":["brands"],"unicode":"f368","label":"Accessible Icon"},"accusoft":{"search":{"terms":[]},"styles":["brands"],"unicode":"f369","label":"Accusoft"},"acquisitions-incorporated":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6af","label":"Acquisitions Incorporated"},"ad":{"search":{"terms":["advertisement","media","newspaper","promotion","publicity"]},"styles":["solid"],"unicode":"f641","label":"Ad"},"address-book":{"search":{"terms":["contact","directory","index","little black book","rolodex"]},"styles":["solid","regular"],"unicode":"f2b9","label":"Address Book"},"address-card":{"search":{"terms":["about","contact","id","identification","postcard","profile"]},"styles":["solid","regular"],"unicode":"f2bb","label":"Address Card"},"adjust":{"search":{"terms":["contrast","dark","light","saturation"]},"styles":["solid"],"unicode":"f042","label":"adjust"},"adn":{"search":{"terms":[]},"styles":["brands"],"unicode":"f170","label":"App.net"},"adobe":{"search":{"terms":["acrobat","app","design","illustrator","indesign","photoshop"]},"styles":["brands"],"unicode":"f778","label":"Adobe"},"adversal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36a","label":"Adversal"},"affiliatetheme":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36b","label":"affiliatetheme"},"air-freshener":{"search":{"terms":["car","deodorize","fresh","pine","scent"]},"styles":["solid"],"unicode":"f5d0","label":"Air Freshener"},"airbnb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f834","label":"Airbnb"},"algolia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36c","label":"Algolia"},"align-center":{"search":{"terms":["format","middle","paragraph","text"]},"styles":["solid"],"unicode":"f037","label":"align-center"},"align-justify":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f039","label":"align-justify"},"align-left":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f036","label":"align-left"},"align-right":{"search":{"terms":["format","paragraph","text"]},"styles":["solid"],"unicode":"f038","label":"align-right"},"alipay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f642","label":"Alipay"},"allergies":{"search":{"terms":["allergy","freckles","hand","hives","pox","skin","spots"]},"styles":["solid"],"unicode":"f461","label":"Allergies"},"amazon":{"search":{"terms":[]},"styles":["brands"],"unicode":"f270","label":"Amazon"},"amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42c","label":"Amazon Pay"},"ambulance":{"search":{"terms":["covid-19","emergency","emt","er","help","hospital","support","vehicle"]},"styles":["solid"],"unicode":"f0f9","label":"ambulance"},"american-sign-language-interpreting":{"search":{"terms":["asl","deaf","finger","hand","interpret","speak"]},"styles":["solid"],"unicode":"f2a3","label":"American Sign Language Interpreting"},"amilia":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36d","label":"Amilia"},"anchor":{"search":{"terms":["berth","boat","dock","embed","link","maritime","moor","secure"]},"styles":["solid"],"unicode":"f13d","label":"Anchor"},"android":{"search":{"terms":["robot"]},"styles":["brands"],"unicode":"f17b","label":"Android"},"angellist":{"search":{"terms":[]},"styles":["brands"],"unicode":"f209","label":"AngelList"},"angle-double-down":{"search":{"terms":["arrows","caret","download","expand"]},"styles":["solid"],"unicode":"f103","label":"Angle Double Down"},"angle-double-left":{"search":{"terms":["arrows","back","caret","laquo","previous","quote"]},"styles":["solid"],"unicode":"f100","label":"Angle Double Left"},"angle-double-right":{"search":{"terms":["arrows","caret","forward","more","next","quote","raquo"]},"styles":["solid"],"unicode":"f101","label":"Angle Double Right"},"angle-double-up":{"search":{"terms":["arrows","caret","collapse","upload"]},"styles":["solid"],"unicode":"f102","label":"Angle Double Up"},"angle-down":{"search":{"terms":["arrow","caret","download","expand"]},"styles":["solid"],"unicode":"f107","label":"angle-down"},"angle-left":{"search":{"terms":["arrow","back","caret","less","previous"]},"styles":["solid"],"unicode":"f104","label":"angle-left"},"angle-right":{"search":{"terms":["arrow","care","forward","more","next"]},"styles":["solid"],"unicode":"f105","label":"angle-right"},"angle-up":{"search":{"terms":["arrow","caret","collapse","upload"]},"styles":["solid"],"unicode":"f106","label":"angle-up"},"angry":{"search":{"terms":["disapprove","emoticon","face","mad","upset"]},"styles":["solid","regular"],"unicode":"f556","label":"Angry Face"},"angrycreative":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36e","label":"Angry Creative"},"angular":{"search":{"terms":[]},"styles":["brands"],"unicode":"f420","label":"Angular"},"ankh":{"search":{"terms":["amulet","copper","coptic christianity","copts","crux ansata","egypt","venus"]},"styles":["solid"],"unicode":"f644","label":"Ankh"},"app-store":{"search":{"terms":[]},"styles":["brands"],"unicode":"f36f","label":"App Store"},"app-store-ios":{"search":{"terms":[]},"styles":["brands"],"unicode":"f370","label":"iOS App Store"},"apper":{"search":{"terms":[]},"styles":["brands"],"unicode":"f371","label":"Apper Systems AB"},"apple":{"search":{"terms":["fruit","ios","mac","operating system","os","osx"]},"styles":["brands"],"unicode":"f179","label":"Apple"},"apple-alt":{"search":{"terms":["fall","fruit","fuji","macintosh","orchard","seasonal","vegan"]},"styles":["solid"],"unicode":"f5d1","label":"Fruit Apple"},"apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f415","label":"Apple Pay"},"archive":{"search":{"terms":["box","package","save","storage"]},"styles":["solid"],"unicode":"f187","label":"Archive"},"archway":{"search":{"terms":["arc","monument","road","street","tunnel"]},"styles":["solid"],"unicode":"f557","label":"Archway"},"arrow-alt-circle-down":{"search":{"terms":["arrow-circle-o-down","download"]},"styles":["solid","regular"],"unicode":"f358","label":"Alternate Arrow Circle Down"},"arrow-alt-circle-left":{"search":{"terms":["arrow-circle-o-left","back","previous"]},"styles":["solid","regular"],"unicode":"f359","label":"Alternate Arrow Circle Left"},"arrow-alt-circle-right":{"search":{"terms":["arrow-circle-o-right","forward","next"]},"styles":["solid","regular"],"unicode":"f35a","label":"Alternate Arrow Circle Right"},"arrow-alt-circle-up":{"search":{"terms":["arrow-circle-o-up"]},"styles":["solid","regular"],"unicode":"f35b","label":"Alternate Arrow Circle Up"},"arrow-circle-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f0ab","label":"Arrow Circle Down"},"arrow-circle-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f0a8","label":"Arrow Circle Left"},"arrow-circle-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f0a9","label":"Arrow Circle Right"},"arrow-circle-up":{"search":{"terms":["upload"]},"styles":["solid"],"unicode":"f0aa","label":"Arrow Circle Up"},"arrow-down":{"search":{"terms":["download"]},"styles":["solid"],"unicode":"f063","label":"arrow-down"},"arrow-left":{"search":{"terms":["back","previous"]},"styles":["solid"],"unicode":"f060","label":"arrow-left"},"arrow-right":{"search":{"terms":["forward","next"]},"styles":["solid"],"unicode":"f061","label":"arrow-right"},"arrow-up":{"search":{"terms":["forward","upload"]},"styles":["solid"],"unicode":"f062","label":"arrow-up"},"arrows-alt":{"search":{"terms":["arrow","arrows","bigger","enlarge","expand","fullscreen","move","position","reorder","resize"]},"styles":["solid"],"unicode":"f0b2","label":"Alternate Arrows"},"arrows-alt-h":{"search":{"terms":["arrows-h","expand","horizontal","landscape","resize","wide"]},"styles":["solid"],"unicode":"f337","label":"Alternate Arrows Horizontal"},"arrows-alt-v":{"search":{"terms":["arrows-v","expand","portrait","resize","tall","vertical"]},"styles":["solid"],"unicode":"f338","label":"Alternate Arrows Vertical"},"artstation":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77a","label":"Artstation"},"assistive-listening-systems":{"search":{"terms":["amplify","audio","deaf","ear","headset","hearing","sound"]},"styles":["solid"],"unicode":"f2a2","label":"Assistive Listening Systems"},"asterisk":{"search":{"terms":["annotation","details","reference","star"]},"styles":["solid"],"unicode":"f069","label":"asterisk"},"asymmetrik":{"search":{"terms":[]},"styles":["brands"],"unicode":"f372","label":"Asymmetrik, Ltd."},"at":{"search":{"terms":["address","author","e-mail","email","handle"]},"styles":["solid"],"unicode":"f1fa","label":"At"},"atlas":{"search":{"terms":["book","directions","geography","globe","map","travel","wayfinding"]},"styles":["solid"],"unicode":"f558","label":"Atlas"},"atlassian":{"search":{"terms":[]},"styles":["brands"],"unicode":"f77b","label":"Atlassian"},"atom":{"search":{"terms":["atheism","chemistry","electron","ion","isotope","neutron","nuclear","proton","science"]},"styles":["solid"],"unicode":"f5d2","label":"Atom"},"audible":{"search":{"terms":[]},"styles":["brands"],"unicode":"f373","label":"Audible"},"audio-description":{"search":{"terms":["blind","narration","video","visual"]},"styles":["solid"],"unicode":"f29e","label":"Audio Description"},"autoprefixer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f41c","label":"Autoprefixer"},"avianex":{"search":{"terms":[]},"styles":["brands"],"unicode":"f374","label":"avianex"},"aviato":{"search":{"terms":[]},"styles":["brands"],"unicode":"f421","label":"Aviato"},"award":{"search":{"terms":["honor","praise","prize","recognition","ribbon","trophy"]},"styles":["solid"],"unicode":"f559","label":"Award"},"aws":{"search":{"terms":[]},"styles":["brands"],"unicode":"f375","label":"Amazon Web Services (AWS)"},"baby":{"search":{"terms":["child","diaper","doll","human","infant","kid","offspring","person","sprout"]},"styles":["solid"],"unicode":"f77c","label":"Baby"},"baby-carriage":{"search":{"terms":["buggy","carrier","infant","push","stroller","transportation","walk","wheels"]},"styles":["solid"],"unicode":"f77d","label":"Baby Carriage"},"backspace":{"search":{"terms":["command","delete","erase","keyboard","undo"]},"styles":["solid"],"unicode":"f55a","label":"Backspace"},"backward":{"search":{"terms":["previous","rewind"]},"styles":["solid"],"unicode":"f04a","label":"backward"},"bacon":{"search":{"terms":["blt","breakfast","ham","lard","meat","pancetta","pork","rasher"]},"styles":["solid"],"unicode":"f7e5","label":"Bacon"},"bahai":{"search":{"terms":["bahai","bahá\'í","star"]},"styles":["solid"],"unicode":"f666","label":"Bahá\'í"},"balance-scale":{"search":{"terms":["balanced","justice","legal","measure","weight"]},"styles":["solid"],"unicode":"f24e","label":"Balance Scale"},"balance-scale-left":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f515","label":"Balance Scale (Left-Weighted)"},"balance-scale-right":{"search":{"terms":["justice","legal","measure","unbalanced","weight"]},"styles":["solid"],"unicode":"f516","label":"Balance Scale (Right-Weighted)"},"ban":{"search":{"terms":["abort","ban","block","cancel","delete","hide","prohibit","remove","stop","trash"]},"styles":["solid"],"unicode":"f05e","label":"ban"},"band-aid":{"search":{"terms":["bandage","boo boo","first aid","ouch"]},"styles":["solid"],"unicode":"f462","label":"Band-Aid"},"bandcamp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f2d5","label":"Bandcamp"},"barcode":{"search":{"terms":["info","laser","price","scan","upc"]},"styles":["solid"],"unicode":"f02a","label":"barcode"},"bars":{"search":{"terms":["checklist","drag","hamburger","list","menu","nav","navigation","ol","reorder","settings","todo","ul"]},"styles":["solid"],"unicode":"f0c9","label":"Bars"},"baseball-ball":{"search":{"terms":["foul","hardball","league","leather","mlb","softball","sport"]},"styles":["solid"],"unicode":"f433","label":"Baseball Ball"},"basketball-ball":{"search":{"terms":["dribble","dunk","hoop","nba"]},"styles":["solid"],"unicode":"f434","label":"Basketball Ball"},"bath":{"search":{"terms":["clean","shower","tub","wash"]},"styles":["solid"],"unicode":"f2cd","label":"Bath"},"battery-empty":{"search":{"terms":["charge","dead","power","status"]},"styles":["solid"],"unicode":"f244","label":"Battery Empty"},"battery-full":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f240","label":"Battery Full"},"battery-half":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f242","label":"Battery 1/2 Full"},"battery-quarter":{"search":{"terms":["charge","low","power","status"]},"styles":["solid"],"unicode":"f243","label":"Battery 1/4 Full"},"battery-three-quarters":{"search":{"terms":["charge","power","status"]},"styles":["solid"],"unicode":"f241","label":"Battery 3/4 Full"},"battle-net":{"search":{"terms":[]},"styles":["brands"],"unicode":"f835","label":"Battle.net"},"bed":{"search":{"terms":["lodging","mattress","rest","sleep","travel"]},"styles":["solid"],"unicode":"f236","label":"Bed"},"beer":{"search":{"terms":["alcohol","ale","bar","beverage","brewery","drink","lager","liquor","mug","stein"]},"styles":["solid"],"unicode":"f0fc","label":"beer"},"behance":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b4","label":"Behance"},"behance-square":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1b5","label":"Behance Square"},"bell":{"search":{"terms":["alarm","alert","chime","notification","reminder"]},"styles":["solid","regular"],"unicode":"f0f3","label":"bell"},"bell-slash":{"search":{"terms":["alert","cancel","disabled","notification","off","reminder"]},"styles":["solid","regular"],"unicode":"f1f6","label":"Bell Slash"},"bezier-curve":{"search":{"terms":["curves","illustrator","lines","path","vector"]},"styles":["solid"],"unicode":"f55b","label":"Bezier Curve"},"bible":{"search":{"terms":["book","catholicism","christianity","god","holy"]},"styles":["solid"],"unicode":"f647","label":"Bible"},"bicycle":{"search":{"terms":["bike","gears","pedal","transportation","vehicle"]},"styles":["solid"],"unicode":"f206","label":"Bicycle"},"biking":{"search":{"terms":["bicycle","bike","cycle","cycling","ride","wheel"]},"styles":["solid"],"unicode":"f84a","label":"Biking"},"bimobject":{"search":{"terms":[]},"styles":["brands"],"unicode":"f378","label":"BIMobject"},"binoculars":{"search":{"terms":["glasses","magnify","scenic","spyglass","view"]},"styles":["solid"],"unicode":"f1e5","label":"Binoculars"},"biohazard":{"search":{"terms":["covid-19","danger","dangerous","hazmat","medical","radioactive","toxic","waste","zombie"]},"styles":["solid"],"unicode":"f780","label":"Biohazard"},"birthday-cake":{"search":{"terms":["anniversary","bakery","candles","celebration","dessert","frosting","holiday","party","pastry"]},"styles":["solid"],"unicode":"f1fd","label":"Birthday Cake"},"bitbucket":{"search":{"terms":["atlassian","bitbucket-square","git"]},"styles":["brands"],"unicode":"f171","label":"Bitbucket"},"bitcoin":{"search":{"terms":[]},"styles":["brands"],"unicode":"f379","label":"Bitcoin"},"bity":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37a","label":"Bity"},"black-tie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f27e","label":"Font Awesome Black Tie"},"blackberry":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37b","label":"BlackBerry"},"blender":{"search":{"terms":["cocktail","milkshake","mixer","puree","smoothie"]},"styles":["solid"],"unicode":"f517","label":"Blender"},"blender-phone":{"search":{"terms":["appliance","cocktail","communication","fantasy","milkshake","mixer","puree","silly","smoothie"]},"styles":["solid"],"unicode":"f6b6","label":"Blender Phone"},"blind":{"search":{"terms":["cane","disability","person","sight"]},"styles":["solid"],"unicode":"f29d","label":"Blind"},"blog":{"search":{"terms":["journal","log","online","personal","post","web 2.0","wordpress","writing"]},"styles":["solid"],"unicode":"f781","label":"Blog"},"blogger":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37c","label":"Blogger"},"blogger-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37d","label":"Blogger B"},"bluetooth":{"search":{"terms":[]},"styles":["brands"],"unicode":"f293","label":"Bluetooth"},"bluetooth-b":{"search":{"terms":[]},"styles":["brands"],"unicode":"f294","label":"Bluetooth"},"bold":{"search":{"terms":["emphasis","format","text"]},"styles":["solid"],"unicode":"f032","label":"bold"},"bolt":{"search":{"terms":["electricity","lightning","weather","zap"]},"styles":["solid"],"unicode":"f0e7","label":"Lightning Bolt"},"bomb":{"search":{"terms":["error","explode","fuse","grenade","warning"]},"styles":["solid"],"unicode":"f1e2","label":"Bomb"},"bone":{"search":{"terms":["calcium","dog","skeletal","skeleton","tibia"]},"styles":["solid"],"unicode":"f5d7","label":"Bone"},"bong":{"search":{"terms":["aparatus","cannabis","marijuana","pipe","smoke","smoking"]},"styles":["solid"],"unicode":"f55c","label":"Bong"},"book":{"search":{"terms":["diary","documentation","journal","library","read"]},"styles":["solid"],"unicode":"f02d","label":"book"},"book-dead":{"search":{"terms":["Dungeons & Dragons","crossbones","d&d","dark arts","death","dnd","documentation","evil","fantasy","halloween","holiday","necronomicon","read","skull","spell"]},"styles":["solid"],"unicode":"f6b7","label":"Book of the Dead"},"book-medical":{"search":{"terms":["diary","documentation","health","history","journal","library","read","record"]},"styles":["solid"],"unicode":"f7e6","label":"Medical Book"},"book-open":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f518","label":"Book Open"},"book-reader":{"search":{"terms":["flyer","library","notebook","open book","pamphlet","reading"]},"styles":["solid"],"unicode":"f5da","label":"Book Reader"},"bookmark":{"search":{"terms":["favorite","marker","read","remember","save"]},"styles":["solid","regular"],"unicode":"f02e","label":"bookmark"},"bootstrap":{"search":{"terms":[]},"styles":["brands"],"unicode":"f836","label":"Bootstrap"},"border-all":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f84c","label":"Border All"},"border-none":{"search":{"terms":["cell","grid","outline","stroke","table"]},"styles":["solid"],"unicode":"f850","label":"Border None"},"border-style":{"search":{"terms":[]},"styles":["solid"],"unicode":"f853","label":"Border Style"},"bowling-ball":{"search":{"terms":["alley","candlepin","gutter","lane","strike","tenpin"]},"styles":["solid"],"unicode":"f436","label":"Bowling Ball"},"box":{"search":{"terms":["archive","container","package","storage"]},"styles":["solid"],"unicode":"f466","label":"Box"},"box-open":{"search":{"terms":["archive","container","package","storage","unpack"]},"styles":["solid"],"unicode":"f49e","label":"Box Open"},"box-tissue":{"search":{"terms":["cough","covid-19","kleenex","mucus","nose","sneeze","snot"]},"styles":["solid"],"unicode":"f95b","label":"Tissue Box"},"boxes":{"search":{"terms":["archives","inventory","storage","warehouse"]},"styles":["solid"],"unicode":"f468","label":"Boxes"},"braille":{"search":{"terms":["alphabet","blind","dots","raised","vision"]},"styles":["solid"],"unicode":"f2a1","label":"Braille"},"brain":{"search":{"terms":["cerebellum","gray matter","intellect","medulla oblongata","mind","noodle","wit"]},"styles":["solid"],"unicode":"f5dc","label":"Brain"},"bread-slice":{"search":{"terms":["bake","bakery","baking","dough","flour","gluten","grain","sandwich","sourdough","toast","wheat","yeast"]},"styles":["solid"],"unicode":"f7ec","label":"Bread Slice"},"briefcase":{"search":{"terms":["bag","business","luggage","office","work"]},"styles":["solid"],"unicode":"f0b1","label":"Briefcase"},"briefcase-medical":{"search":{"terms":["doctor","emt","first aid","health"]},"styles":["solid"],"unicode":"f469","label":"Medical Briefcase"},"broadcast-tower":{"search":{"terms":["airwaves","antenna","radio","reception","waves"]},"styles":["solid"],"unicode":"f519","label":"Broadcast Tower"},"broom":{"search":{"terms":["clean","firebolt","fly","halloween","nimbus 2000","quidditch","sweep","witch"]},"styles":["solid"],"unicode":"f51a","label":"Broom"},"brush":{"search":{"terms":["art","bristles","color","handle","paint"]},"styles":["solid"],"unicode":"f55d","label":"Brush"},"btc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f15a","label":"BTC"},"buffer":{"search":{"terms":[]},"styles":["brands"],"unicode":"f837","label":"Buffer"},"bug":{"search":{"terms":["beetle","error","insect","report"]},"styles":["solid"],"unicode":"f188","label":"Bug"},"building":{"search":{"terms":["apartment","business","city","company","office","work"]},"styles":["solid","regular"],"unicode":"f1ad","label":"Building"},"bullhorn":{"search":{"terms":["announcement","broadcast","louder","megaphone","share"]},"styles":["solid"],"unicode":"f0a1","label":"bullhorn"},"bullseye":{"search":{"terms":["archery","goal","objective","target"]},"styles":["solid"],"unicode":"f140","label":"Bullseye"},"burn":{"search":{"terms":["caliente","energy","fire","flame","gas","heat","hot"]},"styles":["solid"],"unicode":"f46a","label":"Burn"},"buromobelexperte":{"search":{"terms":[]},"styles":["brands"],"unicode":"f37f","label":"Büromöbel-Experte GmbH & Co. KG."},"bus":{"search":{"terms":["public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f207","label":"Bus"},"bus-alt":{"search":{"terms":["mta","public transportation","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f55e","label":"Bus Alt"},"business-time":{"search":{"terms":["alarm","briefcase","business socks","clock","flight of the conchords","reminder","wednesday"]},"styles":["solid"],"unicode":"f64a","label":"Business Time"},"buy-n-large":{"search":{"terms":[]},"styles":["brands"],"unicode":"f8a6","label":"Buy n Large"},"buysellads":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20d","label":"BuySellAds"},"calculator":{"search":{"terms":["abacus","addition","arithmetic","counting","math","multiplication","subtraction"]},"styles":["solid"],"unicode":"f1ec","label":"Calculator"},"calendar":{"search":{"terms":["calendar-o","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f133","label":"Calendar"},"calendar-alt":{"search":{"terms":["calendar","date","event","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f073","label":"Alternate Calendar"},"calendar-check":{"search":{"terms":["accept","agree","appointment","confirm","correct","date","done","event","ok","schedule","select","success","tick","time","todo","when"]},"styles":["solid","regular"],"unicode":"f274","label":"Calendar Check"},"calendar-day":{"search":{"terms":["date","detail","event","focus","schedule","single day","time","today","when"]},"styles":["solid"],"unicode":"f783","label":"Calendar with Day Focus"},"calendar-minus":{"search":{"terms":["calendar","date","delete","event","negative","remove","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f272","label":"Calendar Minus"},"calendar-plus":{"search":{"terms":["add","calendar","create","date","event","new","positive","schedule","time","when"]},"styles":["solid","regular"],"unicode":"f271","label":"Calendar Plus"},"calendar-times":{"search":{"terms":["archive","calendar","date","delete","event","remove","schedule","time","when","x"]},"styles":["solid","regular"],"unicode":"f273","label":"Calendar Times"},"calendar-week":{"search":{"terms":["date","detail","event","focus","schedule","single week","time","today","when"]},"styles":["solid"],"unicode":"f784","label":"Calendar with Week Focus"},"camera":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f030","label":"camera"},"camera-retro":{"search":{"terms":["image","lens","photo","picture","record","shutter","video"]},"styles":["solid"],"unicode":"f083","label":"Retro Camera"},"campground":{"search":{"terms":["camping","fall","outdoors","teepee","tent","tipi"]},"styles":["solid"],"unicode":"f6bb","label":"Campground"},"canadian-maple-leaf":{"search":{"terms":["canada","flag","flora","nature","plant"]},"styles":["brands"],"unicode":"f785","label":"Canadian Maple Leaf"},"candy-cane":{"search":{"terms":["candy","christmas","holiday","mint","peppermint","striped","xmas"]},"styles":["solid"],"unicode":"f786","label":"Candy Cane"},"cannabis":{"search":{"terms":["bud","chronic","drugs","endica","endo","ganja","marijuana","mary jane","pot","reefer","sativa","spliff","weed","whacky-tabacky"]},"styles":["solid"],"unicode":"f55f","label":"Cannabis"},"capsules":{"search":{"terms":["drugs","medicine","pills","prescription"]},"styles":["solid"],"unicode":"f46b","label":"Capsules"},"car":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f1b9","label":"Car"},"car-alt":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5de","label":"Alternate Car"},"car-battery":{"search":{"terms":["auto","electric","mechanic","power"]},"styles":["solid"],"unicode":"f5df","label":"Car Battery"},"car-crash":{"search":{"terms":["accident","auto","automobile","insurance","sedan","transportation","vehicle","wreck"]},"styles":["solid"],"unicode":"f5e1","label":"Car Crash"},"car-side":{"search":{"terms":["auto","automobile","sedan","transportation","travel","vehicle"]},"styles":["solid"],"unicode":"f5e4","label":"Car Side"},"caravan":{"search":{"terms":["camper","motor home","rv","trailer","travel"]},"styles":["solid"],"unicode":"f8ff","label":"Caravan"},"caret-down":{"search":{"terms":["arrow","dropdown","expand","menu","more","triangle"]},"styles":["solid"],"unicode":"f0d7","label":"Caret Down"},"caret-left":{"search":{"terms":["arrow","back","previous","triangle"]},"styles":["solid"],"unicode":"f0d9","label":"Caret Left"},"caret-right":{"search":{"terms":["arrow","forward","next","triangle"]},"styles":["solid"],"unicode":"f0da","label":"Caret Right"},"caret-square-down":{"search":{"terms":["arrow","caret-square-o-down","dropdown","expand","menu","more","triangle"]},"styles":["solid","regular"],"unicode":"f150","label":"Caret Square Down"},"caret-square-left":{"search":{"terms":["arrow","back","caret-square-o-left","previous","triangle"]},"styles":["solid","regular"],"unicode":"f191","label":"Caret Square Left"},"caret-square-right":{"search":{"terms":["arrow","caret-square-o-right","forward","next","triangle"]},"styles":["solid","regular"],"unicode":"f152","label":"Caret Square Right"},"caret-square-up":{"search":{"terms":["arrow","caret-square-o-up","collapse","triangle","upload"]},"styles":["solid","regular"],"unicode":"f151","label":"Caret Square Up"},"caret-up":{"search":{"terms":["arrow","collapse","triangle"]},"styles":["solid"],"unicode":"f0d8","label":"Caret Up"},"carrot":{"search":{"terms":["bugs bunny","orange","vegan","vegetable"]},"styles":["solid"],"unicode":"f787","label":"Carrot"},"cart-arrow-down":{"search":{"terms":["download","save","shopping"]},"styles":["solid"],"unicode":"f218","label":"Shopping Cart Arrow Down"},"cart-plus":{"search":{"terms":["add","create","new","positive","shopping"]},"styles":["solid"],"unicode":"f217","label":"Add to Shopping Cart"},"cash-register":{"search":{"terms":["buy","cha-ching","change","checkout","commerce","leaerboard","machine","pay","payment","purchase","store"]},"styles":["solid"],"unicode":"f788","label":"Cash Register"},"cat":{"search":{"terms":["feline","halloween","holiday","kitten","kitty","meow","pet"]},"styles":["solid"],"unicode":"f6be","label":"Cat"},"cc-amazon-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f42d","label":"Amazon Pay Credit Card"},"cc-amex":{"search":{"terms":["amex"]},"styles":["brands"],"unicode":"f1f3","label":"American Express Credit Card"},"cc-apple-pay":{"search":{"terms":[]},"styles":["brands"],"unicode":"f416","label":"Apple Pay Credit Card"},"cc-diners-club":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24c","label":"Diner\'s Club Credit Card"},"cc-discover":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f2","label":"Discover Credit Card"},"cc-jcb":{"search":{"terms":[]},"styles":["brands"],"unicode":"f24b","label":"JCB Credit Card"},"cc-mastercard":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f1","label":"MasterCard Credit Card"},"cc-paypal":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f4","label":"Paypal Credit Card"},"cc-stripe":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f5","label":"Stripe Credit Card"},"cc-visa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1f0","label":"Visa Credit Card"},"centercode":{"search":{"terms":[]},"styles":["brands"],"unicode":"f380","label":"Centercode"},"centos":{"search":{"terms":["linux","operating system","os"]},"styles":["brands"],"unicode":"f789","label":"Centos"},"certificate":{"search":{"terms":["badge","star","verified"]},"styles":["solid"],"unicode":"f0a3","label":"certificate"},"chair":{"search":{"terms":["furniture","seat","sit"]},"styles":["solid"],"unicode":"f6c0","label":"Chair"},"chalkboard":{"search":{"terms":["blackboard","learning","school","teaching","whiteboard","writing"]},"styles":["solid"],"unicode":"f51b","label":"Chalkboard"},"chalkboard-teacher":{"search":{"terms":["blackboard","instructor","learning","professor","school","whiteboard","writing"]},"styles":["solid"],"unicode":"f51c","label":"Chalkboard Teacher"},"charging-station":{"search":{"terms":["electric","ev","tesla","vehicle"]},"styles":["solid"],"unicode":"f5e7","label":"Charging Station"},"chart-area":{"search":{"terms":["analytics","area","chart","graph"]},"styles":["solid"],"unicode":"f1fe","label":"Area Chart"},"chart-bar":{"search":{"terms":["analytics","bar","chart","graph"]},"styles":["solid","regular"],"unicode":"f080","label":"Bar Chart"},"chart-line":{"search":{"terms":["activity","analytics","chart","dashboard","gain","graph","increase","line"]},"styles":["solid"],"unicode":"f201","label":"Line Chart"},"chart-pie":{"search":{"terms":["analytics","chart","diagram","graph","pie"]},"styles":["solid"],"unicode":"f200","label":"Pie Chart"},"check":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f00c","label":"Check"},"check-circle":{"search":{"terms":["accept","agree","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f058","label":"Check Circle"},"check-double":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","notice","notification","notify","ok","select","success","tick","todo"]},"styles":["solid"],"unicode":"f560","label":"Double Check"},"check-square":{"search":{"terms":["accept","agree","checkmark","confirm","correct","done","ok","select","success","tick","todo","yes"]},"styles":["solid","regular"],"unicode":"f14a","label":"Check Square"},"cheese":{"search":{"terms":["cheddar","curd","gouda","melt","parmesan","sandwich","swiss","wedge"]},"styles":["solid"],"unicode":"f7ef","label":"Cheese"},"chess":{"search":{"terms":["board","castle","checkmate","game","king","rook","strategy","tournament"]},"styles":["solid"],"unicode":"f439","label":"Chess"},"chess-bishop":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43a","label":"Chess Bishop"},"chess-board":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43c","label":"Chess Board"},"chess-king":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f43f","label":"Chess King"},"chess-knight":{"search":{"terms":["board","checkmate","game","horse","strategy"]},"styles":["solid"],"unicode":"f441","label":"Chess Knight"},"chess-pawn":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f443","label":"Chess Pawn"},"chess-queen":{"search":{"terms":["board","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f445","label":"Chess Queen"},"chess-rook":{"search":{"terms":["board","castle","checkmate","game","strategy"]},"styles":["solid"],"unicode":"f447","label":"Chess Rook"},"chevron-circle-down":{"search":{"terms":["arrow","download","dropdown","menu","more"]},"styles":["solid"],"unicode":"f13a","label":"Chevron Circle Down"},"chevron-circle-left":{"search":{"terms":["arrow","back","previous"]},"styles":["solid"],"unicode":"f137","label":"Chevron Circle Left"},"chevron-circle-right":{"search":{"terms":["arrow","forward","next"]},"styles":["solid"],"unicode":"f138","label":"Chevron Circle Right"},"chevron-circle-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f139","label":"Chevron Circle Up"},"chevron-down":{"search":{"terms":["arrow","download","expand"]},"styles":["solid"],"unicode":"f078","label":"chevron-down"},"chevron-left":{"search":{"terms":["arrow","back","bracket","previous"]},"styles":["solid"],"unicode":"f053","label":"chevron-left"},"chevron-right":{"search":{"terms":["arrow","bracket","forward","next"]},"styles":["solid"],"unicode":"f054","label":"chevron-right"},"chevron-up":{"search":{"terms":["arrow","collapse","upload"]},"styles":["solid"],"unicode":"f077","label":"chevron-up"},"child":{"search":{"terms":["boy","girl","kid","toddler","young"]},"styles":["solid"],"unicode":"f1ae","label":"Child"},"chrome":{"search":{"terms":["browser"]},"styles":["brands"],"unicode":"f268","label":"Chrome"},"chromecast":{"search":{"terms":[]},"styles":["brands"],"unicode":"f838","label":"Chromecast"},"church":{"search":{"terms":["building","cathedral","chapel","community","religion"]},"styles":["solid"],"unicode":"f51d","label":"Church"},"circle":{"search":{"terms":["circle-thin","diameter","dot","ellipse","notification","round"]},"styles":["solid","regular"],"unicode":"f111","label":"Circle"},"circle-notch":{"search":{"terms":["circle-o-notch","diameter","dot","ellipse","round","spinner"]},"styles":["solid"],"unicode":"f1ce","label":"Circle Notched"},"city":{"search":{"terms":["buildings","busy","skyscrapers","urban","windows"]},"styles":["solid"],"unicode":"f64f","label":"City"},"clinic-medical":{"search":{"terms":["covid-19","doctor","general practitioner","hospital","infirmary","medicine","office","outpatient"]},"styles":["solid"],"unicode":"f7f2","label":"Medical Clinic"},"clipboard":{"search":{"terms":["copy","notes","paste","record"]},"styles":["solid","regular"],"unicode":"f328","label":"Clipboard"},"clipboard-check":{"search":{"terms":["accept","agree","confirm","done","ok","select","success","tick","todo","yes"]},"styles":["solid"],"unicode":"f46c","label":"Clipboard with Check"},"clipboard-list":{"search":{"terms":["checklist","completed","done","finished","intinerary","ol","schedule","tick","todo","ul"]},"styles":["solid"],"unicode":"f46d","label":"Clipboard List"},"clock":{"search":{"terms":["date","late","schedule","time","timer","timestamp","watch"]},"styles":["solid","regular"],"unicode":"f017","label":"Clock"},"clone":{"search":{"terms":["arrange","copy","duplicate","paste"]},"styles":["solid","regular"],"unicode":"f24d","label":"Clone"},"closed-captioning":{"search":{"terms":["cc","deaf","hearing","subtitle","subtitling","text","video"]},"styles":["solid","regular"],"unicode":"f20a","label":"Closed Captioning"},"cloud":{"search":{"terms":["atmosphere","fog","overcast","save","upload","weather"]},"styles":["solid"],"unicode":"f0c2","label":"Cloud"},"cloud-download-alt":{"search":{"terms":["download","export","save"]},"styles":["solid"],"unicode":"f381","label":"Alternate Cloud Download"},"cloud-meatball":{"search":{"terms":["FLDSMDFR","food","spaghetti","storm"]},"styles":["solid"],"unicode":"f73b","label":"Cloud with (a chance of) Meatball"},"cloud-moon":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","sky"]},"styles":["solid"],"unicode":"f6c3","label":"Cloud with Moon"},"cloud-moon-rain":{"search":{"terms":["crescent","evening","lunar","night","partly cloudy","precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73c","label":"Cloud with Moon and Rain"},"cloud-rain":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f73d","label":"Cloud with Rain"},"cloud-showers-heavy":{"search":{"terms":["precipitation","rain","sky","storm"]},"styles":["solid"],"unicode":"f740","label":"Cloud with Heavy Showers"},"cloud-sun":{"search":{"terms":["clear","day","daytime","fall","outdoors","overcast","partly cloudy"]},"styles":["solid"],"unicode":"f6c4","label":"Cloud with Sun"},"cloud-sun-rain":{"search":{"terms":["day","overcast","precipitation","storm","summer","sunshower"]},"styles":["solid"],"unicode":"f743","label":"Cloud with Sun and Rain"},"cloud-upload-alt":{"search":{"terms":["cloud-upload","import","save","upload"]},"styles":["solid"],"unicode":"f382","label":"Alternate Cloud Upload"},"cloudscale":{"search":{"terms":[]},"styles":["brands"],"unicode":"f383","label":"cloudscale.ch"},"cloudsmith":{"search":{"terms":[]},"styles":["brands"],"unicode":"f384","label":"Cloudsmith"},"cloudversify":{"search":{"terms":[]},"styles":["brands"],"unicode":"f385","label":"cloudversify"},"cocktail":{"search":{"terms":["alcohol","beverage","drink","gin","glass","margarita","martini","vodka"]},"styles":["solid"],"unicode":"f561","label":"Cocktail"},"code":{"search":{"terms":["brackets","code","development","html"]},"styles":["solid"],"unicode":"f121","label":"Code"},"code-branch":{"search":{"terms":["branch","code-fork","fork","git","github","rebase","svn","vcs","version"]},"styles":["solid"],"unicode":"f126","label":"Code Branch"},"codepen":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1cb","label":"Codepen"},"codiepie":{"search":{"terms":[]},"styles":["brands"],"unicode":"f284","label":"Codie Pie"},"coffee":{"search":{"terms":["beverage","breakfast","cafe","drink","fall","morning","mug","seasonal","tea"]},"styles":["solid"],"unicode":"f0f4","label":"Coffee"},"cog":{"search":{"terms":["gear","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f013","label":"cog"},"cogs":{"search":{"terms":["gears","mechanical","settings","sprocket","wheel"]},"styles":["solid"],"unicode":"f085","label":"cogs"},"coins":{"search":{"terms":["currency","dime","financial","gold","money","penny"]},"styles":["solid"],"unicode":"f51e","label":"Coins"},"columns":{"search":{"terms":["browser","dashboard","organize","panes","split"]},"styles":["solid"],"unicode":"f0db","label":"Columns"},"comment":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f075","label":"comment"},"comment-alt":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f27a","label":"Alternate Comment"},"comment-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f651","label":"Comment Dollar"},"comment-dots":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","more","note","notification","reply","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f4ad","label":"Comment Dots"},"comment-medical":{"search":{"terms":["advice","bubble","chat","commenting","conversation","diagnose","feedback","message","note","notification","prescription","sms","speech","texting"]},"styles":["solid"],"unicode":"f7f5","label":"Alternate Medical Chat"},"comment-slash":{"search":{"terms":["bubble","cancel","chat","commenting","conversation","feedback","message","mute","note","notification","quiet","sms","speech","texting"]},"styles":["solid"],"unicode":"f4b3","label":"Comment Slash"},"comments":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","note","notification","sms","speech","texting"]},"styles":["solid","regular"],"unicode":"f086","label":"comments"},"comments-dollar":{"search":{"terms":["bubble","chat","commenting","conversation","feedback","message","money","note","notification","pay","sms","speech","spend","texting","transfer"]},"styles":["solid"],"unicode":"f653","label":"Comments Dollar"},"compact-disc":{"search":{"terms":["album","bluray","cd","disc","dvd","media","movie","music","record","video","vinyl"]},"styles":["solid"],"unicode":"f51f","label":"Compact Disc"},"compass":{"search":{"terms":["directions","directory","location","menu","navigation","safari","travel"]},"styles":["solid","regular"],"unicode":"f14e","label":"Compass"},"compress":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f066","label":"Compress"},"compress-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f422","label":"Alternate Compress"},"compress-arrows-alt":{"search":{"terms":["collapse","fullscreen","minimize","move","resize","shrink","smaller"]},"styles":["solid"],"unicode":"f78c","label":"Alternate Compress Arrows"},"concierge-bell":{"search":{"terms":["attention","hotel","receptionist","service","support"]},"styles":["solid"],"unicode":"f562","label":"Concierge Bell"},"confluence":{"search":{"terms":["atlassian"]},"styles":["brands"],"unicode":"f78d","label":"Confluence"},"connectdevelop":{"search":{"terms":[]},"styles":["brands"],"unicode":"f20e","label":"Connect Develop"},"contao":{"search":{"terms":[]},"styles":["brands"],"unicode":"f26d","label":"Contao"},"cookie":{"search":{"terms":["baked good","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f563","label":"Cookie"},"cookie-bite":{"search":{"terms":["baked good","bitten","chips","chocolate","eat","snack","sweet","treat"]},"styles":["solid"],"unicode":"f564","label":"Cookie Bite"},"copy":{"search":{"terms":["clone","duplicate","file","files-o","paper","paste"]},"styles":["solid","regular"],"unicode":"f0c5","label":"Copy"},"copyright":{"search":{"terms":["brand","mark","register","trademark"]},"styles":["solid","regular"],"unicode":"f1f9","label":"Copyright"},"cotton-bureau":{"search":{"terms":["clothing","t-shirts","tshirts"]},"styles":["brands"],"unicode":"f89e","label":"Cotton Bureau"},"couch":{"search":{"terms":["chair","cushion","furniture","relax","sofa"]},"styles":["solid"],"unicode":"f4b8","label":"Couch"},"cpanel":{"search":{"terms":[]},"styles":["brands"],"unicode":"f388","label":"cPanel"},"creative-commons":{"search":{"terms":[]},"styles":["brands"],"unicode":"f25e","label":"Creative Commons"},"creative-commons-by":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e7","label":"Creative Commons Attribution"},"creative-commons-nc":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e8","label":"Creative Commons Noncommercial"},"creative-commons-nc-eu":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4e9","label":"Creative Commons Noncommercial (Euro Sign)"},"creative-commons-nc-jp":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ea","label":"Creative Commons Noncommercial (Yen Sign)"},"creative-commons-nd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4eb","label":"Creative Commons No Derivative Works"},"creative-commons-pd":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ec","label":"Creative Commons Public Domain"},"creative-commons-pd-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ed","label":"Alternate Creative Commons Public Domain"},"creative-commons-remix":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ee","label":"Creative Commons Remix"},"creative-commons-sa":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4ef","label":"Creative Commons Share Alike"},"creative-commons-sampling":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f0","label":"Creative Commons Sampling"},"creative-commons-sampling-plus":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f1","label":"Creative Commons Sampling +"},"creative-commons-share":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f2","label":"Creative Commons Share"},"creative-commons-zero":{"search":{"terms":[]},"styles":["brands"],"unicode":"f4f3","label":"Creative Commons CC0"},"credit-card":{"search":{"terms":["buy","checkout","credit-card-alt","debit","money","payment","purchase"]},"styles":["solid","regular"],"unicode":"f09d","label":"Credit Card"},"critical-role":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","game","gaming","tabletop"]},"styles":["brands"],"unicode":"f6c9","label":"Critical Role"},"crop":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f125","label":"crop"},"crop-alt":{"search":{"terms":["design","frame","mask","resize","shrink"]},"styles":["solid"],"unicode":"f565","label":"Alternate Crop"},"cross":{"search":{"terms":["catholicism","christianity","church","jesus"]},"styles":["solid"],"unicode":"f654","label":"Cross"},"crosshairs":{"search":{"terms":["aim","bullseye","gpd","picker","position"]},"styles":["solid"],"unicode":"f05b","label":"Crosshairs"},"crow":{"search":{"terms":["bird","bullfrog","fauna","halloween","holiday","toad"]},"styles":["solid"],"unicode":"f520","label":"Crow"},"crown":{"search":{"terms":["award","favorite","king","queen","royal","tiara"]},"styles":["solid"],"unicode":"f521","label":"Crown"},"crutch":{"search":{"terms":["cane","injury","mobility","wheelchair"]},"styles":["solid"],"unicode":"f7f7","label":"Crutch"},"css3":{"search":{"terms":["code"]},"styles":["brands"],"unicode":"f13c","label":"CSS 3 Logo"},"css3-alt":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38b","label":"Alternate CSS3 Logo"},"cube":{"search":{"terms":["3d","block","dice","package","square","tesseract"]},"styles":["solid"],"unicode":"f1b2","label":"Cube"},"cubes":{"search":{"terms":["3d","block","dice","package","pyramid","square","stack","tesseract"]},"styles":["solid"],"unicode":"f1b3","label":"Cubes"},"cut":{"search":{"terms":["clip","scissors","snip"]},"styles":["solid"],"unicode":"f0c4","label":"Cut"},"cuttlefish":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38c","label":"Cuttlefish"},"d-and-d":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38d","label":"Dungeons & Dragons"},"d-and-d-beyond":{"search":{"terms":["Dungeons & Dragons","d&d","dnd","fantasy","gaming","tabletop"]},"styles":["brands"],"unicode":"f6ca","label":"D&D Beyond"},"dailymotion":{"search":{"terms":[]},"styles":["brands"],"unicode":"f952","label":"dailymotion"},"dashcube":{"search":{"terms":[]},"styles":["brands"],"unicode":"f210","label":"DashCube"},"database":{"search":{"terms":["computer","development","directory","memory","storage"]},"styles":["solid"],"unicode":"f1c0","label":"Database"},"deaf":{"search":{"terms":["ear","hearing","sign language"]},"styles":["solid"],"unicode":"f2a4","label":"Deaf"},"delicious":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a5","label":"Delicious"},"democrat":{"search":{"terms":["american","democratic party","donkey","election","left","left-wing","liberal","politics","usa"]},"styles":["solid"],"unicode":"f747","label":"Democrat"},"deploydog":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38e","label":"deploy.dog"},"deskpro":{"search":{"terms":[]},"styles":["brands"],"unicode":"f38f","label":"Deskpro"},"desktop":{"search":{"terms":["computer","cpu","demo","desktop","device","imac","machine","monitor","pc","screen"]},"styles":["solid"],"unicode":"f108","label":"Desktop"},"dev":{"search":{"terms":[]},"styles":["brands"],"unicode":"f6cc","label":"DEV"},"deviantart":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1bd","label":"deviantART"},"dharmachakra":{"search":{"terms":["buddhism","buddhist","wheel of dharma"]},"styles":["solid"],"unicode":"f655","label":"Dharmachakra"},"dhl":{"search":{"terms":["Dalsey","Hillblom and Lynn","german","package","shipping"]},"styles":["brands"],"unicode":"f790","label":"DHL"},"diagnoses":{"search":{"terms":["analyze","detect","diagnosis","examine","medicine"]},"styles":["solid"],"unicode":"f470","label":"Diagnoses"},"diaspora":{"search":{"terms":[]},"styles":["brands"],"unicode":"f791","label":"Diaspora"},"dice":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f522","label":"Dice"},"dice-d20":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6cf","label":"Dice D20"},"dice-d6":{"search":{"terms":["Dungeons & Dragons","chance","d&d","dnd","fantasy","gambling","game","roll"]},"styles":["solid"],"unicode":"f6d1","label":"Dice D6"},"dice-five":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f523","label":"Dice Five"},"dice-four":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f524","label":"Dice Four"},"dice-one":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f525","label":"Dice One"},"dice-six":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f526","label":"Dice Six"},"dice-three":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f527","label":"Dice Three"},"dice-two":{"search":{"terms":["chance","gambling","game","roll"]},"styles":["solid"],"unicode":"f528","label":"Dice Two"},"digg":{"search":{"terms":[]},"styles":["brands"],"unicode":"f1a6","label":"Digg Logo"},"digital-ocean":{"search":{"terms":[]},"styles":["brands"],"unicode":"f391","label":"Digital Ocean"},"digital-tachograph":{"search":{"terms":["data","distance","speed","tachometer"]},"styles":["solid"],"unicode":"f566","label":"Digital Tachograph"},"directions":{"search":{"terms":["map","navigation","sign","turn"]},"styles":["solid"],"unicode":"f5eb","label":"Directions"},"discord":{"search":{"terms":[]},"styles":["brands"],"unicode":"f392","label":"Discord"},"discourse":{"search":{"terms":[]},"styles":["brands"],"unicode":"f393","label":"Discourse"},"disease":{"search":{"terms":["bacteria","cancer","covid-19","illness","infection","sickness","virus"]},"styles":["solid"],"unicode":"f7fa","label":"Disease"},"divide":{"search":{"terms":["arithmetic","calculus","division","math"]},"styles":["solid"],"unicode":"f529","label":"Divide"},"dizzy":{"search":{"terms":["dazed","dead","disapprove","emoticon","face"]},"styles":["solid","regular"],"unicode":"f567","label":"Dizzy Face"},"dna":{"search":{"terms":["double helix","genetic","helix","molecule","protein"]},"styles":["solid"],"unicode":"f471","label":"DNA"},"dochub":{"search":{"terms":[]},"styles":["brands"],"unicode":"f394","label":"DocHub"},"docker":{"search":{"terms":[]},"styles":["brands"],"unicode":"f395","label":"Docker"},"dog":{"search":{"terms":["animal","canine","fauna","mammal","pet","pooch","puppy","woof"]},"styles":["solid"],"unicode":"f6d3","label":"Dog"},"dollar-sign":{"search":{"terms":["$","cost","dollar-sign","money","price","usd"]},"styles":["solid"],"unicode":"f155","label":"Dollar Sign"},"dolly":{"search":{"terms":["carry","shipping","transport"]},"styles":["solid"],"unicode":"f472","label":"Dolly"},"dolly-flatbed":{"search":{"terms":["carry","inventory","shipping","transport"]},"styles":["solid"],"unicode":"f474","label":"Dolly Flatbed"},"donate":{"search":{"terms":["contribute","generosity","gift","give"]},"styles":["solid"],"unicode":"f4b9","label":"Donate"},"door-closed":{"search":{"terms":["enter","exit","locked"]},"styles":["solid"],"unicode":"f52a","label":"Door Closed"},"door-open":{"search":{"terms":["enter","exit","welcome"]},"styles":["solid"],"unicode":"f52b","label":"Door Open"},"dot-circle":{"search":{"terms":["bullseye","notification","target"]},"styles":["solid","regular"],"unicode":"f192","label":"Dot Circle"},"dove":{"search":{"terms":["bird","fauna","flying","peace","war"]},"styles":["solid"],"unicode":"f4ba","label":"Dove"},"download":{"search":{"terms":["export","hard drive