EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor - Version 3.0.0

Version Description

Download this release

Release Info

Developer wpdevteam
Plugin Icon wp plugin EmbedPress – Embed Google Docs, YouTube, Maps, Vimeo, Wistia Videos & Upload PDF, PPT in Gutenberg & Elementor
Version 3.0.0
Comparing to
See all releases

Code changes from version 2.7.7 to 3.0.0

Files changed (55) hide show
  1. EmbedPress/Core.php +19 -13
  2. EmbedPress/CoreLegacy.php +21 -11
  3. EmbedPress/Elementor/Embedpress_Elementor_Integration.php +21 -7
  4. EmbedPress/Ends/Back/Settings.php +2 -2
  5. EmbedPress/Ends/Back/Settings/EmbedpressSettings.php +256 -0
  6. EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.eot +0 -0
  7. EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.svg +23 -0
  8. EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.ttf +0 -0
  9. EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.woff +0 -0
  10. EmbedPress/Ends/Back/Settings/assets/css/icon/style.css +66 -0
  11. EmbedPress/Ends/Back/Settings/assets/css/style.css +3279 -0
  12. EmbedPress/Ends/Back/Settings/assets/img/alert.svg +23 -0
  13. EmbedPress/Ends/Back/Settings/assets/img/brand.svg +1 -0
  14. EmbedPress/Ends/Back/Settings/assets/img/check.svg +44 -0
  15. EmbedPress/Ends/Back/Settings/assets/img/error.svg +53 -0
  16. EmbedPress/Ends/Back/Settings/assets/img/logo.svg +19 -0
  17. EmbedPress/Ends/Back/Settings/assets/img/settings-sub.svg +43 -0
  18. EmbedPress/Ends/Back/Settings/assets/img/settings.svg +2 -0
  19. EmbedPress/Ends/Back/Settings/assets/img/site-icon.svg +7 -0
  20. EmbedPress/Ends/Back/Settings/assets/img/twitch.svg +41 -0
  21. EmbedPress/Ends/Back/Settings/assets/img/unlock-license.svg +48 -0
  22. EmbedPress/Ends/Back/Settings/assets/img/vimeo.svg +1 -0
  23. EmbedPress/Ends/Back/Settings/assets/img/wistia.svg +1 -0
  24. EmbedPress/Ends/Back/Settings/assets/img/youtube.svg +1 -0
  25. EmbedPress/Ends/Back/Settings/assets/js/settings.js +215 -0
  26. EmbedPress/Ends/Back/Settings/templates/custom-logo.php +150 -0
  27. EmbedPress/Ends/Back/Settings/templates/elements.php +208 -0
  28. EmbedPress/Ends/Back/Settings/templates/general.php +67 -0
  29. EmbedPress/Ends/Back/Settings/templates/go-premium.php +10 -0
  30. EmbedPress/Ends/Back/Settings/templates/license.php +6 -0
  31. EmbedPress/Ends/Back/Settings/templates/main-template.php +23 -0
  32. EmbedPress/Ends/Back/Settings/templates/partials/alert-coming-soon.php +11 -0
  33. EmbedPress/Ends/Back/Settings/templates/partials/alert-pro.php +12 -0
  34. EmbedPress/Ends/Back/Settings/templates/partials/footer.php +38 -0
  35. EmbedPress/Ends/Back/Settings/templates/partials/logo.php +14 -0
  36. EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php +84 -0
  37. EmbedPress/Ends/Back/Settings/templates/partials/toast-message.php +49 -0
  38. EmbedPress/Ends/Back/Settings/templates/twitch.php +116 -0
  39. EmbedPress/Ends/Back/Settings/templates/vimeo.php +152 -0
  40. EmbedPress/Ends/Back/Settings/templates/wistia.php +228 -0
  41. EmbedPress/Ends/Back/Settings/templates/youtube.php +153 -0
  42. EmbedPress/Ends/Front/Handler.php +5 -1
  43. EmbedPress/Includes/Classes/EmbedPress_Notice.php +24 -25
  44. EmbedPress/Includes/Traits/Shared.php +9 -1
  45. EmbedPress/Plugins/Plugin.php +3 -1
  46. EmbedPress/Shortcode.php +12 -3
  47. Gutenberg/dist/blocks.build.js +1 -1
  48. Gutenberg/dist/blocks.editor.build.css +1 -1
  49. Gutenberg/dist/blocks.style.build.css +1 -1
  50. Gutenberg/plugin.php +31 -10
  51. assets/css/admin.css +16 -2
  52. assets/js/front.js +35 -0
  53. embedpress.php +21 -10
  54. includes.php +2 -2
  55. readme.txt +9 -2
EmbedPress/Core.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace EmbedPress;
4
 
5
  use EmbedPress\Ends\Back\Handler as EndHandlerAdmin;
 
6
  use EmbedPress\Ends\Front\Handler as EndHandlerPublic;
7
  use EmbedPress\Includes\Traits\Shared;
8
 
@@ -125,12 +126,13 @@ class Core {
125
  add_action('rest_api_init', [$this, 'registerOEmbedRestRoutes']);
126
 
127
  if (is_admin()) {
 
128
  $plgSettings = self::getSettings();
129
  $this->admin_notice();
130
- $settingsClassNamespace = '\\EmbedPress\\Ends\\Back\\Settings';
131
- add_action('admin_menu', [$settingsClassNamespace, 'registerMenuItem']);
132
- add_action('admin_init', [$settingsClassNamespace, 'registerActions']);
133
- unset($settingsClassNamespace);
134
 
135
  add_filter('plugin_action_links_embedpress/embedpress.php', ['\\EmbedPress\\Core', 'handleActionLinks'], 10,
136
  2);
@@ -463,11 +465,11 @@ class Core {
463
  }
464
 
465
  if (!isset($settings['enableEmbedResizeHeight'])) {
466
- $settings['enableEmbedResizeHeight'] = 552;
467
  }
468
 
469
  if (!isset($settings['enableEmbedResizeWidth'])) {
470
- $settings['enableEmbedResizeWidth'] = 652;
471
  }
472
 
473
  return (object) $settings;
@@ -537,14 +539,18 @@ class Core {
537
  * @static
538
  *
539
  */
540
- public static function handleActionLinks ($links, $file) {
541
- $settingsLink = '<a href="'.admin_url('admin.php?page=embedpress').'" aria-label="'.__('Open settings page',
542
- 'embedpress').'">'.__('Settings', 'embedpress').'</a>';
 
 
 
 
 
 
 
 
543
 
544
- array_unshift($links, $settingsLink);
545
-
546
- return $links;
547
- }
548
 
549
  /**
550
  * Method that ensures the API's url are whitelisted to WordPress external requests.
3
  namespace EmbedPress;
4
 
5
  use EmbedPress\Ends\Back\Handler as EndHandlerAdmin;
6
+ use EmbedPress\Ends\Back\Settings\EmbedpressSettings;
7
  use EmbedPress\Ends\Front\Handler as EndHandlerPublic;
8
  use EmbedPress\Includes\Traits\Shared;
9
 
126
  add_action('rest_api_init', [$this, 'registerOEmbedRestRoutes']);
127
 
128
  if (is_admin()) {
129
+ new EmbedpressSettings();
130
  $plgSettings = self::getSettings();
131
  $this->admin_notice();
132
+ //$settingsClassNamespace = '\\EmbedPress\\Ends\\Back\\Settings';
133
+ //add_action('admin_menu', [$settingsClassNamespace, 'registerMenuItem']);
134
+ //add_action('admin_init', [$settingsClassNamespace, 'registerActions']);
135
+ //unset($settingsClassNamespace);
136
 
137
  add_filter('plugin_action_links_embedpress/embedpress.php', ['\\EmbedPress\\Core', 'handleActionLinks'], 10,
138
  2);
465
  }
466
 
467
  if (!isset($settings['enableEmbedResizeHeight'])) {
468
+ $settings['enableEmbedResizeHeight'] = 550; // old 552
469
  }
470
 
471
  if (!isset($settings['enableEmbedResizeWidth'])) {
472
+ $settings['enableEmbedResizeWidth'] = 600; // old 652
473
  }
474
 
475
  return (object) $settings;
539
  * @static
540
  *
541
  */
542
+ public static function handleActionLinks($links, $file)
543
+ {
544
+ $settingsLink = '<a href="' . admin_url('admin.php?page=embedpress') . '" aria-label="' . __('Open settings page',
545
+ 'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
546
+
547
+ array_unshift($links, $settingsLink);
548
+ if ( !is_embedpress_pro_active() ) {
549
+ $links[] = '<a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank" class="embedpress-go-pro-action">'.__('Go Pro', 'embedpress').'</a>';
550
+ }
551
+ return $links;
552
+ }
553
 
 
 
 
 
554
 
555
  /**
556
  * Method that ensures the API's url are whitelisted to WordPress external requests.
EmbedPress/CoreLegacy.php CHANGED
@@ -3,6 +3,7 @@
3
  namespace EmbedPress;
4
 
5
  use EmbedPress\Ends\Back\Handler as EndHandlerAdmin;
 
6
  use EmbedPress\Ends\Front\Handler as EndHandlerPublic;
7
 
8
  (defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed.");
@@ -122,12 +123,13 @@ class CoreLegacy
122
  global $wp_actions;
123
 
124
  if (is_admin()) {
125
- $plgSettings = self::getSettings();
 
126
  $this->admin_notice();
127
- $settingsClassNamespace = '\\EmbedPress\\Ends\\Back\\Settings';
128
- add_action('admin_menu', [$settingsClassNamespace, 'registerMenuItem']);
129
- add_action('admin_init', [$settingsClassNamespace, 'registerActions']);
130
- unset($settingsClassNamespace);
131
 
132
  add_filter('plugin_action_links_embedpress/embedpress.php',
133
  ['\\EmbedPress\\CoreLegacy', 'handleActionLinks'], 10, 2);
@@ -157,12 +159,17 @@ class CoreLegacy
157
  } else {
158
  add_action('init', ['\\EmbedPress\\DisablerLegacy', 'run'], 1);
159
 
160
- $plgHandlerPublicInstance = new EndHandlerPublic($this->getPluginName(), $this->getPluginVersion());
161
 
162
- $this->loaderInstance->add_action('wp_enqueue_scripts', $plgHandlerPublicInstance, 'enqueueScripts');
163
- $this->loaderInstance->add_action('wp_enqueue_scripts', $plgHandlerPublicInstance, 'enqueueStyles');
 
 
 
 
 
 
164
 
165
- unset($plgHandlerPublicInstance);
166
  }
167
 
168
  // Add support for embeds on AMP pages
@@ -351,10 +358,13 @@ class CoreLegacy
351
  'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
352
 
353
  array_unshift($links, $settingsLink);
354
-
355
- return $links;
 
 
356
  }
357
 
 
358
  /**
359
  * Method that ensures the API's url are whitelisted to WordPress external requests.
360
  *
3
  namespace EmbedPress;
4
 
5
  use EmbedPress\Ends\Back\Handler as EndHandlerAdmin;
6
+ use EmbedPress\Ends\Back\Settings\EmbedpressSettings;
7
  use EmbedPress\Ends\Front\Handler as EndHandlerPublic;
8
 
9
  (defined('ABSPATH') && defined('EMBEDPRESS_IS_LOADED')) or die("No direct script access allowed.");
123
  global $wp_actions;
124
 
125
  if (is_admin()) {
126
+ new EmbedpressSettings();
127
+ $plgSettings = self::getSettings();
128
  $this->admin_notice();
129
+ //$settingsClassNamespace = '\\EmbedPress\\Ends\\Back\\Settings';
130
+ //add_action('admin_menu', [$settingsClassNamespace, 'registerMenuItem']);
131
+ //add_action('admin_init', [$settingsClassNamespace, 'registerActions']);
132
+ //unset($settingsClassNamespace);
133
 
134
  add_filter('plugin_action_links_embedpress/embedpress.php',
135
  ['\\EmbedPress\\CoreLegacy', 'handleActionLinks'], 10, 2);
159
  } else {
160
  add_action('init', ['\\EmbedPress\\DisablerLegacy', 'run'], 1);
161
 
162
+ $plgSettings = Core::getSettings();
163
 
164
+ if (!is_admin() && $plgSettings->enablePluginInFront ) {
165
+ $plgHandlerPublicInstance = new EndHandlerPublic($this->getPluginName(), $this->getPluginVersion());
166
+
167
+ $this->loaderInstance->add_action('wp_enqueue_scripts', $plgHandlerPublicInstance, 'enqueueScripts');
168
+ $this->loaderInstance->add_action('wp_enqueue_scripts', $plgHandlerPublicInstance, 'enqueueStyles');
169
+
170
+ unset($plgHandlerPublicInstance);
171
+ }
172
 
 
173
  }
174
 
175
  // Add support for embeds on AMP pages
358
  'embedpress') . '">' . __('Settings', 'embedpress') . '</a>';
359
 
360
  array_unshift($links, $settingsLink);
361
+ if ( !is_embedpress_pro_active() ) {
362
+ $links[] = '<a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank" class="embedpress-go-pro-action">'.__('Go Pro', 'embedpress').'</a>';
363
+ }
364
+ return $links;
365
  }
366
 
367
+
368
  /**
369
  * Method that ensures the API's url are whitelisted to WordPress external requests.
370
  *
EmbedPress/Elementor/Embedpress_Elementor_Integration.php CHANGED
@@ -5,17 +5,24 @@ namespace EmbedPress\Elementor;
5
 
6
  (defined( 'ABSPATH' )) or die( "No direct script access allowed." );
7
  use EmbedPress\Compatibility;
 
 
 
8
  class Embedpress_Elementor_Integration {
9
 
10
  /**
11
  * @since 2.4.2
12
  */
13
  public function init() {
14
- add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'embedpress_enqueue_style' ] );
15
- add_action('elementor/editor/before_enqueue_scripts', array($this, 'editor_enqueue_scripts'));
16
- add_action( 'elementor/elements/categories_registered', array( $this, 'register_widget_categories' ) );
17
- add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widget' ) );
18
- add_filter( 'oembed_providers', [ $this, 'addOEmbedProviders' ] );
 
 
 
 
19
  }
20
 
21
  /**
@@ -40,8 +47,15 @@ class Embedpress_Elementor_Integration {
40
  * @since 2.4.2
41
  */
42
  public function register_widget( $widgets_manager ) {
43
- $widgets_manager->register_widget_type( new \EmbedPress\Elementor\Widgets\Embedpress_Elementor );
44
- $widgets_manager->register_widget_type( new \EmbedPress\Elementor\Widgets\Embedpress_Document );
 
 
 
 
 
 
 
45
  }
46
 
47
  /**
5
 
6
  (defined( 'ABSPATH' )) or die( "No direct script access allowed." );
7
  use EmbedPress\Compatibility;
8
+ use EmbedPress\Elementor\Widgets\Embedpress_Document;
9
+ use EmbedPress\Elementor\Widgets\Embedpress_Elementor;
10
+
11
  class Embedpress_Elementor_Integration {
12
 
13
  /**
14
  * @since 2.4.2
15
  */
16
  public function init() {
17
+ $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
18
+ $e_blocks = isset( $elements['elementor']) ? (array) $elements['elementor'] : [];
19
+ if ( !empty($e_blocks['embedpress']) || !empty($e_blocks['embedpress-document']) ) {
20
+ add_action( 'elementor/frontend/after_enqueue_styles', [ $this, 'embedpress_enqueue_style' ] );
21
+ add_action('elementor/editor/before_enqueue_scripts', array($this, 'editor_enqueue_scripts'));
22
+ add_action( 'elementor/elements/categories_registered', array( $this, 'register_widget_categories' ) );
23
+ add_action( 'elementor/widgets/widgets_registered', array( $this, 'register_widget' ) );
24
+ add_filter( 'oembed_providers', [ $this, 'addOEmbedProviders' ] );
25
+ }
26
  }
27
 
28
  /**
47
  * @since 2.4.2
48
  */
49
  public function register_widget( $widgets_manager ) {
50
+ $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
51
+ $e_blocks = isset( $elements['elementor']) ? (array) $elements['elementor'] : [];
52
+
53
+ if ( !empty($e_blocks['embedpress']) ) {
54
+ $widgets_manager->register_widget_type( new Embedpress_Elementor );
55
+ }
56
+ if ( !empty($e_blocks['embedpress-document']) ) {
57
+ $widgets_manager->register_widget_type( new Embedpress_Document );
58
+ }
59
  }
60
 
61
  /**
EmbedPress/Ends/Back/Settings.php CHANGED
@@ -211,7 +211,7 @@ class Settings {
211
  <p><?php esc_html_e( 'The premium version helps us to continue development of the product
212
  incorporating even more features and enhancements.', 'embedpress'); ?></p>
213
  <p><?php esc_html_e( 'You will also get world class support from our dedicated team, 24/7.', 'embedpress'); ?></p>
214
- <a href="https://wpdeveloper.net/plugins/embedpress#pricing" target="_blank"
215
  class="button embedpress-btn"><?php esc_html_e( 'Get Pro Version', 'embedpress'); ?></a>
216
  </div>
217
  </div>
@@ -247,7 +247,7 @@ class Settings {
247
  title="EmbedPress Documentation"><?php esc_html_e( 'Documentation', 'embedpress'); ?></a>
248
  </li>
249
  <li>
250
- <a href="//embedpress.com/#pricing" target="_blank" rel="noopener noreferrer"
251
  title="Get EmbedPress Pro"><?php esc_html_e( 'Get EmbedPress Pro', 'embedpress'); ?></a>
252
  </li>
253
  <li>
211
  <p><?php esc_html_e( 'The premium version helps us to continue development of the product
212
  incorporating even more features and enhancements.', 'embedpress'); ?></p>
213
  <p><?php esc_html_e( 'You will also get world class support from our dedicated team, 24/7.', 'embedpress'); ?></p>
214
+ <a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank"
215
  class="button embedpress-btn"><?php esc_html_e( 'Get Pro Version', 'embedpress'); ?></a>
216
  </div>
217
  </div>
247
  title="EmbedPress Documentation"><?php esc_html_e( 'Documentation', 'embedpress'); ?></a>
248
  </li>
249
  <li>
250
+ <a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank" rel="noopener noreferrer"
251
  title="Get EmbedPress Pro"><?php esc_html_e( 'Get EmbedPress Pro', 'embedpress'); ?></a>
252
  </li>
253
  <li>
EmbedPress/Ends/Back/Settings/EmbedpressSettings.php ADDED
@@ -0,0 +1,256 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ namespace EmbedPress\Ends\Back\Settings;
3
+
4
+ class EmbedpressSettings {
5
+ var $page_slug = '';
6
+ /**
7
+ * @var int|string
8
+ */
9
+ protected $file_version;
10
+
11
+ public function __construct($page_slug = 'embedpress') {
12
+ $this->page_slug = $page_slug;
13
+ $this->file_version = defined( 'WP_DEBUG') && WP_DEBUG ? time() : EMBEDPRESS_VERSION;
14
+ add_action('admin_enqueue_scripts', [$this, 'handle_scripts_and_styles']);
15
+ add_action('admin_menu', [$this, 'register_menu']);
16
+ add_action( 'init', [$this, 'save_settings']);
17
+
18
+ // ajax
19
+ add_action( 'wp_ajax_embedpress_elements_action', [$this, 'update_elements_list']);
20
+
21
+ // Migration
22
+ $option = 'embedpress_elements_updated'; // to update initially for backward compatibility
23
+ if ( !get_option( $option, false) ) {
24
+ $elements_initial_states = [
25
+ 'gutenberg' => [
26
+ 'google-docs-block' => 'google-docs-block',
27
+ 'document' => 'document',
28
+ 'embedpress' => 'embedpress',
29
+ 'google-sheets-block' => 'google-sheets-block',
30
+ 'google-slides-block' => 'google-slides-block',
31
+ 'youtube-block' => 'youtube-block',
32
+ 'google-forms-block' => 'google-forms-block',
33
+ 'google-drawings-block' => 'google-drawings-block',
34
+ 'google-maps-block' => 'google-maps-block',
35
+ 'twitch-block' => 'twitch-block',
36
+ 'wistia-block' => 'wistia-block',
37
+ 'vimeo-block' => 'vimeo-block',
38
+ ],
39
+ 'elementor' => [
40
+ 'embedpress-document' => 'embedpress-document',
41
+ 'embedpress' => 'embedpress',
42
+ ]
43
+ ];
44
+
45
+ $settings = get_option( EMBEDPRESS_PLG_NAME, [] );
46
+ $yt = get_option( EMBEDPRESS_PLG_NAME.':youtube' );
47
+ if ( empty( $settings) && empty( $yt) ) {
48
+ $settings['need_first_time_redirect'] = true;
49
+ }
50
+ if ( !isset( $settings['enablePluginInAdmin']) ) {
51
+ $settings['enablePluginInAdmin'] = 1;
52
+ }
53
+ if ( !isset( $settings['enablePluginInFront']) ) {
54
+ $settings['enablePluginInFront'] = 1;
55
+ }
56
+
57
+ update_option( EMBEDPRESS_PLG_NAME.":elements", $elements_initial_states);
58
+ update_option( EMBEDPRESS_PLG_NAME, $settings);
59
+ update_option( $option, true);
60
+ }
61
+ add_action( 'admin_init', [$this, 'embedpress_maybe_redirect_to_settings'] );
62
+
63
+
64
+ }
65
+ function embedpress_maybe_redirect_to_settings() {
66
+ $settings = get_option( EMBEDPRESS_PLG_NAME, [] );
67
+ if ( isset( $settings['need_first_time_redirect']) && $settings['need_first_time_redirect'] ) {
68
+ if ( get_option( 'embedpress_activation_redirect_done' ) || wp_doing_ajax() ) {
69
+ return;
70
+ }
71
+
72
+
73
+ update_option( 'embedpress_activation_redirect_done', true );
74
+ $settings['need_first_time_redirect'] = false;
75
+ update_option( EMBEDPRESS_PLG_NAME, $settings);
76
+
77
+ if ( is_network_admin() || isset( $_GET['activate-multi'] ) ) {
78
+ return;
79
+ }
80
+
81
+ wp_safe_redirect( admin_url('admin.php?page='.$this->page_slug) );
82
+ exit;
83
+ }
84
+
85
+ }
86
+ public function update_elements_list() {
87
+ if ( !empty($_POST['_wpnonce'] && wp_verify_nonce( $_POST['_wpnonce'], 'embedpress_elements_action')) ) {
88
+ $option = EMBEDPRESS_PLG_NAME.":elements";
89
+ $elements = (array) get_option( $option, []);
90
+ $settings = (array) get_option( EMBEDPRESS_PLG_NAME, []);
91
+
92
+ $type = !empty( $_POST['element_type']) ? sanitize_text_field( $_POST['element_type']) : '';
93
+ $name = !empty( $_POST['element_name']) ? sanitize_text_field( $_POST['element_name']) : '';
94
+ $checked = !empty( $_POST['checked']) ? $_POST['checked'] : false;
95
+ if ( 'false' != $checked ) {
96
+ $elements[$type][$name] = $name;
97
+ if ( $type === 'classic' ) {
98
+ $settings[$name] = 1;
99
+ }
100
+ }else{
101
+ if( isset( $elements[$type]) && isset( $elements[$type][$name])){
102
+ unset( $elements[$type][$name]);
103
+ }
104
+ if ( $type === 'classic' ) {
105
+ $settings[$name] = 0;
106
+ }
107
+ }
108
+ update_option( EMBEDPRESS_PLG_NAME, $settings);
109
+ update_option( $option, $elements);
110
+ wp_send_json_success();
111
+ }
112
+ wp_send_json_error();
113
+ }
114
+
115
+ public function register_menu() {
116
+ add_menu_page( __('EmbedPress Settings', 'embedpress'), 'EmbedPress', 'manage_options', $this->page_slug,
117
+ [ $this, 'render_settings_page' ], null, 64 );
118
+
119
+ }
120
+
121
+ public function handle_scripts_and_styles() {
122
+ if ( !empty( $_REQUEST['page']) && $this->page_slug === $_REQUEST['page'] ) {
123
+ $this->enqueue_styles();
124
+ $this->enqueue_scripts();
125
+ }
126
+ }
127
+
128
+ public function enqueue_scripts() {
129
+ if ( !did_action( 'wp_enqueue_media') ) {
130
+ wp_enqueue_media();
131
+ }
132
+ wp_register_script( 'ep-settings-script', EMBEDPRESS_SETTINGS_ASSETS_URL.'js/settings.js', ['jquery', 'wp-color-picker' ], $this->file_version, true );
133
+ wp_enqueue_script( 'ep-settings', EMBEDPRESS_URL_ASSETS . 'js/settings.js', ['jquery', 'wp-color-picker' ], $this->file_version, true );
134
+ wp_localize_script( 'ep-settings-script', 'embedpressObj', array(
135
+ 'nonce' => wp_create_nonce('embedpress_elements_action'),
136
+ ) );
137
+
138
+ wp_enqueue_script( 'ep-settings-script');
139
+ }
140
+
141
+ public function enqueue_styles() {
142
+ wp_enqueue_style( 'ep-settings-style', EMBEDPRESS_SETTINGS_ASSETS_URL.'css/style.css', null, $this->file_version );
143
+ wp_enqueue_style( 'ep-settings-icon-style', EMBEDPRESS_SETTINGS_ASSETS_URL.'css/icon/style.css', null, $this->file_version );
144
+ wp_enqueue_style( 'wp-color-picker' );
145
+
146
+ }
147
+
148
+ public function render_settings_page( ) {
149
+ $page_slug = $this->page_slug; // make this available for included template
150
+ $template = !empty( $_GET['page_type'] ) ? sanitize_text_field( $_GET['page_type']) : 'general';
151
+ $nonce_field = wp_nonce_field('ep_settings_nonce', 'ep_settings_nonce', true, false);
152
+ $ep_page = admin_url('admin.php?page='.$this->page_slug);
153
+ $gen_menu_template_names = apply_filters('ep_general_menu_tmpl_names', ['general', 'youtube', 'vimeo', 'wistia', 'twitch']);
154
+ $brand_menu_template_names = apply_filters('ep_brand_menu_templates', ['custom-logo', 'branding',]);
155
+ $pro_active = is_embedpress_pro_active();
156
+ $coming_soon = "<span class='ep-coming-soon'>". esc_html__( '(Coming soon)', 'embedpress'). "</span>";
157
+ $success_message = esc_html__( "Settings Updated", "embedpress" );
158
+ $error_message = esc_html__( "Ops! Something went wrong.", "embedpress" );
159
+ include_once EMBEDPRESS_SETTINGS_PATH . 'templates/main-template.php';
160
+ }
161
+
162
+ public function save_settings() {
163
+ if ( !empty( $_POST['ep_settings_nonce']) && wp_verify_nonce( $_POST['ep_settings_nonce'], 'ep_settings_nonce') ) {
164
+ $submit_type = !empty( $_POST['submit'] ) ? $_POST['submit'] : '';
165
+ $save_handler_method = "save_{$submit_type}_settings";
166
+ do_action( "before_{$save_handler_method}");
167
+ do_action( "before_embedpress_settings_save");
168
+ if ( method_exists( $this, $save_handler_method ) ) {
169
+ $this->$save_handler_method();
170
+ }
171
+ do_action( "after_embedpress_settings_save");
172
+ $return_url = isset( $_SERVER['HTTP_REFERER'] ) ? $_SERVER['HTTP_REFERER'] : admin_url();
173
+ $return_url = add_query_arg( 'success', 1, $return_url );
174
+ wp_safe_redirect( $return_url);
175
+ exit();
176
+ }
177
+ }
178
+
179
+ public function save_general_settings() {
180
+ $settings = (array) get_option( EMBEDPRESS_PLG_NAME);
181
+ $settings ['enableEmbedResizeWidth'] = isset( $_POST['enableEmbedResizeWidth']) ? intval( $_POST['enableEmbedResizeWidth']) : 600;
182
+ $settings ['enableEmbedResizeHeight'] = isset( $_POST['enableEmbedResizeHeight']) ? intval( $_POST['enableEmbedResizeHeight']) : 550;
183
+
184
+ // Pro will handle g_loading_animation settings and other
185
+ $settings = apply_filters( 'ep_general_settings_before_save', $settings, $_POST);
186
+
187
+ update_option( EMBEDPRESS_PLG_NAME, $settings);
188
+ do_action( 'ep_general_settings_after_save', $settings, $_POST);
189
+ }
190
+
191
+ public function save_youtube_settings() {
192
+ $option_name = EMBEDPRESS_PLG_NAME.':youtube';
193
+ $settings = get_option( $option_name);
194
+ $settings['autoplay'] = isset( $_POST['autoplay']) ? sanitize_text_field( $_POST['autoplay']) : '';
195
+ $settings['controls'] = isset( $_POST['controls']) ? sanitize_text_field( $_POST['controls']) : '';
196
+ $settings['fs'] = isset( $_POST['fs']) ? sanitize_text_field( $_POST['fs']) : '';
197
+ $settings['iv_load_policy'] = isset( $_POST['iv_load_policy']) ? sanitize_text_field( $_POST['iv_load_policy']) : 1;
198
+ $settings['license_key'] = 1; // backward compatibility
199
+
200
+ // Pro will handle g_loading_animation settings and other
201
+ $settings = apply_filters( 'ep_youtube_settings_before_save', $settings);
202
+ update_option( $option_name, $settings);
203
+ do_action( 'ep_youtube_settings_after_save', $settings);
204
+
205
+ }
206
+
207
+ public function save_wistia_settings() {
208
+ $option_name = EMBEDPRESS_PLG_NAME.':wistia';
209
+ $settings = get_option( $option_name);
210
+ $settings['autoplay'] = isset( $_POST['autoplay']) ? sanitize_text_field( $_POST['autoplay']) : '';
211
+ $settings['display_fullscreen_button'] = isset( $_POST['display_fullscreen_button']) ? sanitize_text_field( $_POST['display_fullscreen_button']) : '';
212
+ $settings['small_play_button'] = isset( $_POST['small_play_button']) ? sanitize_text_field( $_POST['small_play_button']) : '';
213
+ $settings['player_color'] = isset( $_POST['player_color']) ? sanitize_text_field( $_POST['player_color']) : '';
214
+ $settings['plugin_resumable'] = isset( $_POST['plugin_resumable']) ? sanitize_text_field( $_POST['plugin_resumable']) : '';
215
+ $settings['plugin_focus'] = isset( $_POST['plugin_focus']) ? sanitize_text_field( $_POST['plugin_focus']) : '';
216
+ $settings['license_key'] = 1; // backward compatibility
217
+ // Pro will handle g_loading_animation settings and other
218
+ $settings = apply_filters( 'ep_wistia_settings_before_save', $settings);
219
+ update_option( $option_name, $settings);
220
+ do_action( 'ep_wistia_settings_after_save', $settings);
221
+ }
222
+
223
+ public function save_vimeo_settings() {
224
+ $option_name = EMBEDPRESS_PLG_NAME.':vimeo';
225
+ $settings = get_option( $option_name);
226
+ $settings['autoplay'] = isset( $_POST['autoplay']) ? sanitize_text_field( $_POST['autoplay']) : '';
227
+ $settings['color'] = isset( $_POST['color']) ? sanitize_text_field( $_POST['color']) : '#00adef';
228
+ $settings['display_title'] = isset( $_POST['display_title']) ? sanitize_text_field( $_POST['display_title']) : 1;
229
+ $settings['license_key'] = 1; // backward compatibility
230
+ // Pro will handle g_loading_animation settings and other
231
+ $settings = apply_filters( 'ep_vimeo_settings_before_save', $settings);
232
+ update_option( $option_name, $settings);
233
+ do_action( 'ep_vimeo_settings_after_save', $settings);
234
+ }
235
+
236
+ public function save_twitch_settings() {
237
+ $option_name = EMBEDPRESS_PLG_NAME.':twitch';
238
+ $settings = get_option( $option_name);
239
+ $settings['embedpress_pro_twitch_autoplay'] = isset( $_POST['autoplay']) ? sanitize_text_field( $_POST['autoplay']) : 'no';
240
+ $settings['embedpress_pro_fs'] = isset( $_POST['fs']) ? sanitize_text_field( $_POST['fs']) : 'yes';
241
+ $settings['license_key'] = 1; // backward compatibility
242
+ // Pro will handle g_loading_animation settings and other
243
+ $settings = apply_filters( 'ep_twitch_settings_before_save', $settings);
244
+ update_option( $option_name, $settings);
245
+ do_action( 'ep_twitch_settings_after_save', $settings);
246
+ }
247
+
248
+ public function save_custom_logo_settings() {
249
+ do_action( 'before_embedpress_branding_save');
250
+ $settings = (array) get_option( EMBEDPRESS_PLG_NAME, []);
251
+ $settings['embedpress_document_powered_by'] = isset( $_POST['embedpress_document_powered_by']) ? sanitize_text_field( $_POST['embedpress_document_powered_by']) : 'no';
252
+ update_option( EMBEDPRESS_PLG_NAME, $settings);
253
+ do_action( 'after_embedpress_branding_save');
254
+
255
+ }
256
+ }
EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.eot ADDED
Binary file
EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.svg ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>Generated by IcoMoon</metadata>
5
+ <defs>
6
+ <font id="icomoon" horiz-adv-x="1024">
7
+ <font-face units-per-em="1024" ascent="960" descent="-64" />
8
+ <missing-glyph horiz-adv-x="1024" />
9
+ <glyph unicode="&#x20;" horiz-adv-x="512" d="" />
10
+ <glyph unicode="&#xe900;" glyph-name="file" horiz-adv-x="1020" d="M1011.223 751.146l-200.009 200.050c-5.425 5.438-12.926 8.802-21.213 8.805h-460.012c-49.758 0-90.094-40.336-90.094-90.094v0-395.594c-135.786-15.463-240.301-129.705-240.301-268.357 0-149.114 120.881-269.995 269.995-269.995 0.114 0 0.227 0 0.341 0h660.085c49.758 0 90.094 40.336 90.094 90.094v0 703.921c-0.007 8.286-3.371 15.786-8.804 21.213v0zM820.019 857.62l97.588-97.588h-97.588zM59.994 205.995c0 115.98 94.021 210.001 210.001 210.001s210.001-94.021 210.001-210.001c0-115.98-94.021-210.001-210.001-210.001v0c-115.924 0.14-209.861 94.077-210.001 209.988v0.013zM930.016-4.006h-490.521c53.906 43.717 90.436 107.029 98.7 178.941l0.117 1.247h311.684c16.094 0.613 28.909 13.809 28.909 29.997s-12.815 29.384-28.853 29.996l-0.056 0.002h-311.643c-5.155 45.251-20.844 86.028-44.542 120.926l0.601-0.938h355.626c16.094 0.613 28.909 13.809 28.909 29.997s-12.815 29.384-28.853 29.996l-0.056 0.002h-410.542c-38.266 31.141-85.981 52.085-138.247 58.037l-1.235 0.114v395.594c0 16.578 13.439 30.018 30.018 30.018v0h429.994v-169.909c0-16.578 13.439-30.018 30.018-30.018h169.991v-674.026c-0.023-16.561-13.454-29.977-30.018-29.977 0 0 0 0 0 0v0zM846.842 596.43h-448.545c-16.407-0.619-29.472-14.069-29.472-30.571s13.065-29.951 29.416-30.569l0.056-0.002h448.545c0.334-0.013 0.726-0.020 1.119-0.020 16.895 0 30.591 13.696 30.591 30.591s-13.696 30.591-30.591 30.591c-0.394 0-0.785-0.007-1.175-0.022l0.056 0.002zM396.7 284.172c-5.535 5.531-13.179 8.951-21.623 8.951s-16.088-3.421-21.623-8.952v0l-121.054-121.095-39.518 39.518c-5.468 5.177-12.869 8.36-21.014 8.36-16.895 0-30.591-13.696-30.591-30.591 0-8.145 3.183-15.547 8.374-21.028l-0.013 0.014 61.141-61.141c5.535-5.531 13.179-8.951 21.623-8.951s16.088 3.421 21.623 8.952l142.676 142.676c5.531 5.535 8.951 13.179 8.951 21.623s-3.421 16.088-8.952 21.623v0z" />
11
+ <glyph unicode="&#xe901;" glyph-name="star" horiz-adv-x="1068" d="M810.318-64c-0.013 0-0.028 0-0.043 0-14.718 0-28.571 3.699-40.682 10.217l0.458-0.225-230.592 121.146c-1.68 0.918-3.681 1.458-5.808 1.458s-4.127-0.54-5.872-1.49l0.065 0.032-230.592-121.146c-11.676-6.274-25.548-9.961-40.282-9.961-47.734 0-86.429 38.696-86.429 86.429 0 5.179 0.455 10.251 1.329 15.179l-0.076-0.521 44.325 256.555c0.109 0.619 0.171 1.331 0.171 2.058 0 3.558-1.49 6.768-3.881 9.040l-0.005 0.005-186.267 181.826c-16.114 15.715-26.108 37.639-26.108 61.898 0 43.401 31.99 79.33 73.677 85.495l0.471 0.057 257.495 37.407c4.147 0.619 7.58 3.204 9.362 6.76l0.033 0.072 115.296 233.496c14.424 28.799 43.707 48.223 77.526 48.223s63.101-19.424 77.3-47.724l0.226-0.498 115.296-233.411c1.826-3.619 5.253-6.199 9.325-6.824l0.070-0.009 257.665-37.407c42.174-6.23 74.175-42.174 74.175-85.593 0-24.257-9.988-46.18-26.075-61.884l-0.017-0.017-186.481-181.698c-2.393-2.29-3.88-5.509-3.88-9.076 0-0.716 0.060-1.418 0.175-2.101l-0.010 0.074 43.684-256.384c0.785-4.378 1.234-9.418 1.234-14.562 0-47.698-38.58-86.384-86.237-86.557h-0.016zM533.778 142.551c14.718-0.002 28.572-3.7 40.684-10.218l-0.458 0.225 230.592-121.061c1.688-0.978 3.713-1.554 5.873-1.554 2.755 0 5.291 0.939 7.306 2.514l-0.026-0.020c3.175 2.191 5.228 5.809 5.228 9.906 0 0.831-0.085 1.643-0.245 2.427l0.013-0.077-43.983 256.555c-0.78 4.366-1.225 9.391-1.225 14.521 0 24.272 9.981 46.214 26.062 61.943l186.497 181.756c2.335 2.275 3.784 5.451 3.784 8.965 0 6.287-4.636 11.49-10.676 12.378l-0.068 0.008-257.623 37.45c-28.719 4.268-52.497 22.159-64.852 46.774l-0.226 0.497-115.296 233.453c-2.093 4.154-6.324 6.953-11.209 6.953s-9.116-2.8-11.177-6.882l-0.033-0.072-115.467-233.411c-12.589-25.123-36.385-43.017-64.649-47.214l-0.472-0.058-257.58-37.535c-6.111-0.871-10.757-6.068-10.757-12.351 0-3.535 1.471-6.727 3.835-8.996l0.004-0.004 186.566-181.698c16.097-15.745 26.078-37.687 26.078-61.959 0-5.13-0.446-10.155-1.301-15.040l0.075 0.519-44.069-256.598c-0.112-0.63-0.177-1.355-0.177-2.096 0-6.91 5.602-12.512 12.512-12.512 2.143 0 4.16 0.539 5.923 1.488l-0.067-0.033 230.592 121.146c11.66 6.265 25.512 9.947 40.225 9.95h0.001z" />
12
+ <glyph unicode="&#xe902;" glyph-name="support" horiz-adv-x="1086" d="M652.853 4.015c0 37.563-30.451 68.015-68.015 68.015h-83.226c-36.817-0.96-66.295-31.034-66.295-67.993s29.479-67.033 66.207-67.991l0.089-0.002h83.269c37.563 0 68.015 30.451 68.015 68.015v0zM142.939 179.331c7.128-0.614 15.423-0.963 23.801-0.963 5.386 0 10.739 0.145 16.054 0.43l-0.741-0.032c18.081-89.349 95.972-155.67 189.354-155.673h26.076c-1.096-5.743-1.724-12.349-1.724-19.101s0.627-13.358 1.827-19.762l-0.103 0.661h-26.076c-114.704 0.007-209.896 83.541-228.067 193.093l-0.184 1.346zM123.513 219.966c-70.478 12.213-123.413 72.857-123.513 145.884v90.494c0 81.823 66.331 148.154 148.154 148.154v0h9.865c16.51 199.728 182.68 355.571 385.249 355.571s368.74-155.843 385.156-354.175l0.093-1.396h9.865c81.805-0.025 148.111-66.346 148.111-148.154v0-90.483c-0.223-81.655-66.468-147.763-148.154-147.763 0 0 0 0-0.001 0h-43.721c-18.122 0-32.812 14.691-32.812 32.812v0 322.646c0 175.936-142.624 318.56-318.56 318.56s-318.56-142.624-318.56-318.56v0-322.776c-0.002-12.731-7.254-23.767-17.851-29.206l-0.185-0.086c-13.535-3.261-29.075-5.131-45.052-5.131-13.473 0-26.635 1.33-39.363 3.866l1.277-0.212z" />
13
+ <glyph unicode="&#xe903;" glyph-name="cell" horiz-adv-x="1066" d="M689.234 725.579l-156.167 90.152-156.167-90.152v-180.347l156.167-90.152 156.167 90.152zM626.759 581.48l-93.82-54.117-93.82 54.117v108.021l93.82 54.117 93.82-54.117zM124.951 350.897v-180.646l158.385-89.939 156.039 90.11v180.347l-156.039 90.11zM376.9 206.499l-93.82-54.16-95.654 54.33v107.978l95.654 54.33 93.82-54.16zM814.185 797.692l-281.118 162.308-281.118-162.308v-230.285l-251.949-144.44v-324.787l283.25-162.052 249.816 144.099 249.816-144.227 283.25 162.18v324.787l-251.949 144.269zM1003.658 386.719v-252.333l-220.647-126.358-249.944 144.312-249.944-144.312-220.647 126.358v252.333l251.949 144.269v230.626l218.643 126.23 218.643-126.23v-230.626zM626.759 170.421l156.039-90.11 158.385 89.939v180.646l-158.385 89.939-156.039-90.11zM689.234 314.691l93.82 54.16 95.654-54.33v-107.893l-95.654-54.33-93.82 54.16z" />
14
+ <glyph unicode="&#xe904;" glyph-name="gear" d="M923.935 584.52h-4.383c-13.397 0.118-24.81 8.485-29.417 20.263l-0.075 0.217c-1.539 3.588-2.434 7.765-2.434 12.15 0 8.728 3.545 16.627 9.274 22.338l3.114 3.114c18.072 18.133 29.246 43.151 29.246 70.779s-11.174 52.646-29.249 70.782l0.003-0.003-51.61 51.528c-18.122 18.080-43.135 29.259-70.758 29.259s-52.637-11.18-70.76-29.261l-3.111-3.111c-5.856-5.539-13.78-8.945-22.499-8.945-17.786 0-32.262 14.17-32.755 31.837l-0.001 0.046v4.424c-0.070 55.236-44.829 99.995-100.058 100.065h-72.916c-55.236-0.070-99.995-44.829-100.065-100.058v-4.39c-0.639-17.594-15.056-31.614-32.748-31.614-8.644 0-16.507 3.347-22.362 8.817l0.019-0.017-2.949 3.072c-18.122 18.080-43.135 29.259-70.758 29.259s-52.637-11.18-70.76-29.261l0.002 0.002-51.732-51.528c-18.072-18.133-29.246-43.151-29.246-70.779s11.174-52.646 29.249-70.782l3.11-3.11c5.616-5.746 9.082-13.616 9.082-22.295 0-4.712-1.022-9.186-2.855-13.212l0.082 0.2c-4.776-11.664-16.021-19.739-29.158-19.784h-4.389c-55.236-0.070-99.995-44.829-100.065-100.058v-72.916c0.070-55.236 44.829-99.995 100.058-100.065h4.39c13.397-0.118 24.81-8.485 29.417-20.263l0.075-0.217c1.539-3.588 2.434-7.765 2.434-12.15 0-8.728-3.545-16.627-9.274-22.338l-3.114-3.114c-18.072-18.133-29.246-43.151-29.246-70.779s11.174-52.646 29.249-70.782l51.525-51.525c18.119-18.102 43.142-29.297 70.779-29.297s52.659 11.195 70.78 29.297l3.112 3.112c5.753 5.62 13.63 9.086 22.317 9.086 4.72 0 9.2-1.023 13.232-2.86l-0.2 0.082c11.648-4.765 19.712-15.998 19.743-29.119v-4.428c0-55.332 44.856-100.188 100.188-100.188 0.029 0 0.058 0 0.086 0h72.904c55.236 0.070 99.995 44.829 100.065 100.058v4.39c0.639 17.594 15.056 31.614 32.748 31.614 8.644 0 16.507-3.347 22.362-8.817l-0.019 0.017 3.113-3.113c18.122-18.080 43.135-29.259 70.758-29.259s52.637 11.18 70.76 29.261l-0.002-0.002 51.569 51.487c18.072 18.133 29.246 43.151 29.246 70.779s-11.174 52.646-29.249 70.782l-3.11 3.11c-5.616 5.746-9.082 13.616-9.082 22.295 0 4.712 1.022 9.186 2.855 13.212l-0.082-0.2c4.776 11.664 16.021 19.739 29.158 19.784h4.389c55.265 0.070 100.042 44.876 100.065 100.145v72.911c-0.070 55.236-44.829 99.995-100.058 100.065h-0.007zM955.761 411.546c0-17.577-14.249-31.826-31.826-31.826v0h-4.383c-55.363-0.464-100.065-45.452-100.065-100.881 0-27.564 11.054-52.546 28.972-70.755l-0.013 0.013 3.072-3.113c5.764-5.766 9.328-13.731 9.328-22.528s-3.565-16.762-9.328-22.528v0l-51.569-51.446c-5.762-5.774-13.728-9.345-22.528-9.345s-16.766 3.572-22.527 9.345l-0.001 0.001-3.072 3.113c-18.195 17.871-43.16 28.903-70.701 28.903-55.417 0-100.403-44.665-100.921-99.96v-4.473c0-17.577-14.249-31.826-31.826-31.826h-72.827c-17.568 0.023-31.803 14.258-31.826 31.824v4.385c-0.267 55.424-45.259 100.25-100.72 100.25-27.656 0-52.708-11.146-70.91-29.191l-3.106-3.106c-5.766-5.764-13.731-9.328-22.528-9.328s-16.762 3.565-22.528 9.328v0l-51.446 51.569c-5.764 5.766-9.328 13.731-9.328 22.528s3.565 16.762 9.328 22.528l3.113 3.113c17.88 18.191 28.918 43.157 28.918 70.7 0 55.429-44.702 100.417-100.022 100.881h-4.427c-17.577 0-31.826 14.249-31.826 31.826v0 72.909c0.023 17.568 14.258 31.803 31.824 31.826h4.385c55.363 0.464 100.065 45.452 100.065 100.881 0 27.564-11.054 52.546-28.972 70.755l0.013-0.013-3.072 3.113c-5.764 5.766-9.328 13.731-9.328 22.528s3.565 16.762 9.328 22.528v0l51.528 51.487c5.762 5.774 13.728 9.345 22.528 9.345s16.766-3.572 22.527-9.345l0.001-0.001 3.072-3.113c18.2-17.895 43.181-28.943 70.742-28.943 55.417 0 100.402 44.665 100.921 99.959v4.473c0.023 17.568 14.258 31.803 31.824 31.826h72.911c17.577 0 31.826-14.249 31.826-31.826v0-4.383c0.487-55.346 45.466-100.024 100.881-100.024 27.564 0 52.546 11.055 70.755 28.972l3.1 3.1c5.762 5.774 13.728 9.345 22.528 9.345s16.766-3.572 22.527-9.345l51.529-51.57c5.764-5.766 9.328-13.731 9.328-22.528s-3.565-16.762-9.328-22.528l-3.113-3.113c-17.904-18.195-28.958-43.177-28.958-70.741 0-55.443 44.725-100.44 100.064-100.881h4.425c17.577 0 31.826-14.249 31.826-31.826v0zM512 686.92c-131.952 0-238.92-106.968-238.92-238.92s106.968-238.92 238.92-238.92c131.952 0 238.92 106.968 238.92 238.92v0c0 131.952-106.968 238.92-238.92 238.92v0zM512 277.32c-94.264 0-170.68 76.416-170.68 170.68s76.416 170.68 170.68 170.68c94.264 0 170.68-76.416 170.68-170.68v0c0-94.264-76.416-170.68-170.68-170.68v0z" />
15
+ <glyph unicode="&#xe905;" glyph-name="premium" horiz-adv-x="660" d="M659.988 630.026c0 0.073 0 0.161 0 0.248 0 182.262-147.753 330.015-330.015 330.015s-330.015-147.753-330.015-330.015c0-102.248 46.5-193.636 119.507-254.169l0.547-0.441v-409.6c0.030-16.559 13.461-29.971 30.024-29.971 6.197 0 11.955 1.877 16.737 5.094l-0.107-0.068 163.226 108.913 163.471-108.913c4.666-3.132 10.409-4.999 16.589-4.999 16.568 0 30.001 13.42 30.024 29.983v409.602c73.524 60.869 120.013 152.158 120.013 254.305 0 0.020 0 0.039 0 0.059v-0.003zM60.006 630.026c0 0.012 0 0.027 0 0.041 0 149.121 120.887 270.008 270.008 270.008s270.008-120.887 270.008-270.008c0-149.121-120.887-270.008-270.008-270.008v0c-149.032 0.186-269.799 120.938-270.008 269.947v0.020zM480.010 22.016l-133.489 88.965c-4.678 3.162-10.444 5.048-16.65 5.048s-11.973-1.886-16.757-5.116l0.106 0.068-133.202-88.965v314.122c43.607-22.767 95.242-36.123 149.996-36.123s106.388 13.356 151.822 36.987l-1.827-0.865zM195.092 488.96c-0.268-1.505-0.42-3.238-0.42-5.007 0-16.582 13.442-30.024 30.024-30.024 5.080 0 9.865 1.261 14.059 3.488l-0.163-0.079 91.259 47.8 91.259-48.005c4.077-2.207 8.925-3.504 14.076-3.504 16.582 0 30.024 13.442 30.024 30.024 0 1.802-0.159 3.568-0.463 5.283l0.027-0.181-17.408 101.622 73.728 71.926c5.569 5.455 9.022 13.052 9.022 21.455 0 15.039-11.057 27.495-25.485 29.683l-0.166 0.021-102.031 14.828-45.629 92.652c-5.026 9.959-15.174 16.669-26.89 16.669s-21.864-6.711-26.812-16.498l-0.079-0.172-45.629-92.447-102.031-14.787c-14.594-2.208-25.651-14.665-25.651-29.704 0-8.404 3.453-16.001 9.016-21.45l73.733-71.972zM281.6 671.396c9.969 1.479 18.227 7.678 22.531 16.212l0.079 0.172 25.723 52.060 25.682-52.101c4.376-8.696 12.616-14.892 22.404-16.364l0.165-0.020 57.344-8.192-41.615-40.55c-5.599-5.453-9.072-13.064-9.072-21.487 0-1.786 0.156-3.535 0.455-5.235l-0.026 0.18 9.789-57.344c-55.706 29.286-55.624 30.474-65.536 30.474s-9.667-1.188-65.536-30.474l9.83 57.344c0.273 1.52 0.429 3.269 0.429 5.055 0 8.423-3.473 16.034-9.065 21.481l-0.007 0.006-41.574 40.55z" />
16
+ <glyph unicode="&#xe906;" glyph-name="caret-down" d="M1004.743 612.972l-459.897-408.773c-8.952-7.887-20.776-12.701-33.724-12.701s-24.773 4.814-33.78 12.75l0.056-0.049-459.897 408.773c-10.751 9.438-17.501 23.209-17.501 38.557 0 28.291 22.934 51.225 51.225 51.225 12.943 0 24.765-4.8 33.782-12.717l-0.058 0.050 426.172-378.701 426.172 378.701c9.191 8.918 21.745 14.415 35.583 14.415 28.235 0 51.124-22.889 51.124-51.124 0-16.138-7.478-30.53-19.157-39.899l-0.101-0.078z" />
17
+ <glyph unicode="&#xe907;" glyph-name="question" d="M552.004 155.955h-80.009v80.009h80.009zM552.004 389.7c73.050 18.793 126.163 84.072 126.163 161.755 0 92.108-74.668 166.775-166.775 166.775-45.3 0-86.381-18.061-116.436-47.374l0.035 0.034c-31.238-29.885-50.655-71.905-50.655-118.459 0-0.162 0-0.324 0.001-0.486v0.025h79.667c0 0.103-0.001 0.225-0.001 0.347 0 24.014 10.023 45.686 26.115 61.062l0.032 0.030c15.921 15.304 37.591 24.729 61.463 24.729 1.361 0 2.714-0.031 4.060-0.091l-0.191 0.007c46.531-1.485 83.687-39.561 83.687-86.316 0-41.136-28.761-75.553-67.272-84.241l-0.577-0.109c-34.151-7.524-59.325-37.532-59.325-73.419 0-0.181 0.001-0.361 0.002-0.541v0.028-77.483h80.009zM873.813 86.255c100.386 93.726 162.958 226.848 162.958 374.585 0 282.77-229.23 512-512 512-147.737 0-280.859-62.572-374.31-162.661l-0.275-0.298c-100.386-93.726-162.958-226.848-162.958-374.585 0-282.77 229.23-512 512-512 147.737 0 280.859 62.572 374.31 162.661l0.275 0.298zM943.787 448.068c0-0.021 0-0.044 0-0.068 0-238.582-193.409-431.991-431.991-431.991s-431.991 193.409-431.991 431.991c0 238.582 193.409 431.991 431.991 431.991 0.072 0 0.144 0 0.216 0h-0.012c238.478-0.233 431.749-193.456 432.060-431.894v-0.030z" />
18
+ <glyph unicode="&#xe908;" glyph-name="lock" horiz-adv-x="683" d="M614.415 475.872v192.554c0.379 5.393 0.595 11.687 0.595 18.031 0 151.137-122.521 273.657-273.657 273.657s-273.657-122.521-273.657-273.657c0-6.344 0.216-12.638 0.641-18.874l-0.046 0.843v-192.592c-40.027-14.367-68.164-51.933-68.29-96.089v-341.463c0.065-56.525 45.871-102.331 102.39-102.396h477.881c56.525 0.065 102.331 45.871 102.396 102.39v341.454c-0.127 44.17-28.243 81.74-67.539 95.918l-0.712 0.225zM136.541 668.426c-0.489 5.316-0.767 11.498-0.767 17.744 0 113.527 92.032 205.56 205.56 205.56s205.56-92.032 205.56-205.56c0-6.247-0.279-12.428-0.824-18.533l0.057 0.788v-186.415h-409.585zM614.415 38.396c-0.022-18.849-15.296-34.123-34.143-34.145h-477.876c-18.849 0.022-34.123 15.296-34.145 34.143v341.45c0.022 18.849 15.296 34.123 34.143 34.145h477.876c18.849-0.022 34.123-15.296 34.145-34.143v-0.002zM341.295 307.91c-0.056 0-0.123 0-0.189 0-37.228 0-67.407-30.179-67.407-67.407 0-24.856 13.454-46.571 33.477-58.258l0.32-0.173v-76.999c0-18.667 15.133-33.8 33.8-33.8s33.8 15.133 33.8 33.8v0 76.999c20.343 11.859 33.797 33.574 33.797 58.43 0 37.228-30.179 67.407-67.407 67.407-0.066 0-0.133 0-0.199 0h0.010z" />
19
+ <glyph unicode="&#xe909;" glyph-name="branding" horiz-adv-x="1203" d="M1179.665 953.326c-6.897 4.197-15.237 6.681-24.158 6.681-8.105 0-15.731-2.051-22.387-5.661l0.248 0.123-282.591-151.156-223.487 148.811c-7.319 4.928-16.334 7.866-26.034 7.866s-18.715-2.938-26.203-7.972l0.168 0.107-223.547-148.811-282.591 151.156c-6.404 3.488-14.026 5.54-22.126 5.54-25.934 0-46.958-21.024-46.958-46.958 0-0.003 0-0.006 0-0.008v0-930.084c0-25.934 21.024-46.958 46.958-46.958v0h1108.537c0.018 0 0.039 0 0.060 0 25.934 0 46.958 21.024 46.958 46.958v0 930.084c-0.004 17.028-9.071 31.936-22.639 40.167l-0.209 0.118zM1108.537 29.916h-1014.62v804.722l238.278-127.166c6.394-3.475 14.002-5.519 22.087-5.519 9.694 0 18.701 2.937 26.181 7.97l-0.168-0.106 220.962 146.767 220.902-147.067c7.312-4.927 16.32-7.864 26.013-7.864 8.085 0 15.693 2.043 22.335 5.642l-0.248-0.123 238.218 127.406zM716.337 611.271c-0.196 0.001-0.427 0.001-0.658 0.001-43.996 0-84.142-16.488-114.594-43.623l0.172 0.15c-30.281 26.984-70.426 43.472-114.422 43.472-0.232 0-0.463 0-0.694-0.001h0.036c-90.056-1.554-162.463-74.922-162.463-165.202 0-2.25 0.045-4.489 0.134-6.716l-0.010 0.32c0-134.802 135.643-233.348 256.797-291.549 5.942-2.918 12.933-4.625 20.322-4.625s14.38 1.707 20.6 4.748l-0.277-0.122c121.093 58.142 256.797 156.748 256.797 291.549 0.079 1.908 0.124 4.147 0.124 6.396 0 90.28-72.408 163.649-162.318 165.2l-0.146 0.002zM601.257 243.062c-164.865 84.597-183.203 165.225-183.203 196.791-0.168 1.84-0.264 3.98-0.264 6.143 0 38.403 30.256 69.74 68.23 71.474l0.156 0.006c31.368-0.865 58.448-18.413 72.769-44.057l0.223-0.436c7.47-15.993 23.42-26.877 41.911-26.877 0.062 0 0.124 0 0.186 0h-0.010c18.52 0.227 34.447 11.1 41.966 26.773l0.122 0.283c14.509 25.997 41.485 43.504 72.625 44.43l0.127 0.003c38.127-1.705 68.392-33.029 68.392-71.422 0-2.183-0.098-4.342-0.289-6.475l0.020 0.275c0-31.566-18.338-112.134-183.203-196.731z" />
20
+ <glyph unicode="&#xe90a;" glyph-name="upload" d="M977.469 397.424c-0.061 0-0.133 0-0.205 0-25.525 0-46.231-20.634-46.347-46.132v-194.411c-0.406-71.109-58.145-128.597-129.311-128.597-0.145 0-0.289 0-0.434 0.001h-578.345c-0.122 0-0.267-0.001-0.412-0.001-71.166 0-128.905 57.488-129.311 128.558v194.439c-0.547 25.286-21.175 45.576-46.542 45.576s-45.994-20.289-46.541-45.525l-0.001-0.051v-194.4c0.685-122.136 99.854-220.882 222.086-220.882 0.253 0 0.506 0 0.759 0.001h578.328c0.22-0.001 0.48-0.001 0.741-0.001 122.232 0 221.401 98.746 222.086 220.817v194.466c-0.116 25.509-20.822 46.143-46.347 46.143-0.072 0-0.144 0-0.216 0h0.011zM264.443 604.378l200.708 198.087v-580.742c0-25.834 20.943-46.777 46.777-46.777s46.777 20.943 46.777 46.777v0 580.742l200.81-198.087c8.514-8.358 20.192-13.516 33.076-13.516s24.562 5.159 33.083 13.524l-0.007-0.007c8.454 8.301 13.693 19.851 13.693 32.625s-5.239 24.324-13.687 32.619l-0.007 0.007-280.643 276.854c-8.514 8.358-20.192 13.516-33.076 13.516s-24.562-5.159-33.083-13.524l0.007 0.007-280.602-276.854c-8.459-8.299-13.702-19.85-13.702-32.625s5.243-24.326 13.695-32.618l0.007-0.007c8.514-8.358 20.192-13.516 33.076-13.516s24.562 5.159 33.083 13.524l-0.007-0.007z" />
21
+ <glyph unicode="&#xe90b;" glyph-name="bar" horiz-adv-x="896" d="M32 696h832c17.674 0 32 14.326 32 32v80c0 17.674-14.326 32-32 32h-832c-17.674 0-32-14.326-32-32v-80c0-17.674 14.326-32 32-32zM32 376h832c17.674 0 32 14.326 32 32v80c0 17.674-14.326 32-32 32h-832c-17.674 0-32-14.326-32-32v-80c0-17.674 14.326-32 32-32zM32 56h832c17.674 0 32 14.326 32 32v80c0 17.674-14.326 32-32 32h-832c-17.674 0-32-14.326-32-32v-80c0-17.674 14.326-32 32-32z" />
22
+ <glyph unicode="&#xea0f;" glyph-name="cross" d="M1014.662 137.34c-0.004 0.004-0.008 0.008-0.012 0.010l-310.644 310.65 310.644 310.65c0.004 0.004 0.008 0.006 0.012 0.010 3.344 3.346 5.762 7.254 7.312 11.416 4.246 11.376 1.824 24.682-7.324 33.83l-146.746 146.746c-9.148 9.146-22.45 11.566-33.828 7.32-4.16-1.55-8.070-3.968-11.418-7.31 0-0.004-0.004-0.006-0.008-0.010l-310.648-310.652-310.648 310.65c-0.004 0.004-0.006 0.006-0.010 0.010-3.346 3.342-7.254 5.76-11.414 7.31-11.38 4.248-24.682 1.826-33.83-7.32l-146.748-146.748c-9.148-9.148-11.568-22.452-7.322-33.828 1.552-4.16 3.97-8.072 7.312-11.416 0.004-0.002 0.006-0.006 0.010-0.010l310.65-310.648-310.65-310.652c-0.002-0.004-0.006-0.006-0.008-0.010-3.342-3.346-5.76-7.254-7.314-11.414-4.248-11.376-1.826-24.682 7.322-33.83l146.748-146.746c9.15-9.148 22.452-11.568 33.83-7.322 4.16 1.552 8.070 3.97 11.416 7.312 0.002 0.004 0.006 0.006 0.010 0.010l310.648 310.65 310.648-310.65c0.004-0.002 0.008-0.006 0.012-0.008 3.348-3.344 7.254-5.762 11.414-7.314 11.378-4.246 24.684-1.826 33.828 7.322l146.746 146.748c9.148 9.148 11.57 22.454 7.324 33.83-1.552 4.16-3.97 8.068-7.314 11.414z" />
23
+ </font></defs></svg>
EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.ttf ADDED
Binary file
EmbedPress/Ends/Back/Settings/assets/css/icon/fonts/icomoon.woff ADDED
Binary file
EmbedPress/Ends/Back/Settings/assets/css/icon/style.css ADDED
@@ -0,0 +1,66 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face {
2
+ font-family: 'icomoon';
3
+ src: url('fonts/icomoon.eot?vkygzw');
4
+ src: url('fonts/icomoon.eot?vkygzw#iefix') format('embedded-opentype'),
5
+ url('fonts/icomoon.ttf?vkygzw') format('truetype'),
6
+ url('fonts/icomoon.woff?vkygzw') format('woff'),
7
+ url('fonts/icomoon.svg?vkygzw#icomoon') format('svg');
8
+ font-weight: normal;
9
+ font-style: normal;
10
+ font-display: block;
11
+ }
12
+
13
+ .ep-icon {
14
+ /* use !important to prevent issues with browser extensions that change fonts */
15
+ font-family: 'icomoon' !important;
16
+ speak: never;
17
+ font-style: normal;
18
+ font-weight: normal;
19
+ font-variant: normal;
20
+ text-transform: none;
21
+ line-height: 1;
22
+
23
+ /* Better Font Rendering =========== */
24
+ -webkit-font-smoothing: antialiased;
25
+ -moz-osx-font-smoothing: grayscale;
26
+ }
27
+
28
+ .ep-cross:before {
29
+ content: "\ea0f";
30
+ }
31
+ .ep-bar:before {
32
+ content: "\e90b";
33
+ }
34
+ .ep-upload:before {
35
+ content: "\e90a";
36
+ }
37
+ .ep-branding:before {
38
+ content: "\e909";
39
+ }
40
+ .ep-lock:before {
41
+ content: "\e908";
42
+ }
43
+ .ep-question:before {
44
+ content: "\e907";
45
+ }
46
+ .ep-caret-down:before {
47
+ content: "\e906";
48
+ }
49
+ .ep-file:before {
50
+ content: "\e900";
51
+ }
52
+ .ep-star:before {
53
+ content: "\e901";
54
+ }
55
+ .ep-support:before {
56
+ content: "\e902";
57
+ }
58
+ .ep-cell:before {
59
+ content: "\e903";
60
+ }
61
+ .ep-gear:before {
62
+ content: "\e904";
63
+ }
64
+ .ep-premium:before {
65
+ content: "\e905";
66
+ }
EmbedPress/Ends/Back/Settings/assets/css/style.css ADDED
@@ -0,0 +1,3279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;700&display=swap");
2
+ :root {
3
+ --base-gutter: 30px;
4
+ --md-gutter: 50px;
5
+ --lg-gutter: 70px;
6
+ --xl-gutter: 100px;
7
+ --base-spacer-x: 16px;
8
+ --base-spacer-y: 16px;
9
+ --b-radius-6: 25px;
10
+ }
11
+
12
+ @media (max-width: 1600px) {
13
+ :root {
14
+ --base-gutter: 20px;
15
+ --md-gutter: 30px;
16
+ --lg-gutter: 50px;
17
+ --xl-gutter: 70px;
18
+ }
19
+ }
20
+
21
+ @media (max-width: 1399px) {
22
+ :root {
23
+ --base-gutter: 20px;
24
+ --md-gutter: 30px;
25
+ --lg-gutter: 40px;
26
+ --xl-gutter: 50px;
27
+ }
28
+ }
29
+
30
+ @media (max-width: 1199px) {
31
+ :root {
32
+ --base-spacer-x: 10px;
33
+ --base-spacer-y: 10px;
34
+ --md-gutter: 20px;
35
+ --lg-gutter: 30px;
36
+ --xl-gutter: 40px;
37
+ }
38
+ }
39
+
40
+ @media (max-width: 991px) {
41
+ :root {
42
+ --base-spacer-x: 5px;
43
+ --base-spacer-y: 5px;
44
+ --md-gutter: 20px;
45
+ --lg-gutter: 30px;
46
+ --xl-gutter: 40px;
47
+ }
48
+ }
49
+
50
+ ::-moz-selection {
51
+ color: #ffffff;
52
+ background: rgba(91, 78, 150, 0.6);
53
+ }
54
+
55
+ ::selection {
56
+ color: #ffffff;
57
+ background: rgba(91, 78, 150, 0.6);
58
+ }
59
+
60
+ .template__wrapper {
61
+ font-family: "DM Sans", sans-serif;
62
+ line-height: 1.7;
63
+ font-weight: 400;
64
+ min-height: 100vh;
65
+ background: #ffffff;
66
+ color: #000000;
67
+ -webkit-font-smoothing: antialiased;
68
+ -moz-font-smoothing: antialiased;
69
+ -ms-font-smoothing: antialiased;
70
+ -o-font-smoothing: antialiased;
71
+ font-smoothing: antialiased;
72
+ -webkit-text-rendering: optimizeLegibility;
73
+ -moz-text-rendering: optimizeLegibility;
74
+ -ms-text-rendering: optimizeLegibility;
75
+ -o-text-rendering: optimizeLegibility;
76
+ text-rendering: optimizeLegibility;
77
+ -webkit-scroll-behavior: smooth;
78
+ -moz-scroll-behavior: smooth;
79
+ -ms-scroll-behavior: smooth;
80
+ -o-scroll-behavior: smooth;
81
+ scroll-behavior: smooth;
82
+ font-size: 16px;
83
+ }
84
+
85
+ @media (max-width: 1399px) {
86
+ .template__wrapper {
87
+ font-size: 14px;
88
+ }
89
+ }
90
+
91
+ @media (max-width: 991px) {
92
+ .template__wrapper {
93
+ font-size: 13px;
94
+ }
95
+ }
96
+
97
+ .template__wrapper * {
98
+ margin: 0;
99
+ padding: 0;
100
+ outline: none;
101
+ border: none;
102
+ -webkit-box-sizing: border-box;
103
+ box-sizing: border-box;
104
+ }
105
+
106
+ .template__wrapper a {
107
+ color: inherit;
108
+ -webkit-transition: all 0.3s ease;
109
+ transition: all 0.3s ease;
110
+ text-decoration: none;
111
+ display: inline-block;
112
+ }
113
+
114
+ .template__wrapper a:focus {
115
+ outline: none;
116
+ -webkit-box-shadow: none;
117
+ box-shadow: none;
118
+ }
119
+
120
+ .template__wrapper label {
121
+ margin-bottom: 0;
122
+ }
123
+
124
+ .template__wrapper h1,
125
+ .template__wrapper h2,
126
+ .template__wrapper h3,
127
+ .template__wrapper h4,
128
+ .template__wrapper h5,
129
+ .template__wrapper h6,
130
+ .template__wrapper p {
131
+ margin: 0;
132
+ padding: 0;
133
+ }
134
+
135
+ .template__wrapper h1,
136
+ .template__wrapper h2,
137
+ .template__wrapper h3,
138
+ .template__wrapper h4,
139
+ .template__wrapper h5,
140
+ .template__wrapper h6 {
141
+ font-family: "DM Sans", sans-serif;
142
+ font-weight: 700;
143
+ line-height: 1.3;
144
+ }
145
+
146
+ .template__wrapper ul,
147
+ .template__wrapper ol {
148
+ padding: 0;
149
+ margin: 0;
150
+ list-style: none;
151
+ }
152
+
153
+ .template__wrapper img,
154
+ .template__wrapper video {
155
+ max-width: 100%;
156
+ }
157
+
158
+ .m50 {
159
+ margin: 50px;
160
+ }
161
+
162
+ .p50 {
163
+ padding: 50px;
164
+ }
165
+
166
+ .mt50 {
167
+ margin-top: 50px;
168
+ }
169
+
170
+ .pt50 {
171
+ padding-top: 50px;
172
+ }
173
+
174
+ .mb50 {
175
+ margin-bottom: 50px;
176
+ }
177
+
178
+ .pb50 {
179
+ padding-bottom: 50px;
180
+ }
181
+
182
+ .ml50 {
183
+ margin-left: 50px;
184
+ }
185
+
186
+ .pl50 {
187
+ padding-left: 50px;
188
+ }
189
+
190
+ .mr50 {
191
+ margin-right: 50px;
192
+ }
193
+
194
+ .pr50 {
195
+ padding-right: 50px;
196
+ }
197
+
198
+ .m40 {
199
+ margin: 40px;
200
+ }
201
+
202
+ .p40 {
203
+ padding: 40px;
204
+ }
205
+
206
+ .mt40 {
207
+ margin-top: 40px;
208
+ }
209
+
210
+ .pt40 {
211
+ padding-top: 40px;
212
+ }
213
+
214
+ .mb40 {
215
+ margin-bottom: 40px;
216
+ }
217
+
218
+ .pb40 {
219
+ padding-bottom: 40px;
220
+ }
221
+
222
+ .ml40 {
223
+ margin-left: 40px;
224
+ }
225
+
226
+ .pl40 {
227
+ padding-left: 40px;
228
+ }
229
+
230
+ .mr40 {
231
+ margin-right: 40px;
232
+ }
233
+
234
+ .pr40 {
235
+ padding-right: 40px;
236
+ }
237
+
238
+ .m30 {
239
+ margin: 30px;
240
+ }
241
+
242
+ .p30 {
243
+ padding: 30px;
244
+ }
245
+
246
+ .mt30 {
247
+ margin-top: 30px;
248
+ }
249
+
250
+ .pt30 {
251
+ padding-top: 30px;
252
+ }
253
+
254
+ .mb30 {
255
+ margin-bottom: 30px;
256
+ }
257
+
258
+ .pb30 {
259
+ padding-bottom: 30px;
260
+ }
261
+
262
+ .ml30 {
263
+ margin-left: 30px;
264
+ }
265
+
266
+ .pl30 {
267
+ padding-left: 30px;
268
+ }
269
+
270
+ .mr30 {
271
+ margin-right: 30px;
272
+ }
273
+
274
+ .pr30 {
275
+ padding-right: 30px;
276
+ }
277
+
278
+ .m10 {
279
+ margin: 10px;
280
+ }
281
+
282
+ .p10 {
283
+ padding: 10px;
284
+ }
285
+
286
+ .mt10 {
287
+ margin-top: 10px;
288
+ }
289
+
290
+ .pt10 {
291
+ padding-top: 10px;
292
+ }
293
+
294
+ .mb10 {
295
+ margin-bottom: 10px;
296
+ }
297
+
298
+ .pb10 {
299
+ padding-bottom: 10px;
300
+ }
301
+
302
+ .ml10 {
303
+ margin-left: 10px;
304
+ }
305
+
306
+ .pl10 {
307
+ padding-left: 10px;
308
+ }
309
+
310
+ .mr10 {
311
+ margin-right: 10px;
312
+ }
313
+
314
+ .pr10 {
315
+ padding-right: 10px;
316
+ }
317
+
318
+ .m5 {
319
+ margin: 5px;
320
+ }
321
+
322
+ .p5 {
323
+ padding: 5px;
324
+ }
325
+
326
+ .mt5 {
327
+ margin-top: 5px;
328
+ }
329
+
330
+ .pt5 {
331
+ padding-top: 5px;
332
+ }
333
+
334
+ .mb5 {
335
+ margin-bottom: 5px;
336
+ }
337
+
338
+ .pb5 {
339
+ padding-bottom: 5px;
340
+ }
341
+
342
+ .ml5 {
343
+ margin-left: 5px;
344
+ }
345
+
346
+ .pl5 {
347
+ padding-left: 5px;
348
+ }
349
+
350
+ .mr5 {
351
+ margin-right: 5px;
352
+ }
353
+
354
+ .pr5 {
355
+ padding-right: 5px;
356
+ }
357
+
358
+ .embedpress-tab .nav__menu ul .nav__item, .template__wrapper label, .iframe__size__control__form .form__group .frame__unit, .iframe__size__control__wrap h3, .embedpress__settings__form .form__group .form__label, .embedpress__settings__form .form__group .form__control__wrap p, .upgrade__card .card__content h4, .upgrade__card .card__content p, .upgrage__card__tab__style h3, .upgrage__card__tab__style p, .embedpress-license__details .license__content .thumb__area h2, .embedpress-license__details .license__content p, .embedpress-license__details .license__content ol li, .embedpress-card h3, .embedpress-card p, .emement__item h5, .emement__item .pro__item, .embedpress--elements__wrap h3 {
359
+ font-family: "DM Sans", sans-serif;
360
+ }
361
+
362
+ .color__themeColor {
363
+ color: #5B4E96;
364
+ }
365
+
366
+ a.color__themeColor:hover, a.color__themeColor:focus {
367
+ color: #473d74;
368
+ -webkit-box-shadow: none;
369
+ box-shadow: none;
370
+ }
371
+
372
+ .color__primary {
373
+ color: #00CC76;
374
+ }
375
+
376
+ a.color__primary:hover, a.color__primary:focus {
377
+ color: #009959;
378
+ -webkit-box-shadow: none;
379
+ box-shadow: none;
380
+ }
381
+
382
+ .color__danger {
383
+ color: #FE504F;
384
+ }
385
+
386
+ a.color__danger:hover, a.color__danger:focus {
387
+ color: #fe1e1c;
388
+ -webkit-box-shadow: none;
389
+ box-shadow: none;
390
+ }
391
+
392
+ .color__warning {
393
+ color: #FFA53C;
394
+ }
395
+
396
+ a.color__warning:hover, a.color__warning:focus {
397
+ color: #ff8d09;
398
+ -webkit-box-shadow: none;
399
+ box-shadow: none;
400
+ }
401
+
402
+ .color__white {
403
+ color: #ffffff;
404
+ }
405
+
406
+ a.color__white:hover, a.color__white:focus {
407
+ color: #e6e6e6;
408
+ -webkit-box-shadow: none;
409
+ box-shadow: none;
410
+ }
411
+
412
+ .color__dark {
413
+ color: #222222;
414
+ }
415
+
416
+ a.color__dark:hover, a.color__dark:focus {
417
+ color: #090909;
418
+ -webkit-box-shadow: none;
419
+ box-shadow: none;
420
+ }
421
+
422
+ .color__grey {
423
+ color: #7C8DB5;
424
+ }
425
+
426
+ a.color__grey:hover, a.color__grey:focus {
427
+ color: #5c71a2;
428
+ -webkit-box-shadow: none;
429
+ box-shadow: none;
430
+ }
431
+
432
+ .color__liteGrey {
433
+ color: #F5F7FD;
434
+ }
435
+
436
+ a.color__liteGrey:hover, a.color__liteGrey:focus {
437
+ color: #cbd5f5;
438
+ -webkit-box-shadow: none;
439
+ box-shadow: none;
440
+ }
441
+
442
+ .color__black {
443
+ color: #000000;
444
+ }
445
+
446
+ .color__twitter {
447
+ color: #1da1f2;
448
+ }
449
+
450
+ a.color__twitter:hover, a.color__twitter:focus {
451
+ color: #0c85d0;
452
+ -webkit-box-shadow: none;
453
+ box-shadow: none;
454
+ }
455
+
456
+ .color__linkedin {
457
+ color: #0077b5;
458
+ }
459
+
460
+ a.color__linkedin:hover, a.color__linkedin:focus {
461
+ color: #005582;
462
+ -webkit-box-shadow: none;
463
+ box-shadow: none;
464
+ }
465
+
466
+ .color__instagram {
467
+ color: #e1306c;
468
+ }
469
+
470
+ a.color__instagram:hover, a.color__instagram:focus {
471
+ color: #c21c54;
472
+ -webkit-box-shadow: none;
473
+ box-shadow: none;
474
+ }
475
+
476
+ .background__themeColor {
477
+ background-color: #5B4E96;
478
+ }
479
+
480
+ .background__primary {
481
+ background-color: #00CC76;
482
+ }
483
+
484
+ .background__danger {
485
+ background-color: #FE504F;
486
+ }
487
+
488
+ .background__warning {
489
+ background-color: #FFA53C;
490
+ }
491
+
492
+ .background__white {
493
+ background-color: #ffffff;
494
+ }
495
+
496
+ .background__dark {
497
+ background-color: #222222;
498
+ }
499
+
500
+ .background__grey {
501
+ background-color: #7C8DB5;
502
+ }
503
+
504
+ .background__liteGrey {
505
+ background-color: #F5F7FD;
506
+ }
507
+
508
+ .background__black {
509
+ background-color: #000000;
510
+ }
511
+
512
+ .background__twitter {
513
+ background-color: #1da1f2;
514
+ }
515
+
516
+ .background__linkedin {
517
+ background-color: #0077b5;
518
+ }
519
+
520
+ .background__instagram {
521
+ background-color: #e1306c;
522
+ }
523
+
524
+ .gradient__themeColor {
525
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(91, 78, 150, 0.3)), to(rgba(91, 78, 150, 0.05)));
526
+ background-image: linear-gradient(180deg, rgba(91, 78, 150, 0.3), rgba(91, 78, 150, 0.05));
527
+ color: #5B4E96;
528
+ }
529
+
530
+ .gradient__primary {
531
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 204, 118, 0.3)), to(rgba(0, 204, 118, 0.05)));
532
+ background-image: linear-gradient(180deg, rgba(0, 204, 118, 0.3), rgba(0, 204, 118, 0.05));
533
+ color: #00CC76;
534
+ }
535
+
536
+ .gradient__danger {
537
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(254, 80, 79, 0.3)), to(rgba(254, 80, 79, 0.05)));
538
+ background-image: linear-gradient(180deg, rgba(254, 80, 79, 0.3), rgba(254, 80, 79, 0.05));
539
+ color: #FE504F;
540
+ }
541
+
542
+ .gradient__warning {
543
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 165, 60, 0.3)), to(rgba(255, 165, 60, 0.05)));
544
+ background-image: linear-gradient(180deg, rgba(255, 165, 60, 0.3), rgba(255, 165, 60, 0.05));
545
+ color: #FFA53C;
546
+ }
547
+
548
+ .gradient__white {
549
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(255, 255, 255, 0.3)), to(rgba(255, 255, 255, 0.05)));
550
+ background-image: linear-gradient(180deg, rgba(255, 255, 255, 0.3), rgba(255, 255, 255, 0.05));
551
+ color: #ffffff;
552
+ }
553
+
554
+ .gradient__dark {
555
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(34, 34, 34, 0.3)), to(rgba(34, 34, 34, 0.05)));
556
+ background-image: linear-gradient(180deg, rgba(34, 34, 34, 0.3), rgba(34, 34, 34, 0.05));
557
+ color: #222222;
558
+ }
559
+
560
+ .gradient__grey {
561
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(124, 141, 181, 0.3)), to(rgba(124, 141, 181, 0.05)));
562
+ background-image: linear-gradient(180deg, rgba(124, 141, 181, 0.3), rgba(124, 141, 181, 0.05));
563
+ color: #7C8DB5;
564
+ }
565
+
566
+ .gradient__liteGrey {
567
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(245, 247, 253, 0.3)), to(rgba(245, 247, 253, 0.05)));
568
+ background-image: linear-gradient(180deg, rgba(245, 247, 253, 0.3), rgba(245, 247, 253, 0.05));
569
+ color: #F5F7FD;
570
+ }
571
+
572
+ .gradient__black {
573
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0.3)), to(rgba(0, 0, 0, 0.05)));
574
+ background-image: linear-gradient(180deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.05));
575
+ color: #000000;
576
+ }
577
+
578
+ .gradient__twitter {
579
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(29, 161, 242, 0.3)), to(rgba(29, 161, 242, 0.05)));
580
+ background-image: linear-gradient(180deg, rgba(29, 161, 242, 0.3), rgba(29, 161, 242, 0.05));
581
+ color: #1da1f2;
582
+ }
583
+
584
+ .gradient__linkedin {
585
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 119, 181, 0.3)), to(rgba(0, 119, 181, 0.05)));
586
+ background-image: linear-gradient(180deg, rgba(0, 119, 181, 0.3), rgba(0, 119, 181, 0.05));
587
+ color: #0077b5;
588
+ }
589
+
590
+ .gradient__instagram {
591
+ background-image: -webkit-gradient(linear, left top, left bottom, from(rgba(225, 48, 108, 0.3)), to(rgba(225, 48, 108, 0.05)));
592
+ background-image: linear-gradient(180deg, rgba(225, 48, 108, 0.3), rgba(225, 48, 108, 0.05));
593
+ color: #e1306c;
594
+ }
595
+
596
+ .button__themeColor:not(.hover__highlight) {
597
+ background: #5B4E96;
598
+ color: white;
599
+ border-color: #5B4E96;
600
+ -webkit-transition-property: background, color, box-shadow, border;
601
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
602
+ transition-property: background, color, border, -webkit-box-shadow;
603
+ transition-property: background, color, box-shadow, border;
604
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
605
+ }
606
+
607
+ .button__themeColor:not(.hover__highlight):disabled {
608
+ cursor: not-allowed;
609
+ background: #FE504F;
610
+ border-color: #FE504F;
611
+ }
612
+
613
+ .button__themeColor:not(.hover__highlight) .icon {
614
+ color: #5B4E96;
615
+ background: white;
616
+ }
617
+
618
+ .button__themeColor.hover__highlight {
619
+ color: #5B4E96;
620
+ border-color: transparent;
621
+ background: rgba(91, 78, 150, 0.1);
622
+ }
623
+
624
+ .button__themeColor.hover__highlight .icon {
625
+ background: #00CC76;
626
+ color: #ffffff;
627
+ }
628
+
629
+ .button__themeColor.hover__highlight:hover {
630
+ border-color: transparent;
631
+ }
632
+
633
+ .button__themeColor.button__shadow {
634
+ -webkit-box-shadow: 0 10px 10px rgba(91, 78, 150, 0.2);
635
+ box-shadow: 0 10px 10px rgba(91, 78, 150, 0.2);
636
+ }
637
+
638
+ a.button__themeColor.active, a.button__themeColor:hover,
639
+ button.button__themeColor.active,
640
+ button.button__themeColor:hover {
641
+ background: #514585;
642
+ color: white;
643
+ border-color: #514585;
644
+ }
645
+
646
+ a.button__themeColor.active:disabled, a.button__themeColor:hover:disabled,
647
+ button.button__themeColor.active:disabled,
648
+ button.button__themeColor:hover:disabled {
649
+ cursor: not-allowed;
650
+ background: #FE504F;
651
+ -webkit-box-shadow: none;
652
+ box-shadow: none;
653
+ }
654
+
655
+ a.button__themeColor.hover__highlight:hover .icon,
656
+ button.button__themeColor.hover__highlight:hover .icon {
657
+ background: white;
658
+ color: #5B4E96;
659
+ }
660
+
661
+ .button__primary:not(.hover__highlight) {
662
+ background: #00CC76;
663
+ color: white;
664
+ border-color: #00CC76;
665
+ -webkit-transition-property: background, color, box-shadow, border;
666
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
667
+ transition-property: background, color, border, -webkit-box-shadow;
668
+ transition-property: background, color, box-shadow, border;
669
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
670
+ }
671
+
672
+ .button__primary:not(.hover__highlight):disabled {
673
+ cursor: not-allowed;
674
+ background: #FE504F;
675
+ border-color: #FE504F;
676
+ }
677
+
678
+ .button__primary:not(.hover__highlight) .icon {
679
+ color: #00CC76;
680
+ background: white;
681
+ }
682
+
683
+ .button__primary.hover__highlight {
684
+ color: #00CC76;
685
+ border-color: transparent;
686
+ background: rgba(0, 204, 118, 0.1);
687
+ }
688
+
689
+ .button__primary.hover__highlight .icon {
690
+ background: #00CC76;
691
+ color: #ffffff;
692
+ }
693
+
694
+ .button__primary.hover__highlight:hover {
695
+ border-color: transparent;
696
+ }
697
+
698
+ .button__primary.button__shadow {
699
+ -webkit-box-shadow: 0 10px 10px rgba(0, 204, 118, 0.2);
700
+ box-shadow: 0 10px 10px rgba(0, 204, 118, 0.2);
701
+ }
702
+
703
+ a.button__primary.active, a.button__primary:hover,
704
+ button.button__primary.active,
705
+ button.button__primary:hover {
706
+ background: #00b367;
707
+ color: white;
708
+ border-color: #00b367;
709
+ }
710
+
711
+ a.button__primary.active:disabled, a.button__primary:hover:disabled,
712
+ button.button__primary.active:disabled,
713
+ button.button__primary:hover:disabled {
714
+ cursor: not-allowed;
715
+ background: #FE504F;
716
+ -webkit-box-shadow: none;
717
+ box-shadow: none;
718
+ }
719
+
720
+ a.button__primary.hover__highlight:hover .icon,
721
+ button.button__primary.hover__highlight:hover .icon {
722
+ background: white;
723
+ color: #00CC76;
724
+ }
725
+
726
+ .button__danger:not(.hover__highlight) {
727
+ background: #FE504F;
728
+ color: white;
729
+ border-color: #FE504F;
730
+ -webkit-transition-property: background, color, box-shadow, border;
731
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
732
+ transition-property: background, color, border, -webkit-box-shadow;
733
+ transition-property: background, color, box-shadow, border;
734
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
735
+ }
736
+
737
+ .button__danger:not(.hover__highlight):disabled {
738
+ cursor: not-allowed;
739
+ background: #FE504F;
740
+ border-color: #FE504F;
741
+ }
742
+
743
+ .button__danger:not(.hover__highlight) .icon {
744
+ color: #FE504F;
745
+ background: white;
746
+ }
747
+
748
+ .button__danger.hover__highlight {
749
+ color: #FE504F;
750
+ border-color: transparent;
751
+ background: rgba(254, 80, 79, 0.1);
752
+ }
753
+
754
+ .button__danger.hover__highlight .icon {
755
+ background: #00CC76;
756
+ color: #ffffff;
757
+ }
758
+
759
+ .button__danger.hover__highlight:hover {
760
+ border-color: transparent;
761
+ }
762
+
763
+ .button__danger.button__shadow {
764
+ -webkit-box-shadow: 0 10px 10px rgba(254, 80, 79, 0.2);
765
+ box-shadow: 0 10px 10px rgba(254, 80, 79, 0.2);
766
+ }
767
+
768
+ a.button__danger.active, a.button__danger:hover,
769
+ button.button__danger.active,
770
+ button.button__danger:hover {
771
+ background: #fe3736;
772
+ color: white;
773
+ border-color: #fe3736;
774
+ }
775
+
776
+ a.button__danger.active:disabled, a.button__danger:hover:disabled,
777
+ button.button__danger.active:disabled,
778
+ button.button__danger:hover:disabled {
779
+ cursor: not-allowed;
780
+ background: #FE504F;
781
+ -webkit-box-shadow: none;
782
+ box-shadow: none;
783
+ }
784
+
785
+ a.button__danger.hover__highlight:hover .icon,
786
+ button.button__danger.hover__highlight:hover .icon {
787
+ background: white;
788
+ color: #FE504F;
789
+ }
790
+
791
+ .button__warning:not(.hover__highlight) {
792
+ background: #FFA53C;
793
+ color: white;
794
+ border-color: #FFA53C;
795
+ -webkit-transition-property: background, color, box-shadow, border;
796
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
797
+ transition-property: background, color, border, -webkit-box-shadow;
798
+ transition-property: background, color, box-shadow, border;
799
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
800
+ }
801
+
802
+ .button__warning:not(.hover__highlight):disabled {
803
+ cursor: not-allowed;
804
+ background: #FE504F;
805
+ border-color: #FE504F;
806
+ }
807
+
808
+ .button__warning:not(.hover__highlight) .icon {
809
+ color: #FFA53C;
810
+ background: white;
811
+ }
812
+
813
+ .button__warning.hover__highlight {
814
+ color: #FFA53C;
815
+ border-color: transparent;
816
+ background: rgba(255, 165, 60, 0.1);
817
+ }
818
+
819
+ .button__warning.hover__highlight .icon {
820
+ background: #00CC76;
821
+ color: #ffffff;
822
+ }
823
+
824
+ .button__warning.hover__highlight:hover {
825
+ border-color: transparent;
826
+ }
827
+
828
+ .button__warning.button__shadow {
829
+ -webkit-box-shadow: 0 10px 10px rgba(255, 165, 60, 0.2);
830
+ box-shadow: 0 10px 10px rgba(255, 165, 60, 0.2);
831
+ }
832
+
833
+ a.button__warning.active, a.button__warning:hover,
834
+ button.button__warning.active,
835
+ button.button__warning:hover {
836
+ background: #ff9923;
837
+ color: white;
838
+ border-color: #ff9923;
839
+ }
840
+
841
+ a.button__warning.active:disabled, a.button__warning:hover:disabled,
842
+ button.button__warning.active:disabled,
843
+ button.button__warning:hover:disabled {
844
+ cursor: not-allowed;
845
+ background: #FE504F;
846
+ -webkit-box-shadow: none;
847
+ box-shadow: none;
848
+ }
849
+
850
+ a.button__warning.hover__highlight:hover .icon,
851
+ button.button__warning.hover__highlight:hover .icon {
852
+ background: white;
853
+ color: #FFA53C;
854
+ }
855
+
856
+ .button__white:not(.hover__highlight) {
857
+ background: #ffffff;
858
+ color: #5b4e96;
859
+ border-color: #ffffff;
860
+ -webkit-transition-property: background, color, box-shadow, border;
861
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
862
+ transition-property: background, color, border, -webkit-box-shadow;
863
+ transition-property: background, color, box-shadow, border;
864
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
865
+ }
866
+
867
+ .button__white:not(.hover__highlight):disabled {
868
+ cursor: not-allowed;
869
+ background: #FE504F;
870
+ border-color: #FE504F;
871
+ }
872
+
873
+ .button__white:not(.hover__highlight) .icon {
874
+ color: #ffffff;
875
+ background: #5b4e96;
876
+ }
877
+
878
+ .button__white.hover__highlight {
879
+ color: #ffffff;
880
+ border-color: transparent;
881
+ background: rgba(255, 255, 255, 0.1);
882
+ }
883
+
884
+ .button__white.hover__highlight .icon {
885
+ background: #00CC76;
886
+ color: #ffffff;
887
+ }
888
+
889
+ .button__white.hover__highlight:hover {
890
+ border-color: transparent;
891
+ }
892
+
893
+ .button__white.button__shadow {
894
+ -webkit-box-shadow: 0 10px 10px rgba(255, 255, 255, 0.2);
895
+ box-shadow: 0 10px 10px rgba(255, 255, 255, 0.2);
896
+ }
897
+
898
+ a.button__white.active, a.button__white:hover,
899
+ button.button__white.active,
900
+ button.button__white:hover {
901
+ background: #f2f2f2;
902
+ color: #5b4e96;
903
+ border-color: #f2f2f2;
904
+ }
905
+
906
+ a.button__white.active:disabled, a.button__white:hover:disabled,
907
+ button.button__white.active:disabled,
908
+ button.button__white:hover:disabled {
909
+ cursor: not-allowed;
910
+ background: #FE504F;
911
+ -webkit-box-shadow: none;
912
+ box-shadow: none;
913
+ }
914
+
915
+ a.button__white.hover__highlight:hover .icon,
916
+ button.button__white.hover__highlight:hover .icon {
917
+ background: #5b4e96;
918
+ color: #ffffff;
919
+ }
920
+
921
+ .button__dark:not(.hover__highlight) {
922
+ background: #222222;
923
+ color: white;
924
+ border-color: #222222;
925
+ -webkit-transition-property: background, color, box-shadow, border;
926
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
927
+ transition-property: background, color, border, -webkit-box-shadow;
928
+ transition-property: background, color, box-shadow, border;
929
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
930
+ }
931
+
932
+ .button__dark:not(.hover__highlight):disabled {
933
+ cursor: not-allowed;
934
+ background: #FE504F;
935
+ border-color: #FE504F;
936
+ }
937
+
938
+ .button__dark:not(.hover__highlight) .icon {
939
+ color: #222222;
940
+ background: white;
941
+ }
942
+
943
+ .button__dark.hover__highlight {
944
+ color: #222222;
945
+ border-color: transparent;
946
+ background: rgba(34, 34, 34, 0.1);
947
+ }
948
+
949
+ .button__dark.hover__highlight .icon {
950
+ background: #00CC76;
951
+ color: #ffffff;
952
+ }
953
+
954
+ .button__dark.hover__highlight:hover {
955
+ border-color: transparent;
956
+ }
957
+
958
+ .button__dark.button__shadow {
959
+ -webkit-box-shadow: 0 10px 10px rgba(34, 34, 34, 0.2);
960
+ box-shadow: 0 10px 10px rgba(34, 34, 34, 0.2);
961
+ }
962
+
963
+ a.button__dark.active, a.button__dark:hover,
964
+ button.button__dark.active,
965
+ button.button__dark:hover {
966
+ background: #151515;
967
+ color: white;
968
+ border-color: #151515;
969
+ }
970
+
971
+ a.button__dark.active:disabled, a.button__dark:hover:disabled,
972
+ button.button__dark.active:disabled,
973
+ button.button__dark:hover:disabled {
974
+ cursor: not-allowed;
975
+ background: #FE504F;
976
+ -webkit-box-shadow: none;
977
+ box-shadow: none;
978
+ }
979
+
980
+ a.button__dark.hover__highlight:hover .icon,
981
+ button.button__dark.hover__highlight:hover .icon {
982
+ background: white;
983
+ color: #222222;
984
+ }
985
+
986
+ .button__grey:not(.hover__highlight) {
987
+ background: #7C8DB5;
988
+ color: white;
989
+ border-color: #7C8DB5;
990
+ -webkit-transition-property: background, color, box-shadow, border;
991
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
992
+ transition-property: background, color, border, -webkit-box-shadow;
993
+ transition-property: background, color, box-shadow, border;
994
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
995
+ }
996
+
997
+ .button__grey:not(.hover__highlight):disabled {
998
+ cursor: not-allowed;
999
+ background: #FE504F;
1000
+ border-color: #FE504F;
1001
+ }
1002
+
1003
+ .button__grey:not(.hover__highlight) .icon {
1004
+ color: #7C8DB5;
1005
+ background: white;
1006
+ }
1007
+
1008
+ .button__grey.hover__highlight {
1009
+ color: #7C8DB5;
1010
+ border-color: transparent;
1011
+ background: rgba(124, 141, 181, 0.1);
1012
+ }
1013
+
1014
+ .button__grey.hover__highlight .icon {
1015
+ background: #00CC76;
1016
+ color: #ffffff;
1017
+ }
1018
+
1019
+ .button__grey.hover__highlight:hover {
1020
+ border-color: transparent;
1021
+ }
1022
+
1023
+ .button__grey.button__shadow {
1024
+ -webkit-box-shadow: 0 10px 10px rgba(124, 141, 181, 0.2);
1025
+ box-shadow: 0 10px 10px rgba(124, 141, 181, 0.2);
1026
+ }
1027
+
1028
+ a.button__grey.active, a.button__grey:hover,
1029
+ button.button__grey.active,
1030
+ button.button__grey:hover {
1031
+ background: #6c7fac;
1032
+ color: white;
1033
+ border-color: #6c7fac;
1034
+ }
1035
+
1036
+ a.button__grey.active:disabled, a.button__grey:hover:disabled,
1037
+ button.button__grey.active:disabled,
1038
+ button.button__grey:hover:disabled {
1039
+ cursor: not-allowed;
1040
+ background: #FE504F;
1041
+ -webkit-box-shadow: none;
1042
+ box-shadow: none;
1043
+ }
1044
+
1045
+ a.button__grey.hover__highlight:hover .icon,
1046
+ button.button__grey.hover__highlight:hover .icon {
1047
+ background: white;
1048
+ color: #7C8DB5;
1049
+ }
1050
+
1051
+ .button__liteGrey:not(.hover__highlight) {
1052
+ background: #F5F7FD;
1053
+ color: #5b4e96;
1054
+ border-color: #F5F7FD;
1055
+ -webkit-transition-property: background, color, box-shadow, border;
1056
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
1057
+ transition-property: background, color, border, -webkit-box-shadow;
1058
+ transition-property: background, color, box-shadow, border;
1059
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
1060
+ }
1061
+
1062
+ .button__liteGrey:not(.hover__highlight):disabled {
1063
+ cursor: not-allowed;
1064
+ background: #FE504F;
1065
+ border-color: #FE504F;
1066
+ }
1067
+
1068
+ .button__liteGrey:not(.hover__highlight) .icon {
1069
+ color: #F5F7FD;
1070
+ background: #5b4e96;
1071
+ }
1072
+
1073
+ .button__liteGrey.hover__highlight {
1074
+ color: #F5F7FD;
1075
+ border-color: transparent;
1076
+ background: rgba(245, 247, 253, 0.1);
1077
+ }
1078
+
1079
+ .button__liteGrey.hover__highlight .icon {
1080
+ background: #00CC76;
1081
+ color: #ffffff;
1082
+ }
1083
+
1084
+ .button__liteGrey.hover__highlight:hover {
1085
+ border-color: transparent;
1086
+ }
1087
+
1088
+ .button__liteGrey.button__shadow {
1089
+ -webkit-box-shadow: 0 10px 10px rgba(245, 247, 253, 0.2);
1090
+ box-shadow: 0 10px 10px rgba(245, 247, 253, 0.2);
1091
+ }
1092
+
1093
+ a.button__liteGrey.active, a.button__liteGrey:hover,
1094
+ button.button__liteGrey.active,
1095
+ button.button__liteGrey:hover {
1096
+ background: #e0e6f9;
1097
+ color: #5b4e96;
1098
+ border-color: #e0e6f9;
1099
+ }
1100
+
1101
+ a.button__liteGrey.active:disabled, a.button__liteGrey:hover:disabled,
1102
+ button.button__liteGrey.active:disabled,
1103
+ button.button__liteGrey:hover:disabled {
1104
+ cursor: not-allowed;
1105
+ background: #FE504F;
1106
+ -webkit-box-shadow: none;
1107
+ box-shadow: none;
1108
+ }
1109
+
1110
+ a.button__liteGrey.hover__highlight:hover .icon,
1111
+ button.button__liteGrey.hover__highlight:hover .icon {
1112
+ background: #5b4e96;
1113
+ color: #F5F7FD;
1114
+ }
1115
+
1116
+ .button__black:not(.hover__highlight) {
1117
+ background: #000000;
1118
+ color: white;
1119
+ border-color: #000000;
1120
+ -webkit-transition-property: background, color, box-shadow, border;
1121
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
1122
+ transition-property: background, color, border, -webkit-box-shadow;
1123
+ transition-property: background, color, box-shadow, border;
1124
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
1125
+ }
1126
+
1127
+ .button__black:not(.hover__highlight):disabled {
1128
+ cursor: not-allowed;
1129
+ background: #FE504F;
1130
+ border-color: #FE504F;
1131
+ }
1132
+
1133
+ .button__black:not(.hover__highlight) .icon {
1134
+ color: #000000;
1135
+ background: white;
1136
+ }
1137
+
1138
+ .button__black.hover__highlight {
1139
+ color: #000000;
1140
+ border-color: transparent;
1141
+ background: rgba(0, 0, 0, 0.1);
1142
+ }
1143
+
1144
+ .button__black.hover__highlight .icon {
1145
+ background: #00CC76;
1146
+ color: #ffffff;
1147
+ }
1148
+
1149
+ .button__black.hover__highlight:hover {
1150
+ border-color: transparent;
1151
+ }
1152
+
1153
+ .button__black.button__shadow {
1154
+ -webkit-box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
1155
+ box-shadow: 0 10px 10px rgba(0, 0, 0, 0.2);
1156
+ }
1157
+
1158
+ a.button__black.active:disabled, a.button__black:hover:disabled,
1159
+ button.button__black.active:disabled,
1160
+ button.button__black:hover:disabled {
1161
+ cursor: not-allowed;
1162
+ background: #FE504F;
1163
+ -webkit-box-shadow: none;
1164
+ box-shadow: none;
1165
+ }
1166
+
1167
+ a.button__black.hover__highlight:hover .icon,
1168
+ button.button__black.hover__highlight:hover .icon {
1169
+ background: white;
1170
+ color: #000000;
1171
+ }
1172
+
1173
+ .button__twitter:not(.hover__highlight) {
1174
+ background: #1da1f2;
1175
+ color: white;
1176
+ border-color: #1da1f2;
1177
+ -webkit-transition-property: background, color, box-shadow, border;
1178
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
1179
+ transition-property: background, color, border, -webkit-box-shadow;
1180
+ transition-property: background, color, box-shadow, border;
1181
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
1182
+ }
1183
+
1184
+ .button__twitter:not(.hover__highlight):disabled {
1185
+ cursor: not-allowed;
1186
+ background: #FE504F;
1187
+ border-color: #FE504F;
1188
+ }
1189
+
1190
+ .button__twitter:not(.hover__highlight) .icon {
1191
+ color: #1da1f2;
1192
+ background: white;
1193
+ }
1194
+
1195
+ .button__twitter.hover__highlight {
1196
+ color: #1da1f2;
1197
+ border-color: transparent;
1198
+ background: rgba(29, 161, 242, 0.1);
1199
+ }
1200
+
1201
+ .button__twitter.hover__highlight .icon {
1202
+ background: #00CC76;
1203
+ color: #ffffff;
1204
+ }
1205
+
1206
+ .button__twitter.hover__highlight:hover {
1207
+ border-color: transparent;
1208
+ }
1209
+
1210
+ .button__twitter.button__shadow {
1211
+ -webkit-box-shadow: 0 10px 10px rgba(29, 161, 242, 0.2);
1212
+ box-shadow: 0 10px 10px rgba(29, 161, 242, 0.2);
1213
+ }
1214
+
1215
+ a.button__twitter.active, a.button__twitter:hover,
1216
+ button.button__twitter.active,
1217
+ button.button__twitter:hover {
1218
+ background: #0d95e8;
1219
+ color: white;
1220
+ border-color: #0d95e8;
1221
+ }
1222
+
1223
+ a.button__twitter.active:disabled, a.button__twitter:hover:disabled,
1224
+ button.button__twitter.active:disabled,
1225
+ button.button__twitter:hover:disabled {
1226
+ cursor: not-allowed;
1227
+ background: #FE504F;
1228
+ -webkit-box-shadow: none;
1229
+ box-shadow: none;
1230
+ }
1231
+
1232
+ a.button__twitter.hover__highlight:hover .icon,
1233
+ button.button__twitter.hover__highlight:hover .icon {
1234
+ background: white;
1235
+ color: #1da1f2;
1236
+ }
1237
+
1238
+ .button__linkedin:not(.hover__highlight) {
1239
+ background: #0077b5;
1240
+ color: white;
1241
+ border-color: #0077b5;
1242
+ -webkit-transition-property: background, color, box-shadow, border;
1243
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
1244
+ transition-property: background, color, border, -webkit-box-shadow;
1245
+ transition-property: background, color, box-shadow, border;
1246
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
1247
+ }
1248
+
1249
+ .button__linkedin:not(.hover__highlight):disabled {
1250
+ cursor: not-allowed;
1251
+ background: #FE504F;
1252
+ border-color: #FE504F;
1253
+ }
1254
+
1255
+ .button__linkedin:not(.hover__highlight) .icon {
1256
+ color: #0077b5;
1257
+ background: white;
1258
+ }
1259
+
1260
+ .button__linkedin.hover__highlight {
1261
+ color: #0077b5;
1262
+ border-color: transparent;
1263
+ background: rgba(0, 119, 181, 0.1);
1264
+ }
1265
+
1266
+ .button__linkedin.hover__highlight .icon {
1267
+ background: #00CC76;
1268
+ color: #ffffff;
1269
+ }
1270
+
1271
+ .button__linkedin.hover__highlight:hover {
1272
+ border-color: transparent;
1273
+ }
1274
+
1275
+ .button__linkedin.button__shadow {
1276
+ -webkit-box-shadow: 0 10px 10px rgba(0, 119, 181, 0.2);
1277
+ box-shadow: 0 10px 10px rgba(0, 119, 181, 0.2);
1278
+ }
1279
+
1280
+ a.button__linkedin.active, a.button__linkedin:hover,
1281
+ button.button__linkedin.active,
1282
+ button.button__linkedin:hover {
1283
+ background: #00669c;
1284
+ color: white;
1285
+ border-color: #00669c;
1286
+ }
1287
+
1288
+ a.button__linkedin.active:disabled, a.button__linkedin:hover:disabled,
1289
+ button.button__linkedin.active:disabled,
1290
+ button.button__linkedin:hover:disabled {
1291
+ cursor: not-allowed;
1292
+ background: #FE504F;
1293
+ -webkit-box-shadow: none;
1294
+ box-shadow: none;
1295
+ }
1296
+
1297
+ a.button__linkedin.hover__highlight:hover .icon,
1298
+ button.button__linkedin.hover__highlight:hover .icon {
1299
+ background: white;
1300
+ color: #0077b5;
1301
+ }
1302
+
1303
+ .button__instagram:not(.hover__highlight) {
1304
+ background: #e1306c;
1305
+ color: white;
1306
+ border-color: #e1306c;
1307
+ -webkit-transition-property: background, color, box-shadow, border;
1308
+ -webkit-transition-property: background, color, border, -webkit-box-shadow;
1309
+ transition-property: background, color, border, -webkit-box-shadow;
1310
+ transition-property: background, color, box-shadow, border;
1311
+ transition-property: background, color, box-shadow, border, -webkit-box-shadow;
1312
+ }
1313
+
1314
+ .button__instagram:not(.hover__highlight):disabled {
1315
+ cursor: not-allowed;
1316
+ background: #FE504F;
1317
+ border-color: #FE504F;
1318
+ }
1319
+
1320
+ .button__instagram:not(.hover__highlight) .icon {
1321
+ color: #e1306c;
1322
+ background: white;
1323
+ }
1324
+
1325
+ .button__instagram.hover__highlight {
1326
+ color: #e1306c;
1327
+ border-color: transparent;
1328
+ background: rgba(225, 48, 108, 0.1);
1329
+ }
1330
+
1331
+ .button__instagram.hover__highlight .icon {
1332
+ background: #00CC76;
1333
+ color: #ffffff;
1334
+ }
1335
+
1336
+ .button__instagram.hover__highlight:hover {
1337
+ border-color: transparent;
1338
+ }
1339
+
1340
+ .button__instagram.button__shadow {
1341
+ -webkit-box-shadow: 0 10px 10px rgba(225, 48, 108, 0.2);
1342
+ box-shadow: 0 10px 10px rgba(225, 48, 108, 0.2);
1343
+ }
1344
+
1345
+ a.button__instagram.active, a.button__instagram:hover,
1346
+ button.button__instagram.active,
1347
+ button.button__instagram:hover {
1348
+ background: #d81f5e;
1349
+ color: white;
1350
+ border-color: #d81f5e;
1351
+ }
1352
+
1353
+ a.button__instagram.active:disabled, a.button__instagram:hover:disabled,
1354
+ button.button__instagram.active:disabled,
1355
+ button.button__instagram:hover:disabled {
1356
+ cursor: not-allowed;
1357
+ background: #FE504F;
1358
+ -webkit-box-shadow: none;
1359
+ box-shadow: none;
1360
+ }
1361
+
1362
+ a.button__instagram.hover__highlight:hover .icon,
1363
+ button.button__instagram.hover__highlight:hover .icon {
1364
+ background: white;
1365
+ color: #e1306c;
1366
+ }
1367
+
1368
+ .template__wrapper .button {
1369
+ text-align: center;
1370
+ padding: 16px 30px;
1371
+ line-height: 1;
1372
+ color: #5B4E96;
1373
+ background: rgba(91, 78, 150, 0.1);
1374
+ border: 1px solid rgba(91, 78, 150, 0.1);
1375
+ font-size: 16px;
1376
+ font-weight: 500;
1377
+ font-family: "DM Sans", sans-serif;
1378
+ cursor: pointer;
1379
+ -webkit-transition: all 0.3s ease-in-out 0s;
1380
+ transition: all 0.3s ease-in-out 0s;
1381
+ }
1382
+
1383
+ @media (max-width: 767px) {
1384
+ .template__wrapper .button {
1385
+ padding: 16px 25px;
1386
+ }
1387
+ }
1388
+
1389
+ .template__wrapper .button:hover {
1390
+ background: #5B4E96;
1391
+ color: #ffffff;
1392
+ border-color: #5B4E96;
1393
+ }
1394
+
1395
+ .template__wrapper .button:focus {
1396
+ outline: none;
1397
+ -webkit-box-shadow: none;
1398
+ box-shadow: none;
1399
+ border-color: #5B4E96;
1400
+ }
1401
+
1402
+ .template__wrapper .button.button__white {
1403
+ background: #ffffff;
1404
+ color: #5B4E96;
1405
+ border-color: transparent;
1406
+ }
1407
+
1408
+ .template__wrapper .button.button__white:hover {
1409
+ color: #5B4E96;
1410
+ background: #f2f2f2;
1411
+ }
1412
+
1413
+ .template__wrapper .button .ss-icon {
1414
+ font-size: 14px;
1415
+ margin-right: 5px;
1416
+ }
1417
+
1418
+ .template__wrapper .button--lg {
1419
+ padding: 20px 30px;
1420
+ }
1421
+
1422
+ .template__wrapper .button__flex {
1423
+ display: -webkit-inline-box;
1424
+ display: -ms-inline-flexbox;
1425
+ display: inline-flex;
1426
+ -webkit-box-align: center;
1427
+ -ms-flex-align: center;
1428
+ align-items: center;
1429
+ }
1430
+
1431
+ .button__group .button {
1432
+ margin-right: 13px;
1433
+ margin-bottom: 15px;
1434
+ }
1435
+
1436
+ .button__group .button:last-child {
1437
+ margin-right: 0;
1438
+ }
1439
+
1440
+ .template__wrapper .radius-10 {
1441
+ border-radius: 10px;
1442
+ }
1443
+
1444
+ .template__wrapper .radius-12 {
1445
+ border-radius: 12px;
1446
+ }
1447
+
1448
+ .template__wrapper .radius-20 {
1449
+ border-radius: 20px;
1450
+ }
1451
+
1452
+ .template__wrapper .radius-25 {
1453
+ border-radius: 25px;
1454
+ }
1455
+
1456
+ .template__wrapper .radius-50 {
1457
+ border-radius: 50px;
1458
+ }
1459
+
1460
+ .template__wrapper {
1461
+ overflow: hidden;
1462
+ min-height: 100vh;
1463
+ -webkit-display: flex;
1464
+ -moz-display: flex;
1465
+ -ms-display: flex;
1466
+ -o-display: flex;
1467
+ display: -webkit-box;
1468
+ display: flex;
1469
+ -moz-flex-direction: column;
1470
+ -ms-flex-direction: column;
1471
+ -o-flex-direction: column;
1472
+ -webkit-box-orient: vertical;
1473
+ -webkit-box-direction: normal;
1474
+ flex-direction: column;
1475
+ }
1476
+
1477
+ @media (max-width: 991px) {
1478
+ .template__wrapper.p30 {
1479
+ padding: 15px;
1480
+ }
1481
+ }
1482
+
1483
+ .embedpress__container {
1484
+ width: 100%;
1485
+ margin: 0 auto;
1486
+ max-width: 1700px;
1487
+ }
1488
+
1489
+ .o-hidden {
1490
+ overflow: hidden;
1491
+ }
1492
+
1493
+ .text-center {
1494
+ text-align: center;
1495
+ }
1496
+
1497
+ .h-100 {
1498
+ height: 100%;
1499
+ }
1500
+
1501
+ .embedpress-body {
1502
+ display: -webkit-box;
1503
+ display: -ms-flexbox;
1504
+ display: flex;
1505
+ }
1506
+
1507
+ @media (max-width: 991px) {
1508
+ .embedpress-body {
1509
+ display: block;
1510
+ }
1511
+ }
1512
+
1513
+ .embedpress-body .embedpress-sidebar {
1514
+ -webkit-box-flex: 0;
1515
+ -ms-flex: 0 0 220px;
1516
+ flex: 0 0 220px;
1517
+ min-width: 220px;
1518
+ margin-right: 30px;
1519
+ }
1520
+
1521
+ @media (max-width: 991px) {
1522
+ .embedpress-body .embedpress-sidebar {
1523
+ display: inline-block;
1524
+ width: 50px;
1525
+ min-width: 50px;
1526
+ margin-right: 0;
1527
+ }
1528
+ }
1529
+
1530
+ .embedpress-body .embedpress-content {
1531
+ -webkit-box-flex: 1;
1532
+ -ms-flex-positive: 1;
1533
+ flex-grow: 1;
1534
+ }
1535
+
1536
+ .embedpress__row {
1537
+ display: -ms-grid;
1538
+ display: grid;
1539
+ gap: 30px;
1540
+ }
1541
+
1542
+ .embedpress__row.grid__3 {
1543
+ -ms-grid-columns: (1fr)[3];
1544
+ grid-template-columns: repeat(3, 1fr);
1545
+ }
1546
+
1547
+ @media (max-width: 1199px) {
1548
+ .embedpress__row.grid__3 {
1549
+ -ms-grid-columns: (1fr)[2];
1550
+ grid-template-columns: repeat(2, 1fr);
1551
+ }
1552
+ }
1553
+
1554
+ @media (max-width: 575px) {
1555
+ .embedpress__row.grid__3 {
1556
+ -ms-grid-columns: (1fr)[1];
1557
+ grid-template-columns: repeat(1, 1fr);
1558
+ }
1559
+ }
1560
+
1561
+ .embedpress__row.grid__4 {
1562
+ -ms-grid-columns: (1fr)[4];
1563
+ grid-template-columns: repeat(4, 1fr);
1564
+ }
1565
+
1566
+ @media (max-width: 1199px) {
1567
+ .embedpress__row.grid__4 {
1568
+ -ms-grid-columns: (1fr)[3];
1569
+ grid-template-columns: repeat(3, 1fr);
1570
+ }
1571
+ }
1572
+
1573
+ .embedpress__notification {
1574
+ position: fixed;
1575
+ bottom: 50px;
1576
+ right: 50px;
1577
+ padding: 15px 25px;
1578
+ border-radius: 10px;
1579
+ max-width: 400px;
1580
+ z-index: 9999;
1581
+ }
1582
+
1583
+ .embedpress__notification--success {
1584
+ background: #00CC76;
1585
+ }
1586
+
1587
+ .embedpress__notification--error {
1588
+ background-color: #FE504F;
1589
+ }
1590
+
1591
+ .embedpress__notification p {
1592
+ color: #ffffff;
1593
+ font-size: 14px;
1594
+ }
1595
+
1596
+ #wpcontent {
1597
+ padding-left: 0;
1598
+ }
1599
+
1600
+ @media all and (max-width: 782px) {
1601
+ .auto-fold #wpcontent {
1602
+ padding-left: 0;
1603
+ }
1604
+ }
1605
+
1606
+ @media (max-width: 1199px) {
1607
+ .p50, .p40 {
1608
+ padding: 25px;
1609
+ }
1610
+ }
1611
+
1612
+ .embedpress-header {
1613
+ padding-bottom: 25px;
1614
+ display: flex;
1615
+ justify-content: space-between;
1616
+ align-items: center;
1617
+ }
1618
+
1619
+ .embedpress-sidebar {
1620
+ padding: 10px;
1621
+ background: #ffffff;
1622
+ border-radius: 25px;
1623
+ position: relative;
1624
+ }
1625
+ .embedpress-version-wrapper li {
1626
+ font-size: 14px;
1627
+ font-weight: 800;
1628
+ color: #7C8DB5;
1629
+ text-align: right;
1630
+ }
1631
+
1632
+ @media all and (max-width: 767px) {
1633
+ .embedpress-version-wrapper li {
1634
+ font-size: 14px;
1635
+ }
1636
+ }
1637
+
1638
+
1639
+ @media all and (max-width: 575px) {
1640
+ .embedpress-header {
1641
+ display: block;
1642
+ }
1643
+ .embedpress-header .embedpress-version-wrapper {
1644
+ margin-top: 10px;
1645
+ }
1646
+ .embedpress-version-wrapper li {
1647
+ text-align: left;
1648
+ }
1649
+ }
1650
+
1651
+ @media (max-width: 991px) {
1652
+ .embedpress-sidebar {
1653
+ padding: 0;
1654
+ border-radius: 5px;
1655
+ margin-bottom: 30px;
1656
+ }
1657
+ }
1658
+
1659
+ .embedpress-sidebar .sidebar__toggler {
1660
+ display: none;
1661
+ }
1662
+
1663
+ @media (max-width: 991px) {
1664
+ .embedpress-sidebar .sidebar__toggler {
1665
+ display: block;
1666
+ font-size: 24px;
1667
+ padding: 5px 10px;
1668
+ text-align: center;
1669
+ }
1670
+ }
1671
+
1672
+ @media (max-width: 991px) {
1673
+ .embedpress-sidebar .sidebar__menu {
1674
+ display: none;
1675
+ position: absolute;
1676
+ top: calc(100% + 10px);
1677
+ z-index: 90;
1678
+ left: 0;
1679
+ background: #ffffff;
1680
+ min-width: 220px;
1681
+ border-radius: 10px;
1682
+ padding: 10px;
1683
+ -webkit-box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.2);
1684
+ box-shadow: 3px 3px 5px 0px rgba(0, 0, 0, 0.2);
1685
+ }
1686
+ }
1687
+
1688
+ .embedpress-sidebar .sidebar__menu .sidebar__item:not(:last-child) {
1689
+ margin-bottom: 10px;
1690
+ }
1691
+
1692
+ .embedpress-sidebar .sidebar__menu .sidebar__item:hover .sidebar__link {
1693
+ background: #5B4E96;
1694
+ color: #ffffff;
1695
+ }
1696
+
1697
+ .embedpress-sidebar .sidebar__menu .sidebar__item.show .sidebar__link {
1698
+ background: #5B4E96;
1699
+ color: #ffffff;
1700
+ }
1701
+
1702
+ .embedpress-sidebar .sidebar__menu .sidebar__item.show .sidebar__link--toggler:before {
1703
+ -webkit-transform: rotate(180deg);
1704
+ transform: rotate(180deg);
1705
+ }
1706
+
1707
+ .embedpress-sidebar .sidebar__menu .sidebar__item .sidebar__link {
1708
+ padding: 12px 20px;
1709
+ width: 100%;
1710
+ font-size: 16px;
1711
+ font-weight: 500;
1712
+ color: #25396F;
1713
+ border-radius: 15px;
1714
+ position: relative;
1715
+ }
1716
+
1717
+ .embedpress-sidebar .sidebar__menu .sidebar__item .sidebar__link--toggler:before {
1718
+ content: '\e906';
1719
+ font-family: icomoon;
1720
+ position: absolute;
1721
+ top: 18px;
1722
+ right: 15px;
1723
+ font-size: 10px;
1724
+ -webkit-transition: rotate .3s ease;
1725
+ transition: rotate .3s ease;
1726
+ }
1727
+
1728
+ .embedpress-sidebar .sidebar__menu .sidebar__item .sidebar__link.active + .dropdown__menu {
1729
+ display: block;
1730
+ }
1731
+
1732
+ .embedpress-sidebar .sidebar__menu .sidebar__item .sidebar__link span {
1733
+ display: inline-block;
1734
+ margin-right: 10px;
1735
+ width: 20px;
1736
+ text-align: center;
1737
+ }
1738
+
1739
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu {
1740
+ margin-left: 35px;
1741
+ display: none;
1742
+ }
1743
+
1744
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu .dropdown__item:not(:last-child) {
1745
+ margin-bottom: 5px;
1746
+ }
1747
+
1748
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu .dropdown__item .dropdown__link {
1749
+ padding: 5px;
1750
+ /* display: block; */
1751
+ font-size: 16px;
1752
+ font-weight: 400;
1753
+ color: #7C8DB5;
1754
+ display: flex;
1755
+ }
1756
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu .dropdown__item .dropdown__link img {
1757
+ max-width: 16px;
1758
+ margin-right: 7px;
1759
+ }
1760
+
1761
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu .dropdown__item .dropdown__link:hover {
1762
+ color: #5B4E96;
1763
+ }
1764
+
1765
+ .embedpress-sidebar .sidebar__menu .sidebar__item .dropdown__menu .dropdown__item .dropdown__link.active {
1766
+ color: #5B4E96;
1767
+ font-weight: 500;
1768
+ }
1769
+
1770
+ .embedpress-tab .nav__menu ul {
1771
+ display: -webkit-box;
1772
+ display: -ms-flexbox;
1773
+ display: flex;
1774
+ }
1775
+
1776
+ .embedpress-tab .nav__menu ul.menu__grow .nav__item {
1777
+ -webkit-box-flex: 1;
1778
+ -ms-flex-positive: 1;
1779
+ flex-grow: 1;
1780
+ text-align: center;
1781
+ }
1782
+
1783
+ .embedpress-tab .nav__menu ul.menu__grow .nav__item span {
1784
+ width: 100%;
1785
+ }
1786
+
1787
+ @media (max-width: 767px) {
1788
+ .embedpress-tab .nav__menu ul.menu__grow .nav__item span {
1789
+ padding: 10px;
1790
+ }
1791
+ }
1792
+
1793
+ @media (max-width: 479px) {
1794
+ .embedpress-tab .nav__menu ul:not(.menu__grow) {
1795
+ display: block;
1796
+ }
1797
+ .embedpress-tab .nav__menu ul:not(.menu__grow) .nav__item:not(:last-child) {
1798
+ margin-right: 0;
1799
+ }
1800
+ .embedpress-tab .nav__menu ul:not(.menu__grow) .nav__item:first-child span {
1801
+ border-top-right-radius: 10px;
1802
+ }
1803
+ .embedpress-tab .nav__menu ul:not(.menu__grow) .nav__item:last-child span {
1804
+ border-top-right-radius: 0;
1805
+ }
1806
+ }
1807
+
1808
+ @media (max-width: 479px) and (max-width: 479px) {
1809
+ .embedpress-tab .nav__menu ul:not(.menu__grow) .nav__item span {
1810
+ width: 100%;
1811
+ }
1812
+ }
1813
+
1814
+ .embedpress-tab .nav__menu ul .nav__item {
1815
+ margin-bottom: 5px;
1816
+ font-size: 20px;
1817
+ font-weight: 400;
1818
+ color: #5B4E96;
1819
+ display: -webkit-box;
1820
+ display: -ms-flexbox;
1821
+ display: flex;
1822
+ -webkit-box-pack: center;
1823
+ -ms-flex-pack: center;
1824
+ justify-content: center;
1825
+ -webkit-box-align: center;
1826
+ -ms-flex-align: center;
1827
+ align-items: center;
1828
+ }
1829
+
1830
+ @media (max-width: 767px) {
1831
+ .embedpress-tab .nav__menu ul .nav__item {
1832
+ font-size: 16px;
1833
+ }
1834
+ }
1835
+
1836
+ @media (max-width: 575px) {
1837
+ .embedpress-tab .nav__menu ul .nav__item {
1838
+ font-size: 14px;
1839
+ }
1840
+ }
1841
+
1842
+ .embedpress-tab .nav__menu ul .nav__item i {
1843
+ margin-right: 10px;
1844
+ }
1845
+
1846
+ .embedpress-tab .nav__menu ul .nav__item.active span {
1847
+ background: #5B4E96;
1848
+ color: #ffffff;
1849
+ }
1850
+
1851
+ .embedpress-tab .nav__menu ul .nav__item span {
1852
+ padding: 16px 20px;
1853
+ cursor: pointer;
1854
+ background: #ffffff;
1855
+ }
1856
+
1857
+ .embedpress-tab .nav__menu ul .nav__item:not(:last-child) {
1858
+ margin-right: 5px;
1859
+ }
1860
+
1861
+ .embedpress-tab .nav__menu ul .nav__item:first-child span {
1862
+ border-top-left-radius: 10px;
1863
+ }
1864
+
1865
+ .embedpress-tab .nav__menu ul .nav__item:last-child span {
1866
+ border-top-right-radius: 10px;
1867
+ }
1868
+
1869
+ .embedpress-tab .tab__item {
1870
+ display: none;
1871
+ border-radius: 20px;
1872
+ border-top-left-radius: 0;
1873
+ overflow: hidden;
1874
+ }
1875
+
1876
+ .embedpress-tab .tab__item.active {
1877
+ display: block;
1878
+ }
1879
+
1880
+ .embedpress__settings {
1881
+ min-height: 100%;
1882
+ }
1883
+
1884
+ .upgrade__card + .embedpress__settings {
1885
+ min-height: auto;
1886
+ }
1887
+
1888
+ .embedpress__settings h3 {
1889
+ font-size: 30px;
1890
+ font-weight: 700;
1891
+ color: #131F4D;
1892
+ margin-bottom: 25px;
1893
+ }
1894
+
1895
+ @media (max-width: 767px) {
1896
+ .embedpress__settings h3 {
1897
+ font-size: 24px;
1898
+ }
1899
+ }
1900
+
1901
+ @media (max-width: 575px) {
1902
+ .embedpress__settings h3 {
1903
+ font-size: 20px;
1904
+ }
1905
+ }
1906
+
1907
+ .template__wrapper input:focus,
1908
+ .template__wrapper select:focus {
1909
+ border-color: #E6EFFB;
1910
+ -webkit-box-shadow: none;
1911
+ box-shadow: none;
1912
+ outline: none;
1913
+ }
1914
+
1915
+ .template__wrapper .form__control {
1916
+ height: 40px;
1917
+ padding: 0 20px;
1918
+ border-radius: 5px;
1919
+ background: #ffffff;
1920
+ border: 1px solid #E6EFFB;
1921
+ color: #25396F;
1922
+ width: 100%;
1923
+ outline: none;
1924
+ -webkit-box-shadow: none;
1925
+ box-shadow: none;
1926
+ }
1927
+
1928
+ .template__wrapper .form__control::-webkit-input-placeholder {
1929
+ color: #25396F;
1930
+ }
1931
+
1932
+ .template__wrapper .form__control:-moz-placeholder {
1933
+ color: #25396F;
1934
+ }
1935
+
1936
+ .template__wrapper .form__control::-moz-placeholder {
1937
+ color: #25396F;
1938
+ }
1939
+
1940
+ .template__wrapper .form__control:-ms-input-placeholder {
1941
+ color: #25396F;
1942
+ }
1943
+
1944
+ .template__wrapper textarea.form__control {
1945
+ height: 120px;
1946
+ padding-top: 15px;
1947
+ }
1948
+
1949
+ .template__wrapper .embedpress__select select[disabled] {
1950
+ background-image: none;
1951
+ }
1952
+
1953
+ .template__wrapper label {
1954
+ font-size: 16px;
1955
+ font-weight: 400;
1956
+ color: #7C8DB5;
1957
+ margin-bottom: 8px;
1958
+ }
1959
+
1960
+ .embedpress__select {
1961
+ position: relative;
1962
+ }
1963
+
1964
+ .embedpress__select span {
1965
+ position: absolute;
1966
+ top: 12px;
1967
+ right: 15px;
1968
+ font-size: 12px;
1969
+ color: #25396F;
1970
+ pointer-events: none;
1971
+ }
1972
+
1973
+ .embedpress__select select {
1974
+ height: 40px;
1975
+ padding: 0 20px;
1976
+ border-radius: 5px;
1977
+ background: #ffffff;
1978
+ border: 1px solid #E6EFFB;
1979
+ color: #25396F;
1980
+ width: 100%;
1981
+ -webkit-appearance: none;
1982
+ -moz-appearance: none;
1983
+ appearance: none;
1984
+ }
1985
+
1986
+ .input__radio {
1987
+ position: relative;
1988
+ padding-left: 25px;
1989
+ }
1990
+
1991
+ .input__radio input {
1992
+ display: none;
1993
+ }
1994
+
1995
+ .input__radio input:checked ~ span:after {
1996
+ opacity: 1;
1997
+ }
1998
+
1999
+ .input__radio span {
2000
+ cursor: pointer;
2001
+ }
2002
+
2003
+ .input__radio span:before {
2004
+ position: absolute;
2005
+ top: 5px;
2006
+ left: 0;
2007
+ height: 16px;
2008
+ width: 16px;
2009
+ border-radius: 50%;
2010
+ border: 1px solid rgba(91, 78, 150, 0.1);
2011
+ content: '';
2012
+ }
2013
+
2014
+ .input__radio span:after {
2015
+ position: absolute;
2016
+ top: 8px;
2017
+ left: 3px;
2018
+ height: 12px;
2019
+ width: 12px;
2020
+ border-radius: 50%;
2021
+ background: #5B4E96;
2022
+ content: '';
2023
+ opacity: 0;
2024
+ }
2025
+
2026
+ .template__wrapper .input__switch {
2027
+ font-size: 0;
2028
+ cursor: pointer;
2029
+ }
2030
+
2031
+ .template__wrapper .input__switch input {
2032
+ display: none;
2033
+ }
2034
+
2035
+ .template__wrapper .input__switch input:checked ~ span {
2036
+ background: #5B4E96;
2037
+ }
2038
+
2039
+ .template__wrapper .input__switch input:checked ~ span:before {
2040
+ left: 15px;
2041
+ }
2042
+
2043
+ .template__wrapper .input__switch span {
2044
+ height: 17px;
2045
+ width: 30px;
2046
+ background: rgba(91, 78, 150, 0.3);
2047
+ display: inline-block;
2048
+ border-radius: 15px;
2049
+ position: relative;
2050
+ -webkit-transition: all .3s ease;
2051
+ transition: all .3s ease;
2052
+ }
2053
+
2054
+ .template__wrapper .input__switch span:before {
2055
+ position: absolute;
2056
+ top: 2px;
2057
+ left: 2px;
2058
+ height: 13px;
2059
+ width: 13px;
2060
+ border-radius: 50%;
2061
+ background: #ffffff;
2062
+ content: '';
2063
+ -webkit-transition: all .3s ease;
2064
+ transition: all .3s ease;
2065
+ }
2066
+
2067
+ .template__wrapper .input__switch.switch__text {
2068
+ border: 1px solid #E6EFFB;
2069
+ display: inline-block;
2070
+ padding: 10px 50px;
2071
+ border-radius: 5px;
2072
+ position: relative;
2073
+ }
2074
+
2075
+ .template__wrapper .input__switch.switch__text:before, .template__wrapper .input__switch.switch__text:after {
2076
+ font-size: 14px;
2077
+ font-weight: 400;
2078
+ color: #25396F;
2079
+ position: absolute;
2080
+ top: 7px;
2081
+ }
2082
+
2083
+ .template__wrapper .input__switch.switch__text:before {
2084
+ content: 'OFF';
2085
+ left: 10px;
2086
+ }
2087
+
2088
+ .template__wrapper .input__switch.switch__text:after {
2089
+ content: 'ON';
2090
+ right: 10px;
2091
+ }
2092
+
2093
+ .input__file {
2094
+ display: block;
2095
+ border: 1px solid #E6EFFB;
2096
+ padding: 5px 20px;
2097
+ border-radius: 5px;
2098
+ cursor: pointer;
2099
+ }
2100
+
2101
+ .input__file .form__control {
2102
+ display: none;
2103
+ }
2104
+
2105
+ .form__group {
2106
+ margin-bottom: 25px;
2107
+ }
2108
+
2109
+ .form__group.mb0 {
2110
+ margin-bottom: 0;
2111
+ }
2112
+
2113
+ .iframe__size__control__form .form__group {
2114
+ display: -webkit-box;
2115
+ display: -ms-flexbox;
2116
+ display: flex;
2117
+ -webkit-box-align: center;
2118
+ -ms-flex-align: center;
2119
+ align-items: center;
2120
+ }
2121
+
2122
+ @media (max-width: 575px) {
2123
+ .iframe__size__control__form .form__group {
2124
+ display: block;
2125
+ }
2126
+ }
2127
+
2128
+ .iframe__size__control__form .form__group:last-child {
2129
+ margin-bottom: 0;
2130
+ }
2131
+
2132
+ .iframe__size__control__form .form__group label {
2133
+ -webkit-box-flex: 0;
2134
+ -ms-flex: 0 0 240px;
2135
+ flex: 0 0 240px;
2136
+ margin-bottom: 0;
2137
+ }
2138
+
2139
+ @media (max-width: 575px) {
2140
+ .iframe__size__control__form .form__group label {
2141
+ margin-bottom: 10px;
2142
+ font-weight: 700;
2143
+ margin-right: 15px;
2144
+ }
2145
+ .iframe__size__control__form .form__group label:after {
2146
+ content: ':';
2147
+ }
2148
+ }
2149
+
2150
+ @media (max-width: 479px) {
2151
+ .iframe__size__control__form .form__group label {
2152
+ display: block;
2153
+ }
2154
+ }
2155
+
2156
+ .iframe__size__control__form .form__group .form__control {
2157
+ width: 80px;
2158
+ padding: 0 15px;
2159
+ margin-right: 20px;
2160
+ }
2161
+
2162
+ .iframe__size__control__form .form__group .frame__unit {
2163
+ font-size: 16px;
2164
+ font-weight: 400;
2165
+ color: #7C8DB5;
2166
+ }
2167
+
2168
+ .iframe__size__control__wrap {
2169
+ -webkit-box-flex: 0;
2170
+ -ms-flex: 0 0 40%;
2171
+ flex: 0 0 40%;
2172
+ }
2173
+
2174
+ .iframe__size__control__wrap h3 {
2175
+ font-size: 30px;
2176
+ font-weight: 700;
2177
+ color: #131F4D;
2178
+ margin-bottom: 25px;
2179
+ }
2180
+
2181
+ @media (max-width: 767px) {
2182
+ .iframe__size__control__wrap h3 {
2183
+ font-size: 24px;
2184
+ }
2185
+ }
2186
+
2187
+ @media (max-width: 575px) {
2188
+ .iframe__size__control__wrap h3 {
2189
+ font-size: 20px;
2190
+ }
2191
+ }
2192
+
2193
+ .embedpress__settings__form .form__group {
2194
+ display: -webkit-box;
2195
+ display: -ms-flexbox;
2196
+ display: flex;
2197
+ -webkit-box-align: start;
2198
+ -ms-flex-align: start;
2199
+ align-items: flex-start;
2200
+ }
2201
+
2202
+ @media (max-width: 767px) {
2203
+ .embedpress__settings__form .form__group {
2204
+ display: block;
2205
+ }
2206
+ }
2207
+
2208
+ .embedpress__settings__form .form__group .form__label {
2209
+ -webkit-box-flex: 0;
2210
+ -ms-flex: 0 0 410px;
2211
+ flex: 0 0 410px;
2212
+ font-size: 16px;
2213
+ font-weight: 400;
2214
+ color: #7C8DB5;
2215
+ }
2216
+
2217
+ .embedpress__settings__form .form__group .form__label .isPro {
2218
+ font-size: 10px;
2219
+ font-weight: 400;
2220
+ color: #ffffff;
2221
+ background: #5B4E96;
2222
+ border-radius: 20px;
2223
+ padding: 2px 5px;
2224
+ margin-left: 10px;
2225
+ text-transform: uppercase;
2226
+ }
2227
+
2228
+ @media (max-width: 1399px) {
2229
+ .embedpress__settings__form .form__group .form__label {
2230
+ -webkit-box-flex: 0;
2231
+ -ms-flex: 0 0 300px;
2232
+ flex: 0 0 300px;
2233
+ }
2234
+ }
2235
+
2236
+ @media (min-width: 991px) and (max-width: 1199px) {
2237
+ .embedpress__settings__form .form__group .form__label {
2238
+ -webkit-box-flex: 0;
2239
+ -ms-flex: 0 0 250px;
2240
+ flex: 0 0 250px;
2241
+ }
2242
+ }
2243
+
2244
+ @media (max-width: 767px) {
2245
+ .embedpress__settings__form .form__group .form__label {
2246
+ margin-bottom: 10px;
2247
+ font-weight: 700;
2248
+ }
2249
+ .embedpress__settings__form .form__group .form__label:after {
2250
+ content: ':';
2251
+ }
2252
+ }
2253
+
2254
+ .embedpress__settings__form .form__group .form__control__wrap {
2255
+ -webkit-box-flex: 1;
2256
+ -ms-flex-positive: 1;
2257
+ flex-grow: 1;
2258
+ }
2259
+
2260
+ .embedpress__settings__form .form__group .form__control__wrap--flex {
2261
+ display: -webkit-box;
2262
+ display: -ms-flexbox;
2263
+ display: flex;
2264
+ }
2265
+
2266
+ .embedpress__settings__form .form__group .form__control__wrap .input__flex {
2267
+ display: -webkit-box;
2268
+ display: -ms-flexbox;
2269
+ display: flex;
2270
+ -webkit-box-align: center;
2271
+ -ms-flex-align: center;
2272
+ align-items: center;
2273
+ }
2274
+
2275
+ .embedpress__settings__form .form__group .form__control__wrap .input__flex label:not(:last-child) {
2276
+ margin-right: 20px;
2277
+ }
2278
+
2279
+ .embedpress__settings__form .form__group .form__control__wrap .input__flex .form__control[type="number"] {
2280
+ width: 80px;
2281
+ margin-right: 20px;
2282
+ padding: 0 15px;
2283
+ }
2284
+
2285
+ .embedpress__settings__form .form__group .form__control__wrap .input__flex .frame__unit {
2286
+ line-height: 1;
2287
+ }
2288
+
2289
+ .embedpress__settings__form .form__group .form__control__wrap .input__file,
2290
+ .embedpress__settings__form .form__group .form__control__wrap .form__control,
2291
+ .embedpress__settings__form .form__group .form__control__wrap .embedpress__select {
2292
+ max-width: 300px;
2293
+ }
2294
+
2295
+ .embedpress__settings__form .form__group .form__control__wrap p {
2296
+ font-size: 14px;
2297
+ font-weight: 400;
2298
+ color: #7C8DB5;
2299
+ margin-top: 10px;
2300
+ }
2301
+ .embedpress__settings__form .form__group .form__control__wrap .isPro:not(.embedpress__select) {
2302
+ opacity: 0.3;
2303
+ }
2304
+
2305
+ .frame__size__wrap {
2306
+ display: -webkit-box;
2307
+ display: -ms-flexbox;
2308
+ display: flex;
2309
+ }
2310
+
2311
+ @media (max-width: 1199px) {
2312
+ .frame__size__wrap {
2313
+ display: block;
2314
+ }
2315
+ }
2316
+
2317
+ .form__inline {
2318
+ display: -webkit-box;
2319
+ display: -ms-flexbox;
2320
+ display: flex;
2321
+ }
2322
+
2323
+ .form__inline .form__group {
2324
+ margin-bottom: 0;
2325
+ margin-right: 30px;
2326
+ }
2327
+
2328
+ .logo__adjust__wrap {
2329
+ margin-top: 20px;
2330
+ /* display: none; */
2331
+ }
2332
+
2333
+ .logo__adjust__wrap .logo__upload__wrap {
2334
+ display: flex;
2335
+ align-items: center;
2336
+ }
2337
+
2338
+ .logo__adjust__wrap .logo__upload,
2339
+ .logo__adjust__wrap .logo__upload__preview {
2340
+ display: inline-block;
2341
+ width: 100%;
2342
+ max-width: 255px;
2343
+ border-radius: 10px;
2344
+ border: 2px dashed rgba(124, 141, 181, 0.3);
2345
+ background: #F5F7FD;
2346
+ padding: 40px 15px;
2347
+ text-align: center;
2348
+ position: relative;
2349
+ margin-bottom: 0;
2350
+ height: 172px;
2351
+ }
2352
+
2353
+ @media (max-width: 479px) {
2354
+ .logo__adjust__wrap .logo__upload {
2355
+ width: 225px;
2356
+ }
2357
+ }
2358
+
2359
+ .logo__adjust__wrap .logo__upload .icon {
2360
+ margin-bottom: 10px;
2361
+ display: block;
2362
+ }
2363
+
2364
+ .logo__adjust__wrap .logo__upload .icon i {
2365
+ font-size: 50px;
2366
+ opacity: .3;
2367
+ }
2368
+
2369
+ .logo__adjust__wrap .logo__upload .text {
2370
+ display: block;
2371
+ font-size: 14px;
2372
+ }
2373
+
2374
+ .logo__adjust__wrap .logo__upload input {
2375
+ opacity: 0;
2376
+ position: absolute;
2377
+ top: 0;
2378
+ left: 0;
2379
+ height: 100%;
2380
+ width: 100%;
2381
+ z-index: 9;
2382
+ cursor: pointer;
2383
+ }
2384
+
2385
+ .logo__adjust__wrap .logo__upload__preview .instant__preview {
2386
+ position: absolute;
2387
+ top: 50%;
2388
+ left: 50%;
2389
+ transform: translate(-50%, -50%);
2390
+ font-size: 0;
2391
+ }
2392
+ .logo__adjust__wrap .logo__upload__preview .instant__preview .preview__remove {
2393
+ position: absolute;
2394
+ bottom: 100%;
2395
+ left: 100%;
2396
+ font-size: 7px;
2397
+ height: 20px;
2398
+ width: 20px;
2399
+ background: #5B4E96;
2400
+ color: #fff;
2401
+ line-height: 22px;
2402
+ border-radius: 50%;
2403
+ }
2404
+ .logo__adjust__wrap .logo__adjust {
2405
+ margin-top: 20px;
2406
+ display: -webkit-box;
2407
+ display: -ms-flexbox;
2408
+ display: flex;
2409
+ -ms-flex-wrap: wrap;
2410
+ flex-wrap: wrap;
2411
+ }
2412
+
2413
+ @media (max-width: 1399px) {
2414
+ .logo__adjust__wrap .logo__adjust {
2415
+ display: block;
2416
+ }
2417
+ }
2418
+
2419
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller {
2420
+ -webkit-box-flex: 0;
2421
+ -ms-flex: 0 0 300px;
2422
+ flex: 0 0 300px;
2423
+ margin-right: 30px;
2424
+ }
2425
+
2426
+ @media (max-width: 1399px) {
2427
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller {
2428
+ width: 100%;
2429
+ margin-right: 0;
2430
+ }
2431
+ }
2432
+
2433
+ @media (max-width: 479px) {
2434
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller {
2435
+ -webkit-box-flex: 0;
2436
+ -ms-flex: 0 0 225px;
2437
+ flex: 0 0 225px;
2438
+ margin-right: 0;
2439
+ }
2440
+ }
2441
+
2442
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item:not(:last-child) {
2443
+ margin-bottom: 25px;
2444
+ }
2445
+
2446
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .controller__label {
2447
+ font-size: 16px;
2448
+ font-weight: 400;
2449
+ color: #7C8DB5;
2450
+ display: inline-block;
2451
+ }
2452
+
2453
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .logo__adjust__controller__inputs {
2454
+ display: -webkit-box;
2455
+ display: -ms-flexbox;
2456
+ display: flex;
2457
+ -webkit-box-align: center;
2458
+ -ms-flex-align: center;
2459
+ align-items: center;
2460
+ }
2461
+
2462
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .logo__adjust__controller__inputs input[type="range"] {
2463
+ margin-right: 20px;
2464
+ width: 200px;
2465
+ }
2466
+
2467
+ @media (max-width: 1199px) {
2468
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .logo__adjust__controller__inputs input[type="range"] {
2469
+ width: 145px;
2470
+ }
2471
+ }
2472
+
2473
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .logo__adjust__controller__inputs .form__control[type="number"] {
2474
+ width: 80px;
2475
+ padding: 0 15px;
2476
+ }
2477
+
2478
+ @media (max-width: 1199px) {
2479
+ .logo__adjust__wrap .logo__adjust .logo__adjust__controller .logo__adjust__controller__item .logo__adjust__controller__inputs .form__control[type="number"] {
2480
+ width: 55px;
2481
+ padding: 0 12px;
2482
+ }
2483
+ }
2484
+
2485
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview {
2486
+ -webkit-box-flex: 0;
2487
+ -ms-flex: 0 0 500px;
2488
+ flex: 0 0 500px;
2489
+ }
2490
+
2491
+ @media (max-width: 1399px) {
2492
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview {
2493
+ width: 100%;
2494
+ max-width: 400px;
2495
+ margin-top: 20px;
2496
+ }
2497
+ }
2498
+
2499
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview .title {
2500
+ font-size: 16px;
2501
+ font-weight: 400;
2502
+ color: #7C8DB5;
2503
+ display: inline-block;
2504
+ margin-bottom: 10px;
2505
+ }
2506
+
2507
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview .preview__box {
2508
+ height: 280px;
2509
+ position: relative;
2510
+ }
2511
+
2512
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview .preview__box iframe {
2513
+ width: 100%;
2514
+ height: 100%;
2515
+ }
2516
+
2517
+ .logo__adjust__wrap .logo__adjust .logo__adjust__preview .preview__box img {
2518
+ position: absolute;
2519
+ bottom: 10%;
2520
+ right: 6%;
2521
+ max-height: 40px;
2522
+ }
2523
+
2524
+ .pro__alert__wrap {
2525
+ position: fixed;
2526
+ top: 0;
2527
+ left: 0;
2528
+ height: 100%;
2529
+ width: 100%;
2530
+ background: rgb(0, 0, 0, 30%);
2531
+ z-index: 99999;
2532
+ display: none;
2533
+ }
2534
+ .pro__alert__wrap .pro__alert__card {
2535
+ width: calc(100% - 30px);
2536
+ max-width: 500px;
2537
+ margin: 7% auto 0;
2538
+ background: #fff;
2539
+ border-radius: 20px;
2540
+ padding: 30px;
2541
+ display: flex;
2542
+ flex-direction: column;
2543
+ align-items: center;
2544
+ text-align: center;
2545
+ }
2546
+ .pro__alert__wrap .pro__alert__card img {
2547
+ height: 100px;
2548
+ margin-bottom: 20px;
2549
+ }
2550
+ .pro__alert__wrap .pro__alert__card h2 {
2551
+ font-size: 32px;
2552
+ font-weight: 500;
2553
+ color: #131F4D;
2554
+ margin-bottom: 15px;
2555
+ }
2556
+ .pro__alert__wrap .pro__alert__card p {
2557
+ font-size: 14px;
2558
+ font-weight: 400;
2559
+ color: #7C8DB5;
2560
+ margin-bottom: 15px;
2561
+ }
2562
+ .pro__alert__wrap .pro__alert__card p a {
2563
+ text-decoration: underline;
2564
+ font-weight: 700;
2565
+ color: #131F4D;
2566
+ }
2567
+ .pro__alert__wrap .pro__alert__card .button {
2568
+ align-self: flex-end;
2569
+ margin-top: 20px;
2570
+ padding: 11px 30px;
2571
+ }
2572
+
2573
+ .template__wrapper input[type=range] {
2574
+ height: 24px;
2575
+ -webkit-appearance: none;
2576
+ margin: 10px 0;
2577
+ width: 100%;
2578
+ }
2579
+
2580
+ .template__wrapper input[type=range]:focus {
2581
+ outline: none;
2582
+ }
2583
+
2584
+ .template__wrapper input[type=range]::-webkit-slider-runnable-track {
2585
+ width: 100%;
2586
+ height: 10px;
2587
+ cursor: pointer;
2588
+ animate: 0.2s;
2589
+ -webkit-box-shadow: 0px 0px 0px #000000;
2590
+ box-shadow: 0px 0px 0px #000000;
2591
+ background: #5B4E96;
2592
+ border-radius: 5px;
2593
+ border: 2px solid #F5F7FD;
2594
+ }
2595
+
2596
+ .template__wrapper input[type=range]::-webkit-slider-thumb {
2597
+ -webkit-box-shadow: 0px 0px 0px #000000;
2598
+ box-shadow: 0px 0px 0px #000000;
2599
+ border: 2px solid #5B4E96;
2600
+ height: 16px;
2601
+ width: 16px;
2602
+ border-radius: 8px;
2603
+ background: #FFFFFF;
2604
+ cursor: pointer;
2605
+ -webkit-appearance: none;
2606
+ margin-top: -5px;
2607
+ }
2608
+
2609
+ .template__wrapper input[type=range]:focus::-webkit-slider-runnable-track {
2610
+ background: #5B4E96;
2611
+ }
2612
+
2613
+ .template__wrapper input[type=range]::-moz-range-track {
2614
+ width: 100%;
2615
+ height: 10px;
2616
+ cursor: pointer;
2617
+ animate: 0.2s;
2618
+ box-shadow: 0px 0px 0px #000000;
2619
+ background: #5B4E96;
2620
+ border-radius: 5px;
2621
+ border: 2px solid #F5F7FD;
2622
+ }
2623
+
2624
+ .template__wrapper input[type=range]::-moz-range-thumb {
2625
+ box-shadow: 0px 0px 0px #000000;
2626
+ border: 2px solid #5B4E96;
2627
+ height: 16px;
2628
+ width: 16px;
2629
+ border-radius: 8px;
2630
+ background: #FFFFFF;
2631
+ cursor: pointer;
2632
+ }
2633
+
2634
+ .template__wrapper input[type=range]::-ms-track {
2635
+ width: 100%;
2636
+ height: 10px;
2637
+ cursor: pointer;
2638
+ animate: 0.2s;
2639
+ background: transparent;
2640
+ border-color: transparent;
2641
+ color: transparent;
2642
+ }
2643
+
2644
+ .template__wrapper input[type=range]::-ms-fill-lower {
2645
+ background: #5B4E96;
2646
+ border: 2px solid #F5F7FD;
2647
+ border-radius: 10px;
2648
+ box-shadow: 0px 0px 0px #000000;
2649
+ }
2650
+
2651
+ .template__wrapper input[type=range]::-ms-fill-upper {
2652
+ background: #5B4E96;
2653
+ border: 2px solid #F5F7FD;
2654
+ border-radius: 10px;
2655
+ box-shadow: 0px 0px 0px #000000;
2656
+ }
2657
+
2658
+ .template__wrapper input[type=range]::-ms-thumb {
2659
+ margin-top: 1px;
2660
+ box-shadow: 0px 0px 0px #000000;
2661
+ border: 2px solid #5B4E96;
2662
+ height: 16px;
2663
+ width: 16px;
2664
+ border-radius: 8px;
2665
+ background: #FFFFFF;
2666
+ cursor: pointer;
2667
+ }
2668
+
2669
+ .template__wrapper input[type=range]:focus::-ms-fill-lower {
2670
+ background: #5B4E96;
2671
+ }
2672
+
2673
+ .template__wrapper input[type=range]:focus::-ms-fill-upper {
2674
+ background: #5B4E96;
2675
+ }
2676
+
2677
+ .upgrade__card {
2678
+ display: -webkit-box;
2679
+ display: -ms-flexbox;
2680
+ display: flex;
2681
+ -webkit-box-align: center;
2682
+ -ms-flex-align: center;
2683
+ align-items: center;
2684
+ background: #5B4E96;
2685
+ border-radius: 25px;
2686
+ padding: 40px;
2687
+ }
2688
+
2689
+ @media (max-width: 1199px) {
2690
+ .upgrade__card {
2691
+ padding: 50px;
2692
+ }
2693
+ }
2694
+
2695
+ .upgrade__card .icon {
2696
+ margin-right: 40px;
2697
+ min-width: 90px;
2698
+ }
2699
+
2700
+ @media (max-width: 767px) {
2701
+ .upgrade__card .icon {
2702
+ margin-right: 0;
2703
+ margin-bottom: 20px;
2704
+ }
2705
+ }
2706
+
2707
+ .upgrade__card .card__content {
2708
+ margin-right: 30px;
2709
+ }
2710
+
2711
+ @media (max-width: 767px) {
2712
+ .upgrade__card .card__content {
2713
+ margin-bottom: 20px;
2714
+ margin-right: 0;
2715
+ }
2716
+ }
2717
+
2718
+ .upgrade__card .card__content h4 {
2719
+ font-size: 26px;
2720
+ font-weight: 500;
2721
+ color: #ffffff;
2722
+ margin-bottom: 15px;
2723
+ }
2724
+
2725
+ @media (max-width: 767px) {
2726
+ .upgrade__card .card__content h4 {
2727
+ font-size: 22px;
2728
+ }
2729
+ }
2730
+
2731
+ .upgrade__card .card__content p {
2732
+ font-size: 14px;
2733
+ font-weight: 400;
2734
+ color: rgba(255, 255, 255, 0.5);
2735
+ max-width: 700px;
2736
+ }
2737
+
2738
+ .upgrade__card .button {
2739
+ margin-left: auto;
2740
+ min-width: 177px;
2741
+ text-align: center;
2742
+ }
2743
+
2744
+ @media (max-width: 767px) {
2745
+ .upgrade__card {
2746
+ display: block;
2747
+ padding: 25px;
2748
+ }
2749
+ }
2750
+
2751
+ .upgrage__card__tab__style h3 {
2752
+ font-size: 30px;
2753
+ font-weight: 700;
2754
+ color: #131F4D;
2755
+ margin-bottom: 25px;
2756
+ }
2757
+
2758
+ @media (max-width: 767px) {
2759
+ .upgrage__card__tab__style h3 {
2760
+ font-size: 24px;
2761
+ }
2762
+ }
2763
+
2764
+ @media (max-width: 575px) {
2765
+ .upgrage__card__tab__style h3 {
2766
+ font-size: 20px;
2767
+ }
2768
+ }
2769
+
2770
+ .upgrage__card__tab__style p {
2771
+ font-size: 14px;
2772
+ font-weight: 400;
2773
+ color: #7C8DB5;
2774
+ margin-bottom: 30px;
2775
+ max-width: 1320px;
2776
+ line-height: 1.85;
2777
+ }
2778
+
2779
+ .embedpress-license__details {
2780
+ display: -ms-grid;
2781
+ display: grid;
2782
+ -ms-grid-columns: 3.5fr 2fr;
2783
+ grid-template-columns: 3.5fr 2fr;
2784
+ gap: 5px;
2785
+ }
2786
+
2787
+ @media (max-width: 991px) {
2788
+ .embedpress-license__details {
2789
+ display: block;
2790
+ }
2791
+ }
2792
+
2793
+ .embedpress-license__details .license__content {
2794
+ background: #ffffff;
2795
+ padding: 100px;
2796
+ padding-left: 50px;
2797
+ }
2798
+
2799
+ @media (max-width: 1199px) {
2800
+ .embedpress-license__details .license__content {
2801
+ padding: 30px;
2802
+ }
2803
+ }
2804
+
2805
+ @media (max-width: 991px) {
2806
+ .embedpress-license__details .license__content {
2807
+ margin-bottom: 5px;
2808
+ }
2809
+ }
2810
+
2811
+ @media (max-width: 767px) {
2812
+ .embedpress-license__details .license__content {
2813
+ padding: 40px 30px;
2814
+ }
2815
+ }
2816
+
2817
+ @media (max-width: 575px) {
2818
+ .embedpress-license__details .license__content .form__inline {
2819
+ display: block;
2820
+ }
2821
+ .embedpress-license__details .license__content .form__inline .form__group {
2822
+ margin-bottom: 25px;
2823
+ margin-right: 0;
2824
+ }
2825
+ }
2826
+
2827
+ .embedpress-license__details .license__content .thumb__area {
2828
+ /* max-width: 350px; */
2829
+ /* text-align: center; */
2830
+ margin-bottom: 30px;
2831
+ }
2832
+ .embedpress-license__details .license__content .thumb__area img {
2833
+ max-width: 320px;
2834
+ }
2835
+
2836
+ .embedpress-license__details .license__content .thumb__area h2 {
2837
+ font-size: 30px;
2838
+ font-weight: 400;
2839
+ color: #25396F;
2840
+ margin-top: 10px;
2841
+ }
2842
+
2843
+ @media (max-width: 767px) {
2844
+ .embedpress-license__details .license__content .thumb__area h2 {
2845
+ font-size: 24px;
2846
+ }
2847
+ }
2848
+
2849
+ .embedpress-license__details .license__content p {
2850
+ font-size: 16px;
2851
+ font-weight: 400;
2852
+ color: #25396F;
2853
+ margin-bottom: 30px;
2854
+ }
2855
+
2856
+ @media (max-width: 767px) {
2857
+ .embedpress-license__details .license__content p {
2858
+ font-size: 16px;
2859
+ }
2860
+ }
2861
+
2862
+ .embedpress-license__details .license__content p a {
2863
+ color: #5B4E96;
2864
+ text-decoration: underline;
2865
+ }
2866
+
2867
+ .embedpress-license__details .license__content ol {
2868
+ list-style: decimal;
2869
+ padding-left: 19px;
2870
+ margin-bottom: 50px;
2871
+ }
2872
+
2873
+ .embedpress-license__details .license__content ol li {
2874
+ font-size: 18px;
2875
+ font-weight: 400;
2876
+ color: #25396F;
2877
+ }
2878
+
2879
+ .embedpress-license__details .license__content ol li:not(:last-child) {
2880
+ margin-bottom: 15px;
2881
+ }
2882
+
2883
+ @media (max-width: 767px) {
2884
+ .embedpress-license__details .license__content ol li {
2885
+ font-size: 16px;
2886
+ }
2887
+ }
2888
+
2889
+ .embedpress-license__details .license__content ol li a {
2890
+ color: #5B4E96;
2891
+ text-decoration: underline;
2892
+ }
2893
+
2894
+ .embedpress-license__details .license__content .form__group {
2895
+ -webkit-box-flex: 1;
2896
+ -ms-flex-positive: 1;
2897
+ flex-grow: 1;
2898
+ position: relative;
2899
+ }
2900
+
2901
+
2902
+
2903
+ .embedpress-license__details .license__content .form__group .input__icon {
2904
+ position: absolute;
2905
+ top: 20px;
2906
+ left: 20px;
2907
+ color: #7C8DB5;
2908
+ pointer-events: none;
2909
+ width: 20px;
2910
+ }
2911
+
2912
+ .embedpress-license__details .license__content .form__group .input__icon i {
2913
+ font-size: 20px;
2914
+ }
2915
+
2916
+ @media (max-width: 767px) {
2917
+ .embedpress-license__details .license__content .form__group .input__icon {
2918
+ top: 15px;
2919
+ left: 15px;
2920
+ }
2921
+ .embedpress-license__details .license__content .form__group .input__icon i {
2922
+ font-size: 16px;
2923
+ }
2924
+ }
2925
+
2926
+ .embedpress-license__details .license__content .form__group .form__control {
2927
+ height: 60px;
2928
+ background: #F5F7FD;
2929
+ color: #7C8DB5;
2930
+ font-size: 20px;
2931
+ padding-left: 50px;
2932
+ }
2933
+
2934
+ .embedpress-license__details .license__content .form__group .form__control::-webkit-input-placeholder {
2935
+ color: #7C8DB5;
2936
+ }
2937
+
2938
+ .embedpress-license__details .license__content .form__group .form__control:-moz-placeholder {
2939
+ color: #7C8DB5;
2940
+ }
2941
+
2942
+ .embedpress-license__details .license__content .form__group .form__control::-moz-placeholder {
2943
+ color: #7C8DB5;
2944
+ }
2945
+
2946
+ .embedpress-license__details .license__content .form__group .form__control:-ms-input-placeholder {
2947
+ color: #7C8DB5;
2948
+ }
2949
+
2950
+ @media (max-width: 1399px) {
2951
+ .embedpress-license__details .license__content .form__group .form__control {
2952
+ font-size: 16px;
2953
+ }
2954
+ }
2955
+
2956
+ @media (max-width: 767px) {
2957
+ .embedpress-license__details .license__content .form__group .form__control {
2958
+ height: 50px;
2959
+ padding-left: 35px;
2960
+ font-size: 14px;
2961
+ }
2962
+ }
2963
+
2964
+ .embedpress-license__details .license__manage {
2965
+ background: #ffffff;
2966
+ padding: 30px;
2967
+ display: -webkit-box;
2968
+ display: -ms-flexbox;
2969
+ display: flex;
2970
+ -webkit-box-pack: center;
2971
+ -ms-flex-pack: center;
2972
+ justify-content: center;
2973
+ -webkit-box-align: center;
2974
+ -ms-flex-align: center;
2975
+ align-items: center;
2976
+ -webkit-box-orient: vertical;
2977
+ -webkit-box-direction: normal;
2978
+ -ms-flex-direction: column;
2979
+ flex-direction: column;
2980
+ }
2981
+
2982
+ .embedpress-license__details .license__manage .button {
2983
+ margin-top: 30px;
2984
+ }
2985
+
2986
+ .embedpress-card {
2987
+ background: #F5F7FD;
2988
+ border-radius: 20px;
2989
+ padding: 30px;
2990
+ padding-left: 100px;
2991
+ border: 2px solid rgba(91, 78, 150, 0.1);
2992
+ position: relative;
2993
+ }
2994
+
2995
+ @media (min-width: 1199px) and (max-width: 1399px) {
2996
+ .embedpress-card {
2997
+ padding-left: 30px;
2998
+ }
2999
+ }
3000
+
3001
+ @media (max-width: 767px) {
3002
+ .embedpress-card {
3003
+ padding-left: 25px;
3004
+ padding: 25px;
3005
+ }
3006
+ }
3007
+
3008
+ .embedpress-card .icon {
3009
+ position: absolute;
3010
+ top: 30px;
3011
+ left: 30px;
3012
+ height: 50px;
3013
+ width: 50px;
3014
+ border-radius: 10px;
3015
+ background: #5B4E96;
3016
+ text-align: center;
3017
+ }
3018
+
3019
+ @media (min-width: 1199px) and (max-width: 1399px) {
3020
+ .embedpress-card .icon {
3021
+ position: static;
3022
+ margin-bottom: 20px;
3023
+ }
3024
+ }
3025
+
3026
+ @media (max-width: 767px) {
3027
+ .embedpress-card .icon {
3028
+ position: static;
3029
+ margin-bottom: 20px;
3030
+ }
3031
+ }
3032
+
3033
+ .embedpress-card .icon i {
3034
+ color: #ffffff;
3035
+ font-size: 20px;
3036
+ line-height: 50px;
3037
+ }
3038
+
3039
+ .embedpress-card h3 {
3040
+ font-size: 26px;
3041
+ font-weight: 500;
3042
+ color: #131F4D;
3043
+ margin-bottom: 10px;
3044
+ }
3045
+
3046
+ @media (max-width: 767px) {
3047
+ .embedpress-card h3 {
3048
+ font-size: 22px;
3049
+ }
3050
+ }
3051
+
3052
+ .embedpress-card p {
3053
+ font-size: 14px;
3054
+ font-weight: 400;
3055
+ color: #7C8DB5;
3056
+ margin-bottom: 20px;
3057
+ }
3058
+
3059
+ .emement__item {
3060
+ background: #F5F7FD;
3061
+ border-radius: 10px;
3062
+ padding: 25px 30px;
3063
+ border: 2px solid rgba(91, 78, 150, 0.1);
3064
+ position: relative;
3065
+ display: -webkit-box;
3066
+ display: -ms-flexbox;
3067
+ display: flex;
3068
+ -webkit-box-align: center;
3069
+ -ms-flex-align: center;
3070
+ align-items: center;
3071
+ /* overflow: hidden; */
3072
+ }
3073
+
3074
+ @media (max-width: 767px) {
3075
+ .emement__item {
3076
+ padding: 20px;
3077
+ padding-right: 15px;
3078
+ }
3079
+ }
3080
+
3081
+ .emement__item.isPro .pro__item {
3082
+ /* display: block; */
3083
+ }
3084
+
3085
+ .emement__item h5 {
3086
+ font-size: 20px;
3087
+ font-weight: 700;
3088
+ color: #25396F;
3089
+ margin-right: 15px;
3090
+ }
3091
+
3092
+ @media (max-width: 767px) {
3093
+ .emement__item h5 {
3094
+ font-size: 16px;
3095
+ }
3096
+ }
3097
+
3098
+ .emement__item .has__question {
3099
+ color: rgba(124, 141, 181, 0.5);
3100
+ line-height: 1;
3101
+ margin-top: 2px;
3102
+ margin-right: 10px;
3103
+ position: relative;
3104
+ }
3105
+ .emement__item .has__question .element__tooltip {
3106
+ position: absolute;
3107
+ bottom: calc(100% + 12px);
3108
+ left: -20px;
3109
+ /* transform: translateX(-50%); */
3110
+ background: #5B4E96;
3111
+ color: #fff;
3112
+ padding: 20px;
3113
+ min-width: 200px;
3114
+ border-radius: 5px;
3115
+ font-size: 16px;
3116
+ transition: all .3s ease;
3117
+ opacity: 0;
3118
+ visibility: hidden;
3119
+ z-index: 9;
3120
+ }
3121
+ .emement__item .has__question:hover .element__tooltip {
3122
+ visibility: visible;
3123
+ opacity: 1;
3124
+ }
3125
+ .emement__item .has__question .element__tooltip:before {
3126
+ position: absolute;
3127
+ top: 100%;
3128
+ left: 18px;
3129
+ /* transform: translateX(-50%); */
3130
+ border-left: 10px solid transparent;
3131
+ border-right: 10px solid transparent;
3132
+ border-top: 10px solid #5B4E96;
3133
+ content: '';
3134
+ }
3135
+ .emement__item .input__switch {
3136
+ margin-left: auto;
3137
+ margin-bottom: 0;
3138
+ }
3139
+
3140
+ .emement__item .pro__item {
3141
+ position: absolute;
3142
+ top: 5px;
3143
+ left: -16px;
3144
+ -webkit-transform: rotate(-45deg);
3145
+ transform: rotate(-45deg);
3146
+ font-size: 12px;
3147
+ font-weight: 400;
3148
+ color: #ffffff;
3149
+ background: #5B4E96;
3150
+ padding: 0 20px;
3151
+ text-transform: uppercase;
3152
+ display: none;
3153
+ }
3154
+
3155
+ @media (max-width: 767px) {
3156
+ .emement__item .pro__item {
3157
+ font-size: 9px;
3158
+ }
3159
+ }
3160
+
3161
+ .embedpress--elements__wrap h3 {
3162
+ font-size: 30px;
3163
+ font-weight: 700;
3164
+ color: #131F4D;
3165
+ margin-bottom: 25px;
3166
+ }
3167
+
3168
+ @media (max-width: 767px) {
3169
+ .embedpress--elements__wrap h3 {
3170
+ font-size: 24px;
3171
+ }
3172
+ }
3173
+
3174
+ @media (max-width: 575px) {
3175
+ .embedpress--elements__wrap h3 {
3176
+ font-size: 20px;
3177
+ }
3178
+ }
3179
+
3180
+ @media (max-width: 991px) {
3181
+ .embedpress--elements__wrap .embedpress__row.grid__4 {
3182
+ -ms-grid-columns: (1fr)[2];
3183
+ grid-template-columns: repeat(2, 1fr);
3184
+ }
3185
+ }
3186
+
3187
+ @media (max-width: 575px) {
3188
+ .embedpress--elements__wrap .embedpress__row.grid__4 {
3189
+ -ms-grid-columns: (1fr)[1];
3190
+ grid-template-columns: repeat(1, 1fr);
3191
+ }
3192
+ }
3193
+ .valid-license-icon{
3194
+ max-width: 100%;
3195
+ width: 1.5rem;
3196
+ }
3197
+
3198
+
3199
+
3200
+ .embedpress-toast__message {
3201
+ position: fixed;
3202
+ bottom: 50px;
3203
+ right: 50px;
3204
+ padding: 15px 25px;
3205
+ border-radius: 10px;
3206
+ max-width: 400px;
3207
+ z-index: 9999;
3208
+ display: flex;
3209
+ align-items: center;
3210
+ opacity: 0;
3211
+ visibility: hidden;
3212
+ transition: all .3s ease;
3213
+ }
3214
+ .embedpress-toast__message.show {
3215
+ opacity: 1;
3216
+ visibility: visible;
3217
+ }
3218
+
3219
+ .embedpress-toast__message.toast__message--error {
3220
+ background: #FE504F;
3221
+ }
3222
+
3223
+ .embedpress-toast__message.toast__message--success {
3224
+ background: #00CC76;
3225
+ }
3226
+
3227
+ .embedpress-toast__message img {
3228
+ height: 40px;
3229
+ margin-right: 20px;
3230
+ }
3231
+
3232
+ .embedpress-toast__message p {
3233
+ color: #ffffff;
3234
+ font-size: 14px;
3235
+ }
3236
+
3237
+ .template__wrapper .wp-color-result-text {
3238
+ padding: 0 5px;
3239
+ }
3240
+ @media all and (max-width: 1600px) {
3241
+ .embedpress-license__details .license__content .form__inline {
3242
+ display: block;
3243
+ }
3244
+ .embedpress-license__details .license__content .form__group {
3245
+ margin-bottom: 25px;
3246
+ margin-right: 0;
3247
+ }
3248
+ .embedpress-license__details .license__content .form__group .form__control {
3249
+ height: 50px;
3250
+ font-size: 14px;
3251
+ }
3252
+ .embedpress-license__details .license__content .form__group .input__icon {
3253
+ width: 18px;
3254
+ top: 16px;
3255
+ }
3256
+ }
3257
+
3258
+ .ep-coming-soon {
3259
+ color:#5b4e96;
3260
+ font-size: 12px;
3261
+ font-weight: 900;
3262
+ }
3263
+ .embedpress-card a{
3264
+ color:#5b4e96;
3265
+ }
3266
+ .proOverlay {
3267
+ opacity: .3;
3268
+ position: relative;
3269
+ }
3270
+ .proOverlay::after{
3271
+ position: absolute;
3272
+ top:0;
3273
+ left:0;
3274
+ bottom:0;
3275
+ content:'';
3276
+ width: 100%;
3277
+ height: 100%;
3278
+ display: block;
3279
+ }
EmbedPress/Ends/Back/Settings/assets/img/alert.svg ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
5
+ <g>
6
+ <g>
7
+ <path d="M256,0C114.497,0,0,114.507,0,256c0,141.503,114.507,256,256,256c141.503,0,256-114.507,256-256
8
+ C512,114.497,397.493,0,256,0z M256,472c-119.393,0-216-96.615-216-216c0-119.393,96.615-216,216-216
9
+ c119.393,0,216,96.615,216,216C472,375.393,375.385,472,256,472z" fill="#FCD903"/>
10
+ </g>
11
+ </g>
12
+ <g>
13
+ <g>
14
+ <path d="M256,128.877c-11.046,0-20,8.954-20,20V277.67c0,11.046,8.954,20,20,20s20-8.954,20-20V148.877
15
+ C276,137.831,267.046,128.877,256,128.877z" fill="#FCD903"/>
16
+ </g>
17
+ </g>
18
+ <g>
19
+ <g>
20
+ <circle cx="256" cy="349.16" r="27" fill="#FCD903"/>
21
+ </g>
22
+ </g>
23
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/brand.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg viewBox="0 -19 472.15569 472" xmlns="http://www.w3.org/2000/svg"><path d="m188.992188 182.480469c9.617187-.007813 18.300781-5.757813 22.0625-14.605469 3.765624-8.851562 1.882812-19.09375-4.78125-26.027344l-11.070313-11.496094c-1.472656-1.523437-3.484375-2.402343-5.601563-2.445312-2.113281-.011719-4.152343.785156-5.695312 2.230469l-23.105469 22.199219-23.046875 22.199218c-2.144531 1.964844-3.058594 4.933594-2.382812 7.757813.671875 2.828125 2.828125 5.066406 5.625 5.851562 2.796875.78125 5.800781-.011719 7.84375-2.078125l17.289062-16.648437 2.121094 2.199219-10.296875 29.054687c-.992187 2.703125-.457031 5.734375 1.402344 7.933594 1.863281 2.195312 4.761719 3.222656 7.59375 2.6875 2.828125-.535157 5.152343-2.550781 6.082031-5.277344l8.753906-24.71875c2.328125.757813 4.757813 1.160156 7.207032 1.183594zm.210937-35.296875 5.550781 5.761718c3.074219 3.191407 2.980469 8.269532-.207031 11.34375-3.191406 3.074219-8.269531 2.980469-11.34375-.207031l-5.546875-5.769531zm0 0" fill="#5B4E96"/><path d="m150.929688 142.113281c5.925781-.15625 11.582031-2.523437 15.855468-6.632812 9.546875-9.195313 9.835938-24.386719.640625-33.9375l-11.105469-11.527344c-3.066406-3.175781-8.121093-3.269531-11.304687-.207031l-46.09375 44.398437c-3.183594 3.066407-3.273437 8.132813-.207031 11.3125l11.09375 11.519531c4.398437 4.59375 10.445312 7.238282 16.800781 7.347657h.464844c12.578125.027343 23.011719-9.730469 23.824219-22.28125zm-.578126-35.199219 5.546876 5.757813c3.0625 3.183594 2.964843 8.25-.21875 11.3125-1.464844 1.566406-3.554688 2.390625-5.695313 2.242187-2.117187-.039062-4.132813-.917968-5.597656-2.449218l-5.546875-5.769532zm-17.71875 39.269532c-1.476562 1.546875-3.558593 2.367187-5.695312 2.242187-2.121094-.039062-4.136719-.925781-5.601562-2.457031l-5.542969-5.761719 11.519531-11.09375 5.542969 5.757813c3.042969 3.183594 2.941406 8.222656-.222657 11.28125zm0 0" fill="#5B4E96"/><path d="m250.679688 187.96875c-2.3125-2.402344-5.875-3.117188-8.933594-1.792969l-62.753906 27.113281c-4.019532 1.773438-5.855469 6.457032-4.113282 10.492188 1.742188 4.03125 6.410156 5.90625 10.457032 4.195312l10.601562-4.582031 17.28125 17.949219-4.96875 10.402344c-1.902344 3.984375-.210938 8.761718 3.773438 10.664062 1.074218.523438 2.25.796875 3.441406.796875 3.074218-.003906 5.875-1.773437 7.199218-4.550781l29.449219-61.6875c1.445313-3.003906.875-6.589844-1.433593-9zm-39.054688 28.648438 16.878906-7.296876-7.917968 16.601563zm0 0" fill="#5B4E96"/><path d="m311.730469 251.351562c-3.066407-3.183593-8.128907-3.277343-11.3125-.214843l-26.015625 25.046875 11.558594-46.152344c.863281-3.457031-.667969-7.070312-3.753907-8.855469-3.085937-1.785156-6.980469-1.316406-9.550781 1.152344l-46.09375 44.402344c-3.046875 3.085937-3.078125 8.042969-.066406 11.164062 3.007812 3.125 7.960937 3.28125 11.160156.355469l26.007812-25.050781-11.558593 46.152343c-.867188 3.460938.660156 7.078126 3.746093 8.867188 3.089844 1.789062 6.984376 1.316406 9.558594-1.152344l46.085938-44.402344c3.1875-3.058593 3.292968-8.125.234375-11.3125zm0 0" fill="#5B4E96"/><path d="m328.378906 268.640625c-1.46875-1.527344-3.484375-2.410156-5.601562-2.457031-2.105469.050781-4.121094.84375-5.695313 2.242187l-46.097656 44.398438c-3.175781 3.0625-3.273437 8.121093-.214844 11.304687l5.550781 5.769532c9.839844 10.617187 24.648438 15.089843 38.722657 11.695312 14.070312-3.394531 25.210937-14.125 29.128906-28.0625 3.914063-13.9375-.003906-28.902344-10.25-39.128906zm-6.609375 50.792969c-9.546875 9.195312-24.738281 8.914062-33.9375-.632813l34.570313-33.304687c9.195312 9.546875 8.914062 24.742187-.632813 33.9375zm0 0" fill="#5B4E96"/><path d="m431.3125 261.9375 8.96875-8.96875-11.3125-11.3125-8.96875 8.96875v-12.6875h-16v12.6875l-8.96875-8.96875-11.308594 11.3125 8.964844 8.96875h-12.6875v16h12.6875l-8.964844 8.976562 11.308594 11.3125 8.96875-8.976562v12.6875h16v-12.6875l8.96875 8.976562 11.3125-11.3125-8.96875-8.976562h12.6875v-16zm0 0" fill="#5B4E96"/><path d="m412 209.9375c-13.910156-.015625-27.390625 4.828125-38.109375 13.695312l-204.761719-212.582031c-1.632812-1.703125-3.933594-2.59375-6.289062-2.441406l-132.238282 8.535156-14.082031-14.617187c-3.066406-3.183594-8.132812-3.277344-11.3125-.210938-3.183593 3.066406-3.28125 8.132813-.214843 11.316406l13.921874 14.449219-18.8242182 125.863281c-.3710938 2.457032.4218752 4.945313 2.1445312 6.734376l260.847656 270.808593c3.0625 3.183594 8.128907 3.28125 11.3125.214844l111.789063-107.679687c22.257812 10.6875 48.785156 6.652343 66.855468-10.171876 18.066407-16.820312 23.992188-42.992187 14.921876-65.953124-9.066407-22.960938-31.273438-38.023438-55.960938-37.960938zm-379.078125-167.3125 11.925781 12.382812c-3.695312 7.355469-3.359375 16.089844.898438 23.136719 4.257812 7.042969 11.832031 11.40625 20.0625 11.550781h.457031c13.253906.125 24.097656-10.523437 24.21875-23.777343.121094-13.257813-10.523437-24.097657-23.777344-24.222657-3.566406-.074218-7.101562.679688-10.328125 2.203126l-11.242187-11.65625 115.03125-7.425782 2.984375 3.097656-138.289063 133.199219-8.367187-8.695312zm27.792969 17.3125c1.480468-1.441406 3.46875-2.246094 5.535156-2.242188h.160156c3.234375.066407 6.109375 2.070313 7.289063 5.082032 1.179687 3.011718.429687 6.4375-1.898438 8.679687-1.496093 1.515625-3.566406 2.328125-5.695312 2.230469-3.234375-.058594-6.113281-2.0625-7.296875-5.074219s-.433594-6.441406 1.898437-8.683593zm208.34375 354.6875-35.335938-36.6875h73.421875zm54.445312-52.441406v-.246094h-105.199218l-182.304688-189.304688 138.25-133.199218 188.800781 196c-17.753906 25.023437-13.648437 59.429687 9.496094 79.574218zm88.496094-48.246094c-24.300781 0-44-19.699219-44-44s19.699219-44 44-44 44 19.699219 44 44c-.023438 24.289062-19.710938 43.972656-44 44zm0 0" fill="#5B4E96"/></svg>
EmbedPress/Ends/Back/Settings/assets/img/check.svg ADDED
@@ -0,0 +1,44 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 18.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
4
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
+ viewBox="0 0 330 330" style="enable-background:new 0 0 330 330;" xml:space="preserve">
6
+ <g>
7
+ <path d="M165,0C74.019,0,0,74.019,0,165s74.019,165,165,165s165-74.019,165-165S255.981,0,165,0z M165,300
8
+ c-74.44,0-135-60.561-135-135S90.56,30,165,30s135,60.561,135,135S239.439,300,165,300z" fill="#fff"/>
9
+ <path d="M226.872,106.664l-84.854,84.853l-38.89-38.891c-5.857-5.857-15.355-5.858-21.213-0.001
10
+ c-5.858,5.858-5.858,15.355,0,21.213l49.496,49.498c2.813,2.813,6.628,4.394,10.606,4.394c0.001,0,0,0,0.001,0
11
+ c3.978,0,7.793-1.581,10.606-4.393l95.461-95.459c5.858-5.858,5.858-15.355,0-21.213
12
+ C242.227,100.807,232.73,100.806,226.872,106.664z" fill="#fff"/>
13
+ </g>
14
+ <g>
15
+ </g>
16
+ <g>
17
+ </g>
18
+ <g>
19
+ </g>
20
+ <g>
21
+ </g>
22
+ <g>
23
+ </g>
24
+ <g>
25
+ </g>
26
+ <g>
27
+ </g>
28
+ <g>
29
+ </g>
30
+ <g>
31
+ </g>
32
+ <g>
33
+ </g>
34
+ <g>
35
+ </g>
36
+ <g>
37
+ </g>
38
+ <g>
39
+ </g>
40
+ <g>
41
+ </g>
42
+ <g>
43
+ </g>
44
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/error.svg ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 511.995 511.995" style="enable-background:new 0 0 511.995 511.995;" xml:space="preserve">
5
+ <g>
6
+ <g>
7
+ <path d="M437.126,74.939c-99.826-99.826-262.307-99.826-362.133,0C26.637,123.314,0,187.617,0,256.005
8
+ s26.637,132.691,74.993,181.047c49.923,49.923,115.495,74.874,181.066,74.874s131.144-24.951,181.066-74.874
9
+ C536.951,337.226,536.951,174.784,437.126,74.939z M409.08,409.006c-84.375,84.375-221.667,84.375-306.042,0
10
+ c-40.858-40.858-63.37-95.204-63.37-153.001s22.512-112.143,63.37-153.021c84.375-84.375,221.667-84.355,306.042,0
11
+ C493.435,187.359,493.435,324.651,409.08,409.006z" fill="#fff"/>
12
+ </g>
13
+ </g>
14
+ <g>
15
+ <g>
16
+ <path d="M341.525,310.827l-56.151-56.071l56.151-56.071c7.735-7.735,7.735-20.29,0.02-28.046
17
+ c-7.755-7.775-20.31-7.755-28.065-0.02l-56.19,56.111l-56.19-56.111c-7.755-7.735-20.31-7.755-28.065,0.02
18
+ c-7.735,7.755-7.735,20.31,0.02,28.046l56.151,56.071l-56.151,56.071c-7.755,7.735-7.755,20.29-0.02,28.046
19
+ c3.868,3.887,8.965,5.811,14.043,5.811s10.155-1.944,14.023-5.792l56.19-56.111l56.19,56.111
20
+ c3.868,3.868,8.945,5.792,14.023,5.792c5.078,0,10.175-1.944,14.043-5.811C349.28,331.117,349.28,318.562,341.525,310.827z" fill="#fff"/>
21
+ </g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ <g>
38
+ </g>
39
+ <g>
40
+ </g>
41
+ <g>
42
+ </g>
43
+ <g>
44
+ </g>
45
+ <g>
46
+ </g>
47
+ <g>
48
+ </g>
49
+ <g>
50
+ </g>
51
+ <g>
52
+ </g>
53
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/logo.svg ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg id="EmbedPress" xmlns="http://www.w3.org/2000/svg" width="218.97" height="50.864" viewBox="0 0 218.97 50.864">
2
+ <path id="Path_1" data-name="Path 1" d="M0,0V9.811H2.84V2.84H9.788V0Z" fill="#9595c1"/>
3
+ <g id="Group_2" data-name="Group 2" transform="translate(0.075 6.39)">
4
+ <g id="Group_1" data-name="Group 1" transform="translate(70.34 9.594)">
5
+ <path id="Path_2" data-name="Path 2" d="M300,86.009V68.1h12.581v3.028h-9.06V75.4h8.872v3.028h-8.872v4.554h9.06v3.028Z" transform="translate(-300 -68.1)" fill="#25396f"/>
6
+ <path id="Path_3" data-name="Path 3" d="M382.577,101.391V93.223a2.025,2.025,0,0,0-2.183-2.3,3.719,3.719,0,0,0-2.911,1.62l-.023.047v8.825h-3.122V93.246a2.025,2.025,0,0,0-2.183-2.3,3.725,3.725,0,0,0-2.911,1.643l-.047.047v8.779h-3.1V88.529h3.1v2.159l.352-.516a5.557,5.557,0,0,1,4.178-1.972,3.328,3.328,0,0,1,3.5,2.277l.117.4.211-.352a5.4,5.4,0,0,1,4.389-2.324c2.418,0,3.709,1.314,3.709,3.8v9.389Z" transform="translate(-350.585 -83.482)" fill="#25396f"/>
7
+ <path id="Path_4" data-name="Path 4" d="M468.194,86.338a5.014,5.014,0,0,1-3.943-1.948l-.352-.446v2.066h-3.1V68.1h3.1v7.135l.352-.446a4.88,4.88,0,0,1,3.943-1.948c3.4,0,5.68,2.723,5.68,6.783S471.644,86.338,468.194,86.338Zm-1.1-10.821a4.1,4.1,0,0,0-3.169,1.62l-.023.047V82l.023.047a4.122,4.122,0,0,0,3.145,1.573c2.136,0,3.568-1.62,3.568-4.037C470.682,77.16,469.226,75.517,467.09,75.517Z" transform="translate(-423.057 -68.1)" fill="#25396f"/>
8
+ <path id="Path_5" data-name="Path 5" d="M532.677,101.643a6.772,6.772,0,0,1-.211-13.543c3.849,0,6.455,2.864,6.455,7.112v.563h-9.882l.023.211a3.771,3.771,0,0,0,4.014,3.239,5.917,5.917,0,0,0,3.5-1.221l1.314,1.925A7.907,7.907,0,0,1,532.677,101.643Zm-.211-11.149a3.378,3.378,0,0,0-3.474,3.1l-.023.211h6.971l-.023-.211A3.246,3.246,0,0,0,532.466,90.494Z" transform="translate(-472.8 -83.406)" fill="#25396f"/>
9
+ <path id="Path_6" data-name="Path 6" d="M596.18,86.338c-3.45,0-5.68-2.652-5.68-6.76,0-4.061,2.277-6.783,5.68-6.783a4.98,4.98,0,0,1,3.943,1.948l.352.446V68.1H603.6V86.033h-3.122V83.967l-.352.446A5.025,5.025,0,0,1,596.18,86.338Zm1.056-10.821c-2.089,0-3.544,1.667-3.544,4.061,0,2.371,1.455,4.037,3.544,4.037a3.988,3.988,0,0,0,3.192-1.6l.023-.047V77.16l-.023-.047A3.954,3.954,0,0,0,597.236,75.517Z" transform="translate(-522.314 -68.1)" fill="#25396f"/>
10
+ <path id="Path_7" data-name="Path 7" d="M659.6,86.009V68.1h8.38c4.108,0,5.962,2.864,5.962,5.7s-1.831,5.7-5.962,5.7h-4.859v6.5Zm3.521-9.553h4.342a2.674,2.674,0,0,0,2.887-2.676,2.636,2.636,0,0,0-2.887-2.676h-4.342Z" transform="translate(-575.195 -68.1)" fill="#25396f"/>
11
+ <path id="Path_8" data-name="Path 8" d="M730.6,101.391V88.529h3.1v2.183l.352-.446a5.6,5.6,0,0,1,3.873-2.066v2.981a6.846,6.846,0,0,0-.775-.047,4.611,4.611,0,0,0-3.427,1.6l-.024.047v8.614Z" transform="translate(-629.53 -83.482)" fill="#25396f"/>
12
+ <path id="Path_9" data-name="Path 9" d="M774.377,101.643a6.772,6.772,0,0,1-.211-13.543c3.849,0,6.455,2.864,6.455,7.112v.563h-9.882l.023.211a3.771,3.771,0,0,0,4.014,3.239,5.971,5.971,0,0,0,3.5-1.221l1.314,1.925A7.951,7.951,0,0,1,774.377,101.643Zm-.235-11.149a3.378,3.378,0,0,0-3.474,3.1l-.023.211h6.971l-.023-.211A3.232,3.232,0,0,0,774.143,90.494Z" transform="translate(-657.768 -83.406)" fill="#25396f"/>
13
+ <path id="Path_10" data-name="Path 10" d="M836.78,101.8a8.763,8.763,0,0,1-5.68-1.9l1.291-2.112a7.911,7.911,0,0,0,4.53,1.713c1.526,0,2.418-.61,2.418-1.62,0-1.033-1.314-1.291-2.864-1.6-2.23-.446-5.023-1.009-5.023-4.014,0-1.925,1.643-3.967,5.234-3.967a8.385,8.385,0,0,1,5.093,1.667l-1.174,2.019a5.9,5.9,0,0,0-3.9-1.408c-1.338,0-2.277.634-2.277,1.526,0,.915,1.174,1.15,2.676,1.455,2.3.469,5.187,1.056,5.187,4.225C842.32,100.2,840.137,101.8,836.78,101.8Z" transform="translate(-706.44 -83.559)" fill="#25396f"/>
14
+ <path id="Path_11" data-name="Path 11" d="M890.88,101.8a8.763,8.763,0,0,1-5.68-1.9l1.291-2.112a7.911,7.911,0,0,0,4.53,1.713c1.526,0,2.418-.61,2.418-1.62,0-1.033-1.314-1.291-2.864-1.6-2.23-.446-5.023-1.009-5.023-4.014,0-1.925,1.643-3.967,5.234-3.967a8.385,8.385,0,0,1,5.093,1.667l-1.174,2.019a5.9,5.9,0,0,0-3.9-1.408c-1.338,0-2.277.634-2.277,1.526,0,.915,1.174,1.15,2.676,1.455,2.3.469,5.187,1.056,5.187,4.225C896.42,100.2,894.237,101.8,890.88,101.8Z" transform="translate(-747.842 -83.559)" fill="#25396f"/>
15
+ </g>
16
+ <path id="Path_12" data-name="Path 12" d="M181.871,174.9v6.971H174.9v2.84h9.811V174.9Z" transform="translate(-133.923 -140.238)" fill="#9595c1"/>
17
+ <path id="Path_13" data-name="Path 13" d="M49.349,33.65a12.6,12.6,0,0,0-9.53-6.337,12.422,12.422,0,0,0-6.83,1.127c-.235.117-.493.235-.728.376A12.566,12.566,0,0,0,26.3,36.209h0L19.446,55.761A7.141,7.141,0,0,1,16.23,59.8c-.117.07-.258.141-.4.211a6.863,6.863,0,0,1-3.685.61,6.792,6.792,0,0,1-5.117-3.4A6.706,6.706,0,0,1,6.443,52.1a6.78,6.78,0,0,1,3.216-4.061c.141-.07.258-.141.4-.211a6.826,6.826,0,0,1,3.685-.61c.047,0,.094.023.141.023l-1.408,4.108a.532.532,0,0,0,.329.681L16.442,53.2a.507.507,0,0,0,.657-.329l3.145-8.943a.857.857,0,0,0-.047-.681.805.805,0,0,0-.54-.446l-3.31-.962a.834.834,0,0,0-.235-.047l-.305-.094v.023c-.469-.117-.939-.188-1.408-.258a12.539,12.539,0,0,0-6.854,1.127c-.258.117-.493.258-.728.376A12.559,12.559,0,0,0,.809,50.527a12.4,12.4,0,0,0,1.1,9.53,12.6,12.6,0,0,0,9.53,6.337,12.422,12.422,0,0,0,6.83-1.127c.235-.117.493-.235.728-.376a12.5,12.5,0,0,0,5.938-7.37h0l6.9-19.552V37.9a7.239,7.239,0,0,1,3.192-4.014c.117-.07.258-.141.4-.211a6.863,6.863,0,0,1,3.685-.61A6.729,6.729,0,0,1,41.6,45.645c-.141.07-.258.141-.4.211a6.91,6.91,0,0,1-3.709.61,6.669,6.669,0,0,1-1.15-.235H36.3L34.186,45.6a.422.422,0,0,0-.54.282L32,50.55a.448.448,0,0,0,.305.587l2.605.751a11.149,11.149,0,0,0,1.925.376,12.457,12.457,0,0,0,6.83-1.127h.023c.258-.117.493-.258.751-.376A12.64,12.64,0,0,0,49.349,33.65Z" transform="translate(-0.321 -27.225)" fill="#5b4e96"/>
18
+ </g>
19
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/settings-sub.svg ADDED
@@ -0,0 +1,43 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" x="0" y="0" viewBox="0 0 55.634 55.634" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g>
3
+ <g xmlns="http://www.w3.org/2000/svg">
4
+ <g>
5
+ <path d="M36.583,37.243c0.129-1.356,0.09-2.707-0.106-4.026l3.049-1.359c-0.288-1.477-0.741-2.934-1.369-4.344 c-0.628-1.409-1.408-2.72-2.312-3.923l-3.051,1.358c-0.849-1.027-1.827-1.959-2.921-2.771l1.196-3.116 c-1.249-0.84-2.599-1.55-4.04-2.103c-1.435-0.551-2.909-0.932-4.408-1.143l-1.197,3.119c-1.356-0.129-2.707-0.09-4.026,0.106 l-1.351-3.034c-3.018,0.593-5.838,1.873-8.259,3.702l1.342,3.014c-1.029,0.849-1.961,1.828-2.773,2.921l-3.108-1.192 c-0.848,1.246-1.559,2.597-2.113,4.037C0.587,29.929,0.211,31.407,0,32.896l3.116,1.196c-0.129,1.356-0.09,2.707,0.106,4.026 l-3.049,1.358c0.288,1.478,0.741,2.934,1.369,4.344c0.629,1.41,1.408,2.72,2.313,3.923l3.049-1.358 c0.849,1.028,1.827,1.96,2.922,2.772L8.63,52.275c1.249,0.841,2.599,1.55,4.04,2.103c1.435,0.551,2.909,0.932,4.408,1.143 l1.197-3.119c1.356,0.128,2.707,0.089,4.026-0.107l1.351,3.033c3.018-0.593,5.84-1.873,8.26-3.702l-1.343-3.014 c1.028-0.849,1.961-1.827,2.773-2.921l3.106,1.192c0.848-1.246,1.559-2.597,2.113-4.036c0.553-1.44,0.928-2.919,1.139-4.409 L36.583,37.243z M28.3,38.91c-1.791,4.668-7.026,6.998-11.695,5.207c-4.663-1.79-6.996-7.024-5.206-11.691 c1.791-4.667,7.026-6.997,11.692-5.208C27.758,29.008,30.09,34.244,28.3,38.91z" fill="#5b4e96" data-original="#000000" style="" class=""/>
6
+ </g>
7
+ </g>
8
+ <g xmlns="http://www.w3.org/2000/svg">
9
+ <g>
10
+ <path d="M53.465,12.395c0-0.604-0.062-1.195-0.168-1.769l2.337-1.35c-0.566-2.152-1.69-4.079-3.227-5.601l-2.343,1.353 c-0.894-0.766-1.93-1.366-3.063-1.766V0.559c-1.032-0.283-2.113-0.445-3.232-0.445c-1.119,0-2.199,0.164-3.232,0.445v2.704 c-1.133,0.4-2.168,1.001-3.063,1.766L35.13,3.676c-1.535,1.522-2.66,3.449-3.227,5.601l2.338,1.35 c-0.106,0.575-0.169,1.164-0.169,1.769s0.063,1.195,0.169,1.769l-2.338,1.35c0.567,2.152,1.692,4.08,3.227,5.601l2.343-1.353 c0.895,0.766,1.93,1.366,3.063,1.766v2.704c1.033,0.282,2.113,0.445,3.232,0.445s2.201-0.164,3.232-0.445v-2.704 c1.133-0.4,2.169-1.001,3.063-1.766l2.343,1.353c1.537-1.522,2.661-3.449,3.227-5.601l-2.337-1.35 C53.403,13.589,53.465,13,53.465,12.395z M43.77,16.921c-2.5,0-4.527-2.026-4.527-4.525S41.27,7.87,43.77,7.87 c2.497,0,4.524,2.026,4.524,4.525S46.267,16.921,43.77,16.921z" fill="#5b4e96" data-original="#000000" style="" class=""/>
11
+ </g>
12
+ </g>
13
+ <g xmlns="http://www.w3.org/2000/svg">
14
+ </g>
15
+ <g xmlns="http://www.w3.org/2000/svg">
16
+ </g>
17
+ <g xmlns="http://www.w3.org/2000/svg">
18
+ </g>
19
+ <g xmlns="http://www.w3.org/2000/svg">
20
+ </g>
21
+ <g xmlns="http://www.w3.org/2000/svg">
22
+ </g>
23
+ <g xmlns="http://www.w3.org/2000/svg">
24
+ </g>
25
+ <g xmlns="http://www.w3.org/2000/svg">
26
+ </g>
27
+ <g xmlns="http://www.w3.org/2000/svg">
28
+ </g>
29
+ <g xmlns="http://www.w3.org/2000/svg">
30
+ </g>
31
+ <g xmlns="http://www.w3.org/2000/svg">
32
+ </g>
33
+ <g xmlns="http://www.w3.org/2000/svg">
34
+ </g>
35
+ <g xmlns="http://www.w3.org/2000/svg">
36
+ </g>
37
+ <g xmlns="http://www.w3.org/2000/svg">
38
+ </g>
39
+ <g xmlns="http://www.w3.org/2000/svg">
40
+ </g>
41
+ <g xmlns="http://www.w3.org/2000/svg">
42
+ </g>
43
+ <script/></g></svg>
EmbedPress/Ends/Back/Settings/assets/img/settings.svg ADDED
@@ -0,0 +1,2 @@
 
 
1
+ <?xml version="1.0"?>
2
+ <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svgjs="http://svgjs.com/svgjs" version="1.1" x="0" y="0" viewBox="0 0 512 512" style="enable-background:new 0 0 512 512" xml:space="preserve" class=""><g><path xmlns="http://www.w3.org/2000/svg" d="m272.066 512h-32.133c-25.989 0-47.134-21.144-47.134-47.133v-10.871c-11.049-3.53-21.784-7.986-32.097-13.323l-7.704 7.704c-18.659 18.682-48.548 18.134-66.665-.007l-22.711-22.71c-18.149-18.129-18.671-48.008.006-66.665l7.698-7.698c-5.337-10.313-9.792-21.046-13.323-32.097h-10.87c-25.988 0-47.133-21.144-47.133-47.133v-32.134c0-25.989 21.145-47.133 47.134-47.133h10.87c3.531-11.05 7.986-21.784 13.323-32.097l-7.704-7.703c-18.666-18.646-18.151-48.528.006-66.665l22.713-22.712c18.159-18.184 48.041-18.638 66.664.006l7.697 7.697c10.313-5.336 21.048-9.792 32.097-13.323v-10.87c0-25.989 21.144-47.133 47.134-47.133h32.133c25.989 0 47.133 21.144 47.133 47.133v10.871c11.049 3.53 21.784 7.986 32.097 13.323l7.704-7.704c18.659-18.682 48.548-18.134 66.665.007l22.711 22.71c18.149 18.129 18.671 48.008-.006 66.665l-7.698 7.698c5.337 10.313 9.792 21.046 13.323 32.097h10.87c25.989 0 47.134 21.144 47.134 47.133v32.134c0 25.989-21.145 47.133-47.134 47.133h-10.87c-3.531 11.05-7.986 21.784-13.323 32.097l7.704 7.704c18.666 18.646 18.151 48.528-.006 66.665l-22.713 22.712c-18.159 18.184-48.041 18.638-66.664-.006l-7.697-7.697c-10.313 5.336-21.048 9.792-32.097 13.323v10.871c0 25.987-21.144 47.131-47.134 47.131zm-106.349-102.83c14.327 8.473 29.747 14.874 45.831 19.025 6.624 1.709 11.252 7.683 11.252 14.524v22.148c0 9.447 7.687 17.133 17.134 17.133h32.133c9.447 0 17.134-7.686 17.134-17.133v-22.148c0-6.841 4.628-12.815 11.252-14.524 16.084-4.151 31.504-10.552 45.831-19.025 5.895-3.486 13.4-2.538 18.243 2.305l15.688 15.689c6.764 6.772 17.626 6.615 24.224.007l22.727-22.726c6.582-6.574 6.802-17.438.006-24.225l-15.695-15.695c-4.842-4.842-5.79-12.348-2.305-18.242 8.473-14.326 14.873-29.746 19.024-45.831 1.71-6.624 7.684-11.251 14.524-11.251h22.147c9.447 0 17.134-7.686 17.134-17.133v-32.134c0-9.447-7.687-17.133-17.134-17.133h-22.147c-6.841 0-12.814-4.628-14.524-11.251-4.151-16.085-10.552-31.505-19.024-45.831-3.485-5.894-2.537-13.4 2.305-18.242l15.689-15.689c6.782-6.774 6.605-17.634.006-24.225l-22.725-22.725c-6.587-6.596-17.451-6.789-24.225-.006l-15.694 15.695c-4.842 4.843-12.35 5.791-18.243 2.305-14.327-8.473-29.747-14.874-45.831-19.025-6.624-1.709-11.252-7.683-11.252-14.524v-22.15c0-9.447-7.687-17.133-17.134-17.133h-32.133c-9.447 0-17.134 7.686-17.134 17.133v22.148c0 6.841-4.628 12.815-11.252 14.524-16.084 4.151-31.504 10.552-45.831 19.025-5.896 3.485-13.401 2.537-18.243-2.305l-15.688-15.689c-6.764-6.772-17.627-6.615-24.224-.007l-22.727 22.726c-6.582 6.574-6.802 17.437-.006 24.225l15.695 15.695c4.842 4.842 5.79 12.348 2.305 18.242-8.473 14.326-14.873 29.746-19.024 45.831-1.71 6.624-7.684 11.251-14.524 11.251h-22.148c-9.447.001-17.134 7.687-17.134 17.134v32.134c0 9.447 7.687 17.133 17.134 17.133h22.147c6.841 0 12.814 4.628 14.524 11.251 4.151 16.085 10.552 31.505 19.024 45.831 3.485 5.894 2.537 13.4-2.305 18.242l-15.689 15.689c-6.782 6.774-6.605 17.634-.006 24.225l22.725 22.725c6.587 6.596 17.451 6.789 24.225.006l15.694-15.695c3.568-3.567 10.991-6.594 18.244-2.304z" fill="#5b4e96" data-original="#000000" style="" class=""/><path xmlns="http://www.w3.org/2000/svg" d="m256 367.4c-61.427 0-111.4-49.974-111.4-111.4s49.973-111.4 111.4-111.4 111.4 49.974 111.4 111.4-49.973 111.4-111.4 111.4zm0-192.8c-44.885 0-81.4 36.516-81.4 81.4s36.516 81.4 81.4 81.4 81.4-36.516 81.4-81.4-36.515-81.4-81.4-81.4z" fill="#5b4e96" data-original="#000000" style="" class=""/><script/></g></svg>
EmbedPress/Ends/Back/Settings/assets/img/site-icon.svg ADDED
@@ -0,0 +1,7 @@
 
 
 
 
 
 
 
1
+ <svg id="EmbedPress" xmlns="http://www.w3.org/2000/svg" width="91.226" height="91.226" viewBox="0 0 91.226 91.226">
2
+ <g id="Group_2" data-name="Group 2" transform="translate(0 0)">
3
+ <path id="Path_12" data-name="Path 12" d="M187.4,174.9v12.5H174.9V192.5h17.6V174.9Z" transform="translate(-101.271 -101.271)" fill="#9595c1"/>
4
+ <path id="Path_13" data-name="Path 13" d="M88.255,38.749A22.6,22.6,0,0,0,71.163,27.383,22.279,22.279,0,0,0,58.912,29.4c-.421.21-.884.421-1.305.674A22.538,22.538,0,0,0,46.915,43.338h0L34.622,78.405a12.808,12.808,0,0,1-5.767,7.241c-.21.126-.463.253-.716.379A12.309,12.309,0,0,1,21.53,87.12a12.181,12.181,0,0,1-9.177-6.1A12.027,12.027,0,0,1,11.3,71.838a12.16,12.16,0,0,1,5.767-7.283c.253-.126.463-.253.716-.379a12.243,12.243,0,0,1,6.609-1.095c.084,0,.168.042.253.042l-2.526,7.367a.955.955,0,0,0,.589,1.221l6.525,2.1a.91.91,0,0,0,1.179-.589l5.641-16.039a1.536,1.536,0,0,0-.084-1.221,1.445,1.445,0,0,0-.968-.8l-5.936-1.726a1.5,1.5,0,0,0-.421-.084l-.547-.168v.042c-.842-.21-1.684-.337-2.526-.463a22.488,22.488,0,0,0-12.293,2.021c-.463.21-.884.463-1.305.674A22.524,22.524,0,0,0,1.2,69.017,22.242,22.242,0,0,0,3.175,86.109,22.6,22.6,0,0,0,20.267,97.476a22.279,22.279,0,0,0,12.25-2.021c.421-.21.884-.421,1.305-.674A22.417,22.417,0,0,0,44.473,81.563h0L56.85,46.5v-.126c1.389-3.536,3.157-5.767,5.725-7.2.21-.126.463-.253.716-.379A12.309,12.309,0,0,1,69.9,37.7a12.069,12.069,0,0,1,4.462,22.564c-.253.126-.463.253-.716.379A12.393,12.393,0,0,1,67,61.735a11.96,11.96,0,0,1-2.063-.421h-.084l-3.789-1.137a.756.756,0,0,0-.968.505L57.144,69.06a.8.8,0,0,0,.547,1.052l4.673,1.347a20,20,0,0,0,3.452.674,22.342,22.342,0,0,0,12.25-2.021h.042c.463-.21.884-.463,1.347-.674A22.671,22.671,0,0,0,88.255,38.749Z" transform="translate(-0.186 -15.764)" fill="#fff"/>
5
+ <path id="Path_1" data-name="Path 1" d="M0,0V17.6H5.094V5.094H17.555V0Z" fill="#9595c1"/>
6
+ </g>
7
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/twitch.svg ADDED
@@ -0,0 +1,41 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" encoding="iso-8859-1"?>
2
+ <!-- Generator: Adobe Illustrator 19.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0) -->
3
+ <svg version="1.1" id="Capa_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
4
+ viewBox="0 0 512 512" style="enable-background:new 0 0 512 512;" xml:space="preserve">
5
+ <g>
6
+ <path style="fill:#673AB7;" d="M48,0L16,96v352h128v64h64l64-64h96l128-136.32V0H48z M464,288l-89.6,96H260.928L192,434.144V384H80
7
+ V32h384V288z"/>
8
+ <rect x="240" y="128" style="fill:#673AB7;" width="32" height="128"/>
9
+ <rect x="336" y="128" style="fill:#673AB7;" width="32" height="128"/>
10
+ </g>
11
+ <g>
12
+ </g>
13
+ <g>
14
+ </g>
15
+ <g>
16
+ </g>
17
+ <g>
18
+ </g>
19
+ <g>
20
+ </g>
21
+ <g>
22
+ </g>
23
+ <g>
24
+ </g>
25
+ <g>
26
+ </g>
27
+ <g>
28
+ </g>
29
+ <g>
30
+ </g>
31
+ <g>
32
+ </g>
33
+ <g>
34
+ </g>
35
+ <g>
36
+ </g>
37
+ <g>
38
+ </g>
39
+ <g>
40
+ </g>
41
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/unlock-license.svg ADDED
@@ -0,0 +1,48 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <svg xmlns="http://www.w3.org/2000/svg" width="354.642" height="63.264" viewBox="0 0 354.642 63.264">
2
+ <g id="Group_1231" data-name="Group 1231" transform="translate(-390.983 -898.212)">
3
+ <g id="lock" transform="translate(390.983 898.212)">
4
+ <g id="Group_205" data-name="Group 205" transform="translate(0)">
5
+ <g id="Group_204" data-name="Group 204">
6
+ <path id="Path_83" data-name="Path 83" d="M117.779,29.769V17.922C117.779,8.041,110.246,0,100.988,0S84.2,8.041,84.2,17.922v11.85A6.283,6.283,0,0,0,80,35.68V56.668a6.3,6.3,0,0,0,6.3,6.3H115.68a6.3,6.3,0,0,0,6.3-6.3V35.68A6.288,6.288,0,0,0,117.779,29.769ZM88.4,17.922C88.4,10.353,94.043,4.2,100.988,4.2s12.593,6.156,12.593,13.724V29.383H88.4Zm29.383,38.746a2.1,2.1,0,0,1-2.1,2.1H86.3a2.1,2.1,0,0,1-2.1-2.1V35.68a2.1,2.1,0,0,1,2.1-2.1H115.68a2.1,2.1,0,0,1,2.1,2.1Z" transform="translate(-80)" fill="#f85656"/>
7
+ <path id="Path_84" data-name="Path 84" d="M212.158,304a4.144,4.144,0,0,0-2.079,7.737v4.736a2.079,2.079,0,0,0,4.158,0v-4.736A4.144,4.144,0,0,0,212.158,304Z" transform="translate(-191.17 -263.903)" fill="#f85656"/>
8
+ </g>
9
+ </g>
10
+ </g>
11
+ <g id="unlock" transform="translate(703.649 898.511)">
12
+ <g id="Group_207" data-name="Group 207" transform="translate(0)">
13
+ <g id="Group_206" data-name="Group 206">
14
+ <path id="Path_85" data-name="Path 85" d="M117.779,29.769V17.922C117.779,8.041,110.246,0,100.988,0S84.2,8.041,84.2,17.922a2.1,2.1,0,0,0,4.2,0C88.4,10.353,94.043,4.2,100.988,4.2s12.593,6.156,12.593,13.724V29.383H86.3a6.3,6.3,0,0,0-6.3,6.3V56.668a6.3,6.3,0,0,0,6.3,6.3H115.68a6.3,6.3,0,0,0,6.3-6.3V35.68A6.288,6.288,0,0,0,117.779,29.769Zm0,26.9a2.1,2.1,0,0,1-2.1,2.1H86.3a2.1,2.1,0,0,1-2.1-2.1V35.68a2.1,2.1,0,0,1,2.1-2.1H115.68a2.1,2.1,0,0,1,2.1,2.1Z" transform="translate(-80)" fill="#0ccfc2"/>
15
+ <path id="Path_86" data-name="Path 86" d="M212.2,304a4.184,4.184,0,0,0-2.1,7.812v4.781a2.1,2.1,0,0,0,4.2,0v-4.781A4.184,4.184,0,0,0,212.2,304Z" transform="translate(-191.21 -264.123)" fill="#0ccfc2"/>
16
+ </g>
17
+ </g>
18
+ </g>
19
+ <g id="key" transform="translate(536.822 898.212)">
20
+ <g id="Group_208" data-name="Group 208" transform="translate(0 0)">
21
+ <path id="Path_87" data-name="Path 87" d="M13.044,62.968H0V49.924S15.953,33.971,23.432,26.485a20.249,20.249,0,1,1,33.6,8.148,20.082,20.082,0,0,1-18.876,5.356c-.561-.131-1.119-.286-1.668-.464L31.2,44.816l-4.719.342-.342,4.719-3.988,3.988-4.719.342-.342,4.719ZM3.689,59.278h7.826l1.99-1.99.473-6.531,6.531-.473,2.044-2.045.473-6.531,6.531-.473,6-6,1.124.441a16.739,16.739,0,0,0,2.31.718,16.561,16.561,0,0,0,15.43-27.85A16.557,16.557,0,0,0,27.279,26.294l.438,1.122L3.689,51.452v7.826Z" transform="translate(0 -0.003)" fill="#5b4e96"/>
22
+ </g>
23
+ <g id="Group_209" data-name="Group 209" transform="translate(34.764 9.758)">
24
+ <path id="Path_88" data-name="Path 88" d="M291.9,97.791a9.219,9.219,0,1,1,6.522-2.7A9.195,9.195,0,0,1,291.9,97.791Zm0-14.751a5.531,5.531,0,1,0,3.913,1.618A5.516,5.516,0,0,0,291.9,83.041Z" transform="translate(-282.68 -79.353)" fill="#5b4e96"/>
25
+ </g>
26
+ </g>
27
+ <g id="right-arrow" transform="translate(464.662 923.398)" opacity="0.5">
28
+ <g id="Group_211" data-name="Group 211" transform="translate(0 0)">
29
+ <g id="Group_210" data-name="Group 210">
30
+ <path id="Path_89" data-name="Path 89" d="M123.033,76.862a.8.8,0,0,0-.1-.1L111.544,65.052a.914.914,0,0,0-1.3-.05.927.927,0,0,0-.294.666v6.161H95.2c-.551,0-1.163.123-1.163.616V82.3A1.413,1.413,0,0,0,95.2,83.534h14.751v5.545a.986.986,0,0,0,.551.862h.367a.977.977,0,0,0,.673-.308l11.385-11.644A.8.8,0,0,0,123.033,76.862Z" transform="translate(-82.759 -64.756)" fill="#7c8db5"/>
31
+ <path id="Path_90" data-name="Path 90" d="M63.634,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,63.634,122.122Z" transform="translate(-55.307 -115.458)" fill="#7c8db5"/>
32
+ <path id="Path_91" data-name="Path 91" d="M32.287,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,32.287,122.122Z" transform="translate(-27.587 -115.458)" fill="#7c8db5"/>
33
+ <path id="Path_92" data-name="Path 92" d="M.94,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,.94,122.122Z" transform="translate(0 -115.458)" fill="#7c8db5"/>
34
+ </g>
35
+ </g>
36
+ </g>
37
+ <g id="right-arrow-2" data-name="right-arrow" transform="translate(631.489 923.398)" opacity="0.5">
38
+ <g id="Group_211-2" data-name="Group 211" transform="translate(0 0)">
39
+ <g id="Group_210-2" data-name="Group 210">
40
+ <path id="Path_89-2" data-name="Path 89" d="M123.033,76.862a.8.8,0,0,0-.1-.1L111.544,65.052a.914.914,0,0,0-1.3-.05.927.927,0,0,0-.294.666v6.161H95.2c-.551,0-1.163.123-1.163.616V82.3A1.413,1.413,0,0,0,95.2,83.534h14.751v5.545a.986.986,0,0,0,.551.862h.367a.977.977,0,0,0,.673-.308l11.385-11.644A.8.8,0,0,0,123.033,76.862Z" transform="translate(-82.759 -64.756)" fill="#7c8db5"/>
41
+ <path id="Path_90-2" data-name="Path 90" d="M63.634,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,63.634,122.122Z" transform="translate(-55.307 -115.458)" fill="#7c8db5"/>
42
+ <path id="Path_91-2" data-name="Path 91" d="M32.287,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,32.287,122.122Z" transform="translate(-27.587 -115.458)" fill="#7c8db5"/>
43
+ <path id="Path_92-2" data-name="Path 92" d="M.94,122.122a.94.94,0,0,0-.94.94v10.027a.94.94,0,0,0,1.88,0V123.062A.94.94,0,0,0,.94,122.122Z" transform="translate(0 -115.458)" fill="#7c8db5"/>
44
+ </g>
45
+ </g>
46
+ </g>
47
+ </g>
48
+ </svg>
EmbedPress/Ends/Back/Settings/assets/img/vimeo.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg enable-background="new 0 0 24 24" viewBox="0 0 24 24" xmlns="http://www.w3.org/2000/svg"><path d="m20.497 1.505c-3.328-.121-5.576 1.787-6.762 5.694.61-.273 1.203-.395 1.777-.395 4.219 0-.971 8.155-2.263 8.155-1.522 0-2.437-7.284-2.747-9.273-.431-2.765-1.58-4.058-3.447-3.877-.789.075-1.975.799-3.554 2.181-1.15 1.055-2.316 2.105-3.501 3.16l1.129 1.472c1.075-.762 1.702-1.144 1.881-1.144 3.092 0 2.888 15.022 7.783 15.022 4.702 0 12.978-11.521 13.184-16.139l.013-.01c.134-3.165-1.021-4.785-3.493-4.846z" fill="#19b2e5"/></svg>
EmbedPress/Ends/Back/Settings/assets/img/wistia.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg viewBox="0.17 0.49 668.58 508.1" xmlns="http://www.w3.org/2000/svg"><path d="M633.56 106.09C647.33 23.45 600.67.49 600.67.49s2.3 67.34-121.63 81.88C368.88 95.38.93 85.43.93 85.43L119.5 221.64c32.13 36.73 48.96 41.32 84.92 43.61 35.95 2.3 115.51 1.54 169.82-2.29 58.9-4.59 143.05-23.72 199.66-68.1 28.3-22.96 53.54-54.33 59.66-88.77zm7.65 85.71s-14.53 29.84-88.73 76.52c-31.37 19.89-97.15 41.32-181.3 48.97-45.9 4.59-129.28.76-165.23.76-35.96 0-52.79 7.66-84.92 44.39L.17 497.11h72.67c31.36 0 227.2 11.48 313.64-12.24C668.75 406.82 641.21 191.8 641.21 191.8z" fill="#3ea9f5"/></svg>
EmbedPress/Ends/Back/Settings/assets/img/youtube.svg ADDED
@@ -0,0 +1 @@
 
1
+ <svg viewBox="0 -77 512.00213 512" xmlns="http://www.w3.org/2000/svg"><path d="m501.453125 56.09375c-5.902344-21.933594-23.195313-39.222656-45.125-45.128906-40.066406-10.964844-200.332031-10.964844-200.332031-10.964844s-160.261719 0-200.328125 10.546875c-21.507813 5.902344-39.222657 23.617187-45.125 45.546875-10.542969 40.0625-10.542969 123.148438-10.542969 123.148438s0 83.503906 10.542969 123.148437c5.90625 21.929687 23.195312 39.222656 45.128906 45.128906 40.484375 10.964844 200.328125 10.964844 200.328125 10.964844s160.261719 0 200.328125-10.546875c21.933594-5.902344 39.222656-23.195312 45.128906-45.125 10.542969-40.066406 10.542969-123.148438 10.542969-123.148438s.421875-83.507812-10.546875-123.570312zm0 0" fill="#f00"/><path d="m204.96875 256 133.269531-76.757812-133.269531-76.757813zm0 0" fill="#fff"/></svg>
EmbedPress/Ends/Back/Settings/assets/js/settings.js ADDED
@@ -0,0 +1,215 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ function embedPressRemoveURLParameter(url, parameter) {
2
+ //prefer to use l.search if you have a location/link object
3
+ let urlparts = url.split('?');
4
+ if (urlparts.length >= 2) {
5
+
6
+ let prefix = encodeURIComponent(parameter) + '=';
7
+ let pars = urlparts[1].split(/[&;]/g);
8
+
9
+ //reverse iteration as may be destructive
10
+ for (var i = pars.length; i-- > 0;) {
11
+ //idiom for string.startsWith
12
+ if (pars[i].lastIndexOf(prefix, 0) !== -1) {
13
+ pars.splice(i, 1);
14
+ }
15
+ }
16
+
17
+ return urlparts[0] + (pars.length > 0 ? '?' + pars.join('&') : '');
18
+ }
19
+ return url;
20
+ }
21
+ jQuery(document).ready( function($){
22
+
23
+ // Sidebar Menu Toggle
24
+ $('.sidebar__dropdown .sidebar__link--toggler').on('click', function(e) {
25
+ e.preventDefault();
26
+ let $this = $(this);
27
+ let $sidebarItem = $('.sidebar__item');
28
+ $sidebarItem.removeClass('show');
29
+ $this.parent().addClass('show');
30
+ if($this.siblings('.dropdown__menu').hasClass('show')){
31
+ $this.siblings('.dropdown__menu').removeClass('show');
32
+ $this.siblings('.dropdown__menu').slideUp();
33
+ $sidebarItem.removeClass('show');
34
+ }else{
35
+ $('.dropdown__menu.show').slideUp().removeClass('show');
36
+ $this.siblings('.dropdown__menu').addClass('show');
37
+ // $('.sidebar__menu .dropdown__menu.show').slideUp();
38
+ $this.siblings('.dropdown__menu').slideDown();
39
+ }
40
+ })
41
+
42
+ // Sidebar Toggle
43
+ $('.sidebar__toggler').on('click', function(e) {
44
+ e.preventDefault();
45
+ $(this).siblings('.sidebar__menu').slideToggle();
46
+ })
47
+
48
+ // Logo Remove
49
+ $('#yt_preview__remove').on('click', function(e) {
50
+ e.preventDefault();
51
+ $('.preview__logo__input').val('');
52
+ $('#yt_logo_url').val('');
53
+ $('#yt_logo_id').val('');
54
+ $("#yt_logo_preview").attr('src', '');
55
+ $('.preview__box img').attr('src', '');
56
+ $("#yt_logo__upload__preview").hide();
57
+ $("#yt_logo_upload_wrap").show();
58
+ })
59
+
60
+ // Logo Controller
61
+ let rangeSlider = function(){
62
+ let slider = $('.logo__adjust__controller__inputs'),
63
+ previewImg = $('.preview__logo'),
64
+ opRange = $('.opacity__range'),
65
+ xRange = $('.x__range'),
66
+ yRange = $('.y__range'),
67
+ value = $('.range__value');
68
+
69
+ slider.each(function(){
70
+
71
+ value.each(function(){
72
+ var value = $(this).prev().attr('value');
73
+ $(this).html(value);
74
+ });
75
+
76
+ opRange.on('input', function(){
77
+ $(this).next(value).val(this.value);
78
+ console.log(this.value / 100);
79
+ previewImg.css('opacity', this.value / 100);
80
+ });
81
+ xRange.on('input', function(){
82
+ $(this).next(value).val(this.value);
83
+ previewImg.css('right', this.value + "%");
84
+ });
85
+ yRange.on('input', function(){
86
+ $(this).next(value).val(this.value);
87
+ previewImg.css('bottom', this.value + "%");
88
+ });
89
+ });
90
+ };
91
+
92
+ rangeSlider();
93
+
94
+ $('.template__wrapper .input__switch input').on('click', function() {
95
+ $(this).parents('.form__control__wrap').children('.logo__adjust__wrap').slideToggle();
96
+ })
97
+
98
+ let proFeatureAlert = function() {
99
+
100
+ $(document).on('click', '.isPro', function () {
101
+ $(this).siblings('.pro__alert__wrap').fadeIn();
102
+ });
103
+
104
+ $(document).on('click', '.pro__alert__card .button', function (e) {
105
+ e.preventDefault();
106
+ $(this).parents('.pro__alert__wrap').fadeOut();
107
+ });
108
+ }
109
+
110
+ proFeatureAlert();
111
+
112
+ // custom logo upload for youtube
113
+ $(document).on('click', '#yt_logo_upload_wrap', function(e){
114
+ e.preventDefault();
115
+ let curElement = $('.preview__logo');
116
+ let $yt_logo_upload_wrap = $("#yt_logo_upload_wrap");
117
+ let $yt_logo__upload__preview = $("#yt_logo__upload__preview");
118
+ let $yt_logo_preview = $("#yt_logo_preview");
119
+ let $yt_logo_url = $('#yt_logo_url');
120
+ let $yt_logo_id = $('#yt_logo_id');
121
+ let button = $(this),
122
+ yt_logo_uploader = wp.media({
123
+ title: 'Custom Logo',
124
+ library : {
125
+ uploadedTo : wp.media.view.settings.post.id,
126
+ type : 'image'
127
+ },
128
+ button: {
129
+ text: 'Use this image'
130
+ },
131
+ multiple: false
132
+ }).on('select', function() {
133
+ let attachment = yt_logo_uploader.state().get('selection').first().toJSON();
134
+ if (attachment && attachment.id && attachment.url){
135
+ $yt_logo_upload_wrap.hide();
136
+ $yt_logo_url.val(attachment.url);
137
+ $yt_logo_id.val(attachment.id);
138
+ $yt_logo_preview.attr('src', attachment.url);
139
+ $yt_logo__upload__preview.show();
140
+ curElement.attr('src', attachment.url);
141
+ }else{
142
+ console.log('something went wrong using selected image');
143
+ }
144
+ }).open();
145
+ });
146
+
147
+
148
+ // Elements
149
+ $(document).on('change', '.element-check', function (e) {
150
+ let $input = $(this);
151
+ $.ajax({
152
+ url: ajaxurl,
153
+ type: 'post',
154
+ data: {
155
+ action: 'embedpress_elements_action',
156
+ _wpnonce: embedpressObj.nonce,
157
+ element_type: $input.data('type'),
158
+ element_name: $input.data('name'),
159
+ checked: $input.is(":checked"),
160
+ },
161
+ success: function(response) {
162
+ if (response && response.success){
163
+ showSuccessMessage();
164
+ }else{
165
+ showErrorMessage();
166
+ }
167
+ },
168
+ error: function(error) {
169
+ showErrorMessage();
170
+ },
171
+ });
172
+ });
173
+ /**
174
+ * It shows success message in a toast alert
175
+ * */
176
+ function showSuccessMessage() {
177
+ let $success_message_node = $('.toast__message--success');
178
+ $success_message_node.addClass('show');
179
+ setTimeout(function (){
180
+ $success_message_node.removeClass('show');
181
+ }, 3000);
182
+ }
183
+ /**
184
+ * It shows error message in a toast alert
185
+ * */
186
+ function showErrorMessage(){
187
+ let $error_message_node = $('.toast__message--error');
188
+ $error_message_node.addClass('show');
189
+ setTimeout(function (){
190
+ $error_message_node.removeClass('show');
191
+ }, 3000);
192
+ }
193
+
194
+ $('.ep-color-picker').wpColorPicker();
195
+
196
+
197
+ // license
198
+ $(document).on('click', '.embedpress-license-deactivation-btn', function (e) {
199
+ let $this = $(this);
200
+ setTimeout(function (){
201
+ $this.attr('disabled', 'disabled');
202
+ }, 2000);
203
+ $this.html('Deactivating.....');
204
+ });
205
+ $(document).on('click', '.embedpress-license-activation-btn', function (e) {
206
+ let $this = $(this);
207
+ let val = $('#embedpress-pro-license-key').val();
208
+ if (val){
209
+ setTimeout(function (){
210
+ $this.attr('disabled', 'disabled');
211
+ }, 2000);
212
+ $this.html('Activating.....');
213
+ }
214
+ });
215
+ });
EmbedPress/Ends/Back/Settings/templates/custom-logo.php ADDED
@@ -0,0 +1,150 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Custom Logo Settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ *
6
+ * */
7
+
8
+ $option_name = EMBEDPRESS_PLG_NAME.':youtube';
9
+ $yt_settings = get_option( $option_name);
10
+ $gen_settings = get_option( EMBEDPRESS_PLG_NAME);
11
+ $yt_logo_xpos = isset( $yt_settings['logo_xpos']) ? intval( $yt_settings['logo_xpos']) : 10;
12
+ $yt_logo_ypos = isset( $yt_settings['logo_ypos']) ? intval( $yt_settings['logo_ypos']) : 10;
13
+ $yt_logo_opacity = isset( $yt_settings['logo_opacity']) ? intval( $yt_settings['logo_opacity']) : 50;
14
+ $yt_logo_id = isset( $yt_settings['logo_id']) ? intval( $yt_settings['logo_id']) : 0;
15
+ $yt_logo_url = isset( $yt_settings['logo_url']) ? esc_url( $yt_settings['logo_url']) : '';
16
+ $yt_cta_url = isset( $yt_settings['cta_url']) ? esc_url( $yt_settings['cta_url']) : '';
17
+ $yt_branding = isset( $yt_settings['branding']) ? sanitize_text_field( $yt_settings['branding']) : (!empty( $yt_logo_url) ? 'yes': '');
18
+
19
+
20
+ $embedpress_document_powered_by = isset( $gen_settings['embedpress_document_powered_by']) ? sanitize_text_field( $gen_settings['embedpress_document_powered_by']) : 'yes';
21
+ ?>
22
+
23
+ <div class="embedpress__settings background__white radius-25 p40">
24
+ <h3><?php esc_html_e( "Global Branding Settings", "embedpress" ); ?></h3>
25
+ <div class="embedpress__settings__form">
26
+ <form action="" method="post" enctype="multipart/form-data">
27
+ <?php
28
+ do_action( 'embedpress_before_custom_branding_settings_fields');
29
+ echo $nonce_field ; ?>
30
+ <div class="form__group">
31
+ <p class="form__label">Powered by EmbedPress</p>
32
+ <div class="form__control__wrap">
33
+ <label class="input__switch switch__text">
34
+ <input type="checkbox" value="yes" name="embedpress_document_powered_by" <?php checked( 'yes', $embedpress_document_powered_by );?>>
35
+ <span></span>
36
+ </label>
37
+ </div>
38
+ </div>
39
+ <h3><?php esc_html_e( "Custom Logo", "embedpress" ); ?></h3>
40
+ <div class="form__group">
41
+ <p class="form__label"><?php esc_html_e( "YouTube Custom Branding", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">Pro</span>'; ?></p>
42
+ <div class="form__control__wrap">
43
+ <label class="input__switch switch__text <?php echo $pro_active ? '': 'isPro'; ?>">
44
+ <input type="checkbox" name="yt_branding" value="yes" <?php checked( 'yes', $yt_branding);?> <?php echo $pro_active ? '': ' disabled'; ?>>
45
+ <span></span>
46
+ </label>
47
+
48
+ <div class="logo__adjust__wrap <?php echo $pro_active ? '': 'proOverlay'; ?>" style="<?php if ( ('yes' !== $yt_branding) || !$pro_active ) { echo 'display:none;'; } ?>">
49
+ <label class="logo__upload" id="yt_logo_upload_wrap" style="<?php if (!empty( $yt_logo_url)) { echo 'display:none;'; } ?>">
50
+ <input type="hidden" class="preview__logo__input" name="yt_logo_url" id="yt_logo_url" value="<?php echo $yt_logo_url; ?>">
51
+ <input type="hidden" class="preview__logo__input_id" name="yt_logo_id" id="yt_logo_id" value="<?php echo $yt_logo_id; ?>">
52
+ <span class="icon"><i class="ep-icon ep-upload"></i></span>
53
+ <span class="text"><?php esc_html_e( "Click To Upload", "embedpress" ); ?></span>
54
+ </label>
55
+ <div class="logo__upload__preview" id="yt_logo__upload__preview" style="<?php if ( empty( $yt_logo_url) ) { echo 'display:none'; } ?> ">
56
+ <div class="instant__preview">
57
+ <a href="#" id="yt_preview__remove" class="preview__remove"><i class="ep-icon ep-cross"></i></a>
58
+ <img id="yt_logo_preview" src="<?php echo $yt_logo_url; ?>" alt="">
59
+ </div>
60
+ </div>
61
+
62
+ <div class="logo__adjust">
63
+ <div class="logo__adjust__controller">
64
+ <div class="logo__adjust__controller__item">
65
+ <span class="controller__label">Logo Opacity (%)</span>
66
+ <div class="logo__adjust__controller__inputs">
67
+ <input type="range" max="100" value="<?php echo $yt_logo_opacity; ?>" class="opacity__range" name="yt_logo_opacity">
68
+ <input readonly type="number" class="form__control range__value" value="<?php echo $yt_logo_opacity; ?>">
69
+ </div>
70
+ </div>
71
+ <div class="logo__adjust__controller__item">
72
+ <span class="controller__label">Logo X Position (%)</span>
73
+ <div class="logo__adjust__controller__inputs">
74
+ <input type="range" max="100" value="<?php echo $yt_logo_xpos; ?>" class="x__range" name="yt_logo_xpos">
75
+ <input readonly type="number" class="form__control range__value" value="<?php echo $yt_logo_xpos; ?>">
76
+ </div>
77
+ </div>
78
+ <div class="logo__adjust__controller__item">
79
+ <span class="controller__label">Logo Y Position (%)</span>
80
+ <div class="logo__adjust__controller__inputs">
81
+ <input type="range" max="100" value="<?php echo esc_attr( $yt_logo_ypos ); ?>" class="y__range" name="yt_logo_ypos" >
82
+ <input readonly type="number" class="form__control range__value" value="<?php echo esc_attr( $yt_logo_ypos ); ?>">
83
+ </div>
84
+ </div>
85
+ <div class="logo__adjust__controller__item">
86
+ <label class="controller__label" for="yt_cta_url" ><?php esc_html_e( "Call to Action Link", "embedpress" );?> </label>
87
+ <div>
88
+ <input type="url" name="yt_cta_url" id="yt_cta_url" class="form__control" value="<?php echo esc_attr( $yt_cta_url); ?>">
89
+
90
+ <p><?php esc_html_e( "You may link the logo to any CTA link.", "embedpress" ); ?></p>
91
+ </div>
92
+ </div>
93
+ </div>
94
+ <div class="logo__adjust__preview">
95
+ <span class="title"><?php esc_html_e( "Live Preview", "embedpress" ); ?></span>
96
+ <div class="preview__box">
97
+ <iframe src="https://www.youtube.com/embed/2u0HRUdLHxo" frameborder="0"></iframe>
98
+ <img src="<?php echo $yt_logo_url; ?>" class="preview__logo" style="bottom:<?php echo esc_attr( $yt_logo_ypos); ?>%; right:<?php echo esc_attr( $yt_logo_xpos); ?>%; opacity:<?php echo ($yt_logo_opacity/100); ?>;" alt="">
99
+ </div>
100
+ </div>
101
+ </div>
102
+ </div>
103
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
104
+ </div>
105
+ </div>
106
+ <div class="form__group">
107
+ <p class="form__label"><?php
108
+ printf( esc_html__( 'Vimeo Custom Branding %s', 'embedpress'), $coming_soon);
109
+ echo $pro_active ? '': ' <span class="isPro">Pro</span>'; ?>
110
+ </p>
111
+ <div class="form__control__wrap">
112
+ <label class="input__switch switch__text isPro">
113
+ <input type="checkbox" disabled>
114
+ <span></span>
115
+ </label>
116
+ <?php include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-coming-soon.php'; ?>
117
+ </div>
118
+ </div>
119
+ <div class="form__group">
120
+ <p class="form__label"><?php
121
+ printf( esc_html__( 'Wistia Custom Branding %s', 'embedpress'), $coming_soon);
122
+ echo $pro_active ? '': ' <span class="isPro">Pro</span>';
123
+ ?></p>
124
+ <div class="form__control__wrap">
125
+ <label class="input__switch switch__text isPro">
126
+ <input type="checkbox" disabled>
127
+ <span></span>
128
+ </label>
129
+ <?php include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-coming-soon.php'; ?>
130
+
131
+ </div>
132
+ </div>
133
+ <div class="form__group">
134
+ <p class="form__label"><?php
135
+ printf( esc_html__( 'Twitch Custom Branding %s', 'embedpress'), $coming_soon);
136
+ echo $pro_active ? '': ' <span class="isPro">Pro</span>'; ?></p>
137
+ <div class="form__control__wrap">
138
+ <label class="input__switch switch__text isPro">
139
+ <input type="checkbox" disabled>
140
+ <span></span>
141
+ </label>
142
+ <?php include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-coming-soon.php'; ?>
143
+
144
+ </div>
145
+ </div>
146
+ <?php do_action( 'embedpress_after_custom_branding_settings_fields'); ?>
147
+ <button class="button button__themeColor radius-10" name="submit" value="custom_logo"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
148
+ </form>
149
+ </div>
150
+ </div>
EmbedPress/Ends/Back/Settings/templates/elements.php ADDED
@@ -0,0 +1,208 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * YouTube Settings page */
4
+ //rest option name: embedpress_elements_updated
5
+ $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
6
+ $g_blocks = isset( $elements['gutenberg']) ? (array) $elements['gutenberg'] : [];
7
+ $e_blocks = isset( $elements['elementor']) ? (array) $elements['elementor'] : [];
8
+ $settings = get_option( EMBEDPRESS_PLG_NAME, []);
9
+ $enablePluginInAdmin = isset( $settings['enablePluginInAdmin'] ) ? $settings['enablePluginInAdmin'] : 1;
10
+ $enablePluginInFront = isset( $settings['enablePluginInFront'] ) ? $settings['enablePluginInFront'] : 1;
11
+ ?>
12
+
13
+ <div class="background__white p40 radius-25 mb30">
14
+ <div class="embedpress--elements__wrap">
15
+ <h3>Gutenberg</h3>
16
+ <div class="embedpress__row grid__3">
17
+ <div class="emement__item">
18
+ <h5>EmbedPress</h5>
19
+ <a href="https://embedpress.com/documentation/" class="has__question" target="_blank">
20
+ <i class="ep-icon ep-question"></i>
21
+ <span class="element__tooltip"><?php esc_html_e( "It supports 100+ providers. Click to read the docs", "embedpress" ); ?></span>
22
+ </a>
23
+ <label class="input__switch element_switch">
24
+ <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="gutenberg" <?php echo isset( $g_blocks['embedpress']) ? 'checked': ''; ?> >
25
+ <span></span>
26
+ </label>
27
+ </div>
28
+ <div class="emement__item">
29
+ <h5>Document</h5>
30
+ <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
31
+ <i class="ep-icon ep-question"></i>
32
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
33
+ </a>
34
+ <label class="input__switch element_switch">
35
+ <input class="element-check" type="checkbox" value="yes" data-name="document" data-type="gutenberg" <?php echo isset( $g_blocks['document']) ? 'checked': ''; ?> >
36
+ <span></span>
37
+ </label>
38
+ </div>
39
+ <div class="emement__item">
40
+ <h5>YouTube</h5>
41
+ <a href="https://embedpress.com/docs/embed-youtube-videos-in-gutenberg/" class="has__question" target="_blank">
42
+ <i class="ep-icon ep-question"></i>
43
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
44
+ </a>
45
+ <label class="input__switch element_switch">
46
+ <input class="element-check" type="checkbox" value="yes" data-name="youtube-block" data-type="gutenberg" <?php echo isset( $g_blocks['youtube-block']) ? 'checked': ''; ?> >
47
+ <span></span>
48
+ </label>
49
+ </div>
50
+ <div class="emement__item">
51
+ <h5>Google Docs</h5>
52
+ <a href="https://embedpress.com/docs/embed-google-docs-wordpress/" class="has__question" target="_blank">
53
+ <i class="ep-icon ep-question"></i>
54
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
55
+ </a>
56
+ <label class="input__switch element_switch">
57
+ <input class="element-check" type="checkbox" value="yes" data-name="google-docs-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-docs-block']) ? 'checked': ''; ?> >
58
+ <span></span>
59
+ </label>
60
+ </div>
61
+ <div class="emement__item">
62
+ <h5>Google Slides</h5>
63
+ <a href="https://embedpress.com/docs/embed-google-slides-wordpress/" class="has__question" target="_blank">
64
+ <i class="ep-icon ep-question"></i>
65
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
66
+ </a>
67
+ <label class="input__switch element_switch">
68
+ <input class="element-check" type="checkbox" value="yes" data-name="google-slides-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-slides-block']) ? 'checked': ''; ?> >
69
+ <span></span>
70
+ </label>
71
+ </div>
72
+ <div class="emement__item">
73
+ <h5>Google Sheets</h5>
74
+ <a href="https://embedpress.com/docs/embed-google-sheets-wordpress/" class="has__question" target="_blank">
75
+ <i class="ep-icon ep-question"></i>
76
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
77
+ </a>
78
+ <label class="input__switch element_switch">
79
+ <input class="element-check" type="checkbox" value="yes" data-name="google-sheets-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-sheets-block']) ? 'checked': ''; ?> >
80
+ <span></span>
81
+ </label>
82
+ </div>
83
+ <div class="emement__item">
84
+ <h5>Google Forms</h5>
85
+ <a href="https://embedpress.com/docs/embed-google-forms-wordpress/" class="has__question" target="_blank">
86
+ <i class="ep-icon ep-question"></i>
87
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
88
+ </a>
89
+ <label class="input__switch element_switch">
90
+ <input class="element-check" type="checkbox" value="yes" data-name="google-forms-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-forms-block']) ? 'checked': ''; ?> >
91
+ <span></span>
92
+ </label>
93
+ </div>
94
+ <div class="emement__item">
95
+ <h5>Google Drawings</h5>
96
+ <a href="https://embedpress.com/docs/embed-google-drawings-wordpress/" class="has__question" target="_blank">
97
+ <i class="ep-icon ep-question"></i>
98
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
99
+ </a>
100
+ <label class="input__switch element_switch">
101
+ <input class="element-check" type="checkbox" value="yes" data-name="google-drawings-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-drawings-block']) ? 'checked': ''; ?> >
102
+ <span></span>
103
+ </label>
104
+ </div>
105
+ <div class="emement__item">
106
+ <h5>Google Maps</h5>
107
+ <a href="https://embedpress.com/docs/embed-google-maps-wordpress/" class="has__question" target="_blank">
108
+ <i class="ep-icon ep-question"></i>
109
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
110
+ </a>
111
+ <label class="input__switch element_switch">
112
+ <input class="element-check" type="checkbox" value="yes" data-name="google-maps-block" data-type="gutenberg" <?php echo isset( $g_blocks['google-maps-block']) ? 'checked': ''; ?> >
113
+ <span></span>
114
+ </label>
115
+ </div>
116
+ <div class="emement__item">
117
+ <h5>Twitch</h5>
118
+ <a href="https://embedpress.com/docs/embed-twitch-live-chat/" class="has__question" target="_blank">
119
+ <i class="ep-icon ep-question"></i>
120
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
121
+ </a>
122
+ <label class="input__switch element_switch">
123
+ <input class="element-check" type="checkbox" value="yes" data-name="twitch-block" data-type="gutenberg" <?php echo isset( $g_blocks['twitch-block']) ? 'checked': ''; ?> >
124
+ <span></span>
125
+ </label>
126
+ </div>
127
+ <div class="emement__item">
128
+ <h5>Wistia</h5>
129
+ <a href="https://embedpress.com/docs/embed-wistia-videos-wordpress/" class="has__question" target="_blank">
130
+ <i class="ep-icon ep-question"></i>
131
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
132
+ </a>
133
+ <label class="input__switch element_switch">
134
+ <input class="element-check" type="checkbox" value="yes" data-name="wistia-block" data-type="gutenberg" <?php echo isset( $g_blocks['wistia-block']) ? 'checked': ''; ?> >
135
+ <span></span>
136
+ </label>
137
+ </div>
138
+ <div class="emement__item">
139
+ <h5>Vimeo</h5>
140
+ <a href="https://embedpress.com/docs/embed-vimeo-videos-wordpress/" class="has__question" target="_blank">
141
+ <i class="ep-icon ep-question"></i>
142
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
143
+ </a>
144
+ <label class="input__switch element_switch">
145
+ <input class="element-check" type="checkbox" value="yes" data-name="vimeo-block" data-type="gutenberg" <?php echo isset( $g_blocks['vimeo-block']) ? 'checked': ''; ?> >
146
+ <span></span>
147
+ </label>
148
+ </div>
149
+ </div>
150
+ </div>
151
+ </div>
152
+ <!--ELEMENTOR WIDGETS STARTS -->
153
+ <div class="background__white p40 radius-25 mb30">
154
+ <div class="embedpress--elements__wrap">
155
+ <h3>Elementor</h3>
156
+ <div class="embedpress__row grid__3">
157
+ <div class="emement__item">
158
+ <h5>EmbedPress</h5>
159
+ <a href="https://embedpress.com/docs/embedpress-with-elementor/" class="has__question" target="_blank">
160
+ <i class="ep-icon ep-question"></i>
161
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
162
+ </a>
163
+ <label class="input__switch element_switch">
164
+ <input class="element-check" type="checkbox" value="yes" data-name="embedpress" data-type="elementor" <?php echo isset( $e_blocks['embedpress']) ? 'checked': ''; ?> >
165
+ <span></span>
166
+ </label>
167
+
168
+ </div>
169
+ <div class="emement__item">
170
+ <h5>EmbedPress Document</h5>
171
+ <a href="https://embedpress.com/docs/embed-document/" class="has__question" target="_blank">
172
+ <i class="ep-icon ep-question"></i>
173
+ <span class="element__tooltip"><?php esc_html_e( "Documentation","embedpress" ); ?></span>
174
+ </a>
175
+ <label class="input__switch element_switch">
176
+ <input class="element-check" type="checkbox" value="yes" data-name="embedpress-document" data-type="elementor" <?php echo isset( $e_blocks['embedpress-document']) ? 'checked': ''; ?> >
177
+ <span></span>
178
+ </label>
179
+
180
+ </div>
181
+ </div>
182
+ </div>
183
+ </div>
184
+ <!--CLASSIC EDITOR SETTINGS STARTS-->
185
+ <div class="background__white radius-25 p40">
186
+ <div class="embedpress--elements__wrap">
187
+ <h3>Classic Editor</h3>
188
+ <div class="embedpress__row grid__3">
189
+ <div class="emement__item">
190
+ <h5><?php esc_html_e( "Preview In Frontend", "embedpress" ); ?></h5>
191
+ <label class="input__switch element_switch">
192
+ <input class="element-check" type="checkbox" value="1" data-name="enablePluginInFront" data-type="classic" <?php echo $enablePluginInFront ? 'checked': ''; ?> >
193
+ <span></span>
194
+ </label>
195
+
196
+ </div>
197
+ <div class="emement__item">
198
+ <h5><?php esc_html_e( "Preview In Editor", "embedpress" ); ?></h5>
199
+ <label class="input__switch element_switch">
200
+ <input class="element-check" type="checkbox" value="1" data-name="enablePluginInAdmin" data-type="classic" <?php echo $enablePluginInAdmin ? 'checked': ''; ?> >
201
+ <span></span>
202
+ </label>
203
+
204
+ </div>
205
+ </div>
206
+ </div>
207
+ </div>
208
+
EmbedPress/Ends/Back/Settings/templates/general.php ADDED
@@ -0,0 +1,67 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * General Settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ */
6
+
7
+ $g_settings = get_option( EMBEDPRESS_PLG_NAME);
8
+ $lazy_load = isset( $g_settings['g_lazyload']) ? $g_settings['g_lazyload'] : '';
9
+ $enableEmbedResizeHeight = isset( $g_settings['enableEmbedResizeHeight']) ? $g_settings['enableEmbedResizeHeight'] : 550;
10
+ $enableEmbedResizeWidth = isset( $g_settings['enableEmbedResizeWidth']) ? $g_settings['enableEmbedResizeWidth'] : 600;
11
+ ?>
12
+ <div class="embedpress__settings background__white radius-25 p40">
13
+ <h3>Global Embed iFrame</h3>
14
+ <div class="embedpress__settings__form">
15
+ <form action="" method="post">
16
+ <?php
17
+ do_action( 'embedpress_before_general_settings_fields');
18
+ echo $nonce_field ;
19
+ ?>
20
+ <div class="form__group">
21
+ <p class="form__label"><?php esc_html_e( 'Embed iFrame Height', 'embedpress'); ?></p>
22
+ <div class="form__control__wrap">
23
+ <div class="input__flex">
24
+ <input type="number" name="enableEmbedResizeHeight" class="form__control" value="<?php echo esc_attr( $enableEmbedResizeHeight); ?>">
25
+ <span class="frame__unit">px</span>
26
+ </div>
27
+ </div>
28
+ </div>
29
+ <div class="form__group">
30
+ <p class="form__label"><?php esc_html_e( 'Embed iFrame Width', 'embedpress'); ?></p>
31
+ <div class="form__control__wrap">
32
+ <div class="input__flex">
33
+ <input type="number" name="enableEmbedResizeWidth" class="form__control" value="<?php echo esc_attr( $enableEmbedResizeWidth); ?>">
34
+ <span class="frame__unit">px</span>
35
+ </div>
36
+ </div>
37
+ </div>
38
+ <div class="form__group">
39
+ <p class="form__label"><?php esc_html_e( 'Lazy Load', 'embedpress'); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?> </p>
40
+ <div class="form__control__wrap">
41
+ <label class="input__switch switch__text <?php echo $pro_active ? '': 'isPro'; ?>">
42
+ <input type="checkbox" name="g_lazyload" value="1" <?php echo $pro_active ? '': 'disabled '; checked( '1', $lazy_load) ?>>
43
+ <span></span>
44
+ </label>
45
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
46
+ </div>
47
+ </div>
48
+ <div class="form__group mb0">
49
+ <p class="form__label"><?php
50
+ /*translators: % means coming soon text markup*/
51
+ printf( esc_html__( 'Loading Animation %s', 'embedpress'), $coming_soon);
52
+
53
+ echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?>
54
+ </p>
55
+ <div class="form__control__wrap">
56
+ <label class="input__switch switch__text isPro">
57
+ <input type="checkbox" name="g_loading_animation" value="1" disabled>
58
+ <span></span>
59
+ </label>
60
+ <?php include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-coming-soon.php'; ?>
61
+ </div>
62
+ </div>
63
+ <?php do_action( 'embedpress_after_general_settings_fields'); ?>
64
+ <button class="button button__themeColor radius-10" name="submit" value="general"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
65
+ </form>
66
+ </div>
67
+ </div>
EmbedPress/Ends/Back/Settings/templates/go-premium.php ADDED
@@ -0,0 +1,10 @@
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ ?>
4
+ <div class="background__white radius-25 p40">
5
+ <div class="upgrage__card__tab__style">
6
+ <h3><?php esc_html_e( "Why upgrade to Premium Version?", "embedpress" ); ?></h3>
7
+ <p><?php esc_html_e( "The premium version helps us to continue development of the product incorporating even more features and enhancements. You will also get world class support from our dedicated team, 24/7.", "embedpress" ); ?></p>
8
+ <a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank" class="button button__themeColor radius-10"><?php esc_html_e( "Get Premium Version", "embedpress" ); ?></a>
9
+ </div>
10
+ </div>
EmbedPress/Ends/Back/Settings/templates/license.php ADDED
@@ -0,0 +1,6 @@
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * License Settings page */
4
+
5
+ do_action( 'embedpress_license', $nonce_field);
6
+ ?>
EmbedPress/Ends/Back/Settings/templates/main-template.php ADDED
@@ -0,0 +1,23 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Main settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ * */
6
+ ?>
7
+ <div class="template__wrapper background__liteGrey p30 pb50">
8
+ <div class="embedpress__container">
9
+ <?php include_once EMBEDPRESS_SETTINGS_PATH . 'templates/partials/logo.php'; ?>
10
+ <div class="embedpress-body mb30">
11
+ <?php include_once EMBEDPRESS_SETTINGS_PATH . 'templates/partials/sidebar.php'; ?>
12
+ <div class="embedpress-content">
13
+ <?php
14
+ include_once EMBEDPRESS_SETTINGS_PATH . "templates/{$template}.php";
15
+ if ( 'license' != $template) {
16
+ include_once EMBEDPRESS_SETTINGS_PATH . 'templates/partials/toast-message.php';
17
+ }
18
+ ?>
19
+ </div>
20
+ </div>
21
+ <?php include_once EMBEDPRESS_SETTINGS_PATH . 'templates/partials/footer.php'; ?>
22
+ </div>
23
+ </div>
EmbedPress/Ends/Back/Settings/templates/partials/alert-coming-soon.php ADDED
@@ -0,0 +1,11 @@
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ ?>
4
+ <div class="pro__alert__wrap">
5
+ <div class="pro__alert__card">
6
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/alert.svg" alt="">
7
+ <h2><?php esc_html_e( "Opps...", "embedpress" ); ?></h2>
8
+ <p><?php printf( __( 'This feature is coming soon to the <a href="%s" target="_blank">Premium</a> Version', "embedpress" ), 'https://wpdeveloper.net/in/upgrade-embedpress'); ?></p>
9
+ <a href="#" class="button radius-10"><?php esc_html_e( "Close", "embedpress" ); ?></a>
10
+ </div>
11
+ </div>
EmbedPress/Ends/Back/Settings/templates/partials/alert-pro.php ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ ?>
4
+
5
+ <div class="pro__alert__wrap">
6
+ <div class="pro__alert__card">
7
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/alert.svg" alt="">
8
+ <h2><?php esc_html_e( "Opps...", "embedpress" ); ?></h2>
9
+ <p><?php printf( __( 'You need to upgrade to the <a href="%s" target="_blank">Premium</a> Version to use this feature', "embedpress" ), 'https://wpdeveloper.net/in/upgrade-embedpress'); ?></p>
10
+ <a href="#" class="button radius-10"><?php esc_html_e( "Close", "embedpress" ); ?></a>
11
+ </div>
12
+ </div>
EmbedPress/Ends/Back/Settings/templates/partials/footer.php ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Footer of the settings page
4
+ * */
5
+ ?>
6
+ <div class="background__white radius-25 p40">
7
+ <div class="embedpress__row grid__3">
8
+ <div class="embedpress-card">
9
+ <div class="icon">
10
+ <i class="ep-icon ep-file"></i>
11
+ </div>
12
+ <h3><?php esc_html_e( "Documentation", "embedpress" ); ?></h3>
13
+ <p><?php esc_html_e( "Get started by spending some time with the documentation to get familiar with EmbedPress. Build awesome websites for you or your clients with ease.
14
+ ", "embedpress" ); ?></p>
15
+ <a target="_blank" href="https://embedpress.com/documentation/" class="button radius-10"><?php esc_html_e( "Documentation", "embedpress" ); ?></a>
16
+ </div>
17
+ <div class="embedpress-card">
18
+ <div class="icon">
19
+ <i class="ep-icon ep-support"></i>
20
+ </div>
21
+ <h3><?php esc_html_e( "Need Help?", "embedpress" ); ?></h3>
22
+ <p><?php esc_html_e( "Stuck with something? Get help from the community on", "embedpress" ); ?>
23
+ <a target="_blank" href="https://wordpress.org/plugins/embedpress/"><?php esc_html_e( "WordPress.org Forum", "embedpress" ); ?></a> or
24
+ <a target="_blank" href="https://www.facebook.com/groups/432798227512253"><?php esc_html_e( "Facebook Community", "embedpress" ); ?></a>. In case of emergency, initiate a live chat at
25
+ <a target="_blank" href="https://wpdeveloper.net/"><?php esc_html_e( "WPDeveloper website.", "embedpress" ); ?></a></p>
26
+ <a target="_blank" href="https://wpdeveloper.net/support/" class="button radius-10"><?php esc_html_e( "Get Support", "embedpress" ); ?></a>
27
+ </div>
28
+ <div class="embedpress-card">
29
+ <div class="icon">
30
+ <i class="ep-icon ep-star"></i>
31
+ </div>
32
+ <h3><?php esc_html_e( "Show Your Love", "embedpress" ); ?></h3>
33
+ <p><?php esc_html_e( "We love to have you in the EmbedPress family. We are making it more awesome everyday. Take your 2 minutes to review the plugin and spread the love to encourage us to keep it going.", "embedpress" ); ?></p>
34
+ <a target="_blank" href="https://wordpress.org/support/plugin/embedpress/reviews/#new-post" class="button radius-10"><?php esc_html_e( "Leave A Review", "embedpress" ); ?></a>
35
+ </div>
36
+ </div>
37
+ </div>
38
+
EmbedPress/Ends/Back/Settings/templates/partials/logo.php ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Footer of the settings page
4
+ * */
5
+ ?>
6
+ <header class="embedpress-header">
7
+ <a href="#" class="site__logo"><img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/logo.svg" alt=""></a>
8
+ <ul class="embedpress-version-wrapper">
9
+ <li>Core Version: V<?php echo EMBEDPRESS_VERSION; ?></li>
10
+ <?php if ( $pro_active ) { ?>
11
+ <li>Pro Version: V<?php echo EMBEDPRESS_PRO_VERSION; ?></li>
12
+ <?php }?>
13
+ </ul>
14
+ </header>
EmbedPress/Ends/Back/Settings/templates/partials/sidebar.php ADDED
@@ -0,0 +1,84 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Side of the settings page
4
+ * all undefined vars like $template etc come from the main template
5
+ * */
6
+ ?>
7
+ <div class="embedpress-sidebar">
8
+ <a href="#" class="sidebar__toggler"><i class="ep-icon ep-bar"></i></a>
9
+ <ul class="sidebar__menu">
10
+ <?php do_action( 'ep_before_general_menu'); ?>
11
+ <li class="sidebar__item sidebar__dropdown <?php echo in_array( $template, $gen_menu_template_names)? 'show' : ''; ?>">
12
+ <a href="<?php echo esc_url( $ep_page.'&page_type=general'); ?>" class="sidebar__link sidebar__link--toggler <?php echo in_array( $template, $gen_menu_template_names)? 'active' : ''; ?>"><span><i class="ep-icon ep-gear"></i></span> General</a>
13
+ <ul class="dropdown__menu <?php echo in_array( $template, $gen_menu_template_names) ? 'show' : ''; ?>">
14
+ <?php do_action( 'ep_before_general_menu_items'); ?>
15
+ <li class="dropdown__item">
16
+ <a href="<?php echo esc_url( $ep_page.'&page_type=general'); ?>" class="dropdown__link <?php echo 'general' === $template ? 'active' : ''; ?>">
17
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/settings-sub.svg" alt="">
18
+ <?php esc_html_e( "Settings", "embedpress" ); ?>
19
+ </a>
20
+ </li>
21
+ <li class="dropdown__item">
22
+ <a href="<?php echo esc_url( $ep_page.'&page_type=youtube'); ?>" class="dropdown__link <?php echo 'youtube' === $template ? 'active' : ''; ?>">
23
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/youtube.svg" alt="">
24
+ <?php esc_html_e( "YouTube", "embedpress" ); ?>
25
+ </a>
26
+ </li>
27
+ <li class="dropdown__item">
28
+ <a href="<?php echo esc_url( $ep_page.'&page_type=vimeo'); ?>" class="dropdown__link <?php echo 'vimeo' === $template ? 'active' : ''; ?>">
29
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/vimeo.svg" alt="">
30
+ <?php esc_html_e( "Vimeo", "embedpress" ); ?>
31
+ </a>
32
+ </li>
33
+ <li class="dropdown__item">
34
+ <a href="<?php echo esc_url( $ep_page.'&page_type=wistia'); ?>" class="dropdown__link <?php echo 'wistia' === $template ? 'active' : ''; ?>">
35
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/wistia.svg" alt="">
36
+ <?php esc_html_e( "Wistia", "embedpress" ); ?>
37
+ </a>
38
+ </li>
39
+ <li class="dropdown__item">
40
+ <a href="<?php echo esc_url( $ep_page.'&page_type=twitch'); ?>" class="dropdown__link <?php echo 'twitch' === $template ? 'active' : ''; ?>">
41
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/twitch.svg" alt="">
42
+ <?php esc_html_e( "Twitch", "embedpress" ); ?>
43
+ </a>
44
+ </li>
45
+ <?php do_action( 'ep_after_general_menu_items'); ?>
46
+ </ul>
47
+ </li>
48
+ <?php do_action( 'ep_after_general_menu'); ?>
49
+ <?php do_action( 'ep_before_element_menu'); ?>
50
+ <li class="sidebar__item <?php echo 'elements' === $template ? 'show' : ''; ?>">
51
+ <?php do_action( 'ep_before_element_item'); ?>
52
+ <a href="<?php echo esc_url( $ep_page.'&page_type=elements'); ?>" class="sidebar__link <?php echo 'elements' === $template ? 'active' : ''; ?>"><span><i class="ep-icon ep-cell"></i></span> <?php esc_html_e( "Elements", "embedpress" ); ?></a>
53
+ <?php do_action( 'ep_after_element_item'); ?>
54
+ </li>
55
+
56
+ <?php do_action( 'ep_before_branding_menu'); ?>
57
+ <li class="sidebar__item <?php echo 'custom-logo' === $template ? 'show' : ''; ?>">
58
+ <a href="<?php echo esc_url( $ep_page.'&page_type=custom-logo'); ?>" class="sidebar__link <?php echo 'custom-logo' === $template ? 'active' : ''; ?>"><span><i class="ep-icon ep-branding"></i></span> Branding</a>
59
+ </li>
60
+ <?php do_action( 'ep_before_branding_menu'); ?>
61
+
62
+ <?php
63
+ if ( empty( $pro_active) || !$pro_active) {
64
+ do_action( 'ep_before_premium_menu'); ?>
65
+ <li class="sidebar__item <?php echo 'go-premium' === $template ? 'show' : ''; ?>">
66
+ <a href="<?php echo esc_url( $ep_page.'&page_type=go-premium'); ?>" class="sidebar__link <?php echo 'premium' === $template ? 'active' : ''; ?>"><span><i class="ep-icon ep-premium"></i></span> <?php esc_html_e( "Go Premium", "embedpress" ); ?></a>
67
+ </li>
68
+ <?php do_action( 'ep_after_premium_menu');
69
+ }
70
+ ?>
71
+ <?php
72
+ if ( isset( $pro_active) && $pro_active) {
73
+ do_action( 'ep_before_license_menu'); ?>
74
+ <li class="sidebar__item <?php echo 'license' === $template ? 'show' : ''; ?>">
75
+ <a href="<?php echo esc_url( $ep_page.'&page_type=license'); ?>" class="sidebar__link <?php echo 'license' === $template ? 'active' : ''; ?>"><span><i class="ep-icon ep-lock"></i></span> <?php esc_html_e( "License", "embedpress" ); ?></a>
76
+ </li>
77
+ <?php do_action( 'ep_after_license_menu');
78
+ }
79
+ ?>
80
+
81
+ </ul>
82
+ </div>
83
+
84
+
EmbedPress/Ends/Back/Settings/templates/partials/toast-message.php ADDED
@@ -0,0 +1,49 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ if ( !isset( $success_message) ) {
4
+ $success_message = esc_html__( "Settings Updated", "embedpress" );
5
+
6
+ }
7
+ if ( !isset( $error_message) ) {
8
+ $error_message = esc_html__( "Ops! Something went wrong.", "embedpress" );
9
+ }
10
+ ?>
11
+
12
+ <div class="embedpress-toast__message toast__message--success">
13
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/check.svg" alt="">
14
+ <p><?php echo esc_html( $success_message); ?></p>
15
+ </div>
16
+
17
+ <div class="embedpress-toast__message toast__message--error">
18
+ <img src="<?php echo EMBEDPRESS_SETTINGS_ASSETS_URL; ?>img/error.svg" alt="">
19
+ <p><?php echo esc_html( $error_message); ?></p>
20
+ </div>
21
+
22
+ <?php if (!empty( $_GET['success'])){ ?>
23
+ <script>
24
+ (function ($) {
25
+ let $success_message_node = $('.toast__message--success');
26
+ $success_message_node.addClass('show');
27
+ setTimeout(function (){
28
+ $success_message_node.removeClass('show');
29
+ history.pushState('', '', embedPressRemoveURLParameter(location.href, 'success'));
30
+ }, 3000);
31
+
32
+ })(jQuery);
33
+ </script>
34
+ <?php
35
+ } elseif (!empty( $_GET['error'])){ ?>
36
+ <script>
37
+ (function ($) {
38
+ let $error_message_node = $('.toast__message--error');
39
+ $error_message_node.addClass('show');
40
+ setTimeout(function (){
41
+ $error_message_node.removeClass('show');
42
+ history.pushState('', '', embedPressRemoveURLParameter(location.href, 'error'));
43
+ }, 3000);
44
+
45
+ })(jQuery);
46
+ </script>
47
+ <?php
48
+ }
49
+ ?>
EmbedPress/Ends/Back/Settings/templates/twitch.php ADDED
@@ -0,0 +1,116 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Twitch Settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ * */
6
+ $twitch_settings = get_option( EMBEDPRESS_PLG_NAME.':twitch');
7
+ $start_time = isset( $twitch_settings['embedpress_pro_video_start_time']) ? $twitch_settings['embedpress_pro_video_start_time'] : 0;
8
+ $autoplay = isset( $twitch_settings['embedpress_pro_twitch_autoplay']) ? $twitch_settings['embedpress_pro_twitch_autoplay'] : 'no';
9
+ $show_chat = isset( $twitch_settings['embedpress_pro_twitch_chat']) ? $twitch_settings['embedpress_pro_twitch_chat'] : 'no';
10
+ $theme = isset( $twitch_settings['embedpress_pro_twitch_theme']) ? $twitch_settings['embedpress_pro_twitch_theme'] : 'dark';
11
+ $fs = isset( $twitch_settings['embedpress_pro_fs']) ? $twitch_settings['embedpress_pro_fs'] : 'yes';
12
+ $mute = isset( $twitch_settings['embedpress_pro_twitch_mute']) ? $twitch_settings['embedpress_pro_twitch_mute'] : 'yes';
13
+
14
+ ?>
15
+
16
+ <div class="embedpress__settings background__white radius-25 p40">
17
+ <h3><?php esc_html_e( "Twitch Settings", "embedpress" ); ?></h3>
18
+ <div class="embedpress__settings__form">
19
+ <form action="" method="post" >
20
+ <?php
21
+ do_action( 'embedpress_before_twitch_settings_fields');
22
+ echo $nonce_field ; ?>
23
+ <div class="form__group">
24
+ <p class="form__label" ><?php esc_html_e( "Start Time (In Seconds)", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>';?> </p>
25
+ <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
26
+ <input type="number" name="start_time" id="start_time" class="form__control" value="<?php echo esc_attr( $start_time); ?>" <?php echo $pro_active ? '': ' disabled'; ?>>
27
+ <p><?php esc_html_e( "You can put a custom time in seconds to start video. Example: 500", "embedpress" ); ?></p>
28
+ </div>
29
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
30
+
31
+ </div>
32
+ <div class="form__group">
33
+ <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
34
+ <div class="form__control__wrap">
35
+ <div class="input__flex">
36
+ <label class="input__radio">
37
+ <input type="radio" name="autoplay" value="no" <?php checked( 'no', $autoplay); ?>>
38
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
39
+ </label>
40
+ <label class="input__radio">
41
+ <input type="radio" name="autoplay" value="yes" <?php checked( 'yes', $autoplay); ?>>
42
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
43
+ </label>
44
+ </div>
45
+ <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
46
+ </div>
47
+ </div>
48
+ <div class="form__group">
49
+ <p class="form__label"><?php esc_html_e( "Show Chat", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
50
+ <div class="form__control__wrap">
51
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
52
+ <label class="input__radio">
53
+ <input type="radio" name="show_chat" value="no" <?php echo $pro_active ? '' : 'disabled'; checked( 'no', $show_chat); ?>>
54
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
55
+ </label>
56
+ <label class="input__radio">
57
+ <input type="radio" name="show_chat" value="yes" <?php echo $pro_active ? '' : 'disabled'; checked( 'yes', $show_chat); ?>>
58
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
59
+ </label>
60
+ </div>
61
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
62
+ <p><?php esc_html_e( "You can show or hide chat using this setting", "embedpress" ); ?></p>
63
+ </div>
64
+ </div>
65
+ <div class="form__group">
66
+ <p class="form__label"><?php esc_html_e( "Theme", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
67
+ <div class="form__control__wrap">
68
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
69
+ <span><i class="ep-icon ep-caret-down"></i></span>
70
+ <select name="theme" <?php echo $pro_active ? '' : 'disabled'; ?>>
71
+ <option value="dark" <?php selected( 'dark', $theme); ?>><?php esc_html_e( "Dark", "embedpress" ); ?></option>
72
+ <option value="light" <?php selected( 'light', $theme); ?>><?php esc_html_e( "Light", "embedpress" ); ?></option>
73
+ </select>
74
+ </div>
75
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
76
+ <p><?php esc_html_e( "Set dark or light theme for the twitch comment.", "embedpress" ); ?></p>
77
+ </div>
78
+ </div>
79
+ <div class="form__group">
80
+ <p class="form__label"><?php esc_html_e( "Enable Fullscreen Button", "embedpress" ); ?></p>
81
+ <div class="form__control__wrap">
82
+ <div class="input__flex">
83
+ <label class="input__radio">
84
+ <input type="radio" name="fs" value="no" <?php checked( 'no', $fs); ?>>
85
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
86
+ </label>
87
+ <label class="input__radio">
88
+ <input type="radio" name="fs" value="yes" <?php checked( 'yes', $fs); ?>>
89
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
90
+ </label>
91
+ </div>
92
+ <p><?php esc_html_e( "Indicates whether the fullscreen button is enabled.", "embedpress" ); ?></p>
93
+ </div>
94
+ </div>
95
+ <div class="form__group">
96
+ <p class="form__label"><?php esc_html_e( "Mute On Start", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
97
+ <div class="form__control__wrap">
98
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
99
+ <label class="input__radio">
100
+ <input type="radio" name="mute" value="no" <?php echo $pro_active ? '' : 'disabled'; checked( 'no', $mute); ?>>
101
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
102
+ </label>
103
+ <label class="input__radio">
104
+ <input type="radio" name="mute" value="yes" <?php echo $pro_active ? '' : 'disabled'; checked( 'yes', $mute); ?>>
105
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
106
+ </label>
107
+ </div>
108
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
109
+ <p><?php esc_html_e( "Set it to Yes to mute the video on start.", "embedpress" ); ?></p>
110
+ </div>
111
+ </div>
112
+ <?php do_action( 'embedpress_after_twitch_settings_fields'); ?>
113
+ <button class="button button__themeColor radius-10" name="submit" value="twitch"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
114
+ </form>
115
+ </div>
116
+ </div>
EmbedPress/Ends/Back/Settings/templates/vimeo.php ADDED
@@ -0,0 +1,152 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Vimeo Settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ * */
6
+ $vm_settings = get_option( EMBEDPRESS_PLG_NAME.':vimeo' );
7
+ $autoplay = isset( $vm_settings['autoplay']) ? $vm_settings['autoplay'] : '';
8
+ $loop = isset( $vm_settings['loop']) ? $vm_settings['loop'] : '';
9
+ $autopause = isset( $vm_settings['autopause']) ? $vm_settings['autopause'] : '';
10
+ $vimeo_dnt = isset( $vm_settings['vimeo_dnt']) ? $vm_settings['vimeo_dnt'] : 1;
11
+ $color = isset( $vm_settings['color']) ? $vm_settings['color'] : '#5b4e96';//@TODO; ask to confirm #00adef.
12
+ $display_title = isset( $vm_settings['display_title']) ? $vm_settings['display_title'] : 1;
13
+ $display_author = isset( $vm_settings['display_author']) ? $vm_settings['display_author'] : 1;
14
+ $display_avatar = isset( $vm_settings['display_avatar']) ? $vm_settings['display_avatar'] : 1;
15
+ ?>
16
+ <div class="embedpress__settings background__white radius-25 p40">
17
+ <h3><?php esc_html_e( "Vimeo Settings", "embedpress" ); ?></h3>
18
+ <div class="embedpress__settings__form">
19
+ <form action="" method="post" >
20
+ <?php
21
+ do_action( 'embedpress_before_vimeo_settings_fields');
22
+ echo $nonce_field ; ?>
23
+ <div class="form__group">
24
+ <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
25
+ <div class="form__control__wrap">
26
+ <div class="input__flex">
27
+ <label class="input__radio">
28
+ <input type="radio" name="autoplay" value="" <?php checked( '', $autoplay); ?>>
29
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
30
+ </label>
31
+ <label class="input__radio">
32
+ <input type="radio" name="autoplay" value="1" <?php checked( '1', $autoplay); ?>>
33
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
34
+ </label>
35
+ </div>
36
+ <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
37
+ </div>
38
+ </div>
39
+ <div class="form__group">
40
+ <p class="form__label"><?php esc_html_e( "Loop", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?></p>
41
+ <div class="form__control__wrap">
42
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
43
+ <label class="input__radio">
44
+ <input type="radio" name="loop" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $loop); ?>>
45
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
46
+ </label>
47
+ <label class="input__radio">
48
+ <input type="radio" name="loop" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $loop); ?>>
49
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
50
+ </label>
51
+ </div>
52
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
53
+ <p><?php esc_html_e( "Play the video again automatically when it reaches the end.", "embedpress" ); ?></p>
54
+ </div>
55
+ </div>
56
+ <div class="form__group">
57
+ <p class="form__label"><?php esc_html_e( "Auto Pause", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?></p>
58
+ <div class="form__control__wrap">
59
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
60
+ <label class="input__radio">
61
+ <input type="radio" name="autopause" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $autopause); ?>>
62
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
63
+ </label>
64
+ <label class="input__radio">
65
+ <input type="radio" name="autopause" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $autopause); ?>>
66
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
67
+ </label>
68
+ </div>
69
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
70
+ <p><?php esc_html_e( "Pause this video automatically when another one plays.", "embedpress" ); ?></p>
71
+ </div>
72
+ </div>
73
+ <div class="form__group">
74
+ <p class="form__label"><?php esc_html_e( "DNT", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?></p>
75
+ <div class="form__control__wrap">
76
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
77
+ <label class="input__radio">
78
+ <input type="radio" name="vimeo_dnt" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $vimeo_dnt); ?>>
79
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
80
+ </label>
81
+ <label class="input__radio">
82
+ <input type="radio" name="vimeo_dnt" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $vimeo_dnt); ?>>
83
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
84
+ </label>
85
+ </div>
86
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
87
+ <p><?php esc_html_e( 'Setting this parameter to "yes" will block the player from tracking any session data, including all cookies.', "embedpress" ); ?></p>
88
+ </div>
89
+ </div>
90
+ <div class="form__group">
91
+ <p class="form__label"><?php esc_html_e( "Color", "embedpress" ); ?></p>
92
+ <div class="form__control__wrap">
93
+ <input type="text" class="form__control ep-color-picker" name="color" value="<?php echo esc_attr( $color); ?>">
94
+
95
+ <p><?php esc_html_e( "Specify the color of the video controls.", "embedpress" ); ?></p>
96
+ </div>
97
+ </div>
98
+ <div class="form__group">
99
+ <p class="form__label"><?php esc_html_e( "Display Title", "embedpress" ); ?></p>
100
+ <div class="form__control__wrap">
101
+ <div class="input__flex">
102
+ <label class="input__radio">
103
+ <input type="radio" name="display_title" value="" <?php checked( '', $display_title); ?>>
104
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
105
+ </label>
106
+ <label class="input__radio">
107
+ <input type="radio" name="display_title" value="1" <?php checked( '1', $display_title); ?>>
108
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
109
+ </label>
110
+ </div>
111
+ <p><?php esc_html_e( "Indicates whether the title is displayed.", "embedpress" ); ?></p>
112
+ </div>
113
+ </div>
114
+ <div class="form__group">
115
+ <p class="form__label"><?php esc_html_e( "Display Author", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?></p>
116
+ <div class="form__control__wrap">
117
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
118
+ <label class="input__radio">
119
+ <input type="radio" name="display_author" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $display_author); ?>>
120
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
121
+ </label>
122
+ <label class="input__radio">
123
+ <input type="radio" name="display_author" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $display_author); ?>>
124
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
125
+ </label>
126
+ </div>
127
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
128
+ <p><?php esc_html_e( "Indicates whether the author is displayed.", "embedpress" ); ?></p>
129
+ </div>
130
+ </div>
131
+ <div class="form__group">
132
+ <p class="form__label"><?php esc_html_e( "Display Avatar", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?></p>
133
+ <div class="form__control__wrap">
134
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
135
+ <label class="input__radio">
136
+ <input type="radio" name="display_avatar" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $display_avatar); ?>>
137
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
138
+ </label>
139
+ <label class="input__radio">
140
+ <input type="radio" name="display_avatar" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $display_avatar); ?>>
141
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
142
+ </label>
143
+ </div>
144
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
145
+ <p><?php esc_html_e( "Indicates whether the avatar is displayed.", "embedpress" ); ?></p>
146
+ </div>
147
+ </div>
148
+ <?php do_action( 'embedpress_after_vimeo_settings_fields'); ?>
149
+ <button class="button button__themeColor radius-10" name="submit" value="vimeo"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
150
+ </form>
151
+ </div>
152
+ </div>
EmbedPress/Ends/Back/Settings/templates/wistia.php ADDED
@@ -0,0 +1,228 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * Wistia Settings page
4
+ * all undefined vars comes from EmbedPressSettings.php or sometime from main-template.php
5
+ * */
6
+ $wis_settings = get_option( EMBEDPRESS_PLG_NAME.':wistia' );
7
+ $autoplay = isset( $wis_settings['autoplay']) ? $wis_settings['autoplay'] : '';
8
+ $display_fullscreen_button = isset( $wis_settings['display_fullscreen_button']) ? $wis_settings['display_fullscreen_button'] : 1;
9
+ $display_playbar = isset( $wis_settings['display_playbar']) ? $wis_settings['display_playbar'] : 1;
10
+ $small_play_button = isset( $wis_settings['small_play_button']) ? $wis_settings['small_play_button'] : 1;
11
+ $display_volume_control = isset( $wis_settings['display_volume_control']) ? $wis_settings['display_volume_control'] : 1;
12
+ $volume = isset( $wis_settings['volume']) ? intval( $wis_settings['volume']) : 100;
13
+ $player_color = isset( $wis_settings['player_color']) ? $wis_settings['player_color'] : '#5b4e96'; //@todo; confirm #00adef
14
+ $plugin_resumable = isset( $wis_settings['plugin_resumable']) ? $wis_settings['plugin_resumable'] : '';
15
+ $plugin_captions = isset( $wis_settings['plugin_captions']) ? $wis_settings['plugin_captions'] : '';
16
+ $plugin_captions_default = isset( $wis_settings['plugin_captions_default']) ? $wis_settings['plugin_captions_default'] : '';
17
+ $plugin_focus = isset( $wis_settings['plugin_focus']) ? $wis_settings['plugin_focus'] : '';
18
+ $plugin_rewind = isset( $wis_settings['plugin_rewind']) ? $wis_settings['plugin_rewind'] : '';
19
+ $plugin_rewind_time = isset( $wis_settings['plugin_rewind_time']) ? intval( $wis_settings['plugin_rewind_time']) : 10;
20
+ ?>
21
+
22
+ <div class="embedpress__settings background__white radius-25 p40">
23
+ <h3><?php esc_html_e( "Wistia Settings", "embedpress" ); ?></h3>
24
+ <div class="embedpress__settings__form">
25
+ <form action="" method="post" >
26
+ <?php
27
+ do_action( 'embedpress_before_wistia_settings_fields');
28
+ echo $nonce_field ;
29
+ ?>
30
+ <div class="form__group">
31
+ <p class="form__label"><?php esc_html_e( "Fullscreen Button", "embedpress" ); ?></p>
32
+ <div class="form__control__wrap">
33
+ <div class="input__flex">
34
+ <label class="input__radio">
35
+ <input type="radio" value="" name="display_fullscreen_button" <?php checked( '', $display_fullscreen_button); ?>>
36
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
37
+ </label>
38
+ <label class="input__radio">
39
+ <input type="radio" value="1" name="display_fullscreen_button" <?php checked( '1', $display_fullscreen_button); ?>>
40
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
41
+ </label>
42
+ </div>
43
+ <p><?php esc_html_e( "Indicates whether the fullscreen button is visible.", "embedpress" ); ?></p>
44
+ </div>
45
+ </div>
46
+ <div class="form__group">
47
+ <p class="form__label"><?php esc_html_e( "Playbar", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
48
+ <div class="form__control__wrap">
49
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
50
+ <label class="input__radio">
51
+ <input type="radio" value="" name="display_playbar" <?php echo $pro_active ? '' : 'disabled'; checked( '', $display_playbar); ?>>
52
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
53
+ </label>
54
+ <label class="input__radio">
55
+ <input type="radio" value="1" name="display_playbar" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $display_playbar); ?>>
56
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
57
+ </label>
58
+ </div>
59
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
60
+ <p><?php esc_html_e( "Indicates whether the playbar is visible.", "embedpress" ); ?></p>
61
+ </div>
62
+ </div>
63
+ <div class="form__group">
64
+ <p class="form__label"><?php esc_html_e( "Small Play Button", "embedpress" ); ?></p>
65
+ <div class="form__control__wrap">
66
+ <div class="input__flex">
67
+ <label class="input__radio">
68
+ <input type="radio" value="" name="small_play_button" <?php checked( '', $small_play_button); ?>>
69
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
70
+ </label>
71
+ <label class="input__radio">
72
+ <input type="radio" value="1" name="small_play_button" <?php checked( '1', $small_play_button); ?>>
73
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
74
+ </label>
75
+ </div>
76
+ <p><?php esc_html_e( "Indicates whether the small play button is visible on the bottom left.", "embedpress" ); ?></p>
77
+ </div>
78
+ </div>
79
+ <div class="form__group">
80
+ <p class="form__label"><?php esc_html_e( "Volume Control", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
81
+ <div class="form__control__wrap">
82
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
83
+ <label class="input__radio">
84
+ <input type="radio" value="" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '', $display_volume_control); ?>>
85
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
86
+ </label>
87
+ <label class="input__radio">
88
+ <input type="radio" value="1" name="display_volume_control" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $display_volume_control); ?>>
89
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
90
+ </label>
91
+ </div>
92
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
93
+ <p><?php esc_html_e( "Indicates whether the volume control is visible.", "embedpress" ); ?></p>
94
+ </div>
95
+ </div>
96
+
97
+ <div class="form__group">
98
+ <p class="form__label"><?php esc_html_e( "Volume", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
99
+ <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
100
+ <input type="number" max="100" min="0" class="form__control" value="<?php echo esc_attr( $volume ); ?>" name="volume" <?php echo $pro_active ? '' : 'disabled'; ?>>
101
+
102
+ <p><?php esc_html_e( "Start the video with a custom volume level. Set values between 0 and 100.", "embedpress" ); ?></p>
103
+ </div>
104
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
105
+
106
+ </div>
107
+
108
+ <div class="form__group">
109
+ <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
110
+ <div class="form__control__wrap">
111
+ <div class="input__flex">
112
+ <label class="input__radio">
113
+ <input type="radio" value="" name="autoplay" <?php checked( '', $autoplay);?>>
114
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
115
+ </label>
116
+ <label class="input__radio">
117
+ <input type="radio" value="1" name="autoplay" <?php checked( '1', $autoplay);?>>
118
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
119
+ </label>
120
+ </div>
121
+ <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
122
+ </div>
123
+ </div>
124
+
125
+ <div class="form__group">
126
+ <p class="form__label"><?php esc_html_e( "Color", "embedpress" ); ?></p>
127
+ <div class="form__control__wrap">
128
+ <input type="text" class="ep-color-picker" name="player_color" value="<?php echo esc_attr( $player_color ); ?>">
129
+ <p><?php esc_html_e( "Specify the color of the video controls.", "embedpress" ); ?></p>
130
+ </div>
131
+ </div>
132
+
133
+ <div class="form__group">
134
+ <p class="form__label"><?php esc_html_e( "Plugin: Resumable", "embedpress" ); ?></p>
135
+ <div class="form__control__wrap">
136
+ <div class="input__flex">
137
+ <label class="input__radio">
138
+ <input type="radio" value="" name="plugin_resumable" <?php checked( '', $plugin_resumable);?>>
139
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
140
+ </label>
141
+ <label class="input__radio">
142
+ <input type="radio" value="1" name="plugin_resumable" <?php checked( '1', $plugin_resumable);?>>
143
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
144
+ </label>
145
+ </div>
146
+ <p><?php esc_html_e( "Indicates whether the Resumable plugin is active. Allow to resume the video or start from the beginning.", "embedpress" ); ?></p>
147
+ </div>
148
+ </div>
149
+ <div class="form__group">
150
+ <p class="form__label"><?php esc_html_e( "Plugin: Captions", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
151
+ <div class="form__control__wrap">
152
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
153
+ <label class="input__radio">
154
+ <input type="radio" value="" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions); ?>>
155
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
156
+ </label>
157
+ <label class="input__radio">
158
+ <input type="radio" value="1" name="plugin_captions" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions); ?>>
159
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
160
+ </label>
161
+ </div>
162
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
163
+ <p><?php esc_html_e( "Indicates whether the Captions plugin is active.", "embedpress" ); ?></p>
164
+ </div>
165
+ </div>
166
+ <div class="form__group">
167
+ <p class="form__label"><?php esc_html_e( "Captions Enabled By Default", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
168
+ <div class="form__control__wrap">
169
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
170
+ <label class="input__radio">
171
+ <input type="radio" value="" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_captions_default); ?>>
172
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
173
+ </label>
174
+ <label class="input__radio">
175
+ <input type="radio" value="1" name="plugin_captions_default" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_captions_default); ?>>
176
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
177
+ </label>
178
+ </div>
179
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
180
+ <p><?php esc_html_e( "Indicates whether the Captions are enabled by default.", "embedpress" ); ?></p>
181
+ </div>
182
+ </div>
183
+ <div class="form__group">
184
+ <p class="form__label">Plugin: Focus</p>
185
+ <div class="form__control__wrap">
186
+ <div class="input__flex">
187
+ <label class="input__radio">
188
+ <input type="radio" value="" name="plugin_focus" <?php checked( '', $plugin_focus); ?>>
189
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
190
+ </label>
191
+ <label class="input__radio">
192
+ <input type="radio" value="1" name="plugin_focus" <?php checked( '1', $plugin_focus); ?>>
193
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
194
+ </label>
195
+ </div>
196
+ <p><?php esc_html_e( "Indicates whether the Focus plugin is active.", "embedpress" ); ?></p>
197
+ </div>
198
+ </div>
199
+ <div class="form__group">
200
+ <p class="form__label"><?php esc_html_e( "Plugin: Rewind", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
201
+ <div class="form__control__wrap">
202
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
203
+ <label class="input__radio">
204
+ <input type="radio" value="" name="plugin_rewind" <?php echo $pro_active ? '' : 'disabled'; checked( '', $plugin_rewind); ?>>
205
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
206
+ </label>
207
+ <label class="input__radio">
208
+ <input type="radio" value="1" name="plugin_rewind" <?php echo $pro_active ? '' : 'disabled'; checked( '1', $plugin_rewind); ?>>
209
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
210
+ </label>
211
+ </div>
212
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
213
+ <p><?php esc_html_e( "Indicates whether the Rewind plugin is active.", "embedpress" ); ?></p>
214
+ </div>
215
+ </div>
216
+ <div class="form__group">
217
+ <p class="form__label"><?php esc_html_e( "Rewind Time (In Seconds)", "embedpress" ); echo $pro_active ? '': ' <span class="isPro">PRO</span>'; ?> </p>
218
+ <div class="form__control__wrap <?php echo $pro_active ? '': 'isPro'; ?>">
219
+ <input type="number" class="form__control" value="<?php echo esc_attr( $plugin_rewind_time );?>" name="plugin_rewind_time" <?php echo $pro_active ? '' : 'disabled'; ?>>
220
+ <p><?php esc_html_e( "The amount of time to rewind, in seconds.", "embedpress" ); ?></p>
221
+ </div>
222
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
223
+ </div>
224
+ <?php do_action( 'embedpress_after_wistia_settings_fields'); ?>
225
+ <button class="button button__themeColor radius-10" name="submit" value="wistia"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
226
+ </form>
227
+ </div>
228
+ </div>
EmbedPress/Ends/Back/Settings/templates/youtube.php ADDED
@@ -0,0 +1,153 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ * YouTube Settings page
4
+ * All undefined vars comes from 'render_settings_page' method
5
+ * */
6
+ $yt_settings = get_option( EMBEDPRESS_PLG_NAME.':youtube');
7
+ $autoplay = isset( $yt_settings['autoplay']) ? $yt_settings['autoplay'] : '';
8
+ $controls = isset( $yt_settings['controls']) ? $yt_settings['controls'] : 1;
9
+ $fs = isset( $yt_settings['fs']) ? $yt_settings['fs'] : 1;
10
+ $iv_load_policy = isset( $yt_settings['iv_load_policy']) ? $yt_settings['iv_load_policy'] : 1;
11
+ // pro
12
+ $color = isset( $yt_settings['color']) ? $yt_settings['color'] : 'red';
13
+ $cc_load_policy = isset( $yt_settings['cc_load_policy']) ? $yt_settings['cc_load_policy'] : '';
14
+ $rel = isset( $yt_settings['rel']) ? $yt_settings['rel'] : 1;
15
+ $modestbranding = isset( $yt_settings['modestbranding']) ? $yt_settings['modestbranding'] : 0;
16
+
17
+ ?>
18
+
19
+ <div class="embedpress__settings background__white radius-25 p40">
20
+ <h3><?php esc_html_e( "YouTube Settings", "embedpress" ); ?></h3>
21
+ <div class="embedpress__settings__form">
22
+ <form action="" method="post" >
23
+ <?php
24
+ do_action( 'embedpress_before_youtube_settings_fields');
25
+ echo $nonce_field ; ?>
26
+ <div class="form__group">
27
+ <p class="form__label"><?php esc_html_e( "Auto Play", "embedpress" ); ?></p>
28
+ <div class="form__control__wrap">
29
+ <div class="input__flex">
30
+ <label class="input__radio">
31
+ <input type="radio" name="autoplay" value="" <?php checked( '', $autoplay); ?>>
32
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
33
+ </label>
34
+ <label class="input__radio">
35
+ <input type="radio" name="autoplay" value="1" <?php checked( '1', $autoplay); ?>>
36
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
37
+ </label>
38
+ </div>
39
+ <p><?php esc_html_e( "Automatically start to play the videos when the player loads.", "embedpress" ); ?></p>
40
+ </div>
41
+ </div>
42
+ <div class="form__group">
43
+ <label class="form__label" for="color"><?php esc_html_e( "Progress Bar Color", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?></label>
44
+ <div class="form__control__wrap">
45
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
46
+ <span><i class="ep-icon ep-caret-down"></i></span>
47
+ <select name="color" id="color" <?php echo !$pro_active ? 'disabled' : ''; ?>>
48
+ <option value="red" <?php selected( 'red', $color); ?> ><?php esc_html_e( "Red", "embedpress" ); ?></option>
49
+ <option value="white" <?php selected( 'white', $color); ?> ><?php esc_html_e( "White", "embedpress" ); ?></option>
50
+ </select>
51
+ </div>
52
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
53
+
54
+ <p><?php printf( esc_html__( "Specifies the color that will be used in the player's video progress bar to highlight the amount of the video that the viewer has already seen. %s Note: Setting the color to white will disable the Modest Branding option (causing a YouTube logo to be displayed in the control bar).", 'embedpress'), '<br>'); ?></p>
55
+ </div>
56
+ </div>
57
+ <div class="form__group">
58
+ <p class="form__label"><?php esc_html_e( "Force Closed Captions", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>': ''; ?></p>
59
+ <div class="form__control__wrap">
60
+ <div class="input__flex <?php echo $pro_active ? '': 'isPro'; ?>">
61
+ <label class="input__radio">
62
+ <input type="radio" name="cc_load_policy" value="" <?php echo !$pro_active ? 'disabled ' : ''; checked( '', $cc_load_policy); ?>>
63
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
64
+ </label>
65
+ <label class="input__radio">
66
+ <input type="radio" name="cc_load_policy" value="1" <?php echo !$pro_active ? 'disabled ' : ''; checked( '1', $cc_load_policy);?>>
67
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
68
+ </label>
69
+ </div>
70
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
71
+
72
+ <p><?php printf( esc_html__( "Setting this option to %s causes closed captions to be shown by default, even if the user has turned captions off. This will be based on user preference otherwise.", "embedpress" ), '<strong>Yes</strong>'); ?></p>
73
+ </div>
74
+ </div>
75
+ <div class="form__group">
76
+ <p class="form__label"><?php esc_html_e( "Display Controls", "embedpress" ); ?></p>
77
+ <div class="form__control__wrap">
78
+ <div class="embedpress__select">
79
+ <span><i class="ep-icon ep-caret-down"></i></span>
80
+ <select name="controls">
81
+ <option value="1" <?php selected( '1', $controls); ?>><?php esc_html_e( 'Display immediately', 'embedpress'); ?></option>
82
+ <option value="2" <?php selected( '2', $controls); ?>><?php esc_html_e( 'Display after user initiation', 'embedpress'); ?></option>
83
+ <option value="0" <?php selected( '0', $controls); ?>><?php esc_html_e( 'Hide controls', 'embedpress'); ?></option>
84
+ </select>
85
+ </div>
86
+ <p><?php esc_html_e( 'Indicates whether the video player controls are displayed.', 'embedpress'); ?> </p>
87
+ </div>
88
+ </div>
89
+ <div class="form__group">
90
+ <p class="form__label"><?php esc_html_e( "Enable Fullscreen Button", "embedpress" ); ?></p>
91
+ <div class="form__control__wrap">
92
+ <div class="input__flex">
93
+ <label class="input__radio">
94
+ <input type="radio" name="fs" value="" <?php checked( '', $fs); ?> >
95
+ <span><?php esc_html_e( "No", "embedpress" ); ?></span>
96
+ </label>
97
+ <label class="input__radio">
98
+ <input type="radio" name="fs" value="1" <?php checked( '1', $fs); ?>>
99
+ <span><?php esc_html_e( "Yes", "embedpress" ); ?></span>
100
+ </label>
101
+ </div>
102
+ <p><?php esc_html_e( "Indicates whether the fullscreen button is enabled.", "embedpress" ); ?></p>
103
+ </div>
104
+ </div>
105
+ <div class="form__group">
106
+ <p class="form__label"><?php esc_html_e( "Display Video Annotations", "embedpress" ); ?></p>
107
+ <div class="form__control__wrap">
108
+ <div class="embedpress__select">
109
+ <span><i class="ep-icon ep-caret-down"></i></span>
110
+ <select name="iv_load_policy">
111
+ <option value="1" <?php selected( '1', $iv_load_policy); ?>><?php esc_html_e( "Show", "embedpress" ); ?></option>
112
+ <option value="3" <?php selected( '3', $iv_load_policy); ?>><?php esc_html_e( "Hide", "embedpress" ); ?></option>
113
+ </select>
114
+ </div>
115
+ <p><?php esc_html_e( "Indicates whether video annotations are displayed.", "embedpress" ); ?></p>
116
+ </div>
117
+ </div>
118
+ <div class="form__group">
119
+ <p class="form__label"><?php esc_html_e( "Display Related Videos", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?></p>
120
+ <div class="form__control__wrap">
121
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
122
+ <span><i class="ep-icon ep-caret-down"></i></span>
123
+ <select name="rel" <?php echo $pro_active ? '' : 'disabled'; ?>>
124
+ <option value="" <?php selected( '', $rel); ?>><?php esc_html_e( "From the same channel of the video", "embedpress" ); ?></option>
125
+ <option value="1" <?php selected( '1', $rel); ?>><?php esc_html_e( "Based on User's watch history", "embedpress" ); ?></option>
126
+ </select>
127
+ </div>
128
+
129
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
130
+
131
+ <p><?php esc_html_e( "Indicates how the player should show related videos when playback of the video pauses or ends.", "embedpress" ); ?></p>
132
+ </div>
133
+ </div>
134
+ <div class="form__group">
135
+ <p class="form__label"><?php esc_html_e( "Modest Branding", "embedpress" ); echo !$pro_active ? ' <span class="isPro">PRO</span>' : ''; ?></p>
136
+ <div class="form__control__wrap">
137
+ <div class="embedpress__select <?php echo $pro_active ? '': 'isPro'; ?>">
138
+ <span><i class="ep-icon ep-caret-down"></i></span>
139
+ <select name="modestbranding" <?php echo !$pro_active ? 'disabled' : ''; ?>>
140
+ <option value="1" <?php selected( '1', $modestbranding); ?>><?php esc_html_e( "Hide", "embedpress" ); ?></option>
141
+ <option value="0" <?php selected( '0', $modestbranding); ?>><?php esc_html_e( "Show", "embedpress" ); ?></option>
142
+ </select>
143
+ </div>
144
+ <?php if ( !$pro_active ) { include EMBEDPRESS_SETTINGS_PATH . 'templates/partials/alert-pro.php'; } ?>
145
+
146
+ <p><?php esc_html_e( "Indicates whether the player should display a YouTube logo in the control bar.", "embedpress" ); ?></p>
147
+ </div>
148
+ </div>
149
+ <?php do_action( 'embedpress_after_youtube_settings_fields'); ?>
150
+ <button class="button button__themeColor radius-10" name="submit" value="youtube"><?php esc_html_e( 'Save Changes', 'embedpress'); ?></button>
151
+ </form>
152
+ </div>
153
+ </div>
EmbedPress/Ends/Front/Handler.php CHANGED
@@ -60,6 +60,11 @@ class Handler extends EndHandlerAbstract
60
  */
61
  public static function autoEmbedUrls($content)
62
  {
 
 
 
 
 
63
  // Replace line breaks from all HTML elements with placeholders.
64
  $content = wp_replace_in_html_tags($content, ["\n" => '<!-- embedpress-line-break -->']);
65
 
@@ -108,7 +113,6 @@ class Handler extends EndHandlerAbstract
108
  public static function renderPreviewBoxInEditors($editorHTML)
109
  {
110
  $plgSettings = Core::getSettings();
111
-
112
  if ( ! is_admin() && (bool)$plgSettings->enablePluginInFront) {
113
  $backEndHandler = new BackEndHandler(EMBEDPRESS_PLG_NAME, EMBEDPRESS_VERSION);
114
 
60
  */
61
  public static function autoEmbedUrls($content)
62
  {
63
+ $plgSettings = Core::getSettings();
64
+
65
+ if (!is_admin() &&(bool)$plgSettings->enablePluginInFront === false ) {
66
+ return $content;
67
+ }
68
  // Replace line breaks from all HTML elements with placeholders.
69
  $content = wp_replace_in_html_tags($content, ["\n" => '<!-- embedpress-line-break -->']);
70
 
113
  public static function renderPreviewBoxInEditors($editorHTML)
114
  {
115
  $plgSettings = Core::getSettings();
 
116
  if ( ! is_admin() && (bool)$plgSettings->enablePluginInFront) {
117
  $backEndHandler = new BackEndHandler(EMBEDPRESS_PLG_NAME, EMBEDPRESS_VERSION);
118
 
EmbedPress/Includes/Classes/EmbedPress_Notice.php CHANGED
@@ -344,7 +344,7 @@ class EmbedPress_Notice {
344
  $classes .= 'notice-has-thumbnail';
345
  }
346
 
347
- echo '<div class="'. $classes .' wpdeveloper-'. $current_notice .'-notice">';
348
  }
349
  /**
350
  * After Notice
@@ -751,6 +751,7 @@ class EmbedPress_Notice {
751
  }
752
 
753
  public function notice_dissmiss(){
 
754
  if( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ), 'wpdeveloper_notice_dissmiss' ) ) {
755
  return;
756
  }
@@ -799,31 +800,29 @@ class EmbedPress_Notice {
799
  <script type="text/javascript">
800
  jQuery(document).ready( function($) {
801
  if( $('.notice').length > 0 ) {
802
- if( $('.notice').find('.notice-dismiss').length > 0 ) {
803
- $('.notice').on('click', 'button.notice-dismiss', function (e) {
804
- e.preventDefault();
805
- $.ajax({
806
- url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
807
- type: 'post',
808
- data: {
809
- action: 'wpdeveloper_notice_dissmiss_for_<?php echo $this->plugin_name; ?>',
810
- _wpnonce: '<?php echo wp_create_nonce('wpdeveloper_notice_dissmiss'); ?>',
811
- dismiss: true,
812
- notice: $(this).data('notice'),
813
- },
814
- success: function(response) {
815
- $('.notice').hide();
816
- console.log('Successfully saved!');
817
- },
818
- error: function(error) {
819
- console.log('Something went wrong!');
820
- },
821
- complete: function() {
822
- console.log('Its Complete.');
823
- }
824
- });
825
  });
826
- }
827
  }
828
  } );
829
  </script>
344
  $classes .= 'notice-has-thumbnail';
345
  }
346
 
347
+ echo '<div data-notice="'. $current_notice .'" class="'. $classes .' wpdeveloper-'. $current_notice .'-notice">';
348
  }
349
  /**
350
  * After Notice
751
  }
752
 
753
  public function notice_dissmiss(){
754
+
755
  if( ! isset( $_POST['_wpnonce'] ) || ! wp_verify_nonce( sanitize_key( wp_unslash( $_POST['_wpnonce'] ) ), 'wpdeveloper_notice_dissmiss' ) ) {
756
  return;
757
  }
800
  <script type="text/javascript">
801
  jQuery(document).ready( function($) {
802
  if( $('.notice').length > 0 ) {
803
+ $('.notice').on('click', 'button.notice-dismiss', function (e) {
804
+ e.preventDefault();
805
+ $.ajax({
806
+ url: '<?php echo admin_url( 'admin-ajax.php' ); ?>',
807
+ type: 'post',
808
+ data: {
809
+ action: 'wpdeveloper_notice_dissmiss_for_<?php echo $this->plugin_name; ?>',
810
+ _wpnonce: '<?php echo wp_create_nonce('wpdeveloper_notice_dissmiss'); ?>',
811
+ dismiss: true,
812
+ notice: $(this).parents('.notice').data('notice'),
813
+ },
814
+ success: function(response) {
815
+ $('.notice').hide();
816
+ console.log('Successfully saved!');
817
+ },
818
+ error: function(error) {
819
+ console.log('Something went wrong!');
820
+ },
821
+ complete: function() {
822
+ console.log('Its Complete.');
823
+ }
 
 
824
  });
825
+ });
826
  }
827
  } );
828
  </script>
EmbedPress/Includes/Traits/Shared.php CHANGED
@@ -111,6 +111,13 @@ trait Shared {
111
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
112
  }
113
 
 
 
 
 
 
 
 
114
  $notice->upsale_args = array(
115
  'href' => 'https://embedpress.com/?utm_source=plugin&utm_medium=free&utm_campaign=pro_upgrade#pricing',
116
  'btn_text' => __( 'Learn More', 'embedpress' ),
@@ -118,7 +125,8 @@ trait Shared {
118
 
119
  $notice->options_args = array(
120
  'notice_will_show' => [
121
- 'opt_in' => $notice->timestamp,
 
122
  'upsale' => $notice->makeTime( $notice->timestamp, '14 Day' ),
123
  'review' => $notice->makeTime( $notice->timestamp, '7 Day' ), // after 3 days
124
  ],
111
  $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
112
  }
113
 
114
+ if ( \version_compare( EMBEDPRESS_VERSION, '3.0.0', '=' ) ) {
115
+ $notice->classes( 'update', 'notice is-dismissible ' );
116
+ $notice->message( 'update', '<p>' . __( '
117
+ EmbedPress 3.0 is here with new features and options, read the details <a href="https://wpdeveloper.net/introducing-embedpress-3.0" target="_blank">here</a>, and check the new setting page. <a href="'. admin_url('admin.php?page=embedpress') .'">Click Here.</a>', $notice->text_domain ) . '</p>' );
118
+ $notice->thumbnail( 'update', plugins_url( 'assets/images/icon-128x128.png', EMBEDPRESS_PLUGIN_BASENAME ) );
119
+ }
120
+
121
  $notice->upsale_args = array(
122
  'href' => 'https://embedpress.com/?utm_source=plugin&utm_medium=free&utm_campaign=pro_upgrade#pricing',
123
  'btn_text' => __( 'Learn More', 'embedpress' ),
125
 
126
  $notice->options_args = array(
127
  'notice_will_show' => [
128
+ 'update' => $notice->timestamp,
129
+ 'opt_in' => $notice->makeTime( $notice->timestamp, '3 Day' ),
130
  'upsale' => $notice->makeTime( $notice->timestamp, '14 Day' ),
131
  'review' => $notice->makeTime( $notice->timestamp, '7 Day' ), // after 3 days
132
  ],
EmbedPress/Plugins/Plugin.php CHANGED
@@ -292,7 +292,9 @@ abstract class Plugin
292
  'embedpress-' . static::SLUG) . '">' . __('Settings', 'embedpress-' . static::SLUG) . '</a>';
293
 
294
  array_unshift($links, $settingsLink);
295
-
 
 
296
  return $links;
297
  }
298
  }
292
  'embedpress-' . static::SLUG) . '">' . __('Settings', 'embedpress-' . static::SLUG) . '</a>';
293
 
294
  array_unshift($links, $settingsLink);
295
+ if ( !is_embedpress_pro_active() ) {
296
+ $links[] = '<a href="https://wpdeveloper.net/in/upgrade-embedpress" target="_blank" class="embedpress-go-pro-action">'.__('Go Pro', 'embedpress').'</a>';
297
+ }
298
  return $links;
299
  }
300
  }
EmbedPress/Shortcode.php CHANGED
@@ -116,6 +116,13 @@ class Shortcode {
116
  // Converts any special HTML entities back to characters.
117
  $url = htmlspecialchars_decode( $url );
118
  $content_uid = md5( $url );
 
 
 
 
 
 
 
119
  self::$ombed_attributes = self::parseContentAttributes( $customAttributes, $content_uid );
120
  self::set_embera_settings(self::$ombed_attributes);
121
 
@@ -239,12 +246,13 @@ KAMAL;
239
  $parsedContent = apply_filters( 'pp_embed_parsed_content', $parsedContent, $urlData, self::get_oembed_attributes() );
240
 
241
  if ( !empty( $parsedContent ) ) {
242
- $embed = (object)array_merge( (array)$urlData, [
243
  'attributes' => (object) self::get_oembed_attributes(),
244
  'embed' => $parsedContent,
245
  'url' => $url,
246
  ] );
247
  $embed = apply_filters( 'embedpress:onAfterEmbed', $embed );
 
248
  return $embed;
249
  }
250
  }
@@ -266,11 +274,12 @@ KAMAL;
266
  }
267
 
268
  protected static function set_default_size( &$customAttributes ) {
 
269
  if (empty( $customAttributes['width'])) {
270
- $customAttributes['width'] = 600;
271
  }
272
  if (empty( $customAttributes['height'])) {
273
- $customAttributes['height'] = 550;
274
  }
275
  }
276
 
116
  // Converts any special HTML entities back to characters.
117
  $url = htmlspecialchars_decode( $url );
118
  $content_uid = md5( $url );
119
+ $hash = 'embedpress_'.$content_uid . md5( implode( ':', array_values( $customAttributes)));
120
+
121
+ // check if we have data cached
122
+ if ( $embed = get_transient( $hash) ) {
123
+ $embed = apply_filters( 'embedpress:onAfterEmbed', $embed );
124
+ return $embed;
125
+ }
126
  self::$ombed_attributes = self::parseContentAttributes( $customAttributes, $content_uid );
127
  self::set_embera_settings(self::$ombed_attributes);
128
 
246
  $parsedContent = apply_filters( 'pp_embed_parsed_content', $parsedContent, $urlData, self::get_oembed_attributes() );
247
 
248
  if ( !empty( $parsedContent ) ) {
249
+ $embed = (object) array_merge( (array)$urlData, [
250
  'attributes' => (object) self::get_oembed_attributes(),
251
  'embed' => $parsedContent,
252
  'url' => $url,
253
  ] );
254
  $embed = apply_filters( 'embedpress:onAfterEmbed', $embed );
255
+ set_transient( $hash, $embed, HOUR_IN_SECONDS * 6);
256
  return $embed;
257
  }
258
  }
274
  }
275
 
276
  protected static function set_default_size( &$customAttributes ) {
277
+ $plgSettings = Core::getSettings();
278
  if (empty( $customAttributes['width'])) {
279
+ $customAttributes['width'] = !empty( $plgSettings->enableEmbedResizeWidth) ? $plgSettings->enableEmbedResizeWidth : 600;
280
  }
281
  if (empty( $customAttributes['height'])) {
282
+ $customAttributes['height'] = !empty( $plgSettings->enableEmbedResizeHeight) ? $plgSettings->enableEmbedResizeHeight : 550;
283
  }
284
  }
285
 
Gutenberg/dist/blocks.build.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return h}),n.d(t,"a",function(){return w}),n.d(t,"b",function(){return b});var r=wp.components,i=r.G,o=r.Path,a=(r.Polygon,r.SVG),l=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#2196F3"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",enableBackground:"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14c1.1045704,0,2-0.8954296,2-2 V6z",style:{fill:"#FFC720"}}),wp.element.createElement(o,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(o,{d:"M19,23.75H5c-1.1045532,0-2-0.8954468-2-2V22c0,1.1045532,0.8954468,2,2,2h14c1.1045532,0,2-0.8954468,2-2 v-0.25C21,22.8545532,20.1045532,23.75,19,23.75z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(o,{d:"M17,5.75c-1.1045532,0-2-0.8954468-2-2V4c0,1.1045532,0.8954468,2,2,2h4l-0.25-0.25H17z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0H5C3.8954468,0,3,0.8953857,3,2v0.25c0-1.1046143,0.8954468-2,2-2h10",style:{fill:"#FFFFFF",opacity:"0.2"}}),wp.element.createElement(o,{d:"M15.5,9h-7C7.6728516,9,7,9.6728516,7,10.5v6C7,17.3271484,7.6728516,18,8.5,18h7 c0.8271484,0,1.5-0.6728516,1.5-1.5v-6C17,9.6728516,16.3271484,9,15.5,9z M8,15.5V11h8v4.5H8z",style:{fill:"#FFFFFF"}}),wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14 c1.1045704,0,2-0.8954296,2-2V6z",style:{fill:"url(#SVGID_2_)"}}))),s=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#43A047"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#7850C1"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#DE5245"},d:"M37,45H11c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h19l10,10v29C40,43.7,38.7,45,37,45z"}),wp.element.createElement(o,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(o,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M20.5,32c-3,0-5.5-2.5-5.5-5.5c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5C26,29.5,23.5,32,20.5,32z M20.5,23c-1.9,0-3.5,1.6-3.5,3.5s1.6,3.5,3.5,3.5s3.5-1.6,3.5-3.5S22.4,23,20.5,23z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M27.6,29c-0.6,1.8-1.9,3.3-3.6,4.1V38h9v-9H27.6z"}))),m=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#1C9957"},d:"M 42 39 L 42 9 C 42 7.34375 40.65625 6 39 6 L 9 6 C 7.34375 6 6 7.34375 6 9 L 6 39 C 6 40.65625 7.34375 42 9 42 L 39 42 C 40.65625 42 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#3E7BF1"},d:"M 9 42 L 39 42 C 40.65625 42 24 26 24 26 C 24 26 7.34375 42 9 42 Z "}),wp.element.createElement(o,{style:{fill:"#CBCCC9"},d:"M 42 39 L 42 9 C 42 7.34375 26 24 26 24 C 26 24 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#EFEFEF"},d:"M 39 42 C 40.65625 42 42 40.65625 42 39 L 42 38.753906 L 26.246094 23 L 23 26.246094 L 38.753906 42 Z "}),wp.element.createElement(o,{style:{fill:"#FFD73D"},d:"M 42 9 C 42 7.34375 40.65625 6 39 6 L 38.753906 6 L 6 38.753906 L 6 39 C 6 40.65625 7.34375 42 9 42 L 9.246094 42 L 42 9.246094 Z "}),wp.element.createElement(o,{style:{fill:"#D73F35"},d:"M 36 2 C 30.476563 2 26 6.476563 26 12 C 26 18.8125 33.664063 21.296875 35.332031 31.851563 C 35.441406 32.53125 35.449219 33 36 33 C 36.550781 33 36.558594 32.53125 36.667969 31.851563 C 38.335938 21.296875 46 18.8125 46 12 C 46 6.476563 41.523438 2 36 2 Z "}),wp.element.createElement(o,{style:{fill:"#752622"},d:"M 39.5 12 C 39.5 13.933594 37.933594 15.5 36 15.5 C 34.066406 15.5 32.5 13.933594 32.5 12 C 32.5 10.066406 34.066406 8.5 36 8.5 C 37.933594 8.5 39.5 10.066406 39.5 12 Z "}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 14.492188 12.53125 L 14.492188 14.632813 L 17.488281 14.632813 C 17.09375 15.90625 16.03125 16.816406 14.492188 16.816406 C 12.660156 16.816406 11.175781 15.332031 11.175781 13.5 C 11.175781 11.664063 12.660156 10.179688 14.492188 10.179688 C 15.316406 10.179688 16.070313 10.484375 16.648438 10.980469 L 18.195313 9.433594 C 17.21875 8.542969 15.921875 8 14.492188 8 C 11.453125 8 8.992188 10.464844 8.992188 13.5 C 8.992188 16.535156 11.453125 19 14.492188 19 C 19.304688 19 20.128906 14.683594 19.675781 12.539063 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 12 32 L 12 8 L 39 8 L 39 26 L 33 32 L 24 32 L 18 38 L 18 32 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 9 5 L 6 12.121094 L 6 38 L 15 38 L 15 43 L 20 43 L 25 38 L 32 38 L 42 28 L 42 5 Z M 38 26 L 33 31 L 24 31 L 19 36 L 19 31 L 13 31 L 13 9 L 38 9 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#148ee0"},d:"M766.89,229.17c0,0 -17.78,35.38 -106.5,91.3c-37.82,23.79 -116.36,49.1 -217.33,58.86c-54.52,5.29 -154.9,0.99 -197.96,0.99c-43.29,0 -63.13,9.12 -101.95,52.84c-143.15,161.36 -143.15,161.36 -143.15,161.36c0,0 49.57,0.24 87.01,0.24c37.43,0 271.55,13.59 375.43,-14.98c337.36,-92.72 304.46,-350.62 304.46,-350.62z"}),wp.element.createElement(o,{style:{fill:"#54bbff"},d:"M757.84,126.66c16.23,-98.97 -39.68,-126.16 -39.68,-126.16c0,0 2.36,80.57 -145.7,97.65c-131.42,15.16 -572.46,3.74 -572.46,3.74c0,0 0,0 141.74,162.54c38.39,44.06 58.76,49.17 101.92,52.22c43.16,2.89 138.42,1.86 202.99,-3.05c70.58,-5.41 171.17,-28.43 239.19,-81.11c34.88,-26.98 65.21,-64.48 72,-105.83z"}))),h=wp.element.createElement(a,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement(o,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})),w=(wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 23"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{style:{fill:"#DA2B28"},className:"st0",d:"M55.4,3.7c-0.2-0.9-0.6-1.6-1.3-2.2c-0.7-0.6-1.4-0.9-2.3-1c-2.7-0.3-6.8-0.4-12.3-0.4 c-5.5,0-9.6,0.1-12.3,0.4c-0.9,0.1-1.6,0.5-2.3,1c-0.7,0.6-1.1,1.3-1.3,2.2c-0.4,1.7-0.6,4.3-0.6,7.8c0,3.5,0.2,6.1,0.6,7.8 c0.2,0.9,0.6,1.6,1.3,2.2c0.7,0.6,1.4,0.9,2.3,1c2.7,0.3,6.8,0.5,12.3,0.5c5.5,0,9.6-0.2,12.3-0.5c0.9-0.1,1.6-0.4,2.3-1 c0.7-0.6,1.1-1.3,1.3-2.2c0.4-1.7,0.6-4.3,0.6-7.8C56,8,55.8,5.4,55.4,3.7L55.4,3.7z M32.5,6h-2.4v12.6h-2.2V6h-2.3V3.9h6.9V6z M38.5,18.6h-2v-1.2c-0.8,0.9-1.6,1.4-2.3,1.4c-0.7,0-1.1-0.3-1.3-0.8c-0.1-0.4-0.2-0.9-0.2-1.6V7.6h2v8.1c0,0.5,0,0.7,0,0.8 c0,0.3,0.2,0.5,0.5,0.5c0.4,0,0.8-0.3,1.3-0.9V7.6h2V18.6z M46.1,15.3c0,1.1-0.1,1.8-0.2,2.2c-0.3,0.8-0.8,1.2-1.6,1.2 c-0.7,0-1.4-0.4-2.1-1.2v1.1h-2V3.9h2v4.8c0.6-0.8,1.3-1.2,2.1-1.2c0.8,0,1.3,0.4,1.6,1.2c0.1,0.4,0.2,1.1,0.2,2.2V15.3z M53.5,13.5h-4v1.9c0,1,0.3,1.5,1,1.5c0.5,0,0.8-0.3,0.9-0.8c0-0.1,0-0.6,0-1.4h2v0.3c0,0.7,0,1.2,0,1.3c0,0.4-0.2,0.8-0.5,1.2 c-0.5,0.8-1.3,1.2-2.4,1.2c-1,0-1.8-0.4-2.4-1.1c-0.4-0.5-0.6-1.4-0.6-2.6v-3.8c0-1.2,0.2-2,0.6-2.6c0.6-0.8,1.4-1.1,2.4-1.1 c1,0,1.8,0.4,2.3,1.1c0.4,0.5,0.6,1.4,0.6,2.6V13.5z M53.5,13.5"}),wp.element.createElement("path",{className:"st0",d:"M43.2,9.3c-0.3,0-0.7,0.2-1,0.5v6.7c0.3,0.3,0.7,0.5,1,0.5c0.6,0,0.9-0.5,0.9-1.5v-4.7 C44.1,9.8,43.8,9.3,43.2,9.3L43.2,9.3z M43.2,9.3"}),wp.element.createElement("path",{className:"st0",d:"M50.6,9.3c-0.7,0-1,0.5-1,1.5v1h2v-1C51.6,9.8,51.2,9.3,50.6,9.3L50.6,9.3z M50.6,9.3"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2.8,12.8v6h2.2v-6L7.7,4H5.5L4,9.8L2.4,4H0.1c0.4,1.2,0.9,2.6,1.4,4.1C2.2,10.2,2.6,11.7,2.8,12.8L2.8,12.8z M2.8,12.8"}),wp.element.createElement("path",{d:"M10.7,19c1,0,1.8-0.4,2.3-1.1c0.4-0.5,0.6-1.4,0.6-2.6v-3.9c0-1.2-0.2-2-0.6-2.6c-0.5-0.8-1.3-1.1-2.3-1.1 c-1,0-1.8,0.4-2.3,1.1C8,9.3,7.8,10.2,7.8,11.4v3.9c0,1.2,0.2,2.1,0.6,2.6C8.9,18.6,9.7,19,10.7,19L10.7,19z M9.8,11 c0-1,0.3-1.5,1-1.5c0.6,0,1,0.5,1,1.5v4.7c0,1-0.3,1.6-1,1.6c-0.6,0-1-0.5-1-1.6V11z M9.8,11"}),wp.element.createElement("path",{d:"M16.8,19c0.7,0,1.5-0.5,2.3-1.4v1.2h2V7.8h-2v8.4c-0.4,0.6-0.9,1-1.3,1c-0.3,0-0.4-0.2-0.5-0.5c0,0,0-0.3,0-0.8V7.8h-2 v8.7c0,0.8,0.1,1.3,0.2,1.7C15.7,18.7,16.1,19,16.8,19L16.8,19z M16.8,19"})))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 276 340"},wp.element.createElement("path",{d:"M196.7.6H24.3C11.1.6.4 11.3.4 24.6v292.9c0 12.3 10 22.2 22.2 22.2H252c13.3 0 23.9-10.7 23.9-23.9V80.9L196.7.6z",fill:"#e94848"}),wp.element.createElement("path",{d:"M196.7 57c0 13.3 10.7 23.9 23.9 23.9H276L196.7.6V57z",fill:"#f19191"}),wp.element.createElement("linearGradient",{id:"A",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"77.111",x2:"116.568",y2:"77.111"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M113 84.5H48.3c-1.9 0-3.5-1.6-3.5-3.5v-7.7c0-1.9 1.6-3.5 3.5-3.5H113c1.9 0 3.5 1.6 3.5 3.5V81c.1 1.9-1.5 3.5-3.5 3.5z",fill:"url(#A)"}),wp.element.createElement("linearGradient",{id:"B",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.016",x2:"233.927",y2:"136.016"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",opacity:".8",fill:"url(#B)"}),wp.element.createElement("linearGradient",{id:"C",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.993",x2:"233.927",y2:"135.993"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"33.6",opacity:".7",fill:"url(#C)"}),wp.element.createElement("linearGradient",{id:"D",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.969",x2:"233.927",y2:"135.969"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"67.2",opacity:".6",fill:"url(#D)"}),wp.element.createElement("linearGradient",{id:"E",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.045",x2:"233.927",y2:"136.045"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"100.7",opacity:".4",fill:"url(#E)"}),wp.element.createElement("linearGradient",{id:"F",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"270.322",x2:"174.778",y2:"270.322"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M171.9 277.7H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9h124.3c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z",opacity:".3",fill:"url(#F)"}),wp.element.createElement("defs",null,wp.element.createElement("path",{id:"H",d:"M231 143.4H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9H231c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z"})))),b=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270",role:"img",focusable:"false"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,i=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=i},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,i=wp.components,o=i.IconButton,a=i.Toolbar,l=wp.editor.BlockControls,c=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(r,null,wp.element.createElement(l,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=c},function(e,t,n){"use strict";var r=n(11),i=n.n(r),o=wp.i18n,__=o.__,_x=o._x,a=wp.components,l=a.Button,c=a.Placeholder,s=a.ExternalLink,u=wp.blockEditor.BlockIcon,p=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,p=e.cannotEmbed,m=e.docLink,f=e.DocTitle,d=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(c,{icon:wp.element.createElement(u,{icon:t,showColors:!0}),label:n,className:d},wp.element.createElement("form",{onSubmit:o},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:__("Enter URL to embed here\u2026"),onChange:a}),wp.element.createElement(l,{isSmall:!0,type:"submit"},_x("Embed","button label")),p&&wp.element.createElement("p",{className:"components-placeholder__error"},__("Sorry, we could not embed that content."),wp.element.createElement("br",null))),m&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(s,{href:m},f))))};t.a=p},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(7),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40),n(44),n(48);!function(){var e=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})));wp.blocks.updateCategory("embedpress",{icon:e})}()},function(e,t,n){"use strict";var r=n(8),i=(n.n(r),n(9)),o=(n.n(i),n(10)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-docs-block",{title:__("Google Docs"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"document"===a?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.c,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameBorder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)o.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),o=(n.n(i),n(15)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-slides-block",{title:__("Google Slides"),icon:a.h,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"presentation"==a?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Slides URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),o=(n.n(i),n(19)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-sheets-block",{title:__("Google Sheets"),icon:a.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];if(a&&"spreadsheets"==a){if(r.indexOf("?")>-1){var l=r.split("?");if(l=l[1],l=l.split("&"),console.log(l),l.length>0){var c=!1,s=!1;l.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Sheets URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),o=(n.n(i),n(23)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-forms-block",{title:__("Google Forms"),icon:a.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"forms"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Forms URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=h},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),o=(n.n(i),n(27)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-drawings-block",{title:__("Google Drawings"),icon:a.d,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.element,m=p.Component,f=p.Fragment,d=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return o(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"drawings"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,u=this.props.attributes.iframeSrc,p=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:p,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:s.d,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:u&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=d},function(e,t,n){"use strict";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=n(29),o=(n.n(i),n(30)),a=(n.n(o),n(31)),l=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("maps")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:a.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,o=i.exec(r);o&&o.length>1&&o[1]&&o[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+o[1]+"&spn="+o[1]+"&t=m&z="+Math.round(parseInt(o[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Maps URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),o=(n.n(i),n(35)),a=n(0),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/twitch-block",{title:__("Twitch"),icon:a.i,category:"embedpress",keywords:[__("embedpress"),__("twitch")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,i=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:i},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),o=r.exec(i),a=o[1];console.log(a);var l,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=o[2],i="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,w=f.attrs,b=__("Twitch URL");if(!d||r)return wp.element.createElement(c.a,{label:b,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=d+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:y},w,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=w},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),o=(n.n(i),n(39)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/wistia-block",{title:__("Wistia"),icon:a.j,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],o="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:o})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Wistia URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.j,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),o=(n.n(i),n(43)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/youtube-block",{title:__("Youtube"),icon:a.k,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,w=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],o="https://www.youtube.com/embed/"+i,a=new URL(o);if("undefined"!==typeof embedpressProObj)for(var l in embedpressProObj.youtubeParams)a.searchParams.set(l,embedpressProObj.youtubeParams[l]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:a.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,w=f.attrs,b=__("Youtube URL");return!d||r?wp.element.createElement(c.a,{label:b,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.k,DocTitle:__("Learn More About Youtube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:d},w,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=w},function(e,t,n){"use strict";var r=n(45),i=(n.n(r),n(46)),o=(n.n(i),n(47)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/document",{title:__("Document"),icon:a.a,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("ppt")],supports:{align:["wide","full","right","left"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:600},fileName:{type:"string"},mime:{type:"string"}},edit:o.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,i=t.id,o=t.width,a=t.height,l=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("figure",{className:"embedpress-embed-document"},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:o},className:"embedpress-embed-document-pdf "+i,"data-emid":i,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:o},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),l&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(4),l=n(1),c=n(0),s=function(){function e(e,t){var n=[],_n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(_n=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,i=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.blob,m=p.getBlobByURL,f=p.isBlobURL,d=p.revokeBlobURL,h=wp.editor,w=h.BlockIcon,b=h.MediaPlaceholder,y=h.InspectorControls,v=wp.element,g=v.Component,E=v.Fragment,L=wp.components,k=L.RangeControl,_=L.PanelBody,O=L.ExternalLink,S=L.ToggleControl,U=["application/pdf","application/msword","application/vnd.ms-powerpoint","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation"],R=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectFile=e.onSelectFile.bind(e),e.onUploadError=e.onUploadError.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return o(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,i=t.noticeOperations,o=n.href;if(f(o)){r({filesList:[m(o)],onFileChange:function(t){var n=s(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),i.createErrorNotice(t)}}),d(o)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&(this.setState({loadPdf:!1}),PDFObject.embed(this.props.attributes.href,"."+this.props.attributes.id))}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,id:"embedpress-pdf-"+Date.now(),mime:e.mime}),embedpressObj.embedpress_pro&&this.props.setAttributes({powered_by:!1}),"application/pdf"===e.mime&&(this.setState({loadPdf:!1}),PDFObject.embed(e.url,"."+this.props.attributes.id)))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.noticeUI,r=e.setAttributes,i=t.href,o=t.mime,s=t.id,u=t.width,p=t.height,m=t.powered_by,f=this.state,d=f.hasError,h=f.interactive,v=f.fetching,g=f.loadPdf;if(!i||d)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(b,{icon:wp.element.createElement(w,{icon:c.a}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:U,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(O,{href:"https://embedpress.com/docs/embed-docuemnt/"},"Learn more about Embedded document "))));var L="//view.officeapps.live.com/op/embed.aspx?src="+i;return wp.element.createElement(E,null,v&&"application/pdf"!==o?wp.element.createElement(l.a,null):null,"application/pdf"===o&&wp.element.createElement("div",{style:{height:p,width:u},className:"embedpress-embed-document-pdf "+s,"data-emid":s,"data-emsrc":i}),"application/pdf"!==o&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:p,width:u,display:v||!g?"none":""},onLoad:this.onLoad,src:L}),!h&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),m&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement(y,{key:"inspector"},wp.element.createElement(_,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:p,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:m}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(g);t.a=R},function(e,t,n){"use strict";var r=n(49),i=(n.n(r),n(50)),o=(n.n(i),n(51)),a=n(0),__=wp.i18n.__;(0,wp.blocks.registerBlockType)("embedpress/embedpress",{title:__("EmbedPress"),icon:a.b,category:"embedpress",keywords:["embedpress","embed","google","youtube","docs"],supports:{align:["right","left","center"],default:"center",lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},embedHTML:{type:"string",default:""},height:{type:"string",default:"450"},width:{type:"string",default:"600"},editingURL:{type:"boolean",default:!1},fetching:{type:"boolean",default:!1},cannotEmbed:{type:"boolean",default:!1},interactive:{type:"boolean",default:!1},align:{type:"string",default:"center"}},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,o){try{var a=t[i](o),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)});e(l)}return r("next")})}}function i(e){function t(){f({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),b){f({fetching:!0}),console.log("test");(function(){var e=r(a.a.mark(function e(n){return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+n+"&width="+k+"&height="+L).then(function(e){return e.json()});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(b).then(function(e){f({fetching:!1}),f(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else f({cannotEmbed:!0,fetching:!1,editingURL:!0})}var i=e.attributes,o=e.className,f=e.setAttributes,b=i.url,y=i.editingURL,v=i.fetching,g=i.cannotEmbed,E=(i.interactive,i.embedHTML),L=i.height,k=i.width;return wp.element.createElement(w,null,wp.element.createElement(m.InspectorControls,null,wp.element.createElement(h,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(d,{label:__("Width"),value:k,onChange:function(e){return f({width:e})}}),wp.element.createElement(d,{label:__("Height"),value:L,onChange:function(e){return f({height:e})}}),E&&!y&&wp.element.createElement("button",{onClick:n},__("Apply")))),(!E||y)&&!v&&wp.element.createElement(s.a,{label:__("EmbedPress - Embed anything from 100+ sites"),onSubmit:n,value:b,cannotEmbed:g,onChange:function(e){return f({url:e.target.value})},icon:p.b,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"}),v?wp.element.createElement("div",{className:o},wp.element.createElement(c.a,null)," "):null,E&&!y&&!v&&wp.element.createElement("figure",Object(m.useBlockProps)(),wp.element.createElement(u.a,{style:{display:v?"none":""},dangerouslySetInnerHTML:{__html:E}}),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:f({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:E&&!g,switchBackToURLInput:t})))}t.a=i;var o=n(52),a=n.n(o),l=n(2),c=n(1),s=n(3),u=n(55),p=n(0),m=n(56),__=(n.n(m),wp.i18n.__),f=wp.components,d=f.TextControl,h=f.PanelBody,w=wp.element.Fragment},function(e,t,n){e.exports=n(53)},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(54),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),l=new f(r||[]);return a._invoke=s(e,n,l),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,i,o,a){var l=r(e[n],e,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"===typeof s&&y.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(s).then(function(e){c.value=e,o(c)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function s(e,t,n){var i=O;return function(o,a){if(i===U)throw new Error("Generator is already running");if(i===R){if("throw"===o)throw a;return h()}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var c=u(l,n);if(c){if(c===C)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===O)throw i=R,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=U;var s=r(e,t,n);if("normal"===s.type){if(i=n.done?R:S,s.arg===C)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=R,n.method="throw",n.arg=s.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===w){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=w,u(e,t),"throw"===t.method))return C;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return C}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,C;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=w),t.delegate=null,C):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,C)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[g];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=w,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:w,done:!0}}var w,b=Object.prototype,y=b.hasOwnProperty,v="function"===typeof Symbol?Symbol:{},g=v.iterator||"@@iterator",E=v.asyncIterator||"@@asyncIterator",L=v.toStringTag||"@@toStringTag",k="object"===typeof e,_=t.regeneratorRuntime;if(_)return void(k&&(e.exports=_));_=t.regeneratorRuntime=k?e.exports:{},_.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",R="completed",C={},x={};x[g]=function(){return this};var M=Object.getPrototypeOf,T=M&&M(M(d([])));T&&T!==b&&y.call(T,g)&&(x=T);var j=a.prototype=i.prototype=Object.create(x);o.prototype=j.constructor=a,a.constructor=o,a[L]=o.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(j),e},_.awrap=function(e){return{__await:e}},l(c.prototype),c.prototype[E]=function(){return this},_.AsyncIterator=c,_.async=function(e,t,r,i){var o=new c(n(e,t,r,i));return _.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(j),j[L]="Generator",j[g]=function(){return this},j.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=w,this.done=!1,this.delegate=null,this.method="next",this.arg=w,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=w)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=w),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),l=y.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,C):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),C},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),C}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;m(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=w),C}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("div",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p},function(e,t){e.exports=wp.blockEditor}]);
1
+ !function(e){function t(r){if(n[r])return n[r].exports;var i=n[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,t),i.l=!0,i.exports}var n={};t.m=e,t.c=n,t.d=function(e,n,r){t.o(e,n)||Object.defineProperty(e,n,{configurable:!1,enumerable:!0,get:r})},t.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return t.d(n,"a",n),n},t.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},t.p="",t(t.s=6)}([function(e,t,n){"use strict";n.d(t,"c",function(){return l}),n.d(t,"h",function(){return c}),n.d(t,"g",function(){return s}),n.d(t,"e",function(){return u}),n.d(t,"d",function(){return p}),n.d(t,"f",function(){return m}),n.d(t,"i",function(){return f}),n.d(t,"j",function(){return d}),n.d(t,"k",function(){return h}),n.d(t,"a",function(){return b}),n.d(t,"b",function(){return w});var r=wp.components,i=r.G,o=r.Path,a=(r.Polygon,r.SVG),l=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#2196F3"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#BBDEFB"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#1565C0"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 23 L 33 23 L 33 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 27 L 33 27 L 33 29 L 15 29 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 31 L 33 31 L 33 33 L 15 33 Z "}),wp.element.createElement(o,{style:{fill:"#E3F2FD"},d:"M 15 35 L 25 35 L 25 37 L 15 37 Z "}))),c=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",enableBackground:"new 0 0 24 24",id:"Layer_2",version:"1.1",viewBox:"0 0 24 24"},wp.element.createElement(i,null,wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14c1.1045704,0,2-0.8954296,2-2 V6z",style:{fill:"#FFC720"}}),wp.element.createElement(o,{d:"M17,6c-0.5444336,0-1.0367432-0.2190552-1.3973999-0.5719604L21,10.8254395V6H17z",style:{fill:"url(#SVGID_1_)"}}),wp.element.createElement(o,{d:"M19,23.75H5c-1.1045532,0-2-0.8954468-2-2V22c0,1.1045532,0.8954468,2,2,2h14c1.1045532,0,2-0.8954468,2-2 v-0.25C21,22.8545532,20.1045532,23.75,19,23.75z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0v4c0,1.1045694,0.8954306,2,2,2h4L15,0z",style:{fill:"#FFE083"}}),wp.element.createElement(o,{d:"M17,5.75c-1.1045532,0-2-0.8954468-2-2V4c0,1.1045532,0.8954468,2,2,2h4l-0.25-0.25H17z",style:{opacity:"0.1"}}),wp.element.createElement(o,{d:"M15,0H5C3.8954468,0,3,0.8953857,3,2v0.25c0-1.1046143,0.8954468-2,2-2h10",style:{fill:"#FFFFFF",opacity:"0.2"}}),wp.element.createElement(o,{d:"M15.5,9h-7C7.6728516,9,7,9.6728516,7,10.5v6C7,17.3271484,7.6728516,18,8.5,18h7 c0.8271484,0,1.5-0.6728516,1.5-1.5v-6C17,9.6728516,16.3271484,9,15.5,9z M8,15.5V11h8v4.5H8z",style:{fill:"#FFFFFF"}}),wp.element.createElement(o,{d:"M21,6l-6-6H5C3.8954306,0,3,0.8954305,3,2v20c0,1.1045704,0.8954306,2,2,2h14 c1.1045704,0,2-0.8954296,2-2V6z",style:{fill:"url(#SVGID_2_)"}}))),s=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#43A047"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C8E6C9"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 31 23 L 15 23 L 15 37 L 33 37 L 33 23 Z M 17 25 L 21 25 L 21 27 L 17 27 Z M 17 29 L 21 29 L 21 31 L 17 31 Z M 17 33 L 21 33 L 21 35 L 17 35 Z M 31 35 L 23 35 L 23 33 L 31 33 Z M 31 31 L 23 31 L 23 29 L 31 29 Z M 31 27 L 23 27 L 23 25 L 31 25 Z "}))),u=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#7850C1"},d:"M 37 45 L 11 45 C 9.34375 45 8 43.65625 8 42 L 8 6 C 8 4.34375 9.34375 3 11 3 L 30 3 L 40 13 L 40 42 C 40 43.65625 38.65625 45 37 45 Z "}),wp.element.createElement(o,{style:{fill:"#C2ABE1"},d:"M 40 13 L 30 13 L 30 3 Z "}),wp.element.createElement(o,{style:{fill:"#2E7D32"},d:"M 30 13 L 40 23 L 40 13 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 23 L 33 23 L 33 25 L 19 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 28 L 33 28 L 33 30 L 19 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 19 33 L 33 33 L 33 35 L 19 35 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 23 L 17 23 L 17 25 L 15 25 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 28 L 17 28 L 17 30 L 15 30 Z "}),wp.element.createElement(o,{style:{fill:"#E8F5E9"},d:"M 15 33 L 17 33 L 17 35 L 15 35 Z "}))),p=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#DE5245"},d:"M37,45H11c-1.7,0-3-1.3-3-3V6c0-1.7,1.3-3,3-3h19l10,10v29C40,43.7,38.7,45,37,45z"}),wp.element.createElement(o,{style:{fill:"#EEA6A0"},d:"M40,13H30V3L40,13z"}),wp.element.createElement(o,{style:{fill:"#B3433A"},d:"M30,13l10,10V13H30z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M20.5,32c-3,0-5.5-2.5-5.5-5.5c0-3,2.5-5.5,5.5-5.5s5.5,2.5,5.5,5.5C26,29.5,23.5,32,20.5,32z M20.5,23c-1.9,0-3.5,1.6-3.5,3.5s1.6,3.5,3.5,3.5s3.5-1.6,3.5-3.5S22.4,23,20.5,23z"}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M27.6,29c-0.6,1.8-1.9,3.3-3.6,4.1V38h9v-9H27.6z"}))),m=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#1C9957"},d:"M 42 39 L 42 9 C 42 7.34375 40.65625 6 39 6 L 9 6 C 7.34375 6 6 7.34375 6 9 L 6 39 C 6 40.65625 7.34375 42 9 42 L 39 42 C 40.65625 42 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#3E7BF1"},d:"M 9 42 L 39 42 C 40.65625 42 24 26 24 26 C 24 26 7.34375 42 9 42 Z "}),wp.element.createElement(o,{style:{fill:"#CBCCC9"},d:"M 42 39 L 42 9 C 42 7.34375 26 24 26 24 C 26 24 42 40.65625 42 39 Z "}),wp.element.createElement(o,{style:{fill:"#EFEFEF"},d:"M 39 42 C 40.65625 42 42 40.65625 42 39 L 42 38.753906 L 26.246094 23 L 23 26.246094 L 38.753906 42 Z "}),wp.element.createElement(o,{style:{fill:"#FFD73D"},d:"M 42 9 C 42 7.34375 40.65625 6 39 6 L 38.753906 6 L 6 38.753906 L 6 39 C 6 40.65625 7.34375 42 9 42 L 9.246094 42 L 42 9.246094 Z "}),wp.element.createElement(o,{style:{fill:"#D73F35"},d:"M 36 2 C 30.476563 2 26 6.476563 26 12 C 26 18.8125 33.664063 21.296875 35.332031 31.851563 C 35.441406 32.53125 35.449219 33 36 33 C 36.550781 33 36.558594 32.53125 36.667969 31.851563 C 38.335938 21.296875 46 18.8125 46 12 C 46 6.476563 41.523438 2 36 2 Z "}),wp.element.createElement(o,{style:{fill:"#752622"},d:"M 39.5 12 C 39.5 13.933594 37.933594 15.5 36 15.5 C 34.066406 15.5 32.5 13.933594 32.5 12 C 32.5 10.066406 34.066406 8.5 36 8.5 C 37.933594 8.5 39.5 10.066406 39.5 12 Z "}),wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 14.492188 12.53125 L 14.492188 14.632813 L 17.488281 14.632813 C 17.09375 15.90625 16.03125 16.816406 14.492188 16.816406 C 12.660156 16.816406 11.175781 15.332031 11.175781 13.5 C 11.175781 11.664063 12.660156 10.179688 14.492188 10.179688 C 15.316406 10.179688 16.070313 10.484375 16.648438 10.980469 L 18.195313 9.433594 C 17.21875 8.542969 15.921875 8 14.492188 8 C 11.453125 8 8.992188 10.464844 8.992188 13.5 C 8.992188 16.535156 11.453125 19 14.492188 19 C 19.304688 19 20.128906 14.683594 19.675781 12.539063 Z "}))),f=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 48 48",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#FFFFFF"},d:"M 12 32 L 12 8 L 39 8 L 39 26 L 33 32 L 24 32 L 18 38 L 18 32 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 9 5 L 6 12.121094 L 6 38 L 15 38 L 15 43 L 20 43 L 25 38 L 32 38 L 42 28 L 42 5 Z M 38 26 L 33 31 L 24 31 L 19 36 L 19 31 L 13 31 L 13 9 L 38 9 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 32 25 L 27 25 L 27 15 L 32 15 Z "}),wp.element.createElement(o,{style:{fill:"#8E24AA"},d:"M 24 25 L 19 25 L 19 15 L 24 15 Z "}))),d=wp.element.createElement(a,{xmlns:"http://www.w3.org/1999/xlink",viewBox:"0 0 769 598",version:"1.1"},wp.element.createElement(i,null,wp.element.createElement(o,{style:{fill:"#148ee0"},d:"M766.89,229.17c0,0 -17.78,35.38 -106.5,91.3c-37.82,23.79 -116.36,49.1 -217.33,58.86c-54.52,5.29 -154.9,0.99 -197.96,0.99c-43.29,0 -63.13,9.12 -101.95,52.84c-143.15,161.36 -143.15,161.36 -143.15,161.36c0,0 49.57,0.24 87.01,0.24c37.43,0 271.55,13.59 375.43,-14.98c337.36,-92.72 304.46,-350.62 304.46,-350.62z"}),wp.element.createElement(o,{style:{fill:"#54bbff"},d:"M757.84,126.66c16.23,-98.97 -39.68,-126.16 -39.68,-126.16c0,0 2.36,80.57 -145.7,97.65c-131.42,15.16 -572.46,3.74 -572.46,3.74c0,0 0,0 141.74,162.54c38.39,44.06 58.76,49.17 101.92,52.22c43.16,2.89 138.42,1.86 202.99,-3.05c70.58,-5.41 171.17,-28.43 239.19,-81.11c34.88,-26.98 65.21,-64.48 72,-105.83z"}))),h=wp.element.createElement(a,{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",role:"img","aria-hidden":"true",focusable:"false"},wp.element.createElement(o,{d:"M21.8 8s-.195-1.377-.795-1.984c-.76-.797-1.613-.8-2.004-.847-2.798-.203-6.996-.203-6.996-.203h-.01s-4.197 0-6.996.202c-.39.046-1.242.05-2.003.846C2.395 6.623 2.2 8 2.2 8S2 9.62 2 11.24v1.517c0 1.618.2 3.237.2 3.237s.195 1.378.795 1.985c.76.797 1.76.77 2.205.855 1.6.153 6.8.2 6.8.2s4.203-.005 7-.208c.392-.047 1.244-.05 2.005-.847.6-.607.795-1.985.795-1.985s.2-1.618.2-3.237v-1.517C22 9.62 21.8 8 21.8 8zM9.935 14.595v-5.62l5.403 2.82-5.403 2.8z"})),b=(wp.element.createElement("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 56 23"},wp.element.createElement("g",null,wp.element.createElement("g",null,wp.element.createElement("path",{style:{fill:"#DA2B28"},className:"st0",d:"M55.4,3.7c-0.2-0.9-0.6-1.6-1.3-2.2c-0.7-0.6-1.4-0.9-2.3-1c-2.7-0.3-6.8-0.4-12.3-0.4 c-5.5,0-9.6,0.1-12.3,0.4c-0.9,0.1-1.6,0.5-2.3,1c-0.7,0.6-1.1,1.3-1.3,2.2c-0.4,1.7-0.6,4.3-0.6,7.8c0,3.5,0.2,6.1,0.6,7.8 c0.2,0.9,0.6,1.6,1.3,2.2c0.7,0.6,1.4,0.9,2.3,1c2.7,0.3,6.8,0.5,12.3,0.5c5.5,0,9.6-0.2,12.3-0.5c0.9-0.1,1.6-0.4,2.3-1 c0.7-0.6,1.1-1.3,1.3-2.2c0.4-1.7,0.6-4.3,0.6-7.8C56,8,55.8,5.4,55.4,3.7L55.4,3.7z M32.5,6h-2.4v12.6h-2.2V6h-2.3V3.9h6.9V6z M38.5,18.6h-2v-1.2c-0.8,0.9-1.6,1.4-2.3,1.4c-0.7,0-1.1-0.3-1.3-0.8c-0.1-0.4-0.2-0.9-0.2-1.6V7.6h2v8.1c0,0.5,0,0.7,0,0.8 c0,0.3,0.2,0.5,0.5,0.5c0.4,0,0.8-0.3,1.3-0.9V7.6h2V18.6z M46.1,15.3c0,1.1-0.1,1.8-0.2,2.2c-0.3,0.8-0.8,1.2-1.6,1.2 c-0.7,0-1.4-0.4-2.1-1.2v1.1h-2V3.9h2v4.8c0.6-0.8,1.3-1.2,2.1-1.2c0.8,0,1.3,0.4,1.6,1.2c0.1,0.4,0.2,1.1,0.2,2.2V15.3z M53.5,13.5h-4v1.9c0,1,0.3,1.5,1,1.5c0.5,0,0.8-0.3,0.9-0.8c0-0.1,0-0.6,0-1.4h2v0.3c0,0.7,0,1.2,0,1.3c0,0.4-0.2,0.8-0.5,1.2 c-0.5,0.8-1.3,1.2-2.4,1.2c-1,0-1.8-0.4-2.4-1.1c-0.4-0.5-0.6-1.4-0.6-2.6v-3.8c0-1.2,0.2-2,0.6-2.6c0.6-0.8,1.4-1.1,2.4-1.1 c1,0,1.8,0.4,2.3,1.1c0.4,0.5,0.6,1.4,0.6,2.6V13.5z M53.5,13.5"}),wp.element.createElement("path",{className:"st0",d:"M43.2,9.3c-0.3,0-0.7,0.2-1,0.5v6.7c0.3,0.3,0.7,0.5,1,0.5c0.6,0,0.9-0.5,0.9-1.5v-4.7 C44.1,9.8,43.8,9.3,43.2,9.3L43.2,9.3z M43.2,9.3"}),wp.element.createElement("path",{className:"st0",d:"M50.6,9.3c-0.7,0-1,0.5-1,1.5v1h2v-1C51.6,9.8,51.2,9.3,50.6,9.3L50.6,9.3z M50.6,9.3"})),wp.element.createElement("g",null,wp.element.createElement("path",{d:"M2.8,12.8v6h2.2v-6L7.7,4H5.5L4,9.8L2.4,4H0.1c0.4,1.2,0.9,2.6,1.4,4.1C2.2,10.2,2.6,11.7,2.8,12.8L2.8,12.8z M2.8,12.8"}),wp.element.createElement("path",{d:"M10.7,19c1,0,1.8-0.4,2.3-1.1c0.4-0.5,0.6-1.4,0.6-2.6v-3.9c0-1.2-0.2-2-0.6-2.6c-0.5-0.8-1.3-1.1-2.3-1.1 c-1,0-1.8,0.4-2.3,1.1C8,9.3,7.8,10.2,7.8,11.4v3.9c0,1.2,0.2,2.1,0.6,2.6C8.9,18.6,9.7,19,10.7,19L10.7,19z M9.8,11 c0-1,0.3-1.5,1-1.5c0.6,0,1,0.5,1,1.5v4.7c0,1-0.3,1.6-1,1.6c-0.6,0-1-0.5-1-1.6V11z M9.8,11"}),wp.element.createElement("path",{d:"M16.8,19c0.7,0,1.5-0.5,2.3-1.4v1.2h2V7.8h-2v8.4c-0.4,0.6-0.9,1-1.3,1c-0.3,0-0.4-0.2-0.5-0.5c0,0,0-0.3,0-0.8V7.8h-2 v8.7c0,0.8,0.1,1.3,0.2,1.7C15.7,18.7,16.1,19,16.8,19L16.8,19z M16.8,19"})))),wp.element.createElement("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 276 340"},wp.element.createElement("path",{d:"M196.7.6H24.3C11.1.6.4 11.3.4 24.6v292.9c0 12.3 10 22.2 22.2 22.2H252c13.3 0 23.9-10.7 23.9-23.9V80.9L196.7.6z",fill:"#e94848"}),wp.element.createElement("path",{d:"M196.7 57c0 13.3 10.7 23.9 23.9 23.9H276L196.7.6V57z",fill:"#f19191"}),wp.element.createElement("linearGradient",{id:"A",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"77.111",x2:"116.568",y2:"77.111"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M113 84.5H48.3c-1.9 0-3.5-1.6-3.5-3.5v-7.7c0-1.9 1.6-3.5 3.5-3.5H113c1.9 0 3.5 1.6 3.5 3.5V81c.1 1.9-1.5 3.5-3.5 3.5z",fill:"url(#A)"}),wp.element.createElement("linearGradient",{id:"B",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.016",x2:"233.927",y2:"136.016"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",opacity:".8",fill:"url(#B)"}),wp.element.createElement("linearGradient",{id:"C",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.993",x2:"233.927",y2:"135.993"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"33.6",opacity:".7",fill:"url(#C)"}),wp.element.createElement("linearGradient",{id:"D",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"135.969",x2:"233.927",y2:"135.969"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"67.2",opacity:".6",fill:"url(#D)"}),wp.element.createElement("linearGradient",{id:"E",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"136.045",x2:"233.927",y2:"136.045"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("use",{href:"#H",y:"100.7",opacity:".4",fill:"url(#E)"}),wp.element.createElement("linearGradient",{id:"F",gradientUnits:"userSpaceOnUse",x1:"44.744",y1:"270.322",x2:"174.778",y2:"270.322"},wp.element.createElement("stop",{offset:"0",stopColor:"#fff"}),wp.element.createElement("stop",{offset:"1",stopColor:"#fff0f0"})),wp.element.createElement("path",{d:"M171.9 277.7H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9h124.3c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z",opacity:".3",fill:"url(#F)"}),wp.element.createElement("defs",null,wp.element.createElement("path",{id:"H",d:"M231 143.4H47.6c-1.6 0-2.9-1.3-2.9-2.9v-9c0-1.6 1.3-2.9 2.9-2.9H231c1.6 0 2.9 1.3 2.9 2.9v9c0 1.6-1.3 2.9-2.9 2.9z"})))),w=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270",role:"img",focusable:"false"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})))},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.components.Spinner,i=function(){return wp.element.createElement("div",{className:"wp-block-embed is-loading"},wp.element.createElement(r,null),wp.element.createElement("p",null,__("Embedding\u2026")))};t.a=i},function(e,t,n){"use strict";var __=wp.i18n.__,r=wp.element.Fragment,i=wp.components,o=i.IconButton,a=i.Toolbar,l=wp.editor.BlockControls,c=function(e){var t=e.showEditButton,n=e.switchBackToURLInput;return wp.element.createElement(r,null,wp.element.createElement(l,null,wp.element.createElement(a,null,t&&wp.element.createElement(o,{className:"components-toolbar__control",label:__("Edit URL"),icon:"edit",onClick:n}))))};t.a=c},function(e,t,n){"use strict";var r=n(11),i=n.n(r),o=wp.i18n,__=o.__,_x=o._x,a=wp.components,l=a.Button,c=a.Placeholder,s=a.ExternalLink,u=wp.blockEditor.BlockIcon,p=function(e){var t=e.icon,n=e.label,r=e.value,o=e.onSubmit,a=e.onChange,p=e.cannotEmbed,m=e.docLink,f=e.DocTitle,d=i()("wp-block-embed",{});return wp.element.createElement("div",null,wp.element.createElement(c,{icon:wp.element.createElement(u,{icon:t,showColors:!0}),label:n,className:d},wp.element.createElement("form",{onSubmit:o},wp.element.createElement("input",{type:"url",value:r||"",className:"components-placeholder__input","aria-label":n,placeholder:__("Enter URL to embed here\u2026"),onChange:a}),wp.element.createElement(l,{isSmall:!0,type:"submit"},_x("Embed","button label")),p&&wp.element.createElement("p",{className:"components-placeholder__error"},__("Sorry, we could not embed that content."),wp.element.createElement("br",null))),m&&wp.element.createElement("div",{className:"components-placeholder__learn-more"},wp.element.createElement(s,{href:m},f))))};t.a=p},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("iframe",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p},function(e,t){e.exports=ReactDOM},function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});n(7),n(12),n(16),n(20),n(24),n(28),n(32),n(36),n(40),n(44),n(48);!function(){var e=wp.element.createElement("svg",{width:"33",height:"20",version:"1.1",id:"Layer_1",xmlns:"http://www.w3.org/2000/svg",x:"0px",y:"0px",viewBox:"0 0 270 270"},wp.element.createElement("g",null,wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"0,0 0,52 15,52 15,15 52,15 52,0 \t"}),wp.element.createElement("polygon",{className:"st0",fill:"#9595C1",points:"255,218 255,255 218,255 218,270 270,270 270,218 \t"}),wp.element.createElement("path",{fill:"#5B4E96",d:"M260.7,68.1c-10.4-18.6-29.3-31.2-50.6-33.6c-12.4-1.4-25,0.6-36.3,6c-1.3,0.6-2.6,1.3-3.9,2 C154.5,51,143,65.3,138.3,81.7l0,0.1l-36.4,103.8c-3.1,9.4-9.1,17-17.1,21.4c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.5,3.2 c-11.5-1.3-21.6-8.1-27.2-18.1c-4.6-8.3-5.7-18-3.1-27.2c2.6-9.2,8.7-16.9,17.1-21.5c0.7-0.4,1.4-0.8,2.1-1.1 c6.1-2.9,12.7-4,19.6-3.2c0.3,0,0.5,0.1,0.8,0.1L64.9,162c-0.5,1.5,0.3,3.1,1.8,3.6l19.4,6.3c1.5,0.5,3-0.3,3.5-1.7l16.7-47.4 c0.4-1.2,0.3-2.5-0.3-3.6c-0.6-1.1-1.6-2-2.8-2.4l-17.6-5.1c-0.4-0.1-0.8-0.2-1.2-0.3l-1.6-0.5l0,0.1c-2.5-0.6-5-1.1-7.5-1.3 c-12.5-1.4-25.1,0.6-36.4,6c-1.3,0.6-2.6,1.3-3.9,2c-15.6,8.7-27,22.9-31.9,40.1c-4.9,17.1-2.8,35.1,5.8,50.5 c10.4,18.6,29.3,31.2,50.6,33.6c12.4,1.4,25-0.6,36.3-6c1.3-0.6,2.6-1.3,3.9-2c15.3-8.5,26.8-22.8,31.6-39.2l0-0.1L167.8,91 l0.1-0.2l0-0.1c4.1-10.5,9.3-17,17-21.3c0.7-0.4,1.4-0.7,2.1-1.1c6.1-2.9,12.8-4,19.5-3.2c11.5,1.3,21.6,8.1,27.2,18.1 c9.6,17.2,3.3,39.1-14,48.7c-0.7,0.4-1.4,0.7-2.1,1.1c-6.1,2.9-12.8,4-19.7,3.2c-2-0.2-4.1-0.6-6.1-1.2l-0.2-0.1l-11.3-3.4 c-1.2-0.4-2.5,0.3-2.9,1.5l-8.8,24.8c-0.5,1.3,0.3,2.7,1.6,3.1l13.9,4c3.4,0.9,6.8,1.6,10.3,2c12.4,1.4,25-0.6,36.3-6l0.1,0 c1.3-0.6,2.6-1.3,3.9-2C266.8,140.8,278.5,100.1,260.7,68.1z"})));wp.blocks.updateCategory("embedpress",{icon:e})}()},function(e,t,n){"use strict";var r=n(8),i=(n.n(r),n(9)),o=(n.n(i),n(10)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-docs-block"]&&l("embedpress/google-docs-block",{title:__("Google Docs"),icon:a.c,category:"embedpress",keywords:[__("embedpress"),__("google"),__("docs")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("figure",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-document"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element.Component,f=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.updateAlignment=e.updateAlignment.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"updateAlignment",value:function(e){var t=this.props.setAttributes,n=-1!==["wide","full"].indexOf(e)?{width:void 0,height:void 0}:{};t(Object.assign({},n,{align:e}))}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"document"===a?(r.match(/([?&])embedded=true/i)||(r.indexOf("?")>-1?r+="&embedded=true":r+="?embedded=true"),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Docs URL");return!m||r?wp.element.createElement("div",null,wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.c,DocTitle:__("Learn more about Google doc embed"),docLink:"https://embedpress.com/docs/embed-google-docs-wordpress/"})):wp.element.createElement("div",null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onMouseUp:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameBorder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(m);t.a=f},function(e,t,n){var r,i;!function(){"use strict";function n(){for(var e=[],t=0;t<arguments.length;t++){var r=arguments[t];if(r){var i=typeof r;if("string"===i||"number"===i)e.push(r);else if(Array.isArray(r)){if(r.length){var a=n.apply(null,r);a&&e.push(a)}}else if("object"===i)if(r.toString===Object.prototype.toString)for(var l in r)o.call(r,l)&&r[l]&&e.push(l);else e.push(r.toString())}}return e.join(" ")}var o={}.hasOwnProperty;"undefined"!==typeof e&&e.exports?(n.default=n,e.exports=n):(r=[],void 0!==(i=function(){return n}.apply(t,r))&&(e.exports=i))}()},function(e,t,n){"use strict";var r=n(13),i=(n.n(r),n(14)),o=(n.n(i),n(15)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-slides-block"]&&l("embedpress/google-slides-block",{title:__("Google Slides"),icon:a.h,category:"embedpress",keywords:[__("embedpress"),__("google"),__("slides")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-presentation"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"presentation"==a?(r.match(/pub\?/i)&&(r=r.replace("/pub?","/embed?")),this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Slides URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.h,DocTitle:__("Learn more about Google slides embed"),docLink:"https://embedpress.com/docs/embed-google-slides-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(17),i=(n.n(r),n(18)),o=(n.n(i),n(19)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-sheets-block"]&&l("embedpress/google-sheets-block",{title:__("Google Sheets"),icon:a.g,category:"embedpress",keywords:[__("embedpress"),__("google"),__("sheets")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))},deprecated:[{attributes:{align:{type:"string",enum:["left","center","right","wide","full"]}},save:function(e){var t=e.attributes.iframeSrc;if(t)return wp.element.createElement("div",{className:"ose-google-docs-spreadsheets"},wp.element.createElement("iframe",{src:t,frameBorder:"0",width:"600",height:"450",allowFullScreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];if(a&&"spreadsheets"==a){if(r.indexOf("?")>-1){var l=r.split("?");if(l=l[1],l=l.split("&"),console.log(l),l.length>0){var c=!1,s=!1;l.map(function(e){e.indexOf("widget=")?s=!0:e.indexOf("headers=")&&(c=!0)}),s||(r+="&widget=true"),c||(r+="&headers=false")}}else r+="?widget=true&headers=false";this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Sheets URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.g,DocTitle:__("Learn more about Google sheet embed"),docLink:"https://embedpress.com/docs/embed-google-sheets-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(21),i=(n.n(r),n(22)),o=(n.n(i),n(23)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-forms-block"]&&l("embedpress/google-forms-block",{title:__("Google Forms"),icon:a.e,category:"embedpress",keywords:[__("embedpress"),__("google"),__("forms")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-forms"},wp.element.createElement("iframe",{src:t,frameborder:"0",width:"600",height:"450",allowfullscreen:"true",mozallowfullscreen:"true",webkitallowfullscreen:"true"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=(wp.components.Disabled,function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"forms"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Forms URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.e,DocTitle:__("Learn more about Google forms embed"),docLink:"https://embedpress.com/docs/embed-google-forms-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f));t.a=h},function(e,t,n){"use strict";var r=n(25),i=(n.n(r),n(26)),o=(n.n(i),n(27)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-drawings-block"]&&l("embedpress/google-drawings-block",{title:__("Google Drawings"),icon:a.d,category:"embedpress",keywords:[__("embedpress"),__("google"),__("drawings")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-docs-drawings"},wp.element.createElement("img",{src:t,width:"960",height:"720"}))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(0),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.element,m=p.Component,f=p.Fragment,d=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1},e}return o(t,e),u(t,[{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/((?:www\.)?docs\.google\.com(?:.*)?(?:document|presentation|spreadsheets|forms|drawings)\/[a-z0-9\/\?=_\-\.\,&%\$#\@\!\+]*)/i)){var r=this.decodeHTMLEntities(t),i=/google\.com(?:.+)?(document|presentation|spreadsheets|forms|drawings)/i,o=i.exec(r),a=o[1];a&&"drawings"==a?(this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})):this.setState({cannotEmbed:!0,editingURL:!0})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,u=this.props.attributes.iframeSrc,p=__("Google Drawings URL (Get your link from File -> Publish to the web -> Link)");return!u||r?wp.element.createElement(c.a,{label:p,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:s.d,DocTitle:__("Learn more about Google drawing embed"),docLink:"https://embedpress.com/docs/embed-google-drawings-wordpress/"}):wp.element.createElement(f,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("img",{src:u,onLoad:this.onLoad,style:{display:i?"none":""},width:"960",height:"720"}),wp.element.createElement(a.a,{showEditButton:u&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}]),t}(m);t.a=d},function(e,t,n){"use strict";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=n(29),o=(n.n(i),n(30)),a=(n.n(o),n(31)),l=n(0),__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["google-maps-block"]&&c("embedpress/google-maps-block",{title:__("Google Maps"),icon:l.f,category:"embedpress",keywords:[__("embedpress"),__("google"),__("maps")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:a.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("figure",{className:"ose-google-maps"},wp.element.createElement("iframe",r({src:t,frameborder:"0",width:"600",height:"450"},"frameborder","0")))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&t.match(/^http[s]?:\/\/(?:(?:(?:www\.|maps\.)?(?:google\.com?))|(?:goo\.gl))(?:\.[a-z]{2})?\/(?:maps\/)?(?:place\/)?(?:[a-z0-9\/%+\-_]*)?([a-z0-9\/%,+\-_=!:@\.&*\$#?\']*)/i)){var r=this.decodeHTMLEntities(t);if(t.match("~(maps/embed|output=embed)~i"));else{var i=/@(-?[0-9\.]+,-?[0-9\.]+).+,([0-9\.]+[a-z])/i,o=i.exec(r);o&&o.length>1&&o[1]&&o[2]?r="https://maps.google.com/maps?hl=en&ie=UTF8&ll="+o[1]+"&spn="+o[1]+"&t=m&z="+Math.round(parseInt(o[2]))+"&output=embed":this.setState({cannotEmbed:!0,editingURL:!0})}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:r})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Google Maps URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.f,DocTitle:__("Learn more about Google map embed"),docLink:"https://embedpress.com/docs/embed-google-maps-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"450"}),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(33),i=(n.n(r),n(34)),o=(n.n(i),n(35)),a=n(0),l=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},__=wp.i18n.__,c=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["twitch-block"]&&c("embedpress/twitch-block",{title:__("Twitch"),icon:a.i,category:"embedpress",keywords:[__("embedpress"),__("twitch")],supports:{align:["wide","full","right","left"],default:""},attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""},attrs:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes,n=t.iframeSrc,r=t.attrs,i=n+"&parent="+embedpressObj.twitch_host;return wp.element.createElement("figure",{className:"ose-twitch-presentation"},wp.element.createElement("iframe",l({src:i},r,{frameborder:"0",width:"600",height:"450"})))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=/http[s]?:\/\/(?:www\.|clips\.)twitch\.tv\/([0-9a-zA-Z\-\_]+)\/?(chat\/?$|[0-9a-z\-\_]*)?/;if(t&&t.match(r)){var i=this.decodeHTMLEntities(t),o=r.exec(i),a=o[1];console.log(a);var l,c="channel";switch(t.indexOf("clips.twitch.tv")>-1?c="clip":t.indexOf("/videos/")>-1?c="video":t.indexOf("#/chat$#")>-1&&(c="chat"),console.log(c),c){case"channel":i="https://player.twitch.tv/?channel="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"clip":i="https://clips.twitch.tv/embed?clip="+a+"&autoplay=false",l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"video":a=o[2],i="https://player.twitch.tv/?video="+a,l={scrolling:"no",frameborder:"0",allowfullscreen:"true"};break;case"chat":i="http://www.twitch.tv/embed/"+a+"/chat",l={scrolling:"yes",frameborder:"0",allowfullscreen:"true",id:"'"+a+"'"}}this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:i,attrs:l})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("Twitch URL");if(!d||r)return wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.i,DocTitle:__("Learn more about twitch embed"),docLink:"https://embedpress.com/docs/embed-twitch-streams-chat/"});var y=d+"&parent="+embedpressObj.twitch_host;return wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:y},b,{onLoad:this.onLoad,style:{display:i?"none":""},onFocus:this.hideOverlay,width:"600",height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(37),i=(n.n(r),n(38)),o=(n.n(i),n(39)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["wistia-block"]&&l("embedpress/wistia-block",{title:__("Wistia"),icon:a.j,category:"embedpress",keywords:[__("embedpress"),__("wistia")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(e){return null},deprecated:[{attributes:{url:{type:"string",default:""},iframeSrc:{type:"string",default:""}},edit:o.a,save:function(e){var t=e.attributes.iframeSrc;return wp.element.createElement("div",{class:"ose-wistia"},wp.element.createElement("iframe",{src:t,allowtransparency:"true",frameborder:"0",class:"wistia_embed",name:"wistia_embed",width:"600",height:"330"}))}}]})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,m=wp.element,f=m.Component,d=m.Fragment,h=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1,mediaId:null},e.setUrl(),e}return o(t,e),p(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentDidMount",value:function(){if(this.props.attributes.url){var e=this.props.attributes.url.match(/medias\/(.*)/),t=e[1];this.setState(Object.assign({},this.state,{mediaId:t}))}}},{key:"onLoad",value:function(){if(this.setState({fetching:!1}),embedpressObj.wisita_options){var e=Object.assign({},this.state);setTimeout(function(){var e=document.createElement("script");e.src="https://fast.wistia.com/assets/external/E-v1.js",e.charset="ISO-8859-1",document.body.appendChild(e)},100),setTimeout(function(){var t=document.createElement("script");t.type="text/javascript",t.innerHTML="window.pp_embed_wistia_labels = "+embedpressObj.wistia_labels,document.body.appendChild(t),t=document.createElement("script"),t.type="text/javascript",t.innerHTML='wistiaEmbed = Wistia.embed( "'+e.mediaId+'", '+embedpressObj.wisita_options+" );",document.body.appendChild(t)},400)}}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;if(n({url:t}),t&&(t.match(/^http[s]?:\/\/(?:www\.)?wistia\.com\/medias/i)||t.match(/^http[s]?:\/\/(?:www\.)?fast\/.wistia\.com\/embed\/medias/i.jsonp))){var r=t.match(/medias\/(.*)/),i=r[1],o="//fast.wistia.net/embed/iframe/"+i;this.setState({editingURL:!1,cannotEmbed:!1,mediaId:i}),n({iframeSrc:o})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,p=t.interactive,m=this.props.attributes.iframeSrc,f=__("Wistia URL");return!m||r?wp.element.createElement(c.a,{label:f,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.j,DocTitle:__("Learn more about Wistia embed"),docLink:"https://embedpress.com/docs/embed-wistia-videos-wordpress/"}):wp.element.createElement(d,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement("div",{className:"ose-wistia",id:"wistia_"+this.state.mediaId},wp.element.createElement(s.a,{src:m,onFocus:this.hideOverlay,onLoad:this.onLoad,style:{display:i?"none":""},frameborder:"0",width:"600",height:"330"})),!p&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:m&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(f);t.a=h},function(e,t,n){"use strict";var r=n(41),i=(n.n(r),n(42)),o=(n.n(i),n(43)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks["youtube-block"]&&l("embedpress/youtube-block",{title:__("YouTube"),icon:a.k,category:"embedpress",keywords:[__("embedpress"),__("youtube")],supports:{align:["wide","full","right","left"],default:""},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(2),l=n(1),c=n(3),s=n(4),u=n(0),p=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},m=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,f=wp.element,d=f.Component,h=f.Fragment,b=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.switchBackToURLInput=e.switchBackToURLInput.bind(e),e.setUrl=e.setUrl.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={editingURL:!1,url:e.props.attributes.url,fetching:!0,cannotEmbed:!1,interactive:!1},e}return o(t,e),m(t,[{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"componentWillMount",value:function(){this.state.url&&this.setUrl()}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"decodeHTMLEntities",value:function(e){return e&&"string"===typeof e&&(e=e.replace(/<script[^>]*>([\S\s]*?)<\/script>/gim,""),e=e.replace(/<\/?\w(?:[^"'>]|"[^"]*"|'[^']*')*>/gim,"")),e}},{key:"setUrl",value:function(e){e&&e.preventDefault();var t=this.state.url,n=this.props.setAttributes;n({url:t});var r=t.match(/^(?:https?:\/\/)?(?:www\.)?(?:youtu\.be\/|youtube\.com\/(?:embed\/|v\/|watch\?v=|watch\?.+&v=))((\w|-){11})(?:\S+)?$/);if(t&&r){var i=r[1],o="https://www.youtube.com/embed/"+i,a=new URL(o);if("undefined"!==typeof embedpressProObj)for(var l in embedpressProObj.youtubeParams)a.searchParams.set(l,embedpressProObj.youtubeParams[l]);this.setState({editingURL:!1,cannotEmbed:!1}),n({iframeSrc:a.href,mediaId:i})}else this.setState({cannotEmbed:!0,editingURL:!0})}},{key:"switchBackToURLInput",value:function(){this.setState({editingURL:!0})}},{key:"render",value:function(){var e=this,t=this.state,n=t.url,r=t.editingURL,i=t.fetching,o=t.cannotEmbed,m=t.interactive,f=this.props.attributes,d=f.iframeSrc,b=f.attrs,w=__("YouTube URL");return!d||r?wp.element.createElement(c.a,{label:w,onSubmit:this.setUrl,value:n,cannotEmbed:o,onChange:function(t){return e.setState({url:t.target.value})},icon:u.k,DocTitle:__("Learn More About YouTube Embed"),docLink:"https://embedpress.com/docs/embed-youtube-wordpress/"}):wp.element.createElement(h,null,i?wp.element.createElement(l.a,null):null,wp.element.createElement(s.a,p({src:d},b,{onLoad:this.onLoad,style:{display:i?"none":""},width:"640",onFocus:this.hideOverlay,height:"450"})),!m&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),wp.element.createElement(a.a,{showEditButton:d&&!o,switchBackToURLInput:this.switchBackToURLInput}))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(d);t.a=b},function(e,t,n){"use strict";var r=n(45),i=(n.n(r),n(46)),o=(n.n(i),n(47)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.document&&l("embedpress/document",{title:__("Document"),icon:a.a,category:"embedpress",keywords:[__("embedpress"),__("pdf"),__("doc"),__("ppt")],supports:{align:["wide","full","right","left"],default:""},attributes:{id:{type:"string"},href:{type:"string"},powered_by:{type:"boolean",default:!0},width:{type:"number",default:600},height:{type:"number",default:600},fileName:{type:"string"},mime:{type:"string"}},edit:o.a,save:function(e){var t=e.attributes,n=t.href,r=t.mime,i=t.id,o=t.width,a=t.height,l=t.powered_by,c="//view.officeapps.live.com/op/embed.aspx?src="+n;return wp.element.createElement("figure",{className:"embedpress-embed-document"},"application/pdf"===r&&wp.element.createElement("div",{style:{height:a,width:o},className:"embedpress-embed-document-pdf "+i,"data-emid":i,"data-emsrc":n}),"application/pdf"!==r&&wp.element.createElement("iframe",{style:{height:a,width:o},src:c,mozallowfullscreen:"true",webkitallowfullscreen:"true"}),l&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"))}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(4),l=n(1),c=n(0),s=function(){function e(e,t){var n=[],_n=!0,r=!1,i=void 0;try{for(var o,a=e[Symbol.iterator]();!(_n=(o=a.next()).done)&&(n.push(o.value),!t||n.length!==t);_n=!0);}catch(e){r=!0,i=e}finally{try{!_n&&a.return&&a.return()}finally{if(r)throw i}}return n}return function(t,n){if(Array.isArray(t))return t;if(Symbol.iterator in Object(t))return e(t,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}}(),u=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),__=wp.i18n.__,p=wp.blob,m=p.getBlobByURL,f=p.isBlobURL,d=p.revokeBlobURL,h=wp.editor,b=h.BlockIcon,w=h.MediaPlaceholder,y=h.InspectorControls,v=wp.element,g=v.Component,E=v.Fragment,L=wp.components,k=L.RangeControl,_=L.PanelBody,O=L.ExternalLink,S=L.ToggleControl,U=["application/pdf","application/msword","application/vnd.ms-powerpoint","application/vnd.ms-excel","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.openxmlformats-officedocument.spreadsheetml.sheet","application/vnd.openxmlformats-officedocument.presentationml.presentation"],j=function(e){function t(){r(this,t);var e=i(this,(t.__proto__||Object.getPrototypeOf(t)).apply(this,arguments));return e.onSelectFile=e.onSelectFile.bind(e),e.onUploadError=e.onUploadError.bind(e),e.onLoad=e.onLoad.bind(e),e.hideOverlay=e.hideOverlay.bind(e),e.state={hasError:!1,fetching:!1,interactive:!1,loadPdf:!0},e}return o(t,e),u(t,[{key:"componentDidMount",value:function(){var e=this,t=this.props,n=t.attributes,r=t.mediaUpload,i=t.noticeOperations,o=n.href;if(f(o)){r({filesList:[m(o)],onFileChange:function(t){var n=s(t,1),r=n[0];return e.onSelectFile(r)},onError:function(t){e.setState({hasError:!0}),i.createErrorNotice(t)}}),d(o)}this.props.attributes.href&&"application/pdf"===this.props.attributes.mime&&this.state.loadPdf&&(this.setState({loadPdf:!1}),PDFObject.embed(this.props.attributes.href,"."+this.props.attributes.id))}},{key:"componentDidUpdate",value:function(e){e.isSelected&&!this.props.isSelected&&this.setState({showCopyConfirmation:!1})}},{key:"hideOverlay",value:function(){this.setState({interactive:!0})}},{key:"onLoad",value:function(){this.setState({fetching:!1})}},{key:"onSelectFile",value:function(e){e&&e.url&&(this.setState({hasError:!1}),this.props.setAttributes({href:e.url,fileName:e.title,id:"embedpress-pdf-"+Date.now(),mime:e.mime}),embedpressObj.embedpress_pro&&this.props.setAttributes({powered_by:!1}),"application/pdf"===e.mime&&(this.setState({loadPdf:!1}),PDFObject.embed(e.url,"."+this.props.attributes.id)))}},{key:"onUploadError",value:function(e){var t=this.props.noticeOperations;t.removeAllNotices(),t.createErrorNotice(e)}},{key:"render",value:function(){var e=this.props,t=e.attributes,n=e.noticeUI,r=e.setAttributes,i=t.href,o=t.mime,s=t.id,u=t.width,p=t.height,m=t.powered_by,f=this.state,d=f.hasError,h=f.interactive,v=f.fetching,g=f.loadPdf;if(!i||d)return wp.element.createElement("div",{className:"embedpress-document-editmode"},wp.element.createElement(w,{icon:wp.element.createElement(b,{icon:c.a}),labels:{title:__("Document"),instructions:__("Upload a file or pick one from your media library for embed.")},onSelect:this.onSelectFile,notices:n,allowedTypes:U,onError:this.onUploadError},wp.element.createElement("div",{style:{width:"100%"},className:"components-placeholder__learn-more embedpress-doc-link"},wp.element.createElement(O,{href:"https://embedpress.com/docs/embed-docuemnt/"},"Learn more about Embedded document "))));var L="//view.officeapps.live.com/op/embed.aspx?src="+i;return wp.element.createElement(E,null,v&&"application/pdf"!==o?wp.element.createElement(l.a,null):null,"application/pdf"===o&&wp.element.createElement("div",{style:{height:p,width:u},className:"embedpress-embed-document-pdf "+s,"data-emid":s,"data-emsrc":i}),"application/pdf"!==o&&wp.element.createElement(a.a,{onMouseUponMouseUp:this.hideOverlay,style:{height:p,width:u,display:v||!g?"none":""},onLoad:this.onLoad,src:L}),!h&&wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:this.hideOverlay}),m&&wp.element.createElement("p",{className:"embedpress-el-powered"},"Powered By EmbedPress"),wp.element.createElement(y,{key:"inspector"},wp.element.createElement(_,{title:__("Embed Size","embedpress")},wp.element.createElement(k,{label:__("Width","embedpress"),value:u,onChange:function(e){return r({width:e})},max:1e3,min:1}),wp.element.createElement(k,{label:__("Height","embedpress"),value:p,onChange:function(e){return r({height:e})},max:1e3,min:1}),wp.element.createElement(S,{label:__("Powered By"),onChange:function(e){return r({powered_by:e})},checked:m}))))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return!e.isSelected&&t.interactive?{interactive:!1}:null}}]),t}(g);t.a=j},function(e,t,n){"use strict";var r=n(49),i=(n.n(r),n(50)),o=(n.n(i),n(51)),a=n(0),__=wp.i18n.__,l=wp.blocks.registerBlockType;embedpressObj&&embedpressObj.active_blocks&&embedpressObj.active_blocks.embedpress&&l("embedpress/embedpress",{title:__("EmbedPress"),icon:a.b,category:"embedpress",keywords:["embedpress","embed","google","youtube","docs"],supports:{align:["right","left","center"],default:"center",lightBlockWrapper:!0},attributes:{url:{type:"string",default:""},embedHTML:{type:"string",default:""},height:{type:"string",default:"450"},width:{type:"string",default:"600"},editingURL:{type:"boolean",default:!1},fetching:{type:"boolean",default:!1},cannotEmbed:{type:"boolean",default:!1},interactive:{type:"boolean",default:!1},align:{type:"string",default:"center"}},edit:o.a,save:function(){return null}})},function(e,t){},function(e,t){},function(e,t,n){"use strict";function r(e){return function(){var t=e.apply(this,arguments);return new Promise(function(e,n){function r(i,o){try{var a=t[i](o),l=a.value}catch(e){return void n(e)}if(!a.done)return Promise.resolve(l).then(function(e){r("next",e)},function(e){r("throw",e)});e(l)}return r("next")})}}function i(e){function t(){m({editingURL:!0})}function n(e){var t=this;if(e&&e.preventDefault(),h){m({fetching:!0});(function(){var e=r(a.a.mark(function e(n){return a.a.wrap(function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,fetch(embedpressObj.site_url+"/wp-json/embedpress/v1/oembed/embedpress?url="+n+"&width="+_+"&height="+k).then(function(e){return e.json()});case 2:return e.abrupt("return",e.sent);case 3:case"end":return e.stop()}},e,t)}));return function(_x){return e.apply(this,arguments)}})()(h).then(function(e){m({fetching:!1}),m(e.data&&404===e.data.status||!e.embed?{cannotEmbed:!0,editingURL:!0}:{embedHTML:e.embed,cannotEmbed:!1,editingURL:!1})})}else m({cannotEmbed:!0,fetching:!1,editingURL:!0})}var i=e.attributes,o=e.className,m=e.setAttributes,h=i.url,v=i.editingURL,g=i.fetching,E=i.cannotEmbed,L=(i.interactive,i.embedHTML),k=i.height,_=i.width,O=w?w():[];return wp.element.createElement(y,null,wp.element.createElement(b,null,wp.element.createElement(d,{title:__("Customize Embedded Link")},wp.element.createElement("p",null,__("You can adjust the width and height of embedded content.")),wp.element.createElement(f,{label:__("Width"),value:_,onChange:function(e){return m({width:e})}}),wp.element.createElement(f,{label:__("Height"),value:k,onChange:function(e){return m({height:e})}}),L&&!v&&wp.element.createElement("button",{onClick:n},__("Apply")))),(!L||v)&&!g&&wp.element.createElement("div",O,wp.element.createElement(s.a,{label:__("EmbedPress - Embed anything from 100+ sites"),onSubmit:n,value:h,cannotEmbed:E,onChange:function(e){return m({url:e.target.value})},icon:p.b,DocTitle:__("Learn more about EmbedPress"),docLink:"https://embedpress.com/docs/"})),g?wp.element.createElement("div",{className:o},wp.element.createElement(c.a,null)," "):null,L&&!v&&!g&&wp.element.createElement("figure",O,wp.element.createElement(u.a,{style:{display:g?"none":""},dangerouslySetInnerHTML:{__html:L}}),wp.element.createElement("div",{className:"block-library-embed__interactive-overlay",onMouseUp:m({interactive:!0})}),wp.element.createElement(l.a,{showEditButton:L&&!E,switchBackToURLInput:t})))}t.a=i;var o=n(52),a=n.n(o),l=n(2),c=n(1),s=n(3),u=n(55),p=n(0),__=wp.i18n.__,m=wp.components,f=m.TextControl,d=m.PanelBody,h=wp.blockEditor,b=h.InspectorControls,w=h.useBlockProps,y=wp.element.Fragment},function(e,t,n){e.exports=n(53)},function(e,t,n){var r=function(){return this}()||Function("return this")(),i=r.regeneratorRuntime&&Object.getOwnPropertyNames(r).indexOf("regeneratorRuntime")>=0,o=i&&r.regeneratorRuntime;if(r.regeneratorRuntime=void 0,e.exports=n(54),i)r.regeneratorRuntime=o;else try{delete r.regeneratorRuntime}catch(e){r.regeneratorRuntime=void 0}},function(e,t){!function(t){"use strict";function n(e,t,n,r){var o=t&&t.prototype instanceof i?t:i,a=Object.create(o.prototype),l=new f(r||[]);return a._invoke=s(e,n,l),a}function r(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}function i(){}function o(){}function a(){}function l(e){["next","throw","return"].forEach(function(t){e[t]=function(e){return this._invoke(t,e)}})}function c(e){function t(n,i,o,a){var l=r(e[n],e,i);if("throw"!==l.type){var c=l.arg,s=c.value;return s&&"object"===typeof s&&y.call(s,"__await")?Promise.resolve(s.__await).then(function(e){t("next",e,o,a)},function(e){t("throw",e,o,a)}):Promise.resolve(s).then(function(e){c.value=e,o(c)},a)}a(l.arg)}function n(e,n){function r(){return new Promise(function(r,i){t(e,n,r,i)})}return i=i?i.then(r,r):r()}var i;this._invoke=n}function s(e,t,n){var i=O;return function(o,a){if(i===U)throw new Error("Generator is already running");if(i===j){if("throw"===o)throw a;return h()}for(n.method=o,n.arg=a;;){var l=n.delegate;if(l){var c=u(l,n);if(c){if(c===R)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(i===O)throw i=j,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i=U;var s=r(e,t,n);if("normal"===s.type){if(i=n.done?j:S,s.arg===R)continue;return{value:s.arg,done:n.done}}"throw"===s.type&&(i=j,n.method="throw",n.arg=s.arg)}}}function u(e,t){var n=e.iterator[t.method];if(n===b){if(t.delegate=null,"throw"===t.method){if(e.iterator.return&&(t.method="return",t.arg=b,u(e,t),"throw"===t.method))return R;t.method="throw",t.arg=new TypeError("The iterator does not provide a 'throw' method")}return R}var i=r(n,e.iterator,t.arg);if("throw"===i.type)return t.method="throw",t.arg=i.arg,t.delegate=null,R;var o=i.arg;return o?o.done?(t[e.resultName]=o.value,t.next=e.nextLoc,"return"!==t.method&&(t.method="next",t.arg=b),t.delegate=null,R):o:(t.method="throw",t.arg=new TypeError("iterator result is not an object"),t.delegate=null,R)}function p(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function m(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function f(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(p,this),this.reset(!0)}function d(e){if(e){var t=e[g];if(t)return t.call(e);if("function"===typeof e.next)return e;if(!isNaN(e.length)){var n=-1,r=function t(){for(;++n<e.length;)if(y.call(e,n))return t.value=e[n],t.done=!1,t;return t.value=b,t.done=!0,t};return r.next=r}}return{next:h}}function h(){return{value:b,done:!0}}var b,w=Object.prototype,y=w.hasOwnProperty,v="function"===typeof Symbol?Symbol:{},g=v.iterator||"@@iterator",E=v.asyncIterator||"@@asyncIterator",L=v.toStringTag||"@@toStringTag",k="object"===typeof e,_=t.regeneratorRuntime;if(_)return void(k&&(e.exports=_));_=t.regeneratorRuntime=k?e.exports:{},_.wrap=n;var O="suspendedStart",S="suspendedYield",U="executing",j="completed",R={},C={};C[g]=function(){return this};var x=Object.getPrototypeOf,T=x&&x(x(d([])));T&&T!==w&&y.call(T,g)&&(C=T);var M=a.prototype=i.prototype=Object.create(C);o.prototype=M.constructor=a,a.constructor=o,a[L]=o.displayName="GeneratorFunction",_.isGeneratorFunction=function(e){var t="function"===typeof e&&e.constructor;return!!t&&(t===o||"GeneratorFunction"===(t.displayName||t.name))},_.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,a):(e.__proto__=a,L in e||(e[L]="GeneratorFunction")),e.prototype=Object.create(M),e},_.awrap=function(e){return{__await:e}},l(c.prototype),c.prototype[E]=function(){return this},_.AsyncIterator=c,_.async=function(e,t,r,i){var o=new c(n(e,t,r,i));return _.isGeneratorFunction(t)?o:o.next().then(function(e){return e.done?e.value:o.next()})},l(M),M[L]="Generator",M[g]=function(){return this},M.toString=function(){return"[object Generator]"},_.keys=function(e){var t=[];for(var n in e)t.push(n);return t.reverse(),function n(){for(;t.length;){var r=t.pop();if(r in e)return n.value=r,n.done=!1,n}return n.done=!0,n}},_.values=d,f.prototype={constructor:f,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=b,this.done=!1,this.delegate=null,this.method="next",this.arg=b,this.tryEntries.forEach(m),!e)for(var t in this)"t"===t.charAt(0)&&y.call(this,t)&&!isNaN(+t.slice(1))&&(this[t]=b)},stop:function(){this.done=!0;var e=this.tryEntries[0],t=e.completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(e){function t(t,r){return o.type="throw",o.arg=e,n.next=t,r&&(n.method="next",n.arg=b),!!r}if(this.done)throw e;for(var n=this,r=this.tryEntries.length-1;r>=0;--r){var i=this.tryEntries[r],o=i.completion;if("root"===i.tryLoc)return t("end");if(i.tryLoc<=this.prev){var a=y.call(i,"catchLoc"),l=y.call(i,"finallyLoc");if(a&&l){if(this.prev<i.catchLoc)return t(i.catchLoc,!0);if(this.prev<i.finallyLoc)return t(i.finallyLoc)}else if(a){if(this.prev<i.catchLoc)return t(i.catchLoc,!0)}else{if(!l)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return t(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&y.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===e||"continue"===e)&&i.tryLoc<=t&&t<=i.finallyLoc&&(i=null);var o=i?i.completion:{};return o.type=e,o.arg=t,i?(this.method="next",this.next=i.finallyLoc,R):this.complete(o)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),R},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),m(n),R}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var i=r.arg;m(n)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(e,t,n){return this.delegate={iterator:d(e),resultName:t,nextLoc:n},"next"===this.method&&(this.arg=b),R}}}(function(){return this}()||Function("return this")())},function(e,t,n){"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function i(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!==typeof t&&"function"!==typeof t?e:t}function o(e,t){if("function"!==typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}var a=n(5),l=n.n(a),c=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),u=wp.element.Component,p=function(e){function t(e){r(this,t);var n=i(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.myRef=React.createRef(),n}return o(t,e),s(t,[{key:"componentDidMount",value:function(){l.a.findDOMNode(this.myRef.current).addEventListener("load",this.props.onLoad)}},{key:"render",value:function(){return wp.element.createElement("div",c({ref:this.myRef},this.props))}}]),t}(u);t.a=p}]);
Gutenberg/dist/blocks.editor.build.css CHANGED
@@ -1,2 +1,2 @@
1
  .embedpress-document-editmode .components-placeholder__instructions:after{content:"\ASupported File Type: PDF, DOC, PPT, XLS etc ";white-space:pre}
2
- .wp-block-embedpress-embedpress iframe{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}
1
  .embedpress-document-editmode .components-placeholder__instructions:after{content:"\ASupported File Type: PDF, DOC, PPT, XLS etc ";white-space:pre}
2
+ .wp-block-embedpress-embedpress iframe{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}.block-editor-block-list__layout .wp-block figure,.block-editor-block-list__layout .wp-block iframe{margin:0}@media screen and (max-width: 782px){.block-editor-block-list__layout .wp-block figure,.block-editor-block-list__layout .wp-block iframe{height:250px}}
Gutenberg/dist/blocks.style.build.css CHANGED
@@ -1,2 +1,2 @@
1
  .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:0 !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-document-editmode .components-form-file-upload{display:none !important}
2
- .embedpress-gutenberg-wrapper{margin:30px auto}.embedpress-gutenberg-wrapper iframe{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}
1
  .pdfobject-container{height:600px;width:600px;margin:0 auto}.embedpress-el-powered{text-align:center;margin-top:0 !important;font-size:16px !important;font-weight:700}.embedpress-embed-document iframe,[data-type="embedpress/document"] iframe{margin:0 auto;display:block}.embedpress-document-editmode .components-form-file-upload{display:none !important}
2
+ .embedpress-gutenberg-wrapper{margin:30px auto}.embedpress-gutenberg-wrapper iframe{max-width:100%}.ose-the-new-york-times iframe{min-height:500px;max-height:100%}body.page .flexia-wrapper>.content-area{padding:0 !important}.flexia-wrapper.flexia-container>.content-area{margin:0 !important}.flexia-wrapper.flexia-container>.content-area .embedpress-gutenberg-wrapper{margin:0 auto}
Gutenberg/plugin.php CHANGED
@@ -56,6 +56,8 @@ function embedpress_blocks_cgb_editor_assets() { // phpcs:ignore
56
  'skip_to_where_you_left_off' => __( 'Skip to where you left off', 'embedpress' ),
57
  'you_have_watched_it_before' => __( 'It looks like you\'ve watched<br />part of this video before!', 'embedpress' ),
58
  );
 
 
59
  $wistia_labels = json_encode( $wistia_labels );
60
  $wistia_options = null;
61
  if ( function_exists( 'embedpress_wisita_pro_get_options' ) ):
@@ -69,6 +71,7 @@ function embedpress_blocks_cgb_editor_assets() { // phpcs:ignore
69
  'embedpress_pro' => defined('EMBEDPRESS_PRO_PLUGIN_FILE'),
70
  'twitch_host' => !empty($pars_url['host'])?$pars_url['host']:'',
71
  'site_url' => site_url(),
 
72
  ) );
73
 
74
  // Styles.
@@ -111,16 +114,34 @@ foreach ( glob( EMBEDPRESS_GUTENBERG_DIR_PATH . 'block-backend/*.php' ) as $bloc
111
 
112
  function embedpress_gutenberg_register_all_block() {
113
  if ( function_exists( 'register_block_type' ) ) :
114
- register_block_type( 'embedpress/twitch-block' );
115
- register_block_type( 'embedpress/google-slides-block' );
116
- register_block_type( 'embedpress/google-sheets-block' );
117
- register_block_type( 'embedpress/google-maps-block' );
118
- register_block_type( 'embedpress/google-forms-block' );
119
- register_block_type( 'embedpress/google-drawings-block' );
120
- register_block_type( 'embedpress/google-docs-block' );
121
- register_block_type( 'embedpress/embedpress', [
122
- 'render_callback' => 'embedpress_render_block',
123
- ]);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
124
 
125
  endif;
126
  }
56
  'skip_to_where_you_left_off' => __( 'Skip to where you left off', 'embedpress' ),
57
  'you_have_watched_it_before' => __( 'It looks like you\'ve watched<br />part of this video before!', 'embedpress' ),
58
  );
59
+ $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
60
+ $active_blocks = isset( $elements['gutenberg']) ? (array) $elements['gutenberg'] : [];
61
  $wistia_labels = json_encode( $wistia_labels );
62
  $wistia_options = null;
63
  if ( function_exists( 'embedpress_wisita_pro_get_options' ) ):
71
  'embedpress_pro' => defined('EMBEDPRESS_PRO_PLUGIN_FILE'),
72
  'twitch_host' => !empty($pars_url['host'])?$pars_url['host']:'',
73
  'site_url' => site_url(),
74
+ 'active_blocks' => $active_blocks,
75
  ) );
76
 
77
  // Styles.
114
 
115
  function embedpress_gutenberg_register_all_block() {
116
  if ( function_exists( 'register_block_type' ) ) :
117
+
118
+ $elements = (array) get_option( EMBEDPRESS_PLG_NAME.":elements", []);
119
+ $g_blocks = isset( $elements['gutenberg']) ? (array) $elements['gutenberg'] : [];
120
+ $blocks_to_registers = [ 'twitch-block', 'google-slides-block','google-sheets-block', 'google-maps-block', 'google-forms-block', 'google-drawings-block', 'google-docs-block', 'embedpress'];
121
+
122
+ foreach ( $blocks_to_registers as $blocks_to_register ) {
123
+ if ( !empty($g_blocks[$blocks_to_register]) ) {
124
+ if ( 'embedpress' === $blocks_to_register ) {
125
+ register_block_type( 'embedpress/embedpress', [
126
+ 'render_callback' => 'embedpress_render_block',
127
+ ]);
128
+ }else{
129
+ register_block_type( 'embedpress/'.$blocks_to_register );
130
+ }
131
+ }else{
132
+ if ( WP_Block_Type_Registry::get_instance()->is_registered( 'embedpress/'.$blocks_to_register) ) {
133
+ unregister_block_type( 'embedpress/'.$blocks_to_register );
134
+ }
135
+ }
136
+ }
137
+
138
+ //register_block_type( 'embedpress/twitch-block' );
139
+ //register_block_type( 'embedpress/google-slides-block' );
140
+ //register_block_type( 'embedpress/google-sheets-block' );
141
+ //register_block_type( 'embedpress/google-maps-block' );
142
+ //register_block_type( 'embedpress/google-forms-block' );
143
+ //register_block_type( 'embedpress/google-drawings-block' );
144
+ //register_block_type( 'embedpress/google-docs-block' );
145
 
146
  endif;
147
  }
assets/css/admin.css CHANGED
@@ -408,15 +408,21 @@
408
  display: table;
409
  clear: both;
410
  }
 
 
 
 
 
 
411
  .wpdeveloper-notice-thumbnail {
412
- width: 90px;
413
  float: left;
414
  padding: 5px;
415
  text-align: center;
416
  border-right: 4px solid transparent;
417
  }
418
  .wpdeveloper-notice-thumbnail img {
419
- width: 72px;
420
  opacity: 0.85;
421
  -webkit-transition: all 0.3s;
422
  -o-transition: all 0.3s;
@@ -466,6 +472,8 @@
466
  }
467
  .notice.notice-has-thumbnail {
468
  padding-left: 0;
 
 
469
  }
470
  .wpdeveloper-upsale-notice {
471
  display: -webkit-box;
@@ -490,3 +498,9 @@
490
  #embedpress-settings-wrapper a.embedpress-settings-link {
491
  color: #0073aa;
492
  }
 
 
 
 
 
 
408
  display: table;
409
  clear: both;
410
  }
411
+ .wpdeveloper-update-notice{
412
+ margin-top: 20px;
413
+ }
414
+ .wpdeveloper-update-notice .notice-dismiss {
415
+ top: auto;
416
+ }
417
  .wpdeveloper-notice-thumbnail {
418
+ width: 40px;
419
  float: left;
420
  padding: 5px;
421
  text-align: center;
422
  border-right: 4px solid transparent;
423
  }
424
  .wpdeveloper-notice-thumbnail img {
425
+ width: 100%;
426
  opacity: 0.85;
427
  -webkit-transition: all 0.3s;
428
  -o-transition: all 0.3s;
472
  }
473
  .notice.notice-has-thumbnail {
474
  padding-left: 0;
475
+ display: flex;
476
+ align-items: center;
477
  }
478
  .wpdeveloper-upsale-notice {
479
  display: -webkit-box;
498
  #embedpress-settings-wrapper a.embedpress-settings-link {
499
  color: #0073aa;
500
  }
501
+
502
+ .embedpress-go-pro-action {
503
+ color: #39b54a;
504
+ text-shadow: 1px 1px 1px #eee;
505
+ font-weight: bold;
506
+ }
assets/js/front.js CHANGED
@@ -19,4 +19,39 @@
19
  }
20
  });
21
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
22
  })(jQuery);
19
  }
20
  });
21
 
22
+ /**
23
+ *
24
+ * Make embeds responsive so they don't overflow their container.
25
+ */
26
+
27
+ /**
28
+ * Add max-width & max-height to <iframe> elements, depending on their width & height props.
29
+ *
30
+ *
31
+ * @return {void}
32
+ */
33
+ function embedPressResponsiveEmbeds() {
34
+ var proportion, parentWidth;
35
+
36
+ // Loop iframe elements.
37
+ document.querySelectorAll( 'iframe' ).forEach( function( iframe ) {
38
+ // Only continue if the iframe has a width & height defined.
39
+ if ( iframe.width && iframe.height ) {
40
+ // Calculate the proportion/ratio based on the width & height.
41
+ proportion = parseFloat( iframe.width ) / parseFloat( iframe.height );
42
+ // Get the parent element's width.
43
+ parentWidth = parseFloat( window.getComputedStyle( iframe.parentElement, null ).width.replace( 'px', '' ) );
44
+ // Set the max-width & height.
45
+ iframe.style.maxWidth = '100%';
46
+ iframe.style.maxHeight = Math.round( parentWidth / proportion ).toString() + 'px';
47
+ }
48
+ } );
49
+ }
50
+
51
+ // Run on initial load.
52
+ embedPressResponsiveEmbeds();
53
+
54
+ // Run on resize.
55
+ window.onresize = embedPressResponsiveEmbeds;
56
+
57
  })(jQuery);
embedpress.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: EmbedPress lets you embed videos, images, posts, audio, maps and uplaoad PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 100+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
- * Version: 2.7.7
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
@@ -21,6 +21,9 @@
21
  */
22
 
23
  use EmbedPress\Compatibility;
 
 
 
24
 
25
  defined('ABSPATH') or die("No direct script access allowed.");
26
 
@@ -29,27 +32,35 @@ define('EMBEDPRESS_FILE', __FILE__);
29
 
30
  define('EMBEDPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
31
  define('EMBEDPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
32
- define('EMBEDPRESS_GUTENBERG_DIR_URL', plugin_dir_url(__FILE__).'Gutenberg/');
33
- define('EMBEDPRESS_GUTENBERG_DIR_PATH', plugin_dir_path(__FILE__).'Gutenberg/');
34
-
 
35
  define('EMBEDPRESS_PLUGIN_URL', plugins_url('/', __FILE__));
36
 
37
- require_once plugin_dir_path(__FILE__) . 'includes.php';
38
 
39
  include_once ABSPATH . 'wp-admin/includes/plugin.php';
40
 
41
  if ( ! defined('EMBEDPRESS_IS_LOADED')) {
42
  return;
43
  }
 
 
 
 
 
 
 
44
 
45
  function onPluginActivationCallback()
46
  {
47
- \EmbedPress\Core::onPluginActivationCallback();
48
  }
49
 
50
  function onPluginDeactivationCallback()
51
  {
52
- \EmbedPress\Core::onPluginDeactivationCallback();
53
  }
54
 
55
  register_activation_hook(__FILE__, 'onPluginActivationCallback');
@@ -62,14 +73,14 @@ if ( ! is_plugin_active('gutenberg/gutenberg.php')) {
62
  } );
63
  $editor_check = get_option('classic-editor-replace');
64
  if ((Compatibility::isWordPress5() && ! Compatibility::isClassicalEditorActive()) || (Compatibility::isClassicalEditorActive() && 'block'=== $editor_check )) {
65
- $embedPressPlugin = new \EmbedPress\Core();
66
  } else {
67
- $embedPressPlugin = new \EmbedPress\CoreLegacy();
68
  }
69
  $embedPressPlugin->initialize();
70
  }
71
 
72
  if ( is_plugin_active('elementor/elementor.php')) {
73
- $embedPressElements = new \EmbedPress\Elementor\Embedpress_Elementor_Integration();
74
  $embedPressElements->init();
75
  }
5
  * Description: EmbedPress lets you embed videos, images, posts, audio, maps and uplaoad PDF, DOC, PPT & all other types of content into your WordPress site with one-click and showcase it beautifully for the visitors. 100+ sources supported.
6
  * Author: WPDeveloper
7
  * Author URI: https://wpdeveloper.net
8
+ * Version: 3.0.0
9
  * Text Domain: embedpress
10
  * Domain Path: /languages
11
  *
21
  */
22
 
23
  use EmbedPress\Compatibility;
24
+ use EmbedPress\Core;
25
+ use EmbedPress\CoreLegacy;
26
+ use EmbedPress\Elementor\Embedpress_Elementor_Integration;
27
 
28
  defined('ABSPATH') or die("No direct script access allowed.");
29
 
32
 
33
  define('EMBEDPRESS_PLUGIN_DIR_PATH', plugin_dir_path(__FILE__));
34
  define('EMBEDPRESS_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
35
+ define('EMBEDPRESS_GUTENBERG_DIR_URL', EMBEDPRESS_PLUGIN_DIR_URL.'Gutenberg/');
36
+ define('EMBEDPRESS_GUTENBERG_DIR_PATH', EMBEDPRESS_PLUGIN_DIR_PATH.'Gutenberg/');
37
+ define('EMBEDPRESS_SETTINGS_ASSETS_URL', EMBEDPRESS_PLUGIN_DIR_URL.'EmbedPress/Ends/Back/Settings/assets/');
38
+ define('EMBEDPRESS_SETTINGS_PATH', EMBEDPRESS_PLUGIN_DIR_PATH.'EmbedPress/Ends/Back/Settings/');
39
  define('EMBEDPRESS_PLUGIN_URL', plugins_url('/', __FILE__));
40
 
41
+ require_once EMBEDPRESS_PLUGIN_DIR_PATH . 'includes.php';
42
 
43
  include_once ABSPATH . 'wp-admin/includes/plugin.php';
44
 
45
  if ( ! defined('EMBEDPRESS_IS_LOADED')) {
46
  return;
47
  }
48
+ function is_embedpress_pro_active() {
49
+ if ( ! function_exists( 'is_plugin_active') ) {
50
+ include_once ABSPATH . 'wp-admin/includes/plugin.php';
51
+ }
52
+
53
+ return is_plugin_active('embedpress-pro/embedpress-pro.php');
54
+ }
55
 
56
  function onPluginActivationCallback()
57
  {
58
+ Core::onPluginActivationCallback();
59
  }
60
 
61
  function onPluginDeactivationCallback()
62
  {
63
+ Core::onPluginDeactivationCallback();
64
  }
65
 
66
  register_activation_hook(__FILE__, 'onPluginActivationCallback');
73
  } );
74
  $editor_check = get_option('classic-editor-replace');
75
  if ((Compatibility::isWordPress5() && ! Compatibility::isClassicalEditorActive()) || (Compatibility::isClassicalEditorActive() && 'block'=== $editor_check )) {
76
+ $embedPressPlugin = new Core();
77
  } else {
78
+ $embedPressPlugin = new CoreLegacy();
79
  }
80
  $embedPressPlugin->initialize();
81
  }
82
 
83
  if ( is_plugin_active('elementor/elementor.php')) {
84
+ $embedPressElements = new Embedpress_Elementor_Integration();
85
  $embedPressElements->init();
86
  }
includes.php CHANGED
@@ -22,7 +22,7 @@ if ( ! defined('EMBEDPRESS_PLG_NAME')) {
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
- define('EMBEDPRESS_VERSION', "2.7.7");
26
  /**
27
  * @deprecated 2.2.0
28
  */
@@ -30,7 +30,7 @@ if ( ! defined('EMBEDPRESS_VERSION')) {
30
  }
31
 
32
  if ( ! defined('EMBEDPRESS_PRO_VERSION')) {
33
- define('EMBEDPRESS_PRO_VERSION', "2.4.6");
34
  }
35
 
36
  if ( ! defined('EMBEDPRESS_ROOT')) {
22
  }
23
 
24
  if ( ! defined('EMBEDPRESS_VERSION')) {
25
+ define('EMBEDPRESS_VERSION', "3.0.0");
26
  /**
27
  * @deprecated 2.2.0
28
  */
30
  }
31
 
32
  if ( ! defined('EMBEDPRESS_PRO_VERSION')) {
33
+ define('EMBEDPRESS_PRO_VERSION', "3.0.0");
34
  }
35
 
36
  if ( ! defined('EMBEDPRESS_ROOT')) {
readme.txt CHANGED
@@ -6,7 +6,7 @@ Tags: embed, embed youtube, gutenberg embed, pdf, doc, docs, ppt, elementor embe
6
  Requires at least: 4.6
7
  Tested up to: 5.7
8
  Requires PHP: 5.6
9
- Stable tag: 2.7.7
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
@@ -301,6 +301,13 @@ Not at all. You can set up everything your team needs without any coding knowled
301
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
302
  and this project adheres to [Semantic Versioning](http://semver.org/).
303
 
 
 
 
 
 
 
 
304
  = [2.7.7] - 2021-04-23 =
305
  * Hotfix - notice correction.
306
 
@@ -701,4 +708,4 @@ Added Wistia and Twitch blocks for Gutenberg
701
 
702
  == Upgrade Notice ==
703
 
704
- * [Minor Update] Hotfix
6
  Requires at least: 4.6
7
  Tested up to: 5.7
8
  Requires PHP: 5.6
9
+ Stable tag: 3.0.0
10
  License: GPLv3 or later
11
  License URI: https://opensource.org/licenses/GPL-3.0
12
 
301
  The format is based on [Keep a Changelog](http://keepachangelog.com/)
302
  and this project adheres to [Semantic Versioning](http://semver.org/).
303
 
304
+
305
+ = [3.0.0] - 2021-05-19 =
306
+ * Redesigned : Entire Settings panel.
307
+ * Revamped : Code Structure for better performance
308
+ * Added: Option to enable and disable any Elementor or Gutenberg editor widgets.
309
+ * Few minor bug fix and improvements.
310
+
311
  = [2.7.7] - 2021-04-23 =
312
  * Hotfix - notice correction.
313
 
708
 
709
  == Upgrade Notice ==
710
 
711
+ * [Major Update] Must Update.