Popups by OptinMonster – Best WordPress Lead Generation Plugin - Version 2.0.1

Version Description

  • Bug fixes and adjustments for compatibility with older versions of PHP.
  • Bug fixes related to wildcard domains and subdomains.
Download this release

Release Info

Developer jtsternberg
Plugin Icon 128x128 Popups by OptinMonster – Best WordPress Lead Generation Plugin
Version 2.0.1
Comparing to
See all releases

Code changes from version 2.0.0 to 2.0.1

Files changed (86) hide show
  1. CHANGELOG.md +4 -0
  2. OMAPI/Actions.php +2 -2
  3. OMAPI/Api.php +1 -2
  4. OMAPI/AssetLoader.php +5 -6
  5. OMAPI/Blocks.php +1 -1
  6. OMAPI/Content.php +0 -569
  7. OMAPI/Inserter.php +3 -3
  8. OMAPI/InstallSkinCompat.php +55 -0
  9. OMAPI/MailPoet.php +1 -1
  10. OMAPI/Menu.php +1 -1
  11. OMAPI/Output.php +14 -6
  12. OMAPI/Pages.php +7 -3
  13. OMAPI/Partners.php +1 -1
  14. OMAPI/Plugins.php +5 -1
  15. OMAPI/Pointer.php +0 -138
  16. OMAPI/RestApi.php +4 -3
  17. OMAPI/Save.php +2 -2
  18. OMAPI/Sites.php +25 -4
  19. OMAPI/Support.php +1 -1
  20. OMAPI/Validate.php +2 -2
  21. assets/css/images/featured-logos.png +0 -0
  22. assets/css/images/features-ab-testing.png +0 -0
  23. assets/css/images/features-analytics.png +0 -0
  24. assets/css/images/features-builder.png +0 -0
  25. assets/css/images/features-exit-animated.gif +0 -0
  26. assets/css/images/logo-color-large.png +0 -0
  27. assets/css/images/logo-color-large@2x.png +0 -0
  28. assets/css/images/matthewwoodward.png +0 -0
  29. assets/css/images/menu-icon@2x.png +0 -0
  30. assets/css/images/michaelstelzner.png +0 -0
  31. assets/css/images/neilpatel.png +0 -0
  32. assets/css/images/omapi-graph.png +0 -0
  33. assets/css/images/title-icon@2x.png +0 -0
  34. assets/css/images/video-cta-button.png +0 -0
  35. assets/css/pointer.css +0 -36
  36. assets/css/select2-spinner.gif +0 -0
  37. assets/css/select2.min.css +0 -1
  38. assets/css/select2.png +0 -0
  39. assets/css/select2x2.png +0 -0
  40. assets/dist/css/settings.min.css +0 -955
  41. assets/dist/css/settings.min.js +0 -1
  42. assets/dist/js/connect.min.js +0 -1
  43. assets/dist/js/pointer.min.js +0 -1
  44. assets/dist/js/settings.min.js +0 -1
  45. assets/fonts/archie.eot +0 -0
  46. assets/fonts/archie.svg +0 -11
  47. assets/fonts/archie.ttf +0 -0
  48. assets/fonts/archie.woff +0 -0
  49. assets/images/BigCommerce-logo.png +0 -0
  50. assets/images/features-event.svg +0 -135
  51. assets/images/features-fire.svg +0 -60
  52. assets/images/gravity-forms.png +0 -0
  53. assets/images/home-flexible.svg +0 -66
  54. assets/images/home-smart-targeting.svg +0 -126
  55. assets/images/logo-edd.png +0 -0
  56. assets/images/logo-formidable.png +0 -0
  57. assets/images/memberpress-logo.svg +0 -76
  58. assets/images/ninja-forms.png +0 -0
  59. assets/images/omteam.jpg +0 -0
  60. assets/images/trustpulse-admin-icon.svg +0 -3
  61. assets/images/video-background.png +0 -0
  62. assets/images/video-cta-button.png +0 -0
  63. assets/images/woocommerce_logo.png +0 -0
  64. assets/images/wpforms.png +0 -0
  65. assets/js/clipboard.min.js +0 -7
  66. assets/js/jspdf.min.js +0 -164
  67. assets/js/pointer.js +0 -29
  68. assets/js/select2.min.js +0 -23
  69. assets/js/settings.js +0 -377
  70. assets/js/tooltip.min.js +0 -9
  71. includes/class-am-notification.php +0 -452
  72. optin-monster-wp-api.php +5 -5
  73. readme.txt +5 -1
  74. views/about.php +0 -64
  75. views/archie-css.php +0 -30
  76. views/cybermonday-notification-css.php +0 -83
  77. views/cybermonday-notification-js.php +0 -20
  78. views/cybermonday-notification.php +0 -11
  79. views/cybermonday-pulse-css.php +0 -58
  80. views/notification-close-js.php +0 -20
  81. views/notification-css.php +0 -83
  82. views/notification-pulse-css.php +0 -58
  83. views/notification.php +0 -11
  84. views/welcome.php +0 -126
  85. vue/dist/js/{common.3bdb0f3e.js → common.9609c0d8.js} +3 -3
  86. vue/dist/manifest.json +2 -2
CHANGELOG.md CHANGED
@@ -1,6 +1,10 @@
1
  # Changelog
2
  All notable changes to the OptinMonster plugin will be documented in this file.
3
 
 
 
 
 
4
  ### 2.0.0
5
  * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
6
  * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
1
  # Changelog
2
  All notable changes to the OptinMonster plugin will be documented in this file.
3
 
4
+ ### 2.0.1
5
+ * Bug fixes and adjustments for compatibility with older versions of PHP.
6
+ * Bug fixes related to wildcard domains and subdomains.
7
+
8
  ### 2.0.0
9
  * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
10
  * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
OMAPI/Actions.php CHANGED
@@ -149,7 +149,7 @@ class OMAPI_Actions {
149
  }
150
 
151
  // Fetch the SiteIds for this site, if we don't have them
152
- if ( empty( $option['siteIds'] ) || empty( $option['siteId'] ) || $this->siteIdsAreNumeric( $option['siteIds'] ) ) {
153
 
154
  $result = $this->base->sites->fetch();
155
  if ( ! is_wp_error( $result ) ) {
@@ -175,7 +175,7 @@ class OMAPI_Actions {
175
  * @param array $siteIds
176
  * @return bool True if the ids are numeric
177
  */
178
- protected function siteIdsAreNumeric( $site_ids ) {
179
  foreach ( $site_ids as $id ) {
180
  if ( ! ctype_digit( (string) $id ) ) {
181
  return false;
149
  }
150
 
151
  // Fetch the SiteIds for this site, if we don't have them
152
+ if ( empty( $option['siteIds'] ) || empty( $option['siteId'] ) || $this->site_ids_are_numeric( $option['siteIds'] ) ) {
153
 
154
  $result = $this->base->sites->fetch();
155
  if ( ! is_wp_error( $result ) ) {
175
  * @param array $siteIds
176
  * @return bool True if the ids are numeric
177
  */
178
+ protected function site_ids_are_numeric( $site_ids ) {
179
  foreach ( $site_ids as $id ) {
180
  if ( ! ctype_digit( (string) $id ) ) {
181
  return false;
OMAPI/Api.php CHANGED
@@ -214,7 +214,7 @@ class OMAPI_Api {
214
  $body = array_filter( $body );
215
 
216
  // If a plugin API request, add the data.
217
- if ( 'info' == $this->route || 'update' == $this->route ) {
218
  $body['omapi-plugin'] = $this->plugin;
219
  }
220
 
@@ -336,7 +336,6 @@ class OMAPI_Api {
336
  *
337
  * @since 1.9.0
338
  *
339
- * @param array $data
340
  * return void
341
  */
342
  public function clear_additional_data() {
214
  $body = array_filter( $body );
215
 
216
  // If a plugin API request, add the data.
217
+ if ( 'info' === $this->route || 'update' === $this->route ) {
218
  $body['omapi-plugin'] = $this->plugin;
219
  }
220
 
336
  *
337
  * @since 1.9.0
338
  *
 
339
  * return void
340
  */
341
  public function clear_additional_data() {
OMAPI/AssetLoader.php CHANGED
@@ -45,7 +45,7 @@ class OMAPI_AssetLoader {
45
  * @param string $directory The base directory to use.
46
  * @param string $manifestFile The manifest file to use.
47
  */
48
- public function __construct( string $directory, $manifestFile = 'manifest.json' ) {
49
  $this->directory = $directory;
50
  $this->manifestFile = $manifestFile;
51
  }
@@ -133,7 +133,7 @@ class OMAPI_AssetLoader {
133
  * @since 2.0.0
134
  *
135
  * @param string $assetPath
136
- * @return null|\StdObject
137
  */
138
  protected function loadAssetFile( $assetPath ) {
139
  static $resources = array();
@@ -174,10 +174,9 @@ class OMAPI_AssetLoader {
174
  * @since 2.0.0
175
  *
176
  * @param string $directory The directory to append to the manifest file.
177
- * @param boolean $parse Whether or not to parse the results.
178
  * @return array The assets themselves or an array of parsed assets.
179
  */
180
- public function getAssetsList( string $directory, $parse = true ) {
181
  $directory = trailingslashit( $directory );
182
 
183
  $assets = $this->loadAssetFile( $directory . $this->manifestFile );
@@ -193,7 +192,7 @@ class OMAPI_AssetLoader {
193
  * @param string $path Filesystem path for which to return a URL.
194
  * @return string|null
195
  */
196
- protected function inferBaseUrl( string $path ) {
197
 
198
  if ( strpos( $path, get_stylesheet_directory() ) === 0 ) {
199
  return get_theme_file_uri( substr( $path, strlen( get_stylesheet_directory() ) ) );
@@ -219,7 +218,7 @@ class OMAPI_AssetLoader {
219
  * @param string $baseUrl A base URL to prepend to relative bundle URIs.
220
  * @return string
221
  */
222
- public function getAssetUri( string $assetPath, string $baseUrl ) {
223
 
224
  if ( strpos( $assetPath, '://' ) !== false ) {
225
  return $assetPath;
45
  * @param string $directory The base directory to use.
46
  * @param string $manifestFile The manifest file to use.
47
  */
48
+ public function __construct( $directory, $manifestFile = 'manifest.json' ) {
49
  $this->directory = $directory;
50
  $this->manifestFile = $manifestFile;
51
  }
133
  * @since 2.0.0
134
  *
135
  * @param string $assetPath
136
+ * @return null|Array
137
  */
138
  protected function loadAssetFile( $assetPath ) {
139
  static $resources = array();
174
  * @since 2.0.0
175
  *
176
  * @param string $directory The directory to append to the manifest file.
 
177
  * @return array The assets themselves or an array of parsed assets.
178
  */
179
+ public function getAssetsList( $directory ) {
180
  $directory = trailingslashit( $directory );
181
 
182
  $assets = $this->loadAssetFile( $directory . $this->manifestFile );
192
  * @param string $path Filesystem path for which to return a URL.
193
  * @return string|null
194
  */
195
+ protected function inferBaseUrl( $path ) {
196
 
197
  if ( strpos( $path, get_stylesheet_directory() ) === 0 ) {
198
  return get_theme_file_uri( substr( $path, strlen( get_stylesheet_directory() ) ) );
218
  * @param string $baseUrl A base URL to prepend to relative bundle URIs.
219
  * @return string
220
  */
221
+ public function getAssetUri( $assetPath, $baseUrl ) {
222
 
223
  if ( strpos( $assetPath, '://' ) !== false ) {
224
  return $assetPath;
OMAPI/Blocks.php CHANGED
@@ -136,7 +136,7 @@ class OMAPI_Blocks {
136
  'no_campaigns_button_help' => esc_html__( 'Learn how to create your first campaign', 'optin-monster-api' ),
137
  'found_error' => esc_html__( 'An error was encountered', 'optin-monster-api' ),
138
  );
139
- $i18n['description'] = html_entity_decode( $i18n['description'] );
140
 
141
  $campaigns = $this->base->get_optins();
142
  $site_ids = $this->base->get_site_ids();
136
  'no_campaigns_button_help' => esc_html__( 'Learn how to create your first campaign', 'optin-monster-api' ),
137
  'found_error' => esc_html__( 'An error was encountered', 'optin-monster-api' ),
138
  );
139
+ $i18n['description'] = html_entity_decode( $i18n['description'], ENT_COMPAT, 'UTF-8' );
140
 
141
  $campaigns = $this->base->get_optins();
142
  $site_ids = $this->base->get_site_ids();
OMAPI/Content.php DELETED
@@ -1,569 +0,0 @@
1
- <?php
2
- /**
3
- * Content class.
4
- *
5
- * @since 1.0.0
6
- *
7
- * @package OMAPI
8
- * @author Thomas Griffin
9
- */
10
-
11
- // Exit if accessed directly.
12
- if ( ! defined( 'ABSPATH' ) ) {
13
- exit;
14
- }
15
-
16
- /**
17
- * Content class.
18
- *
19
- * @since 1.0.0
20
- */
21
- class OMAPI_Content {
22
-
23
- /**
24
- * Holds the class object.
25
- *
26
- * @since 1.0.0
27
- *
28
- * @var object
29
- */
30
- public static $instance;
31
-
32
- /**
33
- * Path to the file.
34
- *
35
- * @since 1.0.0
36
- *
37
- * @var string
38
- */
39
- public $file = __FILE__;
40
-
41
- /**
42
- * Holds the base class object.
43
- *
44
- * @since 1.0.0
45
- *
46
- * @var object
47
- */
48
- public $base;
49
-
50
- /**
51
- * The current view slug
52
- *
53
- * @since 1.0.0
54
- *
55
- * @var string
56
- */
57
- protected $view;
58
-
59
- /**
60
- * The current action slug
61
- *
62
- * @since 1.9.10
63
- *
64
- * @var string
65
- */
66
- protected $action;
67
-
68
- /**
69
- * The list of campaigns for the campaign overview.
70
- *
71
- * @since 1.9.10
72
- *
73
- * @var array
74
- */
75
- protected $campaigns = array();
76
-
77
- /**
78
- * Primary class constructor.
79
- *
80
- * @since 1.0.0
81
- */
82
- public function __construct() {
83
-
84
- // Set our object.
85
- $this->set();
86
-
87
- // Load actions and filters.
88
- add_filter( 'admin_body_class', array( $this, 'admin_body_classes' ) );
89
- add_action( 'optin_monster_api_content_before', array( $this, 'form_start' ), 0, 4 );
90
- add_action( 'optin_monster_api_content_after', array( $this, 'form_end' ), 9999, 4 );
91
- add_action( 'optin_monster_api_content_api', array( $this, 'api' ), 10, 3 );
92
- add_action( 'optin_monster_api_content_optins', array( $this, 'optins' ), 10, 3 );
93
- add_action( 'optin_monster_api_content_settings', array( $this, 'settings' ), 10, 3 );
94
- add_action( 'optin_monster_api_content_support', array( $this, 'support' ), 10, 3 );
95
- add_action( 'optin_monster_api_content_migrate', array( $this, 'migrate' ), 10, 3 );
96
- add_action( 'optin_monster_api_content_woocommerce', array( $this, 'woocommerce' ), 10, 3 );
97
-
98
- }
99
-
100
- /**
101
- * Sets our object instance and base class instance.
102
- *
103
- * @since 1.0.0
104
- */
105
- public function set() {
106
-
107
- self::$instance = $this;
108
- $this->base = OMAPI::get_instance();
109
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
110
- $this->action = isset( $_GET['optin_monster_api_action'] ) ? stripslashes( $_GET['optin_monster_api_action'] ) : '';
111
- $this->optin = isset( $_GET['optin_monster_api_id'] ) ? $this->base->get_optin( absint( $_GET['optin_monster_api_id'] ) ) : false;
112
-
113
- }
114
-
115
- /**
116
- * Adds om admin body classes
117
- *
118
- * @since 1.9.10
119
- *
120
- * @param array $classes
121
- *
122
- * @return array
123
- */
124
- public function admin_body_classes( $classes ) {
125
- if ( $this->view ) {
126
- $classes .= ' omapi-view-'. $this->view .' ';
127
- }
128
-
129
- if ( $this->action ) {
130
- $classes .= ' omapi-action-'. $this->action .' ';
131
- }
132
-
133
- return $classes;
134
- }
135
-
136
- /**
137
- * Loads the starting form HTML for the panel content.
138
- *
139
- * @since 1.0.0
140
- *
141
- * @param string $id The panel ID we are targeting.
142
- * @param string $panel The panel name we are targeting.
143
- * @param object $object The menu object.
144
- * @param bool $active Whether current panel is active.
145
- */
146
- public function form_start( $id, $panel, $object, $active ) {
147
- if ( empty( $active ) ) {
148
- return;
149
- }
150
-
151
- $url = stripslashes( $_SERVER['REQUEST_URI'] );
152
- $url = add_query_arg( 'optin_monster_api_view', $id, $url );
153
-
154
- if ( 'optins' === $this->view && 'edit' !== $this->action ) {
155
-
156
- $args = array(
157
- // Allow seeing the hidden drafts via query arg (for debugging purposes)
158
- 'post_status' => ! empty( $_GET['post_status'] )
159
- ? explode( ',', sanitize_text_field( $_GET['post_status'] ) )
160
- : 'publish',
161
- );
162
-
163
- $this->campaigns = $this->base->get_optins( $args );
164
- if ( ! empty( $this->campaigns ) ) {
165
- $panel .= ' (' . count( $this->campaigns ) . ')';
166
- }
167
- }
168
-
169
- if ( 'support' === $this->view ) :
170
- ?>
171
- <h3><?php echo esc_html( $panel ); ?></h3>
172
- <?php
173
- else :
174
- ?>
175
- <form id="omapi-form-<?php echo sanitize_html_class( $id ); ?>" class="omapi-form" method="post" action="<?php echo esc_url( $url ); ?>">
176
- <?php wp_nonce_field( 'omapi_nonce_' . $id, 'omapi_nonce_' . $id ); ?>
177
- <input type="hidden" name="omapi_panel" value="<?php echo $id; ?>" />
178
- <input type="hidden" name="omapi_save" value="true" />
179
- <?php if ( 'settings' === $this->view ) : ?>
180
- <input type="hidden" name="omapi[<?php echo esc_attr( $this->view ); ?>][wpform]" value="true" />
181
- <?php endif; ?>
182
- <h3>
183
- <?php if ( 'edit' === $this->action ) : ?>
184
- <?php if ( ! empty( $this->optin->ID ) ) : ?>
185
- <?php printf( esc_html__( 'Output Settings for %s', 'optin-monster-api' ), esc_html( $this->optin->post_title ) ); ?>
186
- <?php if ( ! empty( $this->optin->post_status ) && 'publish' !== $this->optin->post_status ) : ?>
187
- <?php esc_html_e( ' (Paused)', 'optin-monster-api' ); ?>
188
- <?php endif; ?>
189
- <?php else : ?>
190
- <?php esc_html_e( 'Missing Campaign!', 'optin-monster-api' ); ?>
191
- <?php endif; ?>
192
- <span class="omapi-back"><a class="button button-secondary button-small" href="<?php echo esc_url_raw( $this->base->menu->get_settings_link( 'optins' ) ); ?>" title="<?php esc_attr_e( 'Back to campaign overview', 'optin-monster-api' ); ?>"><?php esc_html_e( 'Back to Overview', 'optin-monster-api' ); ?></a></span>
193
- <?php if ( ! empty( $this->optin->post_name ) ) : ?>
194
- <span class="omapi-slug omapi-has-tooltip" data-toggle="tooltip" data-placement="bottom" title="<?php esc_html_e( 'The unique slug of this campaign. Used for shortcodes and embed scripts.', 'optin-monster-api' ); ?>"><?php echo $this->optin->post_name; ?></span>
195
- <?php endif; ?>
196
- <?php else : ?>
197
- <?php echo esc_html( $panel ); ?>
198
- <?php endif; ?>
199
- </h3>
200
- <?php
201
- endif;
202
-
203
- // Action to load success/reset messages.
204
- // Deprecated. We now use the WP hook (all_admin_notices).
205
- do_action( 'optin_monster_api_messages_' . $id );
206
- }
207
-
208
- /**
209
- * Loads the ending form HTML for the panel content.
210
- *
211
- * @since 1.0.0
212
- *
213
- * @param string $id The panel ID we are targeting.
214
- * @param string $panel The panel name we are targeting.
215
- * @param object $object The menu object.
216
- * @param bool $active Whether current panel is active.
217
- */
218
- public function form_end( $id, $panel, $object, $active ) {
219
- if ( empty( $active ) ) {
220
- return;
221
- }
222
-
223
- $hide_submit_button_class = apply_filters( 'omapi_hide_submit_buttom', false ) ? 'omapi-hidden' : '';
224
-
225
- // Load different form buttons based on if credentials have been supplied or not.
226
- if ( ! $this->base->get_api_credentials() && 'support' !== $this->view ) :
227
- ?>
228
- <p class="submit <?php echo $hide_submit_button_class; ?>">
229
- <input class="button button-primary" type="submit" name="omapi_submit" value="<?php esc_attr_e( 'Connect to OptinMonster', 'optin-monster-api' ); ?>" />
230
- </p>
231
- </form>
232
- <?php
233
- elseif ( 'optins' === $this->view ) :
234
- if ( 'edit' === $this->action ) :
235
- ?>
236
- <p class="submit">
237
- <input class="button button-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Save Settings', 'optin-monster-api' ); ?>" />
238
- </p>
239
- </form>
240
- <?php
241
- else :
242
- ?>
243
- <p class="submit">
244
- <input class="button button-primary" type="submit" name="omapi_refresh" value="<?php esc_attr_e( 'Refresh Campaigns', 'optin-monster-api' ); ?>" />
245
- <a class="button button-secondary" href="<?php echo wp_nonce_url( esc_url_raw( $this->base->menu->get_settings_link( $this->view, array( 'optin_monster_api_action' => 'cookies' ) ) ), 'omapi-action' ); ?>" title="<?php esc_attr_e( 'Clear Local Cookies', 'optin-monster-api' ); ?>"><?php esc_html_e( 'Clear Local Cookies', 'optin-monster-api' ); ?></a>
246
- </p>
247
- </form>
248
- <?php
249
- endif;
250
- elseif ( 'migrate' === $this->view ) :
251
- ?>
252
- </form>
253
- <?php
254
- elseif ( 'support' === $this->view ) :
255
-
256
- // You get nothing.
257
-
258
- elseif ( 'woocommerce' === $this->view ) :
259
- ?>
260
- <p class="submit">
261
- <?php if ( OMAPI_WooCommerce::is_minimum_version() ) : ?>
262
- <?php if ( OMAPI_WooCommerce::is_connected() ) : ?>
263
- <input class="button button-secondary" type="submit" name="omapi_woocommerce_disconnect" value="<?php esc_attr_e( 'Disconnect WooCommerce', 'optin-monster-api' ); ?>" />
264
- <?php else : ?>
265
- <input class="button button-primary" type="submit" name="omapi[woocommerce][autogenerate]" value="<?php esc_attr_e( 'Auto-Generate Keys + Connect WooCommerce', 'optin-monster-api' ); ?>" />
266
- <span class="manually-connect-wc">
267
- <?php printf( esc_html__( 'or %1$sclick here%2$s to enter the the consumer key/secret pair manually.', 'optin-monster-api' ), '<a href="#" id="omapiShowApiKeys">', '</a>' ); ?>
268
- </span>
269
- <?php endif; ?>
270
- <?php endif; ?>
271
- </p>
272
- </form>
273
- <?php
274
- else :
275
- ?>
276
- <p class="submit <?php echo $hide_submit_button_class; ?>">
277
- <input class="button button-primary" type="submit" name="submit" value="<?php esc_attr_e( 'Save Settings', 'optin-monster-api' ); ?>" />
278
- </p>
279
- </form>
280
- <?php
281
- endif;
282
- }
283
-
284
- /**
285
- * Loads the content output for the API panel.
286
- *
287
- * @since 1.0.0
288
- *
289
- * @param string $panel The panel name we are targeting.
290
- * @param object $object The menu object.
291
- * @param bool $active Whether current panel is active.
292
- */
293
- public function api( $panel, $object, $active ) {
294
- if ( empty( $active ) ) {
295
- return;
296
- }
297
-
298
- $link = $this->base->menu->get_action_link();
299
- $text = $this->base->menu->has_trial_link()
300
- ? esc_html__( 'Click here to start your free 30-day trial!', 'optin-monster-api' )
301
- : esc_html__( 'Click here to learn more about OptinMonster!', 'optin-monster-api' );
302
-
303
- $credentials = $this->base->get_api_credentials();
304
-
305
- if ( ! $credentials ) :
306
- ?>
307
- <?php if ( ! $credentials && ! isset( $_GET['om-bypass-api-check'] ) ) : ?>
308
- <p class="omapi-red"><strong><?php esc_html_e( 'You must authenticate your OptinMonster account before you can use OptinMonster on this site.', 'optin-monster-api' ); ?></strong></p>
309
- <?php endif; ?>
310
- <p><em><?php printf( __( 'Need an OptinMonster account? <a href="%1$s" title="Click here to learn more about OptinMonster" target="_blank">%2$s</a>', 'optin-monster-api' ), $link, $text ); ?></em></p>
311
- <?php endif; ?>
312
-
313
- <?php echo $object->get_setting_ui( 'api', 'apikey' ); ?>
314
-
315
- <?php // If we have credentials only show the old stuff if it is saved ?>
316
- <?php if ( $credentials ) : ?>
317
- <?php if ( isset( $credentials['api'] ) && '' != $credentials['api'] || isset( $credentials['key'] ) && '' != $credentials['key'] ) : ?>
318
- <p><?php printf( __( 'The Legacy API Username and Key below will be deprecated soon. Please <a href="%s" target="_blank">generate a new API key</a> and paste it above to authenticate using our new and improved REST API.', 'optin-monster-api' ), esc_url( OPTINMONSTER_APP_URL . '/account/api/' ) ); ?></p>
319
- <?php echo $object->get_setting_ui( 'api', 'user' ); ?>
320
- <?php echo $object->get_setting_ui( 'api', 'key' ); ?>
321
- <?php endif; ?>
322
- <?php endif; ?>
323
-
324
- <?php if ( ! empty( $_GET['omwpdebug'] ) ) : ?>
325
- <?php echo $object->get_setting_ui( 'api', 'omwpdebug' ); ?>
326
- <?php endif; ?>
327
-
328
- <?php
329
-
330
- }
331
-
332
- /**
333
- * Loads the content output for the Database panel.
334
- *
335
- * @since 1.0.0
336
- *
337
- * @param string $panel The panel name we are targeting.
338
- * @param object $object The menu object.
339
- * @param bool $active Whether current panel is active.
340
- */
341
- public function optins( $panel, $object, $active ) {
342
- if ( empty( $active ) ) {
343
- return;
344
- }
345
-
346
- if ( 'edit' === $this->action ) {
347
- return $this->optin_edit( $object );
348
- }
349
-
350
- $this->optin_overview();
351
- }
352
-
353
- /**
354
- * Shows the optins loaded on the site.
355
- *
356
- * @since 1.0.0
357
- */
358
- public function optin_overview() {
359
- $first = true;
360
- if ( ! empty( $this->campaigns ) ) : ?>
361
- <?php foreach ( $this->campaigns as $optin ) :
362
- $class = $first ? ' omapi-optin-first' : '';
363
- if ( (bool) get_post_meta( $optin->ID, '_omapi_enabled', true ) ) {
364
- $status = '<span>' . esc_html__( 'Enabled', 'optin-monster-api' ) . '</span>';
365
- $status_tooltip = esc_html__( 'This campaign is enabled on this site.', 'optin-monster-api' );
366
- } else {
367
- $status = '<span style="opacity: .65;">' . esc_html__( 'Disabled', 'optin-monster-api' ) . '</span>';
368
- $status_tooltip = esc_html__( 'This campaign is not embedded by the plugin anywhere on this site.', 'optin-monster-api' );
369
- }
370
-
371
- $url = $this->base->menu->get_settings_link(
372
- $this->view,
373
- array(
374
- 'optin_monster_api_action' => 'edit',
375
- 'optin_monster_api_id' => $optin->ID,
376
- )
377
- );
378
- ?>
379
- <div class="omapi-optin<?php echo $class; ?>">
380
- <a href="<?php echo esc_url_raw( $url ); ?>" title="<?php printf( esc_attr__( 'Manage output settings for %s', 'optin-monster-api' ), $optin->post_title ); ?>"><?php echo $optin->post_title; ?></a>
381
- <span tabindex="0" class="omapi-status omapi-has-tooltip" data-toggle="tooltip" data-placement="bottom" title="<?php echo $status_tooltip; ?>"><?php echo $status; ?></span><br>
382
- <span tabindex="0" class="omapi-slug omapi-has-tooltip" data-toggle="tooltip" data-placement="bottom" title="<?php esc_html_e( 'The unique slug of this campaign. Used for shortcodes and embed scripts.', 'optin-monster-api' ); ?>"><?php echo $optin->post_name; ?></span>
383
- <span class="omapi-links"><?php echo $this->get_optin_links( $optin->ID ); ?></span>
384
- </div>
385
- <?php $first = false; endforeach; ?>
386
- <?php else : ?>
387
- <p><strong><?php esc_html_e( 'No campaigns could be retrieved for this site.', 'optin-monster-api' ); ?></strong></p>
388
- <?php
389
- endif;
390
- }
391
-
392
- /**
393
- * Loads the content output for the Support panel.
394
- *
395
- * @since 1.0.0
396
- *
397
- * @param string $panel The panel name we are targeting.
398
- * @param object $object The menu object.
399
- * @param bool $active Whether current panel is active.
400
- */
401
- public function settings( $panel, $object, $active ) {
402
- if ( empty( $active ) ) {
403
- return;
404
- }
405
-
406
- echo $object->get_setting_ui( 'settings', 'cookies' );
407
- }
408
-
409
- /**
410
- * Loads the content output for the WooCommerce panel.
411
- *
412
- * @since 1.7.0
413
- *
414
- * @param string $panel The panel name we are targeting.
415
- * @param object $object The menu object.
416
- * @param bool $active Whether current panel is active.
417
- */
418
- public function woocommerce( $panel, $object, $active ) {
419
- echo $object->get_setting_ui( 'woocommerce', 'settings' ); // WPCS: XSS ok.
420
- }
421
-
422
- /**
423
- * Loads the content output for the Support panel.
424
- *
425
- * @since 1.1.5
426
- *
427
- * @param string $panel The panel name we are targeting.
428
- * @param object $object The menu object.
429
- * @param bool $active Whether current panel is active.
430
- */
431
- public function support( $panel, $object, $active ) {
432
-
433
- echo $object->get_setting_ui( 'support', 'video' );
434
- echo $object->get_setting_ui( 'support', 'links' );
435
- echo $object->get_setting_ui( 'support', 'server-report' );
436
-
437
- }
438
-
439
- /**
440
- * Shows the editing interface for optins.
441
- *
442
- * @since 1.0.0
443
- *
444
- * @param object $object The menu object.
445
- * @param bool $active Whether current panel is active.
446
- */
447
- public function optin_edit( $object ) {
448
-
449
- // Check for existing optins
450
- if ( $this->optin ) {
451
- $type = get_post_meta( $this->optin->ID, '_omapi_type', true );
452
- echo $object->get_setting_ui( 'optins', 'enabled' );
453
-
454
- if ( 'sidebar' !== $type ) {
455
- if ( OMAPI_Utils::is_inline_type( $type ) ) {
456
- echo $object->get_setting_ui( 'optins', 'automatic' );
457
- echo $object->get_setting_ui( 'optins', 'automatic_shortcode' );
458
- }
459
-
460
- echo $object->get_setting_ui( 'optins', 'users' );
461
- }
462
-
463
- // Add support for MailPoet if the plugin is active.
464
- if ( $this->base->is_mailpoet_active() ) {
465
- echo $object->get_setting_ui( 'optins', 'mailpoet' );
466
- echo $object->get_setting_ui( 'optins', 'mailpoet_list' );
467
- echo $object->get_setting_ui( 'optins', 'mailpoet_use_phone' );
468
- echo $object->get_setting_ui( 'optins', 'mailpoet_phone_field' );
469
- }
470
- if ( 'sidebar' !== $type ) {
471
-
472
- // Add WooCommerce Toggle
473
- if ( $this->base->is_woocommerce_active() ) {
474
- echo $object->get_setting_ui( 'toggle', 'woocommerce-start' );
475
-
476
- echo $object->get_setting_ui( 'optins', 'show_on_woocommerce' );
477
- // Don't show if output can't use the_content filter
478
- if ( ! OMAPI_Utils::is_inline_type( $type ) ) {
479
- echo $object->get_setting_ui( 'optins', 'is_wc_shop' );
480
- }
481
- echo $object->get_setting_ui( 'optins', 'is_wc_product' );
482
- echo $object->get_setting_ui( 'optins', 'is_wc_cart' );
483
- echo $object->get_setting_ui( 'optins', 'is_wc_checkout' );
484
- echo $object->get_setting_ui( 'optins', 'is_wc_account' );
485
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint' );
486
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_order_pay' );
487
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_order_received' );
488
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_view_order' );
489
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_edit_account' );
490
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_edit_address' );
491
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_lost_password' );
492
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_customer_logout' );
493
- echo $object->get_setting_ui( 'optins', 'is_wc_endpoint_add_payment_method' );
494
- echo $object->get_setting_ui( 'optins', 'is_wc_product_category' );
495
- echo $object->get_setting_ui( 'optins', 'is_wc_product_tag' );
496
- echo $object->get_setting_ui( 'toggle', 'woocommerce-end' );
497
- }
498
-
499
- // Advanced Settings
500
- echo $object->get_setting_ui( 'toggle', 'advanced-start' );
501
- echo $object->get_setting_ui( 'optins', 'never' );
502
- echo $object->get_setting_ui( 'optins', 'only' );
503
- echo $object->get_setting_ui( 'optins', 'categories' );
504
- echo $object->get_setting_ui( 'optins', 'taxonomies' );
505
- echo $object->get_setting_ui( 'optins', 'show' );
506
- echo $object->get_setting_ui( 'toggle', 'advanced-end' );
507
- }
508
-
509
- if ( 'sidebar' === $type || 'inline' === $type ) {
510
- echo $object->get_setting_ui( 'note', 'sidebar_widget_notice' );
511
- }
512
- } else {
513
- ?>
514
- <p><strong><?php esc_html_e( 'No campaign could be retrieved for the ID specified.', 'optin-monster-api' ); ?></strong></p>
515
- <?php
516
- }
517
-
518
- }
519
-
520
- /**
521
- * Returns the action links for the optin.
522
- *
523
- * @since 1.0.0
524
- *
525
- * @param int $optin_id The optin ID to target.
526
- * @return string $links HTML string of action links.
527
- */
528
- public function get_optin_links( $optin_id ) {
529
-
530
- $optin = get_post( $optin_id );
531
- $slug = $optin->post_name;
532
- $status = (bool) get_post_meta( $optin_id, '_omapi_enabled', true );
533
- $status_link = $status ? esc_html__( 'Disable', 'optin-monster-api' ) : esc_html__( 'Go Live', 'optin-monster-api' );
534
- $status_desc = $status ? esc_attr__( 'Disable this campaign', 'optin-monster-api' ) : esc_attr__( 'Go live with this campaign', 'optin-monster-api' );
535
-
536
- $edit_url = $this->base->menu->get_settings_link(
537
- $this->view,
538
- array(
539
- 'optin_monster_api_action' => 'edit',
540
- 'optin_monster_api_id' => $optin_id,
541
- )
542
- );
543
- $status_url = $this->base->menu->get_settings_link(
544
- $this->view,
545
- array(
546
- 'optin_monster_api_action' => 'status',
547
- 'optin_monster_api_id' => $optin_id,
548
- )
549
- );
550
- $status_url = wp_nonce_url( $status_url, 'omapi-action' );
551
-
552
- $links = array();
553
- $links['editd'] = '<a href="' . esc_url_raw( OPTINMONSTER_APP_URL . '/campaigns/' . $slug . '/edit/' ) . '" title="' . esc_attr__( 'Edit this campaign on the OptinMonster App', 'optin-monster-api' ) . '" target="_blank">' . esc_html__( 'Edit Design', 'optin-monster-api' ) . '</a>';
554
- $links['edito'] = '<a href="' . esc_url_raw( $edit_url ) . '" title="' . esc_attr__( 'Edit the output settings for this campaign', 'optin-monster-api' ) . '">' . esc_html__( 'Edit Output Settings', 'optin-monster-api' ) . '</a>';
555
- $links['status'] = '<a href="' . esc_url_raw( $status_url ) . '" title="' . $status_desc . '">' . $status_link . '</a>';
556
-
557
- $links = apply_filters( 'optin_monster_api_action_links', $links, $optin_id );
558
-
559
- return implode( ' | ', (array) $links );
560
- }
561
-
562
- public function migrate() {
563
- ?>
564
- <p><?php esc_html_e( 'Your campaigns created within WordPress using the original OptinMonster plugin can be recreated manually in your OptinMonster account.', 'optin-monster-api' ); ?></p>
565
- <p><a href="https://optinmonster.com/docs/old-wordpress-customers-migrating-to-the-new-optinmonster-app/"><?php esc_html_e( 'Read the full post about the changes.', 'optin-monster-api' ); ?></a></p>
566
- <?php
567
- }
568
-
569
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
OMAPI/Inserter.php CHANGED
@@ -57,7 +57,7 @@ class OMAPI_Inserter {
57
  * @param string $content The original content.
58
  * @param string $to_insert The content to insert into the original content.
59
  */
60
- public function __construct( string $content, string $to_insert ) {
61
  $this->content = $content;
62
  $this->to_insert = $to_insert;
63
  }
@@ -93,7 +93,7 @@ class OMAPI_Inserter {
93
  *
94
  * @return string The combined content.
95
  */
96
- public function after_paragraph( int $paragraph_number ) {
97
 
98
  // If "0", then prepend.
99
  if ( empty( $paragraph_number ) ) {
@@ -140,7 +140,7 @@ class OMAPI_Inserter {
140
  *
141
  * @return string The combined content.
142
  */
143
- public function after_words( int $word_number ) {
144
 
145
  // If "0", then prepend.
146
  if ( empty( $word_number ) ) {
57
  * @param string $content The original content.
58
  * @param string $to_insert The content to insert into the original content.
59
  */
60
+ public function __construct( $content, $to_insert ) {
61
  $this->content = $content;
62
  $this->to_insert = $to_insert;
63
  }
93
  *
94
  * @return string The combined content.
95
  */
96
+ public function after_paragraph( $paragraph_number ) {
97
 
98
  // If "0", then prepend.
99
  if ( empty( $paragraph_number ) ) {
140
  *
141
  * @return string The combined content.
142
  */
143
+ public function after_words( $word_number ) {
144
 
145
  // If "0", then prepend.
146
  if ( empty( $word_number ) ) {
OMAPI/InstallSkinCompat.php ADDED
@@ -0,0 +1,55 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * WordPress class extended for on-the-fly addon installations.
5
+ */
6
+ class OMAPI_InstallSkinCompat extends WP_Upgrader_Skin {
7
+
8
+ /**
9
+ * Empty out the header of its HTML content and only check to see if it has
10
+ * been performed or not.
11
+ *
12
+ * @since 1.9.10
13
+ */
14
+ public function header() {}
15
+
16
+ /**
17
+ * Empty out the footer of its HTML contents.
18
+ *
19
+ * @since 1.9.10
20
+ */
21
+ public function footer() {}
22
+
23
+ /**
24
+ * Instead of outputting HTML for errors, json_encode the errors and send them
25
+ * back to the Ajax script for processing.
26
+ *
27
+ * @since 1.9.10
28
+ *
29
+ * @param array $errors Array of errors with the install process.
30
+ */
31
+ public function error( $errors ) {
32
+ if ( ! empty( $errors ) ) {
33
+ wp_send_json_error( $errors );
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Empty out the feedback method to prevent outputting HTML strings as the install
39
+ * is progressing.
40
+ *
41
+ * @since 1.9.10
42
+ *
43
+ * @param string $string The feedback string.
44
+ */
45
+ public function feedback( $string ) {}
46
+
47
+ /**
48
+ * Empty out JavaScript output that calls function to decrement the update counts.
49
+ *
50
+ * @since 1.9.10
51
+ *
52
+ * @param string $type Type of update count to decrement.
53
+ */
54
+ public function decrement_update_count( $type ) {}
55
+ }
OMAPI/MailPoet.php CHANGED
@@ -105,7 +105,7 @@ class OMAPI_MailPoet {
105
 
106
  // Loop through the list data and add to array.
107
  foreach ( (array) $custom_fields as $custom_field ) {
108
- if ( in_array( $custom_field['id'], $default_fields ) ) {
109
  continue;
110
  }
111
 
105
 
106
  // Loop through the list data and add to array.
107
  foreach ( (array) $custom_fields as $custom_field ) {
108
+ if ( in_array( $custom_field['id'], $default_fields, true ) ) {
109
  continue;
110
  }
111
 
OMAPI/Menu.php CHANGED
@@ -424,7 +424,7 @@ class OMAPI_Menu {
424
  *
425
  * @return string
426
  */
427
- public function get_settings_link( $args = array() ) {
428
  return $this->get_link( 'settings' );
429
  }
430
 
424
  *
425
  * @return string
426
  */
427
+ public function get_settings_link() {
428
  return $this->get_link( 'settings' );
429
  }
430
 
OMAPI/Output.php CHANGED
@@ -469,8 +469,8 @@ class OMAPI_Output {
469
  }
470
 
471
  echo '<div style="position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0">';
472
- echo '<div class="omapi-shortcode-helper">' . html_entity_decode( $shortcode, ENT_COMPAT ) . '</div>';
473
- echo '<div class="omapi-shortcode-parsed omapi-encoded">' . htmlentities( do_shortcode( html_entity_decode( $shortcode, ENT_COMPAT ) ) ) . '</div>';
474
  echo '</div>';
475
  }
476
  }
@@ -507,9 +507,14 @@ class OMAPI_Output {
507
  // Set flag to true.
508
  $this->localized = true;
509
 
 
 
 
 
 
510
  // Output JS variable.
511
  ?>
512
- <script type="text/javascript">var omapi_localized = { ajax: '<?php echo esc_url_raw( add_query_arg( 'optin-monster-ajax-route', true, admin_url( 'admin-ajax.php' ) ) ); ?>', nonce: '<?php echo wp_create_nonce( 'omapi' ); ?>', slugs: <?php echo json_encode( $this->slugs ); ?> };</script>
513
  <?php
514
  }
515
 
@@ -613,13 +618,16 @@ class OMAPI_Output {
613
  'object_type' => $object_type,
614
  'term_ids' => $tax_terms,
615
  );
 
 
616
  $output = function_exists( 'wp_json_encode' )
617
  ? wp_json_encode( $output )
618
  : json_encode( $output );
619
 
620
  // Output JS variable.
 
621
  ?>
622
- <script type="text/javascript">var omapi_data = <?php echo $output; // XSS: okay. ?>;</script>
623
  <?php
624
  }
625
 
@@ -634,7 +642,7 @@ class OMAPI_Output {
634
  */
635
  public function prepare_campaign( $optin ) {
636
  return isset( $optin->post_content ) && ! empty( $optin->post_content )
637
- ? trim( html_entity_decode( stripslashes( $optin->post_content ), ENT_QUOTES ), '\'' )
638
  : '';
639
  }
640
 
@@ -672,7 +680,7 @@ class OMAPI_Output {
672
  public static function current_id() {
673
  $post_id = get_queried_object_id();
674
  if ( ! $post_id ) {
675
- if ( 'page' == get_option( 'show_on_front' ) ) {
676
  $post_id = get_option( 'page_for_posts' );
677
  }
678
  }
469
  }
470
 
471
  echo '<div style="position:absolute;overflow:hidden;clip:rect(0 0 0 0);height:1px;width:1px;margin:-1px;padding:0;border:0">';
472
+ echo '<div class="omapi-shortcode-helper">' . html_entity_decode( $shortcode, ENT_COMPAT, 'UTF-8' ) . '</div>';
473
+ echo '<div class="omapi-shortcode-parsed omapi-encoded">' . htmlentities( do_shortcode( html_entity_decode( $shortcode, ENT_COMPAT, 'UTF-8' ) ), ENT_COMPAT, 'UTF-8' ) . '</div>';
474
  echo '</div>';
475
  }
476
  }
507
  // Set flag to true.
508
  $this->localized = true;
509
 
510
+ // phpcs:ignore WordPress.WP.AlternativeFunctions.json_encode_json_encode
511
+ $slugs = function_exists( 'wp_json_encode' )
512
+ ? wp_json_encode( $this->slugs )
513
+ : json_encode( $this->slugs );
514
+
515
  // Output JS variable.
516
  ?>
517
+ <script type="text/javascript">var omapi_localized = { ajax: '<?php echo esc_url_raw( add_query_arg( 'optin-monster-ajax-route', true, admin_url( 'admin-ajax.php' ) ) ); ?>', nonce: '<?php echo wp_create_nonce( 'omapi' ); ?>', slugs: <?php echo $slugs; ?> };</script>
518
  <?php
519
  }
520
 
618
  'object_type' => $object_type,
619
  'term_ids' => $tax_terms,
620
  );
621
+
622
+ // phpcs:ignore WordPress.WP.AlternativeFunctions.json_encode_json_encode
623
  $output = function_exists( 'wp_json_encode' )
624
  ? wp_json_encode( $output )
625
  : json_encode( $output );
626
 
627
  // Output JS variable.
628
+ // phpcs:ignore XSS
629
  ?>
630
+ <script type="text/javascript">var omapi_data = <?php echo $output; ?>;</script>
631
  <?php
632
  }
633
 
642
  */
643
  public function prepare_campaign( $optin ) {
644
  return isset( $optin->post_content ) && ! empty( $optin->post_content )
645
+ ? trim( html_entity_decode( stripslashes( $optin->post_content ), ENT_QUOTES, 'UTF-8' ), '\'' )
646
  : '';
647
  }
648
 
680
  public static function current_id() {
681
  $post_id = get_queried_object_id();
682
  if ( ! $post_id ) {
683
+ if ( 'page' === get_option( 'show_on_front' ) ) {
684
  $post_id = get_option( 'page_for_posts' );
685
  }
686
  }
OMAPI/Pages.php CHANGED
@@ -94,7 +94,7 @@ class OMAPI_Pages {
94
  * Returns an array of our registered pages.
95
  * If we need more pages, add them to this array
96
  *
97
- * @return void
98
  */
99
  public function get_registered_pages() {
100
  if ( empty( $this->pages ) ) {
@@ -150,7 +150,7 @@ class OMAPI_Pages {
150
  /**
151
  * Returns an array of our registered JS app pages.
152
  *
153
- * @return void
154
  */
155
  public function get_registered_app_pages() {
156
  return wp_list_filter( $this->get_registered_pages(), array( 'app' => true ) );
@@ -173,7 +173,8 @@ class OMAPI_Pages {
173
  * Registers our submenu pages
174
  *
175
  * @param string $parent_page_name The Parent Page Name
176
- * @return void
 
177
  */
178
  public function register_submenu_pages( $parent_page_name ) {
179
  $pages = $this->get_registered_pages();
@@ -223,6 +224,9 @@ class OMAPI_Pages {
223
  return $this->base->menu->redirect_to_dashboard();
224
  }
225
 
 
 
 
226
  wp_redirect( esc_url_raw( $pages[ $plugin_page ]['redirect'] ) );
227
  exit;
228
  }
94
  * Returns an array of our registered pages.
95
  * If we need more pages, add them to this array
96
  *
97
+ * @return array Array of page objects.
98
  */
99
  public function get_registered_pages() {
100
  if ( empty( $this->pages ) ) {
150
  /**
151
  * Returns an array of our registered JS app pages.
152
  *
153
+ * @return array Array of page objects.
154
  */
155
  public function get_registered_app_pages() {
156
  return wp_list_filter( $this->get_registered_pages(), array( 'app' => true ) );
173
  * Registers our submenu pages
174
  *
175
  * @param string $parent_page_name The Parent Page Name
176
+ *
177
+ * @return array Array of hook ids.
178
  */
179
  public function register_submenu_pages( $parent_page_name ) {
180
  $pages = $this->get_registered_pages();
224
  return $this->base->menu->redirect_to_dashboard();
225
  }
226
 
227
+ // TODO: wp_redirect() found. Using wp_safe_redirect(), along with the
228
+ // `allowed_redirect_hosts` filter if needed, can help avoid any chances
229
+ // of malicious redirects within code.
230
  wp_redirect( esc_url_raw( $pages[ $plugin_page ]['redirect'] ) );
231
  exit;
232
  }
OMAPI/Partners.php CHANGED
@@ -116,7 +116,7 @@ class OMAPI_Partners {
116
  * @return string The affilaite url.
117
  */
118
  protected static function get_affiliate_url( $partner_id ) {
119
- return sprintf( self::SAS_URL, urlencode( trim( $partner_id ) ) );
120
  }
121
 
122
  /**
116
  * @return string The affilaite url.
117
  */
118
  protected static function get_affiliate_url( $partner_id ) {
119
+ return sprintf( self::SAS_URL, rawurlencode( trim( $partner_id ) ) );
120
  }
121
 
122
  /**
OMAPI/Plugins.php CHANGED
@@ -295,8 +295,12 @@ class OMAPI_Plugins {
295
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
296
  }
297
 
 
 
 
 
298
  // Create the plugin upgrader with our custom skin.
299
- $installer = new Plugin_Upgrader( new OMAPI_InstallSkin() );
300
 
301
  // Error check.
302
  if ( ! method_exists( $installer, 'install' ) ) {
295
  require_once ABSPATH . 'wp-admin/includes/plugin.php';
296
  }
297
 
298
+ $skin = version_compare( $GLOBALS['wp_version'], '5.3', '>=' )
299
+ ? new OMAPI_InstallSkin()
300
+ : new OMAPI_InstallSkinCompat();
301
+
302
  // Create the plugin upgrader with our custom skin.
303
+ $installer = new Plugin_Upgrader( $skin );
304
 
305
  // Error check.
306
  if ( ! method_exists( $installer, 'install' ) ) {
OMAPI/Pointer.php DELETED
@@ -1,138 +0,0 @@
1
- <?php
2
- /**
3
- * Admin Pointer class.
4
- *
5
- * @since 1.6.5
6
- *
7
- * @package OMAPI
8
- * @author Erik Jonasson
9
- */
10
-
11
- // Exit if accessed directly.
12
- if ( ! defined( 'ABSPATH' ) ) {
13
- exit;
14
- }
15
-
16
- /**
17
- * Admin Pointer class.
18
- *
19
- * @since 1.6.5
20
- */
21
- class OMAPI_Pointer {
22
- /**
23
- * Holds the class object.
24
- *
25
- * @since 1.6.5
26
- *
27
- * @var object
28
- */
29
- public static $instance;
30
-
31
- /**
32
- * Class Constructor
33
- */
34
- public function __construct() {
35
- // If we are not in admin or admin ajax, return.
36
- if ( ! is_admin() ) {
37
- return;
38
- }
39
-
40
- // If user is in admin ajax or doing cron, return.
41
- if ( ( defined( 'DOING_AJAX' ) && DOING_AJAX ) || ( defined( 'DOING_CRON' ) && DOING_CRON ) ) {
42
- return;
43
- }
44
-
45
- // If user is not logged in, return.
46
- if ( ! is_user_logged_in() ) {
47
- return;
48
- }
49
-
50
- // If user cannot manage_options, return.
51
- if ( ! current_user_can( 'manage_options' ) ) {
52
- return;
53
- }
54
-
55
- $this->set();
56
-
57
- add_action( 'admin_enqueue_scripts', array( $this, 'load_pointer' ) );
58
- }
59
-
60
- /**
61
- * Sets our object instance and base class instance.
62
- *
63
- * @since 1.6.5
64
- */
65
- public function set() {
66
- self::$instance = $this;
67
- $this->base = OMAPI::get_instance();
68
- $this->view = isset( $_GET['optin_monster_api_view'] ) ? stripslashes( $_GET['optin_monster_api_view'] ) : $this->base->get_view();
69
- }
70
-
71
- /**
72
- * Loads our Admin Pointer, if:
73
- * 1. We're on a valid WP Version
74
- * 2. We're on the Dashboard Page
75
- * 3. We don't have an API Key
76
- * 4. The Pointer hasn't already been dismissed
77
- *
78
- * @since 1.6.5
79
- */
80
- public function load_pointer() {
81
-
82
- // Don't run on WP < 3.3.
83
- if ( get_bloginfo( 'version' ) < '3.3' ) {
84
- return;
85
- }
86
-
87
- $screen = get_current_screen();
88
-
89
- // If we're not on the dashboard, or we already have an API key, don't trigger the pointer.
90
- if ( 'dashboard' !== $screen->id || $this->base->get_api_credentials() ) {
91
- return;
92
- }
93
-
94
- // Make sure the pointer hasn't been dismissed.
95
- $dismissed = explode( ',', (string) get_user_meta( get_current_user_id(), 'dismissed_wp_pointers', true ) );
96
- if ( in_array( 'om-welcome-pointer', $dismissed, true ) ) {
97
- return;
98
- }
99
-
100
- $content = '<h3>' . esc_html__( 'Get More Leads, Subscribers and Sales Today!', 'optin-monster-api' ) . '</h3>';
101
- $content .= '<div class="om-pointer-close-link"><a class="close" href="#"></a></div>';
102
- $content .= '<h4>' . esc_html__( 'Grow Your Business with OptinMonster', 'optin-monster-api' ) . '</h4>';
103
- $content .= '<p>' . esc_html__( 'Turn your website visitors into subscribers and customers with OptinMonster, the #1 conversion optimization toolkit in the world.', 'optin-monster-api' ) . '</p>';
104
- $content .= '<p>' . esc_html__( 'For a limited time, get 50% off any plan AND get instant access to OptinMonster University - our exclusive training portal with over $2,000 worth of courses, courses, content and videos', 'optin-monster-api' ) . '<strong> ' . esc_html__( '100% Free!', 'optin-monster-api' ) . '</strong></p>';
105
- $content .= '<p><a class="button button-primary" id="omPointerButton" href="' . $this->base->welcome->get_link() . '">' . esc_html__( 'Click Here to Learn More', 'optin-monster-api' ) . '</a>';
106
-
107
- $pointer = array(
108
- 'id' => 'om-welcome-pointer',
109
- 'target' => '#toplevel_page_' . $this->base->menu->parent_slug(),
110
- 'options' => array(
111
- 'content' => $content,
112
- 'position' => array(
113
- 'edge' => 'left',
114
- 'align' => 'right',
115
- ),
116
- ),
117
- );
118
-
119
- // Add pointers script to queue. Add custom script.
120
- wp_enqueue_script(
121
- $this->base->plugin_slug . '-pointer',
122
- $this->base->url . 'assets/dist/js/pointer.min.js',
123
- array( 'wp-pointer' ),
124
- $this->base->asset_version(),
125
- true
126
- );
127
-
128
- wp_enqueue_style(
129
- $this->base->plugin_slug . '-pointer',
130
- $this->base->url . 'assets/css/pointer.css',
131
- array( 'wp-pointer' ),
132
- $this->base->asset_version()
133
- );
134
-
135
- // Add pointer options to script.
136
- wp_localize_script( $this->base->plugin_slug . '-pointer', 'omapiPointer', $pointer );
137
- }
138
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
OMAPI/RestApi.php CHANGED
@@ -320,7 +320,7 @@ class OMAPI_RestApi {
320
  *
321
  * @return bool Unchanged result.
322
  */
323
- function fallback_set_allow_headers( $rest_send_nocache_headers ) {
324
  if ( ! $this->allow_header_set && ! headers_sent() ) {
325
  foreach ( headers_list() as $header ) {
326
  if ( 0 === strpos( $header, 'Access-Control-Allow-Headers: ' ) ) {
@@ -639,6 +639,8 @@ class OMAPI_RestApi {
639
  'taxonomies' => $taxonomy_map,
640
  'posts' => $posts,
641
  'post_types' => $post_types,
 
 
642
  )
643
  );
644
 
@@ -763,8 +765,7 @@ class OMAPI_RestApi {
763
  public function maybe_allow( $access ) {
764
  if ( ! $access && $this->has_valid_api_key ) {
765
 
766
- // $access = ! $this->base->get_option( 'hide-announcements' );
767
- $access = true;
768
  }
769
 
770
  return $access;
320
  *
321
  * @return bool Unchanged result.
322
  */
323
+ public function fallback_set_allow_headers( $rest_send_nocache_headers ) {
324
  if ( ! $this->allow_header_set && ! headers_sent() ) {
325
  foreach ( headers_list() as $header ) {
326
  if ( 0 === strpos( $header, 'Access-Control-Allow-Headers: ' ) ) {
639
  'taxonomies' => $taxonomy_map,
640
  'posts' => $posts,
641
  'post_types' => $post_types,
642
+ 'siteId' => $this->base->get_site_id(),
643
+ 'siteIds' => $this->base->get_site_ids(),
644
  )
645
  );
646
 
765
  public function maybe_allow( $access ) {
766
  if ( ! $access && $this->has_valid_api_key ) {
767
 
768
+ $access = ! $this->base->get_option( 'hide_announcements' );
 
769
  }
770
 
771
  return $access;
OMAPI/Save.php CHANGED
@@ -319,7 +319,7 @@ class OMAPI_Save {
319
 
320
  $shortcodes = is_array( $shortcodes )
321
  ? implode( '|||', array_map( 'htmlentities', $shortcodes ) )
322
- : (array) htmlentities( $shortcodes );
323
 
324
  update_post_meta( $post_id, '_omapi_shortcode_output', $shortcodes );
325
  update_post_meta( $post_id, '_omapi_shortcode', true );
@@ -372,7 +372,7 @@ class OMAPI_Save {
372
  public function woocommerce_autogenerate( $wp_error = true ) {
373
  $cookies = array();
374
  foreach ( $_COOKIE as $name => $val ) {
375
- $cookies[] = "$name=" . urlencode( is_array( $val ) ? serialize( $val ) : $val );
376
  }
377
  $cookies = implode( '; ', $cookies );
378
 
319
 
320
  $shortcodes = is_array( $shortcodes )
321
  ? implode( '|||', array_map( 'htmlentities', $shortcodes ) )
322
+ : (array) htmlentities( $shortcodes, ENT_COMPAT, 'UTF-8' );
323
 
324
  update_post_meta( $post_id, '_omapi_shortcode_output', $shortcodes );
325
  update_post_meta( $post_id, '_omapi_shortcode', true );
372
  public function woocommerce_autogenerate( $wp_error = true ) {
373
  $cookies = array();
374
  foreach ( $_COOKIE as $name => $val ) {
375
+ $cookies[] = "$name=" . rawurlencode( is_array( $val ) ? serialize( $val ) : $val );
376
  }
377
  $cookies = implode( '; ', $cookies );
378
 
OMAPI/Sites.php CHANGED
@@ -66,22 +66,25 @@ class OMAPI_Sites {
66
  );
67
 
68
  $domain = $this->get_domain();
 
 
69
  if ( ! empty( $body->data ) ) {
70
  $checkCnames = true;
71
  foreach ( $body->data as $site ) {
72
- $results['siteIds'][] = (string) $site->siteId;
73
-
74
  if ( empty( $site->domain ) ) {
75
  continue;
76
  }
77
 
78
  $matches = $domain === (string) $site->domain;
79
- $wildcardDomain = '*.' === substr( $site->domain, 0, 2 );
80
 
 
81
  if ( ! $matches && ! $wildcardDomain ) {
82
  continue;
83
  }
84
 
 
 
85
  // If we don't have a siteId yet, set it to this one.
86
  // If we DO already have a siteId and this one is NOT a wildcard,
87
  // we want to overwrite with this one.
@@ -178,6 +181,23 @@ class OMAPI_Sites {
178
  return $domain;
179
  }
180
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
181
  /**
182
  * Updates the error text when we try to auto-create this WP site, but it fails.
183
  *
@@ -188,7 +208,8 @@ class OMAPI_Sites {
188
  * @return WP_Error
189
  */
190
  public function handle_error( $error ) {
191
- if ( 402 === (int) $error->get_error_data() && ! empty( OMAPI_Api::instance()->response_body->siteAmount ) ) {
 
192
 
193
  $message = sprintf(
194
  __( 'We tried to register your WordPress site with OptinMonster, but You have reached the maximum number of registered sites for your current OptinMonster plan.<br>Additional sites can be added to your account by <a href="%1$s" target="_blank" rel="noopener">upgrading</a> or <a href="%2$s" target="_blank" rel="noopener">purchasing additional site licenses</a>.', 'optin-monster-api' ),
66
  );
67
 
68
  $domain = $this->get_domain();
69
+ $tld = $this->get_tld( $domain );
70
+
71
  if ( ! empty( $body->data ) ) {
72
  $checkCnames = true;
73
  foreach ( $body->data as $site ) {
 
 
74
  if ( empty( $site->domain ) ) {
75
  continue;
76
  }
77
 
78
  $matches = $domain === (string) $site->domain;
79
+ $wildcardDomain = '*.' === substr( $site->domain, 0, 2 ) && $tld === $this->get_tld( $site->domain );
80
 
81
+ // Doesn't match, and not a wildcard? Bail.
82
  if ( ! $matches && ! $wildcardDomain ) {
83
  continue;
84
  }
85
 
86
+ $results['siteIds'][] = (string) $site->siteId;
87
+
88
  // If we don't have a siteId yet, set it to this one.
89
  // If we DO already have a siteId and this one is NOT a wildcard,
90
  // we want to overwrite with this one.
181
  return $domain;
182
  }
183
 
184
+ /**
185
+ * Get the top-level-domain for the given domain.
186
+ *
187
+ * @since 2.0.1
188
+ *
189
+ * @param string $domain Domain to get tld for.
190
+ *
191
+ * @return string The tld.
192
+ */
193
+ public function get_tld( $domain ) {
194
+ $parts = explode( '.', $domain );
195
+ $count = count( $parts );
196
+ $tld = array_slice( $parts, max( 0, $count - 2 ) );
197
+
198
+ return implode( '.', $tld );
199
+ }
200
+
201
  /**
202
  * Updates the error text when we try to auto-create this WP site, but it fails.
203
  *
208
  * @return WP_Error
209
  */
210
  public function handle_error( $error ) {
211
+ $instance = OMAPI_Api::instance();
212
+ if ( 402 === (int) $error->get_error_data() && ! empty( $instance->response_body->siteAmount ) ) {
213
 
214
  $message = sprintf(
215
  __( 'We tried to register your WordPress site with OptinMonster, but You have reached the maximum number of registered sites for your current OptinMonster plan.<br>Additional sites can be added to your account by <a href="%1$s" target="_blank" rel="noopener">upgrading</a> or <a href="%2$s" target="_blank" rel="noopener">purchasing additional site licenses</a>.', 'optin-monster-api' ),
OMAPI/Support.php CHANGED
@@ -137,7 +137,7 @@ class OMAPI_Support {
137
  $active_plugins = get_option( 'active_plugins', array() );
138
  $plugins = 'raw' === $format ? array() : "\n";
139
  foreach ( get_plugins() as $plugin_path => $plugin ) {
140
- if ( ! in_array( $plugin_path, $active_plugins ) ) {
141
  continue;
142
  }
143
 
137
  $active_plugins = get_option( 'active_plugins', array() );
138
  $plugins = 'raw' === $format ? array() : "\n";
139
  foreach ( get_plugins() as $plugin_path => $plugin ) {
140
+ if ( ! in_array( $plugin_path, $active_plugins, true ) ) {
141
  continue;
142
  }
143
 
OMAPI/Validate.php CHANGED
@@ -91,7 +91,7 @@ class OMAPI_Validate {
91
  }
92
 
93
  // Check if the transient has expired.
94
- if ( false !== ( $transient = get_transient( '_omapi_validate' ) ) ) {
95
  return;
96
  }
97
 
@@ -200,7 +200,7 @@ class OMAPI_Validate {
200
  </p>
201
  <p>
202
  <a href="' . esc_url_raw( $this->base->menu->get_onboarding_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'Get Started', 'optin-monster-api' ) . '">' . esc_html__( 'Get Started' ) . '</a>
203
- <a style="margin-left:8px" href="'. esc_url( $this->base->menu->get_onboarding_link() ) . '" title="' . esc_attr( 'Learn More', 'optin-monster-api' ) . '">' . esc_html( 'Learn More &rarr;', 'optin-monster-api' ) . '</a>
204
  </p>
205
  </div>
206
  ';
91
  }
92
 
93
  // Check if the transient has expired.
94
+ if ( false !== get_transient( '_omapi_validate' ) ) {
95
  return;
96
  }
97
 
200
  </p>
201
  <p>
202
  <a href="' . esc_url_raw( $this->base->menu->get_onboarding_link() ) . '" class="button button-primary button-large omapi-new-optin" title="' . esc_html__( 'Get Started', 'optin-monster-api' ) . '">' . esc_html__( 'Get Started' ) . '</a>
203
+ <a style="margin-left:8px" href="'. esc_url( $this->base->menu->get_onboarding_link() ) . '" title="' . esc_attr__( 'Learn More', 'optin-monster-api' ) . '">' . esc_html__( 'Learn More &rarr;', 'optin-monster-api' ) . '</a>
204
  </p>
205
  </div>
206
  ';
assets/css/images/featured-logos.png DELETED
Binary file
assets/css/images/features-ab-testing.png DELETED
Binary file
assets/css/images/features-analytics.png DELETED
Binary file
assets/css/images/features-builder.png DELETED
Binary file
assets/css/images/features-exit-animated.gif DELETED
Binary file
assets/css/images/logo-color-large.png DELETED
Binary file
assets/css/images/logo-color-large@2x.png DELETED
Binary file
assets/css/images/matthewwoodward.png DELETED
Binary file
assets/css/images/menu-icon@2x.png DELETED
Binary file
assets/css/images/michaelstelzner.png DELETED
Binary file
assets/css/images/neilpatel.png DELETED
Binary file
assets/css/images/omapi-graph.png DELETED
Binary file
assets/css/images/title-icon@2x.png DELETED
Binary file
assets/css/images/video-cta-button.png DELETED
Binary file
assets/css/pointer.css DELETED
@@ -1,36 +0,0 @@
1
- .wp-pointer {
2
- width: 415px !important;
3
- }
4
-
5
- .wp-pointer-content h3:before {
6
- content: "\f488";
7
- }
8
-
9
- .om-pointer-close-link a.close {
10
- position: absolute;
11
- top: 30px;
12
- right: 25px;
13
- }
14
-
15
- /* This style is included in later versions of */
16
- .wp-pointer-content h4 {
17
- margin: 1.33em 20px 1em;
18
- font-size: 1.15em;
19
- }
20
-
21
- .om-pointer-close-link a.close:before {
22
- background: 0 0;
23
- color: #fff;
24
- content: "\f153";
25
- display: block!important;
26
- font: normal 16px/1 dashicons;
27
- speak: none;
28
- margin: 1px 0;
29
- text-align: center;
30
- -webkit-font-smoothing: antialiased!important;
31
- width: 10px;
32
- height: 100%;
33
- position: absolute;
34
- left: -4px;
35
- top: -15px;
36
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/select2-spinner.gif DELETED
Binary file
assets/css/select2.min.css DELETED
@@ -1 +0,0 @@
1
- .select2-container{margin:0;position:relative;display:inline-block;zoom:1;*display:inline;vertical-align:middle}.select2-container,.select2-drop,.select2-search,.select2-search input{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.select2-container .select2-choice{display:block;height:28px;padding:0 0 0 8px;overflow:hidden;position:relative;border:1px solid #aaa;white-space:nowrap;line-height:28px;color:#444;text-decoration:none;border-radius:4px;background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#fff;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.5,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 50%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to top,#eee 0,#fff 50%)}html[dir=rtl] .select2-container .select2-choice{padding:0 8px 0 0}.select2-container.select2-drop-above .select2-choice{border-bottom-color:#aaa;border-radius:0 0 4px 4px;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#eee),color-stop(0.9,#fff));background-image:-webkit-linear-gradient(center bottom,#eee 0,#fff 90%);background-image:-moz-linear-gradient(center bottom,#eee 0,#fff 90%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffff', endColorstr='#eeeeee', GradientType=0);background-image:linear-gradient(to bottom,#eee 0,#fff 90%)}.select2-container.select2-allowclear .select2-choice .select2-chosen{margin-right:42px}.select2-container .select2-choice>.select2-chosen{margin-right:28px;display:block;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;float:none;width:auto}html[dir=rtl] .select2-container .select2-choice>.select2-chosen{margin-left:28px;margin-right:0}.select2-container .select2-choice abbr{display:none;width:12px;height:12px;position:absolute;right:24px;top:8px;font-size:1px;text-decoration:none;border:0;background:url(select2.png) right top no-repeat;cursor:pointer;outline:0}.select2-container.select2-allowclear .select2-choice abbr{display:inline-block}.select2-container .select2-choice abbr:hover{background-position:right -11px;cursor:pointer}.select2-drop-mask{border:0;margin:0;padding:0;position:fixed;left:0;top:0;min-height:100%;min-width:100%;height:auto;width:auto;opacity:0;z-index:9998;background-color:#fff;filter:alpha(opacity=0)}.select2-drop{width:100%;margin-top:-1px;position:absolute;z-index:9999;top:100%;background:#fff;color:#000;border:1px solid #aaa;border-top:0;border-radius:0 0 4px 4px;-webkit-box-shadow:0 4px 5px rgba(0,0,0,.15);box-shadow:0 4px 5px rgba(0,0,0,.15)}.select2-drop.select2-drop-above{margin-top:1px;border-top:1px solid #aaa;border-bottom:0;border-radius:4px 4px 0 0;-webkit-box-shadow:0 -4px 5px rgba(0,0,0,.15);box-shadow:0 -4px 5px rgba(0,0,0,.15)}.select2-drop-active{border:1px solid #5897fb;border-top:none}.select2-drop.select2-drop-above.select2-drop-active{border-top:1px solid #5897fb}.select2-drop-auto-width{border-top:1px solid #aaa;width:auto}.select2-drop-auto-width .select2-search{padding-top:4px}.select2-container .select2-choice .select2-arrow{display:inline-block;width:18px;height:100%;position:absolute;right:0;top:0;border-left:1px solid #aaa;border-radius:0 4px 4px 0;background:#ccc;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#ccc),color-stop(0.6,#eee));background-image:-webkit-linear-gradient(center bottom,#ccc 0,#eee 60%);background-image:-moz-linear-gradient(center bottom,#ccc 0,#eee 60%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#cccccc', GradientType=0);background-image:linear-gradient(to top,#ccc 0,#eee 60%)}html[dir=rtl] .select2-container .select2-choice .select2-arrow{left:0;right:auto;border-left:none;border-right:1px solid #aaa;border-radius:4px 0 0 4px}.select2-container .select2-choice .select2-arrow b{display:block;width:100%;height:100%;background:url(select2.png) no-repeat 0 1px}html[dir=rtl] .select2-container .select2-choice .select2-arrow b{background-position:2px 1px}.select2-search{display:inline-block;width:100%;min-height:28px;margin:0;padding-left:4px;padding-right:4px;position:relative;z-index:10000;white-space:nowrap}.select2-search input{width:100%;height:auto!important;min-height:28px;padding:4px 20px 4px 5px;margin:0;outline:0;font-family:sans-serif;font-size:1em;border:1px solid #aaa;border-radius:0;-webkit-box-shadow:none;box-shadow:none;background:#fff url(select2.png) no-repeat 100% -22px;background:url(select2.png) no-repeat 100% -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(select2.png) no-repeat 100% -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2.png) no-repeat 100% -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2.png) no-repeat 100% -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}html[dir=rtl] .select2-search input{padding:4px 5px 4px 20px;background:#fff url(select2.png) no-repeat -37px -22px;background:url(select2.png) no-repeat -37px -22px,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(select2.png) no-repeat -37px -22px,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2.png) no-repeat -37px -22px,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2.png) no-repeat -37px -22px,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-drop.select2-drop-above .select2-search input{margin-top:4px}.select2-search input.select2-active{background:#fff url(select2-spinner.gif) no-repeat 100%;background:url(select2-spinner.gif) no-repeat 100%,-webkit-gradient(linear,left bottom,left top,color-stop(0.85,#fff),color-stop(0.99,#eee));background:url(select2-spinner.gif) no-repeat 100%,-webkit-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2-spinner.gif) no-repeat 100%,-moz-linear-gradient(center bottom,#fff 85%,#eee 99%);background:url(select2-spinner.gif) no-repeat 100%,linear-gradient(to bottom,#fff 85%,#eee 99%) 0 0}.select2-container-active .select2-choice,.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-dropdown-open .select2-choice{border-bottom-color:transparent;-webkit-box-shadow:0 1px 0 #fff inset;box-shadow:0 1px 0 #fff inset;border-bottom-left-radius:0;border-bottom-right-radius:0;background-color:#eee;background-image:-webkit-gradient(linear,left bottom,left top,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center bottom,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center bottom,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to top,#fff 0,#eee 50%)}.select2-dropdown-open.select2-drop-above .select2-choice,.select2-dropdown-open.select2-drop-above .select2-choices{border:1px solid #5897fb;border-top-color:transparent;background-image:-webkit-gradient(linear,left top,left bottom,color-stop(0,#fff),color-stop(0.5,#eee));background-image:-webkit-linear-gradient(center top,#fff 0,#eee 50%);background-image:-moz-linear-gradient(center top,#fff 0,#eee 50%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#ffffff', GradientType=0);background-image:linear-gradient(to bottom,#fff 0,#eee 50%)}.select2-dropdown-open .select2-choice .select2-arrow{background:0 0;border-left:none;filter:none}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow{border-right:none}.select2-dropdown-open .select2-choice .select2-arrow b{background-position:-18px 1px}html[dir=rtl] .select2-dropdown-open .select2-choice .select2-arrow b{background-position:-16px 1px}.select2-hidden-accessible{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px}.select2-results{max-height:200px;padding:0 0 0 4px;margin:4px 4px 4px 0;position:relative;overflow-x:hidden;overflow-y:auto;-webkit-tap-highlight-color:rgba(0,0,0,0)}html[dir=rtl] .select2-results{padding:0 4px 0 0;margin:4px 0 4px 4px}.select2-results ul.select2-result-sub{margin:0;padding-left:0}.select2-results li{list-style:none;display:list-item;background-image:none}.select2-results li.select2-result-with-children>.select2-result-label{font-weight:700}.select2-results .select2-result-label{padding:3px 7px 4px;margin:0;cursor:pointer;min-height:1em;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.select2-results-dept-1 .select2-result-label{padding-left:20px}.select2-results-dept-2 .select2-result-label{padding-left:40px}.select2-results-dept-3 .select2-result-label{padding-left:60px}.select2-results-dept-4 .select2-result-label{padding-left:80px}.select2-results-dept-5 .select2-result-label{padding-left:100px}.select2-results-dept-6 .select2-result-label{padding-left:110px}.select2-results-dept-7 .select2-result-label{padding-left:120px}.select2-results .select2-highlighted{background:#3875d7;color:#fff}.select2-results li em{background:#feffde;font-style:normal}.select2-results .select2-highlighted em{background:0 0}.select2-results .select2-highlighted ul{background:#fff;color:#000}.select2-results .select2-ajax-error,.select2-results .select2-no-results,.select2-results .select2-searching,.select2-results .select2-selection-limit{background:#f4f4f4;display:list-item;padding-left:5px}.select2-results .select2-disabled.select2-highlighted{color:#666;background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-disabled{background:#f4f4f4;display:list-item;cursor:default}.select2-results .select2-selected{display:none}.select2-more-results.select2-active{background:#f4f4f4 url(select2-spinner.gif) no-repeat 100%}.select2-results .select2-ajax-error{background:rgba(255,50,50,.2)}.select2-more-results{background:#f4f4f4;display:list-item}.select2-container.select2-container-disabled .select2-choice{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container.select2-container-disabled .select2-choice .select2-arrow{background-color:#f4f4f4;background-image:none;border-left:0}.select2-container.select2-container-disabled .select2-choice abbr{display:none}.select2-container-multi .select2-choices{height:auto!important;height:1%;margin:0;padding:0 5px 0 0;position:relative;border:1px solid #aaa;cursor:text;overflow:hidden;background-color:#fff;background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(1%,#eee),color-stop(15%,#fff));background-image:-webkit-linear-gradient(top,#eee 1%,#fff 15%);background-image:-moz-linear-gradient(top,#eee 1%,#fff 15%);background-image:linear-gradient(to bottom,#eee 1%,#fff 15%)}html[dir=rtl] .select2-container-multi .select2-choices{padding:0 0 0 5px}.select2-locked{padding:3px 5px!important}.select2-container-multi .select2-choices{min-height:28px}.select2-container-multi.select2-container-active .select2-choices{border:1px solid #5897fb;outline:0;-webkit-box-shadow:0 0 5px rgba(0,0,0,.3);box-shadow:0 0 5px rgba(0,0,0,.3)}.select2-container-multi .select2-choices li{float:left;list-style:none}html[dir=rtl] .select2-container-multi .select2-choices li{float:right}.select2-container-multi .select2-choices .select2-search-field{margin:0;padding:0;white-space:nowrap}.select2-container-multi .select2-choices .select2-search-field input{padding:5px;margin:1px 0;font-family:sans-serif;font-size:100%;color:#666;outline:0;border:0;-webkit-box-shadow:none;box-shadow:none;background:transparent!important}.select2-container-multi .select2-choices .select2-search-field input.select2-active{background:#fff url(select2-spinner.gif) no-repeat 100%!important}.select2-default{color:#999!important}.select2-container-multi .select2-choices .select2-search-choice{padding:3px 5px 3px 18px;margin:3px 0 3px 5px;position:relative;line-height:13px;color:#333;cursor:default;border:1px solid #aaa;border-radius:3px;-webkit-box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,.05);background-clip:padding-box;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-color:#e4e4e4;filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#eeeeee', endColorstr='#f4f4f4', GradientType=0);background-image:-webkit-gradient(linear,0 0,0 100%,color-stop(20%,#f4f4f4),color-stop(50%,#f0f0f0),color-stop(52%,#e8e8e8),color-stop(100%,#eee));background-image:-webkit-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:-moz-linear-gradient(top,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%);background-image:linear-gradient(to bottom,#f4f4f4 20%,#f0f0f0 50%,#e8e8e8 52%,#eee 100%)}html[dir=rtl] .select2-container-multi .select2-choices .select2-search-choice{margin:3px 5px 3px 0;padding:3px 18px 3px 5px}.select2-container-multi .select2-choices .select2-search-choice .select2-chosen{cursor:default}.select2-container-multi .select2-choices .select2-search-choice-focus{background:#d4d4d4}.select2-search-choice-close{display:block;width:12px;height:13px;position:absolute;right:3px;top:4px;font-size:1px;outline:0;background:url(select2.png) right top no-repeat}html[dir=rtl] .select2-search-choice-close{right:auto;left:3px}.select2-container-multi .select2-search-choice-close{left:3px}html[dir=rtl] .select2-container-multi .select2-search-choice-close{left:auto;right:2px}.select2-container-multi .select2-choices .select2-search-choice .select2-search-choice-close:hover,.select2-container-multi .select2-choices .select2-search-choice-focus .select2-search-choice-close{background-position:right -11px}.select2-container-multi.select2-container-disabled .select2-choices{background-color:#f4f4f4;background-image:none;border:1px solid #ddd;cursor:default}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice{padding:3px 5px;border:1px solid #ddd;background-image:none;background-color:#f4f4f4}.select2-container-multi.select2-container-disabled .select2-choices .select2-search-choice .select2-search-choice-close{display:none;background:0 0}.select2-result-selectable .select2-match,.select2-result-unselectable .select2-match{text-decoration:underline}.select2-offscreen,.select2-offscreen:focus{clip:rect(0 0 0 0)!important;width:1px!important;height:1px!important;border:0!important;margin:0!important;padding:0!important;overflow:hidden!important;position:absolute!important;outline:0!important;left:0!important;top:0!important}.select2-display-none{display:none}.select2-measure-scrollbar{position:absolute;top:-10000px;left:-10000px;width:100px;height:100px;overflow:scroll}@media only screen and (-webkit-min-device-pixel-ratio:1.5),only screen and (min-resolution:2dppx){.select2-container .select2-choice .select2-arrow b,.select2-container .select2-choice abbr,.select2-search input,.select2-search-choice-close{background-image:url(select2x2.png)!important;background-repeat:no-repeat!important;background-size:60px 40px!important}.select2-search input{background-position:100% -21px!important}}
 
assets/css/select2.png DELETED
Binary file
assets/css/select2x2.png DELETED
Binary file
assets/dist/css/settings.min.css DELETED
@@ -1,955 +0,0 @@
1
- /* ==========================================================================
2
- Settings Styles
3
- ========================================================================== */
4
- .omapi-screen div.updated,
5
- .omapi-screen div.error {
6
- margin-top: 15px; }
7
-
8
- .omapi-screen *:focus {
9
- -webkit-box-shadow: 0 0 2px 1px rgba(151, 171, 204, 0.6);
10
- box-shadow: 0 0 2px 1px rgba(151, 171, 204, 0.6);
11
- outline-width: 0; }
12
-
13
- .omapi-hidden {
14
- display: none;
15
- visibility: hidden;
16
- opacity: 0;
17
- height: 0;
18
- line-height: 0; }
19
-
20
- .omapi-clear {
21
- clear: both; }
22
-
23
- .omapi-clear:after {
24
- clear: both;
25
- content: '.';
26
- display: block;
27
- height: 0;
28
- line-height: 0;
29
- overflow: auto;
30
- visibility: hidden;
31
- zoom: 1; }
32
-
33
- .omapi-red {
34
- color: red !important; }
35
-
36
- .omapi-green {
37
- color: #74BA0D !important; }
38
-
39
- /* Remove default WP padding */
40
- .omapi-screen #wpcontent {
41
- padding-left: 0; }
42
-
43
- .omapi-screen h2 {
44
- padding-right: 0 !important; }
45
-
46
- .omapi-screen h2 span {
47
- font-size: 13px;
48
- color: #666; }
49
-
50
- /* Static Banner */
51
- .omapi-screen .omapi-static-banner {
52
- background: #0d82df;
53
- height: 50px;
54
- line-height: 1;
55
- padding-left: 15px; }
56
- @media screen and (max-width: 1000px) {
57
- .omapi-screen .omapi-static-banner {
58
- height: auto; } }
59
-
60
- .omapi-static-banner .logo-wrapper {
61
- padding: 12px 0;
62
- line-height: 1;
63
- display: inline-block; }
64
- @media screen and (max-width: 1000px) {
65
- .omapi-static-banner .logo-wrapper {
66
- padding-bottom: 0; } }
67
-
68
- .omapi-static-banner .omapi-svg-logo {
69
- height: 24px;
70
- width: 159px; }
71
-
72
- .omapi-static-banner svg {
73
- display: initial;
74
- vertical-align: initial; }
75
-
76
- @media screen and (max-width: 1000px) {
77
- .omapi-static-banner .inner-container {
78
- display: -webkit-box;
79
- display: -ms-flexbox;
80
- display: flex;
81
- -webkit-box-align: center;
82
- -ms-flex-align: center;
83
- align-items: center;
84
- -webkit-box-pack: center;
85
- -ms-flex-pack: center;
86
- justify-content: center;
87
- -webkit-box-orient: vertical;
88
- -webkit-box-direction: normal;
89
- -ms-flex-direction: column;
90
- flex-direction: column; } }
91
-
92
- .logo-wrapper span.omapi-logo-version {
93
- color: #fff;
94
- vertical-align: middle;
95
- margin-bottom: 10px;
96
- margin-left: 5px;
97
- display: inline-block; }
98
-
99
- .omapi-screen .static-menu {
100
- float: right; }
101
-
102
- .omapi-screen .static-menu ul {
103
- margin: 0; }
104
-
105
- .omapi-screen .static-menu ul li {
106
- display: inline-block;
107
- padding: 18px 0;
108
- margin: 0;
109
- font-size: 14px; }
110
-
111
- .omapi-screen .static-menu ul li:last-of-type {
112
- padding-right: 0; }
113
-
114
- .omapi-screen .static-menu ul li a {
115
- text-decoration: none;
116
- color: #fff;
117
- font-size: 13px;
118
- font-weight: 400;
119
- letter-spacing: .04em;
120
- padding: 5px 10px; }
121
-
122
- /* Cleaner screen even when updates needed */
123
- .omapi-screen .update-nag {
124
- display: none; }
125
-
126
- /* Only shown on main plugin view */
127
- .omapi-screen .static-menu ul li.omapi-menu-button {
128
- padding: 0 !important;
129
- margin-top: -3px !important;
130
- vertical-align: middle;
131
- margin-left: 10px; }
132
-
133
- .omapi-screen #omapi-create-new-optin-button {
134
- padding: 0 10px;
135
- background: #74ba0d;
136
- border-color: #74ba0d;
137
- -webkit-box-shadow: none;
138
- box-shadow: none;
139
- border: 0;
140
- color: #fff; }
141
- .omapi-screen #omapi-create-new-optin-button:hover {
142
- border-color: #76b118;
143
- background-color: #76b118; }
144
- .omapi-screen #omapi-create-new-optin-button:focus, .omapi-screen #omapi-create-new-optin-button:active {
145
- -webkit-box-shadow: 0 0 2px 1px #fff;
146
- box-shadow: 0 0 2px 1px #fff;
147
- outline-width: 0; }
148
-
149
- .omapi-screen .static-menu ul li a:hover {
150
- background: rgba(0, 0, 0, 0.08); }
151
-
152
- .omapi-screen .omapi-static-banner .inner-container {
153
- padding: 0 1.2rem;
154
- max-width: 100%; }
155
-
156
- /* Welcome Page*/
157
- body.omapi-welcome #wpbody-content > .notice, body[class*="toplevel_page_optin-monster-api-"] #wpbody-content > .notice, body[class*="optinmonster_page_"] #wpbody-content > .notice {
158
- margin: 28px 20px 15px; }
159
-
160
- .omapi-welcome .inner-container {
161
- max-width: 45rem;
162
- margin: 0 auto;
163
- padding: 0; }
164
-
165
- .omapi-welcome .logo-wrapper span.omapi-logo-version {
166
- display: none; }
167
-
168
- .omapi-welcome-content *,
169
- .admin_page_optin-monster-api-review #wpbody-content *,
170
- .optinmonster_page_optin-monster-constant-contact #wpbody-content * {
171
- font-family: 'proxima-nova'; }
172
-
173
- .omapi-welcome-content .dashicons,
174
- .admin_page_optin-monster-api-review #wpbody-content .dashicons,
175
- .optinmonster_page_optin-monster-constant-contact #wpbody-content .dashicons {
176
- font-family: 'dashicons'; }
177
-
178
- .omapi-welcome-content p, .omapi-welcome-content h3, .omapi-welcome-content h4, .omapi-welcome-content h5, .omapi-welcome-content ul,
179
- .admin_page_optin-monster-api-review #wpbody-content p,
180
- .admin_page_optin-monster-api-review #wpbody-content h3,
181
- .admin_page_optin-monster-api-review #wpbody-content h4,
182
- .admin_page_optin-monster-api-review #wpbody-content h5,
183
- .admin_page_optin-monster-api-review #wpbody-content ul,
184
- .optinmonster_page_optin-monster-constant-contact #wpbody-content p,
185
- .optinmonster_page_optin-monster-constant-contact #wpbody-content h3,
186
- .optinmonster_page_optin-monster-constant-contact #wpbody-content h4,
187
- .optinmonster_page_optin-monster-constant-contact #wpbody-content h5,
188
- .optinmonster_page_optin-monster-constant-contact #wpbody-content ul {
189
- color: #60656f; }
190
-
191
- .omapi-welcome-content h1,
192
- .admin_page_optin-monster-api-review #wpbody-content h1,
193
- .optinmonster_page_optin-monster-constant-contact #wpbody-content h1 {
194
- font-weight: 400;
195
- color: #41495b; }
196
-
197
- .omapi-welcome-content h2,
198
- .admin_page_optin-monster-api-review #wpbody-content h2,
199
- .optinmonster_page_optin-monster-constant-contact #wpbody-content h2 {
200
- color: #41495b; }
201
-
202
- .omapi-welcome-content p, .omapi-welcome-content li,
203
- .admin_page_optin-monster-api-review #wpbody-content p,
204
- .admin_page_optin-monster-api-review #wpbody-content li,
205
- .optinmonster_page_optin-monster-constant-contact #wpbody-content p,
206
- .optinmonster_page_optin-monster-constant-contact #wpbody-content li {
207
- font-size: 17px;
208
- margin: 10px 0;
209
- font-weight: 400; }
210
-
211
- .omapi-welcome-content {
212
- padding-top: 20px; }
213
- .omapi-welcome-content a.button.button-hero {
214
- line-height: 50px;
215
- height: 50px; }
216
- .omapi-welcome-content a.button.button-hero.button-omapi-green {
217
- background: #71b406;
218
- color: #fff;
219
- font-weight: 400;
220
- -webkit-box-shadow: none;
221
- box-shadow: none;
222
- border: 1px solid #71b406; }
223
- .omapi-welcome-content a.button.button-hero.button-omapi-green:hover, .omapi-welcome-content a.button.button-hero.button-omapi-green:focus {
224
- border-color: #6aa807;
225
- background-color: #6aa807; }
226
- .omapi-welcome-content a.button.button-hero.button-omapi-green:focus {
227
- -webkit-box-shadow: 0 0 3px 3px rgba(151, 171, 204, 0.4);
228
- box-shadow: 0 0 3px 3px rgba(151, 171, 204, 0.4);
229
- outline-width: 0; }
230
- .omapi-welcome-content h1 {
231
- text-align: center;
232
- margin: 44px 0;
233
- margin-bottom: 30px; }
234
- .omapi-welcome-content .omapi-sub-title {
235
- text-align: center;
236
- padding-top: 30px;
237
- padding-bottom: 20px; }
238
- .omapi-welcome-content p {
239
- color: #60656f; }
240
- .omapi-welcome-content .divider {
241
- height: 1px;
242
- background: #60656f;
243
- -webkit-box-shadow: 0px 0px 1px #e8edf0;
244
- box-shadow: 0px 0px 1px #e8edf0;
245
- width: 320px;
246
- margin: 0 auto; }
247
- .omapi-welcome-content .welcome-connect .actions {
248
- margin: 40px 0;
249
- margin-bottom: 8px; }
250
- .omapi-welcome-content .omapi-well span.or {
251
- padding: 1em;
252
- text-align: center;
253
- vertical-align: middle;
254
- display: inline-block; }
255
- .omapi-welcome-content .welcome-data-vid {
256
- background-image: url("/assets/images/omapi-graph.png");
257
- background-size: contain;
258
- background-position-y: bottom;
259
- background-repeat: no-repeat;
260
- position: relative; }
261
- .omapi-welcome-content .welcome-data-vid .actions {
262
- margin-top: 25px;
263
- z-index: 200;
264
- position: relative; }
265
- .omapi-welcome-content .welcome-data-vid .omapi-video-link {
266
- display: inline-block;
267
- padding-top: 20px; }
268
- .omapi-welcome-content .welcome-data-vid.active {
269
- background-image: none; }
270
- .omapi-welcome-content .welcome-data-vid.active .actions {
271
- display: none; }
272
- .omapi-welcome-content .omapi-welcome-video-holder {
273
- height: 1px;
274
- margin: 0 auto;
275
- width: 100%; }
276
- .omapi-welcome-content .welcome-data-vid.active .omapi-welcome-video-holder {
277
- height: auto; }
278
- .omapi-welcome-content .omapi-feature-box {
279
- margin: 50px 0; }
280
- .omapi-welcome-content .omapi-feature-image,
281
- .omapi-welcome-content .omapi-feature-text {
282
- width: 47%;
283
- display: inline-block;
284
- vertical-align: middle; }
285
- .omapi-welcome-content .omapi-feature-image img {
286
- max-width: 100%;
287
- height: auto; }
288
- .omapi-welcome-content .omapi-feature-text p {
289
- font-size: 15px; }
290
- .omapi-welcome-content .omapi-feature-text {
291
- margin-left: 5%;
292
- margin-top: -2em; }
293
- .omapi-welcome-content .omapi-feature-box:nth-of-type(even) .omapi-feature-text {
294
- margin-right: 5%;
295
- margin-left: 0; }
296
- .omapi-welcome-content .omapi-well img {
297
- max-width: 100%; }
298
- .omapi-welcome-content .omapi-single-cta {
299
- margin: 0 auto 60px;
300
- text-align: center; }
301
- .omapi-welcome-content .welcome-featuredin img {
302
- margin: 40px 0;
303
- width: 475px; }
304
- .omapi-welcome-content .welcome-featuredin h2 {
305
- font-size: 20px;
306
- font-weight: 600; }
307
- .omapi-welcome-content .omapi-reviews {
308
- display: -webkit-box;
309
- display: -ms-flexbox;
310
- display: flex;
311
- -webkit-box-orient: horizontal;
312
- -webkit-box-direction: normal;
313
- -ms-flex-direction: row;
314
- flex-direction: row; }
315
- .omapi-welcome-content .omapi-reviews p {
316
- font-size: 14px; }
317
- .omapi-welcome-content .omapi-talking-head {
318
- height: 60px;
319
- width: 60px;
320
- margin: 0 auto; }
321
- .omapi-welcome-content .omapi-reviews span.reviewer-name {
322
- margin-top: 15px;
323
- display: block;
324
- font-weight: 500; }
325
- .omapi-welcome-content .omapi-reviews span.reviewer-title {
326
- font-weight: 300; }
327
- .omapi-welcome-content .omapi-mini-well {
328
- margin-right: 15px;
329
- -webkit-box-flex: 1;
330
- -ms-flex: 1;
331
- flex: 1; }
332
- .omapi-welcome-content .omapi-mini-well:last-of-type {
333
- margin-right: 0; }
334
-
335
- input.button.button-omapi-outline,
336
- button.button.button-omapi-outline,
337
- a.button.button-omapi-outline {
338
- background-color: #fff;
339
- color: #a4badb;
340
- border: 1px solid #a4badb;
341
- border-radius: 4px;
342
- padding: 0 15px;
343
- font-size: 16px;
344
- font-weight: 600;
345
- margin: 0 auto; }
346
- input.button.button-omapi-outline:hover,
347
- button.button.button-omapi-outline:hover,
348
- a.button.button-omapi-outline:hover {
349
- background-color: #1287dd;
350
- color: #fff;
351
- border-color: #1287dd; }
352
- input.button.button-omapi-outline:focus,
353
- button.button.button-omapi-outline:focus,
354
- a.button.button-omapi-outline:focus {
355
- -webkit-box-shadow: 0 0 2px 1px rgba(151, 171, 204, 0.6);
356
- box-shadow: 0 0 2px 1px rgba(151, 171, 204, 0.6);
357
- outline-width: 0; }
358
-
359
- input.button.button-omapi-blue,
360
- button.button.button-omapi-blue,
361
- a.button.button-omapi-blue {
362
- color: #fff;
363
- background: #0d82df;
364
- border: 1px solid #0d82df;
365
- border-radius: 4px;
366
- padding: 0 15px;
367
- font-size: 16px;
368
- font-weight: 600;
369
- margin: 0 auto; }
370
- input.button.button-omapi-blue:hover, input.button.button-omapi-blue:focus,
371
- button.button.button-omapi-blue:hover,
372
- button.button.button-omapi-blue:focus,
373
- a.button.button-omapi-blue:hover,
374
- a.button.button-omapi-blue:focus {
375
- border-color: #0c76cb;
376
- background: #0c76cb;
377
- color: #fff; }
378
- input.button.button-omapi-blue:focus,
379
- button.button.button-omapi-blue:focus,
380
- a.button.button-omapi-blue:focus {
381
- -webkit-box-shadow: 0 0 3px 3px rgba(151, 171, 204, 0.4);
382
- box-shadow: 0 0 3px 3px rgba(151, 171, 204, 0.4);
383
- outline-width: 0; }
384
-
385
- /* Keep WordPress Page Styling */
386
- .omapi-page {
387
- padding-left: 20px;
388
- margin-left: 0; }
389
-
390
- /* Build out UI */
391
- .omapi-screen .inner-container {
392
- max-width: 45rem;
393
- margin: 0 auto;
394
- padding: 0; }
395
-
396
- .omapi-well {
397
- padding: 2.1rem;
398
- text-align: center;
399
- background: #fff;
400
- border: 1px solid #e9eff3;
401
- margin-bottom: 15px;
402
- border-radius: 5px; }
403
-
404
- .omapi-well img {
405
- max-width: 100%;
406
- height: auto; }
407
-
408
- .omapi-mini-well {
409
- padding: 1rem; }
410
-
411
- .omapi-ui {
412
- margin-top: 20px;
413
- border-top: 0;
414
- height: 100%;
415
- width: 100%;
416
- display: -webkit-box;
417
- display: -ms-flexbox;
418
- display: flex;
419
- background: #f1f1f1;
420
- border: 1px solid #ddd; }
421
- .omapi-ui p, .omapi-ui h1, .omapi-ui h2, .omapi-ui h3, .omapi-ui h4, .omapi-ui h5, .omapi-ui ul {
422
- color: #41495b;
423
- font-family: 'proxima-nova'; }
424
-
425
- .omapi-ui,
426
- .omapi-ui * {
427
- box-sizing: border-box;
428
- -moz-box-sizing: border-box;
429
- -webkit-box-sizing: border-box; }
430
-
431
- .omapi-tabs {
432
- width: calc(25% - 20px);
433
- min-width: 175px;
434
- margin: 0;
435
- height: 100%; }
436
-
437
- .omapi-panels {
438
- list-style: none;
439
- margin: 0;
440
- padding: 0 20px; }
441
- .omapi-panels li {
442
- list-style: none;
443
- padding: 0;
444
- margin: 0; }
445
- .omapi-panels li a {
446
- display: block;
447
- padding: 15px 10px;
448
- border-bottom: 1px solid #ddd;
449
- text-decoration: none;
450
- font-size: 16px;
451
- outline: none;
452
- padding: 20px 0; }
453
- .omapi-panels li a:focus {
454
- outline: none !important; }
455
- .omapi-panels li.omapi-panel-active a,
456
- .omapi-panels li a:hover,
457
- .omapi-panels li a:focus {
458
- color: #222;
459
- background: #ffffff;
460
- margin-left: -20px;
461
- margin-right: -20px;
462
- padding: 20px;
463
- cursor: pointer;
464
- border-top: 1px solid #ddd;
465
- margin-top: -1px; }
466
- .omapi-panels li:last-child a {
467
- border-bottom: 0; }
468
- .omapi-panels li.omapi-panel-active a {
469
- color: #222; }
470
- .omapi-panels li.omapi-panel-button-item {
471
- padding: 20px 10px;
472
- background: #eef2f9; }
473
- .omapi-panels li.omapi-panel-button-item #omapi-create-new-optin-button {
474
- width: 100%;
475
- text-align: center; }
476
-
477
- .omapi-tabs-content {
478
- width: calc(100% - 40px);
479
- background: #fff;
480
- padding: 20px; }
481
-
482
- .omapi-content {
483
- display: none; }
484
-
485
- .omapi-content.omapi-content-active {
486
- display: block; }
487
-
488
- .omapi-content h3 {
489
- padding: 0;
490
- margin: 0; }
491
-
492
- .omapi-field-box {
493
- margin: 1.5em 0; }
494
-
495
- .omapi-field-wrap {
496
- margin: 0; }
497
-
498
- .omapi-field-box li {
499
- list-style: none;
500
- margin: 0; }
501
-
502
- .omapi-field-box ul.children {
503
- margin: 1px 0 1px 20px; }
504
-
505
- .omapi-field-box .wp-hidden-children {
506
- display: none; }
507
-
508
- .omapi-field-box > div {
509
- max-width: 350px; }
510
-
511
- .omapi-field-box p.hide-if-no-js,
512
- .omapi-field-box li.hide-if-no-js {
513
- display: none; }
514
-
515
- .omapi-field-wrap label {
516
- font-size: 14px;
517
- font-weight: 600;
518
- margin-bottom: 2px; }
519
-
520
- .omapi-field-wrap input[type=email],
521
- .omapi-field-wrap input[type=number],
522
- .omapi-field-wrap input[type=password],
523
- .omapi-field-wrap input[type=search],
524
- .omapi-field-wrap input[type=text],
525
- .omapi-field-wrap select {
526
- min-width: 350px;
527
- padding: 6px 8px; }
528
-
529
- .omapi-field-box .select2-container {
530
- min-width: 350px; }
531
-
532
- .omapi-field-wrap textarea {
533
- width: 100%;
534
- padding: 6px 8px; }
535
-
536
- .omapi-field-wrap .omapi-field-desc {
537
- font-size: 12px;
538
- font-style: italic;
539
- font-weight: normal;
540
- color: #666;
541
- vertical-align: middle;
542
- margin-bottom: 0; }
543
-
544
- .omapi-back {
545
- float: right;
546
- font-size: 13px;
547
- font-weight: normal; }
548
-
549
- .omapi-optin {
550
- padding: 20px 27px 20px 10px;
551
- border-bottom: 1px solid #cad1e2;
552
- font-size: 15px;
553
- margin: 0; }
554
-
555
- .omapi-optin-first {
556
- border-top: 1px solid #cad1e2;
557
- margin-top: 20px; }
558
-
559
- .omapi-optin.omapi-test-mode {
560
- background: #fcf8e3 !important; }
561
-
562
- .omapi-optin a {
563
- text-decoration: none;
564
- border-bottom: 0 none; }
565
-
566
- .omapi-optin .omapi-test {
567
- color: #8a6d3b;
568
- font-size: 11px;
569
- text-transform: uppercase;
570
- font-weight: 700; }
571
-
572
- .omapi-optin .omapi-status,
573
- .omapi-optin .omapi-slug {
574
- float: right; }
575
-
576
- .omapi-optin .omapi-slug,
577
- .omapi-content .omapi-slug {
578
- font-size: 13px;
579
- color: #999;
580
- margin-top: 3px; }
581
-
582
- .omapi-content .omapi-slug {
583
- float: right;
584
- line-height: 1.8em; }
585
-
586
- .omapi-view-optins.omapi-action-edit .omapi-slug {
587
- margin-right: 35px; }
588
-
589
- .omapi-optin .omapi-links,
590
- .omapi-optin .omapi-links a {
591
- font-size: 12px; }
592
-
593
- /* Inline Note */
594
- .omapi-inline-notice .omapi-notice-title {
595
- font-size: 14px;
596
- font-weight: 600;
597
- margin-bottom: 2px;
598
- margin-top: 0; }
599
-
600
- .omapi-inline-notice .omapi-field-desc {
601
- margin: 0;
602
- margin-bottom: 5px; }
603
-
604
- .omapi-inline-notice {
605
- padding: 15px 0;
606
- position: relative;
607
- border: 1px solid #ddd;
608
- border-left: 0;
609
- border-right: 0; }
610
-
611
- /* Toggler */
612
- .omapi-ui-toggle-controller {
613
- margin-right: 8px;
614
- cursor: pointer;
615
- margin: 1.5em 0;
616
- font-size: 13px;
617
- position: relative; }
618
-
619
- .omapi-ui-toggle-controller .omapi-field-desc {
620
- padding-left: 25px; }
621
-
622
- .omapi-ui-toggle-controller:after {
623
- content: "\f132";
624
- position: absolute;
625
- height: 15px;
626
- width: 20px;
627
- top: 24px;
628
- left: -2px;
629
- font-size: 20px;
630
- line-height: 1;
631
- font-family: 'dashicons'; }
632
-
633
- .omapi-ui-toggle-controller.toggled:after {
634
- content: '\f460';
635
- position: absolute;
636
- height: 15px;
637
- width: 20px;
638
- top: 23px;
639
- left: -2px;
640
- font-size: 20px;
641
- line-height: 1;
642
- font-family: 'dashicons'; }
643
-
644
- .omapi-ui-toggle-content {
645
- display: none; }
646
-
647
- .visible.omapi-ui-toggle-content {
648
- display: block; }
649
-
650
- .omapi-video-container {
651
- position: relative;
652
- padding-bottom: 50%;
653
- padding-top: 25px;
654
- height: 0; }
655
-
656
- .omapi-video-container iframe {
657
- position: absolute;
658
- top: 0;
659
- left: 0;
660
- width: 100%;
661
- height: 100%; }
662
-
663
- .omapi-support-links {
664
- width: 40%;
665
- margin-top: 1.25em;
666
- display: inline-block; }
667
-
668
- .omapi-support-links li {
669
- font-size: 15px; }
670
-
671
- .omapi-support-data {
672
- width: 60%;
673
- display: inline-block; }
674
-
675
- .omapi-half-column {
676
- margin-top: 1.25em; }
677
-
678
- @media all and (min-width: 1400px) {
679
- .omapi-half-column {
680
- width: 50%;
681
- display: inline-block;
682
- float: left; }
683
- .omapi-support-links,
684
- .omapi-support-data {
685
- width: calc(50% - 30px);
686
- margin-left: 30px;
687
- float: right; } }
688
-
689
- .omapi-copy-button.button {
690
- margin-left: 10px; }
691
-
692
- /* DatePicker Container */
693
- .ui-datepicker {
694
- width: auto;
695
- height: auto;
696
- margin: 5px auto 0;
697
- font: 9pt Arial, sans-serif;
698
- -webkit-box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.5);
699
- box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.4);
700
- background-color: #eee;
701
- border: 1px solid #ddd; }
702
-
703
- .ui-datepicker a {
704
- text-decoration: none;
705
- position: relative; }
706
-
707
- .ui-datepicker table {
708
- width: 100%;
709
- padding: 0px; }
710
-
711
- .ui-datepicker-header {
712
- color: #e0e0e0;
713
- font-weight: bold;
714
- -webkit-box-shadow: inset 0 1px 1px 0 #fafafa;
715
- box-shadow: inset 0 1px 1px 0 rgba(250, 250, 250, 0.2);
716
- text-shadow: 1px -1px 0px #000;
717
- line-height: 30px;
718
- border-width: 1px 0 0 0;
719
- border-style: solid;
720
- border-color: #444; }
721
-
722
- .ui-datepicker-title {
723
- text-align: center;
724
- background: #444; }
725
-
726
- .ui-datepicker-prev, .ui-datepicker-next {
727
- display: inline-block;
728
- width: 30px;
729
- height: 30px;
730
- text-align: center;
731
- cursor: pointer;
732
- overflow: hidden;
733
- padding-right: 10px;
734
- padding-left: 10px;
735
- color: #FFF;
736
- text-indent: 100%; }
737
-
738
- .ui-datepicker-prev {
739
- float: left; }
740
-
741
- .ui-datepicker-next {
742
- float: right; }
743
-
744
- .ui-datepicker-prev:before {
745
- content: '<';
746
- position: absolute;
747
- left: -10px;
748
- height: 10px;
749
- width: 10px; }
750
-
751
- .ui-datepicker-next:before {
752
- content: '>';
753
- position: absolute;
754
- left: -10px;
755
- height: 10px;
756
- width: 10px; }
757
-
758
- .ui-datepicker thead {
759
- background-color: #f7f7f7;
760
- border-bottom: 1px solid #000; }
761
-
762
- .ui-datepicker th {
763
- text-transform: uppercase;
764
- font-size: 6pt;
765
- padding: 5px 0;
766
- margin-bottom: 1px;
767
- color: #666666;
768
- text-shadow: 1px 0px 0px #fff;
769
- -webkit-box-shadow: 0px 1px 0px 1px #E0E0E0;
770
- box-shadow: 0px 1px 0px 1px #E0E0E0; }
771
-
772
- .ui-datepicker tbody td {
773
- -webkit-box-shadow: 0px 1px 0px 1px #E0E0E0;
774
- box-shadow: 0px 1px 0px 1px #E0E0E0;
775
- padding: 0px; }
776
-
777
- .ui-datepicker tbody td:last-child {
778
- border-right: 0px; }
779
-
780
- .ui-datepicker tbody tr {
781
- border-bottom: 1px solid #bbb; }
782
-
783
- .ui-datepicker td span, .ui-datepicker td a {
784
- display: inline-block;
785
- font-weight: bold;
786
- text-align: center;
787
- width: 30px;
788
- height: 30px;
789
- line-height: 30px;
790
- color: #666666; }
791
-
792
- .ui-datepicker-calendar .ui-state-default {
793
- background: #ededed; }
794
-
795
- .ui-datepicker-calendar .ui-state-hover {
796
- background: #8ed41e;
797
- color: #fff; }
798
-
799
- .ui-datepicker-calendar .ui-state-active {
800
- background: #0d82df;
801
- color: #fff;
802
- position: relative; }
803
-
804
- .ui-datepicker-unselectable .ui-state-default {
805
- background: #f4f4f4;
806
- color: #b4b3b3; }
807
-
808
- .ui-datepicker-calendar td:first-child .ui-state-active {
809
- width: 29px;
810
- margin-left: 0; }
811
-
812
- .ui-datepicker-calendar td:last-child .ui-state-active {
813
- width: 29px;
814
- margin-right: 0; }
815
-
816
- /** Tooltips **/
817
- .omapi-has-tooltip:after {
818
- content: '\f223';
819
- color: #ccc;
820
- position: absolute;
821
- display: inline-block;
822
- width: 17px;
823
- height: 17px;
824
- font-size: 17px;
825
- line-height: 1;
826
- font-family: 'dashicons';
827
- text-decoration: inherit;
828
- font-weight: 400;
829
- font-style: normal;
830
- vertical-align: middle;
831
- text-align: center;
832
- -webkit-transition: color .1s ease-in 0;
833
- transition: color .1s ease-in 0;
834
- -webkit-font-smoothing: antialiased;
835
- -moz-osx-font-smoothing: grayscale;
836
- padding-left: 3px;
837
- padding-top: 2px; }
838
-
839
- .tooltip {
840
- position: absolute;
841
- z-index: 1070;
842
- display: block;
843
- font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
844
- font-style: normal;
845
- font-weight: normal;
846
- letter-spacing: normal;
847
- line-break: auto;
848
- line-height: 1.42857143;
849
- text-align: left;
850
- text-align: start;
851
- text-decoration: none;
852
- text-shadow: none;
853
- text-transform: none;
854
- white-space: normal;
855
- word-break: normal;
856
- word-spacing: normal;
857
- word-wrap: normal;
858
- font-size: 12px;
859
- opacity: 0;
860
- filter: alpha(opacity=0); }
861
-
862
- .tooltip.in {
863
- opacity: 0.9;
864
- filter: alpha(opacity=90); }
865
-
866
- .tooltip.top {
867
- margin-top: -3px;
868
- padding: 5px 0; }
869
-
870
- .tooltip.right {
871
- margin-left: 3px;
872
- padding: 0 5px; }
873
-
874
- .tooltip.bottom {
875
- margin-top: 3px;
876
- padding: 5px 0; }
877
-
878
- .tooltip.left {
879
- margin-left: -3px;
880
- padding: 0 5px; }
881
-
882
- .tooltip-inner {
883
- max-width: 200px;
884
- padding: 10px 10px 9px;
885
- color: #ffffff;
886
- text-align: center;
887
- background-color: #000000;
888
- border-radius: 4px; }
889
-
890
- .tooltip-arrow {
891
- position: absolute;
892
- width: 0;
893
- height: 0;
894
- border-color: transparent;
895
- border-style: solid; }
896
-
897
- .tooltip.top .tooltip-arrow {
898
- bottom: 0;
899
- left: 50%;
900
- margin-left: -5px;
901
- border-width: 5px 5px 0;
902
- border-top-color: #000000; }
903
-
904
- .tooltip.top-left .tooltip-arrow {
905
- bottom: 0;
906
- right: 5px;
907
- margin-bottom: -5px;
908
- border-width: 5px 5px 0;
909
- border-top-color: #000000; }
910
-
911
- .tooltip.top-right .tooltip-arrow {
912
- bottom: 0;
913
- left: 5px;
914
- margin-bottom: -5px;
915
- border-width: 5px 5px 0;
916
- border-top-color: #000000; }
917
-
918
- .tooltip.right .tooltip-arrow {
919
- top: 50%;
920
- left: 0;
921
- margin-top: -5px;
922
- border-width: 5px 5px 5px 0;
923
- border-right-color: #000000; }
924
-
925
- .tooltip.left .tooltip-arrow {
926
- top: 50%;
927
- right: 0;
928
- margin-top: -5px;
929
- border-width: 5px 0 5px 5px;
930
- border-left-color: #000000; }
931
-
932
- .tooltip.bottom .tooltip-arrow {
933
- top: 0;
934
- left: 50%;
935
- margin-left: -5px;
936
- border-width: 0 5px 5px;
937
- border-bottom-color: #000000; }
938
-
939
- .tooltip.bottom-left .tooltip-arrow {
940
- top: 0;
941
- right: 5px;
942
- margin-top: -5px;
943
- border-width: 0 5px 5px;
944
- border-bottom-color: #000000; }
945
-
946
- .tooltip.bottom-right .tooltip-arrow {
947
- top: 0;
948
- left: 5px;
949
- margin-top: -5px;
950
- border-width: 0 5px 5px;
951
- border-bottom-color: #000000; }
952
-
953
- .manually-connect-wc {
954
- display: block;
955
- padding-top: 8px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/dist/css/settings.min.js DELETED
@@ -1 +0,0 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=48)})({48:function(){}});
 
assets/dist/js/connect.min.js DELETED
@@ -1 +0,0 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=46)})({46:function(){'use strict';window.OMAPI=window.OMAPI||{},function(a,b,c,d){d.updateForm=function(d,e){var f=b.getElementById('omapi-field-apikey');f.value=d,e.prop('disabled',!0).attr('disabled','disabled'),c('.om-api-key-spinner').remove(),e.after('<div class="om-api-key-spinner spinner is-active" style="float: none;margin-top: -1px;"></div>'),a.sessionStorage&&(sessionStorage.removeItem('omTemplates'),sessionStorage.removeItem('omTemplatesAuth')),HTMLFormElement.prototype.submit.call(f.form)},d.handleAuthorizeClick=function(b){b.preventDefault(),d.$btn=c(b.target);try{var e=OMAPI.app_url+'wordpress/connect/?site='+encodeURIComponent(OMAPI.blogname),f=a.open(e,'_blank','location=no,width=500,height=730,scrollbars=0');f.focus()}catch(a){alert('Your browser blocked the authorization window from opening. Please check your popup settings.')}},d.handleIframeMessage=function(a){return a.origin.replace(/\/$/,'')===OMAPI.app_url.replace(/\/$/,'')?a.data&&'string'==typeof a.data?void d.updateForm(a.data,d.$btn):void console.error('Messages from "'+OMAPI.app_url+'" must contain an api key string.'):void 0},d.initConnect=function(){d.$btn=c('#omapiAuthorizeButton, .omapi-authorize-button').first(),c('body').on('click','#omapiAuthorizeButton, .omapi-authorize-button',d.handleAuthorizeClick),'#authorize'===a.location.hash&&setTimeout(function(){d.$btn.click()},100),a.addEventListener('message',d.handleIframeMessage)},c(d.initConnect)}(window,document,jQuery,window.OMAPI)}});
 
assets/dist/js/pointer.min.js DELETED
@@ -1 +0,0 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=103)})({103:function(){'use strict';window.omapiPointer=window.omapiPointer||{},function(a,b,c,d){d.close=function(){return c(d.target).pointer('close')},d.open=function(){var a=c.extend(d.options,{close:function(){c.post(ajaxurl,{pointer:d.id,action:'dismiss-wp-pointer'})}});c(d.target).pointer(a).pointer('open')},d.init=function(){c('#omPointerButton, .om-pointer-close-link').click(d.close),d.open()},c(d.init)}(window,document,jQuery,window.omapiPointer)}});
 
assets/dist/js/settings.min.js DELETED
@@ -1 +0,0 @@
1
- (function(a){function b(d){if(c[d])return c[d].exports;var e=c[d]={i:d,l:!1,exports:{}};return a[d].call(e.exports,e,e.exports,b),e.l=!0,e.exports}var c={};return b.m=a,b.c=c,b.d=function(a,c,d){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:d})},b.n=function(a){var c=a&&a.__esModule?function(){return a['default']}:function(){return a};return b.d(c,'a',c),c},b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.p='',b(b.s=47)})({47:function(){'use strict';jQuery(document).ready(function(a){function b(b,c){a(b).attr('data-original-title',c).tooltip('show')}function c(b){setTimeout(function(){a(b).tooltip('destroy')},2e3)}(function(){a('.omapi-select').each(function(){var b=-1<a(this).attr('id').indexOf('taxonomies')?OMAPI.tags:OMAPI.posts;a(this).select2({minimumInputLength:1,multiple:!0,data:b,initSelection:function(c,d){var e=a(c).val();e=e.split(',');var f=b.filter(function(a){return-1<e.indexOf(a.id)});d(f)}}).on('change select2-removed',function(){})})})(),function(){var b=a('#omapi-field-automatic'),c=a('#omapi-field-mailpoet'),d=a('#omapi-field-mailpoet_use_phone'),e=function(){var c=b.is(':checked')?'hide':'show';a('.omapi-field-box-automatic_shortcode')[c]()},f=function(){var b=d.is(':checked')?'show':'hide';a('.omapi-field-box-mailpoet_phone_field')[b]()},g=function(){var b=c.is(':checked'),d=b?'show':'hide';a('.omapi-field-box-mailpoet_list')[d](),a('.omapi-field-box-mailpoet_use_phone')[d](),a('.omapi-field-box-mailpoet_phone_field')[d](),b&&f()};e(),g(),a(document).on('change','#omapi-field-automatic',e),a(document).on('change','#omapi-field-mailpoet',g),a(document).on('change','#omapi-field-mailpoet_use_phone',f)}(),function(){a('.omapi-ui-toggle-controller').click(function(b){var c=b.currentTarget;a(c).toggleClass('toggled'),a(c).next('.omapi-ui-toggle-content').toggleClass('visible')})}(),function(){a(document).on('click','input[name=reset]',function(){return confirm(OMAPI.confirm)})}(),function(){var a=new Clipboard('.omapi-copy-button');a.on('success',function(a){b(a.trigger,'Copied to Clipboard!'),c(a.trigger)}),a.on('error',function(a){var d='';d=/iPhone|iPad/i.test(navigator.userAgent)?'Unable to Copy on this device':/Mac/i.test(navigator.userAgent)?'Press \u2318-C to Copy':'Press Ctrl-C to Copy',b(a.trigger,d),c(a.trigger)})}(),function(){a('omapi-copy-button').tooltip({trigger:'click',placement:'top'})}(),function(){var b=a('#js--omapi-support-pdf'),c=function(b){var c=new jsPDF('p','mm','letter');c.text(10,10,'OptinMonster Support Assistance');var d=10;a.each(b.server,function(a,b){d+=10,c.text(10,d,a+' : '+b)}),a.each(b.campaigns,function(b,d){var e=10;c.addPage(),c.text(10,10,b),a.each(d,function(b,d){var f=a.isPlainObject(d)?'':d;e+=10,c.text(10,e,b+' : '+f),a.isPlainObject(d)&&a.each(d,function(a,b){e+=10,c.text(20,e,a+' : '+b)})})}),c.save('OMSupportHelp.pdf')};b.click(function(d){d.preventDefault(),a('.om-api-key-spinner').remove(),b.after('<div class="om-api-key-spinner spinner is-active" style="float: none;margin-top:7px;"></div>'),a.ajax({url:OMAPI.root+'omapp/v1/support?format=pdf',beforeSend:function(a){return a.setRequestHeader('X-WP-Nonce',OMAPI.nonce)},dataType:'json',data:{format:'pdf'},success:c}).done(function(){return a('.om-api-key-spinner').remove()}).fail(function(a,b){return console.error({jqXHR:a,textStatus:b})})})}(),function(){a('[data-toggle="tooltip"]').tooltip()}(),function(){a('#omapiShowApiKey').click(function(b){b.preventDefault(),a('#omapi-form-api .omapi-hidden').removeClass('omapi-hidden'),a('#omapi-field-apikey').focus().select()}),a('#omapiShowApiKeys').click(function(b){b.preventDefault(),a('#omapi-form-woocommerce .omapi-hidden').removeClass('omapi-hidden'),a('.manually-connect-wc').hide(),a('#omapi-field-consumer_key').focus().select()}),a('#omapiDisconnectButton').click(function(b){b.preventDefault(),OMAPI.updateForm('',a(this))})}(),function(){a('.install-plugin-form').submit(function(b){b.preventDefault();var c=a(b.currentTarget).serializeArray(),d=c.find(function(a){return'nonce'===a.name}).value,e=c.find(function(a){return'plugin'===a.name}).value,f=e.replace('.','').replace('/',''),g=c.find(function(a){return'action'===a.name}).value,h=c.find(function(a){return'url'===a.name}).value,i=a('.omapi-plugin-recommendation--'+f);i.length||(i=a('html')),a('.button-install',i).html('Installing...'),a('.button-activate',i).html('Activating...'),a('#om-plugin-alerts').hide(),a.post(ajaxurl,{action:'om_plugin_install',"optin-monster-ajax-route":!0,nonce:d,plugin:e,installAction:g,url:h},function(b){b.success?window.location.reload():(a('.button-install',i).html('Install Plugin'),a('.button-activate',i).html('Activate Plugin'),a('#om-plugin-alerts').show().html(a('<p/>').html(b.data||'Something went wrong!')))})})}(),function(){if(window.history.replaceState&&window.location.search){var a=function(a,b){var c=b.split('?');if(2>c.length)return b;for(var d=encodeURIComponent(a)+'=',e=c[1].split(/[&;]/g),f=e.length;0<f--;)-1!==e[f].lastIndexOf(d,0)&&e.splice(f,1);return c[0]+(0<e.length?'?'+e.join('&'):'')},b=['optin_monster_api_action_done','optin_monster_api_action_type','optin_monster_api_action_id'],c=document.location.href;window.location.search.split('&').forEach(function(d){b.forEach(function(b){0===d.indexOf(b)&&(c=a(d.split('=')[0],c))})}),window.history.replaceState(null,null,c)}}()})}});
 
assets/fonts/archie.eot DELETED
Binary file
assets/fonts/archie.svg DELETED
@@ -1,11 +0,0 @@
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="archie" 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;" d="" horiz-adv-x="512" />
10
- <glyph unicode="&#xe600;" d="M221.136 240.199c2.892 6.69-1.085 19.344-9.22 17.717-8.679-1.628-28.75-16.092-28.205-24.228 0.542-6.328 11.751-12.294 20.793-9.039 6.688 2.349 14.282 9.944 16.632 15.55zM570.633 240.199c-2.891 6.69 1.086 19.344 9.224 17.717 8.678-1.628 28.748-16.092 28.203-24.228-0.542-6.328-11.751-12.294-20.79-9.039-6.69 2.349-14.286 9.944-16.636 15.55zM583.292 268.584c-5.606 11.21 3.796 31.461 18.078 29.833 15.189-1.808 47.553-24.59 47.732-41.947-0.18-11.029-15.184-18.806-31.096-14.283-11.754 3.254-30.017 16.996-34.714 26.396zM208.299 268.584c5.605 11.21-3.797 31.461-18.082 29.833-15.187-1.808-47.551-24.59-47.732-41.947 0.181-11.029 15.188-18.806 31.099-14.283 11.753 3.254 30.014 16.996 34.715 26.396zM398.508 561.489c27.664 0 49.901-20.793 49.901-46.648 0-25.675-22.419-46.649-49.901-46.649-27.664 0-49.904 20.794-49.904 46.649 0 3.796 0.543 7.412 1.447 11.029 4.159-6.69 11.932-11.391 20.794-11.391 13.198 0 23.866 9.944 23.866 22.24 0 9.582-6.69 17.899-15.911 20.974 6.147 2.532 12.836 3.796 19.89 3.796h-0.182zM477.699 618.263c-3.796 69.61-97.272 76.841-121.5 22.6 43.030 23.505 87.147 15.189 121.5-22.6zM673.151 295.345c-1.266 1.627-4.517 1.627-8.138 0.361-2.891 4.701-6.687 9.221-10.665 13.198 1.266 4.519 1.085 8.497-0.542 9.944-1.809 1.628-5.788 1.086-9.947-1.085-4.336 3.073-9.763 6.328-15.366 8.862 0 4.699-1.447 8.496-3.618 9.763-2.89 1.625-8.496 0.359-13.198-4.34-5.604 0.905-11.027 0.905-15.911-0.361-3.618-0.904-6.871-2.713-9.944-5.061 0.182 6.328 0.182 12.656 0.182 18.984 1.447 0.181 3.072 0.359 4.519 0.542 16.816 3.075 35.619 14.827 39.778 34.534 1.447 6.33 1.625 13.198-0.182 20.975-2.891 13.016-13.922 20.611-24.227 24.95-0.723 5.604-7.412 13.562-14.284 15.188-7.233 1.628-11.932-4.52-13.559-9.764-1.266 0-2.351-0.181-3.438-0.181-4.517-0.361-11.932-1.627-15.547-5.786-0.542-0.724-1.083-1.447-1.447-2.171-5.243 0.542-10.668 1.267-16.092 1.806 2.532 1.81 5.244 3.438 8.138 4.523 5.061 8.858 13.925 10.85 24.593 11.21 0 0.905 0 1.627 0 2.53 18.802 0.543 41.581 5.605 52.069 17.358 12.112 13.381 13.924 35.981 11.753 53.157-2.171 16.815-9.401 36.342-23.685 46.467-8.136 5.605-20.793 0.904-21.876-9.221-0.363-4.521-1.266-19.527-5.425-21.878l-0.362 0.181c-7.050-3.978-20.792-3.797-31.458-2.532-9.944 22.962-23.685 43.212-41.043 58.038-67.442 57.497-161.823 51.711-235.591 36.161 18.985-4.52 39.415-8.317 57.497-15.911-25.313-2.351-50.807-10.848-73.407-22.419-14.646-7.414-30.556-17.358-42.49-28.929l-12.294-11.932c14.283 2.17 27.845 4.881 42.128 3.616-9.402-5.244-17.72-11.753-25.494-19.346-7.593-0.181-15.188 0.724-19.708 3.254-4.159 2.351-4.881 17.358-5.425 21.876-1.083 10.126-13.922 14.827-21.878 9.222-14.464-10.126-21.516-29.652-23.685-46.468-2.17-17.177-0.181-39.777 11.753-53.156 10.668-11.751 33.992-16.815 52.976-17.356-0.181-0.905-0.181-1.628-0.181-2.533 10.306-0.539 18.804-2.532 23.686-11.207 2.713-1.087 5.424-2.534 7.773-4.34-5.243-0.724-10.667-1.266-15.911-1.989-0.362 0.724-0.723 1.447-1.266 1.989-3.435 4.34-11.029 5.424-15.549 5.786-1.085 0.181-2.351 0.181-3.437 0.181-1.627 5.425-6.329 11.573-13.56 9.764-6.69-1.627-13.56-9.584-14.283-15.188-10.125-4.157-21.154-11.932-24.228-24.95-1.628-7.595-1.628-14.645-0.182-20.975 4.159-19.527 22.783-31.46 39.778-34.534 1.627-0.361 3.073-0.542 4.701-0.542-0.182-6.328-0.182-12.656-0.182-18.984-3.073 2.348-6.329 4.157-9.763 5.061-5.063 1.266-10.487 1.266-15.912 0.361-4.7 4.701-10.306 5.966-13.198 4.34-2.17-1.266-3.616-5.064-3.616-9.763-5.605-2.534-10.848-5.606-15.369-8.862-4.158 2.171-8.135 2.713-9.944 1.085-1.627-1.447-1.808-5.425-0.542-9.944-3.978-3.977-7.776-8.316-10.668-13.198-3.797 1.266-7.052 1.266-8.136-0.361-1.266-1.809 0.182-6.33 2.894-10.849-1.085-3.435-1.809-6.872-1.809-10.486-0.724-30.557 42.852-61.657 70.876-62.741 16.635-0.542 33.268 8.136 41.224 22.6 109.387-4.702 218.777-3.978 328.164 0 7.955-14.465 24.59-23.324 41.224-22.6 28.204 1.083 71.599 32.185 70.875 62.741-0.182 3.614-0.724 7.050-1.806 10.486 2.711 4.519 4.155 9.039 2.891 10.849zM601.37 543.59c0 5.606 6.69 7.776 13.562 0.724 10.849-11.21 14.282-39.054 13.381-49.359-3.978 13.017-12.478 28.024-29.291 34.533 1.085 2.892 2.349 7.955 2.349 14.102zM581.121 517.554c0.041-0.050 0.079-0.106 0.12-0.156 4.675 0.909 10.213 2.532 13.439 5.58 18.806-5.967 27.484-26.758 28.751-47.191-1.267-2.713-2.892-5.243-4.885-7.412-5.243-5.786-14.823-9.582-25.132-11.573 4.145 20.543 0.203 45.572-12.173 60.596-0.039-0.008-0.081-0.017-0.12-0.025v0.181zM571.539 516.289c13.2-11.391 19.163-37.788 13.559-61.113-3.977-0.542-7.777-0.904-11.392-0.904-1.628 21.154-6.328 42.488-13.74 62.377 3.797-0.361 7.774-0.361 11.573-0.361zM163.821 494.954c-0.904 10.306 2.532 38.149 13.379 49.359 6.871 7.052 13.56 4.882 13.56-0.724 0-6.147 1.266-11.21 2.351-14.102-16.815-6.509-25.313-21.514-29.29-34.533zM173.404 468.375c-1.989 2.17-3.616 4.7-4.882 7.412 1.266 20.432 9.944 41.224 28.748 47.191 3.227-3.047 8.763-4.671 13.441-5.58 0.041 0.050 0.078 0.107 0.119 0.156v-0.181c-0.039 0.008-0.080 0.017-0.119 0.025-12.377-15.024-16.321-40.052-12.176-60.596-10.307 1.991-19.889 5.787-25.132 11.573zM219.508 454.273c-3.978 0-7.955 0.361-12.477 0.904-4.339 17.899-1.806 37.607 5.425 50.988v-0.181l11.753 4.881c4.52 1.99 9.221 3.616 14.102 4.881-10.124-19.164-16.453-39.958-18.803-61.472zM470.469 444.327c12.654-0.361 25.493-0.361 37.967-1.266-0.181-16.996-6.69-47.008-22.237-54.965-5.606-2.894-7.235-1.447-8.5 4.52-2.168 17.175-3.977 34.533-7.23 51.53v0.181zM396.879 611.393c40.501 0 73.409-32.906 73.409-73.407s-32.908-73.407-73.409-73.407-73.407 32.906-73.407 73.407 32.908 73.407 73.407 73.407zM456.364 444.689c0.725-4.519 3.616-38.511-1.627-40.319-11.392-3.076-38.691-4.159-49.359 0.902-3.799 2.892-4.34 34.896-4.159 39.78v-0.182c18.442 0.184 36.702 0.184 55.145-0.181zM386.573 392.979c-12.656-3.435-40.319-3.977-52.795 1.447-6.147 2.713-3.615 41.043-1.808 49.721 18.622 0.542 37.064 0.724 55.688 0.905v-0.182c1.086-8.317 3.256-49.54-1.085-51.89zM283.876 442.159c11.753 0.721 23.505 1.266 35.257 1.629l0.182-0.182c-2.532-14.645-3.075-41.947-4.701-50.265-1.266-6.328-4.159-6.328-9.583-3.978-20.974 9.221-26.399 33.629-21.155 52.797zM250.607 409.251c-0.18 0.905-0.542 1.809-0.904 2.713 7.414 0.905 15.007 1.806 22.6 2.53 1.447-5.966 3.616-11.569 6.69-16.813 9.764-16.634 42.49-34.533 43.574-6.871 6.147-14.284 39.415-11.751 52.975-10.486 15.007 1.266 22.783 1.447 25.676 13.741 12.115-4.161 29.83-3.797 42.671-2.714 10.848 0.724 19.889 0.543 23.685 8.497 0.901-4.88 1.628-11.389 4.336-16.089 10.309-20.793 35.981-1.266 45.022 30.375 8.456-0.72 17.096-1.621 25.557-2.517 0.043 0.118 0.069 0.224 0.118 0.348v-0.359c-0.039 0.004-0.080 0.008-0.118 0.013-0.273-0.742-0.451-1.403-0.606-2.182-0.543-4.159 3.075-7.050 7.592-8.862-45.741-45.381-92.21-84.797-157.3-103.419-60.931 20.249-108.121 57.316-150.43 102.877 5.244 1.805 9.403 4.699 8.86 9.219zM228.911 245.622c-3.618-17.177-21.155-28.567-38.331-27.843-18.623 0.724-44.84 16.455-57.135 35.078-2.713 30.011 42.128 59.301 63.824 52.793 14.284-4.159 26.939-29.651 32.363-52.071 0.001-3.075-0.178-5.605-0.721-7.957zM229.454 290.102c-2.171 5.785-5.244 12.654-9.041 19.164-0.542 13.017-0.542 26.034-0.18 39.054h0.18c2.713 1.447 5.425 3.616 7.595 6.328 6.148 1.447 12.475 4.882 14.465 8.678 1.99 3.978-1.085 7.233-5.605 9.765 0.181 0.724 0.362 1.627 0.542 2.349 2.713 0.905 5.424 1.989 7.414 3.435 28.386-28.207 56.592-54.603 94.019-74.311-35.619-11.030-69.973-26.579-102.156-45.383-0.905 10.85-4.159 22.421-7.233 30.92zM247.636 246.878c-0.094-0.058-0.189-0.114-0.283-0.172v0.182c0.094-0.004 0.189-0.006 0.283-0.010 33.908 20.894 69.615 37.83 108.381 49.007 11.030-4.882 22.24-9.041 33.63-12.837 1.989-0.543 1.989-0.543 3.978 0 13.922 3.977 27.484 9.041 40.682 15.007 40.14-11.212 76.12-30.556 111.739-50.989-99.35-3.43-198.881-3.973-298.411-0.187zM555.987 259.001c-34.534 18.622-70.152 34.716-107.759 45.926 36.705 19.164 69.428 45.564 99.803 73.949 1.991-1.266 4.521-2.351 7.235-3.254 0.181-0.724 0.362-1.629 0.542-2.352-4.52-2.53-7.595-5.786-5.604-9.763 1.986-3.797 8.134-7.233 14.464-8.679 2.349-2.713 4.88-4.882 7.774-6.507 0-13.2-0.182-26.579-0.724-39.778l0.182 0.18c-3.618-6.328-6.511-12.836-8.497-18.442-3.257-8.677-6.509-20.428-7.416-31.279zM658.326 252.856c-12.294-18.623-38.514-34.354-57.135-35.078-17.178-0.724-34.715 10.667-38.331 27.843-0.542 2.352-0.721 4.882-0.721 7.955 5.424 22.422 18.078 47.913 32.363 52.071 21.695 6.511 66.534-22.78 63.824-52.792z" horiz-adv-x="791" />
11
- </font></defs></svg>
 
 
 
 
 
 
 
 
 
 
 
assets/fonts/archie.ttf DELETED
Binary file
assets/fonts/archie.woff DELETED
Binary file
assets/images/BigCommerce-logo.png DELETED
Binary file
assets/images/features-event.svg DELETED
@@ -1,135 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg viewBox="0 0 562 412" xmlns="http://www.w3.org/2000/svg" xmlns:serif="http://www.serif.com/" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.41421">
3
- <g opacity=".5" transform="matrix(.7821 0 0 .7821 -149.3014 -85.4476)">
4
- <path d="M909.09 158.88v420.67c-.01 10.694-8.82 19.485-19.51 19.48H210.4c-10.697 0-19.5-8.803-19.5-19.5V158.88c0-10.703 8.807-19.51 19.51-19.51h679.17c10.7 0 19.51 8.807 19.51 19.51z" fill="#fff" fill-rule="nonzero"/>
5
- <path fill="#1d58bf" fill-opacity=".3" d="M224.9963 186.33337h649.99992v80.00016H224.9963z"/>
6
- <path fill="#1d58bf" fill-opacity=".2" d="M225.03963 289.74781h199.99914v120.00024H225.03963zM674.99493 289.74781h199.99914v120.00024H674.99493zM449.99493 289.74781h199.99914v120.00024H449.99493zM225.03963 434.74781h199.99914v120.00024H225.03963zM674.99493 434.74781h199.99914v120.00024H674.99493zM449.99493 434.74781h199.99914v120.00024H449.99493z"/>
7
- <path d="M909.09 158.89H190.9v-.01c0-10.697 8.803-19.5 19.5-19.5H889.59c10.7 0 19.5 8.803 19.5 19.5v.01z" fill="#c8cad7" fill-rule="nonzero"/>
8
- <circle cx="210.41" cy="149.13" r="4.88" fill="#ededf4"/>
9
- <circle cx="225.04" cy="149.13" r="4.88" fill="#ededf4"/>
10
- <circle cx="239.67" cy="149.13" r="4.88" fill="#ededf4"/>
11
- </g>
12
- <path d="M590.46 285.225c0-29.872-24.253-54.125-54.125-54.125h-327.2c-29.872 0-54.125 24.253-54.125 54.125s24.253 54.125 54.125 54.125h327.2c29.872 0 54.125-24.253 54.125-54.125z" fill="url(#_Linear1)" transform="matrix(.74209 0 0 .74209 82.16726 159.83489)"/>
13
- <path d="M519.43452 371.50403c0-21.17248-17.1897-38.36218-38.36218-38.36218H237.36359c-21.17248 0-38.36218 17.1897-38.36218 38.36218 0 21.17248 17.1897 38.36218 38.36218 38.36218h243.70875c21.17248 0 38.36218-17.1897 38.36218-38.36218z" fill="#fff"/>
14
- <path d="M480.95184 352.25763c0-2.27186-1.84484-4.11652-4.11671-4.11652H285.58108c-2.27243 0-4.11671 1.84466-4.11671 4.11652v8.23348c0 2.27229 1.84428 4.11695 4.1167 4.11695h191.25406c2.27187 0 4.1167-1.84466 4.1167-4.11695v-8.23348z" fill="#3f3d56"/>
15
- <path d="M480.95184 371.02555c0-1.51458-1.23008-2.74435-2.74448-2.74435H284.20884c-1.51495 0-2.74447 1.22977-2.74447 2.74435v5.48898c0 1.51486 1.22952 2.74463 2.74447 2.74463h193.99852c1.5144 0 2.74448-1.22977 2.74448-2.74463v-5.48898z" fill="#00aded"/>
16
- <path d="M342.00676 386.05141c0-1.51458-1.2299-2.74435-2.74448-2.74435h-55.05373c-1.51476 0-2.74449 1.22977-2.74449 2.74435v5.48898c0 1.51487 1.22973 2.74464 2.74449 2.74464h55.05373c1.51459 0 2.74448-1.22977 2.74448-2.74464v-5.48898z" fill="#9795b1"/>
17
- <g fill-rule="nonzero">
18
- <path d="M358.2531 392.02014c.59163 0 .87848-.11696 1.16533-.26893l-.30478-.94122c-.1972.09875-.41235.15267-.55577.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86494h1.19221v-.96784h-1.19221v-1.5596l-1.16533.12536v1.43424h-.51991v.96784h.51991v2.02601c0 .98605.49302 1.45246 1.246 1.45246zM362.29567 387.5024c-.51963 0-.9948.25072-1.32647.71713h-.00896v-.6457h-1.17429v4.37487h1.17429v-2.03511c0-.6457.39442-1.13871 1.12043-1.13871.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05322-.0084-.08964-.0084zM365.55004 387.57383v2.12476c0 .84248-.45731 1.27247-.96854 1.27247-.54695 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49302 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17443v-4.37487h-1.17442zM368.83942 392.02014c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.43069-.16108-.6632-.28713-.6632-.46641 0-.2332.24162-.33125.43-.33125.32285 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21014-.51123l-.57356.81587c.48392.41249 1.07568.63659 1.7746.63659zM372.3536 392.02014c.59176 0 .8782-.11696 1.16532-.26893l-.30464-.94122c-.19748.09875-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86494h1.19194v-.96784h-1.19194v-1.5596l-1.16532.12536v1.43424h-.52034v.96784h.52034v2.02601c0 .98605.49302 1.45246 1.24586 1.45246z" fill="#1d58bf"/>
19
- <path d="M376.40562 387.5024c-.53784 0-.99515.1968-1.3271.57356h-.0175v-.50213h-1.17443v6.14947h1.17443v-2.26762h.0175c.30464.35786.73533.56446 1.29068.56446 1.21925 0 2.09745-.8964 2.09745-2.25012 0-1.3264-.8873-2.26762-2.06103-2.26762zm-.25141 3.46866c-.63659 0-1.13871-.47481-1.13871-1.19193 0-.69892.4664-1.22836 1.1387-1.22836.62749 0 1.12051.47552 1.12051 1.22836 0 .70802-.4573 1.19193-1.1205 1.19193zM381.81976 387.57383v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49303 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17444v-4.37487h-1.17443zM383.74702 385.35103h1.1743v6.59753h-1.1743zM387.12605 392.02014c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.42999-.16108-.6632-.28713-.6632-.46641 0-.2332.24161-.33125.43-.33125.32284 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21015-.51123l-.57355.81587c.48391.41249 1.07568.63659 1.7746.63659zM393.32033 389.7161c0-1.28158-.86068-2.2137-2.14226-2.2137-1.24586 0-2.16958.92302-2.16958 2.24942 0 1.37191.96854 2.26832 2.25011 2.26832.8782 0 1.51479-.34946 1.89156-.82498l-.76195-.70801c-.2423.29553-.58266.50212-1.04907.49302-.56445 0-.97694-.32285-1.1205-.84248h3.07508c.02661-.07213.02661-.27803.02661-.4216zm-2.10655-1.18283c.51123 0 .82498.30463.94123.76194h-1.92727c.13446-.50213.51123-.76194.98604-.76194z" fill="#00aded"/>
20
- </g>
21
- <path d="M352.3362 386.0945c-.38985-.10526-.77051-.24529-1.1363-.4248-.31034-.15228-.6097-.32576-.90302-.50839a4.28059 4.28059 0 0 1-.01708.01058c-.77208.4791-1.59296.8661-2.50488 1.03731-.32904.06177-.66185.10054-.99532.12898l-.01063.0009c-.08214 1.83573.04032 3.72786 1.01521 5.302.59423.95947 1.51362 1.67795 2.48731 2.27517l.0254.01547c.39845-.2435.7898-.50318 1.15398-.79322h.82667c-.58592.55146-1.2694 1.0136-1.96423 1.42616-.03256-.02228-.03286 0-.03286 0-.87643-.52039-1.7297-1.09562-2.39376-1.85939-.45109-.51878-.80827-1.11492-1.06569-1.76016-.64686-1.62151-.68784-3.42666-.57505-5.12153.71687-.04271 1.44492-.11159 2.13114-.33286.6768-.21823 1.30011-.58061 1.90217-.97149l.01762-.01147c.01171.00765.02342.01524.03519.02288.75935.4919 1.56971.92602 2.4621 1.11205a6.70181 6.70181 0 0 0 .15359.03011l-.61155.4217zm-.18136 6.3196h-1.13481c-.18968-.00806-.20246-.10413-.20646-.19786-.00472-.11147.06756-.20944.20646-.21536h.97722l.3089-1.12615s.05963-.13943.17947-.15096c.09582-.00926.1782.03119.21793.14708l.46674 1.57933.28591-.89854s.09248-.1638.23932-.13955c.08005.0205.08328.0242.1297.088l.33232.5008h.79573c.00096.00011.14768.01995.1917.12957.05096.12676-.02968.27677-.1917.28364h-.9066c-.09857-.00406-.12671-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03333-.21356-.1475l-.45205-1.52962-.15873.5787s-.0721.14635-.19923.15191zm2.22392-6.0194c.04014.97769.0101 1.95688-.15741 2.9234-.07635.44076-.24279 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17471.553-2.4526.53371-3.7033l.53676-.52237z" fill="#00aded" fill-rule="nonzero"/>
22
- <path d="M350.08965 388.9102c.03129-.03568.0394-.0591.08606-.12695.26903-.39144 1.0659-1.44673 2.07848-2.25844.44062-.35324.91685-.67436 1.33812-.88486.70208-.35081.92816-.39358 1.25422-.46954.06193-.01442.2862-.05445.3234.03392.0359.0853-.10399.17519-.15647.21643-.05901.04637-1.40842 1.05545-2.54368 2.55402-.98784 1.30389-1.63428 3.0147-1.63428 3.0147-.01986.03799-.24452.43946-.54593.45902-.27857.0181-.63633-.34424-.63633-.34424-.06877-.06417-.40417-.4622-.68325-.95451-.35593-.6277-.66242-1.37176-.66242-1.37176s-.31816-.62588.28165-.9701c.59141-.33942.85484.00518.9832.20862.10969.17388.33069.59624.4375.80283.0372.07196.06126.11186.07973.09085z" fill="#1d58bf" fill-rule="nonzero"/>
23
- <g transform="translate(128.5517 -88.00126) scale(1.24681)">
24
- <circle cx="88.506" cy="368.331" r="25.699" fill="#00aded"/>
25
- </g>
26
- <g>
27
- <path d="M251.8583 391.91583c-1.13193 2.18277-3.0103 3.8883-5.2925 4.80302-1.34914.49253-2.77016.76175-4.20647.7954-1.55257.11472-3.11126-.07801-4.58888-.56596-1.9671-.77399-3.65733-2.12312-4.8489-3.86995-1.17629-1.74683-2.12312-3.63898-2.81451-5.62902-.46501-.99272-.65927-2.08946-.56597-3.18162 1.2084-.14684 2.30974-.7694 3.05925-1.72847.44512-.9652.47266-2.07264.07648-3.05925-.09177-.30592-.18355-.59655-.29062-.87188-.22945-.67304-1.02485-1.94263-.47419-2.50859.55067-.56596 1.83555-.55066 2.34033-.7801 1.49597-.8933 3.0929-1.60764 4.75713-2.12618 1.5082-.20039 3.04242-.10249 4.51239.29062.20038.03366.39311.10555.56596.21415.19273.16061.33652.37323.413.61185.4283 1.04015.67303 2.18736 1.00955 3.2581a6.71716 6.71716 0 0 0 1.68259 2.98277c.69904.5935 1.48832 1.06768 2.34032 1.40725l2.0497.93307c.35946.14379.6868.3564.96366.62715.26157.37017.42065.80305.45889 1.2543.37935 2.4428-.02141 4.9422-1.14722 7.14334z" fill="#a0616a" fill-rule="nonzero"/>
28
- <path d="M245.49506 377.61384c-3.33764 3.46613-8.63167 4.25388-12.83355 1.91203-.09178-.30592-.18356-.59655-.29063-.87189-.22944-.67303-1.02485-1.94262-.47418-2.50858.55066-.56596 1.83554-.55066 2.34032-.7801 1.49597-.8933 3.0929-1.60764 4.75713-2.12619 1.50821-.20038 3.04242-.10248 4.5124.29063.20037.03365.3931.10555.56595.21415.19274.16061.33652.37323.413.61185.4283 1.08603.67304 2.18736 1.00956 3.2581z" fill-opacity=".1" fill-rule="nonzero"/>
29
- <circle cx="263.84" cy="289.36" r="6.94" fill="#a0616a" transform="matrix(1.52962 0 0 1.52962 -165.72867 -72.81407)"/>
30
- <path d="M264.63677 390.3036c-11.84082 16.48476-36.14502 16.80904-49.00304 2.93382.1652-.8107.47418-1.59387.90554-2.30055.44818-.69904 1.2191-1.1304 2.0497-1.14722.44359 0 .94836.16826 1.26958-.15296.32122-.32123.21415-.58126.4436-.7954.22944-.21416.7801-.21416 1.2084-.18356.93307.03059 1.82025-.413 2.35562-1.17781.16367-.28451.36405-.54761.59655-.78011.4023-.1958.83824-.30899 1.28489-.33652 1.239-.27533 1.97321-1.52962 2.90628-2.30973.45736-.51549 1.17934-.71434 1.83555-.50478.1499.07801.27992.18662.3824.32122.25087.38547.42218.81682.50478 1.2696.55373 2.5407 1.96404 4.81372 3.99232 6.4397 1.57246 1.18853 3.4906 1.8325 5.46076 1.8325 3.51967 0 6.73188-2.05123 8.21408-5.24355.73881-1.84932 1.16405-3.80877 1.2543-5.79728v-.26004c1.25888-.31204 2.59424-.04894 3.6405.71893 1.01567.77705 2.10017 1.45926 3.2428 2.0344 1.36137.53537 3.05925.53537 3.99232 1.52962.3977.3977.67304.94837 1.17781 1.1931.31358.12238.64398.20039.97896.22945 1.73.46654 1.3063 2.48717 1.3063 2.48717z" fill="#f86d70" fill-rule="nonzero"/>
31
- <path d="M230.52003 352.5739c-.7388.59807-1.36595 1.32312-1.85084 2.14147a10.5459 10.5459 0 0 1-3.7017 3.6405c-.63632.22333-1.21604.58279-1.69787 1.05544-.2371.35946-.38853.76634-.4436 1.1931a22.36596 22.36596 0 0 0-.47418 4.5124c-.0566.76328.06883 1.5281.36711 2.23325.30593.64244.88718 1.1931.99426 1.89674.02294.55678-.03977 1.11356-.18356 1.65199-.14684.57667.07954 1.18699.56596 1.52962.27686.0979.56443.1652.8566.19885 1.52962.33652 2.04969 2.14148 2.27913 3.62521.52007 0 .74952-.62714.87189-1.11662l1.52962-7.11275c.18356-.76482.45889-1.6673 1.239-1.92733a3.86232 3.86232 0 0 1 1.6214 0c2.11088.18355 3.88524-1.45314 5.95024-1.91203.66538-.12543 1.343-.16673 2.0191-.12237 1.6214 0 3.51814.74952 3.86995 2.26384 0 .24474.09178.55067.32122.67304.23403.06883.4849.06883.71893 0 1.02484-.10708 1.6367 1.05544 1.94262 2.0038l1.07073 3.47225c.16826.52007.4436 1.14722 1.00956 1.2084.53384-.00305.9866-.40382 1.05544-.93307.02294-.51854-.04895-1.03708-.21415-1.52962-.50478-2.26384.27533-4.58887.74952-6.86801.47418-2.27914.55066-4.8948-1.04015-6.65387-.58126-.62714-1.34607-1.10133-1.88144-1.77436-.53536-.67304-.7801-1.39196-1.30018-2.0191-2.07723-1.82179-4.66994-2.95524-7.41867-3.2428-3.0669-.27075-6.14603.39616-8.82594 1.91202z" fill="#3f3d56" fill-rule="nonzero"/>
32
- <g opacity=".1">
33
- <path d="M223.71365 367.62592c-.10707-.70363-.68833-1.2543-.99426-1.89673a3.90032 3.90032 0 0 1-.35181-1.37666v.7648c-.0566.76329.06883 1.5281.36711 2.23326.24474.52007.67303.97896.88718 1.52962.1086-.4084.1392-.83364.09178-1.25429zM251.04803 362.71583c-.60726 1.98086-.90247 4.04585-.87188 6.1185.19885-1.50516.48948-2.99654.87188-4.4665.25392-1.12275.34264-2.27762.26004-3.42637-.04895.59656-.1346 1.18852-.26004 1.77437z" fill-rule="nonzero"/>
34
- </g>
35
- </g>
36
- <g>
37
- <path d="M590.46 285.225c0-29.872-24.253-54.125-54.125-54.125h-327.2c-29.872 0-54.125 24.253-54.125 54.125s24.253 54.125 54.125 54.125h327.2c29.872 0 54.125-24.253 54.125-54.125z" fill="url(#_Linear2)" transform="matrix(.74209 0 0 .74209 -79.40377 49.16549)"/>
38
- <path d="M357.86349 260.83463c0-21.17248-17.1897-38.36218-38.36218-38.36218H75.79256c-21.17248 0-38.36218 17.1897-38.36218 38.36218 0 21.17248 17.1897 38.36218 38.36218 38.36218h243.70875c21.17248 0 38.36218-17.1897 38.36218-38.36218z" fill="#fff"/>
39
- <path d="M319.3808 241.58823c0-2.27186-1.84483-4.11652-4.1167-4.11652H124.01005c-2.27243 0-4.11671 1.84466-4.11671 4.11652v8.23348c0 2.27229 1.84428 4.11695 4.1167 4.11695H315.2641c2.27187 0 4.1167-1.84466 4.1167-4.11695v-8.23348z" fill="#3f3d56"/>
40
- <path d="M319.3808 260.35615c0-1.51458-1.23007-2.74435-2.74447-2.74435H122.63781c-1.51495 0-2.74447 1.22977-2.74447 2.74435v5.48898c0 1.51486 1.22952 2.74463 2.74447 2.74463h193.99852c1.5144 0 2.74448-1.22977 2.74448-2.74463v-5.48898z" fill="#1d58bf"/>
41
- <path d="M180.43573 275.38201c0-1.51458-1.2299-2.74435-2.74448-2.74435h-55.05373c-1.51476 0-2.74449 1.22977-2.74449 2.74435v5.48898c0 1.51487 1.22973 2.74464 2.74449 2.74464h55.05373c1.51459 0 2.74448-1.22977 2.74448-2.74464v-5.48898z" fill="#9795b1"/>
42
- <g serif:id="text" fill-rule="nonzero">
43
- <path d="M196.68207 281.35074c.59163 0 .87848-.11696 1.16533-.26893l-.30478-.94122c-.1972.09875-.41235.15267-.55577.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86494h1.19221v-.96784h-1.19221v-1.5596l-1.16533.12536v1.43424h-.51991v.96784h.51991v2.02601c0 .98605.49302 1.45246 1.246 1.45246zM200.72464 276.833c-.51963 0-.9948.25072-1.32647.71713h-.00896v-.6457h-1.17429v4.37487h1.17429v-2.03511c0-.6457.39442-1.13871 1.12043-1.13871.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05322-.0084-.08964-.0084zM203.979 276.90443v2.12476c0 .84248-.4573 1.27247-.96853 1.27247-.54695 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49302 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17443v-4.37487h-1.17442zM207.26839 281.35074c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.43069-.16108-.6632-.28713-.6632-.46641 0-.2332.24162-.33125.43-.33125.32285 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21014-.51123l-.57356.81587c.48392.41249 1.07568.63659 1.7746.63659zM210.78257 281.35074c.59176 0 .8782-.11696 1.16532-.26893l-.30464-.94122c-.19748.09875-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86494h1.19194v-.96784h-1.19194v-1.5596l-1.16532.12536v1.43424h-.52034v.96784h.52034v2.02601c0 .98605.49302 1.45246 1.24586 1.45246z" fill="#1d58bf"/>
44
- <path d="M214.8346 276.833c-.53785 0-.99516.1968-1.3271.57356h-.01751v-.50213h-1.17443v6.14947h1.17443v-2.26762h.0175c.30464.35786.73533.56446 1.29068.56446 1.21925 0 2.09745-.8964 2.09745-2.25012 0-1.3264-.8873-2.26762-2.06103-2.26762zm-.25142 3.46866c-.63659 0-1.13871-.47481-1.13871-1.19193 0-.69892.4664-1.22836 1.1387-1.22836.62749 0 1.12051.47552 1.12051 1.22836 0 .70802-.4573 1.19193-1.1205 1.19193zM220.24873 276.90443v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49303 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17444v-4.37487h-1.17443zM222.176 274.68163h1.17428v6.59753H222.176zM225.55502 281.35074c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.42999-.16108-.6632-.28713-.6632-.46641 0-.2332.24161-.33125.43-.33125.32284 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21015-.51123l-.57355.81587c.48391.41249 1.07568.63659 1.7746.63659zM231.7493 279.0467c0-1.28158-.86068-2.2137-2.14226-2.2137-1.24586 0-2.16958.92302-2.16958 2.24942 0 1.37191.96854 2.26832 2.25011 2.26832.8782 0 1.51479-.34946 1.89156-.82498l-.76195-.70801c-.2423.29553-.58266.50212-1.04907.49302-.56445 0-.97694-.32285-1.1205-.84248h3.07508c.02661-.07213.02661-.27803.02661-.4216zm-2.10655-1.18283c.51123 0 .82498.30463.94123.76194h-1.92727c.13446-.50213.51123-.76194.98604-.76194z" fill="#00aded"/>
45
- </g>
46
- <g serif:id="mark">
47
- <path d="M190.76518 275.4251c-.38986-.10526-.77052-.24529-1.1363-.4248-.31035-.15228-.6097-.32576-.90303-.50839a4.28059 4.28059 0 0 1-.01708.01058c-.77208.4791-1.59296.8661-2.50488 1.03731-.32904.06177-.66185.10054-.99532.12898l-.01063.0009c-.08214 1.83573.04032 3.72786 1.01521 5.302.59423.95947 1.51362 1.67795 2.48731 2.27517l.0254.01547c.39845-.2435.7898-.50318 1.15398-.79322h.82667c-.58592.55146-1.2694 1.0136-1.96423 1.42616-.03256-.02228-.03286 0-.03286 0-.87643-.52039-1.7297-1.09562-2.39376-1.85939-.45109-.51878-.80827-1.11492-1.06569-1.76016-.64686-1.62151-.68784-3.42666-.57505-5.12153.71687-.04271 1.44492-.11159 2.13114-.33286.6768-.21823 1.30011-.58061 1.90217-.97149l.01762-.01147c.01171.00765.02342.01524.03519.02288.75935.4919 1.56971.92602 2.4621 1.11205a6.70181 6.70181 0 0 0 .15359.03011l-.61155.4217zm-.18137 6.3196H189.449c-.18968-.00806-.20246-.10413-.20646-.19786-.00472-.11147.06756-.20944.20646-.21536h.97722l.3089-1.12615s.05963-.13943.17947-.15096c.09582-.00926.1782.03119.21793.14708l.46674 1.57933.28591-.89854s.09248-.1638.23932-.13955c.08005.0205.08328.0242.1297.088l.33232.5008h.79573c.00096.00011.14768.01995.1917.12957.05096.12676-.02968.27677-.1917.28364h-.9066c-.09857-.00406-.12671-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03333-.21356-.1475l-.45205-1.52962-.15873.5787s-.0721.14635-.19923.15191zm2.22392-6.0194c.04014.97769.0101 1.95688-.15741 2.9234-.07635.44076-.24279 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17471.553-2.4526.53371-3.7033l.53676-.52237z" fill="#00aded" fill-rule="nonzero"/>
48
- <path d="M188.51862 278.2408c.03129-.03568.0394-.0591.08606-.12695.26903-.39144 1.0659-1.44673 2.07848-2.25844.44062-.35324.91685-.67436 1.33812-.88486.70208-.35081.92816-.39358 1.25422-.46954.06193-.01442.2862-.05445.3234.03392.0359.0853-.10399.17519-.15647.21643-.05901.04637-1.40842 1.05545-2.54368 2.55402-.98784 1.30389-1.63428 3.0147-1.63428 3.0147-.01986.03799-.24452.43946-.54593.45902-.27857.0181-.63633-.34424-.63633-.34424-.06877-.06417-.40417-.4622-.68325-.95451-.35593-.6277-.66242-1.37176-.66242-1.37176s-.31816-.62588.28165-.9701c.59141-.33942.85484.00518.9832.20862.10969.17388.33069.59624.4375.80283.0372.07196.06126.11186.07973.09085z" fill="#1d58bf" fill-rule="nonzero"/>
49
- </g>
50
- <circle cx="88.506" cy="368.331" r="25.699" fill="#1d58bf" transform="translate(-33.01933 -198.67066) scale(1.24681)"/>
51
- <g>
52
- <path d="M90.30982 281.9644c-1.13192 2.18278-3.0103 3.88831-5.2925 4.80303-1.34913.49254-2.77015.76175-4.20647.7954-1.55256.11472-3.11125-.078-4.58887-.56596-1.9671-.77399-3.65733-2.12312-4.8489-3.86995-1.17629-1.74683-2.12313-3.63897-2.81452-5.62902-.465-.99272-.65926-2.08946-.56596-3.18161 1.2084-.14685 2.30974-.7694 3.05925-1.72848.44512-.9652.47266-2.07264.07648-3.05925-.09177-.30592-.18355-.59655-.29063-.87188-.22944-.67304-1.02484-1.94263-.47418-2.50859.55067-.56596 1.83555-.55066 2.34033-.7801 1.49597-.8933 3.0929-1.60764 4.75713-2.12618 1.5082-.20038 3.04242-.10249 4.51239.29063.20038.03365.39311.10554.56596.21414.19273.16061.33652.37323.413.61185.4283 1.04015.67303 2.18736 1.00955 3.2581a6.71716 6.71716 0 0 0 1.68259 2.98277c.69904.5935 1.48832 1.06768 2.34032 1.40725l2.0497.93307c.35946.14379.6868.3564.96366.62715.26157.37017.42065.80305.45889 1.2543.37935 2.4428-.02142 4.9422-1.14722 7.14334z" fill="#cc959f" fill-rule="nonzero"/>
53
- <path d="M83.94658 267.66242c-3.33764 3.46613-8.63167 4.25389-12.83354 1.91203-.09178-.30592-.18356-.59655-.29063-.87188-.22945-.67304-1.02485-1.94263-.47419-2.50859.55067-.56596 1.83555-.55066 2.34033-.7801 1.49597-.8933 3.0929-1.60764 4.75713-2.12618 1.50821-.20039 3.04242-.10249 4.5124.29062.20037.03366.3931.10555.56595.21415.19274.16061.33652.37323.413.61185.4283 1.08603.67304 2.18736 1.00955 3.2581z" fill-opacity=".1" fill-rule="nonzero"/>
54
- <circle cx="263.84" cy="289.36" r="6.94" fill="#d7a5ad" transform="matrix(1.52962 0 0 1.52962 -327.27714 -182.76549)"/>
55
- <path d="M103.0883 280.35218c-11.84082 16.48476-36.14502 16.80904-49.00304 2.93382.1652-.8107.47418-1.59387.90554-2.30055.44818-.69904 1.2191-1.1304 2.0497-1.14722.44359 0 .94836.16826 1.26958-.15296.32122-.32122.21415-.58126.4436-.7954.22944-.21416.7801-.21416 1.2084-.18356.93307.03059 1.82025-.413 2.35562-1.17781.16367-.28451.36405-.5476.59655-.78011.4023-.1958.83824-.30899 1.28489-.33652 1.239-.27533 1.97321-1.52962 2.90628-2.30973.45736-.51548 1.17934-.71434 1.83555-.50478.1499.07801.27992.18662.3824.32122.25087.38547.42218.81682.50478 1.2696.55373 2.5407 7.78426 7.73836 9.81254 9.36435 1.57246 1.18852 9.01867-10.14447 9.10891-12.13298v-.26003c1.25888-.31205 2.59425-.04895 3.64051.71892 1.01567.77705 2.10017 1.45926 3.2428 2.0344 1.36137.53537 3.05925.53537 3.99232 1.52962.3977.3977.67304.94837 1.17781 1.19311.31358.12237.64397.20038.97896.22944 1.73.46654 1.3063 2.48717 1.3063 2.48717z" fill="#fff" fill-rule="nonzero"/>
56
- <path d="M68.97156 242.62247c-.7388.59809-1.19157 1.4562-1.85084 2.14148-1.14416 1.19004-3.4753 6.8726-3.57167 8.3808-.29981 4.70207 1.2344 10.37545 2.74567 9.9961l1.78966-5.06917c.18356-.76482.45889-1.6673 1.239-1.92733a3.86232 3.86232 0 0 1 1.6214 0c2.11088.18356 4.01985.05966 6.10779-1.16251.66538-.12543 3.7537-3.6344 4.42826-3.59156 1.6214 0 .95143 3.46919 1.30324 4.98351 0 .24474.09178.55067.32122.67304.23403.06883.4849.06883.71892 0 1.02485-.10708 1.6367 1.05544 1.94263 2.0038l1.07073 3.47225c.16826.52008 1.6933-.76022 1.85085-1.25429.72351-2.26231 1.17016-4.58734.74952-6.86801-.42218-2.28985.55066-4.8948-1.04015-6.65387-.58126-.62714-1.34607-1.10133-1.88144-1.77436-.53537-.67304-.7801-1.39196-1.30018-2.0191-2.07723-1.82179-4.66994-2.95524-7.41868-3.2428-3.0669-.27075-6.14603.39616-8.82593 1.91202z" fill="#e4d2aa" fill-rule="nonzero"/>
57
- </g>
58
- </g>
59
- <g>
60
- <path d="M590.46 285.225c0-29.872-24.253-54.125-54.125-54.125h-327.2c-29.872 0-54.125 24.253-54.125 54.125s24.253 54.125 54.125 54.125h327.2c29.872 0 54.125-24.253 54.125-54.125z" fill="url(#_Linear3)" transform="matrix(.74209 0 0 .74209 82.16726 -61.16541)"/>
61
- <path d="M519.43452 150.50373c0-21.17248-17.1897-38.36218-38.36218-38.36218H237.36359c-21.17248 0-38.36218 17.1897-38.36218 38.36218 0 21.17248 17.1897 38.36218 38.36218 38.36218h243.70875c21.17248 0 38.36218-17.1897 38.36218-38.36218z" fill="#fff"/>
62
- <path d="M480.95184 131.25733c0-2.27186-1.84484-4.11652-4.11671-4.11652H285.58108c-2.27243 0-4.11671 1.84466-4.11671 4.11652v8.23348c0 2.27229 1.84428 4.11695 4.1167 4.11695h191.25406c2.27187 0 4.1167-1.84466 4.1167-4.11695v-8.23348z" fill="#3f3d56"/>
63
- <path d="M480.95184 150.02525c0-1.51458-1.23008-2.74435-2.74448-2.74435H284.20884c-1.51495 0-2.74447 1.22977-2.74447 2.74435v5.48898c0 1.51486 1.22952 2.74463 2.74447 2.74463h193.99852c1.5144 0 2.74448-1.22977 2.74448-2.74463v-5.48898z" fill="#16bd83"/>
64
- <path d="M342.00676 165.05111c0-1.51458-1.2299-2.74435-2.74448-2.74435h-55.05373c-1.51476 0-2.74449 1.22977-2.74449 2.74435v5.48898c0 1.51487 1.22973 2.74464 2.74449 2.74464h55.05373c1.51459 0 2.74448-1.22977 2.74448-2.74464v-5.48898z" fill="#9795b1"/>
65
- <g serif:id="text" fill-rule="nonzero">
66
- <path d="M358.2531 171.01984c.59163 0 .87848-.11696 1.16533-.26893l-.30478-.94122c-.1972.09875-.41235.15267-.55577.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86494h1.19221v-.96784h-1.19221v-1.5596l-1.16533.12536v1.43424h-.51991v.96784h.51991v2.02601c0 .98605.49302 1.45246 1.246 1.45246zM362.29567 166.5021c-.51963 0-.9948.25072-1.32647.71713h-.00896v-.6457h-1.17429v4.37487h1.17429v-2.03511c0-.6457.39442-1.13871 1.12043-1.13871.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05322-.0084-.08964-.0084zM365.55004 166.57353v2.12476c0 .84248-.45731 1.27247-.96854 1.27247-.54695 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49302 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17443v-4.37487h-1.17442zM368.83942 171.01984c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.43069-.16108-.6632-.28713-.6632-.46641 0-.2332.24162-.33125.43-.33125.32285 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21014-.51123l-.57356.81587c.48392.41249 1.07568.63659 1.7746.63659zM372.3536 171.01984c.59176 0 .8782-.11696 1.16532-.26893l-.30464-.94122c-.19748.09875-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86494h1.19194v-.96784h-1.19194v-1.5596l-1.16532.12536v1.43424h-.52034v.96784h.52034v2.02601c0 .98605.49302 1.45246 1.24586 1.45246z" fill="#1d58bf"/>
67
- <path d="M376.40562 166.5021c-.53784 0-.99515.1968-1.3271.57356h-.0175v-.50213h-1.17443v6.14947h1.17443v-2.26762h.0175c.30464.35786.73533.56446 1.29068.56446 1.21925 0 2.09745-.8964 2.09745-2.25012 0-1.3264-.8873-2.26762-2.06103-2.26762zm-.25141 3.46866c-.63659 0-1.13871-.47481-1.13871-1.19193 0-.69892.4664-1.22836 1.1387-1.22836.62749 0 1.12051.47552 1.12051 1.22836 0 .70802-.4573 1.19193-1.1205 1.19193zM381.81976 166.57353v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49303 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17444v-4.37487h-1.17443zM383.74702 164.35073h1.1743v6.59753h-1.1743zM387.12605 171.01984c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.42999-.16108-.6632-.28713-.6632-.46641 0-.2332.24161-.33125.43-.33125.32284 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21015-.51123l-.57355.81587c.48391.41249 1.07568.63659 1.7746.63659zM393.32033 168.7158c0-1.28158-.86068-2.2137-2.14226-2.2137-1.24586 0-2.16958.92302-2.16958 2.24942 0 1.37191.96854 2.26832 2.25011 2.26832.8782 0 1.51479-.34946 1.89156-.82498l-.76195-.70801c-.2423.29553-.58266.50212-1.04907.49302-.56445 0-.97694-.32285-1.1205-.84248h3.07508c.02661-.07213.02661-.27803.02661-.4216zm-2.10655-1.18283c.51123 0 .82498.30463.94123.76194h-1.92727c.13446-.50213.51123-.76194.98604-.76194z" fill="#00aded"/>
68
- </g>
69
- <g serif:id="mark">
70
- <path d="M352.3362 165.0942c-.38985-.10526-.77051-.24529-1.1363-.4248-.31034-.15228-.6097-.32576-.90302-.50839a4.28059 4.28059 0 0 1-.01708.01058c-.77208.4791-1.59296.8661-2.50488 1.03731-.32904.06177-.66185.10054-.99532.12898l-.01063.0009c-.08214 1.83573.04032 3.72786 1.01521 5.302.59423.95947 1.51362 1.67795 2.48731 2.27517l.0254.01547c.39845-.2435.7898-.50318 1.15398-.79322h.82667c-.58592.55146-1.2694 1.0136-1.96423 1.42616-.03256-.02228-.03286 0-.03286 0-.87643-.52039-1.7297-1.09562-2.39376-1.85939-.45109-.51878-.80827-1.11492-1.06569-1.76016-.64686-1.62151-.68784-3.42666-.57505-5.12153.71687-.04271 1.44492-.11159 2.13114-.33286.6768-.21823 1.30011-.58061 1.90217-.97149l.01762-.01147c.01171.00765.02342.01524.03519.02288.75935.4919 1.56971.92602 2.4621 1.11205a6.70181 6.70181 0 0 0 .15359.03011l-.61155.4217zm-.18136 6.3196h-1.13481c-.18968-.00806-.20246-.10413-.20646-.19786-.00472-.11147.06756-.20944.20646-.21536h.97722l.3089-1.12615s.05963-.13943.17947-.15096c.09582-.00926.1782.03119.21793.14708l.46674 1.57933.28591-.89854s.09248-.1638.23932-.13955c.08005.0205.08328.0242.1297.088l.33232.5008h.79573c.00096.00011.14768.01995.1917.12957.05096.12676-.02968.27677-.1917.28364h-.9066c-.09857-.00406-.12671-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03333-.21356-.1475l-.45205-1.52962-.15873.5787s-.0721.14635-.19923.15191zm2.22392-6.0194c.04014.97769.0101 1.95688-.15741 2.9234-.07635.44076-.24279 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17471.553-2.4526.53371-3.7033l.53676-.52237z" fill="#00aded" fill-rule="nonzero"/>
71
- <path d="M350.08965 167.9099c.03129-.03568.0394-.0591.08606-.12695.26903-.39144 1.0659-1.44673 2.07848-2.25844.44062-.35324.91685-.67436 1.33812-.88486.70208-.35081.92816-.39358 1.25422-.46954.06193-.01442.2862-.05445.3234.03392.0359.0853-.10399.17519-.15647.21643-.05901.04637-1.40842 1.05545-2.54368 2.55402-.98784 1.30389-1.63428 3.0147-1.63428 3.0147-.01986.03799-.24452.43946-.54593.45902-.27857.0181-.63633-.34424-.63633-.34424-.06877-.06417-.40417-.4622-.68325-.95451-.35593-.6277-.66242-1.37176-.66242-1.37176s-.31816-.62588.28165-.9701c.59141-.33942.85484.00518.9832.20862.10969.17388.33069.59624.4375.80283.0372.07196.06126.11186.07973.09085z" fill="#1d58bf" fill-rule="nonzero"/>
72
- </g>
73
- <g>
74
- <circle cx="88.506" cy="368.331" r="25.699" fill="#16bd83" transform="matrix(1.24515 0 0 1.24515 128.79025 -308.60286)"/>
75
- <g transform="matrix(.06627 0 0 .06536 219.03341 123.08496)">
76
- <clipPath id="a">
77
- <ellipse cx="301.161" cy="412.162" rx="482.83" ry="489.567"/>
78
- </clipPath>
79
- <g clip-path="url(#a)">
80
- <path d="M204.8661 153.28986c56.75005-49.87448 141.04683-49.80035 197.71882.17006C516.35825 253.78882 687.788 404.96022 687.788 404.96022l-768.05126-1.10318S91.0711 253.29174 204.8661 153.28986z" fill="#caeafd"/>
81
- <path d="M188.84657 730.71631c28.67426 34.82609 71.12188 54.94595 115.86795 54.91574 44.74173-.03625 87.16333-20.21049 115.78989-55.08491 112.74986-137.3407 267.28817-325.58526 267.28817-325.58526l-768.0556-1.10568S75.46356 593.00705 188.84658 730.7163z" fill="#b2e2fc"/>
82
- <path d="M400.72664 653.43536l276.23198 247.19779c9.5224 8.55156 12.75423 22.0308 8.1293 33.91464-4.62491 11.88385-16.14612 19.7235-28.99552 19.7235H-48.07247c-12.90565 0-24.4831-7.87396-29.12532-19.80927-4.64223-11.9396-1.39743-25.47887 8.16824-34.06475l281.47126-247.18492 188.28493.22301z" fill="#eff9ff"/>
83
- <path d="M212.44437 653.43536l-288.78911-243.8269-2.94202 515.45712c.61328 6.08131 5.11207 14.26834 7.90399 18.52697l283.82714-290.15719z" fill="#caeafd"/>
84
- <path d="M212.4412 653.43536L-80.26343 403.85737l1.02498 521.20821 291.67967-271.63022z" fill="#f8fcff"/>
85
- <path d="M399.64663 653.43536l288.14581-248.4758-.61756 522.13885c-.61328 6.0813-2.40593 9.1434-5.19784 13.40203L399.64663 653.43536z" fill="#caeafd"/>
86
- <path d="M399.64663 653.43536l288.14581-248.4758-.83628 522.13885-287.30953-273.66305z" fill="#f8fcff"/>
87
- </g>
88
- </g>
89
- </g>
90
- </g>
91
- <g>
92
- <path d="M590.46 285.225c0-29.872-24.253-54.125-54.125-54.125h-327.2c-29.872 0-54.125 24.253-54.125 54.125s24.253 54.125 54.125 54.125h327.2c29.872 0 54.125-24.253 54.125-54.125z" fill="url(#_Linear5)" transform="matrix(.74209 0 0 .74209 -79.40377 -171.49611)"/>
93
- <path d="M357.86349 40.17303c0-21.17248-17.1897-38.36218-38.36218-38.36218H75.79256c-21.17248 0-38.36218 17.1897-38.36218 38.36218 0 21.17248 17.1897 38.36218 38.36218 38.36218h243.70875c21.17248 0 38.36218-17.1897 38.36218-38.36218z" fill="#fff"/>
94
- <path d="M319.3808 20.92663c0-2.27186-1.84483-4.11652-4.1167-4.11652H124.01005c-2.27243 0-4.11671 1.84466-4.11671 4.11652v8.23348c0 2.27229 1.84428 4.11695 4.1167 4.11695H315.2641c2.27187 0 4.1167-1.84466 4.1167-4.11695v-8.23348z" fill="#3f3d56"/>
95
- <path d="M319.3808 39.69455c0-1.51458-1.23007-2.74435-2.74447-2.74435H122.63781c-1.51495 0-2.74447 1.22977-2.74447 2.74435v5.48898c0 1.51486 1.22952 2.74463 2.74447 2.74463h193.99852c1.5144 0 2.74448-1.22977 2.74448-2.74463v-5.48898z" fill="#6c63ff"/>
96
- <path d="M180.43573 54.72041c0-1.51458-1.2299-2.74435-2.74448-2.74435h-55.05373c-1.51476 0-2.74449 1.22977-2.74449 2.74435v5.48898c0 1.51487 1.22973 2.74464 2.74449 2.74464h55.05373c1.51459 0 2.74448-1.22977 2.74448-2.74464v-5.48898z" fill="#9795b1"/>
97
- <g serif:id="text" fill-rule="nonzero">
98
- <path d="M196.68207 60.68914c.59163 0 .87848-.11696 1.16533-.26893l-.30478-.94122c-.1972.09875-.41235.15267-.55577.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86494h1.19221v-.96784h-1.19221v-1.5596l-1.16533.12536v1.43424h-.51991v.96784h.51991v2.02601c0 .98605.49302 1.45246 1.246 1.45246zM200.72464 56.1714c-.51963 0-.9948.25072-1.32647.71713h-.00896v-.6457h-1.17429v4.37487h1.17429V58.5826c0-.6457.39442-1.13871 1.12043-1.13871.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05322-.0084-.08964-.0084zM203.979 56.24283v2.12476c0 .84248-.4573 1.27247-.96853 1.27247-.54695 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49302 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17443v-4.37487h-1.17442zM207.26839 60.68914c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.43069-.16108-.6632-.28713-.6632-.46641 0-.2332.24162-.33125.43-.33125.32285 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21014-.51123l-.57356.81587c.48392.41249 1.07568.63659 1.7746.63659zM210.78257 60.68914c.59176 0 .8782-.11696 1.16532-.26893l-.30464-.94122c-.19748.09875-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86494h1.19194v-.96784h-1.19194v-1.5596l-1.16532.12536v1.43424h-.52034v.96784h.52034v2.02601c0 .98605.49302 1.45246 1.24586 1.45246z" fill="#1d58bf"/>
99
- <path d="M214.8346 56.1714c-.53785 0-.99516.1968-1.3271.57356h-.01751v-.50213h-1.17443v6.14947h1.17443v-2.26762h.0175c.30464.35786.73533.56446 1.29068.56446 1.21925 0 2.09745-.8964 2.09745-2.25012 0-1.3264-.8873-2.26762-2.06103-2.26762zm-.25142 3.46866c-.63659 0-1.13871-.47481-1.13871-1.19193 0-.69892.4664-1.22836 1.1387-1.22836.62749 0 1.12051.47552 1.12051 1.22836 0 .70802-.4573 1.19193-1.1205 1.19193zM220.24873 56.24283v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.6353c0 1.3362.6632 1.811 1.60442 1.811.49303 0 .96854-.20659 1.29979-.60997h.0182v.53854h1.17444v-4.37487h-1.17443zM222.176 54.02003h1.17428v6.59753H222.176zM225.55502 60.68914c1.14781 0 1.70316-.58267 1.70316-1.36282 0-.85998-.55535-1.06658-1.50568-1.41603-.42999-.16108-.6632-.28713-.6632-.46641 0-.2332.24161-.33125.43-.33125.32284 0 .70802.14356 1.04907.4657l.56446-.86068c-.49303-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84247.62748 1.18282 1.3446 1.42513.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47481 0-.85158-.17017-1.21015-.51123l-.57355.81587c.48391.41249 1.07568.63659 1.7746.63659zM231.7493 58.3851c0-1.28158-.86068-2.2137-2.14226-2.2137-1.24586 0-2.16958.92302-2.16958 2.24942 0 1.37191.96854 2.26832 2.25011 2.26832.8782 0 1.51479-.34946 1.89156-.82498l-.76195-.70801c-.2423.29553-.58266.50212-1.04907.49302-.56445 0-.97694-.32285-1.1205-.84248h3.07508c.02661-.07213.02661-.27803.02661-.4216zm-2.10655-1.18283c.51123 0 .82498.30463.94123.76194h-1.92727c.13446-.50213.51123-.76194.98604-.76194z" fill="#00aded"/>
100
- </g>
101
- <g serif:id="mark">
102
- <path d="M190.76518 54.7635c-.38986-.10526-.77052-.24529-1.1363-.4248-.31035-.15228-.6097-.32576-.90303-.50839a4.28059 4.28059 0 0 1-.01708.01058c-.77208.4791-1.59296.8661-2.50488 1.03731-.32904.06177-.66185.10054-.99532.12898l-.01063.0009c-.08214 1.83573.04032 3.72786 1.01521 5.302.59423.95947 1.51362 1.67795 2.48731 2.27517l.0254.01547c.39845-.2435.7898-.50318 1.15398-.79322h.82667c-.58592.55146-1.2694 1.0136-1.96423 1.42616-.03256-.02228-.03286 0-.03286 0-.87643-.52039-1.7297-1.09562-2.39376-1.85939-.45109-.51878-.80827-1.11492-1.06569-1.76016-.64686-1.62151-.68784-3.42666-.57505-5.12153.71687-.04271 1.44492-.11159 2.13114-.33286.6768-.21823 1.30011-.58061 1.90217-.97149l.01762-.01147c.01171.00765.02342.01524.03519.02288.75935.4919 1.56971.92602 2.4621 1.11205a6.70181 6.70181 0 0 0 .15359.03011l-.61155.4217zm-.18137 6.3196H189.449c-.18968-.00806-.20246-.10413-.20646-.19786-.00472-.11147.06756-.20944.20646-.21536h.97722l.3089-1.12615s.05963-.13943.17947-.15096c.09582-.00926.1782.03119.21793.14708l.46674 1.57933.28591-.89854s.09248-.1638.23932-.13955c.08005.0205.08328.0242.1297.088l.33232.5008h.79573c.00096.00011.14768.01995.1917.12957.05096.12676-.02968.27677-.1917.28364h-.9066c-.09857-.00406-.12671-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03333-.21356-.1475l-.45205-1.52962-.15873.5787s-.0721.14635-.19923.15191zm2.22392-6.0194c.04014.97769.0101 1.95688-.15741 2.9234-.07635.44076-.24279 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17471.553-2.4526.53371-3.7033l.53676-.52237z" fill="#00aded" fill-rule="nonzero"/>
103
- <path d="M188.51862 57.5792c.03129-.03568.0394-.0591.08606-.12695.26903-.39144 1.0659-1.44673 2.07848-2.25844.44062-.35324.91685-.67436 1.33812-.88486.70208-.35081.92816-.39358 1.25422-.46954.06193-.01442.2862-.05445.3234.03392.0359.0853-.10399.17519-.15647.21643-.05901.04637-1.40842 1.05545-2.54368 2.55402-.98784 1.30389-1.63428 3.0147-1.63428 3.0147-.01986.03799-.24452.43946-.54593.45902-.27857.0181-.63633-.34424-.63633-.34424-.06877-.06417-.40417-.4622-.68325-.95451-.35593-.6277-.66242-1.37176-.66242-1.37176s-.31816-.62588.28165-.9701c.59141-.33942.85484.00518.9832.20862.10969.17388.33069.59624.4375.80283.0372.07196.06126.11186.07973.09085z" fill="#1d58bf" fill-rule="nonzero"/>
104
- </g>
105
- <circle cx="88.506" cy="368.331" r="25.699" fill="#d1ceff" transform="translate(-33.01933 -419.33226) scale(1.24681)"/>
106
- <g>
107
- <path d="M72.70322 31.51997c-1.28829-2.16884-1.71512-4.9399-.9589-7.68535 1.39848-5.07718 6.31646-8.1573 10.97559-6.87397 4.65912 1.28332 7.30633 6.44723 5.90785 11.5244-.75622 2.74546-2.54174 4.90713-4.75886 6.11044 1.49218-1.30606 2.69146-3.18496 3.3083-5.42441 1.39844-5.07701-.7234-10.0962-4.73527-11.20125-4.01187-1.10504-8.4043 2.11984-9.80272 7.19685-.61685 2.23945-.54878 4.46744.064 6.3533z" fill="#4a41df"/>
108
- <path d="M67.54961 23.68095l-2.53994-.31091-6.84307 32.05362 1.20437 2.33145 8.17864-34.07416z" fill="#342ada" fill-rule="nonzero"/>
109
- <path d="M66.75708 23.13525l-7.36405 34.43968 26.80336 5.51828 7.2562-33.5586-26.69551-6.39936z" fill="#6c63ff" fill-rule="nonzero"/>
110
- <path d="M67.8951 48.228l2.56138-1.89506c.5772.91782 1.27595 1.6768 2.09644 2.27698.82034.59993 1.65499 1.00499 2.50418 1.21502.83984.20772 1.56524.18375 2.17584-.07219.6108-.25589.99733-.71233 1.15991-1.36968.0926-.37435.10477-.71773.03673-1.03012-.06808-.31219-.23693-.6181-.50702-.91741-.2699-.29928-.58302-.5801-.9395-.8427-.35647-.26261-.83858-.57552-1.44626-.9389-.48891-.29537-.89627-.54865-1.22181-.76-.32555-.21135-.69053-.46883-1.09499-.77224-.40466-.30346-.73194-.5855-.98247-.8461-.25034-.26054-.49876-.56896-.74481-.92538-.24606-.35641-.42252-.71008-.52958-1.06105-.10687-.35093-.16607-.74835-.17745-1.19202-.01143-.44348.04273-.90731.1624-1.39112.35454-1.4335 1.11367-2.51478 2.27749-3.24423 1.16381-.72945 2.58532-.96402 4.26491-.70362l.8739-3.5333 2.53355.62663-.90776 3.67022c.82439.38805 1.61423.87648 2.36953 1.4653.7555.58885 1.3814 1.21117 1.87813 1.86686l-2.49301 1.91197c-.6086-.7123-1.27213-1.30031-1.99062-1.76386-.7185-.46355-1.41559-.77878-2.09124-.9459-.82173-.20323-1.51227-.19235-2.0716.03266-.5595.22477-.91604.6477-1.06962 1.26863-.149.60242-.00324 1.1496.43693 1.64124.4404.4915 1.20655 1.07576 2.29862 1.75282.42956.26126.79095.48395 1.0846.66798.29365.18403.61867.39752.975.64067.35652.24319.64851.46319.87597.65999.2275.1966.46861.42593.72363.68762.255.2617.4553.50986.6007.74424.14536.23457.28301.50113.41257.7996.12951.29865.21188.60238.24687.91135.03498.30896.04162.6448.0197 1.0075-.02195.36287-.08255.74492-.18193 1.14673-.36582 1.47908-1.13688 2.57932-2.31317 3.30072-1.17634.7216-2.61107.97956-4.304.77393l-.82982 3.3551-2.53356-.62663.83324-3.36892c-2.09856-.83857-3.75578-2.24653-4.972-4.22333z" fill="#fff" fill-rule="nonzero"/>
111
- </g>
112
- </g>
113
- <defs>
114
- <linearGradient id="_Linear1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
115
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
116
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
117
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
118
- </linearGradient>
119
- <linearGradient id="_Linear2" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
120
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
121
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
122
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
123
- </linearGradient>
124
- <linearGradient id="_Linear3" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
125
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
126
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
127
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
128
- </linearGradient>
129
- <linearGradient id="_Linear5" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
130
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
131
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
132
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
133
- </linearGradient>
134
- </defs>
135
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/features-fire.svg DELETED
@@ -1,60 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg viewBox="0 0 584 448" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linejoin="round" stroke-miterlimit="1.41421">
3
- <path d="M189.59818 18.37229s-66.37622-41.54605-106.72752 25.0658c-20.57684 33.96683 6.88083 88.82258 1.63307 87.80267-34.08952-6.27889-55.73244-1.19743-65.90882 14.34997 25.19084 7.2841 35.34685 21.19308 21.27964 52.57056-12.03466 26.84669-33.5644 51.6592-32.22785 80.84196 2.41847 61.18891 37.27982 95.34118 91.51387 110.31304-26.95745-23.4387-37.92038-68.15075-30.5167-89.71924 11.67478-34.0098 39.29428-49.14561 57.27836-74.00675 8.87378-12.26831 9.03675-26.31638 2.33586-48.2614 49.5793 40.46282 46.49765 79.46814 17.82225 116.48678 19.27877 10.77916 37.61482 3.65675 54.82594-24.84757 16.92366 50.56354-4.30731 87.20452-33.88242 119.22877 64.3097-18.3154 98.7444-61.7113 99.07373-132.00817-2.32907-55.40867-30.75436-104.52828-91.25131-160.70584-34.04765-31.6172-21.50372-75.01762 14.7519-77.11058z" fill="#ed4500"/>
4
- <path d="M583.79669 80.02688v292.83723c-.00695 7.44431-6.13186 13.56391-13.56379 13.56043H98.05177c-7.4368 0-13.55684-6.12795-13.55684-13.57436V80.02688c0-7.45058 6.12283-13.58132 13.5638-13.58132H570.2329c7.43888 0 13.56379 6.13074 13.56379 13.58132z" fill="#fff" fill-rule="nonzero"/>
5
- <path d="M561.1278 107.46498c0-2.94215-2.38806-5.33112-5.33142-5.33112H113.58244c-2.94337 0-5.33142 2.38897-5.33142 5.33112v45.02798c0 2.94215 2.38805 5.33069 5.33142 5.33069h442.21394c2.94336 0 5.33142-2.38854 5.33142-5.33069v-45.02798z" fill="#d2def2"/>
6
- <path d="M304.51417 141.38434c-1.39732 1.9698-3.31104 3.19358-5.70392 3.19358-3.57855 0-5.5883-1.95022-4.89943-7.60996l1.43553-11.91277h5.85678l-1.24445 10.15347c-.38216 3.09763-.13327 4.11092 1.24445 4.11092 1.66483 0 3.96168-2.81078 4.30562-5.5452l1.072-8.71919h5.87637l-2.35466 19.15951h-5.8754l.34394-2.83036h-.05683zm17.02356-16.32915h3.96266l-.57422 4.761h-3.98127l-.93775 7.85863c-.13425 1.09063.23027 1.587.86132 1.587.5164 0 1.16802-.20951 1.93331-.59231l.95637 4.5319c-1.68442.93693-3.36885 1.37651-5.16792 1.37651-2.96612 0-5.10913-1.70154-4.57313-6.1189l1.0328-8.64283h-1.91372l.57422-4.761h1.93331l.70846-5.58337 6.02826-1.1856-.8427 6.76897zm-74.75845 19.52273c3.65595 0 6.31634-1.47245 8.3065-4.22645l-4.57412-2.86756c-1.12883 1.3579-2.1822 1.85427-3.32965 1.85427-1.11021 0-2.58396-.66867-2.58396-3.3463 0-3.19358 1.79907-6.04254 4.287-6.06115.95637 0 2.04796.24868 2.79366 1.4147l4.49767-3.34631c-1.39633-2.1421-3.88426-3.30812-6.9464-3.30812-6.54565 0-10.56514 5.41106-10.56514 11.54955 0 5.41107 3.11996 8.33737 8.11542 8.33737h-.00098zm37.66682-19.86734c-6.77493 0-10.58375 5.46883-10.58375 11.62591 0 5.23876 3.2346 8.24143 8.09582 8.24143 7.34914 0 10.66018-5.45023 10.66018-11.68368 0-5.23876-3.2346-8.18366-8.17225-8.18366zm-84.79837 15.06816l-4.42124-4.09232c-1.43554 1.7593-3.50212 2.88714-5.79897 2.88714-3.13857 0-5.0905-2.10294-5.0905-6.1189 0-5.00967 3.04254-10.40214 7.65486-10.40214 2.39289 0 3.9999 1.43427 5.14833 3.5568l5.01407-3.7477c-2.66039-4.3596-6.18112-5.83206-9.8939-5.83206-8.45936 0-14.52682 7.59136-14.52682 16.5974 0 8.06913 4.88081 11.95096 11.2922 11.95096 4.43987 0 8.07623-1.85525 10.62197-4.79918zm62.24237 4.43596h-5.8754l3.54033-28.8352h5.8754l-2.1244 17.41978h.09603c3.10036-2.12253 4.49768-4.64645 5.24435-7.74507h6.08608c-.74668 3.92002-2.6986 7.13318-5.3786 9.6757l.51738 1.64476c.87994 2.754 1.8755 3.21218 3.57855 3.3659l-1.32089 4.77959c-.42135.03818-.8035.05776-1.72264.05776-3.00433-.01958-4.42027-2.27525-5.45405-5.52561l-.26848-.88015h-.03822c-.70748.4014-1.43455.76462-2.18123 1.10924l-.57421 4.9333zm-32.07853-4.49372c-.99459 0-2.06658-.53553-2.58396-1.7779l.24889-.34462c5.6461-.86057 10.88947-3.07806 10.88947-7.45723 0-3.72813-3.32965-5.44926-6.50644-5.44926-6.60247 0-10.54553 5.50604-10.54553 11.70228 0 5.1624 3.02392 8.1641 8.038 8.1641 3.75199 0 6.31635-1.4147 8.3261-4.2059l-4.36344-2.56309c-1.0916 1.41567-2.23904 1.93162-3.5031 1.93162zm-22.80391 4.49372h-5.85678l3.5413-28.8352h5.85679l-1.53157 12.4101h.13327c1.68442-2.00797 3.80882-3.07902 6.35456-3.07902 3.63636 0 5.12872 2.42896 4.42125 7.78226l-1.55018 11.72186h-5.85678l1.39732-10.38255c.34394-2.63945.13326-3.86323-1.14843-3.86323-1.74224 0-4.21057 2.3712-4.88081 7.03723l-.87994 7.20855zm76.96025-14.26536c1.0524 0 2.71723.44056 2.71723 3.3277 0 3.13582-1.68443 6.06114-4.287 6.06114-1.2817 0-2.60258-.91734-2.60258-3.32672 0-2.94491 1.55018-6.06212 4.17235-6.06212zm-52.54835-.34364c.84172 0 1.32089.45916 1.32089 1.08965 0 1.7407-2.4311 2.65805-5.24435 3.17498l-.2489-.1723c.70846-2.6003 2.4311-4.09233 4.17236-4.09233z" fill="#fff" fill-rule="nonzero"/>
7
- <path d="M402.2168 176.1176c0-1.10118-.89386-1.9952-1.99462-1.9952H110.24521c-1.10076 0-1.99462.89402-1.99462 1.9952v15.59036c0 1.10118.89386 1.99503 1.99462 1.99503h289.97697c1.10076 0 1.99462-.89385 1.99462-1.99503v-15.59037zM561.12665 176.1176c0-1.10118-.89418-1.9952-1.99526-1.9952H445.53555c-1.10108 0-1.99526.89402-1.99526 1.9952v15.59036c0 1.10118.89418 1.99503 1.99526 1.99503h113.59584c1.10108 0 1.99526-.89385 1.99526-1.99503v-15.59037zM402.2168 205.48833c0-1.10117-.89386-1.99518-1.99462-1.99518H110.24521c-1.10076 0-1.99462.894-1.99462 1.99518v15.59037c0 1.10117.89386 1.99503 1.99462 1.99503h289.97697c1.10076 0 1.99462-.89386 1.99462-1.99503v-15.59037zM561.12665 205.48833c0-1.10117-.89418-1.99518-1.99526-1.99518H445.53555c-1.10108 0-1.99526.894-1.99526 1.99518v15.59037c0 1.10117.89418 1.99503 1.99526 1.99503h113.59584c1.10108 0 1.99526-.89386 1.99526-1.99503v-15.59037zM402.2168 234.85907c0-1.10118-.89386-1.99519-1.99462-1.99519H110.24521c-1.10076 0-1.99462.89401-1.99462 1.99519v15.59036c0 1.10118.89386 1.99504 1.99462 1.99504h289.97697c1.10076 0 1.99462-.89386 1.99462-1.99504v-15.59036zM561.12665 234.85907c0-1.10118-.89418-1.99519-1.99526-1.99519H445.53555c-1.10108 0-1.99526.89401-1.99526 1.99519v15.59036c0 1.10118.89418 1.99504 1.99526 1.99504h113.59584c1.10108 0 1.99526-.89386 1.99526-1.99504v-15.59036zM561.12665 283.811c0-1.10118-.89418-1.9952-1.99526-1.9952H445.53555c-1.10108 0-1.99526.89402-1.99526 1.9952v15.59036c0 1.10117.89418 1.99503 1.99526 1.99503h113.59584c1.10108 0 1.99526-.89386 1.99526-1.99503v-15.59037zM400.21898 283.811c0-1.10118-.89385-1.9952-1.99514-1.9952h-93.99827c-1.1013 0-1.99515.89402-1.99515 1.9952v15.59036c0 1.10117.89386 1.99503 1.99515 1.99503h93.99827c1.10129 0 1.99514-.89386 1.99514-1.99503v-15.59037z" fill="#d2def2"/>
8
- <path d="M561.12587 335.46628c0-1.68715-1.36918-3.0569-3.057-3.0569H111.4404c-1.68782 0-3.057 1.36975-3.057 3.0569v23.88655c0 1.68715 1.36918 3.05666 3.057 3.05666h446.62846c1.68783 0 3.057-1.36951 3.057-3.05666v-23.88655z" fill="#b1f6dc"/>
9
- <g transform="matrix(.34795 0 0 .32413 77.16395 71.70824)">
10
- <circle cx="186.632" cy="234.546" r="10.39" fill="#fff"/>
11
- <circle cx="186.632" cy="234.546" r="10.39" fill="#fff" transform="translate(42)"/>
12
- <path d="M151.22262 144.6002c2.00801-.17762 3.95468 1.0272 4.63305 3.01951l20.8177 61.13133h63.95896c2.4731 0 4.4804 2.0073 4.4804 4.47968v.05279c0 2.47239-2.0073 4.47969-4.4804 4.47969h-67.16321c-1.99803 0-3.69218-1.31038-4.26926-3.11867-.0856-.17333-.1605-.3538-.2247-.54212l-20.59942-60.49005h-15.39572c-2.47239 0-4.47969-2.0073-4.47969-4.47969v-.05278c0-2.47239 2.0073-4.47969 4.4797-4.47969h18.2426z" fill="#fff"/>
13
- <path d="M200.7482 118.73991c-.83199-1.95645-3.01793-2.90164-4.87745-2.11087l-28.63923 12.17895c-1.85951.79076-2.69402 3.02042-1.86204 4.97687l18.02561 42.38784c.83199 1.95644 3.01682 2.90211 4.87634 2.11135l28.63922-12.17896c1.85952-.79076 2.69515-3.0209 1.86316-4.97734l-18.0256-42.38784z" fill="#fff"/>
14
- <path d="M245.72468 136.85363c-.1633-1.8178-1.67331-3.17057-3.36862-3.01828l-26.1101 2.34559c-1.69531.1523-2.93902 1.75245-2.77572 3.57024l3.04851 33.935c.1633 1.8178 1.6723 3.17066 3.3676 3.01837l26.11011-2.34559c1.6953-.1523 2.94003-1.75254 2.77673-3.57034l-3.04851-33.935z" fill="#fff"/>
15
- <path d="M230.54506 149.70948c.7378-1.81209-.06063-3.85311-1.78099-4.55355l-26.49594-10.7878c-1.72036-.70044-3.71635.20284-4.45414 2.01493l-15.96242 39.20534c-.73779 1.8121.0596 3.8527 1.77996 4.55313l26.49594 10.7878c1.72036.70044 3.71738-.20242 4.45517-2.0145l15.96242-39.20535z" fill="#eaf0f9"/>
16
- <path d="M251.34 170.774c.195-2.488-.547-4.956-2.058-6.854-1.512-1.897-3.668-3.067-5.988-3.247-14.863-1.153-45.056-3.497-62.463-4.848-2.894-.225-5.697 1.139-7.447 3.624-1.75 2.484-2.209 5.751-1.219 8.679 3.002 8.88 6.807 20.136 9.121 26.977 1.248 3.694 4.518 6.154 8.179 6.154h51.673c4.421 0 8.104-3.636 8.474-8.365.505-6.462 1.204-15.406 1.728-22.12z" fill="#fff"/>
17
- </g>
18
- <path d="M581.2833 66.06111H87.03028c-1.39079 0-2.53493 1.20616-2.53493 2.67232v11.3004h499.30178V68.75567v-.02223c0-1.45783-1.13308-2.6601-2.51385-2.67232z" fill="#3f3d56" fill-rule="nonzero"/>
19
- <circle cx="96.72" cy="164.18" r="6.5" fill="#fff" transform="matrix(.55606 0 0 .55558 41.2557 -18.16968)"/>
20
- <circle cx="114.22" cy="164.18" r="6.5" fill="#fff" transform="matrix(.55606 0 0 .55558 41.2557 -18.16968)"/>
21
- <circle cx="131.72" cy="164.18" r="6.5" fill="#fff" transform="matrix(.55606 0 0 .55558 41.2557 -18.16968)"/>
22
- <g>
23
- <path d="M590.46 285.225c0-29.872-24.182-54.125-53.968-54.125H208.978c-29.786 0-53.968 24.253-53.968 54.125s24.182 54.125 53.968 54.125h327.514c29.786 0 53.968-24.253 53.968-54.125z" fill="url(#_Linear1)" transform="matrix(.98606 0 0 .9832 -134.55633 114.13986)"/>
24
- <path d="M445.60511 394.58452c0-28.05184-22.77435-50.82682-50.82627-50.82682H71.50959c-28.05192 0-50.82627 22.77498-50.82627 50.82682s22.77435 50.82681 50.82627 50.82681h323.26925c28.05192 0 50.82627-22.77497 50.82627-50.82681z" fill="#fff"/>
25
- <path d="M208.17876 365.25134c0-1.12039-.9089-2.03063-2.03003-2.03063H134.623c-1.12114 0-2.03004.91024-2.03004 2.03063v15.81336c0 1.12039.9089 2.02949 2.03004 2.02949h71.52572c1.12114 0 2.03003-.9091 2.03003-2.0295v-15.81335z" fill="#ed4500" fill-opacity=".1"/>
26
- <g font-family="'Averta-Semibold','Averta'" font-weight="600" font-size="13.333">
27
- <text x="117.581" y="14.323" fill="#ed4500" transform="matrix(1.32609 0 0 1.32492 -22.46957 358.57658)">
28
- 4<tspan x="124.623px 130.545px 133.446px 141.054px 147.874px 155.209px 162.817px 165.776px" y="14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px">7 people</tspan>
29
- </text>
30
- <text x="175.498" y="14.323" fill="#3f3d56" transform="matrix(1.32609 0 0 1.32492 -22.46957 358.57658)">
31
- <tspan x="175.498px 183.106px 190.141px 194.435px 200.865px 208.174px 215.658px 220.974px 227.795px 235.396px 238.297px 243.614px 250.922px 258.257px 265.077px 270.394px 273.295px 276.254px 283.498px 286.399px 290.595px 297.904px" y="14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px 14.323px">purchased shoes in the</tspan>
32
- </text>
33
- <text x="117.581" y="31.656" fill="#3f3d56" transform="matrix(1.32609 0 0 1.32492 -22.46957 358.57658)">
34
- l<tspan x="120.541px 128.025px 133.342px 137.538px 140.439px 146.869px 153.911px 156.812px 164.12px 171.455px 178.49px 182.784px" y="31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px 31.656px">ast 24 hours</tspan>
35
- </text>
36
- </g>
37
- <g fill-rule="nonzero">
38
- <path d="M217.29198 421.7667c.78455 0 1.16493-.15494 1.54532-.3563l-.40416-1.24704c-.26152.13083-.5468.20228-.737.20228-.35661 0-.51114-.23846-.51114-.73672v-2.4709h1.58098v-1.2823H217.185v-2.06635l-1.54532.16609v1.90026h-.68946v1.2823h.68946v2.6843c0 1.30643.65378 1.92439 1.6523 1.92439zM222.65277 415.78107c-.68908 0-1.31918.33218-1.759.95013h-.0119v-.85548h-1.5572v5.79635h1.5572v-2.69637c0-.85549.52304-1.5087 1.4858-1.5087.08358 0 .24981 0 .40397.01206v-1.68685c-.02321-.01114-.07058-.01114-.11887-.01114zM226.96834 415.87572v2.81513c0 1.11621-.60643 1.68592-1.28436 1.68592-.7253 0-1.0457-.3563-1.0457-1.4252v-3.07585h-1.54531v3.49154c0 1.77036.87945 2.39945 2.1276 2.39945.65379 0 1.28436-.27372 1.72362-.80817h.02415v.71353h1.5574v-5.79635h-1.5574zM231.33034 421.7667c1.5221 0 2.25854-.77197 2.25854-1.80561 0-1.13941-.73644-1.41313-1.99665-1.87614-.57114-.2134-.87946-.38042-.87946-.61795 0-.30898.3204-.43888.5702-.43888.42813 0 .9389.19021 1.39117.61703l.74851-1.14034c-.65379-.51033-1.30758-.72374-2.11553-.72374-1.1887 0-2.0923.68848-2.0923 1.73418 0 1.11621.83209 1.56716 1.78305 1.8882.76059.23753 1.05777.36836 1.05777.64115 0 .28485-.26096.47506-.71323.47506-.62964 0-1.12927-.22547-1.60475-.67734l-.76059 1.08096c.64172.54651 1.42645.84343 2.35327.84343zM235.99045 421.7667c.78473 0 1.16456-.15494 1.54532-.3563l-.40398-1.24704c-.26189.13083-.54699.20228-.73737.20228-.35661 0-.51077-.23846-.51077-.73672v-2.4709h1.5806v-1.2823h-1.5806v-2.06635l-1.54532.16609v1.90026h-.69001v1.2823h.69v2.6843c0 1.30643.6538 1.92439 1.65213 1.92439z" fill="#1d58bf"/>
39
- <path d="M241.36378 415.78107c-.71323 0-1.31965.26073-1.75985.75992h-.02321v-.66527h-1.5574v8.14755h1.5574v-3.00442h.02321c.40398.47414.97511.74786 1.71156.74786 1.61682 0 2.78139-1.18766 2.78139-2.98122 0-1.75737-1.17664-3.00442-2.7331-3.00442zm-.3334 4.5957c-.84417 0-1.51003-.62909-1.51003-1.57922 0-.926.6185-1.62747 1.51003-1.62747.8321 0 1.48589.63002 1.48589 1.62747 0 .93807-.60643 1.57922-1.48589 1.57922zM248.54339 415.87572v2.81513c0 1.11621-.60643 1.68592-1.28437 1.68592-.7253 0-1.04569-.3563-1.04569-1.4252v-3.07585h-1.54532v3.49154c0 1.77036.87946 2.39945 2.1276 2.39945.6538 0 1.28437-.27372 1.72363-.80817h.02415v.71353h1.55739v-5.79635h-1.5574zM251.0991 412.93068h1.55722v8.7412h-1.55721zM255.57998 421.7667c1.5221 0 2.25854-.77197 2.25854-1.80561 0-1.13941-.73644-1.41313-1.99665-1.87614-.57021-.2134-.87946-.38042-.87946-.61795 0-.30898.3204-.43888.5702-.43888.42813 0 .9389.19021 1.39117.61703l.74851-1.14034c-.65379-.51033-1.30758-.72374-2.11553-.72374-1.1887 0-2.0923.68848-2.0923 1.73418 0 1.11621.83209 1.56716 1.78305 1.8882.76059.23753 1.05777.36836 1.05777.64115 0 .28485-.26096.47506-.71323.47506-.62964 0-1.12927-.22547-1.60475-.67734l-.7606 1.08096c.64173.54651 1.42646.84343 2.35328.84343zM263.79414 418.71404c0-1.69798-1.14135-2.93297-2.84083-2.93297-1.65212 0-2.87704 1.22293-2.87704 2.9803 0 1.81768 1.28436 3.00534 2.98384 3.00534 1.16456 0 2.00873-.463 2.50836-1.09302l-1.0104-.93807c-.32133.39156-.77266.66528-1.39116.65321-.74852 0-1.29551-.42774-1.48589-1.11621h4.07783c.03529-.09557.03529-.36836.03529-.55858zm-2.79347-1.56715c.67794 0 1.09399.40362 1.24815 1.0095h-2.55573c.17831-.66527.67794-1.0095 1.30758-1.0095z" fill="#00aded"/>
40
- </g>
41
- <path d="M209.44567 413.91572c-.51699-.13946-1.02178-.325-1.50684-.56284-.41154-.20175-.80851-.4316-1.19748-.67356a5.67728 5.67728 0 0 1-.02266.014c-1.02383.63479-2.11239 1.14752-3.32168 1.37437-.43634.08184-.87767.1332-1.31988.17088l-.0141.00119c-.10892 2.4322.05348 4.93912 1.34626 7.02472.788 1.27123 2.00719 2.22316 3.29839 3.01443l.03367.0205c.5284-.32262 1.04736-.66669 1.53028-1.05096h1.09625c-.777.73064-1.68334 1.34294-2.60475 1.88955-.04317-.02952-.04357 0-.04357 0-1.16223-.68948-2.29372-1.45161-3.17433-2.46354-.59819-.68734-1.07184-1.47718-1.4132-2.33208-.85779-2.14837-.91213-4.54004-.76257-6.7856.95064-.0566 1.91609-.14786 2.82609-.44103.89748-.28913 1.72405-.76926 2.52243-1.28714l.02337-.0152c.01553.01014.03105.02019.04666.03032 1.00696.65172 2.08157 1.2269 3.26496 1.47338a8.89413 8.89413 0 0 0 .20367.03989l-.81097.55872zm-.24051 8.37296h-1.50486c-.25152-.01069-.26847-.13796-.27378-.26215-.00626-.14769.0896-.2775.27378-.28533h1.29588l.40964-1.49206s.07906-.18473.23798-.20001c.12707-.01227.2363.04132.289.19487l.61893 2.09249.37915-1.1905s.12263-.21703.31735-.1849c.10616.02715.11043.03206.17199.1166l.4407.6635h1.0552c.00127.00017.19583.02644.25422.17168.06757.16796-.03937.3667-.25422.3758h-1.20223c-.13072-.00537-.16803-.03933-.22824-.12236l-.20597-.31003-.4765 1.4965s-.08398.17824-.24067.18995c-.12525.00934-.2314-.04416-.28321-.19542l-.59946-2.02664-.21048.76673s-.09562.19392-.2642.20128zm2.9491-7.97523c.05324 1.29537.0134 2.59271-.20874 3.87328-.10124.58397-.32194 1.3898-.51524 1.95129l-.69555-.2259c.5905-1.5564.73334-3.2495.70775-4.90659l.71179-.69208z" fill="#00aded" fill-rule="nonzero"/>
42
- <path d="M206.46654 417.64628c.0415-.04726.05226-.07829.11412-.16818.35676-.51863 1.41349-1.91681 2.75625-2.99226.5843-.46801 1.21582-.89348 1.77446-1.17236.93102-.4648 1.23082-.52146 1.6632-.62212.08212-.0191.37952-.07213.42887.04495.0476.11302-.1379.23211-.20751.28676-.07825.06143-1.86768 1.39838-3.37313 3.38386-1.30996 1.72755-2.1672 3.99424-2.1672 3.99424-.02634.05034-.32425.58226-.72395.60816-.3694.024-.84382-.45608-.84382-.45608-.0912-.08502-.53596-.61239-.90605-1.26466-.472-.83164-.87842-1.81746-.87842-1.81746s-.42192-.82925.37349-1.2853c.78425-.44972 1.13359.00686 1.3038.2764.14545.23037.43852.78997.58015 1.06368.04935.09534.08125.14821.10574.12037z" fill="#1d58bf" fill-rule="nonzero"/>
43
- <text x="35.99" y="29.951" font-family="'Averta-Semibold','Averta'" font-weight="600" font-size="9.333" fill="#a9b6d4" transform="matrix(1.32609 0 0 1.32492 85.82303 382.12314)">
44
- P<tspan x="41.398px 46.532px 53.261px 58.035px 61.041px 65.816px 71.137px 73.167px 78.493px" y="29.951px 29.951px 29.951px 29.951px 29.951px 29.951px 29.951px 29.951px 29.951px">owered by</tspan>
45
- </text>
46
- <g transform="matrix(1.65338 0 0 1.65193 -72.73905 -214.22319)">
47
- <circle cx="88.506" cy="368.331" r="25.699" fill="#fbdacc"/>
48
- </g>
49
- <g>
50
- <path d="M82.59618 363.67917s-11.32535-7.08874-18.21024 4.27682c-3.5109 5.79554 1.17403 15.15523.27864 14.9812-5.81647-1.07132-9.50927-.2043-11.2456 2.44845 4.29815 1.24284 6.031 3.61604 3.63081 8.96978-2.0534 4.58068-5.72688 8.81428-5.49883 13.79354.41265 10.44028 6.36082 16.26746 15.61442 18.82201-4.59957-3.9992-6.4701-11.62813-5.20686-15.30822 1.99199-5.80287 6.70453-8.3854 9.77304-12.6273 1.51407-2.09326 1.54188-4.4902.39855-8.23453 8.4594 6.90391 7.9336 13.55914 3.0409 19.8754 3.2894 1.83917 6.41797.62392 9.3546-4.23959 2.88757 8.62733-.73493 14.87915-5.78115 20.34324 10.97276-3.12504 16.84813-10.5294 16.90432-22.5237-.3974-9.45403-5.24742-17.835-15.56963-27.42021-5.80933-5.39464-3.66904-12.79978 2.51703-13.15689z" fill="#ed4500"/>
51
- </g>
52
- </g>
53
- <defs>
54
- <linearGradient id="_Linear1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
55
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
56
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
57
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
58
- </linearGradient>
59
- </defs>
60
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/gravity-forms.png DELETED
Binary file
assets/images/home-flexible.svg DELETED
@@ -1,66 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg viewBox="0 0 561 420" xmlns="http://www.w3.org/2000/svg" fill-rule="evenodd" clip-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="1.5">
3
- <path d="M541.04438 349.44386c0 3.9122-3.17788 7.0878-7.0878 7.0878H10.49218c-3.91163 0-7.0878-3.1756-7.0878-7.0878V10.53238c0-3.91163 3.1756-7.0878 7.0878-7.0878h523.4644c3.90992 0 7.0878 3.17617 7.0878 7.0878v338.91148z" fill="#f5f5f7"/>
4
- <path d="M538.31483-.00001H6.11126c-1.49757 0-2.72957 1.232-2.72957 2.72957v11.5425h537.64V2.72956c0-1.48906-1.22007-2.71709-2.70686-2.72957z" fill="#3f3d56" fill-rule="nonzero"/>
5
- <circle cx="96.72" cy="164.18" r="6.5" fill="#fff" transform="translate(-40.74542 -86.03535) scale(.56748)"/>
6
- <circle cx="114.22" cy="164.18" r="6.5" fill="#fff" transform="translate(-40.74542 -86.03535) scale(.56748)"/>
7
- <circle cx="131.72" cy="164.18" r="6.5" fill="#fff" transform="translate(-40.74542 -86.03535) scale(.56748)"/>
8
- <path fill="#dcdbdc" d="M28.37284 38.86226h488.82123V161.9703H28.37284z"/>
9
- <path fill="#fff" d="M32.93322 42.81193h479.8486v114.89474H32.93323z"/>
10
- <path d="M478.03484 71.437c0-3.40211-2.76264-6.16449-6.16477-6.16449h-286.4028c-3.40296 0-6.16477 2.76238-6.16477 6.1645v12.32963c0 3.40276 2.76181 6.16513 6.16476 6.16513h286.4028c3.40214 0 6.16478-2.76237 6.16478-6.16513V71.437z" fill="#16bd83"/>
11
- <path d="M478.03484 99.54337c0-2.26808-1.84204-4.10966-4.10985-4.10966H183.41234c-2.26863 0-4.10984 1.84158-4.10984 4.10966v8.21975c0 2.2685 1.8412 4.11008 4.10984 4.11008H473.925c2.26781 0 4.10985-1.84158 4.10985-4.11008v-8.21975z" fill="#6c63ff"/>
12
- <path d="M269.96526 122.04447c0-2.26808-1.84177-4.10966-4.10987-4.10966h-82.44321c-2.26835 0-4.10987 1.84158-4.10987 4.10966v8.21974c0 2.2685 1.84152 4.1101 4.10987 4.1101h82.4432c2.2681 0 4.10988-1.8416 4.10988-4.1101v-8.21974z" fill="#9795b1"/>
13
- <g fill-rule="nonzero">
14
- <path d="M294.29306 130.98143c.88596 0 1.31552-.17513 1.74507-.4027l-.4564-1.40949c-.29532.14787-.61749.22862-.83226.22862-.40271 0-.57722-.26952-.57722-.83268v-2.79275h1.78534v-1.44933h-1.78534v-2.3355l-1.74507.18772v2.14778h-.77857v1.44933h.77857v3.03395c0 1.4766.7383 2.17505 1.86588 2.17505zm6.05374-6.7653c-.77814 0-1.4897.37544-1.98638 1.0739h-.01342v-.96693h-1.7585v6.55136h1.7585v-3.04758c0-.96692.59064-1.70522 1.67785-1.70522.09438 0 .2821 0 .4562.01363v-1.90658c-.02623-.01258-.07971-.01258-.13424-.01258zm4.87342.10697v3.18182c0 1.26161-.68482 1.90553-1.45039 1.90553-.81905 0-1.18086-.40271-1.18086-1.61084v-3.47651h-1.74507v3.94634c0 2.00096.99314 2.712 2.40262 2.712.7383 0 1.45038-.30938 1.94643-.91344h.02727v.80646h1.7587v-6.55136h-1.7587zm4.92584 6.65833c1.71885 0 2.5505-.87253 2.5505-2.04081 0-1.28783-.83165-1.5972-2.25476-2.12051-.64496-.24121-.99314-.42998-.99314-.69845 0-.34923.3618-.49605.64392-.49605.48346 0 1.06025.21499 1.57098.6974l.84527-1.28888c-.7383-.5768-1.4766-.818-2.38899-.818-1.34236 0-2.36277.77815-2.36277 1.96006 0 1.26161.93966 1.7713 2.01355 2.13415.8589.26847 1.1945.41634 1.1945.72467 0 .32195-.2947.53694-.80543.53694-.71103 0-1.27524-.25484-1.81219-.76557l-.8589 1.22176c.72467.6177 1.61084.9533 2.65746.9533zm5.26248 0c.88617 0 1.3151-.17513 1.74508-.4027l-.4562-1.40949c-.29574.14787-.6177.22862-.83268.22862-.40271 0-.5768-.26952-.5768-.83268v-2.79275h1.78493v-1.44933h-1.78493v-2.3355l-1.74507.18772v2.14778h-.7792v1.44933h.7792v3.03395c0 1.4766.7383 2.17505 1.86567 2.17505z" fill="#1d58bf"/>
15
- <path d="M321.47645 124.21613c-.80542 0-1.49024.2947-1.98733.8589h-.02622v-.75193h-1.7587v9.20882h1.7587v-3.39576h.02622c.4562.5359 1.10116.84527 1.9328.84527 1.82582 0 3.14091-1.34236 3.14091-3.36954 0-1.98628-1.32873-3.39576-3.08638-3.39576zm-.3765 5.19432c-.95328 0-1.70522-.71104-1.70522-1.78493 0-1.04662.69845-1.83945 1.70523-1.83945.93965 0 1.67795.71208 1.67795 1.83945 0 1.06026-.68481 1.78493-1.67795 1.78493zm8.48416-5.08735v3.18182c0 1.26161-.68481 1.90553-1.45038 1.90553-.81905 0-1.18086-.40271-1.18086-1.61084v-3.47651h-1.74507v3.94634c0 2.00096.99314 2.712 2.40262 2.712.7383 0 1.45038-.30938 1.94643-.91344h.02726v.80646h1.7587v-6.55136h-1.7587zm2.88609-3.32864h1.7585v9.8798h-1.7585zm5.06008 9.98697c1.71885 0 2.55049-.87253 2.55049-2.04081 0-1.28783-.83164-1.5972-2.25476-2.12051-.64391-.24121-.99313-.42998-.99313-.69845 0-.34923.3618-.49605.64391-.49605.48346 0 1.06026.21499 1.57099.6974l.84527-1.28888c-.7383-.5768-1.4766-.818-2.389-.818-1.34236 0-2.36276.77815-2.36276 1.96006 0 1.26161.93965 1.7713 2.01354 2.13415.8589.26847 1.1945.41634 1.1945.72467 0 .32195-.2947.53694-.80542.53694-.71103 0-1.27525-.25484-1.8122-.76557l-.8589 1.22176c.72467.6177 1.61084.9533 2.65747.9533zm9.27594-3.45029c0-1.91916-1.28888-3.31501-3.20804-3.31501-1.86568 0-3.24894 1.38222-3.24894 3.3685 0 2.05444 1.45038 3.3968 3.36954 3.3968 1.3151 0 2.26839-.52331 2.8326-1.2354l-1.14101-1.06025c-.36286.44256-.87254.75193-1.57099.7383-.84527 0-1.46296-.48346-1.67795-1.26161h4.60494c.03985-.10802.03985-.41634.03985-.63133zm-3.15456-1.7713c.76557 0 1.2354.4562 1.40948 1.14102h-2.88608c.20136-.75194.76557-1.14101 1.4766-1.14101z" fill="#00aded"/>
16
- </g>
17
- <path d="M285.43252 122.1078c-.58382-.15763-1.15386-.36732-1.70162-.63615-.46474-.22803-.91303-.48782-1.35227-.7613a6.41018 6.41018 0 0 1-.02559.01583c-1.15618.71747-2.38544 1.297-3.75105 1.55338-.49274.0925-.99112.15056-1.49049.19315l-.01592.00134c-.123 2.749.06038 5.58247 1.52028 7.93973.88986 1.43682 2.26664 2.51275 3.72475 3.40708l.03802.02317c.5967-.36464 1.18274-.75352 1.7281-1.18785h1.23794c-.87743.8258-1.90094 1.51787-2.94144 2.13568-.04876-.03337-.0492 0-.0492 0-1.31247-.77929-2.59022-1.6407-3.58466-2.78444-.6755-.77687-1.21039-1.66959-1.59587-2.63584-.96867-2.42821-1.03004-5.13142-.86114-7.66948 1.07352-.06396 2.16376-.16711 3.19139-.49847 1.01349-.3268 1.94691-.86946 2.84849-1.4548l.02639-.01717c.01753.01145.03506.02281.05269.03426 1.13712.73661 2.35064 1.38672 3.687 1.6653.07648.01592.15315.03095.23.04508l-.9158.6315zm-.2716 9.4636h-1.69938c-.28404-.01208-.30318-.15594-.30918-.2963-.00706-.16693.10118-.31364.30918-.3225h1.46338l.4626-1.6864s.08928-.2088.26873-.22607c.1435-.01387.26686.0467.32635.22025l.69895 2.36505.42816-1.34557s.13848-.2453.35837-.20898c.11988.03069.12471.03624.19422.13178l.49767.74994h1.1916c.00143.00018.22114.02988.28708.19404.0763.18983-.04447.41447-.28708.42475h-1.35764c-.14761-.00608-.18975-.04446-.25774-.1383l-.2326-.35042-.5381 1.69142s-.09482.20146-.27177.2147c-.14144.01056-.26131-.04991-.31982-.22087l-.67694-2.29062-.2377.8666s-.10797.21917-.29834.2275zm3.33032-9.01406c.06011 1.4641.01511 2.93043-.23573 4.3778-.11433.66003-.36357 1.57082-.58185 2.20545l-.78545-.25532c.66683-1.75913.82812-3.67277.79923-5.5457l.8038-.78223z" fill="#00aded" fill-rule="nonzero"/>
18
- <path d="M282.0683 126.3243c.04685-.05343.05901-.0885.12887-.1901.40287-.58618 1.5962-2.16649 3.11253-3.38201.65983-.52898 1.37298-1.00987 2.00383-1.32508 1.05137-.52534 1.38992-.58938 1.8782-.70314.09273-.02159.42857-.08153.4843.0508.05375.12774-.15573.26235-.23434.3241-.08836.06943-2.1091 1.58053-3.80914 3.82464-1.4793 1.95257-2.44735 4.51451-2.44735 4.51451-.02974.0569-.36616.6581-.81752.68738-.41715.02713-.9529-.51549-.9529-.51549-.103-.09609-.60524-.69215-1.02317-1.42938-.533-.93997-.99197-2.0542-.99197-2.0542s-.47645-.93727.42177-1.45273c.88563-.50829 1.28012.00776 1.47234.31241.16425.26038.4952.89287.65514 1.20223.05573.10776.09175.16752.1194.13605z" fill="#1d58bf" fill-rule="nonzero"/>
19
- <path fill="#dce0ed" fill-opacity=".5" d="M27.83207 174.56487h487.8311v1.6297H27.83207zm0 37.84138h487.8311v1.6297H27.83207zm0 37.85225h487.8311v1.62968H27.83207zm0 37.84137h487.8311v1.6297H27.83207zm0 37.84138h487.8311v1.6297H27.83207z"/>
20
- <path d="M515.67403 327.56008H27.23451v-13.98165c15.2137 5.88861 31.87998 8.9231 48.09973 6.38404 15.89056-4.09052 30.1775-8.70472 42.61745-13.9208l37.54478-24.79084c14.09355-11.14598 27.834-21.49125 39.00063-25.99897 9.17406-4.4534 18.35682-8.61019 27.68733-8.6254l26.3021-1.60905 26.03156-.08148 20.54386-.67904 37.2786-20.43304 39.30048-13.03968c12.74417-3.0258 26.2456-4.53814 38.4335-3.72873l32.83606 1.0267 26.49223-2.35218c8.68624-1.30267 18.27098-5.0792 28.54889-10.76464l17.72232-20.20054v152.7953z" fill="#16bd83" fill-opacity=".3" fill-rule="nonzero"/>
21
- <path d="M370.919 601.569s60.278 43.615 172.315-49.33c75.552-62.676 139.168-17.37 179.667-44.589 117.436-78.927 199.455 3.832 256.65-77.309" fill="none" stroke="#16bd83" stroke-width="5" transform="matrix(.79937 0 0 .80095 -268.1162 -169.22389)"/>
22
- <circle cx="647.55" cy="275.37" r="11.13" fill="#16bd83" transform="translate(-490.77973 -52.8303) scale(1.08646)"/>
23
- <circle cx="647.55" cy="275.37" r="11.13" fill="#16bd83" transform="translate(-362.86099 -81.7835) scale(1.08646)"/>
24
- <circle cx="647.55" cy="275.37" r="11.13" fill="#16bd83" transform="translate(-607.09042 9.68565) scale(1.08646)"/>
25
- <circle cx="647.55" cy="275.37" r="11.13" fill="#16bd83" transform="translate(-246.76292 -94.28274) scale(1.08646)"/>
26
- <g>
27
- <circle cx="88.506" cy="368.331" r="25.699" fill="#6c63ff" transform="matrix(2.15937 0 -.44436 2.15937 80.43453 -678.27047)"/>
28
- <path d="M121.98366 154.09019c-2.61326 3.6077-6.29794 6.42663-10.3811 7.93848-2.39737.81407-4.83762 1.25903-7.22302 1.31465-2.60512.18961-5.11578-.12894-7.39204-.93543-2.988-1.27925-5.32277-3.5091-6.69809-6.39629-1.35004-2.88718-2.27143-6.01454-2.73732-9.3037-.43092-1.64078-.37897-3.45349.1467-5.2586 2.04721-.24271 4.07924-1.27168 5.64425-2.85685 1.06398-1.59528 1.48615-3.42568 1.16692-5.05636-.04764-.50563-.10049-.98599-.18381-1.44106-.15032-1.1124-1.03316-3.21079.06948-4.14621 1.10264-.93543 3.2211-.91015 4.13344-1.28938 2.77639-1.47645 5.65877-2.65711 8.58579-3.51416 2.56094-.3312 5.0634-.1694 7.35928.48035.31975.05562.61384.17444.8626.35394.26391.26546.42925.61688.4745 1.01128.35412 1.71916.36843 3.6153.56046 5.38502.10354 1.85568.7121 3.55462 1.7665 4.92995.95352.98093 2.09678 1.76467 3.38948 2.32592l3.0704 1.54219c.54522.23765 1.01394.58907 1.37945 1.03655.30642.61182.42212 1.3273.33185 2.07311-.20386 4.0375-1.71634 8.16855-4.32572 11.8066z" fill="#f2bfc8" fill-rule="nonzero"/>
29
- <path d="M116.3308 130.45171c-6.69538 5.72886-15.71333 7.03087-21.86173 3.16023-.04764-.50564-.10048-.986-.18381-1.44107-.15032-1.1124-1.03316-3.21078.06948-4.1462 1.10264-.93543 3.2211-.91015 4.13344-1.28938 2.77639-1.47646 5.65877-2.65712 8.5858-3.51417 2.56093-.33119 5.0634-.16939 7.35927.48036.31975.05562.61385.17444.8626.35394.26392.26546.42925.61688.4745 1.01127.3385 1.795.36843 3.6153.56046 5.38502z" fill-opacity=".1" fill-rule="nonzero"/>
30
- <circle cx="263.84" cy="289.36" r="6.94" fill="#eebdbc" transform="matrix(2.52818 0 -.52025 2.52818 -410.14515 -614.02026)"/>
31
- <path d="M143.65241 151.42549c-25.1774 27.24618-65.45793 27.78215-81.99058 4.84904.54877-1.33993 1.32584-2.63436 2.27914-3.80238.97851-1.15538 2.39943-1.86832 3.77795-1.89613.73317 0 1.51024.2781 2.15041-.25282.64017-.53092.55164-.9607 1.0037-1.31465.45207-.35395 1.36221-.35395 2.0597-.30339 1.53178.05057 3.149-.6826 4.29399-1.9467.36728-.47023.78796-.90508 1.25132-1.28936.7315-.32361 1.49053-.5107 2.23812-.5562 2.14148-.45508 3.7816-2.52818 5.58913-3.81755.93125-.852 2.19218-1.18066 3.2055-.8343.22122.12893.39918.30843.52279.53091.28352.6371.41996 1.35005.40249 2.0984.05106 4.1993-1.27003 4.6114 1.52931 7.29885 2.19473 1.9644 23.10548 2.98325 26.64105-2.29306 1.8501-3.05657 3.21938-6.29517 4.04487-9.5818l.08844-.4298c2.18682-.51574 4.30444-.0809 5.77255 1.18825 1.41442 1.28432 2.97487 2.41189 4.6678 3.36248 2.06799.88486 4.87427.88486 6.0783 2.52818.52205.65733.78983 1.56747 1.5409 1.97198.47665.20225.9962.3312 1.53999.37923 2.7007.7711 1.31313 4.11082 1.31313 4.11082z" fill="#3f3d56" fill-rule="nonzero"/>
32
- <path d="M100.09649 89.06542c-1.42453.98852-2.46474 2.40683-3.78745 3.53945-2.29584 1.96693-8.08153 11.35911-8.75377 13.8519-2.09478 7.77162-1.48864 17.14863 1.13822 16.52165-3.0469-2.197 6.9098-20.07627 11.56564-18.14222.92388-.1896 15.01883 4.82124 18.886 2.7987 1.1419-.20478-.8238-1.2919.31469-1.43095 4.97034-.6017 3.88945 8.11545 2.80855 10.01412l.58875 5.73896c.10121.85958 3.05726-1.2565 3.4857-2.0731 1.96528-3.73918 3.4943-7.58201 3.57475-11.35153.08104-3.78468 2.57495-8.09017.54394-10.99758-.7474-1.03655-1.85022-1.82029-2.50617-2.93268-.65595-1.1124-.81594-2.30065-1.46221-3.3372-2.81365-3.01106-6.7134-4.88444-11.15873-5.35974-4.97692-.44749-10.29297.6548-15.23791 3.16022z" fill="#6e2e16" fill-rule="nonzero"/>
33
- </g>
34
- <g>
35
- <ellipse cx="140.04" cy="838.19" rx="100.11" ry="24.73" fill="#1d58bf" fill-opacity=".1" transform="translate(-25.71766 -135.89034) scale(.64406)"/>
36
- <path d="M78.778 409.97841l9.09264-2.84603c2.55246-1.90823 1.85114-4.21605.6687-5.93672-.82528-1.11476-2.09824-1.81608-3.48212-1.91638-.60753-.1003-1.18653-.33109-1.6962-.67685-.55535-.33598-1.0218-.8008-1.36186-1.3537-.61243-1.06503-.92068-2.27846-.88888-3.50658.0318-1.22812-9.73686-3.26193-12.54212-.48114-.49582.50479-.9158 1.07889-1.2477 1.70436-.96226 1.96042-1.4752 4.11167-1.50048 6.29553-.02528 2.18386-.61977 3.10699-1.57388 6.65434-.95412 3.54735 14.5319 2.06317 14.5319 2.06317zm-43.71804-6.10796l9.09264-2.84604c2.55246-1.90823 1.85114-4.21605.6687-5.92856-.82527-1.12047-2.10232-1.82424-3.49027-1.92454-.3523-.04648-.69398-.15168-1.0112-.30988-.23241-.10846-.45912-.2316-.67685-.36697-2.44645-1.47602-2.25889-4.8929-2.25889-4.8929s-9.73687-3.26193-12.54213-.48113c-.37593.37512-.71028.79102-.99489 1.23953-1.14004 2.07214-1.74513 4.39545-1.76144 6.76035-.0163 2.3649-.62792 3.11515-1.57388 6.65434-.94596 3.5392 14.54821 2.0958 14.54821 2.0958z" fill="#2d293d" fill-rule="nonzero"/>
37
- <path d="M22.55046 376.4213c.6483 1.23055 1.19305 2.5125 1.63096 3.83276l-.39959 9.89996c2.3486 4.24051 15.44525 3.3598 17.28824 1.1743 1.843-2.1855 3.94694-8.0162 1.98163-9.09264-1.96532-1.07643-3.40872-6.16505-3.40872-6.16505s2.1121.58715 5.65945-3.26193 2.87865-12.82754 2.32413-14.98042c-.55453-2.15287.36696-9.2802.36696-9.2802s.06524-5.02337 1.13352-6.61356c1.06829-1.5902 3.5555-10.78884 3.5555-10.78884s.11418-3.1396 1.9327-4.69718c1.81853-1.55757 3.1967-7.91834 3.1967-7.91834 1.0903-1.55676 1.6065-3.44623 1.45971-5.34141-.2528-3.14777 2.38121-6.44232 2.38121-6.44232l4.78689-13.37392 4.4036-10.00597 2.03056 5.97749s.09785 13.82243-.51376 16.68478c-.61161 2.86234-1.63096 10.4871-1.63096 10.4871s2.31597 5.11308 1.0275 9.33729c-1.28846 4.2242-1.27215 13.38207-1.27215 13.38207s-1.8593 18.89474-.91334 20.436c.94596 1.54126.67685 5.30064.67685 5.30064s-5.5616 10.83777-3.99587 12.41165c1.56573 1.57388.91335 5.70838.91335 5.70838s-3.50658-.13863-2.06318 1.4271c1.4434 1.56572 2.21812 9.45144 2.21812 9.45144l15.09459 2.34044a31.93975 31.93975 0 0 0 3.63705-6.27106c2.1855-4.55855-.21203-4.15081-2.20996-4.7298-1.99793-.579-.67685-1.78591 1.76144-3.1967 2.4383-1.41078 1.1906-4.85212 1.1906-4.85212s-3.40055-6.28737-2.12025-6.73589c1.28031-.44852 1.72883-9.10079 1.72883-9.10079s2.90312-10.19354 2.3812-12.97433c-.5219-2.7808 2.37306-9.32913 2.37306-9.32913l1.1743-7.86125c2.85827-4.37588 4.04316-9.63901 3.33532-14.81733l.47298-12.167s4.43623-23.3962 5.43112-35.33488c.61977-7.6166.92965-18.03032 1.06828-24.52972.08155-3.65337.11417-6.0672.11417-6.0672l-53.9605-7.73077c-.18757 2.70332-.6214 5.38381-1.29662 8.00804-.66054 2.9602-1.6799 6.77666-3.26193 11.53908-4.41992 13.64303-2.44645 24.01597-2.44645 24.01597l-.17125 17.45134s-5.2191 11.482-4.36284 15.53495a33.17357 33.17357 0 0 1 .71763 7.33934c-.03425 2.4652-11.61248 25.01902-10.76438 32.43176.8481 7.41274-4.24866 18.92736-4.24866 18.92736s-1.57388 8.25268-.40774 10.5605z" fill="#575988" fill-rule="nonzero"/>
38
- <path d="M56.04234 312.2754l-16.40752-2.85418s8.97847 9.91627 16.40752 2.85419z" fill-opacity=".05" fill-rule="nonzero"/>
39
- <path d="M76.29078 318.39153s10.3811 2.78895 10.53604 6.99684c.15494 4.2079-10.53604-6.99684-10.53604-6.99684z" fill-opacity=".1" fill-rule="nonzero"/>
40
- <path d="M46.34625 117.0488l.76655 4.61563-.13048 2.0387-.09785 1.5005 5.21093.74209.62792-1.06013c1.15799-1.91639 3.5555-5.82255 4.3139-6.4097.9949-.7747 3.21301-13.43916 1.10906-12.77046-1.28275.442-2.35756 1.34228-3.01728 2.528-.65973 1.1857-10.32402.78286-8.78275 8.81537z" fill="#ffcdd3" fill-rule="nonzero"/>
41
- <path d="M46.88447 125.20363l5.21093.74209.62792-1.06013c-1.3806-1.6856-3.77487-2.17816-5.70838-1.1743l-.13047 1.49234z" fill-opacity=".1" fill-rule="nonzero"/>
42
- <path d="M45.46553 127.63376l6.8419 1.86746.1794-1.0275.49745-2.74819c-.88806-1.27541-2.34778-2.03789-3.90209-2.03789-.98265 0-1.94166.30418-2.7441.87175l-.39143 1.39448-.48113 1.6799z" fill="#dce6f2" fill-rule="nonzero"/>
43
- <path d="M157.62705 121.86015l7.20886 4.2405s.30173-.57899.72578-1.37c.7584-1.4434 1.88377-3.6126 2.2018-4.39546.48114-1.19876 3.6126-2.62585 3.6126-2.62585 7.99988-7.07024-.94596-13.74904-.94596-13.74904-4.48516-9.97336-10.40557 2.91942-10.40557 2.91942s-1.01935 6.87453-.5056 7.33935c.51376.46483.44037 2.37306.44037 2.37306a27.72058 27.72058 0 0 0-1.94085 4.14265c-.2528.67685-.39143 1.12537-.39143 1.12537z" fill="#ffcdd3" fill-rule="nonzero"/>
44
- <path d="M156.7871 124.03749l8.15483 4.39545.22833-1.77775.1631-1.22323s-4.63194-4.28944-6.05088-4.19158a7.70816 7.70816 0 0 1-2.16919-.0897l-.14679 1.48417-.1794 1.40264z" fill="#dce6f2" fill-rule="nonzero"/>
45
- <path d="M65.24099 148.23286s35.93833 5.46374 29.27583 3.01729c-4.6401-1.71251-6.39338-4.77058-6.65434-8.09775-.0897-2.855.46809-5.69288 1.63097-8.30161.94433-2.24258 2.11047-4.38404 3.48211-6.39339 1.37164-2.00935-27.0088-16.23626-22.01804-2.22627a22.1168 22.1168 0 0 1 1.31293 6.59726 18.6016 18.6016 0 0 1-.96227 6.5891c-1.17185 3.44053-3.27172 6.49206-6.0672 8.81537z" fill="#ffcdd3" fill-rule="nonzero"/>
46
- <path d="M70.99014 126.23113a22.1168 22.1168 0 0 1 1.31293 6.59726c2.51169 2.2752 5.36588 2.24258 9.0274 2.38121 2.81341.11417 5.89594.91334 8.15482-.35881.94433-2.24258 2.11047-4.38404 3.48212-6.39339 1.37164-2.00935-26.96802-16.23626-21.97727-2.22627z" fill-opacity=".1" fill-rule="nonzero"/>
47
- <circle cx="183.01" cy="496.73" r="18.31" fill="#ffcdd3" transform="translate(-66.88348 -283.81029) scale(.81548)"/>
48
- <path d="M65.24099 148.23286s35.93833 5.46374 29.27583 3.01729c-4.6401-1.71251-6.39338-4.77058-6.65434-8.09775-1.72067-2.01424-5.27617-3.5555-7.56768-4.39545-2.086-.7853-4.36446-.9109-6.52386-.35881a8.9808 8.9808 0 0 0-2.44645 1.01935c-1.17593 3.44297-3.28232 6.4945-6.0835 8.81537zm-19.77546-20.5991l6.8419 1.86746.1794-1.0275c-1.42465-2.12353-4.04153-3.13472-6.52386-2.51985l-.49744 1.6799zm111.32157-3.59627l8.15483 4.39545.22833-1.77775c-2.64298-1.52822-5.39605-2.85827-8.23638-3.97956l-.14678 1.36186z" fill-opacity=".1" fill-rule="nonzero"/>
49
- <path d="M33.65733 234.80453s45.71597 9.67163 50.71489 8.3587c4.9989-1.31293 30.29519 1.28846 30.29519 1.28846 11.11503 8.0896 6.78481-3.3761 6.78481-3.3761s1.23138-5.85516 0-10.67467c-.78857-3.53022-1.28275-7.11998-1.47602-10.73175-.19327-3.61178.54637-7.51876-.76655-9.32097-1.31293-1.80222-2.44645-14.41774-2.44645-14.41774s-.9215-8.57073-.72578-10.44634c.19571-1.8756-.09786-7.1681-.09786-7.1681l-1.29662-8.83983c9.45145-.88887 38.71913-17.34532 38.71913-17.34532 1.63097-5.83886 12.79493-19.22909 12.79493-19.22909.2006-1.1539.53985-2.27927 1.0112-3.35163.81548-1.97347-10.29955-6.41785-10.29955-6.41785s-8.81537 9.95705-10.64206 12.64814c-1.82668 2.6911-8.08143 7.6003-8.08143 7.6003-.93128-.12966-1.8805-.04322-2.77264.2528h-.1468a22.42072 22.42072 0 0 0-5.70837 3.00913c-2.82402-.17614-5.6089.75106-7.7634 2.58508-2.1545 1.83402-5.11308-.94596-6.01826-.10601-.90519.83995-5.26802-.20387-5.26802-.20387s-4.07742-9.4433-7.02131-6.85821c-2.9439 2.58508-15.22507 1.98978-15.22507 1.98978-1.54126-2.23443-5.45558-3.93879-7.90202-4.83582-2.0852-.7902-4.36447-.91497-6.52387-.35881-.93699.23078-1.8275.61977-2.634 1.14983l-7.69817 6.98053s-2.03055-2.83788-1.75328-3.45764c.27726-.61977-2.44645-1.22323-2.44645-1.22323s-3.59628-1.27215-4.95814-1.6962c-1.36186-.42405-2.6911 1.0112-2.80526 1.14167.62221-1.7598.89948-3.62319.81548-5.4882-.28542-2.39752 1.67174-4.46069 1.67174-4.46069-3.9714-10.95193-14.22202-2.29966-14.22202-2.29966s-1.36186 5.84701-.44036 8.15483c.9215 2.30782-1.27215 6.98053-1.07644 8.24453.19572 1.264-.62792 3.36795-.71762 5.74916-.0897 2.3812.98673 6.94791 1.63096 8.9703.64423 2.0224 6.52387 6.78483 6.52387 6.78483s.106 7.15994 2.57692 11.41676.30173 18.34836.30173 18.34836-2.93574 10.93563-6.20582 14.32804c-3.2701 3.3924-8.7012 23.3065-8.7012 23.3065z" fill="#656691" fill-rule="nonzero"/>
50
- <path d="M102.54933 188.85207c.12232-.13864-29.52048 34.47046-50.6741 12.9988 0 0 34.49492 6.03457 50.6741-12.9988z" fill-opacity=".1" fill-rule="nonzero"/>
51
- <path d="M110.25564 170.95222c-1.8854 3.93144-4.23072 7.62395-6.98869 11.00086-3.0132 3.7341-6.61682 6.95118-10.66651 9.52484-4.04969 2.57367 17.28008-18.24235 17.6552-20.5257z" fill-opacity=".1" fill-rule="nonzero"/>
52
- <path d="M85.8727 134.94865c-.1533.79101-.59856 1.4964-1.24769 1.97347-.44606.19571-.9329.28215-1.41894.2528-4.55854.11416-9.30466.13047-13.43915-1.78591a5.0721 5.0721 0 0 1-1.99794-1.43525c-.71762-.94596-.81548-2.19365-1.06828-3.35164-.5056-2.25073-1.68805-4.28128-2.51169-6.44231-1.38713-3.63787-1.74513-7.58889-1.03566-11.41676a7.63626 7.63626 0 0 1 1.264-3.26193c1.27215-1.67174 3.49842-2.28336 5.1457-3.59628 1.64727-1.31293 2.75633-3.36795 4.66456-4.33022 1.71251-.86441 3.75937-.67685 5.64314-.27726 3.6974.7747 7.21295 2.25073 10.35663 4.34652 1.05198.70947 2.20996 1.5168 3.4658 1.32924 1.07644-.29847 2.01588-.96146 2.65848-1.87561.80733 2.07377 1.10416 4.31146.86441 6.52386a2.81735 2.81735 0 0 0 0 .97858 2.98752 2.98752 0 0 0 .65239 1.06828c1.06828 1.34555 1.6962 3.43319.53822 4.70534-.5056.55453-1.264.81548-1.7533 1.41078-.88071 1.0112-.66053 2.528-.69315 3.87355.02935.46727-.10275.93128-.37512 1.31293-.51376.43546-1.21834.5741-1.8593.36696-.62874-.21447-1.29418-.30336-1.95716-.26095-.70703.20305-1.32598.64015-1.7533 1.23953-2.20995 2.56062-3.1233 5.4719-4.14265 8.65228z" fill="#2d293d" fill-rule="nonzero"/>
53
- <path d="M88.18052 144.09836s-18.7561 1.7533-20.30552-1.1172" fill-opacity=".1" fill-rule="nonzero"/>
54
- </g>
55
- <g>
56
- <path fill="#535461" d="M526.25682 301.60485h2.1798v49.02164h-2.1798z"/>
57
- <path d="M542.11714 350.47574l-.13758 2.20989-.18918 3.11705-.08169 1.28982-.19347 3.11706-.08169 1.28981-.19347 3.11276-2.19699 35.44847c-.19605 3.148-2.83501 5.6352-5.98905 5.6451h-11.41487c-3.14974-.00903-5.78655-2.48892-5.98905-5.6322l-2.2013-35.44847-.18916-3.11276-.0817-1.28981-.19776-3.11706-.0774-1.28982-.19347-3.11706-.13758-2.20988a3.07748 3.07748 0 0 1-.00559-.18917c0-1.70514 1.4029-3.10846 3.10846-3.10846h23.34827c1.7004 0 3.09986 1.39945 3.09986 3.09986 0 .06148-.00172.12339-.0056.18487z" fill="#3f3d56" fill-rule="nonzero"/>
58
- <path d="M541.98399 352.6859l-.19347 3.11705h-28.8876l-.18917-3.11705h29.27024zm-.27086 4.41547l-.19348 3.12135h-28.34157l-.19347-3.12135h28.72852zm-.27946 4.41977l-.18918 3.11706h-27.79125l-.19347-3.11706h28.1739z" fill="#9d9cb5" fill-rule="nonzero"/>
59
- <path d="M509.38586 319.98049c12.6789 9.1706 17.95856 23.52196 17.95856 23.52196s-15.28004-.52452-27.94604-9.69942-17.99295-23.52197-17.99295-23.52197 15.29723.52453 27.98043 9.69943z" fill="#16bd83" fill-rule="nonzero"/>
60
- <path d="M481.40543 310.28106s15.86045 8.80515 20.94663 16.09262c5.08618 7.28747 24.97516 17.12877 24.97516 17.12877" fill="none" stroke="#fff" stroke-width=".85988" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10"/>
61
- <path d="M517.5676 301.4974c6.90482 4.9916 9.77682 12.8036 9.77682 12.8036s-8.31502-.28807-15.21985-5.27966c-6.90482-4.9916-9.77251-12.80358-9.77251-12.80358s8.31502.28376 15.21554 5.27965z" fill="#16bd83" fill-rule="nonzero"/>
62
- <path d="M502.35206 296.21776s8.62888 4.79382 11.40198 8.75785c2.77311 3.96404 13.59038 9.32538 13.59038 9.32538" fill="none" stroke="#fff" stroke-width=".85988" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10"/>
63
- <path d="M537.3749 313.90115c-7.92808 8.71486-9.60484 20.09965-9.60484 20.09965s11.17841-2.74301 19.10649-11.45788c7.92807-8.71486 9.60483-20.09535 9.60483-20.09535s-11.17841 2.73871-19.10649 11.45358z" fill="#16bd83" fill-rule="nonzero"/>
64
- <path d="M556.48138 302.44757s-10.31853 8.92984-12.95406 15.08656c-2.63552 6.15673-15.75726 16.46667-15.75726 16.46667" fill="none" stroke="#fff" stroke-width=".85988" stroke-linecap="butt" stroke-linejoin="miter" stroke-miterlimit="10"/>
65
- </g>
66
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/home-smart-targeting.svg DELETED
@@ -1,126 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <svg viewBox="0 0 600 500" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:serif="http://www.serif.com/" fill-rule="evenodd" clip-rule="evenodd" stroke-linecap="round" stroke-linejoin="round" stroke-miterlimit="1.5">
3
- <path d="M272.91048 457.96044c43.8601-24.27188 93.96317-32.02863 142.92805-21.62559 69.38399 14.75093 156.58632 8.96893 173.47704-104.83287 28.84739-194.3571-92.03964-245.65527-92.03964-245.65527s-80.39026-6.73239-127.92672-32.3644C301.82617 17.06027 224.6456 12.42216 156.7811 43.23861c-43.39914 19.69067-79.13826 47.10964-85.24464 84.75523C54.4636 233.27629 82.50289 291.28408 30.04947 325.65169c-52.45343 34.3676-7.62587 128.72345 32.58634 125.45685 40.2122-3.2666 131.0795-39.10247 166.48855 2.40727 12.57699 14.72247 28.48887 12.91275 43.78612 4.44463z" fill="#1d58bf" fill-opacity=".1" fill-rule="nonzero"/>
4
- <path fill="url(#_Linear1)" d="M155.01 231.1h435.45v108.25H155.01z" transform="matrix(.74209 0 0 .74209 49.55684 49.0428)"/>
5
- <path fill="#fff" d="M166.39116 222.35002h320.43358v76.72447H166.39116z"/>
6
- <path d="M448.34178 241.46528c0-2.27186-1.84483-4.11653-4.1167-4.11653H252.97083c-2.27242 0-4.1167 1.84467-4.1167 4.11653v8.2335c0 2.27229 1.84428 4.11695 4.1167 4.11695h191.25423c2.27188 0 4.11671-1.84466 4.11671-4.11696v-8.23349z" fill="#3f3d56"/>
7
- <path d="M448.34178 260.23417c0-1.51458-1.23007-2.74435-2.74447-2.74435H251.5986c-1.51495 0-2.74448 1.22977-2.74448 2.74435v5.48898c0 1.51487 1.22953 2.74464 2.74448 2.74464h193.9987c1.5144 0 2.74447-1.22977 2.74447-2.74464v-5.48898z" fill="#16bd83"/>
8
- <path d="M309.39697 275.25996c0-1.51457-1.2299-2.74435-2.7445-2.74435H251.5985c-1.51476 0-2.7445 1.22978-2.7445 2.74435v5.489c0 1.51485 1.22974 2.74463 2.7445 2.74463h55.05397c1.5146 0 2.7445-1.22978 2.7445-2.74464v-5.48899z" fill="#9795b1"/>
9
- <g fill-rule="nonzero">
10
- <path d="M325.6426 281.2279c.59162 0 .87847-.11696 1.16532-.26893l-.30477-.94122c-.19721.09874-.41235.15267-.55578.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86494h1.19222v-.96784h-1.19222v-1.5596l-1.16532.12535v1.43425h-.51992v.96784h.51992v2.02601c0 .98604.49302 1.45246 1.246 1.45246zM329.68517 276.71016c-.51963 0-.9948.25071-1.32647.71712h-.00896v-.64569h-1.1743v4.37487h1.1743v-2.03511c0-.6457.39442-1.13872 1.12043-1.13872.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05322-.0084-.08964-.0084zM332.93954 276.78159v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54695 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.63529c0 1.3362.6632 1.81102 1.60442 1.81102.49303 0 .96854-.2066 1.29979-.60998h.0182v.53854h1.17444v-4.37487h-1.17443zM336.22892 281.2279c1.14782 0 1.70317-.58267 1.70317-1.36282 0-.85999-.55535-1.06658-1.50568-1.41604-.4307-.16107-.6632-.28713-.6632-.4664 0-.23321.24161-.33126.43-.33126.32284 0 .70801.14357 1.04907.46571l.56445-.86069c-.49302-.38517-.98604-.54624-1.59532-.54624-.8964 0-1.5778.51963-1.5778 1.30889 0 .84248.62748 1.18283 1.3446 1.42514.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47482 0-.85159-.17018-1.21015-.51123l-.57356.81587c.48392.41248 1.07569.63659 1.7746.63659zM339.7431 281.2279c.59177 0 .8782-.11696 1.16533-.26893l-.30464-.94122c-.19748.09874-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86494h1.19194v-.96784h-1.19194v-1.5596l-1.16533.12535v1.43425h-.52033v.96784h.52033v2.02601c0 .98604.49303 1.45246 1.24587 1.45246z" fill="#1d58bf"/>
11
- <path d="M343.79513 276.71016c-.53784 0-.99514.19679-1.3271.57356h-.0175v-.50213h-1.17443v6.14947h1.17443v-2.26762h.0175c.30464.35786.73534.56446 1.29069.56446 1.21925 0 2.09744-.8964 2.09744-2.25012 0-1.3264-.8873-2.26762-2.06103-2.26762zm-.25141 3.46866c-.63659 0-1.13871-.47481-1.13871-1.19194 0-.69891.4664-1.22835 1.13871-1.22835.62748 0 1.1205.47551 1.1205 1.22835 0 .70802-.4573 1.19194-1.1205 1.19194zM349.20928 276.78159v2.12476c0 .84248-.45731 1.27247-.96854 1.27247-.54695 0-.78856-.26892-.78856-1.07568v-2.32155h-1.16532v2.63529c0 1.3362.6632 1.81102 1.60442 1.81102.49302 0 .96854-.2066 1.29979-.60998h.0182v.53854h1.17444v-4.37487h-1.17443zM351.13654 274.55879h1.1743v6.59753h-1.1743zM354.51557 281.2279c1.14782 0 1.70317-.58267 1.70317-1.36282 0-.85999-.55535-1.06658-1.50568-1.41604-.43-.16107-.6632-.28713-.6632-.4664 0-.23321.2416-.33126.43-.33126.32284 0 .70801.14357 1.04907.46571l.56445-.86069c-.49302-.38517-.98604-.54624-1.59532-.54624-.8964 0-1.57781.51963-1.57781 1.30889 0 .84248.62748 1.18283 1.3446 1.42514.57356.17928.79767.27803.79767.48392 0 .215-.1968.35856-.53785.35856-.47481 0-.85158-.17018-1.21014-.51123l-.57356.81587c.48392.41248 1.07568.63659 1.7746.63659zM360.70986 278.92386c0-1.28158-.86069-2.2137-2.14226-2.2137-1.24587 0-2.16958.92301-2.16958 2.24941 0 1.37192.96853 2.26833 2.25011 2.26833.8782 0 1.51479-.34946 1.89156-.82498l-.76195-.70802c-.2423.29554-.58266.50213-1.04907.49303-.56446 0-.97694-.32285-1.1205-.84248h3.07508c.02661-.07214.02661-.27803.02661-.4216zm-2.10655-1.18284c.51123 0 .82497.30464.94123.76195h-1.92727c.13446-.50213.51123-.76195.98604-.76195z" fill="#00aded"/>
12
- </g>
13
- <path d="M319.7257 275.30226c-.38986-.10527-.77052-.2453-1.1363-.42481-.31036-.15228-.60971-.32576-.90303-.50838a4.2806 4.2806 0 0 1-.01709.01057c-.77207.47911-1.59295.8661-2.50487 1.03732-.32905.06177-.66186.10054-.99532.12897l-.01064.0009c-.08214 1.83573.04033 3.72786 1.01522 5.302.59422.95948 1.51362 1.67796 2.48731 2.27518l.02539.01547c.39846-.2435.78982-.50318 1.15399-.79322h.82667c-.58592.55146-1.2694 1.0136-1.96423 1.42616-.03256-.02228-.03286 0-.03286 0-.87644-.52039-1.7297-1.09562-2.39376-1.85939-.4511-.51878-.80828-1.11492-1.0657-1.76017-.64685-1.6215-.68783-3.42665-.57505-5.12152.71688-.04272 1.44492-.1116 2.13115-.33287.67679-.21823 1.30011-.58061 1.90217-.97149l.01762-.01147c.0117.00765.02342.01524.03519.02289.75934.49189 1.56971.92602 2.4621 1.11205a6.70182 6.70182 0 0 0 .15359.0301l-.61155.4217zm-.18137 6.3196h-1.13481c-.18968-.00807-.20246-.10413-.20646-.19786-.00472-.11147.06756-.20944.20646-.21536h.97721l.30892-1.12615s.05962-.13943.17946-.15096c.09582-.00926.1782.03118.21793.14708l.46674 1.57933.28591-.89854s.09248-.1638.23932-.13955c.08005.02049.08328.0242.1297.088l.33232.5008h.79574c.00095.00011.14767.01994.1917.12957.05096.12676-.0297.27677-.1917.28364h-.90661c-.09857-.00406-.1267-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03333-.21356-.1475l-.45205-1.52962-.15873.5787s-.0721.14635-.19923.1519zm2.22392-6.01941c.04015.9777.0101 1.95688-.15741 2.92341-.07635.44076-.24278 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17472.553-2.4526.53371-3.70331l.53676-.52236z" fill="#00aded" fill-rule="nonzero"/>
14
- <path d="M317.47913 278.11795c.0313-.03567.03942-.0591.08607-.12694.26902-.39144 1.0659-1.44674 2.07848-2.25845.44062-.35324.91685-.67436 1.33812-.88485.70208-.35082.92816-.39358 1.25422-.46955.06193-.01441.2862-.05444.3234.03392.0359.0853-.10398.1752-.15647.21644-.05901.04636-1.40842 1.05544-2.54368 2.55401-.98784 1.3039-1.63428 3.0147-1.63428 3.0147-.01987.038-.24452.43947-.54593.45902-.27857.01812-.63633-.34423-.63633-.34423-.06877-.06417-.40417-.4622-.68325-.95452-.35593-.62769-.66242-1.37175-.66242-1.37175s-.31816-.62589.28165-.9701c.5914-.33943.85484.00518.9832.20862.10968.17387.33068.59624.4375.80282.0372.07196.06126.11187.07972.09086z" fill="#1d58bf" fill-rule="nonzero"/>
15
- <g>
16
- <circle cx="88.506" cy="368.331" r="25.699" fill="#16bd83" transform="matrix(1.18365 0 0 1.18365 100.94546 -175.28964)"/>
17
- <use xlink:href="#_Image2" x="181.346" y="244.303" width="49.842" height="52.476" transform="matrix(.99684 0 0 .99012 -.00022 -.0002)"/>
18
- </g>
19
- <g>
20
- <path d="M170.49794 160.88521a7.8653 7.8653 0 0 1-2.90097 1.10064c-3.78148.11007-6.89472-10.12589-6.89472-10.12589s1.07705-1.08491 2.7909-2.61008c5.06295-4.51263 15.72343-12.83032 20.67631-8.17619 5.57396 5.22018-7.16988 16.28947-13.67152 19.81152zM113.06026 404.85777l-13.93881 15.02374s-12.90108.1415-10.37747-6.97334a26.13126 26.13126 0 0 0 1.0692-4.71703c.64073-5.05273.94498-10.1424.91196-15.236 0-3.34123-.05504-5.68402-.05504-5.68402s20.31467-8.89946 18.23918.3695c-.25944 1.1596-.39938 2.342-.41667 3.5299-.00393 3.434.7901 6.82319 2.3192 9.8979.62344 1.33414 1.3766 2.60302 2.24845 3.78935z" fill="#ecb4b6" fill-rule="nonzero"/>
21
- <path d="M145.41122 427.53095c-4.72961 4.02992-10.77684 6.19032-16.98917 6.06925-11.49382-.17296-33.0192-.50315-37.97994-.71542-6.66673-.28302-4.45759-5.98276-4.23746-9.91362v-.39309c.07076-3.93085.88837-12.45295 2.19342-13.78944 1.30504-1.3365 5.88842 5.92773 5.88842 5.92773s8.89946 2.60223 11.34446-5.18873c2.44499-7.79096 7.42931-8.51424 7.42931-8.51424 2.26418-.98271 2.35852 4.88999 2.35852 4.88999l18.86811 9.70922 11.05357 1.7453c.35378.1651.68397.33019.98272.48742 4.95287 2.75946 2.74373 6.51736-.91196 9.68563z" fill="#6c63ff" fill-rule="nonzero"/>
22
- <circle cx="169.35" cy="649.12" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
23
- <circle cx="179.06" cy="653.93" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
24
- <circle cx="184.06" cy="656.17" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
25
- <circle cx="194.44" cy="660.15" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
26
- <circle cx="189.16" cy="658.45" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
27
- <path d="M145.41122 427.53095c-4.72961 4.02992-10.77684 6.19032-16.98917 6.06925-11.49382-.17296-33.0192-.50315-37.97994-.71542-6.66673-.28302-4.45759-5.98276-4.23746-9.91362l41.9108 2.5865s17.16212-2.60222 18.18414-7.7202c4.97646 2.76732 2.76732 6.52522-.88837 9.6935z" fill="#6c63ff" fill-rule="nonzero"/>
28
- <path d="M145.41122 427.358c-4.72647 4.0362-10.77527 6.19738-16.98917 6.06924-11.49382-.1651-33.0192-.49529-37.97207-.70756-6.6746-.29088-4.46546-5.99062-4.24533-9.92148l41.9108 2.5865s17.16212-2.60222 18.18414-7.71234c4.97646 2.76733 2.76732 6.52523-.88837 9.68564z" fill="#fff" fill-opacity=".25" fill-rule="nonzero"/>
29
- <path d="M67.3837 367.04293c-1.5464 1.25316-2.956 2.66512-4.206 4.21388-4.15886 4.83495-9.30042 12.06773-11.85547 15.72342l-1.57235 2.31135-5.57395-.85693s-6.00635-9.19034-5.92773-9.43406c.07861-.2437 4.71703-10.08657 4.71703-10.08657l1.80819-2.1148 5.69188-6.65888 2.57864-3.0189s19.38699 6.28938 14.33977 9.92149z" fill="#ecb4b6" fill-rule="nonzero"/>
30
- <path d="M45.08789 398.65488s-3.71073 8.01109-5.71547 12.57874c-2.00473 4.56766-1.25787 7.93247-1.25787 7.93247a7.31259 7.31259 0 0 1-.6368 1.72172c-.91196 1.81605-3.0189 4.46545-7.59442 4.8035a2.65628 2.65628 0 0 1-.35377 0c-6.76108-.18082-8.90732-19.80365-8.90732-19.80365s1.02988-37.3746 2.956-39.74883c.26966-.26572.61164-.44654.98271-.51887 1.9678-.34199 3.97567-.39545 5.95918-.15724 6.11642.44026 13.97027 1.94185 13.97027 1.94185h1.4151c-4.97646 5.18873.36165 16.60394.36165 16.60394s2.35851.22799 4.2296 3.56135c1.87109 3.33337-5.40886 11.08502-5.40886 11.08502z" fill="#6c63ff" fill-rule="nonzero"/>
31
- <circle cx="75.64" cy="618.27" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
32
- <circle cx="75.13" cy="626.51" r="1.04" fill="#fff" fill-opacity=".25" transform="translate(-22.52281 -98.55965) scale(.78617)"/>
33
- <path d="M36.94315 420.73843c-1.44734 2.87818-4.37347 4.73197-7.59441 4.81137h-.35378c-6.76107-.1651-8.91518-19.81938-8.91518-19.81938s1.03774-37.36672 2.96386-39.74096c.26573-.27202.60929-.45598.98272-.52674 1.96621-.33412 3.97016-.3868 5.95131-.15723-.11006 6.7139-.43239 27.9484.03931 30.05533.4717 2.10694 4.23747 19.7329 6.92617 25.37761z" fill="#6c63ff" fill-rule="nonzero"/>
34
- <path d="M37.43058 420.87994c-1.44813 2.8766-4.37504 4.72725-7.59442 4.80351a2.65628 2.65628 0 0 1-.35377 0c-6.76894-.18082-8.91519-19.80366-8.91519-19.80366s1.03775-37.37458 2.96387-39.74882c.26494-.2673.60535-.44812.97485-.51887 1.96779-.34199 3.97567-.39466 5.95918-.15724-.11006 6.7139-.4324 27.9484 0 30.05533.4324 2.10694 4.26891 19.71718 6.96548 25.36975z" fill="#fff" fill-opacity=".25" fill-rule="nonzero"/>
35
- <path d="M28.99496 425.5498c-6.76107-.1651-8.91518-19.81938-8.91518-19.81938s1.03774-37.36672 2.96386-39.74096c.26573-.27202.60929-.45598.98272-.52674 1.4151 2.1148 2.65726 6.78466 1.57234 17.05992-2.1148 19.4656.4324 20.68417.4324 20.68417s3.1211 16.53318 2.96386 22.343z" fill="#6c63ff" fill-rule="nonzero"/>
36
- <path d="M28.93993 425.5498c-6.76108-.1651-8.91518-19.81938-8.91518-19.81938s1.03774-37.36672 2.96386-39.74096c.26573-.27202.60928-.45598.98272-.52674 1.4151 2.1148 2.65725 6.78466 1.57234 17.05992-2.1148 19.4656.4324 20.68417.4324 20.68417s3.11323 16.53318 2.96386 22.343z" fill-opacity=".1" fill-rule="nonzero"/>
37
- <path d="M146.24456 157.20593s3.14468.22013 5.11797-1.11636c1.9733-1.3365 10.56615-5.00792 10.78627-7.4529 0 0 5.11798 12.4608 8.0111 12.90106 0 0-8.89947 7.01265-9.56771 9.23752-.66825 2.22486-18.01905 7.67303-18.01905 7.67303l3.67142-21.24235z" fill="#ff748e" fill-rule="nonzero"/>
38
- <path d="M146.24456 157.20593s3.14468.22013 5.11797-1.11636c1.9733-1.3365 10.56615-5.00792 10.78627-7.4529 0 0 5.11798 12.4608 8.0111 12.90106 0 0-8.89947 7.01265-9.56771 9.23752-.66825 2.22486-18.01905 7.67303-18.01905 7.67303l3.67142-21.24235z" fill="#6c63ff" fill-rule="nonzero"/>
39
- <path d="M99.12145 303.94481S88.24083 318.47326 84.2628 320.1085c-3.97803 1.63523-33.63241 37.96421-33.63241 37.96421s6.37585 11.71396 18.08194 13.64008c0 0 6.37585-2.52361 8.75009-8.1526 2.37423-5.62899 21.08511-21.50965 21.08511-21.50965l.5739-38.10573z" fill="#5e5a6b" fill-rule="nonzero"/>
40
- <path d="M99.12145 303.94481S88.24083 318.47326 84.2628 320.1085c-3.97803 1.63523-33.63241 37.96421-33.63241 37.96421s6.37585 11.71396 18.08194 13.64008c0 0 6.37585-2.52361 8.75009-8.1526 2.37423-5.62899 21.08511-21.50965 21.08511-21.50965l.5739-38.10573z" fill-opacity=".1" fill-rule="nonzero"/>
41
- <path d="M144.93165 194.20315l-.22799 4.10382-1.83178 34.46575s-1.48586 7.71234-.88837 22.5474c.59749 14.83505-8.30983 38.2551-8.30983 38.2551s-4.30036 15.8728-5.63685 23.13702c-1.3365 7.26422-5.5032 9.48909-5.5032 9.48909s1.03775 8.16045-1.92612 11.0064c-2.96387 2.84594-3.14469 7.56296-3.14469 7.56296s-4.5991 25.5034-6.0771 28.02701c-1.478 2.52361-1.3365 15.8728-1.3365 15.8728-9.63845 11.41521-23.72664 1.03775-23.72664 1.03775l.14937-35.73935s4.00161-32.92486 6.96548-37.52396c2.96386-4.5991 2.96386-17.20143 2.96386-17.20143l-1.3129-29.3635s-1.05347-3.14469-.14938-4.88999c.9041-1.7453-2.53933-6.6746-2.53933-6.6746-8.30197-10.08657-9.48909-32.77548-7.07554-37.2252 2.41354-4.44974 9.61487-22.2408 9.61487-22.2408l9.92149-5.78621 17.9247.5346 22.14645.60534z" fill="#5e5a6b" fill-rule="nonzero"/>
42
- <path d="M142.57314 141.18376v9.82714l-6.46233-2.78305-6.43874-2.77518-14.01744-13.78945s-11.08502-7.20919-17.02061-13.77372c-3.3884-3.74218-5.09439-7.27995-2.10694-9.14317 1.44341-.9497 2.74767-2.09594 3.87583-3.40413a63.32041 63.32041 0 0 0 7.73592-11.40734l.27516-.50315c2.88525-5.29094 4.79565-9.81928 4.79565-9.81928s8.129 2.61009 13.36491 6.28937c.42453.29088.82548.59749 1.20284.9041 2.9167 2.39782 4.36325 5.16514 1.6824 7.9246a19.3845 19.3845 0 0 0-1.91825 2.28776c-.4316.603-.82862 1.23036-1.18712 1.87895-.1651.28302-.31447.5739-.45598.86479-1.79954 3.67928-2.42062 7.82634-1.77674 11.87119l18.45144 25.55057z" fill="#ecb4b6" fill-rule="nonzero"/>
43
- <path d="M129.45194 98.69906a19.3845 19.3845 0 0 0-1.91826 2.28776c-.4316.60299-.82863 1.23035-1.18712 1.87894-.1651.28303-.31447.57391-.45598.8648-6.93717-.37816-13.3539-3.84203-17.47659-9.43406-.09434-.13365-.18868-.25944-.27516-.39309l.27516-.50315c2.88525-5.29093 4.79565-9.81928 4.79565-9.81928s8.129 2.61009 13.36491 6.28937c.42453.29089.82548.5975 1.20284.9041 2.90884 2.39782 4.3554 5.20445 1.67455 7.9246z" fill-opacity=".1" fill-rule="nonzero"/>
44
- <path d="M150.56064 79.52434v.01572c0 12.80437-10.53706 23.34143-23.34143 23.34143h-.9041c-12.48911-.4544-22.51594-10.85231-22.51594-23.3493 0-12.81773 10.54727-23.365 23.365-23.365 12.81775 0 23.36502 10.54727 23.36502 23.365v.00787l.03145-.01572z" fill="#ecb4b6" fill-rule="nonzero"/>
45
- <path d="M130.70981 137.2529s11.79257 6.64315 8.75009 1.03775l-15.34607-22.65746 17.42156 22.39802s11.12433 15.2753 5.03936 25.80214c0 0-.88837 8.7501.14937 10.82558 1.03775 2.0755-.29874 24.17477-.29874 24.17477s-4.15099-3.8601-6.37585-3.14468c-2.22487.71541-17.91685 2.07549-17.91685 2.07549l8.57713-60.51161z" fill="#464353" fill-rule="nonzero"/>
46
- <path d="M136.99918 148.65238c-.69183 7.12272-3.62425 15.6055-3.62425 15.6055s-2.06763 21.06154-4.71703 27.29588c-2.6494 6.23434-1.48586 14.82719-2.96386 30.66068-.5346 5.71547-2.35852 9.63846-4.85854 12.28786-4.0881 4.35539-9.91362 5.26735-14.52059 5.00005l-1.09277-.08648c-7.4136-.739-14.52845-36.47835-14.52845-36.47835s-3.41198-30.40125-2.0755-34.55223c1.3365-4.15099-1.33648-27.8855-2.22486-33.07423-.56604-3.2862 1.13209-8.64789 2.45286-12.16207.78617-2.0126 1.39938-3.41199 1.39938-3.41199s2.52361-8.00322 6.6746-12.1542c1.15567-1.18713 2.7461-1.85459 4.40256-1.84751 1.9552.06997 3.85617.6651 5.5032 1.72172l.18868.12578s26.98926 27.5789 29.505 33.95474c.67612 1.80034.74687 4.34753.47957 7.11485z" fill-opacity=".1" fill-rule="nonzero"/>
47
- <path d="M136.1108 148.18854c-.69182 7.13058-3.62424 15.61337-3.62424 15.61337s-2.0755 21.06153-4.71703 27.288c-2.64153 6.22648-1.48586 14.8272-2.97173 30.66069-.52673 5.7076-2.35851 9.6306-4.85854 12.28786-4.08023 4.35539-9.90576 5.25948-14.51272 4.99218-.37736 0-.73114-.04717-1.09278-.08647-7.4136-.739-14.52844-36.47836-14.52844-36.47836s-3.41199-30.40124-2.0755-34.55223c1.3365-4.15098-1.33649-27.87763-2.22486-33.07423-.56605-3.2862 1.13208-8.64788 2.45285-12.1542.78617-2.02047 1.39939-3.41199 1.39939-3.41199s2.5236-8.01109 6.6746-12.16207c1.1541-1.18476 2.74059-1.85222 4.3947-1.8475 1.95441.07468 3.85459.66903 5.50319 1.72171l.19654.12579s26.98927 27.58675 29.50501 33.9626c.65253 1.81606.74687 4.36325.47957 7.11485z" fill="#6c63ff" fill-rule="nonzero"/>
48
- <path d="M105.8668 256.74309s-6.11642 5.45603-8.23122 5.22804c-2.1148-.228 8.23122-5.22804 8.23122-5.22804zM107.49417 261.97899s-6.4466 2.99531-8.37272 3.44343c-1.92612.44812 5.88842-4.21388 8.37272-3.44343zM110.54452 252.427s-6.10856 26.58046 6.17144 28.24714c12.28 1.66669 8.50638-30.25187 8.50638-30.25187l-14.67782 2.00474z" fill-opacity=".1" fill-rule="nonzero"/>
49
- <path d="M110.0964 251.96316s-6.10855 26.58046 6.1793 28.255c12.28786 1.67455 8.49852-30.25973 8.49852-30.25973l-14.67782 2.00473z" fill="#ecb4b6" fill-rule="nonzero"/>
50
- <path d="M120.60751 140.374c-.62894-15.975-22.98765-19.27692-28.19997-4.1667l-.11006.3066c-3.40412 10.22023-1.92612 36.16388-1.92612 36.16388s.44812 17.39797 2.0755 23.17633c1.62737 5.77836 6.22647 22.39803 6.22647 25.06315 0 2.66512 4.26105 12.90107 6.06138 13.64793 1.80033.74686 2.70443 6.52522 3.14469 7.56297.44025 1.03775 1.76888 14.52845 1.76888 14.52845s16.76117-1.03775 17.05992-3.70287c.29874-2.66512-3.71073-15.72343-3.71073-15.72343s-2.956-5.3381-3.33337-9.63846c-.37736-4.30036-2.74373-6.22648-2.30348-9.19034.44026-2.96387-1.33649-4.44973-1.33649-6.38371s-1.32863-7.11485-1.32863-7.11485-2.82235-2.22487-2.35851-4.88999c.46384-2.66512-4.00162-8.01109-2.8145-9.9372 1.18712-1.92613 1.478-6.6746 1.478-6.6746s1.47015-21.38386 2.4843-27.16222c1.01417-5.77836 7.07555-15.12594 7.07555-15.12594s.0629-.2673.04717-.739z" fill-opacity=".1" fill-rule="nonzero"/>
51
- <path d="M119.91568 234.07777c-4.08023 4.35538-9.90576 5.25948-14.51272 4.99218-.52674-2.02046-1.30505-4.50476-2.445-4.97646-1.80033-.739-6.06138-11.0064-6.06138-13.64007 0-2.63368-4.5991-19.28479-6.22648-25.06315-1.62737-5.77836-2.07549-23.15274-2.07549-23.15274s-1.48586-25.94366 1.92612-36.16389c.03931-.1022.07076-.2044.1022-.31447 5.22018-15.1102 27.57103-11.79257 28.20783 4.17457v.73114s-6.08496 9.33972-7.07554 15.12594c-.99058 5.78622-2.52361 27.13864-2.52361 27.13864s-.29875 4.71702-1.48586 6.6746c-1.18712 1.95756 3.2626 7.27208 2.82235 9.9372-.44025 2.66512 2.35852 4.89784 2.35852 4.89784s1.33649 5.18087 1.33649 7.11486c0 1.93398 1.77674 3.41198 1.33649 6.37585-.44026 2.96386 1.92612 4.88998 2.30348 9.1982a24.11451 24.11451 0 0 0 2.0126 6.94976z" fill-opacity=".1" fill-rule="nonzero"/>
52
- <path d="M119.71914 139.93374c-.6368-15.975-22.98765-19.28478-28.20783-4.1667 0 .1022-.0629.2044-.1022.3066-3.41199 10.22023-1.92612 36.16389-1.92612 36.16389s.44811 17.3901 2.07549 23.17633c1.62737 5.78622 6.20289 22.36657 6.20289 25.03956 0 2.67298 4.26105 12.90107 6.06138 13.64007 1.80033.739 2.70443 6.52522 3.14469 7.56297.44025 1.03774 1.80033 14.5363 1.80033 14.5363s16.76117-1.03774 17.05206-3.71072c.29088-2.67299-3.70287-15.72343-3.70287-15.72343s-2.956-5.3381-3.33337-9.63846c-.37736-4.30036-2.7516-6.23434-2.30348-9.1982.44812-2.96387-1.3365-4.44974-1.3365-6.37586s-1.32862-7.1227-1.32862-7.1227-2.82236-2.22487-2.35852-4.89c.46385-2.66512-4.00947-8.01108-2.82235-9.9372 1.18712-1.92612 1.48586-6.6746 1.48586-6.6746s1.48587-21.35241 2.52361-27.13863c1.03775-5.78622 7.07555-15.12594 7.07555-15.12594s.05503-.25157 0-.72328z" fill="#6c63ff" fill-rule="nonzero"/>
53
- <path d="M83.71249 106.19913c.20047.22956.3522.49686.44812.78617.32783-1.02595.16195-2.14782-.44812-3.03462-.39309-.44812-.97485-.72328-1.32863-1.20284 0-.03931-.04717-.08648-.07862-.12579-.39702.74293-.36636 1.64389.07862 2.35852.35378.51887.93554.78617 1.32863 1.21856zM95.03336 77.39381c0-.8412.0393-1.6824 0-2.51575-.14938-3.02676-.71542-6.13213-.8412-9.16675-.18083 3.71859.65251 7.618.8412 11.39162v.29088z" fill-rule="nonzero"/>
54
- <path d="M173.73697 154.53295l.45598.31447c-.82784-.5692-1.0409-1.71936-.4717-2.5472l20.61341-29.92168c.57233-.82941 1.72486-1.04168 2.55506-.4717l-.46384-.31447c.80897.54796 1.29482 1.46385 1.29482 2.44106 0 .58963-.17767 1.16668-.50865 1.65489l-19.35554 28.0899c-.54482.80661-1.45678 1.2909-2.43006 1.2909-.60456 0-1.19498-.1879-1.68948-.53617z" fill="#464353" fill-rule="nonzero"/>
55
- <path d="M196.52585 121.6438l.47911.33001-22.69098 32.94175-.45968-.31663c-.6183-.4259-.77646-1.28423-.35056-1.90254l21.139-30.68866c.42055-.61054 1.26544-.77413 1.88311-.36394z" fill="#9f9eff" fill-rule="nonzero"/>
56
- <path d="M192.32025 126.13702c.05378-.07735.03471-.18335-.04265-.23713l-.0232-.01613c-.07736-.05378-.18336-.03471-.23714.04265l-1.6652 2.39557c-.05378.07735-.03471.18335.04265.23713l.0232.01613c.07737.05378.18336.03471.23714-.04265l1.6652-2.39557z" fill="#464353"/>
57
- <path d="M153.4852 75.79788c-.3302-1.57234-1.63524-2.77518-2.53148-4.1274-2.24845-3.3884-1.89467-7.8617-.8412-11.79257a8.41365 8.41365 0 0 0 .4717-3.34122c-.30031-1.45206-1.20048-2.7123-2.47644-3.46702-2.7516-1.81606-6.28937-1.83964-9.38688-2.97959-4.4969-1.66668-8.56927-5.7705-13.26271-4.77206-2.56292.54246-4.53621 2.52361-6.75322 3.93086-2.44577 1.54482-5.26105 2.40804-8.1526 2.50002-2.42926.07076-4.88998-.40094-7.27994 0-.43003.07312-.85142.18868-1.25787.34592-2.02282-.69734-4.1502-1.0409-6.28937-1.01416-2.10616-.04796-4.18008.52988-5.95918 1.65882-3.23117 2.2799-4.0881 6.69032-4.04092 10.64476.04717 3.95444.71541 8.01895-.4953 11.79257-1.50158 4.67772-5.7469 8.2548-6.59597 13.09761-.58963 3.2862.50315 6.6117 1.47014 9.81142 2.78305 9.19035 4.62269 19.34768.92768 28.2157-.93554 2.24844-2.35851 4.4733-4.55193 5.5032l7.86171-.46385c.34513 2.31056-1.2673 4.49769-3.57708 4.85068a18.21192 18.21192 0 0 0 5.75478-1.3129c1.85222-.78382 3.20758-2.42692 3.62425-4.3947.14937-1.05347-.07076-2.16198.22013-3.19186.511-1.76102 2.35851-2.73588 3.78148-3.8601 3.82866-2.9796 5.63685-8.00323 5.78622-12.8539.14938-4.85068-1.13995-9.62274-2.51575-14.27688-1.3758-4.65413-2.8538-9.34757-3.07393-14.19039a18.40753 18.40753 0 0 1 .48743-5.28307c.28302.52673.5975 1.0456.91982 1.57234 1.89467 2.89311 4.11168 5.63685 5.27521 8.8916.40645 1.54011.95913 3.03855 1.65096 4.47331.78617 1.3758 2.31134 2.51575 3.89155 2.27204 1.5802-.24371 2.75946-1.94184 3.27833-3.56136.51888-1.6195.74687-3.3884 1.72958-4.77206 1.87109-2.61009 5.6054-2.84594 8.81298-2.7516 6.76108.21227 16.08507 1.24215 21.376-3.93085 1.0063-.98272 1.48586-2.49217 3.0582-2.12267 1.40725.3302 2.19343 2.61796 3.69501 3.14469 2.41355.77045 5.53465-1.52517 4.9686-4.24533z" fill="#464353" fill-rule="nonzero"/>
58
- <path d="M85.72509 61.87479c0 .51101-.03931 1.02988 0 1.53303 0 1.65096.1415 3.31765.19654 4.97647.04717-2.14625-.12579-4.33967-.19654-6.5095zM83.04424 113.825c.2044-6.10856-1.18712-12.41365-2.97173-18.32566a34.98924 34.98924 0 0 1-1.57234-6.52522c-.3302 3.06606.65252 6.14786 1.57234 9.11958a63.14764 63.14764 0 0 1 2.97173 15.7313zM149.34207 64.18613a23.36905 23.36905 0 0 1 .78617-4.30822 8.41365 8.41365 0 0 0 .4717-3.34122c-.03065-.20048-.07782-.3978-.1415-.58963-.09434.44812-.21227.89623-.3302 1.34435-.65566 2.23587-.92139 4.56844-.78617 6.89472z" fill-rule="nonzero"/>
59
- </g>
60
- <g>
61
- <path d="M590.46 285.225c0-29.872-24.253-54.125-54.125-54.125h-327.2c-29.872 0-54.125 24.253-54.125 54.125s24.253 54.125 54.125 54.125h327.2c29.872 0 54.125-24.253 54.125-54.125z" fill="url(#_Linear3)" transform="matrix(.74209 0 0 .74209 82.6893 -118.21955)"/>
62
- <path d="M519.95786 93.45023c0-21.17255-17.18975-38.3623-38.36229-38.3623H237.8861c-21.17254 0-38.3623 17.18975-38.3623 38.3623 0 21.17254 17.18976 38.36229 38.3623 38.36229h243.70947c21.17254 0 38.3623-17.18975 38.3623-38.3623z" fill="#fff"/>
63
- <path d="M481.47507 74.20377c0-2.27187-1.84484-4.11654-4.11672-4.11654H286.10373c-2.27243 0-4.11672 1.84467-4.11672 4.11654v8.2335c0 2.2723 1.84429 4.11696 4.11672 4.11696h191.25462c2.27188 0 4.11672-1.84466 4.11672-4.11696v-8.2335z" fill="#3f3d56"/>
64
- <path d="M481.47507 92.97174c0-1.51458-1.23008-2.74436-2.74448-2.74436h-193.9991c-1.51496 0-2.74448 1.22978-2.74448 2.74436v5.489c0 1.51486 1.22952 2.74464 2.74448 2.74464h193.9991c1.5144 0 2.74448-1.22978 2.74448-2.74464v-5.489z" fill="#6c63ff"/>
65
- <path d="M342.52958 107.99765c0-1.51458-1.2299-2.74436-2.7445-2.74436H284.7312c-1.51476 0-2.74449 1.22978-2.74449 2.74436v5.489c0 1.51486 1.22973 2.74464 2.7445 2.74464h55.05389c1.5146 0 2.74449-1.22978 2.74449-2.74464v-5.489z" fill="#9795b1"/>
66
- <g serif:id="text" fill-rule="nonzero">
67
- <path d="M358.77597 113.96639c.59162 0 .87847-.11695 1.16532-.26892l-.30477-.94123c-.19721.09875-.41235.15267-.55578.15267-.26892 0-.38545-.17998-.38545-.55605v-1.86495h1.19222v-.96783h-1.19222v-1.55961l-1.16533.12536v1.43425h-.51991v.96783h.51991v2.02602c0 .98605.49303 1.45246 1.246 1.45246zM362.81855 109.44864c-.51964 0-.9948.25072-1.32647.71713h-.00897v-.6457h-1.17429v4.37489h1.1743v-2.03512c0-.6457.39441-1.13872 1.12043-1.13872.06303 0 .18839 0 .30464.0091v-1.27317c-.0175-.0084-.05323-.0084-.08964-.0084zM366.07292 109.52008v2.12476c0 .84248-.4573 1.27247-.96854 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.63529c0 1.3362.6632 1.81102 1.60443 1.81102.49302 0 .96853-.2066 1.29978-.60998h.01821v.53855h1.17443v-4.37488h-1.17443zM369.36231 113.96639c1.14782 0 1.70317-.58266 1.70317-1.36282 0-.85999-.55535-1.06658-1.50568-1.41604-.4307-.16107-.6632-.28713-.6632-.46641 0-.2332.24161-.33125.43-.33125.32284 0 .70802.14356 1.04907.46571l.56446-.86069c-.49303-.38517-.98605-.54625-1.59533-.54625-.8964 0-1.57781.51964-1.57781 1.3089 0 .84248.62748 1.18283 1.3446 1.42514.57357.17928.79767.27803.79767.48392 0 .215-.19679.35856-.53784.35856-.47482 0-.85159-.17017-1.21015-.51123l-.57356.81587c.48392.41249 1.07569.63659 1.7746.63659zM372.8765 113.96639c.59177 0 .8782-.11695 1.16533-.26892l-.30464-.94123c-.19749.09875-.41248.15267-.55605.15267-.26892 0-.38517-.17998-.38517-.55605v-1.86495h1.19194v-.96783h-1.19194v-1.55961l-1.16533.12536v1.43425h-.52034v.96783h.52034v2.02602c0 .98605.49302 1.45246 1.24586 1.45246z" fill="#1d58bf"/>
68
- <path d="M376.92854 109.44864c-.53784 0-.99515.1968-1.3271.57356h-.01751v-.50212h-1.17443v6.14948h1.17443v-2.26763h.0175c.30465.35787.73534.56446 1.2907.56446 1.21925 0 2.09744-.8964 2.09744-2.25012 0-1.3264-.8873-2.26763-2.06103-2.26763zm-.25141 3.46867c-.6366 0-1.13872-.47481-1.13872-1.19194 0-.69891.46641-1.22835 1.13872-1.22835.62748 0 1.1205.47551 1.1205 1.22835 0 .70803-.4573 1.19194-1.1205 1.19194zM382.3427 109.52008v2.12476c0 .84248-.45732 1.27247-.96855 1.27247-.54694 0-.78855-.26892-.78855-1.07568v-2.32155h-1.16533v2.63529c0 1.3362.6632 1.81102 1.60443 1.81102.49302 0 .96853-.2066 1.29978-.60998h.01821v.53855h1.17443v-4.37488h-1.17443zM384.26997 107.29727h1.17429v6.59755h-1.1743zM387.649 113.96639c1.14782 0 1.70317-.58266 1.70317-1.36282 0-.85999-.55535-1.06658-1.50568-1.41604-.43-.16107-.6632-.28713-.6632-.46641 0-.2332.2416-.33125.42999-.33125.32285 0 .70802.14356 1.04907.46571l.56446-.86069c-.49302-.38517-.98605-.54625-1.59532-.54625-.8964 0-1.57782.51964-1.57782 1.3089 0 .84248.62749 1.18283 1.34461 1.42514.57356.17928.79766.27803.79766.48392 0 .215-.19679.35856-.53784.35856-.47482 0-.85159-.17017-1.21015-.51123l-.57356.81587c.48392.41249 1.07569.63659 1.7746.63659zM393.8433 111.66235c0-1.28158-.86069-2.2137-2.14227-2.2137-1.24586 0-2.16958.92301-2.16958 2.24941 0 1.37192.96854 2.26833 2.25012 2.26833.8782 0 1.51478-.34946 1.89155-.82497l-.76194-.70802c-.24231.29553-.58266.50212-1.04908.49302-.56445 0-.97694-.32285-1.1205-.84248h3.07509c.02661-.07214.02661-.27803.02661-.4216zm-2.10655-1.18284c.51123 0 .82497.30464.94122.76195h-1.92727c.13446-.50213.51123-.76195.98605-.76195z" fill="#00aded"/>
69
- </g>
70
- <g serif:id="mark">
71
- <path d="M352.85905 108.04074c-.38986-.10526-.77052-.2453-1.1363-.42481-.31035-.15228-.6097-.32576-.90303-.50838a4.2806 4.2806 0 0 1-.01708.01057c-.77208.47911-1.59296.8661-2.50489 1.03732-.32904.06177-.66185.10054-.99532.12898l-.01063.0009c-.08214 1.83573.04032 3.72787 1.01521 5.302.59423.95948 1.51363 1.67797 2.48732 2.27519l.0254.01547c.39846-.2435.78981-.50319 1.15398-.79322h.82668c-.58593.55145-1.2694 1.0136-1.96424 1.42616-.03256-.02228-.03286 0-.03286 0-.87644-.52039-1.7297-1.09562-2.39376-1.8594-.4511-.51877-.80828-1.11491-1.0657-1.76016-.64686-1.62152-.68784-3.42667-.57505-5.12154.71687-.04271 1.44492-.1116 2.13115-.33287.67679-.21823 1.30011-.5806 1.90217-.97149l.01762-.01147c.01171.00765.02342.01524.03519.02288.75935.4919 1.56972.92603 2.4621 1.11206a6.70183 6.70183 0 0 0 .1536.0301l-.61156.4217zm-.18137 6.31962h-1.1348c-.18968-.00807-.20247-.10413-.20647-.19786-.00472-.11148.06757-.20945.20646-.21536h.97722l.30892-1.12616s.05962-.13943.17945-.15096c.09583-.00926.1782.03119.21793.14708l.46675 1.57934.28591-.89855s.09248-.1638.23932-.13955c.08005.0205.08328.0242.1297.088l.33233.5008h.79573c.00095.00012.14767.01995.1917.12957.05096.12677-.02969.27677-.1917.28365h-.90661c-.09857-.00407-.1267-.0297-.17211-.09236l-.15532-.234-.35934 1.1295s-.06332.13453-.18149.14337c-.09444.00705-.1745-.03334-.21357-.1475l-.45205-1.52963-.15872.5787s-.0721.14636-.19924.15192zm2.22393-6.01943c.04015.9777.0101 1.9569-.15741 2.92342-.07635.44076-.24278 1.04897-.38855 1.47276l-.52451-.1705c.4453-1.17472.553-2.4526.53371-3.70332l.53676-.52236z" fill="#00aded" fill-rule="nonzero"/>
72
- <path d="M350.61249 110.85644c.03129-.03568.03941-.0591.08606-.12694.26903-.39144 1.06591-1.44674 2.07849-2.25845.44062-.35324.91685-.67437 1.33812-.88486.70209-.35082.92816-.39358 1.25422-.46955.06193-.01441.2862-.05444.32341.03392.0359.0853-.10399.1752-.15648.21644-.059.04636-1.40842 1.05544-2.54368 2.55402-.98784 1.3039-1.63429 3.0147-1.63429 3.0147-.01986.038-.24452.43948-.54593.45903-.27857.01811-.63633-.34424-.63633-.34424-.06877-.06416-.40417-.4622-.68325-.95451-.35593-.6277-.66242-1.37177-.66242-1.37177s-.31817-.62588.28165-.9701c.5914-.33942.85484.00518.9832.20863.10969.17387.33069.59623.4375.80282.0372.07196.06126.11187.07973.09086z" fill="#1d58bf" fill-rule="nonzero"/>
73
- </g>
74
- <circle cx="88.506" cy="368.331" r="25.699" fill="#d1ceff" transform="matrix(1.24682 0 0 1.24682 129.07388 -366.05644)"/>
75
- <g>
76
- <path d="M234.79674 84.79714c-1.28828-2.16885-1.71512-4.93991-.9589-7.68538 1.39849-5.07719 6.31648-8.15732 10.97562-6.87399 4.65914 1.28333 7.30636 6.44725 5.90788 11.52444-.75623 2.74547-2.54175 4.90715-4.75888 6.11045 1.49218-1.30605 2.69147-3.18496 3.30831-5.42442 1.39844-5.07703-.7234-10.09624-4.73528-11.20128-4.01188-1.10505-8.40432 2.11984-9.80276 7.19687-.61684 2.23946-.54878 4.46745.06401 6.35331z" fill="#4a41df"/>
77
- <path d="M229.64312 76.9581l-2.53994-.31092-6.8431 32.05372 1.20438 2.33146 8.17866-34.07426z" fill="#342ada" fill-rule="nonzero"/>
78
- <path d="M228.85059 76.4124l-7.36407 34.43978 26.80343 5.5183 7.25622-33.5587-26.69558-6.39939z" fill="#6c63ff" fill-rule="nonzero"/>
79
- <path d="M229.98862 101.50522l2.56138-1.89507c.5772.91783 1.27595 1.6768 2.09644 2.27698.82035.59994 1.655 1.005 2.5042 1.21503.83984.20772 1.56523.18376 2.17584-.07218.6108-.2559.99734-.71234 1.15992-1.3697.09259-.37434.10476-.71773.03673-1.03012-.06809-.31219-.23693-.61809-.50703-.91741-.2699-.29928-.58302-.5801-.9395-.8427-.35648-.26262-.83858-.57552-1.44626-.9389-.48892-.29537-.89628-.54866-1.22182-.76-.32555-.21136-.69053-.46883-1.095-.77225-.40465-.30346-.73193-.5855-.98246-.8461-.25034-.26054-.49876-.56897-.74482-.92538-.24605-.35642-.42252-.71009-.52958-1.06106-.10687-.35093-.16607-.74835-.17745-1.19202-.01143-.44348.04273-.90732.1624-1.39112.35454-1.4335 1.11368-2.51479 2.2775-3.24424 1.16382-.72945 2.58533-.96402 4.26492-.70362l.8739-3.53332 2.53356.62663-.90776 3.67024c.82439.38805 1.61423.87648 2.36954 1.4653.7555.58885 1.3814 1.21118 1.87813 1.86687l-2.49302 1.91197c-.6086-.7123-1.27213-1.30032-1.99062-1.76387-.7185-.46355-1.4156-.77878-2.09125-.94589-.82173-.20324-1.51227-.19235-2.07161.03265-.55949.22477-.91604.64771-1.06962 1.26864-.149.60242-.00324 1.1496.43693 1.64125.44041.4915 1.20656 1.07575 2.29863 1.75282.42956.26126.79095.48395 1.0846.66798.29366.18403.61867.39752.975.64067.35653.2432.64852.46319.87598.66.2275.1966.46861.42592.72363.68762.25501.2617.4553.50985.6007.74423.14536.23458.28302.50114.41258.7996.1295.29866.21188.6024.24686.91136.03499.30896.04162.64481.01971 1.0075-.02196.36288-.08255.74493-.18193 1.14674-.36583 1.47908-1.13688 2.57932-2.31318 3.30073-1.17635.7216-2.61108.97956-4.30402.77394l-.82982 3.3551-2.53356-.62663.83324-3.36893c-2.09857-.83857-3.7558-2.24653-4.97201-4.22334z" fill="#fff" fill-rule="nonzero"/>
80
- </g>
81
- </g>
82
- <g transform="matrix(.9544 0 0 .9544 -317.20694 -197.00686)">
83
- <path d="M926.79 654.4s-3.59 21.65-21.79 24.86c-18.2 3.21-78.94 2.56-78.94 2.56s-34.73-5-47.29-34.34c-12.56-29.34-20.63-41-9.87-41.53 10.76-.53 68.82 19.61 72.15 19.87 3.33.26 88.94-44.6 85.74 28.58z" fill="#65617d" fill-rule="nonzero"/>
84
- <path d="M926.79 654.4s-3.59 21.65-21.79 24.86c-18.2 3.21-78.94 2.56-78.94 2.56s-34.73-5-47.29-34.34c-12.56-29.34-20.63-41-9.87-41.53 10.76-.53 68.82 19.61 72.15 19.87 3.33.26 88.94-44.6 85.74 28.58z" fill-opacity=".05" fill-rule="nonzero"/>
85
- <path d="M763.9 678.49s1.81 4.77 6.8 5.12c.732.052 1.468.011 2.19-.12 6.67-1.16 22.3-3.85 27.81-2.82 3.32.61 9.45-.3 13.82-1.12 2.9-.55 5-1.06 5-1.06s-5.12-17-5.77-17.56c-.65-.56-23.06-14-23.06-14l-17.79-1.24c-2.379.367-4.528 1.635-6 3.54-1.87 2.27-3.48 6-3.59 12.1-.31 14.98.59 17.16.59 17.16z" fill="#3f3d56" fill-rule="nonzero"/>
86
- <path d="M763.9 678.49s1.81 4.77 6.8 5.12a73.811 73.811 0 0 1-4.82-7l.09-12.43c-.728-6.907 1.874-13.764 7-18.45h-.07s-9.35.64-9.61 15.64c-.26 15 .61 17.12.61 17.12z" fill-opacity=".05" fill-rule="nonzero"/>
87
- <path d="M840.9 651.32l16.53-12.94 26-25.63s-2.81-.14-7.05-.32c-1 .67-4 2.78-4.12 5.35-.12 3.14-7 .22-10.62 2-3.62 1.78-21.1 24.28-24.18 24.12-3.08-.16-5.51-1.56-6.79.62l-.09.14 10.32 6.66z" fill-opacity=".1" fill-rule="nonzero"/>
88
- <path d="M731.99 612.49c1.67 4.1 15.64 19.86 15.64 19.86s8.84 11.54 21.4 16.92c12.56 5.38 28.06 16.66 29.22 18.71.74 1.32 10.75 7.35 17.8 11.49l1.58.92 3.5 2 1.85 1.07s4.29-3.45 8.57-6.92c4.28-3.47 8.41-6.86 8.48-7 .12-.38 1.79-4.74 1.4-5-.2-.13-1.08-1.91-2.69-4-1.723-2.287-3.96-4.137-6.53-5.4-5.9-2.69-8.46-8.82-8.46-8.82s-.56-.4-1.41-.94c-1.747-1.208-3.704-2.079-5.77-2.57-2.82-.35-8.07-6.12-8.07-6.12s-3.59-2.31-5-5.25c-1.41-2.94-21.22-16.46-23.06-17.73l48.18 30.95 11.53 7.41 16.54-12.94 26-25.63s-3.5-.17-8.58-.39c-12.65-.55-35.1-1.41-37.94-.77-2.292.536-4.657.692-7 .46-2.343-.232-6.4.29-10.63-1.94s-10.9-3.28-11.67-4.93c-.77-1.65-23.45-9.61-23.45-9.61s-30.88-16.4-41.91-6.66c-11.03 9.74-11.18 18.73-9.52 22.83z" fill="#65617d" fill-rule="nonzero"/>
89
- <path d="M831.57 518.43l4 13.19 5.13 29.74 18.83 1.28 5.46-9 5.44-9s3.39-12 5.83-23.64c2.15-10.28 3.56-20.26 1.22-21.34-2.08-1-3.45-4.43-4.34-8.15-.11-.46-.22-.93-.31-1.39-.624-3.156-1.042-6.35-1.25-9.56-.208-3.21-39.47-2.05-34 14.23.987 2.777 1.491 5.703 1.49 8.65-.01.735-.056 1.469-.14 2.2-.567 5.099-3.236 9.738-7.36 12.79z" fill="#ee8e9e" fill-rule="nonzero"/>
90
- <path d="M823.36 516.25l1.42 22.42 3.2 19.1 3.59 8.84 3.2 48.38s30.9 3.57 38.42-.06c.54-.231 1.009-.6 1.36-1.07 9.07-13.7 6.1-53.4 6.1-53.4l3.46-25.63-2.31-13.3-5.57-.6-4.29-.45s-1 1.19-2.37 3c-3.8 5-10.79 14.88-10.32 19 .64 5.64-.77 11.4-3 12.3-2.23.9-4 2.44-4.35.9-.35-1.54-.77-1.92-.39-4.1.38-2.18-1.67-8.85-1.67-8.85s-3.46-7.81-3.2-11.15c.26-3.34-.38-7.17-1.41-8.07-1.03-.9-2.43-1.79-1.28-5.89 1.15-4.1-5.05-12.05-5.05-12.05l-15.54 10.68z" fill="#e3e8f4" fill-rule="nonzero"/>
91
- <path d="M872.9 490.58s6.46.8 8.51 3.5 7.43 3.07 7.43 3.07 6.15 2 6 2.56c-.15.56 1.79 1.29 5.63 2.31s10.26 4.74 10.26 5.64c0 .9 10.17 10.89 10.17 11.92 0 1.03 3.08 4.87 2.69 11.66-.39 6.79-.77 15.38.77 16.79 1.54 1.41 0 6.92 0 6.92-.844 1.22-.895 2.829-.13 4.1 1.28 2.31-.25 11.92-.25 11.92l.12 10s-1.41 6.28.26 6.54c1.67.26-.26 3.08-.26 3.08s-1.41 5.12.39 7.43c1.8 2.31 2.31 12.17 2.31 12.17l27.42 39.86s.39 7.3-8.33 7.18c-8.72-.12-8.59 1.66-8.33 3.33.26 1.67-2.43 3.46-2.43 3.46s-3.46 1.79-1.41 4 7.94 7.18-1.8 10.51c-1.148-1.587-2.095-3.31-2.82-5.13-.826-2.262-1.511-4.573-2.05-6.92-.539-2.347-.9-9.74-2.69-11-1.79-1.26-1.54-7.43-1.54-7.43s2.57-5-1-7.05-55.62-30.89-55.62-30.89l-1.3-38.37s-.9-28.32 4.48-37.81c0 0-.64-4.1.26-6.41.9-2.31-.13-9.74-.13-9.74l3.39-27.2zM838.9 505.57s-12.88-2.65-16.34-.86c-3.46 1.79-10.22 3.19-11.24 4.19-1.02 1-3.59.26-5.9 6.28-2.31 6.02-2.56 12.18-5.51 15-2.95 2.82-4.48 4.74-4.61 6.79-.13 2.05.38 2.56-.77 3.2-1.15.64-2.82 3.33-2.31 4.36.51 1.03 26.68 23.62 26.68 23.62s1.28 8.58 2.44 10.76c1.16 2.18-1.29 32.17-3.85 34.22-2.56 2.05 17.3 1.86 17.3 1.86s.9-19.67 1.67-20.7c.77-1.03-.52-22-.52-22s-.12-17.94 1.54-22.68c1.66-4.74 1.42-20.55 1.42-20.55s1.47-9.46 3.26-11.66c1.79-2.2-3.26-11.83-3.26-11.83z" fill="#3f3d56" fill-rule="nonzero"/>
92
- <path d="M837.59 494.72c.987 2.777 1.491 5.703 1.49 8.65 12.923 3.846 26.914-1.681 33.72-13.32-.624-3.156-1.042-6.35-1.25-9.56-.208-3.21-39.47-2.05-33.96 14.23z" fill-opacity=".1" fill-rule="nonzero"/>
93
- <path d="M818.11 474.47c.002 16.099 13.251 29.346 29.35 29.346 16.101 0 29.35-13.249 29.35-29.35s-13.249-29.35-29.35-29.35c-13.809 0-25.842 9.746-28.71 23.254-.426 2.005-.64 4.05-.64 6.1z" fill="#ee8e9e" fill-rule="nonzero"/>
94
- <path d="M799.27 542.39l-7 2.18s.65 2.56-1.41 3.84c-1.233.876-1.915 2.342-1.79 3.85s-.77 2.82-2.56 3.46c-1.79.64-2.95 4.87-2.95 4.87l-5.9 6.79s-2.17 1.79-1.79 2.69c.38.9-2.31 1.15-2.31 1.15l1.34 22.82 12.18 2.3 7.56-.77 6.15-2.3 5.38-3.21 2.44-6.28 10.76-16.4-20.1-24.99z" fill="#3f3d56" fill-rule="nonzero"/>
95
- <path d="M775.31 573.02s-15.64-22.56-27.3-10.38c-11.66 12.18 4.74 31.91 8.59 31.27 3.85-.64 22.17-1.67 22.17-1.67l-3.46-19.22z" fill="#ee8e9e" fill-rule="nonzero"/>
96
- <path d="M813.29749 565.70272c.40506-.7936.08977-1.76626-.70383-2.17132L742.58372 527.798c-.7936-.40506-1.76625-.08978-2.17131.70383l-27.41856 53.71923c-.40506.7936-.08978 1.76626.70383 2.17132l70.00993 35.73341c.7936.40506 1.76626.08978 2.17132-.70383l27.41856-53.71923z" fill="#3f3d56"/>
97
- <path fill="#16bd83" d="M744.3983 535.1576l61.2616 31.26821-23.56254 46.16441-61.2616-31.26821z"/>
98
- <circle cx="730.3" cy="557" r="1.13" fill="#e6e8ec"/>
99
- <circle cx="796.61" cy="590.97" r="1.86" fill="#e6e8ec"/>
100
- <path d="M765.18 577.76c-.12 16.92 34.86 20.5 34.86 20.5l8.94 1.42 4 .64 1.67-16.54s-1.83-.27-4.12-.8c-3.39-.79-7.78-2.16-8.7-4.07-1.53-3.2-36.52-18.07-36.65-1.15z" fill="#ee8e9e" fill-rule="nonzero"/>
101
- <path d="M855.96 486.61c-.143-.605-.143-1.235 0-1.84.327-1.764-.117-3.585-1.22-5-1.65-1.86-4.42-2-6.88-2.34-2.46-.34-5.3-1.26-6-3.64-.51-1.71.26-3.8-.84-5.21-.508-.575-1.166-.997-1.9-1.22-1.797-.814-3.819-.99-5.73-.5-3.27 1.06-5.24 4.91-8.65 5.39-.516.097-1.05.034-1.53-.18-1.29-.64-1.34-2.5-2.33-3.55-1.56-1.65-4.51-.58-6.42-1.81-1.24-.8-1.72-2.36-2.07-3.79-.67-2.79-1.22-5.71-.56-8.5 1.11-4.77 5.37-8 8.09-12.11 2.54-3.79 4-8.59 7.77-11.11 3.77-2.52 8.7-1.94 13-.66 1.982.698 4.019 1.23 6.09 1.59 3.46.43 6.94-.51 10.43-.63 4.923-.155 9.763 1.315 13.77 4.18.903.592 1.67 1.37 2.25 2.28.581 1.287.92 2.67 1 4.08.412 2.651 1.332 5.198 2.71 7.5 1.07 1.8 2.43 3.43 3.4 5.3 1.083 1.827 1.413 4.005.92 6.07-.33 1.05-1 2-1.23 3.09-.57 2.5 1.08 4.89 2.21 7.2 1.089 2.106 1.606 4.461 1.5 6.83-.13 2.384-1.247 4.61-3.08 6.14-1.898 1.334-4.17 2.035-6.49 2-2.811.086-5.614-.345-8.27-1.27-.983-.445-2.064-.631-3.14-.54-1.49.3-1.3 1.22-1.94 2.32-.86 1.56-4.18 1.85-4.86-.07z" fill="#3f3d56" fill-rule="nonzero"/>
102
- <path d="M840.15 652.09l16.54-12.94 26-25.63s-3.5-.17-8.58-.39c-1.009.909-1.655 2.152-1.82 3.5-.12 3.13-7 .22-10.62 2-3.62 1.78-21.13 24.27-24.21 24.13-3.08-.14-5.51-1.56-6.79.62l-.09.14c-.525.591-1.226.998-2 1.16l11.57 7.41z" fill-opacity=".1" fill-rule="nonzero"/>
103
- <path d="M806.83 651.19l8.31 26.52 1.3 4.16 4-1.08 8.72-2.4L868 667.72c4.882-.211 9.66-1.484 14-3.73 7.346-4.108 15.751-5.939 24.14-5.26 5.13.48 10.84-1.73 15.58-10.49 0 0 10.76-31.78-16.41-40.88-27.17-9.1-28.46 4.84-28.46 4.84l-.37.23c-1 .67-4 2.78-4.12 5.35-.12 3.14-7 .22-10.62 2-3.62 1.78-21.2 24.28-24.28 24.12-3.08-.16-5.51-1.56-6.79.62l-.09.14c-.95 1.31-3.81 1.61-5.69 1.67h-1.78l-.24.07-2 .59-14.04 4.2z" fill="#65617d" fill-rule="nonzero"/>
104
- <path d="M913.46 519.83s11.92-3.46 9 30.38c-2.92 33.84-25 55.23-25 55.23s-25.38 11.15-36.78 9.36c-11.4-1.79-19.78-2.18-19.78-2.18a28.99603 28.99603 0 0 0-11.53-3.08c-6.41-.25-19.86-4.23-20.12-5.51-.26-1.28 3.33-20.12 1.79-21.53 0 0 17.94.74 19.74 2 1.8 1.26 4.36.36 6.28 0s7.82-5.5 19.48-1c0 0 4 .38 5.51-.64 1.51-1.02 4-.26 4-.26.987-.339 1.923-.814 2.78-1.41.38-.51 3.46 0 3.46 0 .186.091.391.139.598.139.626 0 1.174-.431 1.322-1.039.409-1.049 1.021-2.007 1.8-2.82.779-.813 3.46-19.48 10-26.78 0 0 1.93-1.67 1.41-3.72-.52-2.05 10.66-31.24 26.04-27.14z" fill="#3f3d56" fill-rule="nonzero"/>
105
- <path d="M820.9 646.98l16.92 20.48c.07-.06.11-.1.11-.12.13-.38 1.79-4.74 1.41-5-.38-.26-3.33-6.67-9.23-9.36-2.992-1.465-5.505-3.756-7.24-6.6l-1.97.6z" fill-opacity=".1" fill-rule="nonzero"/>
106
- <path d="M835.28 688.9l2.44 1.41 24.73.64c2.776 1.684 5.71 3.094 8.76 4.21.405.128.82.221 1.24.28 2.292.179 4.593.222 6.89.13 1.9 0 3.36-.13 3.36-.13s-1.17-31.2-2-34.48c-.42-1.57-2.5-1.22-4.54-.44-1.536.623-3.018 1.372-4.43 2.24-1.412.868-10.51 1-12.18 1.93-1.67.93-6.4-.52-9.35 0-2.95.52-8.2-3.47-8.2-3.47-14.36-4.74-6.28 4.1-5.26 4.48 0 0-14-3.2-14.73 12-.73 15.2 13.27 11.2 13.27 11.2z" fill="#3f3d56" fill-rule="nonzero"/>
107
- <path d="M871.04 676.82c.27 6.46 5.3 14.48 8.3 18.72 1.9 0 3.36-.13 3.36-.13s-1.17-31.2-2-34.48c-.42-1.57-2.5-1.22-4.54-.44-2.53 4.65-5.34 11.13-5.12 16.33z" fill="#565387" fill-rule="nonzero"/>
108
- <path d="M871.04 676.82c.27 6.46 5.3 14.48 8.3 18.72 1.9 0 3.36-.13 3.36-.13s-1.17-31.2-2-34.48c-.42-1.57-2.5-1.22-4.54-.44-2.53 4.65-5.34 11.13-5.12 16.33z" fill-opacity=".1" fill-rule="nonzero"/>
109
- <path d="M866.81 677.68c1.7 6.23 1.68 13.22 4.4 17.45.405.128.82.221 1.24.28 2.292.179 4.593.222 6.89.13 1.9 0 3.36-.13 3.36-.13s-1.17-31.2-2-34.48c-.42-1.57-2.5-1.22-4.54-.44-1.536.623-3.018 1.372-4.43 2.24-1.412.868-7.1 6.97-4.92 14.95z" fill-opacity=".05" fill-rule="nonzero"/>
110
- <path d="M781.48 614.45s12.29 4 22.7 18.16l-22.7-18.16z" fill-opacity=".1" fill-rule="nonzero"/>
111
- <path d="M881.31 460.67c0 .1 0 .19-.07.28-.124.364-.268.721-.43 1.07.126-.464.294-.916.5-1.35z" fill-rule="nonzero"/>
112
- <path d="M883.3 557.03c-2.35 3.17-5 6.1-7.11 9.45-2.11 3.35-3.54 7.27-3.11 11.19 2.15-2.2 3.13-5.25 4.49-8 2.29-4.68 5.72-8.65 8.62-13 .55-.82 4.09-5.57 2.3-5.8-1.48-.17-4.39 5.08-5.19 6.16z" fill-opacity=".1" fill-rule="nonzero"/>
113
- </g>
114
- <defs>
115
- <linearGradient id="_Linear1" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
116
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
117
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
118
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
119
- </linearGradient>
120
- <linearGradient id="_Linear3" x2="1" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-90 356.05 -16.69) scale(108.26)">
121
- <stop offset="0" stop-color="gray" stop-opacity=".24706"/>
122
- <stop offset=".54" stop-color="gray" stop-opacity=".11765"/>
123
- <stop offset="1" stop-color="gray" stop-opacity=".09804"/>
124
- </linearGradient>
125
- </defs>
126
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/logo-edd.png DELETED
Binary file
assets/images/logo-formidable.png DELETED
Binary file
assets/images/memberpress-logo.svg DELETED
@@ -1,76 +0,0 @@
1
- <?xml version="1.0" encoding="utf-8"?>
2
- <!-- Generator: Adobe Illustrator 20.1.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="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
5
- viewBox="0 0 252 40" style="enable-background:new 0 0 252 40;" xml:space="preserve">
6
- <style type="text/css">
7
- .st0{fill:#20D1CC;}
8
- .st1{fill:#05D0E0;}
9
- .st2{fill:#01A9B2;}
10
- .st3{fill:#0282C9;}
11
- .st4{fill:#016BB1;}
12
- .st5{fill:#06429E;}
13
- .st6{fill:#01569A;}
14
- .st7{fill:#008C9D;}
15
- .st8{fill:#03ABA3;}
16
- </style>
17
- <g>
18
- <g>
19
- <path class="st0" d="M48,17.5c0-4.1,3.3-7.4,7.4-7.4s7.4,3.3,7.4,7.4V35c0,2.8,2.3,5,5,5c2.8,0,5-2.3,5-5V17.5
20
- C72.9,7.8,65.1,0,55.4,0C50.6,0,46.2,2,43,5.2C46.1,8.4,48,12.7,48,17.5L48,17.5z"/>
21
- <path class="st1" d="M38,17.5c0-4.8,1.9-9.1,5-12.3C39.8,2,35.4,0,30.6,0c-4.9,0-9.3,2-12.4,5.2c3.1,3.1,5,7.5,5,12.2
22
- c0-4.1,3.3-7.4,7.4-7.4C34.7,10.1,38,13.4,38,17.5L38,17.5z"/>
23
- <path class="st2" d="M48,35V17.5c0-4.8-1.9-9.1-5-12.3c-3.1,3.2-5,7.5-5,12.3V35c0,1.4,0.6,2.6,1.5,3.6c0.9,0.9,2.2,1.5,3.6,1.5
24
- C45.8,40,48,37.7,48,35z"/>
25
- <path class="st3" d="M5.7,0c-2.8,0-5,2.3-5,5c0,2.8,2.3,5,5,5c4.1,0,7.4,3.3,7.4,7.4c0-4.8,1.9-9.1,5-12.2C15,2,10.6,0,5.7,0z"/>
26
- <path class="st4" d="M13.1,17.4C13.1,17.4,13.1,17.4,13.1,17.4l0,17.5c0,2.8,2.3,5,5,5c0.9,0,1.7-0.2,2.4-0.6
27
- c1.6-0.9,2.6-2.5,2.6-4.4V17.5c0,0,0,0,0,0c0-4.8-1.9-9.1-5-12.2C15,8.4,13.1,12.7,13.1,17.4z"/>
28
- </g>
29
- <circle class="st5" cx="5.7" cy="5" r="5"/>
30
- <circle class="st6" cx="18.1" cy="35" r="5"/>
31
- <circle class="st7" cx="43" cy="35" r="5"/>
32
- <circle class="st8" cx="67.9" cy="35" r="5"/>
33
- </g>
34
- <g>
35
- <path class="st5" d="M101,15.6c-1.8,0-3.6,0.8-4.5,2.8c-0.6-2.1-2.3-2.8-4.3-2.8c-1.5,0-3,0.6-3.8,2.1c0,0,0-0.8,0-0.8
36
- c0-0.6-0.5-1.1-1.1-1.1c-0.6,0-1.1,0.5-1.1,1.1c0,0,0,10.9,0,10.9c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1h0v-6.5
37
- c0-2.1,1.4-3.7,3.5-3.7c2.3,0,3.5,1.6,3.5,3.7v6.5h0c0,0.6,0.5,1.1,1.1,1.1s1.1-0.5,1.1-1.1v-6.5c0-2.1,1.4-3.7,3.5-3.7
38
- c2.3,0,3.4,1.5,3.4,3.7v6.5h0c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1v-6.5C106.4,17.8,104.5,15.6,101,15.6z"/>
39
- <path class="st5" d="M138.3,15.6c-1.8,0-3.6,0.8-4.5,2.8c-0.6-2.1-2.3-2.8-4.3-2.8c-1.5,0-3,0.6-3.8,2.1c0,0,0-0.8,0-0.8
40
- c0-0.6-0.5-1.1-1.1-1.1c-0.6,0-1.1,0.5-1.1,1.1c0,0,0,10.9,0,10.9c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1h0v-6.5
41
- c0-2.1,1.4-3.7,3.5-3.7c2.3,0,3.5,1.6,3.5,3.7v6.5h0c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1v-6.5c0-2.1,1.4-3.7,3.5-3.7
42
- c2.3,0,3.4,1.5,3.4,3.7v6.5h0c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1v-6.5C143.7,17.8,141.9,15.6,138.3,15.6z"/>
43
- <path class="st5" d="M120.5,23.1c0.5,0,1-0.4,1-1c0-4.5-2.8-6.6-6.5-6.6c-3.9,0-6.7,2.8-6.7,6.7c0,4.1,2.8,6.7,6.8,6.7
44
- c1.9,0,4-0.7,5.3-2c0.2-0.2,0.3-0.4,0.3-0.7c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3c-0.9,0.9-2.5,1.4-3.9,1.4
45
- c-2.5,0-4.4-1.5-4.7-3.8L120.5,23.1z M110.5,21.3c0.4-2.5,2.3-3.8,4.5-3.8c2.5,0,4.2,1.3,4.3,3.8H110.5z"/>
46
- <path class="st5" d="M173.4,23.1c0.5,0,1-0.4,1-1c0-4.5-2.8-6.6-6.5-6.6c-3.9,0-6.7,2.8-6.7,6.7c0,4.1,2.8,6.7,6.8,6.7
47
- c1.9,0,4-0.7,5.3-2c0.2-0.2,0.3-0.4,0.3-0.7c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3c-0.9,0.9-2.5,1.4-3.9,1.4
48
- c-2.5,0-4.4-1.5-4.7-3.8L173.4,23.1z M163.4,21.3c0.4-2.5,2.3-3.8,4.5-3.8c2.5,0,4.2,1.3,4.3,3.8H163.4z"/>
49
- <path class="st5" d="M225.1,23.1c0.5,0,1-0.4,1-1c0-4.5-2.8-6.6-6.5-6.6c-3.9,0-6.7,2.8-6.7,6.7c0,4.1,2.8,6.7,6.8,6.7
50
- c1.9,0,4-0.7,5.3-2c0.2-0.2,0.3-0.4,0.3-0.7c0-0.5-0.4-1-1-1c-0.3,0-0.5,0.1-0.7,0.3c-0.9,0.9-2.5,1.4-3.9,1.4
51
- c-2.5,0-4.4-1.5-4.7-3.8L225.1,23.1z M215.1,21.3c0.4-2.5,2.3-3.8,4.5-3.8c2.5,0,4.2,1.3,4.3,3.8H215.1z"/>
52
- <path class="st5" d="M153.3,15.6c-1.8,0-3.9,0.8-4.8,2.5l0-6.6c0-0.6-0.5-1.1-1.1-1.1c-0.6,0-1.1,0.5-1.1,1.1v16.3
53
- c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1l0-1.4c1,1.7,2.9,2.4,4.8,2.4c3.7,0,6.6-2.4,6.6-6.6C159.9,17.9,157,15.6,153.3,15.6z
54
- M153.2,26.9c-2.5,0-4.5-1.9-4.5-4.7c0-2.8,2-4.7,4.5-4.7c2.5,0,4.5,1.6,4.5,4.7C157.7,25.2,155.7,26.9,153.2,26.9z"/>
55
- <path class="st5" d="M194.4,15.6c-1.9,0-3.8,0.8-4.8,2.4l0-1.4c0-0.6-0.5-1.1-1.1-1.1c-0.6,0-1.1,0.5-1.1,1.1c0,0,0,16.5,0,17.1
56
- c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1s0-7.4,0-7.4c0.9,1.7,3,2.5,4.8,2.5c3.7,0,6.5-2.3,6.5-6.7
57
- C200.9,18,198.1,15.6,194.4,15.6z M194.3,26.9c-2.5,0-4.5-1.9-4.5-4.7c0-2.8,2-4.7,4.5-4.7c2.5,0,4.5,1.7,4.5,4.6
58
- C198.8,25.3,196.8,26.9,194.3,26.9z"/>
59
- <path class="st5" d="M185.1,16.1c-0.7-0.3-1.4-0.5-2.3-0.5c-1.6,0-3.2,0.6-4,2v-0.9c0-0.6-0.5-1-1-1c-0.6,0-1,0.5-1,1
60
- c0,0,0,10.6,0,11.2c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1c0-0.6,0-6.3,0-6.3c0-2.4,1.4-3.8,3.8-3.8c0.6,0,1.1,0.1,1.6,0.3
61
- c0.1,0.1,0.3,0.1,0.4,0.1c0.6,0,1-0.5,1-1C185.7,16.6,185.4,16.3,185.1,16.1z"/>
62
- <path class="st5" d="M211.7,16.1c-0.7-0.3-1.4-0.5-2.3-0.5c-1.6,0-3.2,0.6-4,2v-0.9c0-0.6-0.5-1-1-1c-0.6,0-1,0.5-1,1
63
- c0,0,0,10.6,0,11.2c0,0.6,0.5,1.1,1.1,1.1c0.6,0,1.1-0.5,1.1-1.1c0-0.6,0-6.3,0-6.3c0-2.4,1.4-3.8,3.8-3.8c0.6,0,1.1,0.1,1.6,0.3
64
- c0.1,0.1,0.3,0.1,0.4,0.1c0.6,0,1-0.5,1-1C212.3,16.6,212,16.3,211.7,16.1z"/>
65
- <path class="st5" d="M233.2,21.1c-1.6-0.2-3.2-0.5-3.2-1.8c0-1.4,1.4-2.1,3.2-2.1c0.8,0,2.2,0.2,2.9,0.5l0.6,0.3l0,0
66
- c0.1,0.1,0.3,0.1,0.4,0.1c0.5,0,1-0.4,1-1c0-0.4-0.3-0.8-0.6-0.9c-0.2-0.1-0.4-0.2-0.6-0.2c-1.2-0.4-2.5-0.6-3.6-0.6
67
- c-2.5,0-5.3,1.1-5.3,3.9c0,2.7,2.7,3.3,5.2,3.7c2,0.2,3.6,0.6,3.6,2.1c-0.1,1.7-2.1,2-3.4,2c-1.2,0-2.4-0.3-3.4-0.8l0,0
68
- c-0.1-0.1-0.3-0.1-0.5-0.1c-0.6,0-1,0.5-1,1c0,0.4,0.2,0.8,0.6,0.9l0,0c0,0,0,0,0,0c0,0,0,0,0,0c1.3,0.6,2.6,0.9,4.2,0.9
69
- c2.9,0,5.4-1.2,5.5-3.9C238.8,21.9,235.6,21.5,233.2,21.1z"/>
70
- <path class="st5" d="M245.8,21.1c-1.6-0.2-3.2-0.5-3.2-1.8c0-1.4,1.4-2.1,3.2-2.1c0.8,0,2.2,0.2,2.9,0.5l0.6,0.3l0,0
71
- c0.1,0.1,0.3,0.1,0.4,0.1c0.5,0,1-0.4,1-1c0-0.4-0.3-0.8-0.6-0.9c-0.2-0.1-0.4-0.2-0.6-0.2c-1.2-0.4-2.5-0.6-3.6-0.6
72
- c-2.5,0-5.3,1.1-5.3,3.9c0,2.7,2.7,3.3,5.2,3.7c2,0.2,3.6,0.6,3.6,2.1c-0.1,1.7-2.1,2-3.4,2c-1.2,0-2.4-0.3-3.4-0.8l0,0
73
- c-0.1-0.1-0.3-0.1-0.5-0.1c-0.6,0-1,0.5-1,1c0,0.4,0.2,0.8,0.6,0.9l0,0c0,0,0,0,0,0c0,0,0,0,0,0c1.3,0.6,2.6,0.9,4.2,0.9
74
- c2.9,0,5.4-1.2,5.5-3.9C251.4,21.9,248.2,21.5,245.8,21.1z"/>
75
- </g>
76
- </svg>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/images/ninja-forms.png DELETED
Binary file
assets/images/omteam.jpg DELETED
Binary file
assets/images/trustpulse-admin-icon.svg DELETED
@@ -1,3 +0,0 @@
1
- <?xml version="1.0" encoding="UTF-8" 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 width="100%" height="100%" viewBox="0 0 151 169" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xml:space="preserve" xmlns:serif="http://www.serif.com/" style="fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:1.41421;"><g id="mark" transform="matrix(0.461143,0,0,0.461143,-106.676,-1411.44)"><g transform="matrix(2.16852,0,0,2.16852,230.412,3060.73)"> <path d="M103.188,26.561C96.662,24.799 90.29,22.455 84.167,19.45C78.972,16.901 73.961,13.997 69.051,10.94C68.956,10.999 68.861,11.058 68.765,11.117C55.841,19.137 42.1,25.615 26.835,28.481C21.327,29.515 15.756,30.164 10.174,30.64L9.996,30.655C8.621,61.384 10.671,93.057 26.99,119.407C36.937,135.468 52.327,147.495 68.626,157.492L69.051,157.751C75.721,153.675 82.272,149.328 88.368,144.473L102.206,144.473C92.398,153.704 80.957,161.44 69.326,168.346C68.781,167.973 68.776,168.346 68.776,168.346C54.105,159.635 39.822,150.006 28.706,137.221C21.155,128.537 15.176,118.558 10.867,107.757C0.039,80.614 -0.647,50.397 1.241,22.026C13.241,21.311 25.428,20.158 36.915,16.454C48.244,12.801 58.678,6.735 68.756,0.192L69.051,0C69.247,0.128 69.443,0.255 69.64,0.383C82.351,8.617 95.916,15.884 110.854,18.998C111.709,19.176 112.566,19.344 113.425,19.502L103.188,26.561ZM100.152,132.347L81.156,132.347C77.981,132.212 77.767,130.604 77.7,129.035C77.621,127.169 78.831,125.529 81.156,125.43L97.514,125.43L102.685,106.579C102.685,106.579 103.683,104.245 105.689,104.052C107.293,103.897 108.672,104.574 109.337,106.514L117.15,132.951L121.936,117.91C121.936,117.91 123.484,115.168 125.942,115.574C127.282,115.917 127.336,115.979 128.113,117.047L133.676,125.43L146.996,125.43C147.012,125.432 149.468,125.764 150.205,127.599C151.058,129.721 149.708,132.232 146.996,132.347L131.82,132.347C130.17,132.279 129.699,131.85 128.939,130.801L126.339,126.884L120.324,145.791C120.324,145.791 119.264,148.043 117.286,148.191C115.705,148.309 114.365,147.633 113.711,145.722L106.144,120.117L103.487,129.804C103.487,129.804 102.28,132.254 100.152,132.347ZM137.379,31.586C138.051,47.952 137.548,64.343 134.744,80.522C133.466,87.9 130.68,98.081 128.24,105.175L119.46,102.321C126.914,82.657 128.717,61.266 128.394,40.33L137.379,31.586Z" style="fill:white;fill-rule:nonzero;"/></g><g transform="matrix(0.746317,0,0,0.746317,244.486,3011.77)"> <path d="M171.699,279.729C173.221,277.994 173.616,276.855 175.885,273.555C188.97,254.516 227.729,203.188 276.979,163.708C298.41,146.527 321.573,130.908 342.063,120.67C376.211,103.607 387.207,101.527 403.066,97.832C406.078,97.131 416.986,95.184 418.796,99.482C420.542,103.631 413.738,108.003 411.185,110.009C408.315,112.264 342.682,161.344 287.465,234.232C239.418,297.651 207.976,380.862 207.976,380.862C207.01,382.71 196.083,402.237 181.423,403.188C167.874,404.069 150.473,386.445 150.473,386.445C147.128,383.324 130.815,363.964 117.241,340.019C99.929,309.489 85.022,273.299 85.022,273.299C85.022,273.299 69.547,242.857 98.721,226.115C127.486,209.606 140.299,226.367 146.542,236.262C151.877,244.719 162.626,265.262 167.821,275.31C169.631,278.81 170.801,280.751 171.699,279.729Z" style="fill:white;fill-rule:nonzero;"/></g></g></svg>
 
 
 
assets/images/video-background.png DELETED
Binary file
assets/images/video-cta-button.png DELETED
Binary file
assets/images/woocommerce_logo.png DELETED
Binary file
assets/images/wpforms.png DELETED
Binary file
assets/js/clipboard.min.js DELETED
@@ -1,7 +0,0 @@
1
- /*!
2
- * clipboard.js v1.5.12
3
- * https://zenorocha.github.io/clipboard.js
4
- *
5
- * Licensed MIT © Zeno Rocha
6
- */
7
- !function(t){if("object"==typeof exports&&"undefined"!=typeof module)module.exports=t();else if("function"==typeof define&&define.amd)define([],t);else{var e;e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self?self:this,e.Clipboard=t()}}(function(){var t,e,n;return function t(e,n,o){function i(a,c){if(!n[a]){if(!e[a]){var s="function"==typeof require&&require;if(!c&&s)return s(a,!0);if(r)return r(a,!0);var l=new Error("Cannot find module '"+a+"'");throw l.code="MODULE_NOT_FOUND",l}var u=n[a]={exports:{}};e[a][0].call(u.exports,function(t){var n=e[a][1][t];return i(n?n:t)},u,u.exports,t,e,n,o)}return n[a].exports}for(var r="function"==typeof require&&require,a=0;a<o.length;a++)i(o[a]);return i}({1:[function(t,e,n){var o=t("matches-selector");e.exports=function(t,e,n){for(var i=n?t:t.parentNode;i&&i!==document;){if(o(i,e))return i;i=i.parentNode}}},{"matches-selector":5}],2:[function(t,e,n){function o(t,e,n,o,r){var a=i.apply(this,arguments);return t.addEventListener(n,a,r),{destroy:function(){t.removeEventListener(n,a,r)}}}function i(t,e,n,o){return function(n){n.delegateTarget=r(n.target,e,!0),n.delegateTarget&&o.call(t,n)}}var r=t("closest");e.exports=o},{closest:1}],3:[function(t,e,n){n.node=function(t){return void 0!==t&&t instanceof HTMLElement&&1===t.nodeType},n.nodeList=function(t){var e=Object.prototype.toString.call(t);return void 0!==t&&("[object NodeList]"===e||"[object HTMLCollection]"===e)&&"length"in t&&(0===t.length||n.node(t[0]))},n.string=function(t){return"string"==typeof t||t instanceof String},n.fn=function(t){var e=Object.prototype.toString.call(t);return"[object Function]"===e}},{}],4:[function(t,e,n){function o(t,e,n){if(!t&&!e&&!n)throw new Error("Missing required arguments");if(!c.string(e))throw new TypeError("Second argument must be a String");if(!c.fn(n))throw new TypeError("Third argument must be a Function");if(c.node(t))return i(t,e,n);if(c.nodeList(t))return r(t,e,n);if(c.string(t))return a(t,e,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}function i(t,e,n){return t.addEventListener(e,n),{destroy:function(){t.removeEventListener(e,n)}}}function r(t,e,n){return Array.prototype.forEach.call(t,function(t){t.addEventListener(e,n)}),{destroy:function(){Array.prototype.forEach.call(t,function(t){t.removeEventListener(e,n)})}}}function a(t,e,n){return s(document.body,t,e,n)}var c=t("./is"),s=t("delegate");e.exports=o},{"./is":3,delegate:2}],5:[function(t,e,n){function o(t,e){if(r)return r.call(t,e);for(var n=t.parentNode.querySelectorAll(e),o=0;o<n.length;++o)if(n[o]==t)return!0;return!1}var i=Element.prototype,r=i.matchesSelector||i.webkitMatchesSelector||i.mozMatchesSelector||i.msMatchesSelector||i.oMatchesSelector;e.exports=o},{}],6:[function(t,e,n){function o(t){var e;if("INPUT"===t.nodeName||"TEXTAREA"===t.nodeName)t.focus(),t.setSelectionRange(0,t.value.length),e=t.value;else{t.hasAttribute("contenteditable")&&t.focus();var n=window.getSelection(),o=document.createRange();o.selectNodeContents(t),n.removeAllRanges(),n.addRange(o),e=n.toString()}return e}e.exports=o},{}],7:[function(t,e,n){function o(){}o.prototype={on:function(t,e,n){var o=this.e||(this.e={});return(o[t]||(o[t]=[])).push({fn:e,ctx:n}),this},once:function(t,e,n){function o(){i.off(t,o),e.apply(n,arguments)}var i=this;return o._=e,this.on(t,o,n)},emit:function(t){var e=[].slice.call(arguments,1),n=((this.e||(this.e={}))[t]||[]).slice(),o=0,i=n.length;for(o;i>o;o++)n[o].fn.apply(n[o].ctx,e);return this},off:function(t,e){var n=this.e||(this.e={}),o=n[t],i=[];if(o&&e)for(var r=0,a=o.length;a>r;r++)o[r].fn!==e&&o[r].fn._!==e&&i.push(o[r]);return i.length?n[t]=i:delete n[t],this}},e.exports=o},{}],8:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","select"],r);else if("undefined"!=typeof o)r(n,e("select"));else{var a={exports:{}};r(a,i.select),i.clipboardAction=a.exports}}(this,function(t,e){"use strict";function n(t){return t&&t.__esModule?t:{"default":t}}function o(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}var i=n(e),r="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},a=function(){function t(t,e){for(var n=0;n<e.length;n++){var o=e[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(t,o.key,o)}}return function(e,n,o){return n&&t(e.prototype,n),o&&t(e,o),e}}(),c=function(){function t(e){o(this,t),this.resolveOptions(e),this.initSelection()}return t.prototype.resolveOptions=function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action=e.action,this.emitter=e.emitter,this.target=e.target,this.text=e.text,this.trigger=e.trigger,this.selectedText=""},t.prototype.initSelection=function t(){this.text?this.selectFake():this.target&&this.selectTarget()},t.prototype.selectFake=function t(){var e=this,n="rtl"==document.documentElement.getAttribute("dir");this.removeFake(),this.fakeHandlerCallback=function(){return e.removeFake()},this.fakeHandler=document.body.addEventListener("click",this.fakeHandlerCallback)||!0,this.fakeElem=document.createElement("textarea"),this.fakeElem.style.fontSize="12pt",this.fakeElem.style.border="0",this.fakeElem.style.padding="0",this.fakeElem.style.margin="0",this.fakeElem.style.position="absolute",this.fakeElem.style[n?"right":"left"]="-9999px",this.fakeElem.style.top=(window.pageYOffset||document.documentElement.scrollTop)+"px",this.fakeElem.setAttribute("readonly",""),this.fakeElem.value=this.text,document.body.appendChild(this.fakeElem),this.selectedText=(0,i.default)(this.fakeElem),this.copyText()},t.prototype.removeFake=function t(){this.fakeHandler&&(document.body.removeEventListener("click",this.fakeHandlerCallback),this.fakeHandler=null,this.fakeHandlerCallback=null),this.fakeElem&&(document.body.removeChild(this.fakeElem),this.fakeElem=null)},t.prototype.selectTarget=function t(){this.selectedText=(0,i.default)(this.target),this.copyText()},t.prototype.copyText=function t(){var e=void 0;try{e=document.execCommand(this.action)}catch(n){e=!1}this.handleResult(e)},t.prototype.handleResult=function t(e){e?this.emitter.emit("success",{action:this.action,text:this.selectedText,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)}):this.emitter.emit("error",{action:this.action,trigger:this.trigger,clearSelection:this.clearSelection.bind(this)})},t.prototype.clearSelection=function t(){this.target&&this.target.blur(),window.getSelection().removeAllRanges()},t.prototype.destroy=function t(){this.removeFake()},a(t,[{key:"action",set:function t(){var e=arguments.length<=0||void 0===arguments[0]?"copy":arguments[0];if(this._action=e,"copy"!==this._action&&"cut"!==this._action)throw new Error('Invalid "action" value, use either "copy" or "cut"')},get:function t(){return this._action}},{key:"target",set:function t(e){if(void 0!==e){if(!e||"object"!==("undefined"==typeof e?"undefined":r(e))||1!==e.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===this.action&&e.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===this.action&&(e.hasAttribute("readonly")||e.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes');this._target=e}},get:function t(){return this._target}}]),t}();t.exports=c})},{select:6}],9:[function(e,n,o){!function(i,r){if("function"==typeof t&&t.amd)t(["module","./clipboard-action","tiny-emitter","good-listener"],r);else if("undefined"!=typeof o)r(n,e("./clipboard-action"),e("tiny-emitter"),e("good-listener"));else{var a={exports:{}};r(a,i.clipboardAction,i.tinyEmitter,i.goodListener),i.clipboard=a.exports}}(this,function(t,e,n,o){"use strict";function i(t){return t&&t.__esModule?t:{"default":t}}function r(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function a(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}function c(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}function s(t,e){var n="data-clipboard-"+t;if(e.hasAttribute(n))return e.getAttribute(n)}var l=i(e),u=i(n),f=i(o),d=function(t){function e(n,o){r(this,e);var i=a(this,t.call(this));return i.resolveOptions(o),i.listenClick(n),i}return c(e,t),e.prototype.resolveOptions=function t(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0];this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText},e.prototype.listenClick=function t(e){var n=this;this.listener=(0,f.default)(e,"click",function(t){return n.onClick(t)})},e.prototype.onClick=function t(e){var n=e.delegateTarget||e.currentTarget;this.clipboardAction&&(this.clipboardAction=null),this.clipboardAction=new l.default({action:this.action(n),target:this.target(n),text:this.text(n),trigger:n,emitter:this})},e.prototype.defaultAction=function t(e){return s("action",e)},e.prototype.defaultTarget=function t(e){var n=s("target",e);return n?document.querySelector(n):void 0},e.prototype.defaultText=function t(e){return s("text",e)},e.prototype.destroy=function t(){this.listener.destroy(),this.clipboardAction&&(this.clipboardAction.destroy(),this.clipboardAction=null)},e}(u.default);t.exports=d})},{"./clipboard-action":8,"good-listener":4,"tiny-emitter":7}]},{},[9])(9)});
 
 
 
 
 
 
 
assets/js/jspdf.min.js DELETED
@@ -1,164 +0,0 @@
1
- !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):t.jspdf=e()}(this,function(){"use strict";var t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol?"symbol":typeof t},e=function(e){function n(t){var n={};this.subscribe=function(t,e,r){if("function"!=typeof e)return!1;n.hasOwnProperty(t)||(n[t]={});var i=Math.random().toString(35);return n[t][i]=[e,!!r],i},this.unsubscribe=function(t){for(var e in n)if(n[e][t])return delete n[e][t],!0;return!1},this.publish=function(r){if(n.hasOwnProperty(r)){var i=Array.prototype.slice.call(arguments,1),o=[];for(var a in n[r]){var s=n[r][a];try{s[0].apply(t,i)}catch(c){e.console&&console.error("jsPDF PubSub Error",c.message,c)}s[1]&&o.push(a)}o.length&&o.forEach(this.unsubscribe)}}}function i(c,u,l,h){var f={};"object"===("undefined"==typeof c?"undefined":t(c))&&(f=c,c=f.orientation,u=f.unit||u,l=f.format||l,h=f.compress||f.compressPdf||h),u=u||"mm",l=l||"a4",c=(""+(c||"P")).toLowerCase();var d,p,m,g,w,y,v,b,x,k=((""+l).toLowerCase(),!!h&&"function"==typeof Uint8Array),A=f.textColor||"0 g",C=f.drawColor||"0 G",_=f.fontSize||16,q=f.lineHeight||1.15,S=f.lineWidth||.200025,T=2,P=!1,E=[],I={},O={},F=0,B=[],R=[],D=[],j=[],N=[],z=0,L=0,M=0,U={title:"",subject:"",author:"",keywords:"",creator:""},H={},W=new n(H),X=function(t){return t.toFixed(2)},V=function(t){return t.toFixed(3)},Y=function(t){return("0"+parseInt(t)).slice(-2)},G=function(t){P?B[g].push(t):(M+=t.length+1,j.push(t))},J=function(){return T++,E[T]=M,G(T+" 0 obj"),T},Q=function(){var t=2*B.length+1;t+=N.length;var e={objId:t,content:""};return N.push(e),e},K=function(){return T++,E[T]=function(){return M},T},Z=function(t){E[t]=M},$=function(t){G("stream"),G(t),G("endstream")},tt=function(){var t,n,r,a,s,c,u,l,h,f=[];for(u=e.adler32cs||i.adler32cs,k&&"undefined"==typeof u&&(k=!1),t=1;F>=t;t++){if(f.push(J()),l=(w=D[t].width)*p,h=(y=D[t].height)*p,G("<</Type /Page"),G("/Parent 1 0 R"),G("/Resources 2 0 R"),G("/MediaBox [0 0 "+X(l)+" "+X(h)+"]"),W.publish("putPage",{pageNumber:t,page:B[t]}),G("/Contents "+(T+1)+" 0 R"),G(">>"),G("endobj"),n=B[t].join("\n"),J(),k){for(r=[],a=n.length;a--;)r[a]=n.charCodeAt(a);c=u.from(n),s=new o(6),s.append(new Uint8Array(r)),n=s.flush(),r=new Uint8Array(n.length+6),r.set(new Uint8Array([120,156])),r.set(n,2),r.set(new Uint8Array([255&c,c>>8&255,c>>16&255,c>>24&255]),n.length+2),n=String.fromCharCode.apply(null,r),G("<</Length "+n.length+" /Filter [/FlateDecode]>>")}else G("<</Length "+n.length+">>");$(n),G("endobj")}E[1]=M,G("1 0 obj"),G("<</Type /Pages");var d="/Kids [";for(a=0;F>a;a++)d+=f[a]+" 0 R ";G(d+"]"),G("/Count "+F),G(">>"),G("endobj"),W.publish("postPutPages")},et=function(t){t.objectNumber=J(),G("<</BaseFont/"+t.PostScriptName+"/Type/Font"),"string"==typeof t.encoding&&G("/Encoding/"+t.encoding),G("/Subtype/Type1>>"),G("endobj")},nt=function(){for(var t in I)I.hasOwnProperty(t)&&et(I[t])},rt=function(){W.publish("putXobjectDict")},it=function(){G("/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]"),G("/Font <<");for(var t in I)I.hasOwnProperty(t)&&G("/"+t+" "+I[t].objectNumber+" 0 R");G(">>"),G("/XObject <<"),rt(),G(">>")},ot=function(){nt(),W.publish("putResources"),E[2]=M,G("2 0 obj"),G("<<"),it(),G(">>"),G("endobj"),W.publish("postPutResources")},at=function(){W.publish("putAdditionalObjects");for(var t=0;t<N.length;t++){var e=N[t];E[e.objId]=M,G(e.objId+" 0 obj"),G(e.content),G("endobj")}T+=N.length,W.publish("postPutAdditionalObjects")},st=function(t,e,n){O.hasOwnProperty(e)||(O[e]={}),O[e][n]=t},ct=function(t,e,n,r){var i="F"+(Object.keys(I).length+1).toString(10),o=I[i]={id:i,PostScriptName:t,fontName:e,fontStyle:n,encoding:r,metadata:{}};return st(i,e,n),W.publish("addFont",o),i},ut=function(){for(var t="helvetica",e="times",n="courier",r="normal",i="bold",o="italic",a="bolditalic",s="StandardEncoding",c="zapfdingbats",u=[["Helvetica",t,r],["Helvetica-Bold",t,i],["Helvetica-Oblique",t,o],["Helvetica-BoldOblique",t,a],["Courier",n,r],["Courier-Bold",n,i],["Courier-Oblique",n,o],["Courier-BoldOblique",n,a],["Times-Roman",e,r],["Times-Bold",e,i],["Times-Italic",e,o],["Times-BoldItalic",e,a],["ZapfDingbats",c]],l=0,h=u.length;h>l;l++){var f=ct(u[l][0],u[l][1],u[l][2],s),d=u[l][0].split("-");st(f,d[0],d[1]||"")}W.publish("addFonts",{fonts:I,dictionary:O})},lt=function(t){return t.foo=function(){try{return t.apply(this,arguments)}catch(n){var r=n.stack||"";~r.indexOf(" at ")&&(r=r.split(" at ")[1]);var i="Error in function "+r.split("\n")[0].split("<")[0]+": "+n.message;if(!e.console)throw new Error(i);e.console.error(i,n),e.alert&&alert(i)}},t.foo.bar=t,t.foo},ht=function(t,e){var n,r,i,o,a,s,c,u,l;if(e=e||{},i=e.sourceEncoding||"Unicode",a=e.outputEncoding,(e.autoencode||a)&&I[d].metadata&&I[d].metadata[i]&&I[d].metadata[i].encoding&&(o=I[d].metadata[i].encoding,!a&&I[d].encoding&&(a=I[d].encoding),!a&&o.codePages&&(a=o.codePages[0]),"string"==typeof a&&(a=o[a]),a)){for(c=!1,s=[],n=0,r=t.length;r>n;n++)u=a[t.charCodeAt(n)],u?s.push(String.fromCharCode(u)):s.push(t[n]),s[n].charCodeAt(0)>>8&&(c=!0);t=s.join("")}for(n=t.length;void 0===c&&0!==n;)t.charCodeAt(n-1)>>8&&(c=!0),n--;if(!c)return t;for(s=e.noBOM?[]:[254,255],n=0,r=t.length;r>n;n++){if(u=t.charCodeAt(n),l=u>>8,l>>8)throw new Error("Character at position "+n+" of string '"+t+"' exceeds 16bits. Cannot be encoded into UCS-2 BE");s.push(l),s.push(u-(l<<8))}return String.fromCharCode.apply(void 0,s)},ft=function(t,e){return ht(t,e).replace(/\\/g,"\\\\").replace(/\(/g,"\\(").replace(/\)/g,"\\)")},dt=function(){G("/Producer (jsPDF "+i.version+")");for(var t in U)U.hasOwnProperty(t)&&U[t]&&G("/"+t.substr(0,1).toUpperCase()+t.substr(1)+" ("+ft(U[t])+")");var e=new Date,n=e.getTimezoneOffset(),r=0>n?"+":"-",o=Math.floor(Math.abs(n/60)),a=Math.abs(n%60),s=[r,Y(o),"'",Y(a),"'"].join("");G(["/CreationDate (D:",e.getFullYear(),Y(e.getMonth()+1),Y(e.getDate()),Y(e.getHours()),Y(e.getMinutes()),Y(e.getSeconds()),s,")"].join(""))},pt=function(){switch(G("/Type /Catalog"),G("/Pages 1 0 R"),b||(b="fullwidth"),b){case"fullwidth":G("/OpenAction [3 0 R /FitH null]");break;case"fullheight":G("/OpenAction [3 0 R /FitV null]");break;case"fullpage":G("/OpenAction [3 0 R /Fit]");break;case"original":G("/OpenAction [3 0 R /XYZ null null 1]");break;default:var t=""+b;"%"===t.substr(t.length-1)&&(b=parseInt(b)/100),"number"==typeof b&&G("/OpenAction [3 0 R /XYZ null null "+X(b)+"]")}switch(x||(x="continuous"),x){case"continuous":G("/PageLayout /OneColumn");break;case"single":G("/PageLayout /SinglePage");break;case"two":case"twoleft":G("/PageLayout /TwoColumnLeft");break;case"tworight":G("/PageLayout /TwoColumnRight")}v&&G("/PageMode /"+v),W.publish("putCatalog")},mt=function(){G("/Size "+(T+1)),G("/Root "+T+" 0 R"),G("/Info "+(T-1)+" 0 R")},gt=function(t,e){var n="string"==typeof e&&e.toLowerCase();if("string"==typeof t){var r=t.toLowerCase();s.hasOwnProperty(r)&&(t=s[r][0]/p,e=s[r][1]/p)}if(Array.isArray(t)&&(e=t[1],t=t[0]),n){switch(n.substr(0,1)){case"l":e>t&&(n="s");break;case"p":t>e&&(n="s")}"s"===n&&(m=t,t=e,e=m)}P=!0,B[++F]=[],D[F]={width:Number(t)||w,height:Number(e)||y},R[F]={},vt(F)},wt=function(){gt.apply(this,arguments),G(X(S*p)+" w"),G(C),0!==z&&G(z+" J"),0!==L&&G(L+" j"),W.publish("addPage",{pageNumber:F})},yt=function(t){t>0&&F>=t&&(B.splice(t,1),D.splice(t,1),F--,g>F&&(g=F),this.setPage(g))},vt=function(t){t>0&&F>=t&&(g=t,w=D[t].width,y=D[t].height)},bt=function(t,e){var n;switch(t=void 0!==t?t:I[d].fontName,e=void 0!==e?e:I[d].fontStyle,void 0!==t&&(t=t.toLowerCase()),t){case"sans-serif":case"verdana":case"arial":case"helvetica":t="helvetica";break;case"fixed":case"monospace":case"terminal":case"courier":t="courier";break;case"serif":case"cursive":case"fantasy":default:t="times"}try{n=O[t][e]}catch(r){}return n||(n=O.times[e],null==n&&(n=O.times.normal)),n},xt=function(){P=!1,T=2,j=[],E=[],N=[],W.publish("buildDocument"),G("%PDF-"+a),tt(),at(),ot(),J(),G("<<"),dt(),G(">>"),G("endobj"),J(),G("<<"),pt(),G(">>"),G("endobj");var t,e=M,n="0000000000";for(G("xref"),G("0 "+(T+1)),G(n+" 65535 f "),t=1;T>=t;t++){var r=E[t];G("function"==typeof r?(n+E[t]()).slice(-10)+" 00000 n ":(n+E[t]).slice(-10)+" 00000 n ")}return G("trailer"),G("<<"),mt(),G(">>"),G("startxref"),G(e),G("%%EOF"),P=!0,j.join("\n")},kt=function(t){var e="S";return"F"===t?e="f":"FD"===t||"DF"===t?e="B":"f"!==t&&"f*"!==t&&"B"!==t&&"B*"!==t||(e=t),e},At=function(){for(var t=xt(),e=t.length,n=new ArrayBuffer(e),r=new Uint8Array(n);e--;)r[e]=t.charCodeAt(e);return n},Ct=function(){return new Blob([At()],{type:"application/pdf"})},_t=lt(function(t,n){var i="dataur"===(""+t).substr(0,6)?"data:application/pdf;base64,"+btoa(xt()):0;switch(t){case void 0:return xt();case"save":if(navigator.getUserMedia&&(void 0===e.URL||void 0===e.URL.createObjectURL))return H.output("dataurlnewwindow");r(Ct(),n),"function"==typeof r.unload&&e.setTimeout&&setTimeout(r.unload,911);break;case"arraybuffer":return At();case"blob":return Ct();case"bloburi":case"bloburl":return e.URL&&e.URL.createObjectURL(Ct())||void 0;case"datauristring":case"dataurlstring":return i;case"dataurlnewwindow":var o=e.open(i);if(o||"undefined"==typeof safari)return o;case"datauri":case"dataurl":return e.document.location.href=i;default:throw new Error('Output type "'+t+'" is not supported.')}});switch(u){case"pt":p=1;break;case"mm":p=72/25.4000508;break;case"cm":p=72/2.54000508;break;case"in":p=72;break;case"px":p=96/72;break;case"pc":p=12;break;case"em":p=12;break;case"ex":p=6;break;default:throw"Invalid unit: "+u}H.internal={pdfEscape:ft,getStyle:kt,getFont:function(){return I[bt.apply(H,arguments)]},getFontSize:function(){return _},getLineHeight:function(){return _*q},write:function(t){G(1===arguments.length?t:Array.prototype.join.call(arguments," "))},getCoordinateString:function(t){return X(t*p)},getVerticalCoordinateString:function(t){return X((y-t)*p)},collections:{},newObject:J,newAdditionalObject:Q,newObjectDeferred:K,newObjectDeferredBegin:Z,putStream:$,events:W,scaleFactor:p,pageSize:{get width(){return w},get height(){return y}},output:function(t,e){return _t(t,e)},getNumberOfPages:function(){return B.length-1},pages:B,out:G,f2:X,getPageInfo:function(t){var e=2*(t-1)+3;return{objId:e,pageNumber:t,pageContext:R[t]}},getCurrentPageInfo:function(){var t=2*(g-1)+3;return{objId:t,pageNumber:g,pageContext:R[g]}},getPDFVersion:function(){return a}},H.addPage=function(){return wt.apply(this,arguments),this},H.setPage=function(){return vt.apply(this,arguments),this},H.insertPage=function(t){return this.addPage(),this.movePage(g,t),this},H.movePage=function(t,e){if(t>e){for(var n=B[t],r=D[t],i=R[t],o=t;o>e;o--)B[o]=B[o-1],D[o]=D[o-1],R[o]=R[o-1];B[e]=n,D[e]=r,R[e]=i,this.setPage(e)}else if(e>t){for(var n=B[t],r=D[t],i=R[t],o=t;e>o;o++)B[o]=B[o+1],D[o]=D[o+1],R[o]=R[o+1];B[e]=n,D[e]=r,R[e]=i,this.setPage(e)}return this},H.deletePage=function(){return yt.apply(this,arguments),this},H.setDisplayMode=function(t,e,n){return b=t,x=e,v=n,this},H.text=function(t,e,n,r,i,o){function a(t){return t=t.split(" ").join(Array(f.TabLen||9).join(" ")),ft(t,r)}"number"==typeof t&&(m=n,n=e,e=t,t=m),"string"==typeof t&&(t=t.match(/[\n\r]/)?t.split(/\r\n|\r|\n/g):[t]),"string"==typeof i&&(o=i,i=null),"string"==typeof r&&(o=r,r=null),"number"==typeof r&&(i=r,r=null);var s,c="",u="Td";if(i){i*=Math.PI/180;var l=Math.cos(i),h=Math.sin(i);c=[X(l),X(h),X(-1*h),X(l),""].join(" "),u="Tm"}r=r||{},"noBOM"in r||(r.noBOM=!0),"autoencode"in r||(r.autoencode=!0);var g="",w=this.internal.getCurrentPageInfo().pageContext;if(!0===r.stroke?w.lastTextWasStroke!==!0&&(g="1 Tr\n",w.lastTextWasStroke=!0):(w.lastTextWasStroke&&(g="0 Tr\n"),w.lastTextWasStroke=!1),"undefined"==typeof this._runningPageHeight&&(this._runningPageHeight=0),"string"==typeof t)t=a(t);else{if("[object Array]"!==Object.prototype.toString.call(t))throw new Error('Type of text must be string or Array. "'+t+'" is not recognized.');for(var v=t.concat(),b=[],x=v.length;x--;)b.push(a(v.shift()));var k=Math.ceil((y-n-this._runningPageHeight)*p/(_*q));if(k>=0&&k<b.length+1,o){var C,S,T,P=_*q,E=t.map(function(t){return this.getStringUnitWidth(t)*_/p},this);if(T=Math.max.apply(Math,E),"center"===o)C=e-T/2,e-=E[0]/2;else{if("right"!==o)throw new Error('Unrecognized alignment option, use "center" or "right".');C=e-T,e-=E[0]}S=e,t=b[0]+") Tj\n";for(var I=1,x=b.length;x>I;I++){var O=T-E[I];"center"===o&&(O/=2),t+=C-S+O+" -"+P+" Td ("+b[I],S=C+O,x-1>I&&(t+=") Tj\n")}}else t=b.join(") Tj\nT* (")}var F;return s||(F=X((y-n)*p)),G("BT\n/"+d+" "+_+" Tf\n"+_*q+" TL\n"+g+A+"\n"+c+X(e*p)+" "+F+" "+u+"\n("+t+") Tj\nET"),s&&this.text(s,e,n),this},H.lstext=function(t,e,n,r){for(var i=0,o=t.length;o>i;i++,e+=r)this.text(t[i],e,n)},H.line=function(t,e,n,r){return this.lines([[n-t,r-e]],t,e)},H.clip=function(){G("W"),G("S")},H.lines=function(t,e,n,r,i,o){var a,s,c,u,l,h,f,d,g,w,v;for("number"==typeof t&&(m=n,n=e,e=t,t=m),r=r||[1,1],G(V(e*p)+" "+V((y-n)*p)+" m "),a=r[0],s=r[1],u=t.length,w=e,v=n,c=0;u>c;c++)l=t[c],2===l.length?(w=l[0]*a+w,v=l[1]*s+v,G(V(w*p)+" "+V((y-v)*p)+" l")):(h=l[0]*a+w,f=l[1]*s+v,d=l[2]*a+w,g=l[3]*s+v,w=l[4]*a+w,v=l[5]*s+v,G(V(h*p)+" "+V((y-f)*p)+" "+V(d*p)+" "+V((y-g)*p)+" "+V(w*p)+" "+V((y-v)*p)+" c"));return o&&G(" h"),null!==i&&G(kt(i)),this},H.rect=function(t,e,n,r,i){kt(i);return G([X(t*p),X((y-e)*p),X(n*p),X(-r*p),"re"].join(" ")),null!==i&&G(kt(i)),this},H.triangle=function(t,e,n,r,i,o,a){return this.lines([[n-t,r-e],[i-n,o-r],[t-i,e-o]],t,e,[1,1],a,!0),this},H.roundedRect=function(t,e,n,r,i,o,a){var s=4/3*(Math.SQRT2-1);return this.lines([[n-2*i,0],[i*s,0,i,o-o*s,i,o],[0,r-2*o],[0,o*s,-(i*s),o,-i,o],[-n+2*i,0],[-(i*s),0,-i,-(o*s),-i,-o],[0,-r+2*o],[0,-(o*s),i*s,-o,i,-o]],t+i,e,[1,1],a),this},H.ellipse=function(t,e,n,r,i){var o=4/3*(Math.SQRT2-1)*n,a=4/3*(Math.SQRT2-1)*r;return G([X((t+n)*p),X((y-e)*p),"m",X((t+n)*p),X((y-(e-a))*p),X((t+o)*p),X((y-(e-r))*p),X(t*p),X((y-(e-r))*p),"c"].join(" ")),G([X((t-o)*p),X((y-(e-r))*p),X((t-n)*p),X((y-(e-a))*p),X((t-n)*p),X((y-e)*p),"c"].join(" ")),G([X((t-n)*p),X((y-(e+a))*p),X((t-o)*p),X((y-(e+r))*p),X(t*p),X((y-(e+r))*p),"c"].join(" ")),G([X((t+o)*p),X((y-(e+r))*p),X((t+n)*p),X((y-(e+a))*p),X((t+n)*p),X((y-e)*p),"c"].join(" ")),null!==i&&G(kt(i)),this},H.circle=function(t,e,n,r){return this.ellipse(t,e,n,n,r)},H.setProperties=function(t){for(var e in U)U.hasOwnProperty(e)&&t[e]&&(U[e]=t[e]);return this},H.setFontSize=function(t){return _=t,this},H.setFont=function(t,e){return d=bt(t,e),this},H.setFontStyle=H.setFontType=function(t){return d=bt(void 0,t),this},H.getFontList=function(){var t,e,n,r={};for(t in O)if(O.hasOwnProperty(t)){r[t]=n=[];for(e in O[t])O[t].hasOwnProperty(e)&&n.push(e)}return r},H.addFont=function(t,e,n){ct(t,e,n,"StandardEncoding")},H.setLineWidth=function(t){return G((t*p).toFixed(2)+" w"),this},H.setDrawColor=function(t,e,n,r){var i;return i=void 0===e||void 0===r&&t===e===n?"string"==typeof t?t+" G":X(t/255)+" G":void 0===r?"string"==typeof t?[t,e,n,"RG"].join(" "):[X(t/255),X(e/255),X(n/255),"RG"].join(" "):"string"==typeof t?[t,e,n,r,"K"].join(" "):[X(t),X(e),X(n),X(r),"K"].join(" "),G(i),this},H.setFillColor=function(e,n,r,i){var o;return void 0===n||void 0===i&&e===n===r?o="string"==typeof e?e+" g":X(e/255)+" g":void 0===i||"object"===("undefined"==typeof i?"undefined":t(i))?(o="string"==typeof e?[e,n,r,"rg"].join(" "):[X(e/255),X(n/255),X(r/255),"rg"].join(" "),i&&0===i.a&&(o=["255","255","255","rg"].join(" "))):o="string"==typeof e?[e,n,r,i,"k"].join(" "):[X(e),X(n),X(r),X(i),"k"].join(" "),G(o),this},H.setTextColor=function(t,e,n){if("string"==typeof t&&/^#[0-9A-Fa-f]{6}$/.test(t)){var r=parseInt(t.substr(1),16);t=r>>16&255,e=r>>8&255,n=255&r}return A=0===t&&0===e&&0===n||"undefined"==typeof e?V(t/255)+" g":[V(t/255),V(e/255),V(n/255),"rg"].join(" "),this},H.CapJoinStyles={0:0,butt:0,but:0,miter:0,1:1,round:1,rounded:1,circle:1,2:2,projecting:2,project:2,square:2,bevel:2},H.setLineCap=function(t){var e=this.CapJoinStyles[t];if(void 0===e)throw new Error("Line cap style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return z=e,G(e+" J"),this},H.setLineJoin=function(t){var e=this.CapJoinStyles[t];if(void 0===e)throw new Error("Line join style of '"+t+"' is not recognized. See or extend .CapJoinStyles property for valid styles");return L=e,G(e+" j"),this},H.output=_t,H.save=function(t){H.output("save",t)};for(var qt in i.API)i.API.hasOwnProperty(qt)&&("events"===qt&&i.API.events.length?!function(t,e){var n,r,i;for(i=e.length-1;-1!==i;i--)n=e[i][0],r=e[i][1],t.subscribe.apply(t,[n].concat("function"==typeof r?[r]:r))}(W,i.API.events):H[qt]=i.API[qt]);return ut(),d="F1",wt(l,c),W.publish("initialized"),H}var a="1.3",s={a0:[2383.94,3370.39],a1:[1683.78,2383.94],a2:[1190.55,1683.78],a3:[841.89,1190.55],a4:[595.28,841.89],a5:[419.53,595.28],a6:[297.64,419.53],a7:[209.76,297.64],a8:[147.4,209.76],a9:[104.88,147.4],a10:[73.7,104.88],b0:[2834.65,4008.19],b1:[2004.09,2834.65],b2:[1417.32,2004.09],b3:[1000.63,1417.32],b4:[708.66,1000.63],b5:[498.9,708.66],b6:[354.33,498.9],b7:[249.45,354.33],b8:[175.75,249.45],b9:[124.72,175.75],b10:[87.87,124.72],c0:[2599.37,3676.54],c1:[1836.85,2599.37],c2:[1298.27,1836.85],c3:[918.43,1298.27],c4:[649.13,918.43],c5:[459.21,649.13],c6:[323.15,459.21],c7:[229.61,323.15],c8:[161.57,229.61],c9:[113.39,161.57],c10:[79.37,113.39],dl:[311.81,623.62],letter:[612,792],"government-letter":[576,756],legal:[612,1008],"junior-legal":[576,360],ledger:[1224,792],tabloid:[792,1224],"credit-card":[153,243]};return i.API={events:[]},i.version="1.2.61 2016-06-13T12:22:29.237Z:havenchyk","function"==typeof define&&define.amd?define("jsPDF",function(){return i}):"undefined"!=typeof module&&module.exports?module.exports=i:e.jsPDF=i,i}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0);window.tmp=e,/**
2
- * jsPDF AcroForm Plugin
3
- * Copyright (c) 2016 Alexander Weidt, https://github.com/BiggA94
4
- *
5
- * Licensed under the MIT License.
6
- * http://opensource.org/licenses/mit-license
7
- */
8
- (window.AcroForm=function(t){var n=window.AcroForm;n.scale=function(t){return t*(r.internal.scaleFactor/1)},n.antiScale=function(t){return 1/r.internal.scaleFactor*t};var r={fields:[],xForms:[],acroFormDictionaryRoot:null,printedOut:!1,internal:null};e.API.acroformPlugin=r;var i=function(){for(var t in this.acroformPlugin.acroFormDictionaryRoot.Fields){var e=this.acroformPlugin.acroFormDictionaryRoot.Fields[t];e.hasAnnotation&&a.call(this,e)}},o=function(){if(this.acroformPlugin.acroFormDictionaryRoot)throw new Error("Exception while creating AcroformDictionary");this.acroformPlugin.acroFormDictionaryRoot=new n.AcroFormDictionary,this.acroformPlugin.internal=this.internal,this.acroformPlugin.acroFormDictionaryRoot._eventID=this.internal.events.subscribe("postPutResources",u),this.internal.events.subscribe("buildDocument",i),this.internal.events.subscribe("putCatalog",c),this.internal.events.subscribe("postPutPages",l)},a=function(t){var n={type:"reference",object:t};e.API.annotationPlugin.annotations[this.internal.getPageInfo(t.page).pageNumber].push(n)},s=function(t){this.acroformPlugin.printedOut&&(this.acroformPlugin.printedOut=!1,this.acroformPlugin.acroFormDictionaryRoot=null),this.acroformPlugin.acroFormDictionaryRoot||o.call(this),this.acroformPlugin.acroFormDictionaryRoot.Fields.push(t)},c=function(){"undefined"!=typeof this.acroformPlugin.acroFormDictionaryRoot?this.internal.write("/AcroForm "+this.acroformPlugin.acroFormDictionaryRoot.objId+" 0 R"):console.log("Root missing...")},u=function(){this.internal.events.unsubscribe(this.acroformPlugin.acroFormDictionaryRoot._eventID),delete this.acroformPlugin.acroFormDictionaryRoot._eventID,this.acroformPlugin.printedOut=!0},l=function(t){var e=!t;t||(this.internal.newObjectDeferredBegin(this.acroformPlugin.acroFormDictionaryRoot.objId),this.internal.out(this.acroformPlugin.acroFormDictionaryRoot.getString()));var t=t||this.acroformPlugin.acroFormDictionaryRoot.Kids;for(var r in t){var i=t[r],o=i.Rect;i.Rect&&(i.Rect=n.internal.calculateCoordinates.call(this,i.Rect)),this.internal.newObjectDeferredBegin(i.objId);var a="";if(a+=i.objId+" 0 obj\n",a+="<<\n"+i.getContent(),i.Rect=o,i.hasAppearanceStream&&!i.appearanceStreamContent){var s=n.internal.calculateAppearanceStream.call(this,i);a+="/AP << /N "+s+" >>\n",this.acroformPlugin.xForms.push(s)}if(i.appearanceStreamContent){a+="/AP << ";for(var c in i.appearanceStreamContent){var u=i.appearanceStreamContent[c];if(a+="/"+c+" ",a+="<< ",Object.keys(u).length>=1||Array.isArray(u))for(var r in u){var l=u[r];"function"==typeof l&&(l=l.call(this,i)),a+="/"+r+" "+l+" ",this.acroformPlugin.xForms.indexOf(l)>=0||this.acroformPlugin.xForms.push(l)}else{var l=u;"function"==typeof l&&(l=l.call(this,i)),a+="/"+r+" "+l+" \n",this.acroformPlugin.xForms.indexOf(l)>=0||this.acroformPlugin.xForms.push(l)}a+=" >>\n"}a+=">>\n"}a+=">>\nendobj\n",this.internal.out(a)}e&&h.call(this,this.acroformPlugin.xForms)},h=function(t){for(var e in t){var n=e,r=t[e];this.internal.newObjectDeferredBegin(r&&r.objId);var i="";i+=r?r.getString():"",this.internal.out(i),delete t[n]}};t.addField=function(t){return t instanceof n.TextField?d.call(this,t):t instanceof n.ChoiceField?p.call(this,t):t instanceof n.Button?f.call(this,t):t instanceof n.ChildClass?s.call(this,t):t&&s.call(this,t),t.page=this.acroformPlugin.internal.getCurrentPageInfo().pageNumber,this};var f=function(t){var t=t||new n.Field;t.FT="/Btn";var e=t.Ff||0;t.pushbutton&&(e=n.internal.setBitPosition(e,17),delete t.pushbutton),t.radio&&(e=n.internal.setBitPosition(e,16),delete t.radio),t.noToggleToOff&&(e=n.internal.setBitPosition(e,15)),t.Ff=e,s.call(this,t)},d=function(t){var t=t||new n.Field;t.FT="/Tx";var e=t.Ff||0;t.multiline&&(e=4096|e),t.password&&(e=8192|e),t.fileSelect&&(e|=1<<20),t.doNotSpellCheck&&(e|=1<<22),t.doNotScroll&&(e|=1<<23),t.Ff=t.Ff||e,s.call(this,t)},p=function(t){var e=t||new n.Field;e.FT="/Ch";var r=e.Ff||0;e.combo&&(r=n.internal.setBitPosition(r,18),delete e.combo),e.edit&&(r=n.internal.setBitPosition(r,19),delete e.edit),e.sort&&(r=n.internal.setBitPosition(r,20),delete e.sort),e.multiSelect&&this.internal.getPDFVersion()>=1.4&&(r=n.internal.setBitPosition(r,22),delete e.multiSelect),e.doNotSpellCheck&&this.internal.getPDFVersion()>=1.4&&(r=n.internal.setBitPosition(r,23),delete e.doNotSpellCheck),e.Ff=r,s.call(this,e)}})(e.API);var n=window.AcroForm;n.internal={},n.createFormXObject=function(t){var e=new n.FormXObject,r=n.Appearance.internal.getHeight(t)||0,i=n.Appearance.internal.getWidth(t)||0;return e.BBox=[0,0,i,r],e},n.Appearance={CheckBox:{createAppearanceStream:function(){var t={N:{On:n.Appearance.CheckBox.YesNormal},D:{On:n.Appearance.CheckBox.YesPushDown,Off:n.Appearance.CheckBox.OffPushDown}};return t},createMK:function(){return"<< /CA (3)>>"},YesPushDown:function(t){var e=n.createFormXObject(t),r="";t.Q=1;var i=n.internal.calculateX(t,"3","ZapfDingbats",50);return r+="0.749023 g\n 0 0 "+n.Appearance.internal.getWidth(t)+" "+n.Appearance.internal.getHeight(t)+" re\n f\n BMC\n q\n 0 0 1 rg\n /F13 "+i.fontSize+" Tf 0 g\n BT\n",r+=i.text,r+="ET\n Q\n EMC\n",e.stream=r,e},YesNormal:function(t){var e=n.createFormXObject(t),r="";t.Q=1;var i=n.internal.calculateX(t,"3","ZapfDingbats",.9*n.Appearance.internal.getHeight(t));return r+="1 g\n0 0 "+n.Appearance.internal.getWidth(t)+" "+n.Appearance.internal.getHeight(t)+" re\nf\nq\n0 0 1 rg\n0 0 "+(n.Appearance.internal.getWidth(t)-1)+" "+(n.Appearance.internal.getHeight(t)-1)+" re\nW\nn\n0 g\nBT\n/F13 "+i.fontSize+" Tf 0 g\n",r+=i.text,r+="ET\n Q\n",e.stream=r,e},OffPushDown:function(t){var e=n.createFormXObject(t),r="";return r+="0.749023 g\n 0 0 "+n.Appearance.internal.getWidth(t)+" "+n.Appearance.internal.getHeight(t)+" re\n f\n",e.stream=r,e}},RadioButton:{Circle:{createAppearanceStream:function(t){var e={D:{Off:n.Appearance.RadioButton.Circle.OffPushDown},N:{}};return e.N[t]=n.Appearance.RadioButton.Circle.YesNormal,e.D[t]=n.Appearance.RadioButton.Circle.YesPushDown,e},createMK:function(){return"<< /CA (l)>>"},YesNormal:function(t){var e=n.createFormXObject(t),r="",i=n.Appearance.internal.getWidth(t)<=n.Appearance.internal.getHeight(t)?n.Appearance.internal.getWidth(t)/4:n.Appearance.internal.getHeight(t)/4;i*=.9;var o=n.Appearance.internal.Bezier_C;return r+="q\n1 0 0 1 "+n.Appearance.internal.getWidth(t)/2+" "+n.Appearance.internal.getHeight(t)/2+" cm\n"+i+" 0 m\n"+i+" "+i*o+" "+i*o+" "+i+" 0 "+i+" c\n-"+i*o+" "+i+" -"+i+" "+i*o+" -"+i+" 0 c\n-"+i+" -"+i*o+" -"+i*o+" -"+i+" 0 -"+i+" c\n"+i*o+" -"+i+" "+i+" -"+i*o+" "+i+" 0 c\nf\nQ\n",e.stream=r,e},YesPushDown:function(t){var e=n.createFormXObject(t),r="",i=n.Appearance.internal.getWidth(t)<=n.Appearance.internal.getHeight(t)?n.Appearance.internal.getWidth(t)/4:n.Appearance.internal.getHeight(t)/4;i*=.9;var o=n.Appearance.internal.Bezier_C;return r+="0.749023 g\n q\n 1 0 0 1 "+n.Appearance.internal.getWidth(t)/2+" "+n.Appearance.internal.getHeight(t)/2+" cm\n"+2*i+" 0 m\n"+2*i+" "+2*i*o+" "+2*i*o+" "+2*i+" 0 "+2*i+" c\n-"+2*i*o+" "+2*i+" -"+2*i+" "+2*i*o+" -"+2*i+" 0 c\n-"+2*i+" -"+2*i*o+" -"+2*i*o+" -"+2*i+" 0 -"+2*i+" c\n"+2*i*o+" -"+2*i+" "+2*i+" -"+2*i*o+" "+2*i+" 0 c\n f\n Q\n 0 g\n q\n 1 0 0 1 "+n.Appearance.internal.getWidth(t)/2+" "+n.Appearance.internal.getHeight(t)/2+" cm\n"+i+" 0 m\n"+i+" "+i*o+" "+i*o+" "+i+" 0 "+i+" c\n-"+i*o+" "+i+" -"+i+" "+i*o+" -"+i+" 0 c\n-"+i+" -"+i*o+" -"+i*o+" -"+i+" 0 -"+i+" c\n"+i*o+" -"+i+" "+i+" -"+i*o+" "+i+" 0 c\n f\n Q\n",e.stream=r,e},OffPushDown:function(t){var e=n.createFormXObject(t),r="",i=n.Appearance.internal.getWidth(t)<=n.Appearance.internal.getHeight(t)?n.Appearance.internal.getWidth(t)/4:n.Appearance.internal.getHeight(t)/4;i*=.9;var o=n.Appearance.internal.Bezier_C;return r+="0.749023 g\n q\n 1 0 0 1 "+n.Appearance.internal.getWidth(t)/2+" "+n.Appearance.internal.getHeight(t)/2+" cm\n"+2*i+" 0 m\n"+2*i+" "+2*i*o+" "+2*i*o+" "+2*i+" 0 "+2*i+" c\n-"+2*i*o+" "+2*i+" -"+2*i+" "+2*i*o+" -"+2*i+" 0 c\n-"+2*i+" -"+2*i*o+" -"+2*i*o+" -"+2*i+" 0 -"+2*i+" c\n"+2*i*o+" -"+2*i+" "+2*i+" -"+2*i*o+" "+2*i+" 0 c\n f\n Q\n",e.stream=r,e}},Cross:{createAppearanceStream:function(t){var e={D:{Off:n.Appearance.RadioButton.Cross.OffPushDown},N:{}};return e.N[t]=n.Appearance.RadioButton.Cross.YesNormal,e.D[t]=n.Appearance.RadioButton.Cross.YesPushDown,e},createMK:function(){return"<< /CA (8)>>"},YesNormal:function(t){var e=n.createFormXObject(t),r="",i=n.Appearance.internal.calculateCross(t);return r+="q\n 1 1 "+(n.Appearance.internal.getWidth(t)-2)+" "+(n.Appearance.internal.getHeight(t)-2)+" re\n W\n n\n "+i.x1.x+" "+i.x1.y+" m\n "+i.x2.x+" "+i.x2.y+" l\n "+i.x4.x+" "+i.x4.y+" m\n "+i.x3.x+" "+i.x3.y+" l\n s\n Q\n",e.stream=r,e},YesPushDown:function(t){var e=n.createFormXObject(t),r=n.Appearance.internal.calculateCross(t),i="";return i+="0.749023 g\n 0 0 "+n.Appearance.internal.getWidth(t)+" "+n.Appearance.internal.getHeight(t)+" re\n f\n q\n 1 1 "+(n.Appearance.internal.getWidth(t)-2)+" "+(n.Appearance.internal.getHeight(t)-2)+" re\n W\n n\n "+r.x1.x+" "+r.x1.y+" m\n "+r.x2.x+" "+r.x2.y+" l\n "+r.x4.x+" "+r.x4.y+" m\n "+r.x3.x+" "+r.x3.y+" l\n s\n Q\n",e.stream=i,e},OffPushDown:function(t){var e=n.createFormXObject(t),r="";return r+="0.749023 g\n 0 0 "+n.Appearance.internal.getWidth(t)+" "+n.Appearance.internal.getHeight(t)+" re\n f\n",e.stream=r,e}}},createDefaultAppearanceStream:function(t){var e="";return e+="/Helv 12 Tf 0 g"}},n.Appearance.internal={Bezier_C:.551915024494,calculateCross:function(t){var e=function(t,e){return t>e?e:t},r=n.Appearance.internal.getWidth(t),i=n.Appearance.internal.getHeight(t),o=e(r,i),a={x1:{x:(r-o)/2,y:(i-o)/2+o},x2:{x:(r-o)/2+o,y:(i-o)/2},x3:{x:(r-o)/2,y:(i-o)/2},x4:{x:(r-o)/2+o,y:(i-o)/2+o}};return a}},n.Appearance.internal.getWidth=function(t){return t.Rect[2]},n.Appearance.internal.getHeight=function(t){return t.Rect[3]},n.internal.inherit=function(t,e){Object.create||function(t){var e=function(){};return e.prototype=t,new e};t.prototype=Object.create(e.prototype),t.prototype.constructor=t},n.internal.arrayToPdfArray=function(t){if(Array.isArray(t)){var e=" [";for(var n in t){var r=t[n].toString();e+=r,e+=n<t.length-1?" ":""}return e+="]"}},n.internal.toPdfString=function(t){return t=t||"",0!==t.indexOf("(")&&(t="("+t),")"!=t.substring(t.length-1)&&(t+="("),t},n.PDFObject=function(){var t;Object.defineProperty(this,"objId",{get:function(){return t||(this.internal?t=this.internal.newObjectDeferred():e.API.acroformPlugin.internal&&(t=e.API.acroformPlugin.internal.newObjectDeferred())),t||console.log("Couldn't create Object ID"),t},configurable:!1})},n.PDFObject.prototype.toString=function(){return this.objId+" 0 R"},n.PDFObject.prototype.getString=function(){var t=this.objId+" 0 obj\n<<",e=this.getContent();return t+=e+">>\n",this.stream&&(t+="stream\n",t+=this.stream,t+="endstream\n"),t+="endobj\n"},n.PDFObject.prototype.getContent=function(){var t=function(t){var e="",r=Object.keys(t).filter(function(t){return"content"!=t&&"appearanceStreamContent"!=t&&"_"!=t.substring(0,1)});for(var i in r){var o=r[i],a=t[o];a&&(e+=Array.isArray(a)?"/"+o+" "+n.internal.arrayToPdfArray(a)+"\n":a instanceof n.PDFObject?"/"+o+" "+a.objId+" 0 R\n":"/"+o+" "+a+"\n")}return e},e="";return e+=t(this)},n.FormXObject=function(){n.PDFObject.call(this),this.Type="/XObject",this.Subtype="/Form",this.FormType=1,this.BBox,this.Matrix,this.Resources="2 0 R",this.PieceInfo;var t;Object.defineProperty(this,"Length",{enumerable:!0,get:function(){return void 0!==t?t.length:0}}),Object.defineProperty(this,"stream",{enumerable:!1,set:function(e){t=e},get:function(){return t?t:null}})},n.internal.inherit(n.FormXObject,n.PDFObject),n.AcroFormDictionary=function(){n.PDFObject.call(this);var t=[];Object.defineProperty(this,"Kids",{enumerable:!1,configurable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"Fields",{enumerable:!0,configurable:!0,get:function(){return t}}),this.DA},n.internal.inherit(n.AcroFormDictionary,n.PDFObject),n.Field=function(){n.PDFObject.call(this);var t;Object.defineProperty(this,"Rect",{enumerable:!0,configurable:!1,get:function(){if(t){var e=t;return e}},set:function(e){t=e}});var e="";Object.defineProperty(this,"FT",{enumerable:!0,set:function(t){e=t},get:function(){return e}});var r;Object.defineProperty(this,"T",{enumerable:!0,configurable:!1,set:function(t){r=t},get:function(){if(!r||r.length<1){if(this instanceof n.ChildClass)return;return"(FieldObject"+n.Field.FieldNum++ +")"}return"("==r.substring(0,1)&&r.substring(r.length-1)?r:"("+r+")"}});var i;Object.defineProperty(this,"DA",{enumerable:!0,get:function(){return i?"("+i+")":void 0},set:function(t){i=t}});var o;Object.defineProperty(this,"DV",{enumerable:!0,configurable:!0,get:function(){return o?o:void 0},set:function(t){o=t}}),Object.defineProperty(this,"Type",{enumerable:!0,get:function(){return this.hasAnnotation?"/Annot":null}}),Object.defineProperty(this,"Subtype",{enumerable:!0,get:function(){return this.hasAnnotation?"/Widget":null}}),this.BG,Object.defineProperty(this,"hasAnnotation",{enumerable:!1,get:function(){return!!(this.Rect||this.BC||this.BG)}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,configurable:!0,writable:!0}),Object.defineProperty(this,"page",{enumerable:!1,configurable:!0,writable:!0})},n.Field.FieldNum=0,n.internal.inherit(n.Field,n.PDFObject),n.ChoiceField=function(){n.Field.call(this),this.FT="/Ch",this.Opt=[],this.V="()",this.TI=0,this.combo=!1,Object.defineProperty(this,"edit",{enumerable:!0,set:function(t){1==t?(this._edit=!0,this.combo=!0):this._edit=!1},get:function(){return this._edit?this._edit:!1},configurable:!1}),this.hasAppearanceStream=!0,Object.defineProperty(this,"V",{get:function(){n.internal.toPdfString()}})},n.internal.inherit(n.ChoiceField,n.Field),window.ChoiceField=n.ChoiceField,n.ListBox=function(){n.ChoiceField.call(this)},n.internal.inherit(n.ListBox,n.ChoiceField),window.ListBox=n.ListBox,n.ComboBox=function(){n.ListBox.call(this),this.combo=!0},n.internal.inherit(n.ComboBox,n.ListBox),window.ComboBox=n.ComboBox,n.EditBox=function(){n.ComboBox.call(this),this.edit=!0},n.internal.inherit(n.EditBox,n.ComboBox),window.EditBox=n.EditBox,n.Button=function(){n.Field.call(this),this.FT="/Btn"},n.internal.inherit(n.Button,n.Field),window.Button=n.Button,n.PushButton=function(){n.Button.call(this),this.pushbutton=!0},n.internal.inherit(n.PushButton,n.Button),window.PushButton=n.PushButton,n.RadioButton=function(){n.Button.call(this),this.radio=!0;var t=[];Object.defineProperty(this,"Kids",{enumerable:!0,get:function(){return t.length>0?t:void 0}}),Object.defineProperty(this,"__Kids",{get:function(){return t}});var e;Object.defineProperty(this,"noToggleToOff",{enumerable:!1,get:function(){return e},set:function(t){e=t}})},n.internal.inherit(n.RadioButton,n.Button),window.RadioButton=n.RadioButton,n.ChildClass=function(t,e){n.Field.call(this),this.Parent=t,this._AppearanceType=n.Appearance.RadioButton.Circle,this.appearanceStreamContent=this._AppearanceType.createAppearanceStream(e),this.F=n.internal.setBitPosition(this.F,3,1),this.MK=this._AppearanceType.createMK(),this.AS="/Off",this._Name=e},n.internal.inherit(n.ChildClass,n.Field),n.RadioButton.prototype.setAppearance=function(t){if(!("createAppearanceStream"in t&&"createMK"in t))return void console.log("Couldn't assign Appearance to RadioButton. Appearance was Invalid!");for(var e in this.__Kids){var n=this.__Kids[e];n.appearanceStreamContent=t.createAppearanceStream(n._Name),n.MK=t.createMK()}},n.RadioButton.prototype.createOption=function(t){var r=this,i=(this.__Kids.length,new n.ChildClass(r,t));return this.__Kids.push(i),e.API.addField(i),i},n.CheckBox=function(){Button.call(this),this.appearanceStreamContent=n.Appearance.CheckBox.createAppearanceStream(),this.MK=n.Appearance.CheckBox.createMK(),this.AS="/On",this.V="/On"},n.internal.inherit(n.CheckBox,n.Button),window.CheckBox=n.CheckBox,n.TextField=function(){n.Field.call(this);var t;Object.defineProperty(this,"V",{get:function(){return t?"("+t+")":t},enumerable:!0,set:function(e){t=e}});var e;Object.defineProperty(this,"DV",{get:function(){return e?"("+e+")":e},enumerable:!0,set:function(t){e=t}});var r=!1;Object.defineProperty(this,"multiline",{enumerable:!1,get:function(){return r},set:function(t){r=t}});var i=!1;Object.defineProperty(this,"MaxLen",{enumerable:!0,get:function(){return i},set:function(t){i=t}}),Object.defineProperty(this,"hasAppearanceStream",{enumerable:!1,get:function(){return this.V||this.DV}})},n.internal.inherit(n.TextField,n.Field),window.TextField=n.TextField,n.PasswordField=function(){TextField.call(this),Object.defineProperty(this,"password",{value:!0,enumerable:!1,configurable:!1,writable:!1})},n.internal.inherit(n.PasswordField,n.TextField),window.PasswordField=n.PasswordField,n.internal.calculateFontSpace=function(t,e,r){var r=r||"helvetica",i=n.internal.calculateFontSpace.canvas||(n.internal.calculateFontSpace.canvas=document.createElement("canvas")),o=i.getContext("2d");o.save();var a=e+" "+r;o.font=a;var s=o.measureText(t);o.fontcolor="black";var o=i.getContext("2d");s.height=1.5*o.measureText("3").width,o.restore();s.width;return s},n.internal.calculateX=function(t,e,r,i){var i=i||12,r=r||"helvetica",o={text:"",fontSize:""};e="("==e.substr(0,1)?e.substr(1):e,e=")"==e.substr(e.length-1)?e.substr(0,e.length-1):e;var a=e.split(" "),s=i,c=2,u=2,l=n.Appearance.internal.getHeight(t)||0;l=0>l?-l:l;var h=n.Appearance.internal.getWidth(t)||0;h=0>h?-h:h;var f=function(t,e,i){if(t+1<a.length){var o=e+" "+a[t+1],s=n.internal.calculateFontSpace(o,i+"px",r).width,c=h-2*u;return c>=s}return!1};s++;t:for(;;){var e="";s--;var d=n.internal.calculateFontSpace("3",s+"px",r).height,p=t.multiline?l-s:(l-d)/2;p+=c;var m=-u,g=m,w=p,y=0,v=0,b=0;if(0==s){s=12,e="(...) Tj\n",e+="% Width of Text: "+n.internal.calculateFontSpace(e,"1px").width+", FieldWidth:"+h+"\n";break}b=n.internal.calculateFontSpace(a[0]+" ",s+"px",r).width;var x="",k=0;for(var A in a){x+=a[A]+" ",x=" "==x.substr(x.length-1)?x.substr(0,x.length-1):x;var C=parseInt(A);b=n.internal.calculateFontSpace(x+" ",s+"px",r).width;var _=f(C,x,s),q=A>=a.length-1;if(!_||q){if(_||q){if(q)v=C;else if(t.multiline&&(d+c)*(k+2)+c>l)continue t}else{if(!t.multiline)continue t;if((d+c)*(k+2)+c>l)continue t;v=C}for(var S="",T=y;v>=T;T++)S+=a[T]+" ";switch(S=" "==S.substr(S.length-1)?S.substr(0,S.length-1):S,b=n.internal.calculateFontSpace(S,s+"px",r).width,t.Q){case 2:m=h-b-u;break;case 1:m=(h-b)/2;break;case 0:default:m=u}e+=m+" "+w+" Td\n",e+="("+S+") Tj\n",e+=-m+" 0 Td\n",w=-(s+c),g=m,b=0,y=v+1,k++,x=""}else x+=" "}break}return o.text=e,o.fontSize=s,o},n.internal.calculateAppearanceStream=function(t){if(t.appearanceStreamContent)return t.appearanceStreamContent;if(t.V||t.DV){var e="",r=t.V||t.DV,i=n.internal.calculateX(t,r);e+="/Tx BMC\nq\n/F1 "+i.fontSize+" Tf\n1 0 0 1 0 0 Tm\n",e+="BT\n",e+=i.text,e+="ET\n",e+="Q\nEMC\n";var o=new n.createFormXObject(t);o.stream=e;return o}},n.internal.calculateCoordinates=function(t,e,r,i){var o={};if(this.internal){var a=function(t){return t*this.internal.scaleFactor};Array.isArray(t)?(t[0]=n.scale(t[0]),t[1]=n.scale(t[1]),t[2]=n.scale(t[2]),t[3]=n.scale(t[3]),o.lowerLeft_X=t[0]||0,o.lowerLeft_Y=a.call(this,this.internal.pageSize.height)-t[3]-t[1]||0,o.upperRight_X=t[0]+t[2]||0,o.upperRight_Y=a.call(this,this.internal.pageSize.height)-t[1]||0):(t=n.scale(t),e=n.scale(e),r=n.scale(r),i=n.scale(i),o.lowerLeft_X=t||0,o.lowerLeft_Y=this.internal.pageSize.height-e||0,o.upperRight_X=t+r||0,o.upperRight_Y=this.internal.pageSize.height-e+i||0)}else Array.isArray(t)?(o.lowerLeft_X=t[0]||0,o.lowerLeft_Y=t[1]||0,o.upperRight_X=t[0]+t[2]||0,o.upperRight_Y=t[1]+t[3]||0):(o.lowerLeft_X=t||0,o.lowerLeft_Y=e||0,o.upperRight_X=t+r||0,o.upperRight_Y=e+i||0);return[o.lowerLeft_X,o.lowerLeft_Y,o.upperRight_X,o.upperRight_Y]},n.internal.calculateColor=function(t,e,n){var r=new Array(3);return r.r=0|t,r.g=0|e,r.b=0|n,r},n.internal.getBitPosition=function(t,e){t=t||0;var n=1;return n<<=e-1,t|n},n.internal.setBitPosition=function(t,e,n){t=t||0,n=n||1;var r=1;if(r<<=e-1,1==n)var t=t|r;else var t=t&~r;return t},/**
9
- * jsPDF addHTML PlugIn
10
- * Copyright (c) 2014 Diego Casorran
11
- *
12
- * Licensed under the MIT License.
13
- * http://opensource.org/licenses/mit-license
14
- */
15
- function(t){t.addHTML=function(t,e,n,r,i){if("undefined"==typeof html2canvas&&"undefined"==typeof rasterizeHTML)throw new Error("You need either https://github.com/niklasvh/html2canvas or https://github.com/cburgmer/rasterizeHTML.js");"number"!=typeof e&&(r=e,i=n),"function"==typeof r&&(i=r,r=null);var o=this.internal,a=o.scaleFactor,s=o.pageSize.width,c=o.pageSize.height;if(r=r||{},r.onrendered=function(t){e=parseInt(e)||0,n=parseInt(n)||0;var o=r.dim||{},u=o.h||0,l=o.w||Math.min(s,t.width/a)-e,h="JPEG";if(r.format&&(h=r.format),t.height>c&&r.pagesplit){var f=function(){for(var r=0;;){var o=document.createElement("canvas");o.width=Math.min(s*a,t.width),o.height=Math.min(c*a,t.height-r);var u=o.getContext("2d");u.drawImage(t,0,r,t.width,o.height,0,0,o.width,o.height);var f=[o,e,r?0:n,o.width/a,o.height/a,h,null,"SLOW"];if(this.addImage.apply(this,f),r+=o.height,r>=t.height)break;this.addPage()}i(l,r,null,f)}.bind(this);if("CANVAS"===t.nodeName){var d=new Image;d.onload=f,d.src=t.toDataURL("image/png"),t=d}else f()}else{var p=Math.random().toString(35),m=[t,e,n,l,u,h,p,"SLOW"];this.addImage.apply(this,m),i(l,u,p,m)}}.bind(this),"undefined"!=typeof html2canvas&&!r.rstz)return html2canvas(t,r);if("undefined"!=typeof rasterizeHTML){var u="drawDocument";return"string"==typeof t&&(u=/^http/.test(t)?"drawURL":"drawHTML"),r.width=r.width||s*a,rasterizeHTML[u](t,void 0,r).then(function(t){r.onrendered(t.image)},function(t){i(null,t)})}return null}}(e.API),function(e){var n="addImage_",r=["jpeg","jpg","png"],i=function k(t){var e=this.internal.newObject(),n=this.internal.write,r=this.internal.putStream;if(t.n=e,n("<</Type /XObject"),n("/Subtype /Image"),n("/Width "+t.w),n("/Height "+t.h),t.cs===this.color_spaces.INDEXED?n("/ColorSpace [/Indexed /DeviceRGB "+(t.pal.length/3-1)+" "+("smask"in t?e+2:e+1)+" 0 R]"):(n("/ColorSpace /"+t.cs),t.cs===this.color_spaces.DEVICE_CMYK&&n("/Decode [1 0 1 0 1 0 1 0]")),n("/BitsPerComponent "+t.bpc),"f"in t&&n("/Filter /"+t.f),"dp"in t&&n("/DecodeParms <<"+t.dp+">>"),"trns"in t&&t.trns.constructor==Array){for(var i="",o=0,a=t.trns.length;a>o;o++)i+=t.trns[o]+" "+t.trns[o]+" ";n("/Mask ["+i+"]")}if("smask"in t&&n("/SMask "+(e+1)+" 0 R"),n("/Length "+t.data.length+">>"),r(t.data),n("endobj"),"smask"in t){var s="/Predictor 15 /Colors 1 /BitsPerComponent "+t.bpc+" /Columns "+t.w,c={w:t.w,h:t.h,cs:"DeviceGray",bpc:t.bpc,dp:s,data:t.smask};"f"in t&&(c.f=t.f),k.call(this,c)}t.cs===this.color_spaces.INDEXED&&(this.internal.newObject(),n("<< /Length "+t.pal.length+">>"),r(this.arrayBufferToBinaryString(new Uint8Array(t.pal))),n("endobj"))},o=function(){var t=this.internal.collections[n+"images"];for(var e in t)i.call(this,t[e])},a=function(){var t,e=this.internal.collections[n+"images"],r=this.internal.write;for(var i in e)t=e[i],r("/I"+t.i,t.n,"0","R")},s=function(t){return t&&"string"==typeof t&&(t=t.toUpperCase()),t in e.image_compression?t:e.image_compression.NONE},c=function(){var t=this.internal.collections[n+"images"];return t||(this.internal.collections[n+"images"]=t={},this.internal.events.subscribe("putResources",o),this.internal.events.subscribe("putXobjectDict",a)),t},u=function(t){var e=0;return t&&(e=Object.keys?Object.keys(t).length:function(t){var e=0;for(var n in t)t.hasOwnProperty(n)&&e++;return e}(t)),e},l=function(t){return"undefined"==typeof t||null===t},h=function(t){return"string"==typeof t&&e.sHashCode(t)},f=function(t){return-1===r.indexOf(t)},d=function(t){return"function"!=typeof e["process"+t.toUpperCase()]},p=function(e){return"object"===("undefined"==typeof e?"undefined":t(e))&&1===e.nodeType},m=function(e,n,r){if("IMG"===e.nodeName&&e.hasAttribute("src")){var i=""+e.getAttribute("src");if(!r&&0===i.indexOf("data:image/"))return i;!n&&/\.png(?:[?#].*)?$/i.test(i)&&(n="png")}if("CANVAS"===e.nodeName)var o=e;else{var o=document.createElement("canvas");o.width=e.clientWidth||e.width,o.height=e.clientHeight||e.height;var a=o.getContext("2d");if(!a)throw"addImage requires canvas to be supported by browser.";if(r){var s,c,u,l,h,f,d,p,m=Math.PI/180;"object"===("undefined"==typeof r?"undefined":t(r))&&(s=r.x,c=r.y,u=r.bg,r=r.angle),p=r*m,l=Math.abs(Math.cos(p)),h=Math.abs(Math.sin(p)),f=o.width,d=o.height,o.width=d*h+f*l,o.height=d*l+f*h,isNaN(s)&&(s=o.width/2),isNaN(c)&&(c=o.height/2),a.clearRect(0,0,o.width,o.height),a.fillStyle=u||"white",a.fillRect(0,0,o.width,o.height),a.save(),a.translate(s,c),a.rotate(p),a.drawImage(e,-(f/2),-(d/2)),a.rotate(-p),a.translate(-s,-c),a.restore()}else a.drawImage(e,0,0,o.width,o.height)}return o.toDataURL("png"==(""+n).toLowerCase()?"image/png":"image/jpeg")},g=function(t,e){var n;if(e)for(var r in e)if(t===e[r].alias){n=e[r];break}return n},w=function(t,e,n){return t||e||(t=-96,e=-96),0>t&&(t=-1*n.w*72/t/this.internal.scaleFactor),0>e&&(e=-1*n.h*72/e/this.internal.scaleFactor),0===t&&(t=e*n.w/n.h),0===e&&(e=t*n.h/n.w),[t,e]},y=function(t,e,n,r,i,o,a){var s=w.call(this,n,r,i),c=this.internal.getCoordinateString,u=this.internal.getVerticalCoordinateString;n=s[0],r=s[1],a[o]=i,this.internal.write("q",c(n),"0 0",c(r),c(t),u(e+r),"cm /I"+i.i,"Do Q")};e.color_spaces={DEVICE_RGB:"DeviceRGB",DEVICE_GRAY:"DeviceGray",DEVICE_CMYK:"DeviceCMYK",CAL_GREY:"CalGray",CAL_RGB:"CalRGB",LAB:"Lab",ICC_BASED:"ICCBased",INDEXED:"Indexed",PATTERN:"Pattern",SEPERATION:"Seperation",DEVICE_N:"DeviceN"},e.decode={DCT_DECODE:"DCTDecode",FLATE_DECODE:"FlateDecode",LZW_DECODE:"LZWDecode",JPX_DECODE:"JPXDecode",JBIG2_DECODE:"JBIG2Decode",ASCII85_DECODE:"ASCII85Decode",ASCII_HEX_DECODE:"ASCIIHexDecode",RUN_LENGTH_DECODE:"RunLengthDecode",CCITT_FAX_DECODE:"CCITTFaxDecode"},e.image_compression={NONE:"NONE",FAST:"FAST",MEDIUM:"MEDIUM",SLOW:"SLOW"},e.sHashCode=function(t){return Array.prototype.reduce&&t.split("").reduce(function(t,e){return t=(t<<5)-t+e.charCodeAt(0),t&t},0)},e.isString=function(t){return"string"==typeof t},e.extractInfoFromBase64DataURI=function(t){return/^data:([\w]+?\/([\w]+?));base64,(.+?)$/g.exec(t)},e.supportsArrayBuffer=function(){return"undefined"!=typeof ArrayBuffer&&"undefined"!=typeof Uint8Array},e.isArrayBuffer=function(t){return this.supportsArrayBuffer()?t instanceof ArrayBuffer:!1},e.isArrayBufferView=function(t){return this.supportsArrayBuffer()?"undefined"==typeof Uint32Array?!1:t instanceof Int8Array||t instanceof Uint8Array||"undefined"!=typeof Uint8ClampedArray&&t instanceof Uint8ClampedArray||t instanceof Int16Array||t instanceof Uint16Array||t instanceof Int32Array||t instanceof Uint32Array||t instanceof Float32Array||t instanceof Float64Array:!1},e.binaryStringToUint8Array=function(t){for(var e=t.length,n=new Uint8Array(e),r=0;e>r;r++)n[r]=t.charCodeAt(r);return n},e.arrayBufferToBinaryString=function(t){if("TextDecoder"in window){var e=new TextDecoder("ascii");return e.decode(t)}this.isArrayBuffer(t)&&(t=new Uint8Array(t));for(var n="",r=t.byteLength,i=0;r>i;i++)n+=String.fromCharCode(t[i]);return n},e.arrayBufferToBase64=function(t){for(var e,n,r,i,o,a="",s="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",c=new Uint8Array(t),u=c.byteLength,l=u%3,h=u-l,f=0;h>f;f+=3)o=c[f]<<16|c[f+1]<<8|c[f+2],e=(16515072&o)>>18,n=(258048&o)>>12,r=(4032&o)>>6,i=63&o,a+=s[e]+s[n]+s[r]+s[i];return 1==l?(o=c[h],e=(252&o)>>2,n=(3&o)<<4,a+=s[e]+s[n]+"=="):2==l&&(o=c[h]<<8|c[h+1],e=(64512&o)>>10,n=(1008&o)>>4,r=(15&o)<<2,a+=s[e]+s[n]+s[r]+"="),a},e.createImageInfo=function(t,e,n,r,i,o,a,s,c,u,l,h){var f={alias:s,w:e,h:n,cs:r,bpc:i,i:a,data:t};return o&&(f.f=o),c&&(f.dp=c),u&&(f.trns=u),l&&(f.pal=l),h&&(f.smask=h),f},e.addImage=function(e,n,i,o,a,w,v,b,x){if("string"!=typeof n){var k=w;w=a,a=o,o=i,i=n,n=k}if("object"===("undefined"==typeof e?"undefined":t(e))&&!p(e)&&"imageData"in e){var A=e;e=A.imageData,n=A.format||n,i=A.x||i||0,o=A.y||o||0,a=A.w||a,w=A.h||w,v=A.alias||v,b=A.compression||b,x=A.rotation||A.angle||x}if(isNaN(i)||isNaN(o))throw console.error("jsPDF.addImage: Invalid coordinates",arguments),new Error("Invalid coordinates passed to jsPDF.addImage");var C,_=c.call(this);if(!(C=g(e,_))){var q;if(p(e)&&(e=m(e,n,x)),l(v)&&(v=h(e)),!(C=g(v,_))){if(this.isString(e)){var S=this.extractInfoFromBase64DataURI(e);S?(n=S[2],e=atob(S[3])):137===e.charCodeAt(0)&&80===e.charCodeAt(1)&&78===e.charCodeAt(2)&&71===e.charCodeAt(3)&&(n="png")}if(n=(n||"JPEG").toLowerCase(),f(n))throw new Error("addImage currently only supports formats "+r+", not '"+n+"'");if(d(n))throw new Error("please ensure that the plugin for '"+n+"' support is added");if(this.supportsArrayBuffer()&&(e instanceof Uint8Array||(q=e,e=this.binaryStringToUint8Array(e))),C=this["process"+n.toUpperCase()](e,u(_),v,s(b),q),!C)throw new Error("An unkwown error occurred whilst processing the image")}}return y.call(this,i,o,a,w,C,C.i,_),this};var v=function(t){var e,n,r;if(255===!t.charCodeAt(0)||216===!t.charCodeAt(1)||255===!t.charCodeAt(2)||224===!t.charCodeAt(3)||!t.charCodeAt(6)==="J".charCodeAt(0)||!t.charCodeAt(7)==="F".charCodeAt(0)||!t.charCodeAt(8)==="I".charCodeAt(0)||!t.charCodeAt(9)==="F".charCodeAt(0)||0===!t.charCodeAt(10))throw new Error("getJpegSize requires a binary string jpeg file");for(var i=256*t.charCodeAt(4)+t.charCodeAt(5),o=4,a=t.length;a>o;){if(o+=i,255!==t.charCodeAt(o))throw new Error("getJpegSize could not find the size of the image");if(192===t.charCodeAt(o+1)||193===t.charCodeAt(o+1)||194===t.charCodeAt(o+1)||195===t.charCodeAt(o+1)||196===t.charCodeAt(o+1)||197===t.charCodeAt(o+1)||198===t.charCodeAt(o+1)||199===t.charCodeAt(o+1))return n=256*t.charCodeAt(o+5)+t.charCodeAt(o+6),e=256*t.charCodeAt(o+7)+t.charCodeAt(o+8),r=t.charCodeAt(o+9),[e,n,r];o+=2,i=256*t.charCodeAt(o)+t.charCodeAt(o+1)}},b=function(t){var e=t[0]<<8|t[1];if(65496!==e)throw new Error("Supplied data is not a JPEG");for(var n,r,i,o,a=t.length,s=(t[4]<<8)+t[5],c=4;a>c;){if(c+=s,n=x(t,c),s=(n[2]<<8)+n[3],(192===n[1]||194===n[1])&&255===n[0]&&s>7)return n=x(t,c+5),r=(n[2]<<8)+n[3],i=(n[0]<<8)+n[1],o=n[4],{width:r,height:i,numcomponents:o};c+=2}throw new Error("getJpegSizeFromBytes could not find the size of the image")},x=function(t,e){return t.subarray(e,e+5)};e.processJPEG=function(t,e,n,r,i){var o,a=this.color_spaces.DEVICE_RGB,s=this.decode.DCT_DECODE,c=8;return this.isString(t)?(o=v(t),this.createImageInfo(t,o[0],o[1],1==o[3]?this.color_spaces.DEVICE_GRAY:a,c,s,e,n)):(this.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.isArrayBufferView(t)?(o=b(t),t=i||this.arrayBufferToBinaryString(t),this.createImageInfo(t,o.width,o.height,1==o.numcomponents?this.color_spaces.DEVICE_GRAY:a,c,s,e,n)):null)},e.processJPG=function(){return this.processJPEG.apply(this,arguments)}}(e.API),/**
16
- * jsPDF Annotations PlugIn
17
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
18
- *
19
- * Licensed under the MIT License.
20
- * http://opensource.org/licenses/mit-license
21
- */
22
- function(t){var n={annotations:[],f2:function(t){return t.toFixed(2)},notEmpty:function(t){return"undefined"!=typeof t&&""!=t?!0:void 0}};return e.API.annotationPlugin=n,e.API.events.push(["addPage",function(t){this.annotationPlugin.annotations[t.pageNumber]=[]}]),t.events.push(["putPage",function(t){for(var e=this.annotationPlugin.annotations[t.pageNumber],r=!1,i=0;i<e.length&&!r;i++){var o=e[i];switch(o.type){case"link":if(n.notEmpty(o.options.url)||n.notEmpty(o.options.pageNumber)){r=!0;break}case"reference":case"text":case"freetext":r=!0}}if(0!=r){this.internal.write("/Annots [");for(var a=this.annotationPlugin.f2,s=this.internal.scaleFactor,c=this.internal.pageSize.height,u=this.internal.getPageInfo(t.pageNumber),i=0;i<e.length;i++){var o=e[i];switch(o.type){case"reference":this.internal.write(" "+o.object.objId+" 0 R ");break;case"text":var l=this.internal.newAdditionalObject(),h=this.internal.newAdditionalObject(),f=o.title||"Note",d="/Rect ["+a(o.bounds.x*s)+" "+a(c-(o.bounds.y+o.bounds.h)*s)+" "+a((o.bounds.x+o.bounds.w)*s)+" "+a((c-o.bounds.y)*s)+"] ";y="<</Type /Annot /Subtype /Text "+d+"/Contents ("+o.contents+")",y+=" /Popup "+h.objId+" 0 R",y+=" /P "+u.objId+" 0 R",y+=" /T ("+f+") >>",l.content=y;var p=l.objId+" 0 R",m=30,d="/Rect ["+a((o.bounds.x+m)*s)+" "+a(c-(o.bounds.y+o.bounds.h)*s)+" "+a((o.bounds.x+o.bounds.w+m)*s)+" "+a((c-o.bounds.y)*s)+"] ";y="<</Type /Annot /Subtype /Popup "+d+" /Parent "+p,o.open&&(y+=" /Open true"),y+=" >>",h.content=y,this.internal.write(l.objId,"0 R",h.objId,"0 R");break;case"freetext":var d="/Rect ["+a(o.bounds.x*s)+" "+a((c-o.bounds.y)*s)+" "+a(o.bounds.x+o.bounds.w*s)+" "+a(c-(o.bounds.y+o.bounds.h)*s)+"] ",g=o.color||"#000000";y="<</Type /Annot /Subtype /FreeText "+d+"/Contents ("+o.contents+")",y+=" /DS(font: Helvetica,sans-serif 12.0pt; text-align:left; color:#"+g+")",y+=" /Border [0 0 0]",y+=" >>",this.internal.write(y);break;case"link":if(o.options.name){var w=this.annotations._nameMap[o.options.name];o.options.pageNumber=w.page,o.options.top=w.y}else o.options.top||(o.options.top=0);var d="/Rect ["+a(o.x*s)+" "+a((c-o.y)*s)+" "+a(o.x+o.w*s)+" "+a(c-(o.y+o.h)*s)+"] ",y="";if(o.options.url)y="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /A <</S /URI /URI ("+o.options.url+") >>";else if(o.options.pageNumber){var t=this.internal.getPageInfo(o.options.pageNumber);switch(y="<</Type /Annot /Subtype /Link "+d+"/Border [0 0 0] /Dest ["+t.objId+" 0 R",o.options.magFactor=o.options.magFactor||"XYZ",o.options.magFactor){case"Fit":y+=" /Fit]";break;case"FitH":y+=" /FitH "+o.options.top+"]";break;case"FitV":o.options.left=o.options.left||0,y+=" /FitV "+o.options.left+"]";break;case"XYZ":default:var v=a((c-o.options.top)*s);o.options.left=o.options.left||0,"undefined"==typeof o.options.zoom&&(o.options.zoom=0),y+=" /XYZ "+o.options.left+" "+v+" "+o.options.zoom+"]"}}""!=y&&(y+=" >>",this.internal.write(y))}}this.internal.write("]")}}]),t.createAnnotation=function(t){switch(t.type){case"link":this.link(t.bounds.x,t.bounds.y,t.bounds.w,t.bounds.h,t);break;case"text":case"freetext":this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push(t)}},t.link=function(t,e,n,r,i){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:t,y:e,w:n,h:r,options:i,type:"link"})},t.link=function(t,e,n,r,i){this.annotationPlugin.annotations[this.internal.getCurrentPageInfo().pageNumber].push({x:t,y:e,w:n,h:r,options:i,type:"link"})},t.textWithLink=function(t,e,n,r){var i=this.getTextWidth(t),o=this.internal.getLineHeight();return this.text(t,e,n),n+=.2*o,this.link(e,n-o,i,o,r),i},t.getTextWidth=function(t){var e=this.internal.getFontSize(),n=this.getStringUnitWidth(t)*e/this.internal.scaleFactor;return n},t.getLineHeight=function(){return this.internal.getLineHeight()},this}(e.API),function(t){t.autoPrint=function(){var t;return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.write("/OpenAction "+t+" 0 R")}),this}}(e.API),/**
23
- * jsPDF Canvas PlugIn
24
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
25
- *
26
- * Licensed under the MIT License.
27
- * http://opensource.org/licenses/mit-license
28
- */
29
- function(t){return t.events.push(["initialized",function(){this.canvas.pdf=this}]),t.canvas={getContext:function(t){return this.pdf.context2d},style:{}},Object.defineProperty(t.canvas,"width",{get:function(){return this._width},set:function(t){this._width=t,this.getContext("2d").pageWrapX=t+1}}),Object.defineProperty(t.canvas,"height",{get:function(){return this._height},set:function(t){this._height=t,this.getContext("2d").pageWrapY=t+1}}),this}(e.API),/** ====================================================================
30
- * jsPDF Cell plugin
31
- * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
32
- * 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
33
- * 2013 Lee Driscoll, https://github.com/lsdriscoll
34
- * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
35
- * 2014 James Hall, james@parall.ax
36
- * 2014 Diego Casorran, https://github.com/diegocr
37
- *
38
- *
39
- * ====================================================================
40
- */
41
- function(t){var e,n,r,i,o=3,a=13,s={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},c=1,u=function(t,e,n,r,i){s={x:t,y:e,w:n,h:r,ln:i}},l=function(){return s},h={left:0,top:0,bottom:0};t.setHeaderFunction=function(t){i=t},t.getTextDimensions=function(t){e=this.internal.getFont().fontName,n=this.table_font_size||this.internal.getFontSize(),r=this.internal.getFont().fontStyle;var i,o,a=19.049976/25.4;o=document.createElement("font"),o.id="jsPDFCell";try{o.style.fontStyle=r}catch(s){o.style.fontWeight=r}o.style.fontName=e,o.style.fontSize=n+"pt";try{o.textContent=t}catch(s){o.innerText=t}return document.body.appendChild(o),i={w:(o.offsetWidth+1)*a,h:(o.offsetHeight+1)*a},document.body.removeChild(o),i},t.cellAddPage=function(){var t=this.margins||h;this.addPage(),u(t.left,t.top,void 0,void 0),c+=1},t.cellInitialize=function(){s={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},c=1},t.cell=function(t,e,n,r,i,s,c){var f=l(),d=!1;if(void 0!==f.ln)if(f.ln===s)t=f.x+f.w,e=f.y;else{var p=this.margins||h;f.y+f.h+r+a>=this.internal.pageSize.height-p.bottom&&(this.cellAddPage(),d=!0,this.printHeaders&&this.tableHeaderRow&&this.printHeaderRow(s,!0)),e=l().y+l().h,d&&(e=a+10)}if(void 0!==i[0])if(this.printingHeaderRow?this.rect(t,e,n,r,"FD"):this.rect(t,e,n,r),"right"===c){i instanceof Array||(i=[i]);for(var m=0;m<i.length;m++){var g=i[m],w=this.getStringUnitWidth(g)*this.internal.getFontSize();this.text(g,t+n-w-o,e+this.internal.getLineHeight()*(m+1))}}else this.text(i,t+o,e+this.internal.getLineHeight());return u(t,e,n,r,s),this},t.arrayMax=function(t,e){var n,r,i,o=t[0];for(n=0,r=t.length;r>n;n+=1)i=t[n],e?-1===e(o,i)&&(o=i):i>o&&(o=i);return o},t.table=function(e,n,r,i,o){if(!r)throw"No data for PDF table";var a,u,l,f,d,p,m,g,w,y,v=[],b=[],x={},k={},A=[],C=[],_=!1,q=!0,S=12,T=h;if(T.width=this.internal.pageSize.width,o&&(o.autoSize===!0&&(_=!0),o.printHeaders===!1&&(q=!1),o.fontSize&&(S=o.fontSize),o.css["font-size"]&&(S=16*o.css["font-size"]),o.margins&&(T=o.margins)),this.lnMod=0,s={x:void 0,y:void 0,w:void 0,h:void 0,ln:void 0},c=1,this.printHeaders=q,this.margins=T,this.setFontSize(S),this.table_font_size=S,void 0===i||null===i)v=Object.keys(r[0]);else if(i[0]&&"string"!=typeof i[0]){var P=19.049976/25.4;for(u=0,l=i.length;l>u;u+=1)a=i[u],v.push(a.name),b.push(a.prompt),k[a.name]=a.width*P}else v=i;if(_)for(y=function(t){return t[a]},u=0,l=v.length;l>u;u+=1){for(a=v[u],x[a]=r.map(y),A.push(this.getTextDimensions(b[u]||a).w),p=x[a],m=0,f=p.length;f>m;m+=1)d=p[m],A.push(this.getTextDimensions(d).w);k[a]=t.arrayMax(A),A=[]}if(q){var E=this.calculateLineHeight(v,k,b.length?b:v);for(u=0,l=v.length;l>u;u+=1)a=v[u],C.push([e,n,k[a],E,String(b.length?b[u]:a)]);this.setTableHeaderRow(C),this.printHeaderRow(1,!1)}for(u=0,l=r.length;l>u;u+=1){var E;for(g=r[u],E=this.calculateLineHeight(v,k,g),m=0,w=v.length;w>m;m+=1)a=v[m],this.cell(e,n,k[a],E,g[a],u+2,a.align)}return this.lastCellPos=s,this.table_x=e,this.table_y=n,this},t.calculateLineHeight=function(t,e,n){for(var r,i=0,a=0;a<t.length;a++){r=t[a],n[r]=this.splitTextToSize(String(n[r]),e[r]-o);var s=this.internal.getLineHeight()*n[r].length+o;s>i&&(i=s)}return i},t.setTableHeaderRow=function(t){this.tableHeaderRow=t},t.printHeaderRow=function(t,e){if(!this.tableHeaderRow)throw"Property tableHeaderRow does not exist.";var n,r,o,s;if(this.printingHeaderRow=!0,void 0!==i){var l=i(this,c);u(l[0],l[1],l[2],l[3],-1)}this.setFontStyle("bold");var h=[];for(o=0,s=this.tableHeaderRow.length;s>o;o+=1)this.setFillColor(200,200,200),n=this.tableHeaderRow[o],e&&(this.margins.top=a,n[1]=this.margins&&this.margins.top||0,h.push(n)),r=[].concat(n),this.cell.apply(this,r.concat(t));h.length>0&&this.setTableHeaderRow(h),this.setFontStyle("normal"),this.printingHeaderRow=!1}}(e.API),/**
42
- * jsPDF Context2D PlugIn
43
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
44
- *
45
- * Licensed under the MIT License.
46
- * http://opensource.org/licenses/mit-license
47
- */
48
- function(t){function e(){this.fillStyle="#000000",this.strokeStyle="#000000",this.font="12pt times",this.textBaseline="alphabetic",this.lineWidth=1,this.lineJoin="miter",this.lineCap="butt",this._translate={x:0,y:0},this.copy=function(t){this.fillStyle=t.fillStyle,this.strokeStyle=t.strokeStyle,this.font=t.font,this.lineWidth=t.lineWidth,this.lineJoin=t.lineJoin,this.lineCap=t.lineCap,this.textBaseline=t.textBaseline,this._fontSize=t._fontSize,this._translate={x:t._translate.x,y:t._translate.y}}}t.events.push(["initialized",function(){this.context2d.pdf=this,this.context2d.internal.pdf=this,this.context2d.ctx=new e,this.context2d.ctxStack=[],this.context2d.path=[]}]),t.context2d={pageWrapXEnabled:!1,pageWrapYEnabled:!0,pageWrapX:9999999,pageWrapY:9999999,f2:function(t){return t.toFixed(2)},fillRect:function(t,e,n,r){t=this._wrapX(t),e=this._wrapY(e),this.pdf.rect(t,e,n,r,"f")},strokeRect:function(t,e,n,r){t=this._wrapX(t),e=this._wrapY(e),this.pdf.rect(t,e,n,r,"s")},clearRect:function(t,e,n,r){t=this._wrapX(t),e=this._wrapY(e),this.save(),this.setFillStyle("#ffffff"),this.pdf.rect(t,e,n,r,"f"),this.restore()},save:function(){this.ctx._fontSize=this.pdf.internal.getFontSize();var t=new e;t.copy(this.ctx),this.ctxStack.push(this.ctx),this.ctx=t},restore:function(){this.ctx=this.ctxStack.pop(),this.setFillStyle(this.ctx.fillStyle),this.setStrokeStyle(this.ctx.strokeStyle),this.setFont(this.ctx.font),this.pdf.setFontSize(this.ctx._fontSize),this.setLineCap(this.ctx.lineCap),this.setLineWidth(this.ctx.lineWidth),this.setLineJoin(this.ctx.lineJoin)},beginPath:function(){this.path=[]},closePath:function(){this.path.push({type:"close"})},setFillStyle:function(t){var e,n,r,o,a=this.internal.rxRgb.exec(t);null!=a?(e=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3])):(a=this.internal.rxRgba.exec(t),null!=a?(e=parseInt(a[1]),n=parseInt(a[2]),r=parseInt(a[3]),o=parseInt(a[4])):("#"!=t.charAt(0)&&(t=i.colorNameToHex(t),t||(t="#000000")),this.ctx.fillStyle=t,4===t.length?(e=this.ctx.fillStyle.substring(1,2),e+=e,n=this.ctx.fillStyle.substring(2,3),n+=n,r=this.ctx.fillStyle.substring(3,4),r+=r):(e=this.ctx.fillStyle.substring(1,3),n=this.ctx.fillStyle.substring(3,5),r=this.ctx.fillStyle.substring(5,7)),e=parseInt(e,16),n=parseInt(n,16),r=parseInt(r,16))),this.pdf.setFillColor(e,n,r,{a:o}),this.pdf.setTextColor(e,n,r,{a:o})},setStrokeStyle:function(t){"#"!=t.charAt(0)&&(t=i.colorNameToHex(t),t||(t="#000000")),this.ctx.strokeStyle=t;var e=this.ctx.strokeStyle.substring(1,3);e=parseInt(e,16);var n=this.ctx.strokeStyle.substring(3,5);n=parseInt(n,16);var r=this.ctx.strokeStyle.substring(5,7);r=parseInt(r,16),this.pdf.setDrawColor(e,n,r)},fillText:function(t,e,n,r){e=this._wrapX(e),n=this._wrapY(n),this.pdf.text(t,e,this._getBaseline(n))},strokeText:function(t,e,n,r){e=this._wrapX(e),n=this._wrapY(n),this.pdf.text(t,e,this._getBaseline(n),{stroke:!0})},setFont:function(t){this.ctx.font=t;var e=/\s*(\w+)\s+(\w+)\s+(\w+)\s+([\d\.]+)(px|pt|em)\s+["']?(\w+)['"]?/;if(c=e.exec(t),null!=c){var n=c[1],r=(c[2],c[3]),i=c[4],o=c[5],a=c[6];i="px"===o?Math.floor(parseFloat(i)):"em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(i)),this.pdf.setFontSize(i),"bold"===r||"700"===r?this.pdf.setFontStyle("bold"):"italic"===n?this.pdf.setFontStyle("italic"):this.pdf.setFontStyle("normal");var s=a;this.pdf.setFont(s,l)}else{var e=/(\d+)(pt|px|em)\s+(\w+)\s*(\w+)?/,c=e.exec(t);if(null!=c){var u=c[1],s=(c[2],c[3]),l=c[4];l||(l="normal"),u="em"===o?Math.floor(parseFloat(i)*this.pdf.getFontSize()):Math.floor(parseFloat(u)),this.pdf.setFontSize(u),this.pdf.setFont(s,l)}}},setTextBaseline:function(t){this.ctx.textBaseline=t},getTextBaseline:function(){return this.ctx.textBaseline},setLineWidth:function(t){this.ctx.lineWidth=t,this.pdf.setLineWidth(t)},setLineCap:function(t){this.ctx.lineCap=t,this.pdf.setLineCap(t)},setLineJoin:function(t){this.ctx.lineJon=t,this.pdf.setLineJoin(t)},moveTo:function(t,e){t=this._wrapX(t),e=this._wrapY(e);var n={type:"mt",x:t,y:e};this.path.push(n)},_wrapX:function(t){return this.pageWrapXEnabled?t%this.pageWrapX:t},_wrapY:function(t){return this.pageWrapYEnabled?(this._gotoPage(this._page(t)),(t-this.lastBreak)%this.pageWrapY):t},lastBreak:0,pageBreaks:[],_page:function(t){if(this.pageWrapYEnabled){this.lastBreak=0;for(var e=0,n=0,r=0;r<this.pageBreaks.length;r++)if(t>=this.pageBreaks[r]){e++,0===this.lastBreak&&n++;var i=this.pageBreaks[r]-this.lastBreak;this.lastBreak=this.pageBreaks[r];var o=Math.floor(i/this.pageWrapY);n+=o}if(0===this.lastBreak){var o=Math.floor(t/this.pageWrapY)+1;n+=o}return n+e}return this.pdf.internal.getCurrentPageInfo().pageNumber},_gotoPage:function(t){},lineTo:function(t,e){t=this._wrapX(t),e=this._wrapY(e);var n={type:"lt",x:t,y:e};this.path.push(n)},bezierCurveTo:function(t,e,n,r,i,o){t=this._wrapX(t),e=this._wrapY(e),n=this._wrapX(n),r=this._wrapY(r),i=this._wrapX(i),o=this._wrapY(o);var a={type:"bct",x1:t,y1:e,x2:n,y2:r,x:i,y:o};this.path.push(a)},quadraticCurveTo:function(t,e,n,r){t=this._wrapX(t),e=this._wrapY(e),n=this._wrapX(n),r=this._wrapY(r);var i={type:"qct",x1:t,y1:e,x:n,y:r};this.path.push(i)},arc:function(t,e,n,r,i,o){t=this._wrapX(t),e=this._wrapY(e);var a={type:"arc",x:t,y:e,radius:n,startAngle:r,endAngle:i,anticlockwise:o};this.path.push(a)},drawImage:function(t,e,n,r,i,o,a,s,c){void 0!==o&&(e=o,n=a,r=s,i=c),e=this._wrapX(e),n=this._wrapY(n);var u,l=/data:image\/(\w+).*/i,h=l.exec(t);u=null!=h?h[1]:"png",this.pdf.addImage(t,u,e,n,r,i)},stroke:function(){for(var t,e=[],n=!1,r=0;r<this.path.length;r++){var i=this.path[r];switch(i.type){case"mt":t=i,"undefined"!=typeof t&&(this.pdf.lines(e,t.x,t.y,null,"s"),e=[]);break;case"lt":var o=[i.x-this.path[r-1].x,i.y-this.path[r-1].y];e.push(o);break;case"bct":var o=[i.x1-this.path[r-1].x,i.y1-this.path[r-1].y,i.x2-this.path[r-1].x,i.y2-this.path[r-1].y,i.x-this.path[r-1].x,i.y-this.path[r-1].y];e.push(o);break;case"qct":var a=this.path[r-1].x+2/3*(i.x1-this.path[r-1].x),s=this.path[r-1].y+2/3*(i.y1-this.path[r-1].y),c=i.x+2/3*(i.x1-i.x),u=i.y+2/3*(i.y1-i.y),l=i.x,h=i.y,o=[a-this.path[r-1].x,s-this.path[r-1].y,c-this.path[r-1].x,u-this.path[r-1].y,l-this.path[r-1].x,h-this.path[r-1].y];e.push(o);break;case"close":n=!0}}"undefined"!=typeof t&&this.pdf.lines(e,t.x,t.y,null,"s",n);for(var r=0;r<this.path.length;r++){var i=this.path[r];switch(i.type){case"arc":var t=360*i.startAngle/(2*Math.PI),f=360*i.endAngle/(2*Math.PI);this.internal.arc(i.x,i.y,i.radius,t,f,i.anticlockwise,"s")}}this.path=[]},fill:function(){for(var t,e=[],n=0;n<this.path.length;n++){var r=this.path[n];switch(r.type){case"mt":t=r,"undefined"!=typeof t&&(this.pdf.lines(e,t.x,t.y,null,"f"),e=[]);break;case"lt":var i=[r.x-this.path[n-1].x,r.y-this.path[n-1].y];e.push(i);break;case"bct":var i=[r.x1-this.path[n-1].x,r.y1-this.path[n-1].y,r.x2-this.path[n-1].x,r.y2-this.path[n-1].y,r.x-this.path[n-1].x,r.y-this.path[n-1].y];e.push(i);break;case"qct":var o=this.path[n-1].x+2/3*(r.x1-this.path[n-1].x),a=this.path[n-1].y+2/3*(r.y1-this.path[n-1].y),s=r.x+2/3*(r.x1-r.x),c=r.y+2/3*(r.y1-r.y),u=r.x,l=r.y,i=[o-this.path[n-1].x,a-this.path[n-1].y,s-this.path[n-1].x,c-this.path[n-1].y,u-this.path[n-1].x,l-this.path[n-1].y];e.push(i)}}"undefined"!=typeof t&&this.pdf.lines(e,t.x,t.y,null,"f");for(var n=0;n<this.path.length;n++){var r=this.path[n];switch(r.type){case"arc":var t=360*r.startAngle/(2*Math.PI),h=360*r.endAngle/(2*Math.PI);this.internal.arc(r.x,r.y,r.radius,t,h,r.anticlockwise,"f");break;case"close":this.pdf.internal.out("h")}}this.path=[]},clip:function(){},translate:function(t,e){this.ctx._translate={x:t,y:e}},measureText:function(t){var e=this.pdf;return{getWidth:function(){var n=e.internal.getFontSize(),r=e.getStringUnitWidth(t)*n/e.internal.scaleFactor;return r},get width(){return this.getWidth(t)}}},_getBaseline:function(t){var e=parseInt(this.pdf.internal.getFontSize()),n=.25*e;switch(this.ctx.textBaseline){case"bottom":return t-n;case"top":return t+e;case"hanging":return t+e-n;case"middle":return t+e/2-n;case"ideographic":return t;case"alphabetic":default:return t}}};var n=t.context2d;return Object.defineProperty(n,"fillStyle",{set:function(t){this.setFillStyle(t)},get:function(){return this.ctx.fillStyle}}),Object.defineProperty(n,"textBaseline",{set:function(t){this.setTextBaseline(t)},get:function(){return this.getTextBaseline()}}),Object.defineProperty(n,"font",{set:function(t){this.setFont(t)},get:function(){return this.getFont()}}),n.internal={},n.internal.rxRgb=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/,n.internal.rxRgba=/rgba\s*\(\s*(\d+),\s*(\d+),\s*(\d+),\s*(\d+)\s*\)/,n.internal.arc=function(t,e,n,r,i,o,a){for(var s=this.pdf.internal.scaleFactor,c=this.pdf.internal.pageSize.height,u=this.pdf.internal.f2,l=r*(Math.PI/180),h=i*(Math.PI/180),f=this.createArc(n,l,h,o),d=0;d<f.length;d++){var p=f[d];0==d?this.pdf.internal.out([u((p.x1+t)*s),u((c-(p.y1+e))*s),"m",u((p.x2+t)*s),u((c-(p.y2+e))*s),u((p.x3+t)*s),u((c-(p.y3+e))*s),u((p.x4+t)*s),u((c-(p.y4+e))*s),"c"].join(" ")):this.pdf.internal.out([u((p.x2+t)*s),u((c-(p.y2+e))*s),u((p.x3+t)*s),u((c-(p.y3+e))*s),u((p.x4+t)*s),u((c-(p.y4+e))*s),"c"].join(" "))}null!==a&&this.pdf.internal.out(this.pdf.internal.getStyle(a))},n.internal.createArc=function(t,e,n,r){var i=1e-5,o=2*Math.PI,a=e;(o>a||a>o)&&(a%=o);var s=n;(o>s||s>o)&&(s%=o);for(var c=[],u=Math.PI/2,l=r?-1:1,h=e,f=Math.min(o,Math.abs(s-a));f>i;){var d=h+l*Math.min(f,u);c.push(this.createSmallArc(t,h,d)),f-=Math.abs(d-h),h=d}return c},n.internal.createSmallArc=function(t,e,n){var r=(n-e)/2,i=t*Math.cos(r),o=t*Math.sin(r),a=i,s=-o,c=a*a+s*s,u=c+a*i+s*o,l=4/3*(Math.sqrt(2*c*u)-u)/(a*o-s*i),h=a-l*s,f=s+l*a,d=h,p=-f,m=r+e,g=Math.cos(m),w=Math.sin(m);return{x1:t*Math.cos(e),y1:t*Math.sin(e),x2:h*g-f*w,y2:h*w+f*g,x3:d*g-p*w,y3:d*w+p*g,x4:t*Math.cos(n),y4:t*Math.sin(n)}},this}(e.API),/** @preserve
49
- * jsPDF fromHTML plugin. BETA stage. API subject to change. Needs browser
50
- * Copyright (c) 2012 Willow Systems Corporation, willow-systems.com
51
- * 2014 Juan Pablo Gaviria, https://github.com/juanpgaviria
52
- * 2014 Diego Casorran, https://github.com/diegocr
53
- * 2014 Daniel Husar, https://github.com/danielhusar
54
- * 2014 Wolfgang Gassler, https://github.com/woolfg
55
- * 2014 Steven Spungin, https://github.com/flamenco
56
- *
57
- *
58
- * ====================================================================
59
- */
60
- function(e){var n,r,o,a,s,c,u,l,h,f,d,p,m,g,w,y,v,b,x,k;n=function(){function t(){}return function(e){return t.prototype=e,new t}}(),f=function(t){var e,n,r,i,o,a,s;for(n=0,r=t.length,e=void 0,i=!1,a=!1;!i&&n!==r;)e=t[n]=t[n].trimLeft(),e&&(i=!0),n++;for(n=r-1;r&&!a&&-1!==n;)e=t[n]=t[n].trimRight(),e&&(a=!0),n--;for(o=/\s+$/g,s=!0,n=0;n!==r;)"\u2028"!=t[n]&&(e=t[n].replace(/\s+/g," "),s&&(e=e.trimLeft()),e&&(s=o.test(e)),t[n]=e),n++;return t},d=function(t,e,n,r){return this.pdf=t,this.x=e,this.y=n,this.settings=r,this.watchFunctions=[],this.init(),this},p=function(t){var e,n,r;for(e=void 0,r=t.split(","),n=r.shift();!e&&n;)e=o[n.trim().toLowerCase()],n=r.shift();return e},m=function(t){t="auto"===t?"0px":t,t.indexOf("em")>-1&&!isNaN(Number(t.replace("em","")))&&(t=18.719*Number(t.replace("em",""))+"px"),t.indexOf("pt")>-1&&!isNaN(Number(t.replace("pt","")))&&(t=1.333*Number(t.replace("pt",""))+"px");var e,n,r;return n=void 0,e=16,(r=g[t])?r:(r={"xx-small":9,"x-small":11,small:13,medium:16,large:19,"x-large":23,"xx-large":28,auto:0}[{css_line_height_string:t}],r!==n?g[t]=r/e:(r=parseFloat(t))?g[t]=r/e:(r=t.match(/([\d\.]+)(px)/),3===r.length?g[t]=parseFloat(r[1])/e:g[t]=1))},h=function(t){var e,n,r;return r=function(t){var e;return e=function(t){return document.defaultView&&document.defaultView.getComputedStyle?document.defaultView.getComputedStyle(t,null):t.currentStyle?t.currentStyle:t.style}(t),function(t){return t=t.replace(/-\D/g,function(t){return t.charAt(1).toUpperCase()}),e[t]}}(t),e={},n=void 0,e["font-family"]=p(r("font-family"))||"times",e["font-style"]=a[r("font-style")]||"normal",e["text-align"]=s[r("text-align")]||"left",n=c[r("font-weight")]||"normal","bold"===n&&("normal"===e["font-style"]?e["font-style"]=n:e["font-style"]=n+e["font-style"]),e["font-size"]=m(r("font-size"))||1,e["line-height"]=m(r("line-height"))||1,e.display="inline"===r("display")?"inline":"block",n="block"===e.display,e["margin-top"]=n&&m(r("margin-top"))||0,e["margin-bottom"]=n&&m(r("margin-bottom"))||0,e["padding-top"]=n&&m(r("padding-top"))||0,e["padding-bottom"]=n&&m(r("padding-bottom"))||0,e["margin-left"]=n&&m(r("margin-left"))||0,e["margin-right"]=n&&m(r("margin-right"))||0,e["padding-left"]=n&&m(r("padding-left"))||0,e["padding-right"]=n&&m(r("padding-right"))||0,e["page-break-before"]=r("page-break-before")||"auto",e["float"]=u[r("cssFloat")]||"none",e.clear=l[r("clear")]||"none",e.color=r("color"),e},w=function(t,e,n){var r,i,o,a,s;if(o=!1,i=void 0,a=void 0,s=void 0,r=n["#"+t.id])if("function"==typeof r)o=r(t,e);else for(i=0,a=r.length;!o&&i!==a;)o=r[i](t,e),i++;if(r=n[t.nodeName],!o&&r)if("function"==typeof r)o=r(t,e);else for(i=0,a=r.length;!o&&i!==a;)o=r[i](t,e),i++;return o},k=function(t,e){var n,r,i,o,a,s,c,u,l,h;for(n=[],r=[],i=0,h=t.rows[0].cells.length,u=t.clientWidth;h>i;)l=t.rows[0].cells[i],r[i]={name:l.textContent.toLowerCase().replace(/\s+/g,""),prompt:l.textContent.replace(/\r?\n/g,""),width:l.clientWidth/u*e.pdf.internal.pageSize.width},i++;for(i=1;i<t.rows.length;){for(s=t.rows[i],a={},o=0;o<s.cells.length;)a[r[o].name]=s.cells[o].textContent.replace(/\r?\n/g,""),o++;n.push(a),i++}return c={rows:n,headers:r}};var A={SCRIPT:1,STYLE:1,NOSCRIPT:1,OBJECT:1,EMBED:1,SELECT:1},C=1;r=function(e,i,o){var a,s,c,u,l,f,d,p,m;for(s=e.childNodes,a=void 0,c=h(e),l="block"===c.display,l&&(i.setBlockBoundary(),i.setBlockStyle(c)),d=19.049976/25.4,u=0,f=s.length;f>u;){if(a=s[u],"object"===("undefined"==typeof a?"undefined":t(a))){if(i.executeWatchFunctions(a),1===a.nodeType&&"HEADER"===a.nodeName){var g=a,v=i.pdf.margins_doc.top;i.pdf.internal.events.subscribe("addPage",function(t){i.y=v,r(g,i,o),i.pdf.margins_doc.top=i.y+10,i.y+=10},!1)}if(8===a.nodeType&&"#comment"===a.nodeName)~a.textContent.indexOf("ADD_PAGE")&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top);else if(1!==a.nodeType||A[a.nodeName])if(3===a.nodeType){var b=a.nodeValue;if(a.nodeValue&&"LI"===a.parentNode.nodeName)if("OL"===a.parentNode.parentNode.nodeName)b=C++ +". "+b;else{var x=c["font-size"];offsetX=(3-.75*x)*i.pdf.internal.scaleFactor,offsetY=.75*x*i.pdf.internal.scaleFactor,radius=1.74*x/i.pdf.internal.scaleFactor,m=function(t,e){this.pdf.circle(t+offsetX,e+offsetY,radius,"FD")}}a.ownerDocument.body.contains(a)&&i.addText(b,c)}else"string"==typeof a&&i.addText(a,c);else{var _;if("IMG"===a.nodeName){var q=a.getAttribute("src");_=y[i.pdf.sHashCode(q)||q]}if(_){i.pdf.internal.pageSize.height-i.pdf.margins_doc.bottom<i.y+a.height&&i.y>i.pdf.margins_doc.top&&(i.pdf.addPage(),i.y=i.pdf.margins_doc.top,i.executeWatchFunctions(a));var S=h(a),T=i.x,P=12/i.pdf.internal.scaleFactor,E=(S["margin-left"]+S["padding-left"])*P,I=(S["margin-right"]+S["padding-right"])*P,O=(S["margin-top"]+S["padding-top"])*P,F=(S["margin-bottom"]+S["padding-bottom"])*P;T+=void 0!==S["float"]&&"right"===S["float"]?i.settings.width-a.width-I:E,i.pdf.addImage(_,T,i.y+O,a.width,a.height),_=void 0,"right"===S["float"]||"left"===S["float"]?(i.watchFunctions.push(function(t,e,n,r){return i.y>=e?(i.x+=t,i.settings.width+=n,!0):r&&1===r.nodeType&&!A[r.nodeName]&&i.x+r.width>i.pdf.margins_doc.left+i.pdf.margins_doc.width?(i.x+=t,i.y=e,i.settings.width+=n,!0):!1}.bind(this,"left"===S["float"]?-a.width-E-I:0,i.y+a.height+O+F,a.width)),i.watchFunctions.push(function(t,e,n){return i.y<t&&e===i.pdf.internal.getNumberOfPages()?1===n.nodeType&&"both"===h(n).clear?(i.y=t,!0):!1:!0}.bind(this,i.y+a.height,i.pdf.internal.getNumberOfPages())),i.settings.width-=a.width+E+I,"left"===S["float"]&&(i.x+=a.width+E+I)):i.y+=a.height+O+F}else if("TABLE"===a.nodeName)p=k(a,i),i.y+=10,i.pdf.table(i.x,i.y,p.rows,p.headers,{autoSize:!1,printHeaders:o.printHeaders,margins:i.pdf.margins_doc,css:h(a)}),i.y=i.pdf.lastCellPos.y+i.pdf.lastCellPos.h+20;else if("OL"===a.nodeName||"UL"===a.nodeName)C=1,w(a,i,o)||r(a,i,o),i.y+=10;else if("LI"===a.nodeName){var B=i.x;i.x+=20/i.pdf.internal.scaleFactor,i.y+=3,w(a,i,o)||r(a,i,o),i.x=B}else"BR"===a.nodeName?(i.y+=c["font-size"]*i.pdf.internal.scaleFactor,i.addText("\u2028",n(c))):w(a,i,o)||r(a,i,o)}}u++}return o.outY=i.y,l?i.setBlockBoundary(m):void 0},y={},v=function(t,e,n,r){function i(){e.pdf.internal.events.publish("imagesLoaded"),r(a)}function o(t,n,r){if(t){var o=new Image;a=++u,o.crossOrigin="",o.onerror=o.onload=function(){if(o.complete&&(0===o.src.indexOf("data:image/")&&(o.width=n||o.width||0,o.height=r||o.height||0),o.width+o.height)){var a=e.pdf.sHashCode(t)||t;y[a]=y[a]||o}--u||i()},o.src=t}}for(var a,s=t.getElementsByTagName("img"),c=s.length,u=0;c--;)o(s[c].getAttribute("src"),s[c].width,s[c].height);return u||i()},b=function(t,e,n){var i=t.getElementsByTagName("footer");if(i.length>0){i=i[0];var o=e.pdf.internal.write,a=e.y;e.pdf.internal.write=function(){},r(i,e,n);var s=Math.ceil(e.y-a)+5;e.y=a,e.pdf.internal.write=o,e.pdf.margins_doc.bottom+=s;for(var c=function(t){var o=void 0!==t?t.pageNumber:1,a=e.y;e.y=e.pdf.internal.pageSize.height-e.pdf.margins_doc.bottom,e.pdf.margins_doc.bottom-=s;for(var c=i.getElementsByTagName("span"),u=0;u<c.length;++u)(" "+c[u].className+" ").replace(/[\n\t]/g," ").indexOf(" pageCounter ")>-1&&(c[u].innerHTML=o),(" "+c[u].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&(c[u].innerHTML="###jsPDFVarTotalPages###");r(i,e,n),e.pdf.margins_doc.bottom+=s,e.y=a},u=i.getElementsByTagName("span"),l=0;l<u.length;++l)(" "+u[l].className+" ").replace(/[\n\t]/g," ").indexOf(" totalPages ")>-1&&e.pdf.internal.events.subscribe("htmlRenderingFinished",e.pdf.putTotalPages.bind(e.pdf,"###jsPDFVarTotalPages###"),!0);e.pdf.internal.events.subscribe("addPage",c,!1),c(),A.FOOTER=1}},x=function(t,e,n,i,o,a){if(!e)return!1;"string"==typeof e||e.parentNode||(e=""+e.innerHTML),"string"==typeof e&&(e=function(t){var e,n,r,i;return r="jsPDFhtmlText"+Date.now().toString()+(1e3*Math.random()).toFixed(0),i="position: absolute !important;clip: rect(1px 1px 1px 1px); /* IE6, IE7 */clip: rect(1px, 1px, 1px, 1px);padding:0 !important;border:0 !important;height: 1px !important;width: 1px !important; top:auto;left:-100px;overflow: hidden;",n=document.createElement("div"),n.style.cssText=i,n.innerHTML='<iframe style="height:1px;width:1px" name="'+r+'" />',document.body.appendChild(n),e=window.frames[r],e.document.open(),e.document.writeln(t),e.document.close(),e.document.body}(e.replace(/<\/?script[^>]*?>/gi,"")));var s,c=new d(t,n,i,o);return v.call(this,e,c,o.elementHandlers,function(t){b(e,c,o.elementHandlers),r(e,c,o.elementHandlers),c.pdf.internal.events.publish("htmlRenderingFinished"),s=c.dispose(),"function"==typeof a?a(s):t&&console.error("jsPDF Warning: rendering issues? provide a callback to fromHTML!")}),s||{x:c.x,y:c.y}},d.prototype.init=function(){return this.paragraph={text:[],style:[]},this.pdf.internal.write("q")},d.prototype.dispose=function(){return this.pdf.internal.write("Q"),{x:this.x,y:this.y,ready:!0}},d.prototype.executeWatchFunctions=function(t){var e=!1,n=[];if(this.watchFunctions.length>0){for(var r=0;r<this.watchFunctions.length;++r)this.watchFunctions[r](t)===!0?e=!0:n.push(this.watchFunctions[r]);this.watchFunctions=n}return e},d.prototype.splitFragmentsIntoLines=function(t,e){var r,i,o,a,s,c,u,l,h,f,d,p,m,g,w;for(i=12,d=this.pdf.internal.scaleFactor,s={},o=void 0,f=void 0,a=void 0,c=void 0,w=void 0,h=void 0,l=void 0,u=void 0,p=[],m=[p],r=0,g=this.settings.width;t.length;)if(c=t.shift(),w=e.shift(),c)if(o=w["font-family"],f=w["font-style"],a=s[o+f],a||(a=this.pdf.internal.getFont(o,f).metadata.Unicode,s[o+f]=a),h={widths:a.widths,kerning:a.kerning,fontSize:w["font-size"]*i,textIndent:r},l=this.pdf.getStringUnitWidth(c,h)*h.fontSize/d,"\u2028"==c)p=[],m.push(p);else if(r+l>g){for(u=this.pdf.splitTextToSize(c,g,h),p.push([u.shift(),w]);u.length;)p=[[u.shift(),w]],m.push(p);r=this.pdf.getStringUnitWidth(p[0][0],h)*h.fontSize/d}else p.push([c,w]),r+=l;if(void 0!==w["text-align"]&&("center"===w["text-align"]||"right"===w["text-align"]||"justify"===w["text-align"]))for(var y=0;y<m.length;++y){var v=this.pdf.getStringUnitWidth(m[y][0][0],h)*h.fontSize/d;y>0&&(m[y][0][1]=n(m[y][0][1]));var b=g-v;if("right"===w["text-align"])m[y][0][1]["margin-left"]=b;else if("center"===w["text-align"])m[y][0][1]["margin-left"]=b/2;else if("justify"===w["text-align"]){var x=m[y][0][0].split(" ").length-1;m[y][0][1]["word-spacing"]=b/x,y===m.length-1&&(m[y][0][1]["word-spacing"]=0)}}return m},d.prototype.RenderTextFragment=function(t,e){var n,r,i;i=0,n=12,this.pdf.internal.pageSize.height-this.pdf.margins_doc.bottom<this.y+this.pdf.internal.getFontSize()&&(this.pdf.internal.write("ET","Q"),this.pdf.addPage(),this.y=this.pdf.margins_doc.top,this.pdf.internal.write("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),e.color,"Td"),i=Math.max(i,e["line-height"],e["font-size"]),this.pdf.internal.write(0,(-1*n*i).toFixed(2),"Td")),r=this.pdf.internal.getFont(e["font-family"],e["font-style"]);var o=this.getPdfColor(e.color);o!==this.lastTextColor&&(this.pdf.internal.write(o),this.lastTextColor=o),void 0!==e["word-spacing"]&&e["word-spacing"]>0&&this.pdf.internal.write(e["word-spacing"].toFixed(2),"Tw"),this.pdf.internal.write("/"+r.id,(n*e["font-size"]).toFixed(2),"Tf","("+this.pdf.internal.pdfEscape(t)+") Tj"),void 0!==e["word-spacing"]&&this.pdf.internal.write(0,"Tw")},d.prototype.getPdfColor=function(t){var e,n,r,o,a=/rgb\s*\(\s*(\d+),\s*(\d+),\s*(\d+\s*)\)/,s=a.exec(t);if(null!=s?(n=parseInt(s[1]),r=parseInt(s[2]),o=parseInt(s[3])):("#"!=t.charAt(0)&&(t=i.colorNameToHex(t),t||(t="#000000")),n=t.substring(1,3),n=parseInt(n,16),r=t.substring(3,5),r=parseInt(r,16),o=t.substring(5,7),o=parseInt(o,16)),"string"==typeof n&&/^#[0-9A-Fa-f]{6}$/.test(n)){var c=parseInt(n.substr(1),16);n=c>>16&255,r=c>>8&255,o=255&c}var u=this.f3;return e=0===n&&0===r&&0===o||"undefined"==typeof r?u(n/255)+" g":[u(n/255),u(r/255),u(o/255),"rg"].join(" ")},d.prototype.f3=function(t){return t.toFixed(3)},d.prototype.renderParagraph=function(t){var e,n,r,i,o,a,s,c,u,l,h,d,p,m,g;if(i=f(this.paragraph.text),m=this.paragraph.style,e=this.paragraph.blockstyle,p=this.paragraph.priorblockstyle||{},this.paragraph={text:[],style:[],blockstyle:{},priorblockstyle:e},i.join("").trim()){c=this.splitFragmentsIntoLines(i,m),s=void 0,u=void 0,n=12,r=n/this.pdf.internal.scaleFactor,this.priorMarginBottom=this.priorMarginBottom||0,d=(Math.max((e["margin-top"]||0)-this.priorMarginBottom,0)+(e["padding-top"]||0))*r,h=((e["margin-bottom"]||0)+(e["padding-bottom"]||0))*r,this.priorMarginBottom=e["margin-bottom"]||0,"always"===e["page-break-before"]&&(this.pdf.addPage(),this.y=0,d=((e["margin-top"]||0)+(e["padding-top"]||0))*r),l=this.pdf.internal.write,o=void 0,a=void 0,this.y+=d,l("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td");for(var w=0;c.length;){for(s=c.shift(),u=0,o=0,a=s.length;o!==a;)s[o][0].trim()&&(u=Math.max(u,s[o][1]["line-height"],s[o][1]["font-size"]),g=7*s[o][1]["font-size"]),o++;var y=0,v=0;void 0!==s[0][1]["margin-left"]&&s[0][1]["margin-left"]>0&&(v=this.pdf.internal.getCoordinateString(s[0][1]["margin-left"]),y=v-w,w=v);var b=Math.max(e["margin-left"]||0,0)*r;for(l(y+b,(-1*n*u).toFixed(2),"Td"),o=0,a=s.length;o!==a;)s[o][0]&&this.RenderTextFragment(s[o][0],s[o][1]),o++;if(this.y+=u*r,this.executeWatchFunctions(s[0][1])&&c.length>0){var x=[],k=[];c.forEach(function(t){for(var e=0,n=t.length;e!==n;)t[e][0]&&(x.push(t[e][0]+" "),k.push(t[e][1])),++e}),c=this.splitFragmentsIntoLines(f(x),k),l("ET","Q"),l("q","BT 0 g",this.pdf.internal.getCoordinateString(this.x),this.pdf.internal.getVerticalCoordinateString(this.y),"Td")}}return t&&"function"==typeof t&&t.call(this,this.x-9,this.y-g/2),l("ET","Q"),this.y+=h}},d.prototype.setBlockBoundary=function(t){return this.renderParagraph(t)},d.prototype.setBlockStyle=function(t){return this.paragraph.blockstyle=t},d.prototype.addText=function(t,e){return this.paragraph.text.push(t),this.paragraph.style.push(e)},o={helvetica:"helvetica","sans-serif":"helvetica","times new roman":"times",serif:"times",times:"times",monospace:"courier",courier:"courier"},c={100:"normal",200:"normal",300:"normal",400:"normal",500:"bold",600:"bold",700:"bold",800:"bold",900:"bold",normal:"normal",bold:"bold",bolder:"bold",lighter:"normal"},a={normal:"normal",italic:"italic",oblique:"italic"},s={left:"left",right:"right",center:"center",justify:"justify"},u={none:"none",right:"right",left:"left"},l={none:"none",both:"both"},g={normal:1},e.fromHTML=function(t,e,n,r,i,o){return this.margins_doc=o||{top:0,bottom:0},r||(r={}),r.elementHandlers||(r.elementHandlers={}),x(this,t,isNaN(e)?4:e,isNaN(n)?4:n,r,i)}}(e.API),/** ====================================================================
61
- * jsPDF JavaScript plugin
62
- * Copyright (c) 2013 Youssef Beddad, youssef.beddad@gmail.com
63
- *
64
- *
65
- * ====================================================================
66
- */
67
- function(t){var e,n,r;t.addJS=function(t){return r=t,this.internal.events.subscribe("postPutResources",function(t){e=this.internal.newObject(),this.internal.write("<< /Names [(EmbeddedJS) "+(e+1)+" 0 R] >>","endobj"),n=this.internal.newObject(),this.internal.write("<< /S /JavaScript /JS (",r,") >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){void 0!==e&&void 0!==n&&this.internal.write("/Names <</JavaScript "+e+" 0 R>>")}),this}}(e.API),function(t){return t.events.push(["postPutResources",function(){var t=this,e=/^(\d+) 0 obj$/;if(this.outline.root.children.length>0)for(var n=t.outline.render().split(/\r\n/),r=0;r<n.length;r++){var i=n[r],o=e.exec(i);if(null!=o){var a=o[1];t.internal.newObjectDeferredBegin(a)}t.internal.write(i)}if(this.outline.createNamedDestinations){for(var s=this.internal.pages.length,c=[],r=0;s>r;r++){var u=t.internal.newObject();c.push(u);var l=t.internal.getPageInfo(r+1);t.internal.write("<< /D["+l.objId+" 0 R /XYZ null null null]>> endobj")}var h=t.internal.newObject();t.internal.write("<< /Names [ ");for(var r=0;r<c.length;r++)t.internal.write("(page_"+(r+1)+")"+c[r]+" 0 R");t.internal.write(" ] >>","endobj");t.internal.newObject();t.internal.write("<< /Dests "+h+" 0 R"),t.internal.write(">>","endobj")}}]),t.events.push(["putCatalog",function(){var t=this;t.outline.root.children.length>0&&(t.internal.write("/Outlines",this.outline.makeRef(this.outline.root)),this.outline.createNamedDestinations&&t.internal.write("/Names "+namesOid+" 0 R"))}]),t.events.push(["initialized",function(){var t=this;t.outline={createNamedDestinations:!1,root:{children:[]}};t.outline.add=function(t,e,n){var r={title:e,options:n,children:[]};return null==t&&(t=this.root),t.children.push(r),r},t.outline.render=function(){return this.ctx={},this.ctx.val="",this.ctx.pdf=t,this.genIds_r(this.root),this.renderRoot(this.root),this.renderItems(this.root),this.ctx.val},t.outline.genIds_r=function(e){e.id=t.internal.newObjectDeferred();for(var n=0;n<e.children.length;n++)this.genIds_r(e.children[n])},t.outline.renderRoot=function(t){this.objStart(t),this.line("/Type /Outlines"),t.children.length>0&&(this.line("/First "+this.makeRef(t.children[0])),this.line("/Last "+this.makeRef(t.children[t.children.length-1]))),this.line("/Count "+this.count_r({count:0},t)),this.objEnd()},t.outline.renderItems=function(e){for(var n=0;n<e.children.length;n++){var r=e.children[n];this.objStart(r),this.line("/Title "+this.makeString(r.title)),this.line("/Parent "+this.makeRef(e)),n>0&&this.line("/Prev "+this.makeRef(e.children[n-1])),n<e.children.length-1&&this.line("/Next "+this.makeRef(e.children[n+1])),r.children.length>0&&(this.line("/First "+this.makeRef(r.children[0])),this.line("/Last "+this.makeRef(r.children[r.children.length-1])));var i=this.count=this.count_r({count:0},r);if(i>0&&this.line("/Count "+i),r.options&&r.options.pageNumber){var o=t.internal.getPageInfo(r.options.pageNumber);this.line("/Dest ["+o.objId+" 0 R /XYZ 0 "+this.ctx.pdf.internal.pageSize.height+" 0]")}this.objEnd()}for(var n=0;n<e.children.length;n++){var r=e.children[n];this.renderItems(r)}},t.outline.line=function(t){this.ctx.val+=t+"\r\n"},t.outline.makeRef=function(t){return t.id+" 0 R"},t.outline.makeString=function(e){return"("+t.internal.pdfEscape(e)+")"},t.outline.objStart=function(t){this.ctx.val+="\r\n"+t.id+" 0 obj\r\n<<\r\n"},t.outline.objEnd=function(t){this.ctx.val+=">> \r\nendobj\r\n"},t.outline.count_r=function(t,e){for(var n=0;n<e.children.length;n++)t.count++,this.count_r(t,e.children[n]);return t.count}}]),this}(e.API),/**@preserve
68
- * ====================================================================
69
- * jsPDF PNG PlugIn
70
- * Copyright (c) 2014 James Robb, https://github.com/jamesbrobb
71
- *
72
- *
73
- * ====================================================================
74
- */
75
- function(t){var e=function(){return"function"!=typeof PNG||"function"!=typeof s},n=function(e){return e!==t.image_compression.NONE&&r()},r=function(){var t="function"==typeof o;if(!t)throw new Error("requires deflate.js for compression");return t},i=function(e,n,r,i){var s=5,l=f;switch(i){case t.image_compression.FAST:s=3,l=h;break;case t.image_compression.MEDIUM:s=6,l=d;break;case t.image_compression.SLOW:s=9,l=p}e=u(e,n,r,l);var m=new Uint8Array(a(s)),g=c(e),w=new o(s),y=w.append(e),v=w.flush(),b=m.length+y.length+v.length,x=new Uint8Array(b+4);return x.set(m),x.set(y,m.length),x.set(v,m.length+y.length),x[b++]=g>>>24&255,x[b++]=g>>>16&255,x[b++]=g>>>8&255,x[b++]=255&g,t.arrayBufferToBinaryString(x)},a=function(t,e){var n=8,r=Math.LOG2E*Math.log(32768)-8,i=r<<4|n,o=i<<8,a=Math.min(3,(e-1&255)>>1);return o|=a<<6,o|=0,o+=31-o%31,[i,255&o&255]},c=function(t,e){for(var n,r=1,i=65535&r,o=r>>>16&65535,a=t.length,s=0;a>0;){n=a>e?e:a,a-=n;do i+=t[s++],o+=i;while(--n);i%=65521,o%=65521}return(o<<16|i)>>>0},u=function(t,e,n,r){for(var i,o,a,s=t.length/e,c=new Uint8Array(t.length+s),u=g(),l=0;s>l;l++){if(a=l*e,i=t.subarray(a,a+e),r)c.set(r(i,n,o),a+l);else{for(var h=0,f=u.length,d=[];f>h;h++)d[h]=u[h](i,n,o);var p=w(d.concat());c.set(d[p],a+l)}o=i}return c},l=function(t,e,n){var r=Array.apply([],t);return r.unshift(0),r},h=function(t,e,n){var r,i=[],o=0,a=t.length;for(i[0]=1;a>o;o++)r=t[o-e]||0,i[o+1]=t[o]-r+256&255;return i},f=function(t,e,n){var r,i=[],o=0,a=t.length;for(i[0]=2;a>o;o++)r=n&&n[o]||0,i[o+1]=t[o]-r+256&255;return i},d=function(t,e,n){var r,i,o=[],a=0,s=t.length;for(o[0]=3;s>a;a++)r=t[a-e]||0,i=n&&n[a]||0,o[a+1]=t[a]+256-(r+i>>>1)&255;return o},p=function(t,e,n){var r,i,o,a,s=[],c=0,u=t.length;for(s[0]=4;u>c;c++)r=t[c-e]||0,i=n&&n[c]||0,o=n&&n[c-e]||0,a=m(r,i,o),s[c+1]=t[c]-a+256&255;return s},m=function(t,e,n){var r=t+e-n,i=Math.abs(r-t),o=Math.abs(r-e),a=Math.abs(r-n);return o>=i&&a>=i?t:a>=o?e:n},g=function(){return[l,h,f,d,p]},w=function(t){for(var e,n,r,i=0,o=t.length;o>i;)e=y(t[i].slice(1)),(n>e||!n)&&(n=e,r=i),i++;return r},y=function(t){for(var e=0,n=t.length,r=0;n>e;)r+=Math.abs(t[e++]);return r};t.processPNG=function(t,r,o,a,s){var c,u,l,h,f,d,p=this.color_spaces.DEVICE_RGB,m=this.decode.FLATE_DECODE,g=8;if(this.isArrayBuffer(t)&&(t=new Uint8Array(t)),this.isArrayBufferView(t)){if(e())throw new Error("PNG support requires png.js and zlib.js");if(c=new PNG(t),t=c.imgData,g=c.bits,p=c.colorSpace,h=c.colors,-1!==[4,6].indexOf(c.colorType)){if(8===c.bits)for(var w,y,v=32==c.pixelBitlength?new Uint32Array(c.decodePixels().buffer):16==c.pixelBitlength?new Uint16Array(c.decodePixels().buffer):new Uint8Array(c.decodePixels().buffer),b=v.length,x=new Uint8Array(b*c.colors),k=new Uint8Array(b),A=c.pixelBitlength-c.bits,C=0,_=0;b>C;C++){for(w=v[C],y=0;A>y;)x[_++]=w>>>y&255,y+=c.bits;k[C]=w>>>y&255}if(16===c.bits){for(var w,v=new Uint32Array(c.decodePixels().buffer),b=v.length,x=new Uint8Array(b*(32/c.pixelBitlength)*c.colors),k=new Uint8Array(b*(32/c.pixelBitlength)),q=c.colors>1,C=0,_=0,S=0;b>C;)w=v[C++],x[_++]=w>>>0&255,q&&(x[_++]=w>>>16&255,w=v[C++],x[_++]=w>>>0&255),k[S++]=w>>>16&255;g=8}n(a)?(t=i(x,c.width*c.colors,c.colors,a),d=i(k,c.width,1,a)):(t=x,d=k,m=null)}if(3===c.colorType&&(p=this.color_spaces.INDEXED,f=c.palette,c.transparency.indexed)){for(var T=c.transparency.indexed,P=0,C=0,b=T.length;b>C;++C)P+=T[C];if(P/=255,P===b-1&&-1!==T.indexOf(0))l=[T.indexOf(0)];else if(P!==b){for(var v=c.decodePixels(),k=new Uint8Array(v.length),C=0,b=v.length;b>C;C++)k[C]=T[v[C]];d=i(k,c.width,1)}}return u=m===this.decode.FLATE_DECODE?"/Predictor 15 /Colors "+h+" /BitsPerComponent "+g+" /Columns "+c.width:"/Colors "+h+" /BitsPerComponent "+g+" /Columns "+c.width,(this.isArrayBuffer(t)||this.isArrayBufferView(t))&&(t=this.arrayBufferToBinaryString(t)),(d&&this.isArrayBuffer(d)||this.isArrayBufferView(d))&&(d=this.arrayBufferToBinaryString(d)),this.createImageInfo(t,c.width,c.height,p,g,m,r,o,u,l,f,d)}throw new Error("Unsupported PNG image data, try using JPEG instead.")}}(e.API),function(t){t.autoPrint=function(){var t;return this.internal.events.subscribe("postPutResources",function(){t=this.internal.newObject(),this.internal.write("<< /S/Named /Type/Action /N/Print >>","endobj")}),this.internal.events.subscribe("putCatalog",function(){this.internal.write("/OpenAction "+t+" 0 R")}),this}}(e.API),function(t){var e=t.getCharWidthsArray=function(t,e){e||(e={});var n,r,i,o=e.widths?e.widths:this.internal.getFont().metadata.Unicode.widths,a=o.fof?o.fof:1,s=e.kerning?e.kerning:this.internal.getFont().metadata.Unicode.kerning,c=s.fof?s.fof:1,u=0,l=o[0]||a,h=[];for(n=0,r=t.length;r>n;n++)i=t.charCodeAt(n),h.push((o[i]||l)/a+(s[i]&&s[i][u]||0)/c),u=i;return h},n=function(t){for(var e=t.length,n=0;e;)e--,n+=t[e];return n},r=t.getStringUnitWidth=function(t,r){return n(e.call(this,t,r))},i=function(t,e,n,r){for(var i=[],o=0,a=t.length,s=0;o!==a&&s+e[o]<n;)s+=e[o],o++;i.push(t.slice(0,o));var c=o;for(s=0;o!==a;)s+e[o]>r&&(i.push(t.slice(c,o)),s=0,c=o),s+=e[o],o++;return c!==o&&i.push(t.slice(c,o)),i},o=function(t,o,a){a||(a={});var s,c,u,l,h,f,d=[],p=[d],m=a.textIndent||0,g=0,w=0,y=t.split(" "),v=e(" ",a)[0];if(f=-1===a.lineIndent?y[0].length+2:a.lineIndent||0){var b=Array(f).join(" "),x=[];y.map(function(t){t=t.split(/\s*\n/),t.length>1?x=x.concat(t.map(function(t,e){return(e&&t.length?"\n":"")+t})):x.push(t[0])}),y=x,f=r(b,a)}for(u=0,l=y.length;l>u;u++){var k=0;if(s=y[u],f&&"\n"==s[0]&&(s=s.substr(1),k=1),c=e(s,a),w=n(c),m+g+w>o||k){if(w>o){for(h=i(s,c,o-(m+g),o),d.push(h.shift()),d=[h.pop()];h.length;)p.push([h.shift()]);w=n(c.slice(s.length-d[0].length))}else d=[s];p.push(d),m=w+f,g=v}else d.push(s),m+=g+w,g=v}if(f)var A=function(t,e){return(e?b:"")+t.join(" ")};else var A=function(t){return t.join(" ")};return p.map(A)};t.splitTextToSize=function(t,e,n){n||(n={});var r,i=n.fontSize||this.internal.getFontSize(),a=function(t){var e={0:1},n={};if(t.widths&&t.kerning)return{widths:t.widths,kerning:t.kerning};var r=this.internal.getFont(t.fontName,t.fontStyle),i="Unicode";return r.metadata[i]?{widths:r.metadata[i].widths||e,kerning:r.metadata[i].kerning||n}:{widths:e,kerning:n}}.call(this,n);r=Array.isArray(t)?t:t.split(/\r?\n/);var s=1*this.internal.scaleFactor*e/i;a.textIndent=n.textIndent?1*n.textIndent*this.internal.scaleFactor/i:0,a.lineIndent=n.lineIndent;var c,u,l=[];for(c=0,u=r.length;u>c;c++)l=l.concat(o(r[c],s,a));return l}}(e.API),function(t){var e=function(t){for(var e="0123456789abcdef",n="klmnopqrstuvwxyz",r={},i=0;i<n.length;i++)r[n[i]]=e[i];var o,a,s,c,u,l={},h=1,f=l,d=[],p="",m="",g=t.length-1;for(i=1;i!=g;)u=t[i],i+=1,"'"==u?a?(c=a.join(""),a=o):a=[]:a?a.push(u):"{"==u?(d.push([f,c]),f={},c=o):"}"==u?(s=d.pop(),s[0][s[1]]=f,c=o,f=s[0]):"-"==u?h=-1:c===o?r.hasOwnProperty(u)?(p+=r[u],c=parseInt(p,16)*h,h=1,p=""):p+=u:r.hasOwnProperty(u)?(m+=r[u],f[c]=parseInt(m,16)*h,h=1,c=o,m=""):m+=u;return l},n={codePages:["WinAnsiEncoding"],WinAnsiEncoding:e("{19m8n201n9q201o9r201s9l201t9m201u8m201w9n201x9o201y8o202k8q202l8r202m9p202q8p20aw8k203k8t203t8v203u9v2cq8s212m9t15m8w15n9w2dw9s16k8u16l9u17s9z17x8y17y9y}")},r={Unicode:{Courier:n,"Courier-Bold":n,"Courier-BoldOblique":n,"Courier-Oblique":n,Helvetica:n,"Helvetica-Bold":n,"Helvetica-BoldOblique":n,"Helvetica-Oblique":n,"Times-Roman":n,"Times-Bold":n,"Times-BoldItalic":n,"Times-Italic":n}},i={Unicode:{"Courier-Oblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-BoldItalic":e("{'widths'{k3o2q4ycx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2r202m2n2n3m2o3m2p5n202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5n4l4m4m4m4n4m4o4s4p4m4q4m4r4s4s4y4t2r4u3m4v4m4w3x4x5t4y4s4z4s5k3x5l4s5m4m5n3r5o3x5p4s5q4m5r5t5s4m5t3x5u3x5v2l5w1w5x2l5y3t5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q2l6r3m6s3r6t1w6u1w6v3m6w1w6x4y6y3r6z3m7k3m7l3m7m2r7n2r7o1w7p3r7q2w7r4m7s3m7t2w7u2r7v2n7w1q7x2n7y3t202l3mcl4mal2ram3man3mao3map3mar3mas2lat4uau1uav3maw3way4uaz2lbk2sbl3t'fof'6obo2lbp3tbq3mbr1tbs2lbu1ybv3mbz3mck4m202k3mcm4mcn4mco4mcp4mcq5ycr4mcs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz2w203k6o212m6o2dw2l2cq2l3t3m3u2l17s3x19m3m}'kerning'{cl{4qu5kt5qt5rs17ss5ts}201s{201ss}201t{cks4lscmscnscoscpscls2wu2yu201ts}201x{2wu2yu}2k{201ts}2w{4qx5kx5ou5qx5rs17su5tu}2x{17su5tu5ou}2y{4qx5kx5ou5qx5rs17ss5ts}'fof'-6ofn{17sw5tw5ou5qw5rs}7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qs}3v{17su5tu5os5qs}7p{17su5tu}ck{4qu5kt5qt5rs17ss5ts}4l{4qu5kt5qt5rs17ss5ts}cm{4qu5kt5qt5rs17ss5ts}cn{4qu5kt5qt5rs17ss5ts}co{4qu5kt5qt5rs17ss5ts}cp{4qu5kt5qt5rs17ss5ts}6l{4qu5ou5qw5rt17su5tu}5q{ckuclucmucnucoucpu4lu}5r{ckuclucmucnucoucpu4lu}7q{cksclscmscnscoscps4ls}6p{4qu5ou5qw5rt17sw5tw}ek{4qu5ou5qw5rt17su5tu}el{4qu5ou5qw5rt17su5tu}em{4qu5ou5qw5rt17su5tu}en{4qu5ou5qw5rt17su5tu}eo{4qu5ou5qw5rt17su5tu}ep{4qu5ou5qw5rt17su5tu}es{17ss5ts5qs4qu}et{4qu5ou5qw5rt17sw5tw}eu{4qu5ou5qw5rt17ss5ts}ev{17ss5ts5qs4qu}6z{17sw5tw5ou5qw5rs}fm{17sw5tw5ou5qw5rs}7n{201ts}fo{17sw5tw5ou5qw5rs}fp{17sw5tw5ou5qw5rs}fq{17sw5tw5ou5qw5rs}7r{cksclscmscnscoscps4ls}fs{17sw5tw5ou5qw5rs}ft{17su5tu}fu{17su5tu}fv{17su5tu}fw{17su5tu}fz{cksclscmscnscoscps4ls}}}"),"Helvetica-Bold":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),Courier:e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Courier-BoldOblique":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Bold":e("{'widths'{k3q2q5ncx2r201n3m201o6o201s2l201t2l201u2l201w3m201x3m201y3m2k1t2l2l202m2n2n3m2o3m2p6o202q6o2r1w2s2l2t2l2u3m2v3t2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w3t3x3t3y3t3z3m4k5x4l4s4m4m4n4s4o4s4p4m4q3x4r4y4s4y4t2r4u3m4v4y4w4m4x5y4y4s4z4y5k3x5l4y5m4s5n3r5o4m5p4s5q4s5r6o5s4s5t4s5u4m5v2l5w1w5x2l5y3u5z3m6k2l6l3m6m3r6n2w6o3r6p2w6q2l6r3m6s3r6t1w6u2l6v3r6w1w6x5n6y3r6z3m7k3r7l3r7m2w7n2r7o2l7p3r7q3m7r4s7s3m7t3m7u2w7v2r7w1q7x2r7y3o202l3mcl4sal2lam3man3mao3map3mar3mas2lat4uau1yav3maw3tay4uaz2lbk2sbl3t'fof'6obo2lbp3rbr1tbs2lbu2lbv3mbz3mck4s202k3mcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw2r2m3rcy2rcz2rdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3rek3mel3mem3men3meo3mep3meq4ser2wes2wet2weu2wev2wew1wex1wey1wez1wfl3rfm3mfn3mfo3mfp3mfq3mfr3tfs3mft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3m3u2l17s4s19m3m}'kerning'{cl{4qt5ks5ot5qy5rw17sv5tv}201t{cks4lscmscnscoscpscls4wv}2k{201ts}2w{4qu5ku7mu5os5qx5ru17su5tu}2x{17su5tu5ou5qs}2y{4qv5kv7mu5ot5qz5ru17su5tu}'fof'-6o7t{cksclscmscnscoscps4ls}3u{17su5tu5os5qu}3v{17su5tu5os5qu}fu{17su5tu5ou5qu}7p{17su5tu5ou5qu}ck{4qt5ks5ot5qy5rw17sv5tv}4l{4qt5ks5ot5qy5rw17sv5tv}cm{4qt5ks5ot5qy5rw17sv5tv}cn{4qt5ks5ot5qy5rw17sv5tv}co{4qt5ks5ot5qy5rw17sv5tv}cp{4qt5ks5ot5qy5rw17sv5tv}6l{17st5tt5ou5qu}17s{ckuclucmucnucoucpu4lu4wu}5o{ckuclucmucnucoucpu4lu4wu}5q{ckzclzcmzcnzcozcpz4lz4wu}5r{ckxclxcmxcnxcoxcpx4lx4wu}5t{ckuclucmucnucoucpu4lu4wu}7q{ckuclucmucnucoucpu4lu}6p{17sw5tw5ou5qu}ek{17st5tt5qu}el{17st5tt5ou5qu}em{17st5tt5qu}en{17st5tt5qu}eo{17st5tt5qu}ep{17st5tt5ou5qu}es{17ss5ts5qu}et{17sw5tw5ou5qu}eu{17sw5tw5ou5qu}ev{17ss5ts5qu}6z{17sw5tw5ou5qu5rs}fm{17sw5tw5ou5qu5rs}fn{17sw5tw5ou5qu5rs}fo{17sw5tw5ou5qu5rs}fp{17sw5tw5ou5qu5rs}fq{17sw5tw5ou5qu5rs}7r{cktcltcmtcntcotcpt4lt5os}fs{17sw5tw5ou5qu5rs}ft{17su5tu5ou5qu}7m{5os}fv{17su5tu5ou5qu}fw{17su5tu5ou5qu}fz{cksclscmscnscoscps4ls}}}"),Helvetica:e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}"),"Helvetica-BoldOblique":e("{'widths'{k3s2q4scx1w201n3r201o6o201s1w201t1w201u1w201w3m201x3m201y3m2k1w2l2l202m2n2n3r2o3r2p5t202q6o2r1s2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v2l3w3u3x3u3y3u3z3x4k6l4l4s4m4s4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3r4v4s4w3x4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v2l5w1w5x2l5y3u5z3r6k2l6l3r6m3x6n3r6o3x6p3r6q2l6r3x6s3x6t1w6u1w6v3r6w1w6x5t6y3x6z3x7k3x7l3x7m2r7n3r7o2l7p3x7q3r7r4y7s3r7t3r7u3m7v2r7w1w7x2r7y3u202l3rcl4sal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3xbq3rbr1wbs2lbu2obv3rbz3xck4s202k3rcm4scn4sco4scp4scq6ocr4scs4mct4mcu4mcv4mcw1w2m2zcy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3res3ret3reu3rev3rew1wex1wey1wez1wfl3xfm3xfn3xfo3xfp3xfq3xfr3ufs3xft3xfu3xfv3xfw3xfz3r203k6o212m6o2dw2l2cq2l3t3r3u2l17s4m19m3r}'kerning'{cl{4qs5ku5ot5qs17sv5tv}201t{2ww4wy2yw}201w{2ks}201x{2ww4wy2yw}2k{201ts201xs}2w{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}2x{5ow5qs}2y{7qs4qu5kw5os5qw5rs17su5tu7tsfzs}'fof'-6o7p{17su5tu5ot}ck{4qs5ku5ot5qs17sv5tv}4l{4qs5ku5ot5qs17sv5tv}cm{4qs5ku5ot5qs17sv5tv}cn{4qs5ku5ot5qs17sv5tv}co{4qs5ku5ot5qs17sv5tv}cp{4qs5ku5ot5qs17sv5tv}6l{17st5tt5os}17s{2kwclvcmvcnvcovcpv4lv4wwckv}5o{2kucltcmtcntcotcpt4lt4wtckt}5q{2ksclscmscnscoscps4ls4wvcks}5r{2ks4ws}5t{2kwclvcmvcnvcovcpv4lv4wwckv}eo{17st5tt5os}fu{17su5tu5ot}6p{17ss5ts}ek{17st5tt5os}el{17st5tt5os}em{17st5tt5os}en{17st5tt5os}6o{201ts}ep{17st5tt5os}es{17ss5ts}et{17ss5ts}eu{17ss5ts}ev{17ss5ts}6z{17su5tu5os5qt}fm{17su5tu5os5qt}fn{17su5tu5os5qt}fo{17su5tu5os5qt}fp{17su5tu5os5qt}fq{17su5tu5os5qt}fs{17su5tu5os5qt}ft{17su5tu5ot}7m{5os}fv{17su5tu5ot}fw{17su5tu5ot}}}"),"Courier-Bold":e("{'widths'{k3w'fof'6o}'kerning'{'fof'-6o}}"),"Times-Italic":e("{'widths'{k3n2q4ycx2l201n3m201o5t201s2l201t2l201u2l201w3r201x3r201y3r2k1t2l2l202m2n2n3m2o3m2p5n202q5t2r1p2s2l2t2l2u3m2v4n2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v2l3w4n3x4n3y4n3z3m4k5w4l3x4m3x4n4m4o4s4p3x4q3x4r4s4s4s4t2l4u2w4v4m4w3r4x5n4y4m4z4s5k3x5l4s5m3x5n3m5o3r5p4s5q3x5r5n5s3x5t3r5u3r5v2r5w1w5x2r5y2u5z3m6k2l6l3m6m3m6n2w6o3m6p2w6q1w6r3m6s3m6t1w6u1w6v2w6w1w6x4s6y3m6z3m7k3m7l3m7m2r7n2r7o1w7p3m7q2w7r4m7s2w7t2w7u2r7v2s7w1v7x2s7y3q202l3mcl3xal2ram3man3mao3map3mar3mas2lat4wau1vav3maw4nay4waz2lbk2sbl4n'fof'6obo2lbp3mbq3obr1tbs2lbu1zbv3mbz3mck3x202k3mcm3xcn3xco3xcp3xcq5tcr4mcs3xct3xcu3xcv3xcw2l2m2ucy2lcz2ldl4mdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek3mel3mem3men3meo3mep3meq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr4nfs3mft3mfu3mfv3mfw3mfz2w203k6o212m6m2dw2l2cq2l3t3m3u2l17s3r19m3m}'kerning'{cl{5kt4qw}201s{201sw}201t{201tw2wy2yy6q-t}201x{2wy2yy}2k{201tw}2w{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}2x{17ss5ts5os}2y{7qs4qy7rs5ky7mw5os5qx5ru17su5tu}'fof'-6o6t{17ss5ts5qs}7t{5os}3v{5qs}7p{17su5tu5qs}ck{5kt4qw}4l{5kt4qw}cm{5kt4qw}cn{5kt4qw}co{5kt4qw}cp{5kt4qw}6l{4qs5ks5ou5qw5ru17su5tu}17s{2ks}5q{ckvclvcmvcnvcovcpv4lv}5r{ckuclucmucnucoucpu4lu}5t{2ks}6p{4qs5ks5ou5qw5ru17su5tu}ek{4qs5ks5ou5qw5ru17su5tu}el{4qs5ks5ou5qw5ru17su5tu}em{4qs5ks5ou5qw5ru17su5tu}en{4qs5ks5ou5qw5ru17su5tu}eo{4qs5ks5ou5qw5ru17su5tu}ep{4qs5ks5ou5qw5ru17su5tu}es{5ks5qs4qs}et{4qs5ks5ou5qw5ru17su5tu}eu{4qs5ks5qw5ru17su5tu}ev{5ks5qs4qs}ex{17ss5ts5qs}6z{4qv5ks5ou5qw5ru17su5tu}fm{4qv5ks5ou5qw5ru17su5tu}fn{4qv5ks5ou5qw5ru17su5tu}fo{4qv5ks5ou5qw5ru17su5tu}fp{4qv5ks5ou5qw5ru17su5tu}fq{4qv5ks5ou5qw5ru17su5tu}7r{5os}fs{4qv5ks5ou5qw5ru17su5tu}ft{17su5tu5qs}fu{17su5tu5qs}fv{17su5tu5qs}fw{17su5tu5qs}}}"),"Times-Roman":e("{'widths'{k3n2q4ycx2l201n3m201o6o201s2l201t2l201u2l201w2w201x2w201y2w2k1t2l2l202m2n2n3m2o3m2p5n202q6o2r1m2s2l2t2l2u3m2v3s2w1t2x2l2y1t2z1w3k3m3l3m3m3m3n3m3o3m3p3m3q3m3r3m3s3m203t2l203u2l3v1w3w3s3x3s3y3s3z2w4k5w4l4s4m4m4n4m4o4s4p3x4q3r4r4s4s4s4t2l4u2r4v4s4w3x4x5t4y4s4z4s5k3r5l4s5m4m5n3r5o3x5p4s5q4s5r5y5s4s5t4s5u3x5v2l5w1w5x2l5y2z5z3m6k2l6l2w6m3m6n2w6o3m6p2w6q2l6r3m6s3m6t1w6u1w6v3m6w1w6x4y6y3m6z3m7k3m7l3m7m2l7n2r7o1w7p3m7q3m7r4s7s3m7t3m7u2w7v3k7w1o7x3k7y3q202l3mcl4sal2lam3man3mao3map3mar3mas2lat4wau1vav3maw3say4waz2lbk2sbl3s'fof'6obo2lbp3mbq2xbr1tbs2lbu1zbv3mbz2wck4s202k3mcm4scn4sco4scp4scq5tcr4mcs3xct3xcu3xcv3xcw2l2m2tcy2lcz2ldl4sdm4sdn4sdo4sdp4sdq4sds4sdt4sdu4sdv4sdw4sdz3mek2wel2wem2wen2weo2wep2weq4mer2wes2wet2weu2wev2wew1wex1wey1wez1wfl3mfm3mfn3mfo3mfp3mfq3mfr3sfs3mft3mfu3mfv3mfw3mfz3m203k6o212m6m2dw2l2cq2l3t3m3u1w17s4s19m3m}'kerning'{cl{4qs5ku17sw5ou5qy5rw201ss5tw201ws}201s{201ss}201t{ckw4lwcmwcnwcowcpwclw4wu201ts}2k{201ts}2w{4qs5kw5os5qx5ru17sx5tx}2x{17sw5tw5ou5qu}2y{4qs5kw5os5qx5ru17sx5tx}'fof'-6o7t{ckuclucmucnucoucpu4lu5os5rs}3u{17su5tu5qs}3v{17su5tu5qs}7p{17sw5tw5qs}ck{4qs5ku17sw5ou5qy5rw201ss5tw201ws}4l{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cm{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cn{4qs5ku17sw5ou5qy5rw201ss5tw201ws}co{4qs5ku17sw5ou5qy5rw201ss5tw201ws}cp{4qs5ku17sw5ou5qy5rw201ss5tw201ws}6l{17su5tu5os5qw5rs}17s{2ktclvcmvcnvcovcpv4lv4wuckv}5o{ckwclwcmwcnwcowcpw4lw4wu}5q{ckyclycmycnycoycpy4ly4wu5ms}5r{cktcltcmtcntcotcpt4lt4ws}5t{2ktclvcmvcnvcovcpv4lv4wuckv}7q{cksclscmscnscoscps4ls}6p{17su5tu5qw5rs}ek{5qs5rs}el{17su5tu5os5qw5rs}em{17su5tu5os5qs5rs}en{17su5qs5rs}eo{5qs5rs}ep{17su5tu5os5qw5rs}es{5qs}et{17su5tu5qw5rs}eu{17su5tu5qs5rs}ev{5qs}6z{17sv5tv5os5qx5rs}fm{5os5qt5rs}fn{17sv5tv5os5qx5rs}fo{17sv5tv5os5qx5rs}fp{5os5qt5rs}fq{5os5qt5rs}7r{ckuclucmucnucoucpu4lu5os}fs{17sv5tv5os5qx5rs}ft{17ss5ts5qs}fu{17sw5tw5qs}fv{17sw5tw5qs}fw{17ss5ts5qs}fz{ckuclucmucnucoucpu4lu5os5rs}}}"),"Helvetica-Oblique":e("{'widths'{k3p2q4mcx1w201n3r201o6o201s1q201t1q201u1q201w2l201x2l201y2l2k1w2l1w202m2n2n3r2o3r2p5t202q6o2r1n2s2l2t2l2u2r2v3u2w1w2x2l2y1w2z1w3k3r3l3r3m3r3n3r3o3r3p3r3q3r3r3r3s3r203t2l203u2l3v1w3w3u3x3u3y3u3z3r4k6p4l4m4m4m4n4s4o4s4p4m4q3x4r4y4s4s4t1w4u3m4v4m4w3r4x5n4y4s4z4y5k4m5l4y5m4s5n4m5o3x5p4s5q4m5r5y5s4m5t4m5u3x5v1w5w1w5x1w5y2z5z3r6k2l6l3r6m3r6n3m6o3r6p3r6q1w6r3r6s3r6t1q6u1q6v3m6w1q6x5n6y3r6z3r7k3r7l3r7m2l7n3m7o1w7p3r7q3m7r4s7s3m7t3m7u3m7v2l7w1u7x2l7y3u202l3rcl4mal2lam3ran3rao3rap3rar3ras2lat4tau2pav3raw3uay4taz2lbk2sbl3u'fof'6obo2lbp3rbr1wbs2lbu2obv3rbz3xck4m202k3rcm4mcn4mco4mcp4mcq6ocr4scs4mct4mcu4mcv4mcw1w2m2ncy1wcz1wdl4sdm4ydn4ydo4ydp4ydq4yds4ydt4sdu4sdv4sdw4sdz3xek3rel3rem3ren3reo3rep3req5ter3mes3ret3reu3rev3rew1wex1wey1wez1wfl3rfm3rfn3rfo3rfp3rfq3rfr3ufs3xft3rfu3rfv3rfw3rfz3m203k6o212m6o2dw2l2cq2l3t3r3u1w17s4m19m3r}'kerning'{5q{4wv}cl{4qs5kw5ow5qs17sv5tv}201t{2wu4w1k2yu}201x{2wu4wy2yu}17s{2ktclucmucnu4otcpu4lu4wycoucku}2w{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}2x{17sy5ty5oy5qs}2y{7qs4qz5k1m17sy5ow5qx5rsfsu5ty7tufzu}'fof'-6o7p{17sv5tv5ow}ck{4qs5kw5ow5qs17sv5tv}4l{4qs5kw5ow5qs17sv5tv}cm{4qs5kw5ow5qs17sv5tv}cn{4qs5kw5ow5qs17sv5tv}co{4qs5kw5ow5qs17sv5tv}cp{4qs5kw5ow5qs17sv5tv}6l{17sy5ty5ow}do{17st5tt}4z{17st5tt}7s{fst}dm{17st5tt}dn{17st5tt}5o{ckwclwcmwcnwcowcpw4lw4wv}dp{17st5tt}dq{17st5tt}7t{5ow}ds{17st5tt}5t{2ktclucmucnu4otcpu4lu4wycoucku}fu{17sv5tv5ow}6p{17sy5ty5ow5qs}ek{17sy5ty5ow}el{17sy5ty5ow}em{17sy5ty5ow}en{5ty}eo{17sy5ty5ow}ep{17sy5ty5ow}es{17sy5ty5qs}et{17sy5ty5ow5qs}eu{17sy5ty5ow5qs}ev{17sy5ty5ow5qs}6z{17sy5ty5ow5qs}fm{17sy5ty5ow5qs}fn{17sy5ty5ow5qs}fo{17sy5ty5ow5qs}fp{17sy5ty5qs}fq{17sy5ty5ow5qs}7r{5ow}fs{17sy5ty5ow5qs}ft{17sv5tv5ow}7m{5ow}fv{17sv5tv5ow}fw{17sv5tv5ow}}}")}};t.events.push(["addFont",function(t){var e,n,o,a="Unicode";e=i[a][t.PostScriptName],e&&(n=t.metadata[a]?t.metadata[a]:t.metadata[a]={},n.widths=e.widths,n.kerning=e.kerning),o=r[a][t.PostScriptName],o&&(n=t.metadata[a]?t.metadata[a]:t.metadata[a]={},n.encoding=o,o.codePages&&o.codePages.length&&(t.encoding=o.codePages[0]))}])}(e.API),function(t){t.addSVG=function(t,e,n,r,i){function o(t,e){var n=e.createElement("style");n.type="text/css",n.styleSheet?n.styleSheet.cssText=t:n.appendChild(e.createTextNode(t)),e.getElementsByTagName("head")[0].appendChild(n)}function a(t){var e="childframe",n=t.createElement("iframe");return o(".jsPDF_sillysvg_iframe {display:none;position:absolute;}",t),n.name=e,n.setAttribute("width",0),n.setAttribute("height",0),n.setAttribute("frameborder","0"),n.setAttribute("scrolling","no"),n.setAttribute("seamless","seamless"),n.setAttribute("class","jsPDF_sillysvg_iframe"),t.body.appendChild(n),n}function s(t,e){var n=(e.contentWindow||e.contentDocument).document;return n.write(t),n.close(),n.getElementsByTagName("svg")[0]}function c(t){for(var e=parseFloat(t[1]),n=parseFloat(t[2]),r=[],i=3,o=t.length;o>i;)"c"===t[i]?(r.push([parseFloat(t[i+1]),parseFloat(t[i+2]),parseFloat(t[i+3]),parseFloat(t[i+4]),parseFloat(t[i+5]),parseFloat(t[i+6])]),i+=7):"l"===t[i]?(r.push([parseFloat(t[i+1]),parseFloat(t[i+2])]),i+=3):i+=1;return[e,n,r]}var u;if(e===u||n===u)throw new Error("addSVG needs values for 'x' and 'y'");var l=a(document),h=s(t,l),f=[1,1],d=parseFloat(h.getAttribute("width")),p=parseFloat(h.getAttribute("height"));d&&p&&(r&&i?f=[r/d,i/p]:r?f=[r/d,r/d]:i&&(f=[i/p,i/p]));var m,g,w,y,v=h.childNodes;for(m=0,g=v.length;g>m;m++)w=v[m],w.tagName&&"PATH"===w.tagName.toUpperCase()&&(y=c(w.getAttribute("d").split(" ")),y[0]=y[0]*f[0]+e,y[1]=y[1]*f[1]+n,this.lines.call(this,y[2],y[0],y[1],f));return this}}(e.API),/** ====================================================================
76
- * jsPDF total_pages plugin
77
- * Copyright (c) 2013 Eduardo Menezes de Morais, eduardo.morais@usp.br
78
- *
79
- *
80
- * ====================================================================
81
- */
82
- function(t){t.putTotalPages=function(t){for(var e=new RegExp(t,"g"),n=1;n<=this.internal.getNumberOfPages();n++)for(var r=0;r<this.internal.pages[n].length;r++)this.internal.pages[n][r]=this.internal.pages[n][r].replace(e,this.internal.getNumberOfPages());return this}}(e.API),function(t){if(t.URL=t.URL||t.webkitURL,t.Blob&&t.URL)try{return void new Blob}catch(e){}var n=t.BlobBuilder||t.WebKitBlobBuilder||t.MozBlobBuilder||function(t){var e=function(t){return Object.prototype.toString.call(t).match(/^\[object\s(.*)\]$/)[1]},n=function(){this.data=[]},r=function(t,e,n){this.data=t,this.size=t.length,this.type=e,this.encoding=n},i=n.prototype,o=r.prototype,a=t.FileReaderSync,s=function(t){this.code=this[this.name=t]},c="NOT_FOUND_ERR SECURITY_ERR ABORT_ERR NOT_READABLE_ERR ENCODING_ERR NO_MODIFICATION_ALLOWED_ERR INVALID_STATE_ERR SYNTAX_ERR".split(" "),u=c.length,l=t.URL||t.webkitURL||t,h=l.createObjectURL,f=l.revokeObjectURL,d=l,p=t.btoa,m=t.atob,g=t.ArrayBuffer,w=t.Uint8Array,y=/^[\w-]+:\/*\[?[\w\.:-]+\]?(?::[0-9]+)?/;for(r.fake=o.fake=!0;u--;)s.prototype[c[u]]=u+1;return l.createObjectURL||(d=t.URL=function(t){var e,n=document.createElementNS("http://www.w3.org/1999/xhtml","a");return n.href=t,"origin"in n||("data:"===n.protocol.toLowerCase()?n.origin=null:(e=t.match(y),n.origin=e&&e[1])),n}),d.createObjectURL=function(t){var e,n=t.type;return null===n&&(n="application/octet-stream"),t instanceof r?(e="data:"+n,"base64"===t.encoding?e+";base64,"+t.data:"URI"===t.encoding?e+","+decodeURIComponent(t.data):p?e+";base64,"+p(t.data):e+","+encodeURIComponent(t.data)):h?h.call(l,t):void 0},d.revokeObjectURL=function(t){"data:"!==t.substring(0,5)&&f&&f.call(l,t)},i.append=function(t){var n=this.data;if(w&&(t instanceof g||t instanceof w)){for(var i="",o=new w(t),c=0,u=o.length;u>c;c++)i+=String.fromCharCode(o[c]);n.push(i)}else if("Blob"===e(t)||"File"===e(t)){if(!a)throw new s("NOT_READABLE_ERR");var l=new a;n.push(l.readAsBinaryString(t))}else t instanceof r?"base64"===t.encoding&&m?n.push(m(t.data)):"URI"===t.encoding?n.push(decodeURIComponent(t.data)):"raw"===t.encoding&&n.push(t.data):("string"!=typeof t&&(t+=""),n.push(unescape(encodeURIComponent(t))))},i.getBlob=function(t){return arguments.length||(t=null),new r(this.data.join(""),t,"raw")},i.toString=function(){return"[object BlobBuilder]"},o.slice=function(t,e,n){var i=arguments.length;return 3>i&&(n=null),new r(this.data.slice(t,i>1?e:this.data.length),n,this.encoding)},o.toString=function(){return"[object Blob]"},o.close=function(){this.size=0,delete this.data},n}(t);t.Blob=function(t,e){var r=e?e.type||"":"",i=new n;if(t)for(var o=0,a=t.length;a>o;o++)Uint8Array&&t[o]instanceof Uint8Array?i.append(t[o].buffer):i.append(t[o]);var s=i.getBlob(r);return!s.slice&&s.webkitSlice&&(s.slice=s.webkitSlice),s};var r=Object.getPrototypeOf||function(t){return t.__proto__};t.Blob.prototype=r(new t.Blob)}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content||void 0);var r=r||function(t){if("undefined"==typeof navigator||!/MSIE [1-9]\./.test(navigator.userAgent)){var e=t.document,n=function(){return t.URL||t.webkitURL||t},r=e.createElementNS("http://www.w3.org/1999/xhtml","a"),i="download"in r,o=function(t){var e=new MouseEvent("click");t.dispatchEvent(e)},a=/Version\/[\d\.]+.*Safari/.test(navigator.userAgent),s=t.webkitRequestFileSystem,c=t.requestFileSystem||s||t.mozRequestFileSystem,u=function(e){(t.setImmediate||t.setTimeout)(function(){throw e},0)},l="application/octet-stream",h=0,f=500,d=function(e){var r=function(){"string"==typeof e?n().revokeObjectURL(e):e.remove()};t.chrome?r():setTimeout(r,f)},p=function(t,e,n){e=[].concat(e);for(var r=e.length;r--;){var i=t["on"+e[r]];if("function"==typeof i)try{i.call(t,n||t)}catch(o){u(o)}}},m=function(t){return/^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(t.type)?new Blob(["\ufeff",t],{type:t.type}):t},g=function(e,u,f){f||(e=m(e));var g,w,y,v=this,b=e.type,x=!1,k=function(){p(v,"writestart progress write writeend".split(" "))},A=function(){if(w&&a&&"undefined"!=typeof FileReader){var r=new FileReader;return r.onloadend=function(){var t=r.result;w.location.href="data:attachment/file"+t.slice(t.search(/[,;]/)),v.readyState=v.DONE,k()},r.readAsDataURL(e),void(v.readyState=v.INIT)}if(!x&&g||(g=n().createObjectURL(e)),w)w.location.href=g;else{var i=t.open(g,"_blank");void 0==i&&a&&(t.location.href=g)}v.readyState=v.DONE,k(),d(g)},C=function(t){return function(){return v.readyState!==v.DONE?t.apply(this,arguments):void 0}},_={create:!0,exclusive:!1};return v.readyState=v.INIT,u||(u="download"),i?(g=n().createObjectURL(e),void setTimeout(function(){r.href=g,r.download=u,o(r),k(),d(g),v.readyState=v.DONE})):(t.chrome&&b&&b!==l&&(y=e.slice||e.webkitSlice,e=y.call(e,0,e.size,l),x=!0),s&&"download"!==u&&(u+=".download"),(b===l||s)&&(w=t),c?(h+=e.size,void c(t.TEMPORARY,h,C(function(t){t.root.getDirectory("saved",_,C(function(t){var n=function(){t.getFile(u,_,C(function(t){t.createWriter(C(function(n){n.onwriteend=function(e){w.location.href=t.toURL(),v.readyState=v.DONE,p(v,"writeend",e),d(t)},n.onerror=function(){var t=n.error;t.code!==t.ABORT_ERR&&A()},"writestart progress write abort".split(" ").forEach(function(t){n["on"+t]=v["on"+t]}),n.write(e),v.abort=function(){n.abort(),v.readyState=v.DONE},v.readyState=v.WRITING}),A)}),A)};t.getFile(u,{create:!1},C(function(t){t.remove(),n()}),C(function(t){t.code===t.NOT_FOUND_ERR?n():A()}))}),A)}),A)):void A())},w=g.prototype,y=function(t,e,n){return new g(t,e,n)};return"undefined"!=typeof navigator&&navigator.msSaveOrOpenBlob?function(t,e,n){return n||(t=m(t)),navigator.msSaveOrOpenBlob(t,e||"download")}:(w.abort=function(){var t=this;t.readyState=t.DONE,p(t,"abort")},w.readyState=w.INIT=0,w.WRITING=1,w.DONE=2,w.error=w.onwritestart=w.onprogress=w.onwrite=w.onabort=w.onerror=w.onwriteend=null,y)}}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||(void 0).content);"undefined"!=typeof module&&module.exports?module.exports.saveAs=r:"undefined"!=typeof define&&null!==define&&null!=define.amd&&define([],function(){return r}),/*
83
- * Copyright (c) 2012 chick307 <chick307@gmail.com>
84
- *
85
- * Licensed under the MIT License.
86
- * http://opensource.org/licenses/mit-license
87
- */
88
- void function(t,e){"object"==typeof module?module.exports=e():"function"==typeof define?define(e):t.adler32cs=e()}(e,function(){var t="function"==typeof ArrayBuffer&&"function"==typeof Uint8Array,e=null,n=function(){if(!t)return function(){return!1};try{var n={};"function"==typeof n.Buffer&&(e=n.Buffer)}catch(r){}return function(t){return t instanceof ArrayBuffer||null!==e&&t instanceof e}}(),r=function(){return null!==e?function(t){return new e(t,"utf8").toString("binary")}:function(t){return unescape(encodeURIComponent(t))}}(),i=65521,o=function(t,e){for(var n=65535&t,r=t>>>16,o=0,a=e.length;a>o;o++)n=(n+(255&e.charCodeAt(o)))%i,r=(r+n)%i;return(r<<16|n)>>>0},a=function(t,e){for(var n=65535&t,r=t>>>16,o=0,a=e.length;a>o;o++)n=(n+e[o])%i,r=(r+n)%i;return(r<<16|n)>>>0},s={},c=s.Adler32=function(){var e=function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(!isFinite(t=null==t?1:+t))throw new Error("First arguments needs to be a finite number.");this.checksum=t>>>0},i=e.prototype={};return i.constructor=e,e.from=function(t){return t.prototype=i,t}(function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(null==t)throw new Error("First argument needs to be a string.");this.checksum=o(1,t.toString())}),e.fromUtf8=function(t){return t.prototype=i,t}(function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(null==t)throw new Error("First argument needs to be a string.");var n=r(t.toString());this.checksum=o(1,n)}),t&&(e.fromBuffer=function(t){return t.prototype=i,t}(function(t){if(!(this instanceof e))throw new TypeError("Constructor cannot called be as a function.");if(!n(t))throw new Error("First argument needs to be ArrayBuffer.");var r=new Uint8Array(t);return this.checksum=a(1,r)})),i.update=function(t){if(null==t)throw new Error("First argument needs to be a string.");return t=t.toString(),this.checksum=o(this.checksum,t)},i.updateUtf8=function(t){if(null==t)throw new Error("First argument needs to be a string.");var e=r(t.toString());return this.checksum=o(this.checksum,e)},t&&(i.updateBuffer=function(t){if(!n(t))throw new Error("First argument needs to be ArrayBuffer.");var e=new Uint8Array(t);return this.checksum=a(this.checksum,e)}),i.clone=function(){return new c(this.checksum)},e}();return s.from=function(t){if(null==t)throw new Error("First argument needs to be a string.");return o(1,t.toString())},s.fromUtf8=function(t){if(null==t)throw new Error("First argument needs to be a string.");var e=r(t.toString());return o(1,e)},t&&(s.fromBuffer=function(t){if(!n(t))throw new Error("First argument need to be ArrayBuffer.");var e=new Uint8Array(t);return a(1,e)}),s});/**
89
- * CssColors
90
- * Copyright (c) 2014 Steven Spungin (TwelveTone LLC) steven@twelvetone.tv
91
- *
92
- * Licensed under the MIT License.
93
- * http://opensource.org/licenses/mit-license
94
- */
95
- var i={};i._colorsTable={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},i.colorNameToHex=function(t){return t=t.toLowerCase(),"undefined"!=typeof this._colorsTable[t]?this._colorsTable[t]:!1};/*
96
- Deflate.js - https://github.com/gildas-lormeau/zip.js
97
- Copyright (c) 2013 Gildas Lormeau. All rights reserved.
98
-
99
- Redistribution and use in source and binary forms, with or without
100
- modification, are permitted provided that the following conditions are met:
101
-
102
- 1. Redistributions of source code must retain the above copyright notice,
103
- this list of conditions and the following disclaimer.
104
-
105
- 2. Redistributions in binary form must reproduce the above copyright
106
- notice, this list of conditions and the following disclaimer in
107
- the documentation and/or other materials provided with the distribution.
108
-
109
- 3. The names of the authors may not be used to endorse or promote products
110
- derived from this software without specific prior written permission.
111
-
112
- THIS SOFTWARE IS PROVIDED ``AS IS'' AND ANY EXPRESSED OR IMPLIED WARRANTIES,
113
- INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND
114
- FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL JCRAFT,
115
- INC. OR ANY CONTRIBUTORS TO THIS SOFTWARE BE LIABLE FOR ANY DIRECT, INDIRECT,
116
- INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
117
- LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA,
118
- OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
119
- LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
120
- NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
121
- EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
122
- */
123
- var o=function(t){function e(){function t(t){var e,n,i,o,a,c,u=r.dyn_tree,l=r.stat_desc.static_tree,h=r.stat_desc.extra_bits,f=r.stat_desc.extra_base,p=r.stat_desc.max_length,m=0;for(o=0;s>=o;o++)t.bl_count[o]=0;for(u[2*t.heap[t.heap_max]+1]=0,e=t.heap_max+1;d>e;e++)n=t.heap[e],o=u[2*u[2*n+1]+1]+1,o>p&&(o=p,m++),u[2*n+1]=o,n>r.max_code||(t.bl_count[o]++,a=0,n>=f&&(a=h[n-f]),c=u[2*n],t.opt_len+=c*(o+a),l&&(t.static_len+=c*(l[2*n+1]+a)));if(0!==m){do{for(o=p-1;0===t.bl_count[o];)o--;t.bl_count[o]--,t.bl_count[o+1]+=2,t.bl_count[p]--,m-=2}while(m>0);for(o=p;0!==o;o--)for(n=t.bl_count[o];0!==n;)i=t.heap[--e],i>r.max_code||(u[2*i+1]!=o&&(t.opt_len+=(o-u[2*i+1])*u[2*i],u[2*i+1]=o),n--)}}function e(t,e){var n=0;do n|=1&t,t>>>=1,n<<=1;while(--e>0);return n>>>1}function n(t,n,r){var i,o,a,c=[],u=0;for(i=1;s>=i;i++)c[i]=u=u+r[i-1]<<1;for(o=0;n>=o;o++)a=t[2*o+1],0!==a&&(t[2*o]=e(c[a]++,a))}var r=this;r.build_tree=function(e){var i,o,a,s=r.dyn_tree,c=r.stat_desc.static_tree,u=r.stat_desc.elems,l=-1;for(e.heap_len=0,e.heap_max=d,i=0;u>i;i++)0!==s[2*i]?(e.heap[++e.heap_len]=l=i,e.depth[i]=0):s[2*i+1]=0;for(;e.heap_len<2;)a=e.heap[++e.heap_len]=2>l?++l:0,s[2*a]=1,e.depth[a]=0,e.opt_len--,c&&(e.static_len-=c[2*a+1]);for(r.max_code=l,i=Math.floor(e.heap_len/2);i>=1;i--)e.pqdownheap(s,i);a=u;do i=e.heap[1],e.heap[1]=e.heap[e.heap_len--],e.pqdownheap(s,1),o=e.heap[1],e.heap[--e.heap_max]=i,e.heap[--e.heap_max]=o,s[2*a]=s[2*i]+s[2*o],e.depth[a]=Math.max(e.depth[i],e.depth[o])+1,s[2*i+1]=s[2*o+1]=a,e.heap[1]=a++,e.pqdownheap(s,1);while(e.heap_len>=2);e.heap[--e.heap_max]=e.heap[1],t(e),n(s,r.max_code,e.bl_count)}}function n(t,e,n,r,i){var o=this;o.static_tree=t,o.extra_bits=e,o.extra_base=n,o.elems=r,o.max_length=i}function r(t,e,n,r,i){var o=this;o.good_length=t,o.max_lazy=e,o.nice_length=n,o.max_chain=r,o.func=i}function i(t,e,n,r){var i=t[2*e],o=t[2*n];return o>i||i==o&&r[e]<=r[n]}function o(){function t(){var t;for(Et=2*qt,Ot[Bt-1]=0,t=0;Bt-1>t;t++)Ot[t]=0;Yt=L[Gt].max_lazy,Qt=L[Gt].good_length,Kt=L[Gt].nice_length,Vt=L[Gt].max_chain,Ut=0,Nt=0,Wt=0,zt=Xt=tt-1,Mt=0,Ft=0}function r(){var t;for(t=0;f>t;t++)Zt[2*t]=0;for(t=0;c>t;t++)$t[2*t]=0;for(t=0;u>t;t++)te[2*t]=0;Zt[2*p]=1,ee.opt_len=ee.static_len=0,se=ue=0}function o(){ne.dyn_tree=Zt,ne.stat_desc=n.static_l_desc,re.dyn_tree=$t,re.stat_desc=n.static_d_desc,ie.dyn_tree=te,ie.stat_desc=n.static_bl_desc,he=0,fe=0,le=8,r()}function a(t,e){var n,r,i=-1,o=t[1],a=0,s=7,c=4;for(0===o&&(s=138,c=3),t[2*(e+1)+1]=65535,n=0;e>=n;n++)r=o,o=t[2*(n+1)+1],++a<s&&r==o||(c>a?te[2*r]+=a:0!==r?(r!=i&&te[2*r]++,te[2*g]++):10>=a?te[2*w]++:te[2*y]++,a=0,i=r,0===o?(s=138,c=3):r==o?(s=6,c=3):(s=7,c=4))}function s(){var t;for(a(Zt,ne.max_code),a($t,re.max_code),ie.build_tree(ee),t=u-1;t>=3&&0===te[2*e.bl_order[t]+1];t--);return ee.opt_len+=3*(t+1)+5+5+4,t}function l(t){ee.pending_buf[ee.pending++]=t}function d(t){l(255&t),l(t>>>8&255)}function m(t){l(t>>8&255),l(255&t&255)}function B(t,e){var n,r=e;fe>v-r?(n=t,he|=n<<fe&65535,d(he),he=n>>>v-fe,fe+=r-v):(he|=t<<fe&65535,fe+=r)}function rt(t,e){var n=2*t;B(65535&e[n],65535&e[n+1])}function it(t,e){var n,r,i=-1,o=t[1],a=0,s=7,c=4;for(0===o&&(s=138,c=3),n=0;e>=n;n++)if(r=o,o=t[2*(n+1)+1],!(++a<s&&r==o)){if(c>a){do rt(r,te);while(0!==--a)}else 0!==r?(r!=i&&(rt(r,te),a--),rt(g,te),B(a-3,2)):10>=a?(rt(w,te),B(a-3,3)):(rt(y,te),B(a-11,7));a=0,i=r,0===o?(s=138,c=3):r==o?(s=6,c=3):(s=7,c=4)}}function ot(t,n,r){var i;for(B(t-257,5),B(n-1,5),B(r-4,4),i=0;r>i;i++)B(te[2*e.bl_order[i]+1],3);it(Zt,t-1),it($t,n-1)}function at(){16==fe?(d(he),he=0,fe=0):fe>=8&&(l(255&he),he>>>=8,fe-=8)}function st(){B(Z<<1,3),rt(p,n.static_ltree),at(),9>1+le+10-fe&&(B(Z<<1,3),rt(p,n.static_ltree),at()),le=7}function ct(t,n){var r,i,o;if(ee.pending_buf[ce+2*se]=t>>>8&255,ee.pending_buf[ce+2*se+1]=255&t,ee.pending_buf[oe+se]=255&n,se++,0===t?Zt[2*n]++:(ue++,t--,Zt[2*(e._length_code[n]+h+1)]++,$t[2*e.d_code(t)]++),0===(8191&se)&&Gt>2){for(r=8*se,i=Ut-Nt,o=0;c>o;o++)r+=$t[2*o]*(5+e.extra_dbits[o]);if(r>>>=3,ue<Math.floor(se/2)&&r<Math.floor(i/2))return!0}return se==ae-1}function ut(t,n){var r,i,o,a,s=0;if(0!==se)do r=ee.pending_buf[ce+2*s]<<8&65280|255&ee.pending_buf[ce+2*s+1],i=255&ee.pending_buf[oe+s],s++,0===r?rt(i,t):(o=e._length_code[i],rt(o+h+1,t),a=e.extra_lbits[o],0!==a&&(i-=e.base_length[o],B(i,a)),r--,o=e.d_code(r),rt(o,n),a=e.extra_dbits[o],0!==a&&(r-=e.base_dist[o],B(r,a)));while(se>s);rt(p,t),le=t[2*p+1]}function lt(){fe>8?d(he):fe>0&&l(255&he),he=0,fe=0}function ht(t,e,n){lt(),le=8,n&&(d(e),d(~e)),ee.pending_buf.set(Pt.subarray(t,t+e),ee.pending),ee.pending+=e}function ft(t,e,n){B((K<<1)+(n?1:0),3),ht(t,e,!0)}function dt(t,e,i){var o,a,c=0;Gt>0?(ne.build_tree(ee),re.build_tree(ee),c=s(),o=ee.opt_len+3+7>>>3,a=ee.static_len+3+7>>>3,o>=a&&(o=a)):o=a=e+5,o>=e+4&&-1!=t?ft(t,e,i):a==o?(B((Z<<1)+(i?1:0),3),ut(n.static_ltree,n.static_dtree)):(B(($<<1)+(i?1:0),3),ot(ne.max_code+1,re.max_code+1,c+1),ut(Zt,$t)),r(),i&&lt()}function pt(t){dt(Nt>=0?Nt:-1,Ut-Nt,t),Nt=Ut,xt.flush_pending()}function mt(){var t,e,n,r;do{if(r=Et-Wt-Ut,0===r&&0===Ut&&0===Wt)r=qt;else if(-1==r)r--;else if(Ut>=qt+qt-nt){Pt.set(Pt.subarray(qt,qt+qt),0),Ht-=qt,Ut-=qt,Nt-=qt,t=Bt,n=t;do e=65535&Ot[--n],Ot[n]=e>=qt?e-qt:0;while(0!==--t);t=qt,n=t;do e=65535&It[--n],It[n]=e>=qt?e-qt:0;while(0!==--t);r+=qt}if(0===xt.avail_in)return;t=xt.read_buf(Pt,Ut+Wt,r),Wt+=t,Wt>=tt&&(Ft=255&Pt[Ut],Ft=(Ft<<jt^255&Pt[Ut+1])&Dt)}while(nt>Wt&&0!==xt.avail_in)}function gt(t){var e,n=65535;for(n>At-5&&(n=At-5);;){if(1>=Wt){if(mt(),0===Wt&&t==C)return U;if(0===Wt)break}if(Ut+=Wt,Wt=0,e=Nt+n,(0===Ut||Ut>=e)&&(Wt=Ut-e,Ut=e,pt(!1),0===xt.avail_out))return U;if(Ut-Nt>=qt-nt&&(pt(!1),0===xt.avail_out))return U}return pt(t==S),0===xt.avail_out?t==S?W:U:t==S?X:H}function wt(t){var e,n,r=Vt,i=Ut,o=Xt,a=Ut>qt-nt?Ut-(qt-nt):0,s=Kt,c=Tt,u=Ut+et,l=Pt[i+o-1],h=Pt[i+o];Xt>=Qt&&(r>>=2),s>Wt&&(s=Wt);do if(e=t,Pt[e+o]==h&&Pt[e+o-1]==l&&Pt[e]==Pt[i]&&Pt[++e]==Pt[i+1]){i+=2,e++;do;while(Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&Pt[++i]==Pt[++e]&&u>i);if(n=et-(u-i),i=u-et,n>o){if(Ht=t,o=n,n>=s)break;l=Pt[i+o-1],h=Pt[i+o]}}while((t=65535&It[t&c])>a&&0!==--r);return Wt>=o?o:Wt}function yt(t){for(var e,n=0;;){if(nt>Wt){if(mt(),nt>Wt&&t==C)return U;if(0===Wt)break}if(Wt>=tt&&(Ft=(Ft<<jt^255&Pt[Ut+(tt-1)])&Dt,n=65535&Ot[Ft],It[Ut&Tt]=Ot[Ft],Ot[Ft]=Ut),0!==n&&qt-nt>=(Ut-n&65535)&&Jt!=k&&(zt=wt(n)),zt>=tt)if(e=ct(Ut-Ht,zt-tt),Wt-=zt,Yt>=zt&&Wt>=tt){zt--;do Ut++,Ft=(Ft<<jt^255&Pt[Ut+(tt-1)])&Dt,n=65535&Ot[Ft],It[Ut&Tt]=Ot[Ft],Ot[Ft]=Ut;while(0!==--zt);Ut++}else Ut+=zt,zt=0,Ft=255&Pt[Ut],Ft=(Ft<<jt^255&Pt[Ut+1])&Dt;else e=ct(0,255&Pt[Ut]),Wt--,Ut++;if(e&&(pt(!1),0===xt.avail_out))return U}return pt(t==S),0===xt.avail_out?t==S?W:U:t==S?X:H}function vt(t){for(var e,n,r=0;;){if(nt>Wt){if(mt(),nt>Wt&&t==C)return U;if(0===Wt)break}if(Wt>=tt&&(Ft=(Ft<<jt^255&Pt[Ut+(tt-1)])&Dt,r=65535&Ot[Ft],It[Ut&Tt]=Ot[Ft],Ot[Ft]=Ut),Xt=zt,Lt=Ht,zt=tt-1,0!==r&&Yt>Xt&&qt-nt>=(Ut-r&65535)&&(Jt!=k&&(zt=wt(r)),5>=zt&&(Jt==x||zt==tt&&Ut-Ht>4096)&&(zt=tt-1)),Xt>=tt&&Xt>=zt){n=Ut+Wt-tt,e=ct(Ut-1-Lt,Xt-tt),Wt-=Xt-1,Xt-=2;do++Ut<=n&&(Ft=(Ft<<jt^255&Pt[Ut+(tt-1)])&Dt,r=65535&Ot[Ft],It[Ut&Tt]=Ot[Ft],Ot[Ft]=Ut);while(0!==--Xt);if(Mt=0,zt=tt-1,Ut++,e&&(pt(!1),0===xt.avail_out))return U}else if(0!==Mt){if(e=ct(0,255&Pt[Ut-1]),e&&pt(!1),Ut++,Wt--,0===xt.avail_out)return U}else Mt=1,Ut++,Wt--}return 0!==Mt&&(e=ct(0,255&Pt[Ut-1]),Mt=0),pt(t==S),0===xt.avail_out?t==S?W:U:t==S?X:H}function bt(e){return e.total_in=e.total_out=0,e.msg=null,ee.pending=0,ee.pending_out=0,kt=G,_t=C,o(),t(),T}var xt,kt,At,Ct,_t,qt,St,Tt,Pt,Et,It,Ot,Ft,Bt,Rt,Dt,jt,Nt,zt,Lt,Mt,Ut,Ht,Wt,Xt,Vt,Yt,Gt,Jt,Qt,Kt,Zt,$t,te,ee=this,ne=new e,re=new e,ie=new e;ee.depth=[];var oe,ae,se,ce,ue,le,he,fe;ee.bl_count=[],ee.heap=[],Zt=[],$t=[],te=[],ee.pqdownheap=function(t,e){for(var n=ee.heap,r=n[e],o=e<<1;o<=ee.heap_len&&(o<ee.heap_len&&i(t,n[o+1],n[o],ee.depth)&&o++,!i(t,r,n[o],ee.depth));)n[e]=n[o],e=o,o<<=1;n[e]=r},ee.deflateInit=function(t,e,n,r,i,o){return r||(r=Q),i||(i=D),o||(o=A),t.msg=null,e==b&&(e=6),1>i||i>R||r!=Q||9>n||n>15||0>e||e>9||0>o||o>k?I:(t.dstate=ee,St=n,qt=1<<St,Tt=qt-1,Rt=i+7,Bt=1<<Rt,Dt=Bt-1,jt=Math.floor((Rt+tt-1)/tt),Pt=new Uint8Array(2*qt),It=[],Ot=[],ae=1<<i+6,ee.pending_buf=new Uint8Array(4*ae),At=4*ae,ce=Math.floor(ae/2),oe=3*ae,Gt=e,Jt=o,Ct=255&r,bt(t))},ee.deflateEnd=function(){return kt!=Y&&kt!=G&&kt!=J?I:(ee.pending_buf=null,Ot=null,It=null,Pt=null,ee.dstate=null,kt==G?O:T)},ee.deflateParams=function(t,e,n){var r=T;return e==b&&(e=6),0>e||e>9||0>n||n>k?I:(L[Gt].func!=L[e].func&&0!==t.total_in&&(r=t.deflate(_)),Gt!=e&&(Gt=e,Yt=L[Gt].max_lazy,Qt=L[Gt].good_length,Kt=L[Gt].nice_length,Vt=L[Gt].max_chain),Jt=n,r)},ee.deflateSetDictionary=function(t,e,n){var r,i=n,o=0;if(!e||kt!=Y)return I;if(tt>i)return T;for(i>qt-nt&&(i=qt-nt,o=n-i),Pt.set(e.subarray(o,o+i),0),Ut=i,Nt=i,Ft=255&Pt[0],Ft=(Ft<<jt^255&Pt[1])&Dt,r=0;i-tt>=r;r++)Ft=(Ft<<jt^255&Pt[r+(tt-1)])&Dt,It[r&Tt]=Ot[Ft],Ot[Ft]=r;return T},ee.deflate=function(t,e){var n,r,i,o,a;if(e>S||0>e)return I;if(!t.next_out||!t.next_in&&0!==t.avail_in||kt==J&&e!=S)return t.msg=M[E-I],I;if(0===t.avail_out)return t.msg=M[E-F],F;if(xt=t,o=_t,_t=e,kt==Y&&(r=Q+(St-8<<4)<<8,i=(Gt-1&255)>>1,i>3&&(i=3),r|=i<<6,0!==Ut&&(r|=V),r+=31-r%31,kt=G,m(r)),0!==ee.pending){if(xt.flush_pending(),0===xt.avail_out)return _t=-1,T}else if(0===xt.avail_in&&o>=e&&e!=S)return xt.msg=M[E-F],F;if(kt==J&&0!==xt.avail_in)return t.msg=M[E-F],F;if(0!==xt.avail_in||0!==Wt||e!=C&&kt!=J){switch(a=-1,L[Gt].func){case j:a=gt(e);break;case N:a=yt(e);break;case z:a=vt(e)}if(a!=W&&a!=X||(kt=J),a==U||a==W)return 0===xt.avail_out&&(_t=-1),T;if(a==H){if(e==_)st();else if(ft(0,0,!1),e==q)for(n=0;Bt>n;n++)Ot[n]=0;if(xt.flush_pending(),0===xt.avail_out)return _t=-1,T}}return e!=S?T:P}}function a(){var t=this;t.next_in_index=0,t.next_out_index=0,t.avail_in=0,t.total_in=0,t.avail_out=0,t.total_out=0}var s=15,c=30,u=19,l=29,h=256,f=h+1+l,d=2*f+1,p=256,m=7,g=16,w=17,y=18,v=16,b=-1,x=1,k=2,A=0,C=0,_=1,q=3,S=4,T=0,P=1,E=2,I=-2,O=-3,F=-5,B=[0,1,2,3,4,4,5,5,6,6,6,6,7,7,7,7,8,8,8,8,8,8,8,8,9,9,9,9,9,9,9,9,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,10,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,11,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,12,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,13,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,14,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,15,0,0,16,17,18,18,19,19,20,20,20,20,21,21,21,21,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,28,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29,29];e._length_code=[0,1,2,3,4,5,6,7,8,8,9,9,10,10,11,11,12,12,12,12,13,13,13,13,14,14,14,14,15,15,15,15,16,16,16,16,16,16,16,16,17,17,17,17,17,17,17,17,18,18,18,18,18,18,18,18,19,19,19,19,19,19,19,19,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,20,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,21,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,22,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,23,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,24,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,25,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,26,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,27,28],e.base_length=[0,1,2,3,4,5,6,7,8,10,12,14,16,20,24,28,32,40,48,56,64,80,96,112,128,160,192,224,0],e.base_dist=[0,1,2,3,4,6,8,12,16,24,32,48,64,96,128,192,256,384,512,768,1024,1536,2048,3072,4096,6144,8192,12288,16384,24576],e.d_code=function(t){return 256>t?B[t]:B[256+(t>>>7)]},e.extra_lbits=[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0],e.extra_dbits=[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13],e.extra_blbits=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,2,3,7],e.bl_order=[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],n.static_ltree=[12,8,140,8,76,8,204,8,44,8,172,8,108,8,236,8,28,8,156,8,92,8,220,8,60,8,188,8,124,8,252,8,2,8,130,8,66,8,194,8,34,8,162,8,98,8,226,8,18,8,146,8,82,8,210,8,50,8,178,8,114,8,242,8,10,8,138,8,74,8,202,8,42,8,170,8,106,8,234,8,26,8,154,8,90,8,218,8,58,8,186,8,122,8,250,8,6,8,134,8,70,8,198,8,38,8,166,8,102,8,230,8,22,8,150,8,86,8,214,8,54,8,182,8,118,8,246,8,14,8,142,8,78,8,206,8,46,8,174,8,110,8,238,8,30,8,158,8,94,8,222,8,62,8,190,8,126,8,254,8,1,8,129,8,65,8,193,8,33,8,161,8,97,8,225,8,17,8,145,8,81,8,209,8,49,8,177,8,113,8,241,8,9,8,137,8,73,8,201,8,41,8,169,8,105,8,233,8,25,8,153,8,89,8,217,8,57,8,185,8,121,8,249,8,5,8,133,8,69,8,197,8,37,8,165,8,101,8,229,8,21,8,149,8,85,8,213,8,53,8,181,8,117,8,245,8,13,8,141,8,77,8,205,8,45,8,173,8,109,8,237,8,29,8,157,8,93,8,221,8,61,8,189,8,125,8,253,8,19,9,275,9,147,9,403,9,83,9,339,9,211,9,467,9,51,9,307,9,179,9,435,9,115,9,371,9,243,9,499,9,11,9,267,9,139,9,395,9,75,9,331,9,203,9,459,9,43,9,299,9,171,9,427,9,107,9,363,9,235,9,491,9,27,9,283,9,155,9,411,9,91,9,347,9,219,9,475,9,59,9,315,9,187,9,443,9,123,9,379,9,251,9,507,9,7,9,263,9,135,9,391,9,71,9,327,9,199,9,455,9,39,9,295,9,167,9,423,9,103,9,359,9,231,9,487,9,23,9,279,9,151,9,407,9,87,9,343,9,215,9,471,9,55,9,311,9,183,9,439,9,119,9,375,9,247,9,503,9,15,9,271,9,143,9,399,9,79,9,335,9,207,9,463,9,47,9,303,9,175,9,431,9,111,9,367,9,239,9,495,9,31,9,287,9,159,9,415,9,95,9,351,9,223,9,479,9,63,9,319,9,191,9,447,9,127,9,383,9,255,9,511,9,0,7,64,7,32,7,96,7,16,7,80,7,48,7,112,7,8,7,72,7,40,7,104,7,24,7,88,7,56,7,120,7,4,7,68,7,36,7,100,7,20,7,84,7,52,7,116,7,3,8,131,8,67,8,195,8,35,8,163,8,99,8,227,8],n.static_dtree=[0,5,16,5,8,5,24,5,4,5,20,5,12,5,28,5,2,5,18,5,10,5,26,5,6,5,22,5,14,5,30,5,1,5,17,5,9,5,25,5,5,5,21,5,13,5,29,5,3,5,19,5,11,5,27,5,7,5,23,5],n.static_l_desc=new n(n.static_ltree,e.extra_lbits,h+1,f,s),n.static_d_desc=new n(n.static_dtree,e.extra_dbits,0,c,s),n.static_bl_desc=new n(null,e.extra_blbits,0,u,m);var R=9,D=8,j=0,N=1,z=2,L=[new r(0,0,0,0,j),new r(4,4,8,4,N),new r(4,5,16,8,N),new r(4,6,32,32,N),new r(4,4,16,16,z),new r(8,16,32,32,z),new r(8,16,128,128,z),new r(8,32,128,256,z),new r(32,128,258,1024,z),new r(32,258,258,4096,z)],M=["need dictionary","stream end","","","stream error","data error","","buffer error","",""],U=0,H=1,W=2,X=3,V=32,Y=42,G=113,J=666,Q=8,K=0,Z=1,$=2,tt=3,et=258,nt=et+tt+1;return a.prototype={deflateInit:function(t,e){var n=this;return n.dstate=new o,e||(e=s),n.dstate.deflateInit(n,t,e)},deflate:function(t){var e=this;return e.dstate?e.dstate.deflate(e,t):I},deflateEnd:function(){var t=this;if(!t.dstate)return I;var e=t.dstate.deflateEnd();return t.dstate=null,e},deflateParams:function(t,e){var n=this;return n.dstate?n.dstate.deflateParams(n,t,e):I},deflateSetDictionary:function(t,e){var n=this;return n.dstate?n.dstate.deflateSetDictionary(n,t,e):I},read_buf:function(t,e,n){var r=this,i=r.avail_in;return i>n&&(i=n),0===i?0:(r.avail_in-=i,t.set(r.next_in.subarray(r.next_in_index,r.next_in_index+i),e),r.next_in_index+=i,r.total_in+=i,i)},flush_pending:function(){var t=this,e=t.dstate.pending;e>t.avail_out&&(e=t.avail_out),0!==e&&(t.next_out.set(t.dstate.pending_buf.subarray(t.dstate.pending_out,t.dstate.pending_out+e),t.next_out_index),t.next_out_index+=e,t.dstate.pending_out+=e,t.total_out+=e,t.avail_out-=e,t.dstate.pending-=e,0===t.dstate.pending&&(t.dstate.pending_out=0))}},function(t){var e=this,n=new a,r=512,i=C,o=new Uint8Array(r);"undefined"==typeof t&&(t=b),n.deflateInit(t),n.next_out=o,e.append=function(t,e){var a,s,c=[],u=0,l=0,h=0;if(t.length){n.next_in_index=0,n.next_in=t,n.avail_in=t.length;do{if(n.next_out_index=0,n.avail_out=r,a=n.deflate(i),a!=T)throw"deflating: "+n.msg;n.next_out_index&&(n.next_out_index==r?c.push(new Uint8Array(o)):c.push(new Uint8Array(o.subarray(0,n.next_out_index)))),h+=n.next_out_index,e&&n.next_in_index>0&&n.next_in_index!=u&&(e(n.next_in_index),u=n.next_in_index)}while(n.avail_in>0||0===n.avail_out);return s=new Uint8Array(h),c.forEach(function(t){s.set(t,l),l+=t.length}),s}},e.flush=function(){var t,e,i=[],a=0,s=0;do{if(n.next_out_index=0,n.avail_out=r,t=n.deflate(S),t!=P&&t!=T)throw"deflating: "+n.msg;r-n.avail_out>0&&i.push(new Uint8Array(o.subarray(0,n.next_out_index))),s+=n.next_out_index}while(n.avail_in>0||0===n.avail_out);return n.deflateEnd(),e=new Uint8Array(s),i.forEach(function(t){e.set(t,a),a+=t.length}),e}}}(void 0);/*
124
- html2canvas 0.5.0-alpha <http://html2canvas.hertzen.com>
125
- Copyright (c) 2014 Niklas von Hertzen
126
-
127
- Released under MIT License
128
- */
129
- (function(t,e,n,r,i,o,a){function s(t,e,n,r){return p(t,t,n,r,e).then(function(i){I("Document cloned");var o="["+Wt+"='true']";t.querySelector(o).removeAttribute(Wt);var a=i.contentWindow,s=a.document.querySelector(o),u="function"==typeof e.onclone?Promise.resolve(e.onclone(a.document)):Promise.resolve(!0);return u.then(function(){return c(s,i,e,n,r)})})}function c(t,n,r,i,o){var a=n.contentWindow,s=new Bt(a.document),c=new P(r,s),d=z(t),p="view"===r.type?i:h(a.document),m="view"===r.type?o:f(a.document),g=new Ut(p,m,c,r,e),w=new M(t,g,s,c,r);return w.ready.then(function(){I("Finished rendering");var e;return e="view"===r.type?l(g.canvas,{width:g.canvas.width,height:g.canvas.height,top:0,left:0,x:0,y:0}):t===a.document.body||t===a.document.documentElement||null!=r.canvas?g.canvas:l(g.canvas,{width:null!=r.width?r.width:d.width,height:null!=r.height?r.height:d.height,top:d.top,left:d.left,x:a.pageXOffset,y:a.pageYOffset}),u(n,r),e})}function u(t,e){e.removeContainer&&(t.parentNode.removeChild(t),I("Cleaned up container"))}function l(t,n){var r=e.createElement("canvas"),i=Math.min(t.width-1,Math.max(0,n.left)),o=Math.min(t.width,Math.max(1,n.left+n.width)),a=Math.min(t.height-1,Math.max(0,n.top)),s=Math.min(t.height,Math.max(1,n.top+n.height));return r.width=n.width,r.height=n.height,I("Cropping canvas at:","left:",n.left,"top:",n.top,"width:",o-i,"height:",s-a),I("Resulting crop with width",n.width,"and height",n.height," with x",i,"and y",a),r.getContext("2d").drawImage(t,i,a,o-i,s-a,n.x,n.y,o-i,s-a),r}function h(t){return Math.max(Math.max(t.body.scrollWidth,t.documentElement.scrollWidth),Math.max(t.body.offsetWidth,t.documentElement.offsetWidth),Math.max(t.body.clientWidth,t.documentElement.clientWidth))}function f(t){return Math.max(Math.max(t.body.scrollHeight,t.documentElement.scrollHeight),Math.max(t.body.offsetHeight,t.documentElement.offsetHeight),Math.max(t.body.clientHeight,t.documentElement.clientHeight))}function d(){return"data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7"}function p(t,e,n,r,i){y(t);var o=t.documentElement.cloneNode(!0),a=e.createElement("iframe");return a.className="html2canvas-container",a.style.visibility="hidden",a.style.position="fixed",a.style.left="-10000px",a.style.top="0px",a.style.border="0",a.width=n,a.height=r,a.scrolling="no",e.body.appendChild(a),new Promise(function(e){var n=a.contentWindow.document;a.contentWindow.onload=a.onload=function(){var o=setInterval(function(){n.body.childNodes.length>0&&(v(t,n),clearInterval(o),"view"===i.type&&a.contentWindow.scrollTo(r,s),e(a))},50)};var r=t.defaultView.pageXOffset,s=t.defaultView.pageYOffset;n.open(),n.write("<!DOCTYPE html><html></html>"),m(t,r,s),n.replaceChild(i.javascriptEnabled===!0?n.adoptNode(o):b(n.adoptNode(o)),n.documentElement),n.close()})}function m(t,e,n){e===t.defaultView.pageXOffset&&n===t.defaultView.pageYOffset||t.defaultView.scrollTo(e,n)}function g(e,n,r,i,o,a){return new _t(e,n,t.document).then(w(e)).then(function(t){return p(t,r,i,o,a)})}function w(t){return function(n){var r,i=new DOMParser;try{r=i.parseFromString(n,"text/html")}catch(o){I("DOMParser not supported, falling back to createHTMLDocument"),r=e.implementation.createHTMLDocument("");try{r.open(),r.write(n),r.close()}catch(a){I("createHTMLDocument write not supported, falling back to document.body.innerHTML"),r.body.innerHTML=n}}var s=r.querySelector("base");if(!s||!s.href.host){var c=r.createElement("base");c.href=t,r.head.insertBefore(c,r.head.firstChild)}return r}}function y(t){[].slice.call(t.querySelectorAll("canvas"),0).forEach(function(t){t.setAttribute(Xt,"canvas-"+Vt++)})}function v(t,e){[].slice.call(t.querySelectorAll("["+Xt+"]"),0).forEach(function(t){try{var n=e.querySelector("["+Xt+'="'+t.getAttribute(Xt)+'"]');n&&(n.width=t.width,n.height=t.height,n.getContext("2d").putImageData(t.getContext("2d").getImageData(0,0,t.width,t.height),0,0))}catch(r){I("Unable to copy canvas content from",t,r)}t.removeAttribute(Xt)})}function b(t){return[].slice.call(t.childNodes,0).filter(x).forEach(function(e){"SCRIPT"===e.tagName?t.removeChild(e):b(e)}),t}function x(t){return t.nodeType===Node.ELEMENT_NODE}function k(t){var n=e.createElement("a");return n.href=t,n.href=n.href,n}function A(t){if(this.src=t,I("DummyImageContainer for",t),!this.promise||!this.image){I("Initiating DummyImageContainer"),A.prototype.image=new Image;var e=this.image;A.prototype.promise=new Promise(function(t,n){e.onload=t,e.onerror=n,e.src=d(),e.complete===!0&&t(e)})}}function C(t,n){var r,i,o=e.createElement("div"),a=e.createElement("img"),s=e.createElement("span"),c="Hidden Text";o.style.visibility="hidden",o.style.fontFamily=t,o.style.fontSize=n,o.style.margin=0,o.style.padding=0,e.body.appendChild(o),a.src=d(),a.width=1,a.height=1,a.style.margin=0,a.style.padding=0,a.style.verticalAlign="baseline",s.style.fontFamily=t,s.style.fontSize=n,s.style.margin=0,s.style.padding=0,s.appendChild(e.createTextNode(c)),o.appendChild(s),o.appendChild(a),r=a.offsetTop-s.offsetTop+1,o.removeChild(s),o.appendChild(e.createTextNode(c)),o.style.lineHeight="normal",a.style.verticalAlign="super",i=a.offsetTop-o.offsetTop+1,e.body.removeChild(o),this.baseline=r,this.lineWidth=1,this.middle=i}function _(){this.data={}}function q(t,e,n){this.image=null,this.src=t;var r=this,i=z(t);this.promise=(e?new Promise(function(e){"about:blank"===t.contentWindow.document.URL||null==t.contentWindow.document.documentElement?t.contentWindow.onload=t.onload=function(){e(t)}:e(t)}):this.proxyLoad(n.proxy,i,n)).then(function(t){return html2canvas(t.contentWindow.document.documentElement,{type:"view",width:t.width,height:t.height,proxy:n.proxy,javascriptEnabled:n.javascriptEnabled,removeContainer:n.removeContainer,allowTaint:n.allowTaint,imageTimeout:n.imageTimeout/2})}).then(function(t){return r.image=t})}function S(t){this.src=t.value,this.colorStops=[],this.type=null,this.x0=.5,this.y0=.5,this.x1=.5,this.y1=.5,this.promise=Promise.resolve(!0)}function T(t,e){this.src=t,this.image=new Image;var n=this;this.tainted=null,this.promise=new Promise(function(r,i){n.image.onload=r,n.image.onerror=i,e&&(n.image.crossOrigin="anonymous"),n.image.src=t,n.image.complete===!0&&r(n.image)})}function P(e,n){this.link=null,this.options=e,this.support=n,this.origin=this.getOrigin(t.location.href)}function E(t){S.apply(this,arguments),this.type=this.TYPES.LINEAR;var e=null===t.args[0].match(this.stepRegExp);e?t.args[0].split(" ").reverse().forEach(function(t){switch(t){case"left":this.x0=0,this.x1=1;break;case"top":this.y0=0,this.y1=1;break;case"right":this.x0=1,this.x1=0;break;case"bottom":this.y0=1,this.y1=0;break;case"to":var e=this.y0,n=this.x0;this.y0=this.y1,this.x0=this.x1,this.x1=n,this.y1=e}},this):(this.y0=0,this.y1=1),this.colorStops=t.args.slice(e?1:0).map(function(t){var e=t.match(this.stepRegExp);return{color:e[1],stop:"%"===e[3]?e[2]/100:null}},this),null===this.colorStops[0].stop&&(this.colorStops[0].stop=0),null===this.colorStops[this.colorStops.length-1].stop&&(this.colorStops[this.colorStops.length-1].stop=1),this.colorStops.forEach(function(t,e){null===t.stop&&this.colorStops.slice(e).some(function(n,r){return null!==n.stop?(t.stop=(n.stop-this.colorStops[e-1].stop)/(r+1)+this.colorStops[e-1].stop,!0):!1},this)},this)}function I(){t.html2canvas.logging&&t.console&&t.console.log&&Function.prototype.bind.call(t.console.log,t.console).apply(t.console,[Date.now()-t.html2canvas.start+"ms","html2canvas:"].concat([].slice.call(arguments,0)))}function O(t,e){this.node=t,this.parent=e,this.stack=null,this.bounds=null,this.borders=null,this.clip=[],this.backgroundClip=[],this.offsetBounds=null,this.visible=null,this.computedStyles=null,this.styles={},this.backgroundImages=null,this.transformData=null,this.transformMatrix=null,this.isPseudoElement=!1,this.opacity=null}function F(t){var e=t.options[t.selectedIndex||0];return e?e.text||"":""}function B(t){return t&&"matrix"===t[1]?t[2].split(",").map(function(t){return parseFloat(t.trim())}):void 0}function R(t){return-1!==t.toString().indexOf("%")}function D(t){var e,n,r,i,o,a,s,c=" \r\n ",u=[],l=0,h=0,f=function(){e&&('"'===n.substr(0,1)&&(n=n.substr(1,n.length-2)),n&&s.push(n),"-"===e.substr(0,1)&&(i=e.indexOf("-",1)+1)>0&&(r=e.substr(0,i),e=e.substr(i)),u.push({prefix:r,method:e.toLowerCase(),value:o,args:s,image:null})),s=[],e=r=n=o=""};return s=[],e=r=n=o="",t.split("").forEach(function(t){if(!(0===l&&c.indexOf(t)>-1)){switch(t){case'"':a?a===t&&(a=null):a=t;break;case"(":if(a)break;if(0===l)return l=1,void(o+=t);h++;break;case")":if(a)break;if(1===l){if(0===h)return l=0,o+=t,void f();h--}break;case",":if(a)break;if(0===l)return void f();if(1===l&&0===h&&!e.match(/^url$/i))return s.push(n),n="",void(o+=t)}o+=t,0===l?e+=t:n+=t}}),f(),u}function j(t){return t.replace("px","")}function N(t){return parseFloat(t)}function z(t){if(t.getBoundingClientRect){var e=t.getBoundingClientRect(),n=null==t.offsetWidth?e.width:t.offsetWidth;return{top:e.top,bottom:e.bottom||e.top+e.height,right:e.left+n,left:e.left,width:n,height:null==t.offsetHeight?e.height:t.offsetHeight}}return{}}function L(t){var e=t.offsetParent?L(t.offsetParent):{top:0,left:0};return{top:t.offsetTop+e.top,bottom:t.offsetTop+t.offsetHeight+e.top,right:t.offsetLeft+e.left+t.offsetWidth,left:t.offsetLeft+e.left,width:t.offsetWidth,height:t.offsetHeight}}function M(t,e,n,r,i){I("Starting NodeParser"),this.renderer=e,this.options=i,this.range=null,this.support=n,this.renderQueue=[],this.stack=new Ft(!0,1,t.ownerDocument,null);var o=new O(t,null);if(t===t.ownerDocument.documentElement){var a=new O(this.renderer.isTransparent(o.css("backgroundColor"))?t.ownerDocument.body:t.ownerDocument.documentElement,null);e.rectangle(0,0,e.width,e.height,a.css("backgroundColor"))}o.visibile=o.isElementVisible(),this.createPseudoHideStyles(t.ownerDocument),this.disableAnimations(t.ownerDocument),this.nodes=bt([o].concat(this.getChildren(o)).filter(function(t){return t.visible=t.isElementVisible()}).map(this.getPseudoElements,this)),this.fontMetrics=new _,I("Fetched nodes, total:",this.nodes.length),I("Calculate overflow clips"),this.calculateOverflowClips(),I("Start fetching images"),this.images=r.fetch(this.nodes.filter(ht)),this.ready=this.images.ready.then(gt(function(){return I("Images loaded, starting parsing"),I("Creating stacking contexts"),this.createStackingContexts(),I("Sorting stacking contexts"),this.sortStackingContexts(this.stack),this.parse(this.stack),I("Render queue created with "+this.renderQueue.length+" items"),new Promise(gt(function(t){i.async?"function"==typeof i.async?i.async.call(this,this.renderQueue,t):this.renderQueue.length>0?(this.renderIndex=0,this.asyncRenderer(this.renderQueue,t)):t():(this.renderQueue.forEach(this.paint,this),t())},this))},this))}function U(t){return t.parent&&t.parent.clip.length}function H(t){return t.replace(/(\-[a-z])/g,function(t){return t.toUpperCase().replace("-","")})}function W(){}function X(t,e,n,r){return t.map(function(i,o){if(i.width>0){var a=e.left,s=e.top,c=e.width,u=e.height-t[2].width;switch(o){case 0:u=t[0].width,i.args=J({c1:[a,s],c2:[a+c,s],c3:[a+c-t[1].width,s+u],c4:[a+t[3].width,s+u]},r[0],r[1],n.topLeftOuter,n.topLeftInner,n.topRightOuter,n.topRightInner);break;case 1:a=e.left+e.width-t[1].width,c=t[1].width,i.args=J({c1:[a+c,s],c2:[a+c,s+u+t[2].width],c3:[a,s+u],c4:[a,s+t[0].width]},r[1],r[2],n.topRightOuter,n.topRightInner,n.bottomRightOuter,n.bottomRightInner);break;case 2:s=s+e.height-t[2].width,u=t[2].width,i.args=J({c1:[a+c,s+u],c2:[a,s+u],c3:[a+t[3].width,s],c4:[a+c-t[3].width,s]},r[2],r[3],n.bottomRightOuter,n.bottomRightInner,n.bottomLeftOuter,n.bottomLeftInner);break;case 3:c=t[3].width,i.args=J({c1:[a,s+u+t[2].width],c2:[a,s],c3:[a+c,s+t[0].width],c4:[a+c,s+u]},r[3],r[0],n.bottomLeftOuter,n.bottomLeftInner,n.topLeftOuter,n.topLeftInner)}}return i})}function V(t,e,n,r){var i=4*((Math.sqrt(2)-1)/3),o=n*i,a=r*i,s=t+n,c=e+r;return{topLeft:G({x:t,y:c},{x:t,y:c-a},{x:s-o,y:e},{x:s,y:e}),topRight:G({x:t,y:e},{x:t+o,y:e},{x:s,y:c-a},{x:s,y:c}),bottomRight:G({x:s,y:e},{x:s,y:e+a},{x:t+o,y:c},{x:t,y:c}),bottomLeft:G({x:s,y:c},{x:s-o,y:c},{x:t,y:e+a},{x:t,y:e})}}function Y(t,e,n){var r=t.left,i=t.top,o=t.width,a=t.height,s=e[0][0],c=e[0][1],u=e[1][0],l=e[1][1],h=e[2][0],f=e[2][1],d=e[3][0],p=e[3][1],m=o-u,g=a-f,w=o-h,y=a-p;return{topLeftOuter:V(r,i,s,c).topLeft.subdivide(.5),topLeftInner:V(r+n[3].width,i+n[0].width,Math.max(0,s-n[3].width),Math.max(0,c-n[0].width)).topLeft.subdivide(.5),topRightOuter:V(r+m,i,u,l).topRight.subdivide(.5),topRightInner:V(r+Math.min(m,o+n[3].width),i+n[0].width,m>o+n[3].width?0:u-n[3].width,l-n[0].width).topRight.subdivide(.5),bottomRightOuter:V(r+w,i+g,h,f).bottomRight.subdivide(.5),bottomRightInner:V(r+Math.min(w,o-n[3].width),i+Math.min(g,a+n[0].width),Math.max(0,h-n[1].width),f-n[2].width).bottomRight.subdivide(.5),bottomLeftOuter:V(r,i+y,d,p).bottomLeft.subdivide(.5),bottomLeftInner:V(r+n[3].width,i+y,Math.max(0,d-n[3].width),p-n[2].width).bottomLeft.subdivide(.5)}}function G(t,e,n,r){var i=function(t,e,n){return{x:t.x+(e.x-t.x)*n,y:t.y+(e.y-t.y)*n}};return{start:t,startControl:e,endControl:n,end:r,subdivide:function(o){var a=i(t,e,o),s=i(e,n,o),c=i(n,r,o),u=i(a,s,o),l=i(s,c,o),h=i(u,l,o);return[G(t,a,u,h),G(h,l,c,r)]},curveTo:function(t){t.push(["bezierCurve",e.x,e.y,n.x,n.y,r.x,r.y])},curveToReversed:function(r){r.push(["bezierCurve",n.x,n.y,e.x,e.y,t.x,t.y])}}}function J(t,e,n,r,i,o,a){var s=[];return e[0]>0||e[1]>0?(s.push(["line",r[1].start.x,r[1].start.y]),r[1].curveTo(s)):s.push(["line",t.c1[0],t.c1[1]]),n[0]>0||n[1]>0?(s.push(["line",o[0].start.x,o[0].start.y]),o[0].curveTo(s),s.push(["line",a[0].end.x,a[0].end.y]),a[0].curveToReversed(s)):(s.push(["line",t.c2[0],t.c2[1]]),s.push(["line",t.c3[0],t.c3[1]])),e[0]>0||e[1]>0?(s.push(["line",i[1].end.x,i[1].end.y]),i[1].curveToReversed(s)):s.push(["line",t.c4[0],t.c4[1]]),s}function Q(t,e,n,r,i,o,a){e[0]>0||e[1]>0?(t.push(["line",r[0].start.x,r[0].start.y]),r[0].curveTo(t),r[1].curveTo(t)):t.push(["line",o,a]),(n[0]>0||n[1]>0)&&t.push(["line",i[0].start.x,i[0].start.y])}function K(t){return t.cssInt("zIndex")<0}function Z(t){return t.cssInt("zIndex")>0}function $(t){return 0===t.cssInt("zIndex")}function tt(t){return-1!==["inline","inline-block","inline-table"].indexOf(t.css("display"))}function et(t){return t instanceof Ft}function nt(t){return t.node.data.trim().length>0}function rt(t){return/^(normal|none|0px)$/.test(t.parent.css("letterSpacing"))}function it(t){return["TopLeft","TopRight","BottomRight","BottomLeft"].map(function(e){var n=t.css("border"+e+"Radius"),r=n.split(" ");return r.length<=1&&(r[1]=r[0]),r.map(wt)})}function ot(t){return t.nodeType===Node.TEXT_NODE||t.nodeType===Node.ELEMENT_NODE}function at(t){var e=t.css("position"),n=-1!==["absolute","relative","fixed"].indexOf(e)?t.css("zIndex"):"auto";return"auto"!==n}function st(t){return"static"!==t.css("position")}function ct(t){return"none"!==t.css("float")}function ut(t){return-1!==["inline-block","inline-table"].indexOf(t.css("display"))}function lt(t){var e=this;return function(){return!t.apply(e,arguments)}}function ht(t){return t.node.nodeType===Node.ELEMENT_NODE}function ft(t){return t.isPseudoElement===!0}function dt(t){return t.node.nodeType===Node.TEXT_NODE}function pt(t){return function(e,n){return e.cssInt("zIndex")+t.indexOf(e)/t.length-(n.cssInt("zIndex")+t.indexOf(n)/t.length)}}function mt(t){return t.getOpacity()<1}function gt(t,e){return function(){return t.apply(e,arguments)}}function wt(t){return parseInt(t,10)}function yt(t){return t.width}function vt(t){return t.node.nodeType!==Node.ELEMENT_NODE||-1===["SCRIPT","HEAD","TITLE","OBJECT","BR","OPTION"].indexOf(t.node.nodeName)}function bt(t){return[].concat.apply([],t)}function xt(t){var e=t.substr(0,1);return e===t.substr(t.length-1)&&e.match(/'|"/)?t.substr(1,t.length-2):t}function kt(e){for(var n,r=[],i=0,o=!1;e.length;)At(e[i])===o?(n=e.splice(0,i),n.length&&r.push(t.html2canvas.punycode.ucs2.encode(n)),o=!o,i=0):i++,i>=e.length&&(n=e.splice(0,i),n.length&&r.push(t.html2canvas.punycode.ucs2.encode(n)));return r}function At(t){return-1!==[32,13,10,9,45].indexOf(t)}function Ct(t){return/[^\u0000-\u00ff]/.test(t)}function _t(t,e,n){var r=Tt(Gt),i=Pt(e,t,r);return Gt?Mt(i):St(n,i,r).then(function(t){return Dt(t.content)})}function qt(t,e,n){var r=Tt(Jt),i=Pt(e,t,r);return Jt?Promise.resolve(i):St(n,i,r).then(function(t){return"data:"+t.type+";base64,"+t.content})}function St(e,n,r){return new Promise(function(i,o){var a=e.createElement("script"),s=function(){delete t.html2canvas.proxy[r],e.body.removeChild(a)};t.html2canvas.proxy[r]=function(t){s(),i(t)},a.src=n,a.onerror=function(t){s(),o(t)},e.body.appendChild(a)})}function Tt(t){return t?"":"html2canvas_"+Date.now()+"_"+ ++Yt+"_"+Math.round(1e5*Math.random())}function Pt(t,e,n){return t+"?url="+encodeURIComponent(e)+(n.length?"&callback=html2canvas.proxy."+n:"")}function Et(t,n){var r=(e.createElement("script"),e.createElement("a"));r.href=t,t=r.href,this.src=t,this.image=new Image;var i=this;this.promise=new Promise(function(r,o){i.image.crossOrigin="Anonymous",i.image.onload=r,i.image.onerror=o,new qt(t,n,e).then(function(t){i.image.src=t})["catch"](o)})}function It(t,e,n){O.call(this,t,e),this.isPseudoElement=!0,this.before=":before"===n}function Ot(t,e,n,r,i){this.width=t,this.height=e,this.images=n,this.options=r,this.document=i}function Ft(t,e,n,r){O.call(this,n,r),this.ownStacking=t,this.contexts=[],this.children=[],this.opacity=(this.parent?this.parent.stack.opacity:1)*e}function Bt(t){this.rangeBounds=this.testRangeBounds(t),this.cors=this.testCORS(),this.svg=this.testSVG()}function Rt(t){this.src=t,this.image=null;var e=this;this.promise=this.hasFabric().then(function(){return e.isInline(t)?Promise.resolve(e.inlineFormatting(t)):Mt(t)}).then(function(t){return new Promise(function(n){html2canvas.fabric.loadSVGFromString(t,e.createCanvas.call(e,n))})})}/*
130
- * base64-arraybuffer
131
- * https://github.com/niklasvh/base64-arraybuffer
132
- *
133
- * Copyright (c) 2012 Niklas von Hertzen
134
- * Licensed under the MIT license.
135
- */
136
- function Dt(t){var e,n,r,i,o,a,s,c,u="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",l=t.length,h="";for(e=0;l>e;e+=4)n=u.indexOf(t[e]),r=u.indexOf(t[e+1]),i=u.indexOf(t[e+2]),o=u.indexOf(t[e+3]),a=n<<2|r>>4,s=(15&r)<<4|i>>2,c=(3&i)<<6|o,h+=64===i?String.fromCharCode(a):64===o||-1===o?String.fromCharCode(a,s):String.fromCharCode(a,s,c);return h}function jt(t,e){this.src=t,this.image=null;var n=this;this.promise=e?new Promise(function(e,r){n.image=new Image,n.image.onload=e,n.image.onerror=r,n.image.src="data:image/svg+xml,"+(new XMLSerializer).serializeToString(t),n.image.complete===!0&&e(n.image)}):this.hasFabric().then(function(){return new Promise(function(e){html2canvas.fabric.parseSVGDocument(t,n.createCanvas.call(n,e))})})}function Nt(t,e){O.call(this,t,e)}function zt(t,e,n){return t.length>0?e+n.toUpperCase():void 0}function Lt(t){S.apply(this,arguments),this.type="linear"===t.args[0]?this.TYPES.LINEAR:this.TYPES.RADIAL}function Mt(t){return new Promise(function(e,n){var r=new XMLHttpRequest;r.open("GET",t),r.onload=function(){200===r.status?e(r.responseText):n(new Error(r.statusText))},r.onerror=function(){n(new Error("Network Error"))},r.send()})}function Ut(t,e){Ot.apply(this,arguments),this.canvas=this.options.canvas||this.document.createElement("canvas"),this.options.canvas||(this.canvas.width=t,this.canvas.height=e),this.ctx=this.canvas.getContext("2d"),this.options.background&&this.rectangle(0,0,t,e,this.options.background),this.taintCtx=this.document.createElement("canvas").getContext("2d"),this.ctx.textBaseline="bottom",this.variables={},I("Initialized CanvasRenderer with size",t,"x",e)}function Ht(t){return t.length>0}if(/*
137
- Copyright (c) 2013 Yehuda Katz, Tom Dale, and contributors
138
-
139
-
140
- */
141
- !function(){var n,r,o,a;!function(){var t={},e={};n=function(e,n,r){t[e]={deps:n,callback:r}},a=o=r=function(n){function i(t){if("."!==t.charAt(0))return t;for(var e=t.split("/"),r=n.split("/").slice(0,-1),i=0,o=e.length;o>i;i++){var a=e[i];if(".."===a)r.pop();else{if("."===a)continue;r.push(a)}}return r.join("/")}if(a._eak_seen=t,e[n])return e[n];if(e[n]={},!t[n])throw new Error("Could not find module "+n);for(var o,s=t[n],c=s.deps,u=s.callback,l=[],h=0,f=c.length;f>h;h++)"exports"===c[h]?l.push(o={}):l.push(r(i(c[h])));var d=u.apply(this,l);return e[n]=o||d}}(),n("promise/all",["./utils","exports"],function(t,e){function n(t){var e=this;if(!r(t))throw new TypeError("You must pass an array to all.");return new e(function(e,n){function r(t){return function(e){o(t,e)}}function o(t,n){s[t]=n,0===--c&&e(s)}var a,s=[],c=t.length;0===c&&e([]);for(var u=0;u<t.length;u++)a=t[u],a&&i(a.then)?a.then(r(u),n):o(u,a)})}var r=t.isArray,i=t.isFunction;e.all=n}),n("promise/asap",["exports"],function(n){function r(){return function(){process.nextTick(s)}}function o(){var t=0,n=new h(s),r=e.createTextNode("");return n.observe(r,{characterData:!0}),function(){r.data=t=++t%2}}function a(){return function(){f.setTimeout(s,1)}}function s(){for(var t=0;t<d.length;t++){var e=d[t],n=e[0],r=e[1];n(r)}d=[]}function c(t,e){var n=d.push([t,e]);1===n&&u()}var u,l="undefined"!=typeof t?t:{},h=l.MutationObserver||l.WebKitMutationObserver,f="undefined"!=typeof i?i:this,d=[];u="undefined"!=typeof process&&"[object process]"==={}.toString.call(process)?r():h?o():a(),n.asap=c}),n("promise/cast",["exports"],function(t){function e(t){if(t&&"object"==typeof t&&t.constructor===this)return t;var e=this;return new e(function(e){e(t)})}t.cast=e}),n("promise/config",["exports"],function(t){function e(t,e){return 2!==arguments.length?n[t]:void(n[t]=e)}var n={instrument:!1};t.config=n,t.configure=e}),n("promise/polyfill",["./promise","./utils","exports"],function(e,n,r){function i(){var e="Promise"in t&&"cast"in t.Promise&&"resolve"in t.Promise&&"reject"in t.Promise&&"all"in t.Promise&&"race"in t.Promise&&function(){var e;return new t.Promise(function(t){e=t}),a(e)}();e||(t.Promise=o)}var o=e.Promise,a=n.isFunction;r.polyfill=i}),n("promise/promise",["./config","./utils","./cast","./all","./race","./resolve","./reject","./asap","exports"],function(t,e,n,r,i,o,a,s,c){function u(t){if(!k(t))throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(!(this instanceof u))throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");this._subscribers=[],l(t,this)}function l(t,e){function n(t){m(e,t)}function r(t){w(e,t)}try{t(n,r)}catch(i){r(i)}}function h(t,e,n,r){var i,o,a,s,c=k(n);if(c)try{i=n(r),a=!0}catch(u){s=!0,o=u}else i=r,a=!0;p(e,i)||(c&&a?m(e,i):s?w(e,o):t===I?m(e,i):t===O&&w(e,i))}function f(t,e,n,r){var i=t._subscribers,o=i.length;i[o]=e,i[o+I]=n,i[o+O]=r}function d(t,e){for(var n,r,i=t._subscribers,o=t._detail,a=0;a<i.length;a+=3)n=i[a],r=i[a+e],h(e,n,r,o);t._subscribers=null}function p(t,e){var n,r=null;try{if(t===e)throw new TypeError("A promises callback cannot return that same promise.");if(x(e)&&(r=e.then,k(r)))return r.call(e,function(r){return n?!0:(n=!0,void(e!==r?m(t,r):g(t,r)))},function(e){return n?!0:(n=!0,void w(t,e))}),!0}catch(i){return n?!0:(w(t,i),!0)}return!1}function m(t,e){t===e?g(t,e):p(t,e)||g(t,e)}function g(t,e){t._state===P&&(t._state=E,t._detail=e,b.async(y,t))}function w(t,e){t._state===P&&(t._state=E,t._detail=e,b.async(v,t))}function y(t){d(t,t._state=I)}function v(t){d(t,t._state=O)}var b=t.config,x=(t.configure,e.objectOrFunction),k=e.isFunction,A=(e.now,n.cast),C=r.all,_=i.race,q=o.resolve,S=a.reject,T=s.asap;b.async=T;var P=void 0,E=0,I=1,O=2;u.prototype={constructor:u,_state:void 0,_detail:void 0,_subscribers:void 0,then:function(t,e){var n=this,r=new this.constructor(function(){});if(this._state){var i=arguments;b.async(function(){h(n._state,r,i[n._state-1],n._detail)})}else f(this,r,t,e);return r},"catch":function(t){return this.then(null,t)}},u.all=C,u.cast=A,u.race=_,u.resolve=q,u.reject=S,c.Promise=u}),n("promise/race",["./utils","exports"],function(t,e){function n(t){var e=this;if(!r(t))throw new TypeError("You must pass an array to race.");return new e(function(e,n){for(var r,i=0;i<t.length;i++)r=t[i],r&&"function"==typeof r.then?r.then(e,n):e(r)})}var r=t.isArray;e.race=n}),n("promise/reject",["exports"],function(t){function e(t){var e=this;return new e(function(e,n){n(t)})}t.reject=e}),n("promise/resolve",["exports"],function(t){function e(t){var e=this;return new e(function(e){e(t)})}t.resolve=e}),n("promise/utils",["exports"],function(t){function e(t){return n(t)||"object"==typeof t&&null!==t}function n(t){return"function"==typeof t}function r(t){return"[object Array]"===Object.prototype.toString.call(t)}var i=Date.now||function(){return(new Date).getTime()};t.objectOrFunction=e,t.isFunction=n,t.isArray=r,t.now=i}),r("promise/polyfill").polyfill()}(),"function"!=typeof Object.create||"function"!=typeof e.createElement("canvas").getContext)return void(t.html2canvas=function(){return Promise.reject("No canvas support")});!function(t){function e(t){throw RangeError(B[t])}function a(t,e){for(var n=t.length,r=[];n--;)r[n]=e(t[n]);return r}function s(t,e){var n=t.split("@"),r="";n.length>1&&(r=n[0]+"@",t=n[1]);var i=t.split(F),o=a(i,e).join(".");return r+o}function c(t){for(var e,n,r=[],i=0,o=t.length;o>i;)e=t.charCodeAt(i++),e>=55296&&56319>=e&&o>i?(n=t.charCodeAt(i++),56320==(64512&n)?r.push(((1023&e)<<10)+(1023&n)+65536):(r.push(e),i--)):r.push(e);return r}function u(t){return a(t,function(t){var e="";return t>65535&&(t-=65536,e+=j(t>>>10&1023|55296),t=56320|1023&t),e+=j(t)}).join("")}function l(t){return 10>t-48?t-22:26>t-65?t-65:26>t-97?t-97:A}function h(t,e){return t+22+75*(26>t)-((0!=e)<<5)}function f(t,e,n){var r=0;for(t=n?D(t/S):t>>1,t+=D(t/e);t>R*_>>1;r+=A)t=D(t/R);return D(r+(R+1)*t/(t+q))}function d(t){var n,r,i,o,a,s,c,h,d,p,m=[],g=t.length,w=0,y=P,v=T;for(r=t.lastIndexOf(E),0>r&&(r=0),i=0;r>i;++i)t.charCodeAt(i)>=128&&e("not-basic"),m.push(t.charCodeAt(i));for(o=r>0?r+1:0;g>o;){for(a=w,s=1,c=A;o>=g&&e("invalid-input"),h=l(t.charCodeAt(o++)),(h>=A||h>D((k-w)/s))&&e("overflow"),w+=h*s,d=v>=c?C:c>=v+_?_:c-v,!(d>h);c+=A)p=A-d,s>D(k/p)&&e("overflow"),s*=p;n=m.length+1,v=f(w-a,n,0==a),D(w/n)>k-y&&e("overflow"),y+=D(w/n),w%=n,m.splice(w++,0,y)}return u(m)}function p(t){var n,r,i,o,a,s,u,l,d,p,m,g,w,y,v,b=[];for(t=c(t),g=t.length,n=P,r=0,a=T,s=0;g>s;++s)m=t[s],128>m&&b.push(j(m));for(i=o=b.length,o&&b.push(E);g>i;){for(u=k,s=0;g>s;++s)m=t[s],m>=n&&u>m&&(u=m);for(w=i+1,u-n>D((k-r)/w)&&e("overflow"),r+=(u-n)*w,n=u,s=0;g>s;++s)if(m=t[s],n>m&&++r>k&&e("overflow"),m==n){for(l=r,d=A;p=a>=d?C:d>=a+_?_:d-a,!(p>l);d+=A)v=l-p,y=A-p,b.push(j(h(p+v%y,0))),l=D(v/y);b.push(j(h(l,0))),a=f(r,w,i==o),r=0,++i}++r,++n}return b.join("")}function m(t){return s(t,function(t){return I.test(t)?d(t.slice(4).toLowerCase()):t})}function g(t){return s(t,function(t){return O.test(t)?"xn--"+p(t):t})}var w="object"==typeof r&&r&&!r.nodeType&&r,y="object"==typeof n&&n&&!n.nodeType&&n,v="object"==typeof i&&i;v.global!==v&&v.window!==v&&v.self!==v||(t=v);var b,x,k=2147483647,A=36,C=1,_=26,q=38,S=700,T=72,P=128,E="-",I=/^xn--/,O=/[^\x20-\x7E]/,F=/[\x2E\u3002\uFF0E\uFF61]/g,B={overflow:"Overflow: input needs wider integers to process","not-basic":"Illegal input >= 0x80 (not a basic code point)","invalid-input":"Invalid input"},R=A-C,D=Math.floor,j=String.fromCharCode;if(b={version:"1.3.1",ucs2:{decode:c,encode:u},decode:d,encode:p,toASCII:g,toUnicode:m},"function"==typeof o&&"object"==typeof o.amd&&o.amd)o("punycode",function(){return b});else if(w&&y)if(n.exports==w)y.exports=b;else for(x in b)b.hasOwnProperty(x)&&(w[x]=b[x]);else t.punycode=b}(this);var Wt="data-html2canvas-node",Xt="data-html2canvas-canvas-clone",Vt=0;t.html2canvas=function(n,r){if(r=r||{},r.logging&&(t.html2canvas.logging=!0,t.html2canvas.start=Date.now()),r.async="undefined"==typeof r.async?!0:r.async,r.allowTaint="undefined"==typeof r.allowTaint?!1:r.allowTaint,r.removeContainer="undefined"==typeof r.removeContainer?!0:r.removeContainer,r.javascriptEnabled="undefined"==typeof r.javascriptEnabled?!1:r.javascriptEnabled,r.imageTimeout="undefined"==typeof r.imageTimeout?1e4:r.imageTimeout,"string"==typeof n)return"string"!=typeof r.proxy?Promise.reject("Proxy must be used when rendering url"):g(k(n),r.proxy,e,t.innerWidth,t.innerHeight,r).then(function(e){return c(e.contentWindow.document.documentElement,e,r,t.innerWidth,t.innerHeight)});var i=(n===a?[e.documentElement]:n.length?n:[n])[0];return i.setAttribute(Wt,"true"),s(i.ownerDocument,r,i.ownerDocument.defaultView.innerWidth,i.ownerDocument.defaultView.innerHeight).then(function(t){return"function"==typeof r.onrendered&&(I("options.onrendered is deprecated, html2canvas returns a Promise containing the canvas"),r.onrendered(t)),t})},t.html2canvas.punycode=this.punycode,t.html2canvas.proxy={},_.prototype.getMetrics=function(t,e){return this.data[t+"-"+e]===a&&(this.data[t+"-"+e]=new C(t,e)),this.data[t+"-"+e]},q.prototype.proxyLoad=function(t,e,n){var r=this.src;return g(r.src,t,r.ownerDocument,e.width,e.height,n)},S.prototype.TYPES={LINEAR:1,RADIAL:2},P.prototype.findImages=function(t){var e=[];return t.reduce(function(t,e){switch(e.node.nodeName){case"IMG":return t.concat([{args:[e.node.src],method:"url"}]);case"svg":case"IFRAME":return t.concat([{args:[e.node],method:e.node.nodeName}])}return t},[]).forEach(this.addImage(e,this.loadImage),this),e},P.prototype.findBackgroundImage=function(t,e){return e.parseBackgroundImages().filter(this.hasImageBackground).forEach(this.addImage(t,this.loadImage),this),t},P.prototype.addImage=function(t,e){return function(n){n.args.forEach(function(r){this.imageExists(t,r)||(t.splice(0,0,e.call(this,n)),I("Added image #"+t.length,"string"==typeof r?r.substring(0,100):r))},this)}},P.prototype.hasImageBackground=function(t){return"none"!==t.method},P.prototype.loadImage=function(t){if("url"===t.method){var e=t.args[0];return!this.isSVG(e)||this.support.svg||this.options.allowTaint?e.match(/data:image\/.*;base64,/i)?new T(e.replace(/url\(['"]{0,}|['"]{0,}\)$/gi,""),!1):this.isSameOrigin(e)||this.options.allowTaint===!0||this.isSVG(e)?new T(e,!1):this.support.cors&&!this.options.allowTaint&&this.options.useCORS?new T(e,!0):this.options.proxy?new Et(e,this.options.proxy):new A(e):new Rt(e)}return"linear-gradient"===t.method?new E(t):"gradient"===t.method?new Lt(t):"svg"===t.method?new jt(t.args[0],this.support.svg):"IFRAME"===t.method?new q(t.args[0],this.isSameOrigin(t.args[0].src),this.options):new A(t)},P.prototype.isSVG=function(t){return"svg"===t.substring(t.length-3).toLowerCase()||Rt.prototype.isInline(t)},P.prototype.imageExists=function(t,e){return t.some(function(t){return t.src===e})},P.prototype.isSameOrigin=function(t){return this.getOrigin(t)===this.origin},P.prototype.getOrigin=function(t){var n=this.link||(this.link=e.createElement("a"));return n.href=t,n.href=n.href,n.protocol+n.hostname+n.port},P.prototype.getPromise=function(t){return this.timeout(t,this.options.imageTimeout)["catch"](function(){var e=new A(t.src);return e.promise.then(function(e){t.image=e})})},P.prototype.get=function(t){var e=null;return this.images.some(function(n){return(e=n).src===t})?e:null},P.prototype.fetch=function(t){return this.images=t.reduce(gt(this.findBackgroundImage,this),this.findImages(t)),this.images.forEach(function(t,e){t.promise.then(function(){I("Succesfully loaded image #"+(e+1),t)},function(n){I("Failed loading image #"+(e+1),t,n)})}),this.ready=Promise.all(this.images.map(this.getPromise,this)),I("Finished searching images"),this},P.prototype.timeout=function(t,e){var n;return Promise.race([t.promise,new Promise(function(r,i){n=setTimeout(function(){I("Timed out loading image",t),i(t)},e)})]).then(function(t){return clearTimeout(n),t})},E.prototype=Object.create(S.prototype),E.prototype.stepRegExp=/((?:rgb|rgba)\(\d{1,3},\s\d{1,3},\s\d{1,3}(?:,\s[0-9\.]+)?\))\s*(\d{1,3})?(%|px)?/,O.prototype.cloneTo=function(t){t.visible=this.visible,t.borders=this.borders,t.bounds=this.bounds,t.clip=this.clip,t.backgroundClip=this.backgroundClip,t.computedStyles=this.computedStyles,t.styles=this.styles,t.backgroundImages=this.backgroundImages,t.opacity=this.opacity},O.prototype.getOpacity=function(){return null===this.opacity?this.opacity=this.cssFloat("opacity"):this.opacity},O.prototype.assignStack=function(t){this.stack=t,t.children.push(this)},O.prototype.isElementVisible=function(){return this.node.nodeType===Node.TEXT_NODE?this.parent.visible:"none"!==this.css("display")&&"hidden"!==this.css("visibility")&&!this.node.hasAttribute("data-html2canvas-ignore")&&("INPUT"!==this.node.nodeName||"hidden"!==this.node.getAttribute("type"))},O.prototype.css=function(t){return this.computedStyles||(this.computedStyles=this.isPseudoElement?this.parent.computedStyle(this.before?":before":":after"):this.computedStyle(null)),this.styles[t]||(this.styles[t]=this.computedStyles[t])},O.prototype.prefixedCss=function(t){var e=["webkit","moz","ms","o"],n=this.css(t);return n===a&&e.some(function(e){return n=this.css(e+t.substr(0,1).toUpperCase()+t.substr(1)),n!==a},this),n===a?null:n},O.prototype.computedStyle=function(t){return this.node.ownerDocument.defaultView.getComputedStyle(this.node,t)},O.prototype.cssInt=function(t){var e=parseInt(this.css(t),10);return isNaN(e)?0:e},O.prototype.cssFloat=function(t){var e=parseFloat(this.css(t));return isNaN(e)?0:e},O.prototype.fontWeight=function(){var t=this.css("fontWeight");switch(parseInt(t,10)){case 401:t="bold";break;case 400:t="normal"}return t},O.prototype.parseClip=function(){var t=this.css("clip").match(this.CLIP);return t?{top:parseInt(t[1],10),right:parseInt(t[2],10),bottom:parseInt(t[3],10),left:parseInt(t[4],10)}:null},O.prototype.parseBackgroundImages=function(){return this.backgroundImages||(this.backgroundImages=D(this.css("backgroundImage")))},O.prototype.cssList=function(t,e){var n=(this.css(t)||"").split(",");return n=n[e||0]||n[0]||"auto",n=n.trim().split(" "),1===n.length&&(n=[n[0],n[0]]),n},O.prototype.parseBackgroundSize=function(t,e,n){var r,i,o=this.cssList("backgroundSize",n);if(R(o[0]))r=t.width*parseFloat(o[0])/100;else{if(/contain|cover/.test(o[0])){var a=t.width/t.height,s=e.width/e.height;return s>a^"contain"===o[0]?{width:t.height*s,height:t.height}:{width:t.width,height:t.width/s}}r=parseInt(o[0],10)}return i="auto"===o[0]&&"auto"===o[1]?e.height:"auto"===o[1]?r/e.width*e.height:R(o[1])?t.height*parseFloat(o[1])/100:parseInt(o[1],10),"auto"===o[0]&&(r=i/e.height*e.width),{width:r,height:i}},O.prototype.parseBackgroundPosition=function(t,e,n,r){var i,o,a=this.cssList("backgroundPosition",n);return i=R(a[0])?(t.width-(r||e).width)*(parseFloat(a[0])/100):parseInt(a[0],10),o="auto"===a[1]?i/e.width*e.height:R(a[1])?(t.height-(r||e).height)*parseFloat(a[1])/100:parseInt(a[1],10),"auto"===a[0]&&(i=o/e.height*e.width),{left:i,top:o}},O.prototype.parseBackgroundRepeat=function(t){return this.cssList("backgroundRepeat",t)[0]},O.prototype.parseTextShadows=function(){var t=this.css("textShadow"),e=[];if(t&&"none"!==t)for(var n=t.match(this.TEXT_SHADOW_PROPERTY),r=0;n&&r<n.length;r++){var i=n[r].match(this.TEXT_SHADOW_VALUES);e.push({color:i[0],offsetX:i[1]?parseFloat(i[1].replace("px","")):0,offsetY:i[2]?parseFloat(i[2].replace("px","")):0,blur:i[3]?i[3].replace("px",""):0})}return e},O.prototype.parseTransform=function(){if(!this.transformData)if(this.hasTransform()){var t=this.parseBounds(),e=this.prefixedCss("transformOrigin").split(" ").map(j).map(N);e[0]+=t.left,e[1]+=t.top,this.transformData={origin:e,matrix:this.parseTransformMatrix()}}else this.transformData={origin:[0,0],matrix:[1,0,0,1,0,0]};return this.transformData},O.prototype.parseTransformMatrix=function(){if(!this.transformMatrix){var t=this.prefixedCss("transform"),e=t?B(t.match(this.MATRIX_PROPERTY)):null;this.transformMatrix=e?e:[1,0,0,1,0,0]}return this.transformMatrix},O.prototype.parseBounds=function(){return this.bounds||(this.bounds=this.hasTransform()?L(this.node):z(this.node))},O.prototype.hasTransform=function(){return"1,0,0,1,0,0"!==this.parseTransformMatrix().join(",")||this.parent&&this.parent.hasTransform()},O.prototype.getValue=function(){var t=this.node.value||"";return t="SELECT"===this.node.tagName?F(this.node):t,0===t.length?this.node.placeholder||"":t},O.prototype.MATRIX_PROPERTY=/(matrix)\((.+)\)/,O.prototype.TEXT_SHADOW_PROPERTY=/((rgba|rgb)\([^\)]+\)(\s-?\d+px){0,})/g,O.prototype.TEXT_SHADOW_VALUES=/(-?\d+px)|(#.+)|(rgb\(.+\))|(rgba\(.+\))/g,O.prototype.CLIP=/^rect\((\d+)px,? (\d+)px,? (\d+)px,? (\d+)px\)$/,M.prototype.calculateOverflowClips=function(){this.nodes.forEach(function(t){if(ht(t)){ft(t)&&t.appendToDOM(),t.borders=this.parseBorders(t);var e="hidden"===t.css("overflow")?[t.borders.clip]:[],n=t.parseClip();n&&-1!==["absolute","fixed"].indexOf(t.css("position"))&&e.push([["rect",t.bounds.left+n.left,t.bounds.top+n.top,n.right-n.left,n.bottom-n.top]]),t.clip=U(t)?t.parent.clip.concat(e):e,t.backgroundClip="hidden"!==t.css("overflow")?t.clip.concat([t.borders.clip]):t.clip,ft(t)&&t.cleanDOM()}else dt(t)&&(t.clip=U(t)?t.parent.clip:[]);ft(t)||(t.bounds=null)},this)},M.prototype.asyncRenderer=function(t,e,n){n=n||Date.now(),this.paint(t[this.renderIndex++]),t.length===this.renderIndex?e():n+20>Date.now()?this.asyncRenderer(t,e,n):setTimeout(gt(function(){this.asyncRenderer(t,e)},this),0)},M.prototype.createPseudoHideStyles=function(t){this.createStyles(t,"."+It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+':before { content: "" !important; display: none !important; }.'+It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER+':after { content: "" !important; display: none !important; }')},M.prototype.disableAnimations=function(t){this.createStyles(t,"* { -webkit-animation: none !important; -moz-animation: none !important; -o-animation: none !important; animation: none !important; -webkit-transition: none !important; -moz-transition: none !important; -o-transition: none !important; transition: none !important;}")},M.prototype.createStyles=function(t,e){var n=t.createElement("style");n.innerHTML=e,t.body.appendChild(n)},M.prototype.getPseudoElements=function(t){var e=[[t]];if(t.node.nodeType===Node.ELEMENT_NODE){var n=this.getPseudoElement(t,":before"),r=this.getPseudoElement(t,":after");n&&e.push(n),r&&e.push(r)}return bt(e)},M.prototype.getPseudoElement=function(t,n){var r=t.computedStyle(n);if(!r||!r.content||"none"===r.content||"-moz-alt-content"===r.content||"none"===r.display)return null;for(var i=xt(r.content),o="url"===i.substr(0,3),a=e.createElement(o?"img":"html2canvaspseudoelement"),s=new It(a,t,n),c=r.length-1;c>=0;c--){var u=H(r.item(c));a.style[u]=r[u]}if(a.className=It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE+" "+It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER,o)return a.src=D(i)[0].args[0],[s];var l=e.createTextNode(i);return a.appendChild(l),[s,new Nt(l,s)]},M.prototype.getChildren=function(t){return bt([].filter.call(t.node.childNodes,ot).map(function(e){var n=[e.nodeType===Node.TEXT_NODE?new Nt(e,t):new O(e,t)].filter(vt);return e.nodeType===Node.ELEMENT_NODE&&n.length&&"TEXTAREA"!==e.tagName?n[0].isElementVisible()?n.concat(this.getChildren(n[0])):[]:n},this))},M.prototype.newStackingContext=function(t,e){var n=new Ft(e,t.getOpacity(),t.node,t.parent);t.cloneTo(n);var r=e?n.getParentStack(this):n.parent.stack;r.contexts.push(n),t.stack=n},M.prototype.createStackingContexts=function(){this.nodes.forEach(function(t){ht(t)&&(this.isRootElement(t)||mt(t)||at(t)||this.isBodyWithTransparentRoot(t)||t.hasTransform())?this.newStackingContext(t,!0):ht(t)&&(st(t)&&$(t)||ut(t)||ct(t))?this.newStackingContext(t,!1):t.assignStack(t.parent.stack)},this)},M.prototype.isBodyWithTransparentRoot=function(t){return"BODY"===t.node.nodeName&&this.renderer.isTransparent(t.parent.css("backgroundColor"))},M.prototype.isRootElement=function(t){return null===t.parent},M.prototype.sortStackingContexts=function(t){t.contexts.sort(pt(t.contexts.slice(0))),t.contexts.forEach(this.sortStackingContexts,this)},M.prototype.parseTextBounds=function(t){return function(e,n,r){if("none"!==t.parent.css("textDecoration").substr(0,4)||0!==e.trim().length){if(this.support.rangeBounds&&!t.parent.hasTransform()){var i=r.slice(0,n).join("").length;return this.getRangeBounds(t.node,i,e.length)}if(t.node&&"string"==typeof t.node.data){var o=t.node.splitText(e.length),a=this.getWrapperBounds(t.node,t.parent.hasTransform());return t.node=o,a}}else this.support.rangeBounds&&!t.parent.hasTransform()||(t.node=t.node.splitText(e.length));return{}}},M.prototype.getWrapperBounds=function(t,e){var n=t.ownerDocument.createElement("html2canvaswrapper"),r=t.parentNode,i=t.cloneNode(!0);n.appendChild(t.cloneNode(!0)),r.replaceChild(n,t);var o=e?L(n):z(n);return r.replaceChild(i,n),o},M.prototype.getRangeBounds=function(t,e,n){var r=this.range||(this.range=t.ownerDocument.createRange());return r.setStart(t,e),r.setEnd(t,e+n),r.getBoundingClientRect()},M.prototype.parse=function(t){var e=t.contexts.filter(K),n=t.children.filter(ht),r=n.filter(lt(ct)),i=r.filter(lt(st)).filter(lt(tt)),o=n.filter(lt(st)).filter(ct),a=r.filter(lt(st)).filter(tt),s=t.contexts.concat(r.filter(st)).filter($),c=t.children.filter(dt).filter(nt),u=t.contexts.filter(Z);e.concat(i).concat(o).concat(a).concat(s).concat(c).concat(u).forEach(function(t){this.renderQueue.push(t),et(t)&&(this.parse(t),this.renderQueue.push(new W))},this)},M.prototype.paint=function(t){try{t instanceof W?this.renderer.ctx.restore():dt(t)?(ft(t.parent)&&t.parent.appendToDOM(),this.paintText(t),ft(t.parent)&&t.parent.cleanDOM()):this.paintNode(t)}catch(e){I(e)}},M.prototype.paintNode=function(t){if(et(t)&&(this.renderer.setOpacity(t.opacity),this.renderer.ctx.save(),t.hasTransform()&&this.renderer.setTransform(t.parseTransform())),"INPUT"===t.node.nodeName&&"checkbox"===t.node.type)this.paintCheckbox(t);else if("INPUT"===t.node.nodeName&&"radio"===t.node.type)this.paintRadio(t);else{if("always"===t.css("page-break-before")){var e=this.options.canvas.getContext("2d");"function"==typeof e._pageBreakAt&&e._pageBreakAt(t.node.offsetTop)}this.paintElement(t)}if(t.node.getAttribute){var n=t.node.getAttribute("name");if(null===n)var n=t.node.getAttribute("id");if(null!==n){var r=this.options.canvas.annotations;r&&r.setName(n,t.bounds)}}},M.prototype.paintElement=function(t){var e=t.parseBounds();this.renderer.clip(t.backgroundClip,function(){this.renderer.renderBackground(t,e,t.borders.borders.map(yt))},this),this.renderer.clip(t.clip,function(){this.renderer.renderBorders(t.borders.borders)},this),this.renderer.clip(t.backgroundClip,function(){switch(t.node.nodeName){case"svg":case"IFRAME":var n=this.images.get(t.node);n?this.renderer.renderImage(t,e,t.borders,n):I("Error loading <"+t.node.nodeName+">",t.node);break;case"IMG":var r=this.images.get(t.node.src);r?this.renderer.renderImage(t,e,t.borders,r):I("Error loading <img>",t.node.src);break;case"CANVAS":this.renderer.renderImage(t,e,t.borders,{image:t.node});break;case"SELECT":case"INPUT":case"TEXTAREA":this.paintFormValue(t)}},this)},M.prototype.paintCheckbox=function(t){var e=t.parseBounds(),n=Math.min(e.width,e.height),r={width:n-1,height:n-1,top:e.top,left:e.left},i=[3,3],o=[i,i,i,i],a=[1,1,1,1].map(function(t){return{color:"#A5A5A5",width:t}}),s=Y(r,o,a);this.renderer.clip(t.backgroundClip,function(){this.renderer.rectangle(r.left+1,r.top+1,r.width-2,r.height-2,"#DEDEDE"),this.renderer.renderBorders(X(a,r,s,o)),t.node.checked&&(this.renderer.font("#424242","normal","normal","bold",n-3+"px","arial"),this.renderer.text("✔",r.left+n/6,r.top+n-1))},this)},M.prototype.paintRadio=function(t){var e=t.parseBounds(),n=Math.min(e.width,e.height)-2;this.renderer.clip(t.backgroundClip,function(){this.renderer.circleStroke(e.left+1,e.top+1,n,"#DEDEDE",1,"#A5A5A5"),t.node.checked&&this.renderer.circle(Math.ceil(e.left+n/4)+1,Math.ceil(e.top+n/4)+1,Math.floor(n/2),"#424242")},this)},M.prototype.paintFormValue=function(t){if(t.getValue().length>0){var e=t.node.ownerDocument,n=e.createElement("html2canvaswrapper"),r=["lineHeight","textAlign","fontFamily","fontWeight","fontSize","color","paddingLeft","paddingTop","paddingRight","paddingBottom","width","height","borderLeftStyle","borderTopStyle","borderLeftWidth","borderTopWidth","boxSizing","whiteSpace","wordWrap"];r.forEach(function(e){try{n.style[e]=t.css(e)}catch(r){I("html2canvas: Parse: Exception caught in renderFormValue: "+r.message)}});var i=t.parseBounds();n.style.position="fixed",n.style.left=i.left+"px",n.style.top=i.top+"px",n.textContent=t.getValue(),e.body.appendChild(n),this.paintText(new Nt(n.firstChild,t)),e.body.removeChild(n)}},M.prototype.paintText=function(e){e.applyTextTransform();var n=t.html2canvas.punycode.ucs2.decode(e.node.data),r=this.options.letterRendering&&!rt(e)||Ct(e.node.data)?n.map(function(e){return t.html2canvas.punycode.ucs2.encode([e])}):kt(n),i=e.parent.fontWeight(),o=e.parent.css("fontSize"),s=e.parent.css("fontFamily"),c=e.parent.parseTextShadows();this.renderer.font(e.parent.css("color"),e.parent.css("fontStyle"),e.parent.css("fontVariant"),i,o,s),c.length?this.renderer.fontShadow(c[0].color,c[0].offsetX,c[0].offsetY,c[0].blur):this.renderer.clearShadow(),this.renderer.clip(e.parent.clip,function(){r.map(this.parseTextBounds(e),this).forEach(function(t,n){t&&(t.left===a&&(t.left=0),t.bottom===a&&(t.bottom=0),this.renderer.text(r[n],t.left,t.bottom),this.renderTextDecoration(e.parent,t,this.fontMetrics.getMetrics(s,o)),0==n&&"LI"===e.parent.node.nodeName&&this.renderBullet(e,t),0==n&&this.renderAnnotation(e.parent,t))},this)},this)},M.prototype.generateListNumber={listAlpha:function(t){var e,n="";do e=t%26,n=String.fromCharCode(e+64)+n,t/=26;while(26*t>26);return n},listRoman:function(t){var e,n=["M","CM","D","CD","C","XC","L","XL","X","IX","V","IV","I"],r=[1e3,900,500,400,100,90,50,40,10,9,5,4,1],i="",o=n.length;if(0>=t||t>=4e3)return t;for(e=0;o>e;e+=1)for(;t>=r[e];)t-=r[e],i+=n[e];return i}},M.prototype.listItemText=function(t,e){switch(t){case"decimal-leading-zero":text=1===e.toString().length?e="0"+e.toString():e.toString();break;case"upper-roman":text=this.generateListNumber.listRoman(e);break;case"lower-roman":text=this.generateListNumber.listRoman(e).toLowerCase();break;case"lower-alpha":text=this.generateListNumber.listAlpha(e).toLowerCase();break;case"upper-alpha":text=this.generateListNumber.listAlpha(e);break;case"decimal":default:text=e}return text},M.prototype.renderBullet=function(t,e){var n=t.parent.css("listStyleType");if("none"!==n){var r=e.top+(e.bottom-e.top)/2,i=this.renderer.canvas.getContext("2d"),o=i.measureText("M").width,a=o/4,s=.75*o,c=e.left-s;switch(n){case"decimal":case"decimal-leading-zero":case"upper-alpha":case"lower-alpha":case"upper-roman":case"lower-roman":var u=t.parent,l=u.parent,h=Array.prototype.slice.call(l.node.children),f=h.indexOf(u.node)+1,d=this.listItemText(n,f);d+=".";var p=e.left-s;p-=i.measureText(d).width,i.fillText(d,p,e.bottom);break;case"square":var a=o/3;c-=a,r-=a/2,i.fillRect(c,r,a,a);break;case"circle":var a=o/6;c-=a,i.beginPath(),i.arc(c,r,a,0,2*Math.PI),i.closePath(),i.stroke();break;case"disc":default:var a=o/6;c-=a,i.beginPath(),i.arc(c,r,a,0,2*Math.PI),i.closePath(),i.fill()}}},M.prototype.renderTextDecoration=function(t,e,n){switch(t.css("textDecoration").split(" ")[0]){case"underline":this.renderer.rectangle(e.left,Math.round(e.top+n.baseline+n.lineWidth),e.width,1,t.css("color"));break;case"overline":this.renderer.rectangle(e.left,Math.round(e.top),e.width,1,t.css("color"));break;case"line-through":this.renderer.rectangle(e.left,Math.ceil(e.top+n.middle+n.lineWidth),e.width,1,t.css("color"))}},M.prototype.renderAnnotation=function(t,e){if("A"===t.node.nodeName){var n=t.node.getAttribute("href");if(n){var r=this.options.canvas.annotations;r&&r.createAnnotation(n,t.bounds)}}},M.prototype.parseBorders=function(t){var e=t.parseBounds(),n=it(t),r=["Top","Right","Bottom","Left"].map(function(e){return{width:t.cssInt("border"+e+"Width"),color:t.css("border"+e+"Color"),args:null}}),i=Y(e,n,r);return{clip:this.parseBackgroundClip(t,i,r,n,e),borders:X(r,e,i,n)}},M.prototype.parseBackgroundClip=function(t,e,n,r,i){var o=t.css("backgroundClip"),a=[];switch(o){case"content-box":case"padding-box":Q(a,r[0],r[1],e.topLeftInner,e.topRightInner,i.left+n[3].width,i.top+n[0].width),Q(a,r[1],r[2],e.topRightInner,e.bottomRightInner,i.left+i.width-n[1].width,i.top+n[0].width),Q(a,r[2],r[3],e.bottomRightInner,e.bottomLeftInner,i.left+i.width-n[1].width,i.top+i.height-n[2].width),Q(a,r[3],r[0],e.bottomLeftInner,e.topLeftInner,i.left+n[3].width,i.top+i.height-n[2].width);break;default:Q(a,r[0],r[1],e.topLeftOuter,e.topRightOuter,i.left,i.top),Q(a,r[1],r[2],e.topRightOuter,e.bottomRightOuter,i.left+i.width,i.top),Q(a,r[2],r[3],e.bottomRightOuter,e.bottomLeftOuter,i.left+i.width,i.top+i.height),Q(a,r[3],r[0],e.bottomLeftOuter,e.topLeftOuter,i.left,i.top+i.height)}return a};var Yt=0,Gt="withCredentials"in new XMLHttpRequest,Jt="crossOrigin"in new Image;It.prototype.cloneTo=function(t){It.prototype.cloneTo.call(this,t),t.isPseudoElement=!0,t.before=this.before},It.prototype=Object.create(O.prototype),It.prototype.appendToDOM=function(){this.before?this.parent.node.insertBefore(this.node,this.parent.node.firstChild):this.parent.node.appendChild(this.node),this.parent.node.className+=" "+this.getHideClass()},It.prototype.cleanDOM=function(){this.node.parentNode.removeChild(this.node),this.parent.node.className=this.parent.node.className.replace(this.getHideClass(),"")},It.prototype.getHideClass=function(){return this["PSEUDO_HIDE_ELEMENT_CLASS_"+(this.before?"BEFORE":"AFTER")]},It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_BEFORE="___html2canvas___pseudoelement_before",It.prototype.PSEUDO_HIDE_ELEMENT_CLASS_AFTER="___html2canvas___pseudoelement_after",Ot.prototype.renderImage=function(t,e,n,r){var i=t.cssInt("paddingLeft"),o=t.cssInt("paddingTop"),a=t.cssInt("paddingRight"),s=t.cssInt("paddingBottom"),c=n.borders,u=e.width-(c[1].width+c[3].width+i+a),l=e.height-(c[0].width+c[2].width+o+s);this.drawImage(r,0,0,r.image.width||u,r.image.height||l,e.left+i+c[3].width,e.top+o+c[0].width,u,l)},Ot.prototype.renderBackground=function(t,e,n){e.height>0&&e.width>0&&(this.renderBackgroundColor(t,e),this.renderBackgroundImage(t,e,n))},Ot.prototype.renderBackgroundColor=function(t,e){var n=t.css("backgroundColor");this.isTransparent(n)||this.rectangle(e.left,e.top,e.width,e.height,t.css("backgroundColor"))},Ot.prototype.renderBorders=function(t){t.forEach(this.renderBorder,this)},Ot.prototype.renderBorder=function(t){this.isTransparent(t.color)||null===t.args||this.drawShape(t.args,t.color)},Ot.prototype.renderBackgroundImage=function(t,e,n){var r=t.parseBackgroundImages();r.reverse().forEach(function(r,i,o){switch(r.method){case"url":var a=this.images.get(r.args[0]);a?this.renderBackgroundRepeating(t,e,a,o.length-(i+1),n):I("Error loading background-image",r.args[0]);break;case"linear-gradient":case"gradient":var s=this.images.get(r.value);s?this.renderBackgroundGradient(s,e,n):I("Error loading background-image",r.args[0]);break;case"none":break;default:I("Unknown background-image type",r.args[0])}},this)},Ot.prototype.renderBackgroundRepeating=function(t,e,n,r,i){var o=t.parseBackgroundSize(e,n.image,r),a=t.parseBackgroundPosition(e,n.image,r,o),s=t.parseBackgroundRepeat(r);switch(s){case"repeat-x":case"repeat no-repeat":this.backgroundRepeatShape(n,a,o,e,e.left+i[3],e.top+a.top+i[0],99999,o.height,i);break;case"repeat-y":case"no-repeat repeat":this.backgroundRepeatShape(n,a,o,e,e.left+a.left+i[3],e.top+i[0],o.width,99999,i);break;case"no-repeat":this.backgroundRepeatShape(n,a,o,e,e.left+a.left+i[3],e.top+a.top+i[0],o.width,o.height,i);break;default:this.renderBackgroundRepeat(n,a,o,{
142
- top:e.top,left:e.left},i[3],i[0])}},Ot.prototype.isTransparent=function(t){return!t||"transparent"===t||"rgba(0, 0, 0, 0)"===t},Ft.prototype=Object.create(O.prototype),Ft.prototype.getParentStack=function(t){var e=this.parent?this.parent.stack:null;return e?e.ownStacking?e:e.getParentStack(t):t.stack},Bt.prototype.testRangeBounds=function(t){var e,n,r,i,o=!1;return t.createRange&&(e=t.createRange(),e.getBoundingClientRect&&(n=t.createElement("boundtest"),n.style.height="123px",n.style.display="block",t.body.appendChild(n),e.selectNode(n),r=e.getBoundingClientRect(),i=r.height,123===i&&(o=!0),t.body.removeChild(n))),o},Bt.prototype.testCORS=function(){return"undefined"!=typeof(new Image).crossOrigin},Bt.prototype.testSVG=function(){var t=new Image,n=e.createElement("canvas"),r=n.getContext("2d");t.src="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg'></svg>";try{r.drawImage(t,0,0),n.toDataURL()}catch(i){return!1}return!0},Rt.prototype.hasFabric=function(){return html2canvas.fabric?Promise.resolve():Promise.reject(new Error("html2canvas.svg.js is not loaded, cannot render svg"))},Rt.prototype.inlineFormatting=function(t){return/^data:image\/svg\+xml;base64,/.test(t)?this.decode64(this.removeContentType(t)):this.removeContentType(t)},Rt.prototype.removeContentType=function(t){return t.replace(/^data:image\/svg\+xml(;base64)?,/,"")},Rt.prototype.isInline=function(t){return/^data:image\/svg\+xml/i.test(t)},Rt.prototype.createCanvas=function(t){var e=this;return function(n,r){var i=new html2canvas.fabric.StaticCanvas("c");e.image=i.lowerCanvasEl,i.setWidth(r.width).setHeight(r.height).add(html2canvas.fabric.util.groupSVGElements(n,r)).renderAll(),t(i.lowerCanvasEl)}},Rt.prototype.decode64=function(e){return"function"==typeof t.atob?t.atob(e):Dt(e)},jt.prototype=Object.create(Rt.prototype),Nt.prototype=Object.create(O.prototype),Nt.prototype.applyTextTransform=function(){this.node.data=this.transform(this.parent.css("textTransform"))},Nt.prototype.transform=function(t){var e=this.node.data;switch(t){case"lowercase":return e.toLowerCase();case"capitalize":return e.replace(/(^|\s|:|-|\(|\))([a-z])/g,zt);case"uppercase":return e.toUpperCase();default:return e}},Lt.prototype=Object.create(S.prototype),Ut.prototype=Object.create(Ot.prototype),Ut.prototype.setFillStyle=function(t){return this.ctx.fillStyle=t,this.ctx},Ut.prototype.rectangle=function(t,e,n,r,i){this.setFillStyle(i).fillRect(t,e,n,r)},Ut.prototype.circle=function(t,e,n,r){this.setFillStyle(r),this.ctx.beginPath(),this.ctx.arc(t+n/2,e+n/2,n/2,0,2*Math.PI,!0),this.ctx.closePath(),this.ctx.fill()},Ut.prototype.circleStroke=function(t,e,n,r,i,o){this.circle(t,e,n,r),this.ctx.strokeStyle=o,this.ctx.stroke()},Ut.prototype.drawShape=function(t,e){this.shape(t),this.setFillStyle(e).fill()},Ut.prototype.taints=function(t){if(null===t.tainted){this.taintCtx.drawImage(t.image,0,0);try{this.taintCtx.getImageData(0,0,1,1),t.tainted=!1}catch(n){this.taintCtx=e.createElement("canvas").getContext("2d"),t.tainted=!0}}return t.tainted},Ut.prototype.drawImage=function(t,e,n,r,i,o,a,s,c){this.taints(t)&&!this.options.allowTaint||this.ctx.drawImage(t.image,e,n,r,i,o,a,s,c)},Ut.prototype.clip=function(t,e,n){this.ctx.save(),t.filter(Ht).forEach(function(t){this.shape(t).clip()},this),e.call(n),this.ctx.restore()},Ut.prototype.shape=function(t){return this.ctx.beginPath(),t.forEach(function(t,e){"rect"===t[0]?this.ctx.rect.apply(this.ctx,t.slice(1)):this.ctx[0===e?"moveTo":t[0]+"To"].apply(this.ctx,t.slice(1))},this),this.ctx.closePath(),this.ctx},Ut.prototype.font=function(t,e,n,r,i,o){this.setFillStyle(t).font=[e,n,r,i,o].join(" ").split(",")[0]},Ut.prototype.fontShadow=function(t,e,n,r){this.setVariable("shadowColor",t).setVariable("shadowOffsetY",e).setVariable("shadowOffsetX",n).setVariable("shadowBlur",r)},Ut.prototype.clearShadow=function(){this.setVariable("shadowColor","rgba(0,0,0,0)")},Ut.prototype.setOpacity=function(t){this.ctx.globalAlpha=t},Ut.prototype.setTransform=function(t){this.ctx.translate(t.origin[0],t.origin[1]),this.ctx.transform.apply(this.ctx,t.matrix),this.ctx.translate(-t.origin[0],-t.origin[1])},Ut.prototype.setVariable=function(t,e){return this.variables[t]!==e&&(this.variables[t]=this.ctx[t]=e),this},Ut.prototype.text=function(t,e,n){this.ctx.fillText(t,e,n)},Ut.prototype.backgroundRepeatShape=function(t,e,n,r,i,o,a,s,c){var u=[["line",Math.round(i),Math.round(o)],["line",Math.round(i+a),Math.round(o)],["line",Math.round(i+a),Math.round(s+o)],["line",Math.round(i),Math.round(s+o)]];this.clip([u],function(){this.renderBackgroundRepeat(t,e,n,r,c[3],c[0])},this)},Ut.prototype.renderBackgroundRepeat=function(t,e,n,r,i,o){var a=Math.round(r.left+e.left+i),s=Math.round(r.top+e.top+o);this.setFillStyle(this.ctx.createPattern(this.resizeImage(t,n),"repeat")),this.ctx.translate(a,s),this.ctx.fill(),this.ctx.translate(-a,-s)},Ut.prototype.renderBackgroundGradient=function(t,e){if(t instanceof E){var n=this.ctx.createLinearGradient(e.left+e.width*t.x0,e.top+e.height*t.y0,e.left+e.width*t.x1,e.top+e.height*t.y1);t.colorStops.forEach(function(t){n.addColorStop(t.stop,t.color)}),this.rectangle(e.left,e.top,e.width,e.height,n)}},Ut.prototype.resizeImage=function(t,n){var r=t.image;if(r.width===n.width&&r.height===n.height)return r;var i,o=e.createElement("canvas");return o.width=n.width,o.height=n.height,i=o.getContext("2d"),i.drawImage(r,0,0,r.width,r.height,0,0,n.width,n.height),o}}).call({},window,document),/*
143
- # PNG.js
144
- # Copyright (c) 2011 Devon Govett
145
- # MIT LICENSE
146
- #
147
- #
148
- */
149
- function(t){var e;e=function(){function e(t){var e,n,r,i,o,a,s,c,u,l,h,f,d,p,m;for(this.data=t,this.pos=8,this.palette=[],this.imgData=[],this.transparency={},this.animation=null,this.text={},a=null;;){switch(e=this.readUInt32(),l=function(){var t,e;for(e=[],s=t=0;4>t;s=++t)e.push(String.fromCharCode(this.data[this.pos++]));return e}.call(this).join("")){case"IHDR":this.width=this.readUInt32(),this.height=this.readUInt32(),this.bits=this.data[this.pos++],this.colorType=this.data[this.pos++],this.compressionMethod=this.data[this.pos++],this.filterMethod=this.data[this.pos++],this.interlaceMethod=this.data[this.pos++];break;case"acTL":this.animation={numFrames:this.readUInt32(),numPlays:this.readUInt32()||1/0,frames:[]};break;case"PLTE":this.palette=this.read(e);break;case"fcTL":a&&this.animation.frames.push(a),this.pos+=4,a={width:this.readUInt32(),height:this.readUInt32(),xOffset:this.readUInt32(),yOffset:this.readUInt32()},o=this.readUInt16(),i=this.readUInt16()||100,a.delay=1e3*o/i,a.disposeOp=this.data[this.pos++],a.blendOp=this.data[this.pos++],a.data=[];break;case"IDAT":case"fdAT":for("fdAT"===l&&(this.pos+=4,e-=4),t=(null!=a?a.data:void 0)||this.imgData,s=d=0;e>=0?e>d:d>e;s=e>=0?++d:--d)t.push(this.data[this.pos++]);break;case"tRNS":switch(this.transparency={},this.colorType){case 3:if(r=this.palette.length/3,this.transparency.indexed=this.read(e),this.transparency.indexed.length>r)throw new Error("More transparent colors than palette size");if(h=r-this.transparency.indexed.length,h>0)for(s=p=0;h>=0?h>p:p>h;s=h>=0?++p:--p)this.transparency.indexed.push(255);break;case 0:this.transparency.grayscale=this.read(e)[0];break;case 2:this.transparency.rgb=this.read(e)}break;case"tEXt":f=this.read(e),c=f.indexOf(0),u=String.fromCharCode.apply(String,f.slice(0,c)),this.text[u]=String.fromCharCode.apply(String,f.slice(c+1));break;case"IEND":return a&&this.animation.frames.push(a),this.colors=function(){switch(this.colorType){case 0:case 3:case 4:return 1;case 2:case 6:return 3}}.call(this),this.hasAlphaChannel=4===(m=this.colorType)||6===m,n=this.colors+(this.hasAlphaChannel?1:0),this.pixelBitlength=this.bits*n,this.colorSpace=function(){switch(this.colors){case 1:return"DeviceGray";case 3:return"DeviceRGB"}}.call(this),void(this.imgData=new Uint8Array(this.imgData));default:this.pos+=e}if(this.pos+=4,this.pos>this.data.length)throw new Error("Incomplete or corrupt PNG file")}}var n,r,i,o,a,c,u,l;e.load=function(t,n,r){var i;return"function"==typeof n&&(r=n),i=new XMLHttpRequest,i.open("GET",t,!0),i.responseType="arraybuffer",i.onload=function(){var t,o;return t=new Uint8Array(i.response||i.mozResponseArrayBuffer),o=new e(t),"function"==typeof(null!=n?n.getContext:void 0)&&o.render(n),"function"==typeof r?r(o):void 0},i.send(null)},o=0,i=1,a=2,r=0,n=1,e.prototype.read=function(t){var e,n,r;for(r=[],e=n=0;t>=0?t>n:n>t;e=t>=0?++n:--n)r.push(this.data[this.pos++]);return r},e.prototype.readUInt32=function(){var t,e,n,r;return t=this.data[this.pos++]<<24,e=this.data[this.pos++]<<16,n=this.data[this.pos++]<<8,r=this.data[this.pos++],t|e|n|r},e.prototype.readUInt16=function(){var t,e;return t=this.data[this.pos++]<<8,e=this.data[this.pos++],t|e},e.prototype.decodePixels=function(t){var e,n,r,i,o,a,c,u,l,h,f,d,p,m,g,w,y,v,b,x,k,A,C;if(null==t&&(t=this.imgData),0===t.length)return new Uint8Array(0);for(t=new s(t),t=t.getBytes(),d=this.pixelBitlength/8,w=d*this.width,p=new Uint8Array(w*this.height),a=t.length,g=0,m=0,n=0;a>m;){switch(t[m++]){case 0:for(i=b=0;w>b;i=b+=1)p[n++]=t[m++];break;case 1:for(i=x=0;w>x;i=x+=1)e=t[m++],o=d>i?0:p[n-d],p[n++]=(e+o)%256;break;case 2:for(i=k=0;w>k;i=k+=1)e=t[m++],r=(i-i%d)/d,y=g&&p[(g-1)*w+r*d+i%d],p[n++]=(y+e)%256;break;case 3:for(i=A=0;w>A;i=A+=1)e=t[m++],r=(i-i%d)/d,o=d>i?0:p[n-d],y=g&&p[(g-1)*w+r*d+i%d],p[n++]=(e+Math.floor((o+y)/2))%256;break;case 4:for(i=C=0;w>C;i=C+=1)e=t[m++],r=(i-i%d)/d,o=d>i?0:p[n-d],0===g?y=v=0:(y=p[(g-1)*w+r*d+i%d],v=r&&p[(g-1)*w+(r-1)*d+i%d]),c=o+y-v,u=Math.abs(c-o),h=Math.abs(c-y),f=Math.abs(c-v),l=h>=u&&f>=u?o:f>=h?y:v,p[n++]=(e+l)%256;break;default:throw new Error("Invalid filter algorithm: "+t[m-1])}g++}return p},e.prototype.decodePalette=function(){var t,e,n,r,i,o,a,s,c,u;for(r=this.palette,a=this.transparency.indexed||[],o=new Uint8Array((a.length||0)+r.length),i=0,n=r.length,t=0,e=s=0,c=r.length;c>s;e=s+=3)o[i++]=r[e],o[i++]=r[e+1],o[i++]=r[e+2],o[i++]=null!=(u=a[t++])?u:255;return o},e.prototype.copyToImageData=function(t,e){var n,r,i,o,a,s,c,u,l,h,f;if(r=this.colors,l=null,n=this.hasAlphaChannel,this.palette.length&&(l=null!=(f=this._decodedPalette)?f:this._decodedPalette=this.decodePalette(),r=4,n=!0),i=t.data||t,u=i.length,a=l||e,o=s=0,1===r)for(;u>o;)c=l?4*e[o/4]:s,h=a[c++],i[o++]=h,i[o++]=h,i[o++]=h,i[o++]=n?a[c++]:255,s=c;else for(;u>o;)c=l?4*e[o/4]:s,i[o++]=a[c++],i[o++]=a[c++],i[o++]=a[c++],i[o++]=n?a[c++]:255,s=c},e.prototype.decode=function(){var t;return t=new Uint8Array(this.width*this.height*4),this.copyToImageData(t,this.decodePixels()),t};try{u=t.document.createElement("canvas"),l=u.getContext("2d")}catch(h){return-1}return c=function(t){var e;return l.width=t.width,l.height=t.height,l.clearRect(0,0,t.width,t.height),l.putImageData(t,0,0),e=new Image,e.src=u.toDataURL(),e},e.prototype.decodeFrames=function(t){var e,n,r,i,o,a,s,u;if(this.animation){for(s=this.animation.frames,u=[],n=o=0,a=s.length;a>o;n=++o)e=s[n],r=t.createImageData(e.width,e.height),i=this.decodePixels(new Uint8Array(e.data)),this.copyToImageData(r,i),e.imageData=r,u.push(e.image=c(r));return u}},e.prototype.renderFrame=function(t,e){var n,o,s;return o=this.animation.frames,n=o[e],s=o[e-1],0===e&&t.clearRect(0,0,this.width,this.height),(null!=s?s.disposeOp:void 0)===i?t.clearRect(s.xOffset,s.yOffset,s.width,s.height):(null!=s?s.disposeOp:void 0)===a&&t.putImageData(s.imageData,s.xOffset,s.yOffset),n.blendOp===r&&t.clearRect(n.xOffset,n.yOffset,n.width,n.height),t.drawImage(n.image,n.xOffset,n.yOffset)},e.prototype.animate=function(t){var e,n,r,i,o,a,s=this;return n=0,a=this.animation,i=a.numFrames,r=a.frames,o=a.numPlays,(e=function(){var a,c;return a=n++%i,c=r[a],s.renderFrame(t,a),i>1&&o>n/i?s.animation._timeout=setTimeout(e,c.delay):void 0})()},e.prototype.stopAnimation=function(){var t;return clearTimeout(null!=(t=this.animation)?t._timeout:void 0)},e.prototype.render=function(t){var e,n;return t._png&&t._png.stopAnimation(),t._png=this,t.width=this.width,t.height=this.height,e=t.getContext("2d"),this.animation?(this.decodeFrames(e),this.animate(e)):(n=e.createImageData(this.width,this.height),this.copyToImageData(n,this.decodePixels()),e.putImageData(n,0,0))},e}(),t.PNG=e}("undefined"!=typeof window&&window||void 0);/*
150
- * Extracted from pdf.js
151
- * https://github.com/andreasgal/pdf.js
152
- *
153
- * Copyright (c) 2011 Mozilla Foundation
154
- *
155
- * Contributors: Andreas Gal <gal@mozilla.com>
156
- * Chris G Jones <cjones@mozilla.com>
157
- * Shaon Barman <shaon.barman@gmail.com>
158
- * Vivien Nicolas <21@vingtetun.org>
159
- * Justin D'Arcangelo <justindarc@gmail.com>
160
- * Yury Delendik
161
- *
162
- *
163
- */
164
- var a=function(){function t(){this.pos=0,this.bufferLength=0,this.eof=!1,this.buffer=null}return t.prototype={ensureBuffer:function(t){var e=this.buffer,n=e?e.byteLength:0;if(n>t)return e;for(var r=512;t>r;)r<<=1;for(var i=new Uint8Array(r),o=0;n>o;++o)i[o]=e[o];return this.buffer=i},getByte:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return this.buffer[this.pos++]},getBytes:function(t){var e=this.pos;if(t){this.ensureBuffer(e+t);for(var n=e+t;!this.eof&&this.bufferLength<n;)this.readBlock();var r=this.bufferLength;n>r&&(n=r)}else{for(;!this.eof;)this.readBlock();var n=this.bufferLength}return this.pos=n,this.buffer.subarray(e,n)},lookChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos])},getChar:function(){for(var t=this.pos;this.bufferLength<=t;){if(this.eof)return null;this.readBlock()}return String.fromCharCode(this.buffer[this.pos++])},makeSubStream:function(t,e,n){for(var r=t+e;this.bufferLength<=r&&!this.eof;)this.readBlock();return new Stream(this.buffer,t,e,n)},skip:function(t){t||(t=1),this.pos+=t},reset:function(){this.pos=0}},t}(),s=function(){function t(t){throw new Error(t)}function e(e){var n=0,r=e[n++],i=e[n++];-1!=r&&-1!=i||t("Invalid header in flate stream"),8!=(15&r)&&t("Unknown compression method in flate stream"),((r<<8)+i)%31!=0&&t("Bad FCHECK in flate stream"),32&i&&t("FDICT bit set in flate stream"),this.bytes=e,this.bytesPos=n,this.codeSize=0,this.codeBuf=0,a.call(this)}if("undefined"!=typeof Uint32Array){var n=new Uint32Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),r=new Uint32Array([3,4,5,6,7,8,9,10,65547,65549,65551,65553,131091,131095,131099,131103,196643,196651,196659,196667,262211,262227,262243,262259,327811,327843,327875,327907,258,258,258]),i=new Uint32Array([1,2,3,4,65541,65543,131081,131085,196625,196633,262177,262193,327745,327777,393345,393409,459009,459137,524801,525057,590849,591361,657409,658433,724993,727041,794625,798721,868353,876545]),o=[new Uint32Array([459008,524368,524304,524568,459024,524400,524336,590016,459016,524384,524320,589984,524288,524416,524352,590048,459012,524376,524312,589968,459028,524408,524344,590032,459020,524392,524328,59e4,524296,524424,524360,590064,459010,524372,524308,524572,459026,524404,524340,590024,459018,524388,524324,589992,524292,524420,524356,590056,459014,524380,524316,589976,459030,524412,524348,590040,459022,524396,524332,590008,524300,524428,524364,590072,459009,524370,524306,524570,459025,524402,524338,590020,459017,524386,524322,589988,524290,524418,524354,590052,459013,524378,524314,589972,459029,524410,524346,590036,459021,524394,524330,590004,524298,524426,524362,590068,459011,524374,524310,524574,459027,524406,524342,590028,459019,524390,524326,589996,524294,524422,524358,590060,459015,524382,524318,589980,459031,524414,524350,590044,459023,524398,524334,590012,524302,524430,524366,590076,459008,524369,524305,524569,459024,524401,524337,590018,459016,524385,524321,589986,524289,524417,524353,590050,459012,524377,524313,589970,459028,524409,524345,590034,459020,524393,524329,590002,524297,524425,524361,590066,459010,524373,524309,524573,459026,524405,524341,590026,459018,524389,524325,589994,524293,524421,524357,590058,459014,524381,524317,589978,459030,524413,524349,590042,459022,524397,524333,590010,524301,524429,524365,590074,459009,524371,524307,524571,459025,524403,524339,590022,459017,524387,524323,589990,524291,524419,524355,590054,459013,524379,524315,589974,459029,524411,524347,590038,459021,524395,524331,590006,524299,524427,524363,590070,459011,524375,524311,524575,459027,524407,524343,590030,459019,524391,524327,589998,524295,524423,524359,590062,459015,524383,524319,589982,459031,524415,524351,590046,459023,524399,524335,590014,524303,524431,524367,590078,459008,524368,524304,524568,459024,524400,524336,590017,459016,524384,524320,589985,524288,524416,524352,590049,459012,524376,524312,589969,459028,524408,524344,590033,459020,524392,524328,590001,524296,524424,524360,590065,459010,524372,524308,524572,459026,524404,524340,590025,459018,524388,524324,589993,524292,524420,524356,590057,459014,524380,524316,589977,459030,524412,524348,590041,459022,524396,524332,590009,524300,524428,524364,590073,459009,524370,524306,524570,459025,524402,524338,590021,459017,524386,524322,589989,524290,524418,524354,590053,459013,524378,524314,589973,459029,524410,524346,590037,459021,524394,524330,590005,524298,524426,524362,590069,459011,524374,524310,524574,459027,524406,524342,590029,459019,524390,524326,589997,524294,524422,524358,590061,459015,524382,524318,589981,459031,524414,524350,590045,459023,524398,524334,590013,524302,524430,524366,590077,459008,524369,524305,524569,459024,524401,524337,590019,459016,524385,524321,589987,524289,524417,524353,590051,459012,524377,524313,589971,459028,524409,524345,590035,459020,524393,524329,590003,524297,524425,524361,590067,459010,524373,524309,524573,459026,524405,524341,590027,459018,524389,524325,589995,524293,524421,524357,590059,459014,524381,524317,589979,459030,524413,524349,590043,459022,524397,524333,590011,524301,524429,524365,590075,459009,524371,524307,524571,459025,524403,524339,590023,459017,524387,524323,589991,524291,524419,524355,590055,459013,524379,524315,589975,459029,524411,524347,590039,459021,524395,524331,590007,524299,524427,524363,590071,459011,524375,524311,524575,459027,524407,524343,590031,459019,524391,524327,589999,524295,524423,524359,590063,459015,524383,524319,589983,459031,524415,524351,590047,459023,524399,524335,590015,524303,524431,524367,590079]),9],s=[new Uint32Array([327680,327696,327688,327704,327684,327700,327692,327708,327682,327698,327690,327706,327686,327702,327694,0,327681,327697,327689,327705,327685,327701,327693,327709,327683,327699,327691,327707,327687,327703,327695,0]),5];return e.prototype=Object.create(a.prototype),e.prototype.getBits=function(e){for(var n,r=this.codeSize,i=this.codeBuf,o=this.bytes,a=this.bytesPos;e>r;)"undefined"==typeof(n=o[a++])&&t("Bad encoding in flate stream"),i|=n<<r,r+=8;return n=i&(1<<e)-1,this.codeBuf=i>>e,this.codeSize=r-=e,this.bytesPos=a,n},e.prototype.getCode=function(e){for(var n=e[0],r=e[1],i=this.codeSize,o=this.codeBuf,a=this.bytes,s=this.bytesPos;r>i;){var c;"undefined"==typeof(c=a[s++])&&t("Bad encoding in flate stream"),o|=c<<i,i+=8}var u=n[o&(1<<r)-1],l=u>>16,h=65535&u;return(0==i||l>i||0==l)&&t("Bad encoding in flate stream"),this.codeBuf=o>>l,this.codeSize=i-l,this.bytesPos=s,h},e.prototype.generateHuffmanTable=function(t){for(var e=t.length,n=0,r=0;e>r;++r)t[r]>n&&(n=t[r]);for(var i=1<<n,o=new Uint32Array(i),a=1,s=0,c=2;n>=a;++a,s<<=1,c<<=1)for(var u=0;e>u;++u)if(t[u]==a){for(var l=0,h=s,r=0;a>r;++r)l=l<<1|1&h,h>>=1;for(var r=l;i>r;r+=c)o[r]=a<<16|u;++s}return[o,n]},e.prototype.readBlock=function(){function e(t,e,n,r,i){for(var o=t.getBits(n)+r;o-- >0;)e[A++]=i}var a=this.getBits(3);if(1&a&&(this.eof=!0),a>>=1,0==a){var c,u=this.bytes,l=this.bytesPos;"undefined"==typeof(c=u[l++])&&t("Bad block header in flate stream");var h=c;"undefined"==typeof(c=u[l++])&&t("Bad block header in flate stream"),h|=c<<8,"undefined"==typeof(c=u[l++])&&t("Bad block header in flate stream");var f=c;"undefined"==typeof(c=u[l++])&&t("Bad block header in flate stream"),f|=c<<8,f!=(65535&~h)&&t("Bad uncompressed block length in flate stream"),this.codeBuf=0,this.codeSize=0;var d=this.bufferLength,p=this.ensureBuffer(d+h),m=d+h;this.bufferLength=m;for(var g=d;m>g;++g){if("undefined"==typeof(c=u[l++])){this.eof=!0;break}p[g]=c}return void(this.bytesPos=l)}var w,y;if(1==a)w=o,y=s;else if(2==a){for(var v=this.getBits(5)+257,b=this.getBits(5)+1,x=this.getBits(4)+4,k=Array(n.length),A=0;x>A;)k[n[A++]]=this.getBits(3);for(var C=this.generateHuffmanTable(k),_=0,A=0,q=v+b,S=new Array(q);q>A;){var T=this.getCode(C);16==T?e(this,S,2,3,_):17==T?e(this,S,3,3,_=0):18==T?e(this,S,7,11,_=0):S[A++]=_=T}w=this.generateHuffmanTable(S.slice(0,v)),y=this.generateHuffmanTable(S.slice(v,q))}else t("Unknown block type in flate stream");for(var p=this.buffer,P=p?p.length:0,E=this.bufferLength;;){var I=this.getCode(w);if(256>I)E+1>=P&&(p=this.ensureBuffer(E+1),P=p.length),p[E++]=I;else{if(256==I)return void(this.bufferLength=E);I-=257,I=r[I];var O=I>>16;O>0&&(O=this.getBits(O));var _=(65535&I)+O;I=this.getCode(y),I=i[I],O=I>>16,O>0&&(O=this.getBits(O));var F=(65535&I)+O;E+_>=P&&(p=this.ensureBuffer(E+_),P=p.length);for(var B=0;_>B;++B,++E)p[E]=p[E-F]}}},e}}();!function(t){var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";"undefined"==typeof t.btoa&&(t.btoa=function(t){var n,r,i,o,a,s,c,u,l=0,h=0,f="",d=[];if(!t)return t;do n=t.charCodeAt(l++),r=t.charCodeAt(l++),i=t.charCodeAt(l++),u=n<<16|r<<8|i,o=u>>18&63,a=u>>12&63,s=u>>6&63,c=63&u,d[h++]=e.charAt(o)+e.charAt(a)+e.charAt(s)+e.charAt(c);while(l<t.length);f=d.join("");var p=t.length%3;return(p?f.slice(0,p-3):f)+"===".slice(p||3)}),"undefined"==typeof t.atob&&(t.atob=function(t){var n,r,i,o,a,s,c,u,l=0,h=0,f="",d=[];if(!t)return t;t+="";do o=e.indexOf(t.charAt(l++)),a=e.indexOf(t.charAt(l++)),s=e.indexOf(t.charAt(l++)),c=e.indexOf(t.charAt(l++)),u=o<<18|a<<12|s<<6|c,n=u>>16&255,r=u>>8&255,i=255&u,64==s?d[h++]=String.fromCharCode(n):64==c?d[h++]=String.fromCharCode(n,r):d[h++]=String.fromCharCode(n,r,i);while(l<t.length);return f=d.join("")}),Array.prototype.map||(Array.prototype.map=function(t){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;for(var e=Object(this),n=e.length>>>0,r=new Array(n),i=arguments.length>1?arguments[1]:void 0,o=0;n>o;o++)o in e&&(r[o]=t.call(i,e[o],o,e));return r}),Array.isArray||(Array.isArray=function(t){return"[object Array]"===Object.prototype.toString.call(t)}),Array.prototype.forEach||(Array.prototype.forEach=function(t,e){if(void 0===this||null===this||"function"!=typeof t)throw new TypeError;for(var n=Object(this),r=n.length>>>0,i=0;r>i;i++)i in n&&t.call(e,n[i],i,n)}),Object.keys||(Object.keys=function(){var t=Object.prototype.hasOwnProperty,e=!{toString:null}.propertyIsEnumerable("toString"),n=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],r=n.length;return function(i){if("object"!=typeof i&&("function"!=typeof i||null===i))throw new TypeError;var o,a,s=[];for(o in i)t.call(i,o)&&s.push(o);if(e)for(a=0;r>a;a++)t.call(i,n[a])&&s.push(n[a]);return s}}()),String.prototype.trim||(String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")}),String.prototype.trimLeft||(String.prototype.trimLeft=function(){return this.replace(/^\s+/g,"")}),String.prototype.trimRight||(String.prototype.trimRight=function(){return this.replace(/\s+$/g,"")})}("undefined"!=typeof self&&self||"undefined"!=typeof window&&window||void 0);var e=e;return e});
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/pointer.js DELETED
@@ -1,29 +0,0 @@
1
- window.omapiPointer = window.omapiPointer || {};
2
- ( function( window, document, $, app, undefined ) {
3
- 'use strict';
4
-
5
- app.close = () => $(app.target).pointer('close');
6
-
7
- app.open = () => {
8
- const options = $.extend(app.options, {
9
- close: () => {
10
- $.post( ajaxurl, {
11
- pointer: app.id,
12
- action: 'dismiss-wp-pointer'
13
- });
14
- }
15
- });
16
-
17
- $(app.target).pointer( options ).pointer('open');
18
- };
19
-
20
- app.init = () => {
21
- // Trigger a pointer close when clicking on the link in the pointer
22
- $('#omPointerButton, .om-pointer-close-link').click(app.close);
23
-
24
- app.open();
25
- };
26
-
27
- $( app.init );
28
-
29
- } )( window, document, jQuery, window.omapiPointer );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/select2.min.js DELETED
@@ -1,23 +0,0 @@
1
- /*
2
- Copyright 2014 Igor Vaynberg
3
-
4
- Version: 3.5.2 Timestamp: Sat Nov 1 14:43:36 EDT 2014
5
-
6
- This software is licensed under the Apache License, Version 2.0 (the "Apache License") or the GNU
7
- General Public License version 2 (the "GPL License"). You may choose either license to govern your
8
- use of this software only upon the condition that you accept all of the terms of either the Apache
9
- License or the GPL License.
10
-
11
- You may obtain a copy of the Apache License and the GPL License at:
12
-
13
- http://www.apache.org/licenses/LICENSE-2.0
14
- http://www.gnu.org/licenses/gpl-2.0.html
15
-
16
- Unless required by applicable law or agreed to in writing, software distributed under the Apache License
17
- or the GPL Licesnse is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
18
- either express or implied. See the Apache License and the GPL License for the specific language governing
19
- permissions and limitations under the Apache License and the GPL License.
20
- */
21
- !function(a){"undefined"==typeof a.fn.each2&&a.extend(a.fn,{each2:function(b){for(var c=a([0]),d=-1,e=this.length;++d<e&&(c.context=c[0]=this[d])&&b.call(c[0],d,c)!==!1;);return this}})}(jQuery),function(a,b){"use strict";function n(b){var c=a(document.createTextNode(""));b.before(c),c.before(b),c.remove()}function o(a){function b(a){return m[a]||a}return a.replace(/[^\u0000-\u007E]/g,b)}function p(a,b){for(var c=0,d=b.length;d>c;c+=1)if(r(a,b[c]))return c;return-1}function q(){var b=a(l);b.appendTo(document.body);var c={width:b.width()-b[0].clientWidth,height:b.height()-b[0].clientHeight};return b.remove(),c}function r(a,c){return a===c?!0:a===b||c===b?!1:null===a||null===c?!1:a.constructor===String?a+""==c+"":c.constructor===String?c+""==a+"":!1}function s(a,b,c){var d,e,f;if(null===a||a.length<1)return[];for(d=a.split(b),e=0,f=d.length;f>e;e+=1)d[e]=c(d[e]);return d}function t(a){return a.outerWidth(!1)-a.width()}function u(c){var d="keyup-change-value";c.on("keydown",function(){a.data(c,d)===b&&a.data(c,d,c.val())}),c.on("keyup",function(){var e=a.data(c,d);e!==b&&c.val()!==e&&(a.removeData(c,d),c.trigger("keyup-change"))})}function v(c){c.on("mousemove",function(c){var d=h;(d===b||d.x!==c.pageX||d.y!==c.pageY)&&a(c.target).trigger("mousemove-filtered",c)})}function w(a,c,d){d=d||b;var e;return function(){var b=arguments;window.clearTimeout(e),e=window.setTimeout(function(){c.apply(d,b)},a)}}function x(a,b){var c=w(a,function(a){b.trigger("scroll-debounced",a)});b.on("scroll",function(a){p(a.target,b.get())>=0&&c(a)})}function y(a){a[0]!==document.activeElement&&window.setTimeout(function(){var d,b=a[0],c=a.val().length;a.focus();var e=b.offsetWidth>0||b.offsetHeight>0;e&&b===document.activeElement&&(b.setSelectionRange?b.setSelectionRange(c,c):b.createTextRange&&(d=b.createTextRange(),d.collapse(!1),d.select()))},0)}function z(b){b=a(b)[0];var c=0,d=0;if("selectionStart"in b)c=b.selectionStart,d=b.selectionEnd-c;else if("selection"in document){b.focus();var e=document.selection.createRange();d=document.selection.createRange().text.length,e.moveStart("character",-b.value.length),c=e.text.length-d}return{offset:c,length:d}}function A(a){a.preventDefault(),a.stopPropagation()}function B(a){a.preventDefault(),a.stopImmediatePropagation()}function C(b){if(!g){var c=b[0].currentStyle||window.getComputedStyle(b[0],null);g=a(document.createElement("div")).css({position:"absolute",left:"-10000px",top:"-10000px",display:"none",fontSize:c.fontSize,fontFamily:c.fontFamily,fontStyle:c.fontStyle,fontWeight:c.fontWeight,letterSpacing:c.letterSpacing,textTransform:c.textTransform,whiteSpace:"nowrap"}),g.attr("class","select2-sizer"),a(document.body).append(g)}return g.text(b.val()),g.width()}function D(b,c,d){var e,g,f=[];e=a.trim(b.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0===this.indexOf("select2-")&&f.push(this)})),e=a.trim(c.attr("class")),e&&(e=""+e,a(e.split(/\s+/)).each2(function(){0!==this.indexOf("select2-")&&(g=d(this),g&&f.push(g))})),b.attr("class",f.join(" "))}function E(a,b,c,d){var e=o(a.toUpperCase()).indexOf(o(b.toUpperCase())),f=b.length;return 0>e?(c.push(d(a)),void 0):(c.push(d(a.substring(0,e))),c.push("<span class='select2-match'>"),c.push(d(a.substring(e,e+f))),c.push("</span>"),c.push(d(a.substring(e+f,a.length))),void 0)}function F(a){var b={"\\":"&#92;","&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;","/":"&#47;"};return String(a).replace(/[&<>"'\/\\]/g,function(a){return b[a]})}function G(c){var d,e=null,f=c.quietMillis||100,g=c.url,h=this;return function(i){window.clearTimeout(d),d=window.setTimeout(function(){var d=c.data,f=g,j=c.transport||a.fn.select2.ajaxDefaults.transport,k={type:c.type||"GET",cache:c.cache||!1,jsonpCallback:c.jsonpCallback||b,dataType:c.dataType||"json"},l=a.extend({},a.fn.select2.ajaxDefaults.params,k);d=d?d.call(h,i.term,i.page,i.context):null,f="function"==typeof f?f.call(h,i.term,i.page,i.context):f,e&&"function"==typeof e.abort&&e.abort(),c.params&&(a.isFunction(c.params)?a.extend(l,c.params.call(h)):a.extend(l,c.params)),a.extend(l,{url:f,dataType:c.dataType,data:d,success:function(a){var b=c.results(a,i.page,i);i.callback(b)},error:function(a,b,c){var d={hasError:!0,jqXHR:a,textStatus:b,errorThrown:c};i.callback(d)}}),e=j.call(h,l)},f)}}function H(b){var d,e,c=b,f=function(a){return""+a.text};a.isArray(c)&&(e=c,c={results:e}),a.isFunction(c)===!1&&(e=c,c=function(){return e});var g=c();return g.text&&(f=g.text,a.isFunction(f)||(d=g.text,f=function(a){return a[d]})),function(b){var g,d=b.term,e={results:[]};return""===d?(b.callback(c()),void 0):(g=function(c,e){var h,i;if(c=c[0],c.children){h={};for(i in c)c.hasOwnProperty(i)&&(h[i]=c[i]);h.children=[],a(c.children).each2(function(a,b){g(b,h.children)}),(h.children.length||b.matcher(d,f(h),c))&&e.push(h)}else b.matcher(d,f(c),c)&&e.push(c)},a(c().results).each2(function(a,b){g(b,e.results)}),b.callback(e),void 0)}}function I(c){var d=a.isFunction(c);return function(e){var f=e.term,g={results:[]},h=d?c(e):c;a.isArray(h)&&(a(h).each(function(){var a=this.text!==b,c=a?this.text:this;(""===f||e.matcher(f,c))&&g.results.push(a?this:{id:this,text:this})}),e.callback(g))}}function J(b,c){if(a.isFunction(b))return!0;if(!b)return!1;if("string"==typeof b)return!0;throw new Error(c+" must be a string, function, or falsy value")}function K(b,c){if(a.isFunction(b)){var d=Array.prototype.slice.call(arguments,2);return b.apply(c,d)}return b}function L(b){var c=0;return a.each(b,function(a,b){b.children?c+=L(b.children):c++}),c}function M(a,c,d,e){var h,i,j,k,l,f=a,g=!1;if(!e.createSearchChoice||!e.tokenSeparators||e.tokenSeparators.length<1)return b;for(;;){for(i=-1,j=0,k=e.tokenSeparators.length;k>j&&(l=e.tokenSeparators[j],i=a.indexOf(l),!(i>=0));j++);if(0>i)break;if(h=a.substring(0,i),a=a.substring(i+l.length),h.length>0&&(h=e.createSearchChoice.call(this,h,c),h!==b&&null!==h&&e.id(h)!==b&&null!==e.id(h))){for(g=!1,j=0,k=c.length;k>j;j++)if(r(e.id(h),e.id(c[j]))){g=!0;break}g||d(h)}}return f!==a?a:void 0}function N(){var b=this;a.each(arguments,function(a,c){b[c].remove(),b[c]=null})}function O(b,c){var d=function(){};return d.prototype=new b,d.prototype.constructor=d,d.prototype.parent=b.prototype,d.prototype=a.extend(d.prototype,c),d}if(window.Select2===b){var c,d,e,f,g,i,j,h={x:0,y:0},k={TAB:9,ENTER:13,ESC:27,SPACE:32,LEFT:37,UP:38,RIGHT:39,DOWN:40,SHIFT:16,CTRL:17,ALT:18,PAGE_UP:33,PAGE_DOWN:34,HOME:36,END:35,BACKSPACE:8,DELETE:46,isArrow:function(a){switch(a=a.which?a.which:a){case k.LEFT:case k.RIGHT:case k.UP:case k.DOWN:return!0}return!1},isControl:function(a){var b=a.which;switch(b){case k.SHIFT:case k.CTRL:case k.ALT:return!0}return a.metaKey?!0:!1},isFunctionKey:function(a){return a=a.which?a.which:a,a>=112&&123>=a}},l="<div class='select2-measure-scrollbar'></div>",m={"\u24b6":"A","\uff21":"A","\xc0":"A","\xc1":"A","\xc2":"A","\u1ea6":"A","\u1ea4":"A","\u1eaa":"A","\u1ea8":"A","\xc3":"A","\u0100":"A","\u0102":"A","\u1eb0":"A","\u1eae":"A","\u1eb4":"A","\u1eb2":"A","\u0226":"A","\u01e0":"A","\xc4":"A","\u01de":"A","\u1ea2":"A","\xc5":"A","\u01fa":"A","\u01cd":"A","\u0200":"A","\u0202":"A","\u1ea0":"A","\u1eac":"A","\u1eb6":"A","\u1e00":"A","\u0104":"A","\u023a":"A","\u2c6f":"A","\ua732":"AA","\xc6":"AE","\u01fc":"AE","\u01e2":"AE","\ua734":"AO","\ua736":"AU","\ua738":"AV","\ua73a":"AV","\ua73c":"AY","\u24b7":"B","\uff22":"B","\u1e02":"B","\u1e04":"B","\u1e06":"B","\u0243":"B","\u0182":"B","\u0181":"B","\u24b8":"C","\uff23":"C","\u0106":"C","\u0108":"C","\u010a":"C","\u010c":"C","\xc7":"C","\u1e08":"C","\u0187":"C","\u023b":"C","\ua73e":"C","\u24b9":"D","\uff24":"D","\u1e0a":"D","\u010e":"D","\u1e0c":"D","\u1e10":"D","\u1e12":"D","\u1e0e":"D","\u0110":"D","\u018b":"D","\u018a":"D","\u0189":"D","\ua779":"D","\u01f1":"DZ","\u01c4":"DZ","\u01f2":"Dz","\u01c5":"Dz","\u24ba":"E","\uff25":"E","\xc8":"E","\xc9":"E","\xca":"E","\u1ec0":"E","\u1ebe":"E","\u1ec4":"E","\u1ec2":"E","\u1ebc":"E","\u0112":"E","\u1e14":"E","\u1e16":"E","\u0114":"E","\u0116":"E","\xcb":"E","\u1eba":"E","\u011a":"E","\u0204":"E","\u0206":"E","\u1eb8":"E","\u1ec6":"E","\u0228":"E","\u1e1c":"E","\u0118":"E","\u1e18":"E","\u1e1a":"E","\u0190":"E","\u018e":"E","\u24bb":"F","\uff26":"F","\u1e1e":"F","\u0191":"F","\ua77b":"F","\u24bc":"G","\uff27":"G","\u01f4":"G","\u011c":"G","\u1e20":"G","\u011e":"G","\u0120":"G","\u01e6":"G","\u0122":"G","\u01e4":"G","\u0193":"G","\ua7a0":"G","\ua77d":"G","\ua77e":"G","\u24bd":"H","\uff28":"H","\u0124":"H","\u1e22":"H","\u1e26":"H","\u021e":"H","\u1e24":"H","\u1e28":"H","\u1e2a":"H","\u0126":"H","\u2c67":"H","\u2c75":"H","\ua78d":"H","\u24be":"I","\uff29":"I","\xcc":"I","\xcd":"I","\xce":"I","\u0128":"I","\u012a":"I","\u012c":"I","\u0130":"I","\xcf":"I","\u1e2e":"I","\u1ec8":"I","\u01cf":"I","\u0208":"I","\u020a":"I","\u1eca":"I","\u012e":"I","\u1e2c":"I","\u0197":"I","\u24bf":"J","\uff2a":"J","\u0134":"J","\u0248":"J","\u24c0":"K","\uff2b":"K","\u1e30":"K","\u01e8":"K","\u1e32":"K","\u0136":"K","\u1e34":"K","\u0198":"K","\u2c69":"K","\ua740":"K","\ua742":"K","\ua744":"K","\ua7a2":"K","\u24c1":"L","\uff2c":"L","\u013f":"L","\u0139":"L","\u013d":"L","\u1e36":"L","\u1e38":"L","\u013b":"L","\u1e3c":"L","\u1e3a":"L","\u0141":"L","\u023d":"L","\u2c62":"L","\u2c60":"L","\ua748":"L","\ua746":"L","\ua780":"L","\u01c7":"LJ","\u01c8":"Lj","\u24c2":"M","\uff2d":"M","\u1e3e":"M","\u1e40":"M","\u1e42":"M","\u2c6e":"M","\u019c":"M","\u24c3":"N","\uff2e":"N","\u01f8":"N","\u0143":"N","\xd1":"N","\u1e44":"N","\u0147":"N","\u1e46":"N","\u0145":"N","\u1e4a":"N","\u1e48":"N","\u0220":"N","\u019d":"N","\ua790":"N","\ua7a4":"N","\u01ca":"NJ","\u01cb":"Nj","\u24c4":"O","\uff2f":"O","\xd2":"O","\xd3":"O","\xd4":"O","\u1ed2":"O","\u1ed0":"O","\u1ed6":"O","\u1ed4":"O","\xd5":"O","\u1e4c":"O","\u022c":"O","\u1e4e":"O","\u014c":"O","\u1e50":"O","\u1e52":"O","\u014e":"O","\u022e":"O","\u0230":"O","\xd6":"O","\u022a":"O","\u1ece":"O","\u0150":"O","\u01d1":"O","\u020c":"O","\u020e":"O","\u01a0":"O","\u1edc":"O","\u1eda":"O","\u1ee0":"O","\u1ede":"O","\u1ee2":"O","\u1ecc":"O","\u1ed8":"O","\u01ea":"O","\u01ec":"O","\xd8":"O","\u01fe":"O","\u0186":"O","\u019f":"O","\ua74a":"O","\ua74c":"O","\u01a2":"OI","\ua74e":"OO","\u0222":"OU","\u24c5":"P","\uff30":"P","\u1e54":"P","\u1e56":"P","\u01a4":"P","\u2c63":"P","\ua750":"P","\ua752":"P","\ua754":"P","\u24c6":"Q","\uff31":"Q","\ua756":"Q","\ua758":"Q","\u024a":"Q","\u24c7":"R","\uff32":"R","\u0154":"R","\u1e58":"R","\u0158":"R","\u0210":"R","\u0212":"R","\u1e5a":"R","\u1e5c":"R","\u0156":"R","\u1e5e":"R","\u024c":"R","\u2c64":"R","\ua75a":"R","\ua7a6":"R","\ua782":"R","\u24c8":"S","\uff33":"S","\u1e9e":"S","\u015a":"S","\u1e64":"S","\u015c":"S","\u1e60":"S","\u0160":"S","\u1e66":"S","\u1e62":"S","\u1e68":"S","\u0218":"S","\u015e":"S","\u2c7e":"S","\ua7a8":"S","\ua784":"S","\u24c9":"T","\uff34":"T","\u1e6a":"T","\u0164":"T","\u1e6c":"T","\u021a":"T","\u0162":"T","\u1e70":"T","\u1e6e":"T","\u0166":"T","\u01ac":"T","\u01ae":"T","\u023e":"T","\ua786":"T","\ua728":"TZ","\u24ca":"U","\uff35":"U","\xd9":"U","\xda":"U","\xdb":"U","\u0168":"U","\u1e78":"U","\u016a":"U","\u1e7a":"U","\u016c":"U","\xdc":"U","\u01db":"U","\u01d7":"U","\u01d5":"U","\u01d9":"U","\u1ee6":"U","\u016e":"U","\u0170":"U","\u01d3":"U","\u0214":"U","\u0216":"U","\u01af":"U","\u1eea":"U","\u1ee8":"U","\u1eee":"U","\u1eec":"U","\u1ef0":"U","\u1ee4":"U","\u1e72":"U","\u0172":"U","\u1e76":"U","\u1e74":"U","\u0244":"U","\u24cb":"V","\uff36":"V","\u1e7c":"V","\u1e7e":"V","\u01b2":"V","\ua75e":"V","\u0245":"V","\ua760":"VY","\u24cc":"W","\uff37":"W","\u1e80":"W","\u1e82":"W","\u0174":"W","\u1e86":"W","\u1e84":"W","\u1e88":"W","\u2c72":"W","\u24cd":"X","\uff38":"X","\u1e8a":"X","\u1e8c":"X","\u24ce":"Y","\uff39":"Y","\u1ef2":"Y","\xdd":"Y","\u0176":"Y","\u1ef8":"Y","\u0232":"Y","\u1e8e":"Y","\u0178":"Y","\u1ef6":"Y","\u1ef4":"Y","\u01b3":"Y","\u024e":"Y","\u1efe":"Y","\u24cf":"Z","\uff3a":"Z","\u0179":"Z","\u1e90":"Z","\u017b":"Z","\u017d":"Z","\u1e92":"Z","\u1e94":"Z","\u01b5":"Z","\u0224":"Z","\u2c7f":"Z","\u2c6b":"Z","\ua762":"Z","\u24d0":"a","\uff41":"a","\u1e9a":"a","\xe0":"a","\xe1":"a","\xe2":"a","\u1ea7":"a","\u1ea5":"a","\u1eab":"a","\u1ea9":"a","\xe3":"a","\u0101":"a","\u0103":"a","\u1eb1":"a","\u1eaf":"a","\u1eb5":"a","\u1eb3":"a","\u0227":"a","\u01e1":"a","\xe4":"a","\u01df":"a","\u1ea3":"a","\xe5":"a","\u01fb":"a","\u01ce":"a","\u0201":"a","\u0203":"a","\u1ea1":"a","\u1ead":"a","\u1eb7":"a","\u1e01":"a","\u0105":"a","\u2c65":"a","\u0250":"a","\ua733":"aa","\xe6":"ae","\u01fd":"ae","\u01e3":"ae","\ua735":"ao","\ua737":"au","\ua739":"av","\ua73b":"av","\ua73d":"ay","\u24d1":"b","\uff42":"b","\u1e03":"b","\u1e05":"b","\u1e07":"b","\u0180":"b","\u0183":"b","\u0253":"b","\u24d2":"c","\uff43":"c","\u0107":"c","\u0109":"c","\u010b":"c","\u010d":"c","\xe7":"c","\u1e09":"c","\u0188":"c","\u023c":"c","\ua73f":"c","\u2184":"c","\u24d3":"d","\uff44":"d","\u1e0b":"d","\u010f":"d","\u1e0d":"d","\u1e11":"d","\u1e13":"d","\u1e0f":"d","\u0111":"d","\u018c":"d","\u0256":"d","\u0257":"d","\ua77a":"d","\u01f3":"dz","\u01c6":"dz","\u24d4":"e","\uff45":"e","\xe8":"e","\xe9":"e","\xea":"e","\u1ec1":"e","\u1ebf":"e","\u1ec5":"e","\u1ec3":"e","\u1ebd":"e","\u0113":"e","\u1e15":"e","\u1e17":"e","\u0115":"e","\u0117":"e","\xeb":"e","\u1ebb":"e","\u011b":"e","\u0205":"e","\u0207":"e","\u1eb9":"e","\u1ec7":"e","\u0229":"e","\u1e1d":"e","\u0119":"e","\u1e19":"e","\u1e1b":"e","\u0247":"e","\u025b":"e","\u01dd":"e","\u24d5":"f","\uff46":"f","\u1e1f":"f","\u0192":"f","\ua77c":"f","\u24d6":"g","\uff47":"g","\u01f5":"g","\u011d":"g","\u1e21":"g","\u011f":"g","\u0121":"g","\u01e7":"g","\u0123":"g","\u01e5":"g","\u0260":"g","\ua7a1":"g","\u1d79":"g","\ua77f":"g","\u24d7":"h","\uff48":"h","\u0125":"h","\u1e23":"h","\u1e27":"h","\u021f":"h","\u1e25":"h","\u1e29":"h","\u1e2b":"h","\u1e96":"h","\u0127":"h","\u2c68":"h","\u2c76":"h","\u0265":"h","\u0195":"hv","\u24d8":"i","\uff49":"i","\xec":"i","\xed":"i","\xee":"i","\u0129":"i","\u012b":"i","\u012d":"i","\xef":"i","\u1e2f":"i","\u1ec9":"i","\u01d0":"i","\u0209":"i","\u020b":"i","\u1ecb":"i","\u012f":"i","\u1e2d":"i","\u0268":"i","\u0131":"i","\u24d9":"j","\uff4a":"j","\u0135":"j","\u01f0":"j","\u0249":"j","\u24da":"k","\uff4b":"k","\u1e31":"k","\u01e9":"k","\u1e33":"k","\u0137":"k","\u1e35":"k","\u0199":"k","\u2c6a":"k","\ua741":"k","\ua743":"k","\ua745":"k","\ua7a3":"k","\u24db":"l","\uff4c":"l","\u0140":"l","\u013a":"l","\u013e":"l","\u1e37":"l","\u1e39":"l","\u013c":"l","\u1e3d":"l","\u1e3b":"l","\u017f":"l","\u0142":"l","\u019a":"l","\u026b":"l","\u2c61":"l","\ua749":"l","\ua781":"l","\ua747":"l","\u01c9":"lj","\u24dc":"m","\uff4d":"m","\u1e3f":"m","\u1e41":"m","\u1e43":"m","\u0271":"m","\u026f":"m","\u24dd":"n","\uff4e":"n","\u01f9":"n","\u0144":"n","\xf1":"n","\u1e45":"n","\u0148":"n","\u1e47":"n","\u0146":"n","\u1e4b":"n","\u1e49":"n","\u019e":"n","\u0272":"n","\u0149":"n","\ua791":"n","\ua7a5":"n","\u01cc":"nj","\u24de":"o","\uff4f":"o","\xf2":"o","\xf3":"o","\xf4":"o","\u1ed3":"o","\u1ed1":"o","\u1ed7":"o","\u1ed5":"o","\xf5":"o","\u1e4d":"o","\u022d":"o","\u1e4f":"o","\u014d":"o","\u1e51":"o","\u1e53":"o","\u014f":"o","\u022f":"o","\u0231":"o","\xf6":"o","\u022b":"o","\u1ecf":"o","\u0151":"o","\u01d2":"o","\u020d":"o","\u020f":"o","\u01a1":"o","\u1edd":"o","\u1edb":"o","\u1ee1":"o","\u1edf":"o","\u1ee3":"o","\u1ecd":"o","\u1ed9":"o","\u01eb":"o","\u01ed":"o","\xf8":"o","\u01ff":"o","\u0254":"o","\ua74b":"o","\ua74d":"o","\u0275":"o","\u01a3":"oi","\u0223":"ou","\ua74f":"oo","\u24df":"p","\uff50":"p","\u1e55":"p","\u1e57":"p","\u01a5":"p","\u1d7d":"p","\ua751":"p","\ua753":"p","\ua755":"p","\u24e0":"q","\uff51":"q","\u024b":"q","\ua757":"q","\ua759":"q","\u24e1":"r","\uff52":"r","\u0155":"r","\u1e59":"r","\u0159":"r","\u0211":"r","\u0213":"r","\u1e5b":"r","\u1e5d":"r","\u0157":"r","\u1e5f":"r","\u024d":"r","\u027d":"r","\ua75b":"r","\ua7a7":"r","\ua783":"r","\u24e2":"s","\uff53":"s","\xdf":"s","\u015b":"s","\u1e65":"s","\u015d":"s","\u1e61":"s","\u0161":"s","\u1e67":"s","\u1e63":"s","\u1e69":"s","\u0219":"s","\u015f":"s","\u023f":"s","\ua7a9":"s","\ua785":"s","\u1e9b":"s","\u24e3":"t","\uff54":"t","\u1e6b":"t","\u1e97":"t","\u0165":"t","\u1e6d":"t","\u021b":"t","\u0163":"t","\u1e71":"t","\u1e6f":"t","\u0167":"t","\u01ad":"t","\u0288":"t","\u2c66":"t","\ua787":"t","\ua729":"tz","\u24e4":"u","\uff55":"u","\xf9":"u","\xfa":"u","\xfb":"u","\u0169":"u","\u1e79":"u","\u016b":"u","\u1e7b":"u","\u016d":"u","\xfc":"u","\u01dc":"u","\u01d8":"u","\u01d6":"u","\u01da":"u","\u1ee7":"u","\u016f":"u","\u0171":"u","\u01d4":"u","\u0215":"u","\u0217":"u","\u01b0":"u","\u1eeb":"u","\u1ee9":"u","\u1eef":"u","\u1eed":"u","\u1ef1":"u","\u1ee5":"u","\u1e73":"u","\u0173":"u","\u1e77":"u","\u1e75":"u","\u0289":"u","\u24e5":"v","\uff56":"v","\u1e7d":"v","\u1e7f":"v","\u028b":"v","\ua75f":"v","\u028c":"v","\ua761":"vy","\u24e6":"w","\uff57":"w","\u1e81":"w","\u1e83":"w","\u0175":"w","\u1e87":"w","\u1e85":"w","\u1e98":"w","\u1e89":"w","\u2c73":"w","\u24e7":"x","\uff58":"x","\u1e8b":"x","\u1e8d":"x","\u24e8":"y","\uff59":"y","\u1ef3":"y","\xfd":"y","\u0177":"y","\u1ef9":"y","\u0233":"y","\u1e8f":"y","\xff":"y","\u1ef7":"y","\u1e99":"y","\u1ef5":"y","\u01b4":"y","\u024f":"y","\u1eff":"y","\u24e9":"z","\uff5a":"z","\u017a":"z","\u1e91":"z","\u017c":"z","\u017e":"z","\u1e93":"z","\u1e95":"z","\u01b6":"z","\u0225":"z","\u0240":"z","\u2c6c":"z","\ua763":"z","\u0386":"\u0391","\u0388":"\u0395","\u0389":"\u0397","\u038a":"\u0399","\u03aa":"\u0399","\u038c":"\u039f","\u038e":"\u03a5","\u03ab":"\u03a5","\u038f":"\u03a9","\u03ac":"\u03b1","\u03ad":"\u03b5","\u03ae":"\u03b7","\u03af":"\u03b9","\u03ca":"\u03b9","\u0390":"\u03b9","\u03cc":"\u03bf","\u03cd":"\u03c5","\u03cb":"\u03c5","\u03b0":"\u03c5","\u03c9":"\u03c9","\u03c2":"\u03c3"};i=a(document),f=function(){var a=1;return function(){return a++}}(),c=O(Object,{bind:function(a){var b=this;return function(){a.apply(b,arguments)}},init:function(c){var d,e,g=".select2-results";this.opts=c=this.prepareOpts(c),this.id=c.id,c.element.data("select2")!==b&&null!==c.element.data("select2")&&c.element.data("select2").destroy(),this.container=this.createContainer(),this.liveRegion=a(".select2-hidden-accessible"),0==this.liveRegion.length&&(this.liveRegion=a("<span>",{role:"status","aria-live":"polite"}).addClass("select2-hidden-accessible").appendTo(document.body)),this.containerId="s2id_"+(c.element.attr("id")||"autogen"+f()),this.containerEventName=this.containerId.replace(/([.])/g,"_").replace(/([;&,\-\.\+\*\~':"\!\^#$%@\[\]\(\)=>\|])/g,"\\$1"),this.container.attr("id",this.containerId),this.container.attr("title",c.element.attr("title")),this.body=a(document.body),D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.attr("style",c.element.attr("style")),this.container.css(K(c.containerCss,this.opts.element)),this.container.addClass(K(c.containerCssClass,this.opts.element)),this.elementTabIndex=this.opts.element.attr("tabindex"),this.opts.element.data("select2",this).attr("tabindex","-1").before(this.container).on("click.select2",A),this.container.data("select2",this),this.dropdown=this.container.find(".select2-drop"),D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(c.dropdownCssClass,this.opts.element)),this.dropdown.data("select2",this),this.dropdown.on("click",A),this.results=d=this.container.find(g),this.search=e=this.container.find("input.select2-input"),this.queryCount=0,this.resultsPage=0,this.context=null,this.initContainer(),this.container.on("click",A),v(this.results),this.dropdown.on("mousemove-filtered",g,this.bind(this.highlightUnderEvent)),this.dropdown.on("touchstart touchmove touchend",g,this.bind(function(a){this._touchEvent=!0,this.highlightUnderEvent(a)})),this.dropdown.on("touchmove",g,this.bind(this.touchMoved)),this.dropdown.on("touchstart touchend",g,this.bind(this.clearTouchMoved)),this.dropdown.on("click",this.bind(function(){this._touchEvent&&(this._touchEvent=!1,this.selectHighlighted())})),x(80,this.results),this.dropdown.on("scroll-debounced",g,this.bind(this.loadMoreIfNeeded)),a(this.container).on("change",".select2-input",function(a){a.stopPropagation()}),a(this.dropdown).on("change",".select2-input",function(a){a.stopPropagation()}),a.fn.mousewheel&&d.mousewheel(function(a,b,c,e){var f=d.scrollTop();e>0&&0>=f-e?(d.scrollTop(0),A(a)):0>e&&d.get(0).scrollHeight-d.scrollTop()+e<=d.height()&&(d.scrollTop(d.get(0).scrollHeight-d.height()),A(a))}),u(e),e.on("keyup-change input paste",this.bind(this.updateResults)),e.on("focus",function(){e.addClass("select2-focused")}),e.on("blur",function(){e.removeClass("select2-focused")}),this.dropdown.on("mouseup",g,this.bind(function(b){a(b.target).closest(".select2-result-selectable").length>0&&(this.highlightUnderEvent(b),this.selectHighlighted(b))})),this.dropdown.on("click mouseup mousedown touchstart touchend focusin",function(a){a.stopPropagation()}),this.nextSearchTerm=b,a.isFunction(this.opts.initSelection)&&(this.initSelection(),this.monitorSource()),null!==c.maximumInputLength&&this.search.attr("maxlength",c.maximumInputLength);var h=c.element.prop("disabled");h===b&&(h=!1),this.enable(!h);var i=c.element.prop("readonly");i===b&&(i=!1),this.readonly(i),j=j||q(),this.autofocus=c.element.prop("autofocus"),c.element.prop("autofocus",!1),this.autofocus&&this.focus(),this.search.attr("placeholder",c.searchInputPlaceholder)},destroy:function(){var a=this.opts.element,c=a.data("select2"),d=this;this.close(),a.length&&a[0].detachEvent&&d._sync&&a.each(function(){d._sync&&this.detachEvent("onpropertychange",d._sync)}),this.propertyObserver&&(this.propertyObserver.disconnect(),this.propertyObserver=null),this._sync=null,c!==b&&(c.container.remove(),c.liveRegion.remove(),c.dropdown.remove(),a.show().removeData("select2").off(".select2").prop("autofocus",this.autofocus||!1),this.elementTabIndex?a.attr({tabindex:this.elementTabIndex}):a.removeAttr("tabindex"),a.show()),N.call(this,"container","liveRegion","dropdown","results","search")},optionToData:function(a){return a.is("option")?{id:a.prop("value"),text:a.text(),element:a.get(),css:a.attr("class"),disabled:a.prop("disabled"),locked:r(a.attr("locked"),"locked")||r(a.data("locked"),!0)}:a.is("optgroup")?{text:a.attr("label"),children:[],element:a.get(),css:a.attr("class")}:void 0},prepareOpts:function(c){var d,e,g,h,i=this;if(d=c.element,"select"===d.get(0).tagName.toLowerCase()&&(this.select=e=c.element),e&&a.each(["id","multiple","ajax","query","createSearchChoice","initSelection","data","tags"],function(){if(this in c)throw new Error("Option '"+this+"' is not allowed for Select2 when attached to a <select> element.")}),c=a.extend({},{populateResults:function(d,e,g){var h,j=this.opts.id,k=this.liveRegion;h=function(d,e,l){var m,n,o,p,q,r,s,t,u,v;d=c.sortResults(d,e,g);var w=[];for(m=0,n=d.length;n>m;m+=1)o=d[m],q=o.disabled===!0,p=!q&&j(o)!==b,r=o.children&&o.children.length>0,s=a("<li></li>"),s.addClass("select2-results-dept-"+l),s.addClass("select2-result"),s.addClass(p?"select2-result-selectable":"select2-result-unselectable"),q&&s.addClass("select2-disabled"),r&&s.addClass("select2-result-with-children"),s.addClass(i.opts.formatResultCssClass(o)),s.attr("role","presentation"),t=a(document.createElement("div")),t.addClass("select2-result-label"),t.attr("id","select2-result-label-"+f()),t.attr("role","option"),v=c.formatResult(o,t,g,i.opts.escapeMarkup),v!==b&&(t.html(v),s.append(t)),r&&(u=a("<ul></ul>"),u.addClass("select2-result-sub"),h(o.children,u,l+1),s.append(u)),s.data("select2-data",o),w.push(s[0]);e.append(w),k.text(c.formatMatches(d.length))},h(e,d,0)}},a.fn.select2.defaults,c),"function"!=typeof c.id&&(g=c.id,c.id=function(a){return a[g]}),a.isArray(c.element.data("select2Tags"))){if("tags"in c)throw"tags specified as both an attribute 'data-select2-tags' and in options of Select2 "+c.element.attr("id");c.tags=c.element.data("select2Tags")}if(e?(c.query=this.bind(function(a){var f,g,h,c={results:[],more:!1},e=a.term;h=function(b,c){var d;b.is("option")?a.matcher(e,b.text(),b)&&c.push(i.optionToData(b)):b.is("optgroup")&&(d=i.optionToData(b),b.children().each2(function(a,b){h(b,d.children)}),d.children.length>0&&c.push(d))},f=d.children(),this.getPlaceholder()!==b&&f.length>0&&(g=this.getPlaceholderOption(),g&&(f=f.not(g))),f.each2(function(a,b){h(b,c.results)}),a.callback(c)}),c.id=function(a){return a.id}):"query"in c||("ajax"in c?(h=c.element.data("ajax-url"),h&&h.length>0&&(c.ajax.url=h),c.query=G.call(c.element,c.ajax)):"data"in c?c.query=H(c.data):"tags"in c&&(c.query=I(c.tags),c.createSearchChoice===b&&(c.createSearchChoice=function(b){return{id:a.trim(b),text:a.trim(b)}}),c.initSelection===b&&(c.initSelection=function(b,d){var e=[];a(s(b.val(),c.separator,c.transformVal)).each(function(){var b={id:this,text:this},d=c.tags;a.isFunction(d)&&(d=d()),a(d).each(function(){return r(this.id,b.id)?(b=this,!1):void 0}),e.push(b)}),d(e)}))),"function"!=typeof c.query)throw"query function not defined for Select2 "+c.element.attr("id");if("top"===c.createSearchChoicePosition)c.createSearchChoicePosition=function(a,b){a.unshift(b)};else if("bottom"===c.createSearchChoicePosition)c.createSearchChoicePosition=function(a,b){a.push(b)};else if("function"!=typeof c.createSearchChoicePosition)throw"invalid createSearchChoicePosition option must be 'top', 'bottom' or a custom function";return c},monitorSource:function(){var d,c=this.opts.element,e=this;c.on("change.select2",this.bind(function(){this.opts.element.data("select2-change-triggered")!==!0&&this.initSelection()})),this._sync=this.bind(function(){var a=c.prop("disabled");a===b&&(a=!1),this.enable(!a);var d=c.prop("readonly");d===b&&(d=!1),this.readonly(d),this.container&&(D(this.container,this.opts.element,this.opts.adaptContainerCssClass),this.container.addClass(K(this.opts.containerCssClass,this.opts.element))),this.dropdown&&(D(this.dropdown,this.opts.element,this.opts.adaptDropdownCssClass),this.dropdown.addClass(K(this.opts.dropdownCssClass,this.opts.element)))}),c.length&&c[0].attachEvent&&c.each(function(){this.attachEvent("onpropertychange",e._sync)}),d=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,d!==b&&(this.propertyObserver&&(delete this.propertyObserver,this.propertyObserver=null),this.propertyObserver=new d(function(b){a.each(b,e._sync)}),this.propertyObserver.observe(c.get(0),{attributes:!0,subtree:!1}))},triggerSelect:function(b){var c=a.Event("select2-selecting",{val:this.id(b),object:b,choice:b});return this.opts.element.trigger(c),!c.isDefaultPrevented()},triggerChange:function(b){b=b||{},b=a.extend({},b,{type:"change",val:this.val()}),this.opts.element.data("select2-change-triggered",!0),this.opts.element.trigger(b),this.opts.element.data("select2-change-triggered",!1),this.opts.element.click(),this.opts.blurOnChange&&this.opts.element.blur()},isInterfaceEnabled:function(){return this.enabledInterface===!0},enableInterface:function(){var a=this._enabled&&!this._readonly,b=!a;return a===this.enabledInterface?!1:(this.container.toggleClass("select2-container-disabled",b),this.close(),this.enabledInterface=a,!0)},enable:function(a){a===b&&(a=!0),this._enabled!==a&&(this._enabled=a,this.opts.element.prop("disabled",!a),this.enableInterface())},disable:function(){this.enable(!1)},readonly:function(a){a===b&&(a=!1),this._readonly!==a&&(this._readonly=a,this.opts.element.prop("readonly",a),this.enableInterface())},opened:function(){return this.container?this.container.hasClass("select2-dropdown-open"):!1},positionDropdown:function(){var v,w,x,y,z,b=this.dropdown,c=this.container,d=c.offset(),e=c.outerHeight(!1),f=c.outerWidth(!1),g=b.outerHeight(!1),h=a(window),i=h.width(),k=h.height(),l=h.scrollLeft()+i,m=h.scrollTop()+k,n=d.top+e,o=d.left,p=m>=n+g,q=d.top-g>=h.scrollTop(),r=b.outerWidth(!1),s=function(){return l>=o+r},t=function(){return d.left+l+c.outerWidth(!1)>r},u=b.hasClass("select2-drop-above");u?(w=!0,!q&&p&&(x=!0,w=!1)):(w=!1,!p&&q&&(x=!0,w=!0)),x&&(b.hide(),d=this.container.offset(),e=this.container.outerHeight(!1),f=this.container.outerWidth(!1),g=b.outerHeight(!1),l=h.scrollLeft()+i,m=h.scrollTop()+k,n=d.top+e,o=d.left,r=b.outerWidth(!1),b.show(),this.focusSearch()),this.opts.dropdownAutoWidth?(z=a(".select2-results",b)[0],b.addClass("select2-drop-auto-width"),b.css("width",""),r=b.outerWidth(!1)+(z.scrollHeight===z.clientHeight?0:j.width),r>f?f=r:r=f,g=b.outerHeight(!1)):this.container.removeClass("select2-drop-auto-width"),"static"!==this.body.css("position")&&(v=this.body.offset(),n-=v.top,o-=v.left),!s()&&t()&&(o=d.left+this.container.outerWidth(!1)-r),y={left:o,width:f},w?(y.top=d.top-g,y.bottom="auto",this.container.addClass("select2-drop-above"),b.addClass("select2-drop-above")):(y.top=n,y.bottom="auto",this.container.removeClass("select2-drop-above"),b.removeClass("select2-drop-above")),y=a.extend(y,K(this.opts.dropdownCss,this.opts.element)),b.css(y)},shouldOpen:function(){var b;return this.opened()?!1:this._enabled===!1||this._readonly===!0?!1:(b=a.Event("select2-opening"),this.opts.element.trigger(b),!b.isDefaultPrevented())},clearDropdownAlignmentPreference:function(){this.container.removeClass("select2-drop-above"),this.dropdown.removeClass("select2-drop-above")},open:function(){return this.shouldOpen()?(this.opening(),i.on("mousemove.select2Event",function(a){h.x=a.pageX,h.y=a.pageY}),!0):!1},opening:function(){var f,b=this.containerEventName,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.addClass("select2-dropdown-open").addClass("select2-container-active"),this.clearDropdownAlignmentPreference(),this.dropdown[0]!==this.body.children().last()[0]&&this.dropdown.detach().appendTo(this.body),f=a("#select2-drop-mask"),0===f.length&&(f=a(document.createElement("div")),f.attr("id","select2-drop-mask").attr("class","select2-drop-mask"),f.hide(),f.appendTo(this.body),f.on("mousedown touchstart click",function(b){n(f);var d,c=a("#select2-drop");c.length>0&&(d=c.data("select2"),d.opts.selectOnBlur&&d.selectHighlighted({noFocus:!0}),d.close(),b.preventDefault(),b.stopPropagation())})),this.dropdown.prev()[0]!==f[0]&&this.dropdown.before(f),a("#select2-drop").removeAttr("id"),this.dropdown.attr("id","select2-drop"),f.show(),this.positionDropdown(),this.dropdown.show(),this.positionDropdown(),this.dropdown.addClass("select2-drop-active");var g=this;this.container.parents().add(window).each(function(){a(this).on(d+" "+c+" "+e,function(){g.opened()&&g.positionDropdown()})})},close:function(){if(this.opened()){var b=this.containerEventName,c="scroll."+b,d="resize."+b,e="orientationchange."+b;this.container.parents().add(window).each(function(){a(this).off(c).off(d).off(e)}),this.clearDropdownAlignmentPreference(),a("#select2-drop-mask").hide(),this.dropdown.removeAttr("id"),this.dropdown.hide(),this.container.removeClass("select2-dropdown-open").removeClass("select2-container-active"),this.results.empty(),i.off("mousemove.select2Event"),this.clearSearch(),this.search.removeClass("select2-active"),this.opts.element.trigger(a.Event("select2-close"))}},externalSearch:function(a){this.open(),this.search.val(a),this.updateResults(!1)},clearSearch:function(){},getMaximumSelectionSize:function(){return K(this.opts.maximumSelectionSize,this.opts.element)},ensureHighlightVisible:function(){var c,d,e,f,g,h,i,j,b=this.results;if(d=this.highlight(),!(0>d)){if(0==d)return b.scrollTop(0),void 0;c=this.findHighlightableChoices().find(".select2-result-label"),e=a(c[d]),j=(e.offset()||{}).top||0,f=j+e.outerHeight(!0),d===c.length-1&&(i=b.find("li.select2-more-results"),i.length>0&&(f=i.offset().top+i.outerHeight(!0))),g=b.offset().top+b.outerHeight(!1),f>g&&b.scrollTop(b.scrollTop()+(f-g)),h=j-b.offset().top,0>h&&"none"!=e.css("display")&&b.scrollTop(b.scrollTop()+h)}},findHighlightableChoices:function(){return this.results.find(".select2-result-selectable:not(.select2-disabled):not(.select2-selected)")},moveHighlight:function(b){for(var c=this.findHighlightableChoices(),d=this.highlight();d>-1&&d<c.length;){d+=b;
22
- var e=a(c[d]);if(e.hasClass("select2-result-selectable")&&!e.hasClass("select2-disabled")&&!e.hasClass("select2-selected")){this.highlight(d);break}}},highlight:function(b){var d,e,c=this.findHighlightableChoices();return 0===arguments.length?p(c.filter(".select2-highlighted")[0],c.get()):(b>=c.length&&(b=c.length-1),0>b&&(b=0),this.removeHighlight(),d=a(c[b]),d.addClass("select2-highlighted"),this.search.attr("aria-activedescendant",d.find(".select2-result-label").attr("id")),this.ensureHighlightVisible(),this.liveRegion.text(d.text()),e=d.data("select2-data"),e&&this.opts.element.trigger({type:"select2-highlight",val:this.id(e),choice:e}),void 0)},removeHighlight:function(){this.results.find(".select2-highlighted").removeClass("select2-highlighted")},touchMoved:function(){this._touchMoved=!0},clearTouchMoved:function(){this._touchMoved=!1},countSelectableResults:function(){return this.findHighlightableChoices().length},highlightUnderEvent:function(b){var c=a(b.target).closest(".select2-result-selectable");if(c.length>0&&!c.is(".select2-highlighted")){var d=this.findHighlightableChoices();this.highlight(d.index(c))}else 0==c.length&&this.removeHighlight()},loadMoreIfNeeded:function(){var c,a=this.results,b=a.find("li.select2-more-results"),d=this.resultsPage+1,e=this,f=this.search.val(),g=this.context;0!==b.length&&(c=b.offset().top-a.offset().top-a.height(),c<=this.opts.loadMorePadding&&(b.addClass("select2-active"),this.opts.query({element:this.opts.element,term:f,page:d,context:g,matcher:this.opts.matcher,callback:this.bind(function(c){e.opened()&&(e.opts.populateResults.call(this,a,c.results,{term:f,page:d,context:g}),e.postprocessResults(c,!1,!1),c.more===!0?(b.detach().appendTo(a).html(e.opts.escapeMarkup(K(e.opts.formatLoadMore,e.opts.element,d+1))),window.setTimeout(function(){e.loadMoreIfNeeded()},10)):b.remove(),e.positionDropdown(),e.resultsPage=d,e.context=c.context,this.opts.element.trigger({type:"select2-loaded",items:c}))})})))},tokenize:function(){},updateResults:function(c){function m(){d.removeClass("select2-active"),h.positionDropdown(),e.find(".select2-no-results,.select2-selection-limit,.select2-searching").length?h.liveRegion.text(e.text()):h.liveRegion.text(h.opts.formatMatches(e.find('.select2-result-selectable:not(".select2-selected")').length))}function n(a){e.html(a),m()}var g,i,l,d=this.search,e=this.results,f=this.opts,h=this,j=d.val(),k=a.data(this.container,"select2-last-term");if((c===!0||!k||!r(j,k))&&(a.data(this.container,"select2-last-term",j),c===!0||this.showSearchInput!==!1&&this.opened())){l=++this.queryCount;var o=this.getMaximumSelectionSize();if(o>=1&&(g=this.data(),a.isArray(g)&&g.length>=o&&J(f.formatSelectionTooBig,"formatSelectionTooBig")))return n("<li class='select2-selection-limit'>"+K(f.formatSelectionTooBig,f.element,o)+"</li>"),void 0;if(d.val().length<f.minimumInputLength)return J(f.formatInputTooShort,"formatInputTooShort")?n("<li class='select2-no-results'>"+K(f.formatInputTooShort,f.element,d.val(),f.minimumInputLength)+"</li>"):n(""),c&&this.showSearch&&this.showSearch(!0),void 0;if(f.maximumInputLength&&d.val().length>f.maximumInputLength)return J(f.formatInputTooLong,"formatInputTooLong")?n("<li class='select2-no-results'>"+K(f.formatInputTooLong,f.element,d.val(),f.maximumInputLength)+"</li>"):n(""),void 0;f.formatSearching&&0===this.findHighlightableChoices().length&&n("<li class='select2-searching'>"+K(f.formatSearching,f.element)+"</li>"),d.addClass("select2-active"),this.removeHighlight(),i=this.tokenize(),i!=b&&null!=i&&d.val(i),this.resultsPage=1,f.query({element:f.element,term:d.val(),page:this.resultsPage,context:null,matcher:f.matcher,callback:this.bind(function(g){var i;if(l==this.queryCount){if(!this.opened())return this.search.removeClass("select2-active"),void 0;if(g.hasError!==b&&J(f.formatAjaxError,"formatAjaxError"))return n("<li class='select2-ajax-error'>"+K(f.formatAjaxError,f.element,g.jqXHR,g.textStatus,g.errorThrown)+"</li>"),void 0;if(this.context=g.context===b?null:g.context,this.opts.createSearchChoice&&""!==d.val()&&(i=this.opts.createSearchChoice.call(h,d.val(),g.results),i!==b&&null!==i&&h.id(i)!==b&&null!==h.id(i)&&0===a(g.results).filter(function(){return r(h.id(this),h.id(i))}).length&&this.opts.createSearchChoicePosition(g.results,i)),0===g.results.length&&J(f.formatNoMatches,"formatNoMatches"))return n("<li class='select2-no-results'>"+K(f.formatNoMatches,f.element,d.val())+"</li>"),void 0;e.empty(),h.opts.populateResults.call(this,e,g.results,{term:d.val(),page:this.resultsPage,context:null}),g.more===!0&&J(f.formatLoadMore,"formatLoadMore")&&(e.append("<li class='select2-more-results'>"+f.escapeMarkup(K(f.formatLoadMore,f.element,this.resultsPage))+"</li>"),window.setTimeout(function(){h.loadMoreIfNeeded()},10)),this.postprocessResults(g,c),m(),this.opts.element.trigger({type:"select2-loaded",items:g})}})})}},cancel:function(){this.close()},blur:function(){this.opts.selectOnBlur&&this.selectHighlighted({noFocus:!0}),this.close(),this.container.removeClass("select2-container-active"),this.search[0]===document.activeElement&&this.search.blur(),this.clearSearch(),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus")},focusSearch:function(){y(this.search)},selectHighlighted:function(a){if(this._touchMoved)return this.clearTouchMoved(),void 0;var b=this.highlight(),c=this.results.find(".select2-highlighted"),d=c.closest(".select2-result").data("select2-data");d?(this.highlight(b),this.onSelect(d,a)):a&&a.noFocus&&this.close()},getPlaceholder:function(){var a;return this.opts.element.attr("placeholder")||this.opts.element.attr("data-placeholder")||this.opts.element.data("placeholder")||this.opts.placeholder||((a=this.getPlaceholderOption())!==b?a.text():b)},getPlaceholderOption:function(){if(this.select){var c=this.select.children("option").first();if(this.opts.placeholderOption!==b)return"first"===this.opts.placeholderOption&&c||"function"==typeof this.opts.placeholderOption&&this.opts.placeholderOption(this.select);if(""===a.trim(c.text())&&""===c.val())return c}},initContainerWidth:function(){function c(){var c,d,e,f,g,h;if("off"===this.opts.width)return null;if("element"===this.opts.width)return 0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px";if("copy"===this.opts.width||"resolve"===this.opts.width){if(c=this.opts.element.attr("style"),c!==b)for(d=c.split(";"),f=0,g=d.length;g>f;f+=1)if(h=d[f].replace(/\s/g,""),e=h.match(/^width:(([-+]?([0-9]*\.)?[0-9]+)(px|em|ex|%|in|cm|mm|pt|pc))/i),null!==e&&e.length>=1)return e[1];return"resolve"===this.opts.width?(c=this.opts.element.css("width"),c.indexOf("%")>0?c:0===this.opts.element.outerWidth(!1)?"auto":this.opts.element.outerWidth(!1)+"px"):null}return a.isFunction(this.opts.width)?this.opts.width():this.opts.width}var d=c.call(this);null!==d&&this.container.css("width",d)}}),d=O(c,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container"}).html(["<a href='javascript:void(0)' class='select2-choice' tabindex='-1'>"," <span class='select2-chosen'>&#160;</span><abbr class='select2-search-choice-close'></abbr>"," <span class='select2-arrow' role='presentation'><b role='presentation'></b></span>","</a>","<label for='' class='select2-offscreen'></label>","<input class='select2-focusser select2-offscreen' type='text' aria-haspopup='true' role='button' />","<div class='select2-drop select2-display-none'>"," <div class='select2-search'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input' role='combobox' aria-expanded='true'"," aria-autocomplete='list' />"," </div>"," <ul class='select2-results' role='listbox'>"," </ul>","</div>"].join(""));return b},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.focusser.prop("disabled",!this.isInterfaceEnabled())},opening:function(){var c,d,e;this.opts.minimumResultsForSearch>=0&&this.showSearch(!0),this.parent.opening.apply(this,arguments),this.showSearchInput!==!1&&this.search.val(this.focusser.val()),this.opts.shouldFocusInput(this)&&(this.search.focus(),c=this.search.get(0),c.createTextRange?(d=c.createTextRange(),d.collapse(!1),d.select()):c.setSelectionRange&&(e=this.search.val().length,c.setSelectionRange(e,e))),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.focusser.prop("disabled",!0).val(""),this.updateResults(!0),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&(this.parent.close.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},focus:function(){this.opened()?this.close():(this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus())},isFocused:function(){return this.container.hasClass("select2-container-active")},cancel:function(){this.parent.cancel.apply(this,arguments),this.focusser.prop("disabled",!1),this.opts.shouldFocusInput(this)&&this.focusser.focus()},destroy:function(){a("label[for='"+this.focusser.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"selection","focusser")},initContainer:function(){var b,g,c=this.container,d=this.dropdown,e=f();this.opts.minimumResultsForSearch<0?this.showSearch(!1):this.showSearch(!0),this.selection=b=c.find(".select2-choice"),this.focusser=c.find(".select2-focusser"),b.find(".select2-chosen").attr("id","select2-chosen-"+e),this.focusser.attr("aria-labelledby","select2-chosen-"+e),this.results.attr("id","select2-results-"+e),this.search.attr("aria-owns","select2-results-"+e),this.focusser.attr("id","s2id_autogen"+e),g=a("label[for='"+this.opts.element.attr("id")+"']"),this.opts.element.focus(this.bind(function(){this.focus()})),this.focusser.prev().text(g.text()).attr("for",this.focusser.attr("id"));var h=this.opts.element.attr("title");this.opts.element.attr("title",h||g.text()),this.focusser.attr("tabindex",this.elementTabIndex),this.search.attr("id",this.focusser.attr("id")+"_search"),this.search.prev().text(a("label[for='"+this.focusser.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&229!=a.keyCode){if(a.which===k.PAGE_UP||a.which===k.PAGE_DOWN)return A(a),void 0;switch(a.which){case k.UP:case k.DOWN:return this.moveHighlight(a.which===k.UP?-1:1),A(a),void 0;case k.ENTER:return this.selectHighlighted(),A(a),void 0;case k.TAB:return this.selectHighlighted({noFocus:!0}),void 0;case k.ESC:return this.cancel(a),A(a),void 0}}})),this.search.on("blur",this.bind(function(){document.activeElement===this.body.get(0)&&window.setTimeout(this.bind(function(){this.opened()&&this.search.focus()}),0)})),this.focusser.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()&&a.which!==k.TAB&&!k.isControl(a)&&!k.isFunctionKey(a)&&a.which!==k.ESC){if(this.opts.openOnEnter===!1&&a.which===k.ENTER)return A(a),void 0;if(a.which==k.DOWN||a.which==k.UP||a.which==k.ENTER&&this.opts.openOnEnter){if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return;return this.open(),A(a),void 0}return a.which==k.DELETE||a.which==k.BACKSPACE?(this.opts.allowClear&&this.clear(),A(a),void 0):void 0}})),u(this.focusser),this.focusser.on("keyup-change input",this.bind(function(a){if(this.opts.minimumResultsForSearch>=0){if(a.stopPropagation(),this.opened())return;this.open()}})),b.on("mousedown touchstart","abbr",this.bind(function(a){this.isInterfaceEnabled()&&(this.clear(),B(a),this.close(),this.selection&&this.selection.focus())})),b.on("mousedown touchstart",this.bind(function(c){n(b),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.opened()?this.close():this.isInterfaceEnabled()&&this.open(),A(c)})),d.on("mousedown touchstart",this.bind(function(){this.opts.shouldFocusInput(this)&&this.search.focus()})),b.on("focus",this.bind(function(a){A(a)})),this.focusser.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})).on("blur",this.bind(function(){this.opened()||(this.container.removeClass("select2-container-active"),this.opts.element.trigger(a.Event("select2-blur")))})),this.search.on("focus",this.bind(function(){this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active")})),this.initContainerWidth(),this.opts.element.hide(),this.setPlaceholder()},clear:function(b){var c=this.selection.data("select2-data");if(c){var d=a.Event("select2-clearing");if(this.opts.element.trigger(d),d.isDefaultPrevented())return;var e=this.getPlaceholderOption();this.opts.element.val(e?e.val():""),this.selection.find(".select2-chosen").empty(),this.selection.removeData("select2-data"),this.setPlaceholder(),b!==!1&&(this.opts.element.trigger({type:"select2-removed",val:this.id(c),choice:c}),this.triggerChange({removed:c}))}},initSelection:function(){if(this.isPlaceholderOptionSelected())this.updateSelection(null),this.close(),this.setPlaceholder();else{var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.setPlaceholder(),c.nextSearchTerm=c.opts.nextSearchTerm(a,c.search.val()))})}},isPlaceholderOptionSelected:function(){var a;return this.getPlaceholder()===b?!1:(a=this.getPlaceholderOption())!==b&&a.prop("selected")||""===this.opts.element.val()||this.opts.element.val()===b||null===this.opts.element.val()},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=a.find("option").filter(function(){return this.selected&&!this.disabled});b(c.optionToData(d))}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=c.val(),f=null;b.query({matcher:function(a,c,d){var g=r(e,b.id(d));return g&&(f=d),g},callback:a.isFunction(d)?function(){d(f)}:a.noop})}),b},getPlaceholder:function(){return this.select&&this.getPlaceholderOption()===b?b:this.parent.getPlaceholder.apply(this,arguments)},setPlaceholder:function(){var a=this.getPlaceholder();if(this.isPlaceholderOptionSelected()&&a!==b){if(this.select&&this.getPlaceholderOption()===b)return;this.selection.find(".select2-chosen").html(this.opts.escapeMarkup(a)),this.selection.addClass("select2-default"),this.container.removeClass("select2-allowclear")}},postprocessResults:function(a,b,c){var d=0,e=this;if(this.findHighlightableChoices().each2(function(a,b){return r(e.id(b.data("select2-data")),e.opts.element.val())?(d=a,!1):void 0}),c!==!1&&(b===!0&&d>=0?this.highlight(d):this.highlight(0)),b===!0){var g=this.opts.minimumResultsForSearch;g>=0&&this.showSearch(L(a.results)>=g)}},showSearch:function(b){this.showSearchInput!==b&&(this.showSearchInput=b,this.dropdown.find(".select2-search").toggleClass("select2-search-hidden",!b),this.dropdown.find(".select2-search").toggleClass("select2-offscreen",!b),a(this.dropdown,this.container).toggleClass("select2-with-searchbox",b))},onSelect:function(a,b){if(this.triggerSelect(a)){var c=this.opts.element.val(),d=this.data();this.opts.element.val(this.id(a)),this.updateSelection(a),this.opts.element.trigger({type:"select2-selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.close(),b&&b.noFocus||!this.opts.shouldFocusInput(this)||this.focusser.focus(),r(c,this.id(a))||this.triggerChange({added:a,removed:d})}},updateSelection:function(a){var d,e,c=this.selection.find(".select2-chosen");this.selection.data("select2-data",a),c.empty(),null!==a&&(d=this.opts.formatSelection(a,c,this.opts.escapeMarkup)),d!==b&&c.append(d),e=this.opts.formatSelectionCssClass(a,c),e!==b&&c.addClass(e),this.selection.removeClass("select2-default"),this.opts.allowClear&&this.getPlaceholder()!==b&&this.container.addClass("select2-allowclear")},val:function(){var a,c=!1,d=null,e=this,f=this.data();if(0===arguments.length)return this.opts.element.val();if(a=arguments[0],arguments.length>1&&(c=arguments[1]),this.select)this.select.val(a).find("option").filter(function(){return this.selected}).each2(function(a,b){return d=e.optionToData(b),!1}),this.updateSelection(d),this.setPlaceholder(),c&&this.triggerChange({added:d,removed:f});else{if(!a&&0!==a)return this.clear(c),void 0;if(this.opts.initSelection===b)throw new Error("cannot call val() if initSelection() is not defined");this.opts.element.val(a),this.opts.initSelection(this.opts.element,function(a){e.opts.element.val(a?e.id(a):""),e.updateSelection(a),e.setPlaceholder(),c&&e.triggerChange({added:a,removed:f})})}},clearSearch:function(){this.search.val(""),this.focusser.val("")},data:function(a){var c,d=!1;return 0===arguments.length?(c=this.selection.data("select2-data"),c==b&&(c=null),c):(arguments.length>1&&(d=arguments[1]),a?(c=this.data(),this.opts.element.val(a?this.id(a):""),this.updateSelection(a),d&&this.triggerChange({added:a,removed:c})):this.clear(d),void 0)}}),e=O(c,{createContainer:function(){var b=a(document.createElement("div")).attr({"class":"select2-container select2-container-multi"}).html(["<ul class='select2-choices'>"," <li class='select2-search-field'>"," <label for='' class='select2-offscreen'></label>"," <input type='text' autocomplete='off' autocorrect='off' autocapitalize='off' spellcheck='false' class='select2-input'>"," </li>","</ul>","<div class='select2-drop select2-drop-multi select2-display-none'>"," <ul class='select2-results'>"," </ul>","</div>"].join(""));return b},prepareOpts:function(){var b=this.parent.prepareOpts.apply(this,arguments),c=this;return"select"===b.element.get(0).tagName.toLowerCase()?b.initSelection=function(a,b){var d=[];a.find("option").filter(function(){return this.selected&&!this.disabled}).each2(function(a,b){d.push(c.optionToData(b))}),b(d)}:"data"in b&&(b.initSelection=b.initSelection||function(c,d){var e=s(c.val(),b.separator,b.transformVal),f=[];b.query({matcher:function(c,d,g){var h=a.grep(e,function(a){return r(a,b.id(g))}).length;return h&&f.push(g),h},callback:a.isFunction(d)?function(){for(var a=[],c=0;c<e.length;c++)for(var g=e[c],h=0;h<f.length;h++){var i=f[h];if(r(g,b.id(i))){a.push(i),f.splice(h,1);break}}d(a)}:a.noop})}),b},selectChoice:function(a){var b=this.container.find(".select2-search-choice-focus");b.length&&a&&a[0]==b[0]||(b.length&&this.opts.element.trigger("choice-deselected",b),b.removeClass("select2-search-choice-focus"),a&&a.length&&(this.close(),a.addClass("select2-search-choice-focus"),this.opts.element.trigger("choice-selected",a)))},destroy:function(){a("label[for='"+this.search.attr("id")+"']").attr("for",this.opts.element.attr("id")),this.parent.destroy.apply(this,arguments),N.call(this,"searchContainer","selection")},initContainer:function(){var c,b=".select2-choices";this.searchContainer=this.container.find(".select2-search-field"),this.selection=c=this.container.find(b);var d=this;this.selection.on("click",".select2-container:not(.select2-container-disabled) .select2-search-choice:not(.select2-locked)",function(){d.search[0].focus(),d.selectChoice(a(this))}),this.search.attr("id","s2id_autogen"+f()),this.search.prev().text(a("label[for='"+this.opts.element.attr("id")+"']").text()).attr("for",this.search.attr("id")),this.opts.element.focus(this.bind(function(){this.focus()})),this.search.on("input paste",this.bind(function(){this.search.attr("placeholder")&&0==this.search.val().length||this.isInterfaceEnabled()&&(this.opened()||this.open())})),this.search.attr("tabindex",this.elementTabIndex),this.keydowns=0,this.search.on("keydown",this.bind(function(a){if(this.isInterfaceEnabled()){++this.keydowns;var b=c.find(".select2-search-choice-focus"),d=b.prev(".select2-search-choice:not(.select2-locked)"),e=b.next(".select2-search-choice:not(.select2-locked)"),f=z(this.search);if(b.length&&(a.which==k.LEFT||a.which==k.RIGHT||a.which==k.BACKSPACE||a.which==k.DELETE||a.which==k.ENTER)){var g=b;return a.which==k.LEFT&&d.length?g=d:a.which==k.RIGHT?g=e.length?e:null:a.which===k.BACKSPACE?this.unselect(b.first())&&(this.search.width(10),g=d.length?d:e):a.which==k.DELETE?this.unselect(b.first())&&(this.search.width(10),g=e.length?e:null):a.which==k.ENTER&&(g=null),this.selectChoice(g),A(a),g&&g.length||this.open(),void 0}if((a.which===k.BACKSPACE&&1==this.keydowns||a.which==k.LEFT)&&0==f.offset&&!f.length)return this.selectChoice(c.find(".select2-search-choice:not(.select2-locked)").last()),A(a),void 0;if(this.selectChoice(null),this.opened())switch(a.which){case k.UP:case k.DOWN:return this.moveHighlight(a.which===k.UP?-1:1),A(a),void 0;case k.ENTER:return this.selectHighlighted(),A(a),void 0;case k.TAB:return this.selectHighlighted({noFocus:!0}),this.close(),void 0;case k.ESC:return this.cancel(a),A(a),void 0}if(a.which!==k.TAB&&!k.isControl(a)&&!k.isFunctionKey(a)&&a.which!==k.BACKSPACE&&a.which!==k.ESC){if(a.which===k.ENTER){if(this.opts.openOnEnter===!1)return;if(a.altKey||a.ctrlKey||a.shiftKey||a.metaKey)return}this.open(),(a.which===k.PAGE_UP||a.which===k.PAGE_DOWN)&&A(a),a.which===k.ENTER&&A(a)}}})),this.search.on("keyup",this.bind(function(){this.keydowns=0,this.resizeSearch()})),this.search.on("blur",this.bind(function(b){this.container.removeClass("select2-container-active"),this.search.removeClass("select2-focused"),this.selectChoice(null),this.opened()||this.clearSearch(),b.stopImmediatePropagation(),this.opts.element.trigger(a.Event("select2-blur"))})),this.container.on("click",b,this.bind(function(b){this.isInterfaceEnabled()&&(a(b.target).closest(".select2-search-choice").length>0||(this.selectChoice(null),this.clearPlaceholder(),this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.open(),this.focusSearch(),b.preventDefault()))})),this.container.on("focus",b,this.bind(function(){this.isInterfaceEnabled()&&(this.container.hasClass("select2-container-active")||this.opts.element.trigger(a.Event("select2-focus")),this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"),this.clearPlaceholder())})),this.initContainerWidth(),this.opts.element.hide(),this.clearSearch()},enableInterface:function(){this.parent.enableInterface.apply(this,arguments)&&this.search.prop("disabled",!this.isInterfaceEnabled())},initSelection:function(){if(""===this.opts.element.val()&&""===this.opts.element.text()&&(this.updateSelection([]),this.close(),this.clearSearch()),this.select||""!==this.opts.element.val()){var c=this;this.opts.initSelection.call(null,this.opts.element,function(a){a!==b&&null!==a&&(c.updateSelection(a),c.close(),c.clearSearch())})}},clearSearch:function(){var a=this.getPlaceholder(),c=this.getMaxSearchWidth();a!==b&&0===this.getVal().length&&this.search.hasClass("select2-focused")===!1?(this.search.val(a).addClass("select2-default"),this.search.width(c>0?c:this.container.css("width"))):this.search.val("").width(10)},clearPlaceholder:function(){this.search.hasClass("select2-default")&&this.search.val("").removeClass("select2-default")},opening:function(){this.clearPlaceholder(),this.resizeSearch(),this.parent.opening.apply(this,arguments),this.focusSearch(),""===this.search.val()&&this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.search.select()),this.updateResults(!0),this.opts.shouldFocusInput(this)&&this.search.focus(),this.opts.element.trigger(a.Event("select2-open"))},close:function(){this.opened()&&this.parent.close.apply(this,arguments)},focus:function(){this.close(),this.search.focus()},isFocused:function(){return this.search.hasClass("select2-focused")},updateSelection:function(b){var c=[],d=[],e=this;a(b).each(function(){p(e.id(this),c)<0&&(c.push(e.id(this)),d.push(this))}),b=d,this.selection.find(".select2-search-choice").remove(),a(b).each(function(){e.addSelectedChoice(this)}),e.postprocessResults()},tokenize:function(){var a=this.search.val();a=this.opts.tokenizer.call(this,a,this.data(),this.bind(this.onSelect),this.opts),null!=a&&a!=b&&(this.search.val(a),a.length>0&&this.open())},onSelect:function(a,c){this.triggerSelect(a)&&""!==a.text&&(this.addSelectedChoice(a),this.opts.element.trigger({type:"selected",val:this.id(a),choice:a}),this.nextSearchTerm=this.opts.nextSearchTerm(a,this.search.val()),this.clearSearch(),this.updateResults(),(this.select||!this.opts.closeOnSelect)&&this.postprocessResults(a,!1,this.opts.closeOnSelect===!0),this.opts.closeOnSelect?(this.close(),this.search.width(10)):this.countSelectableResults()>0?(this.search.width(10),this.resizeSearch(),this.getMaximumSelectionSize()>0&&this.val().length>=this.getMaximumSelectionSize()?this.updateResults(!0):this.nextSearchTerm!=b&&(this.search.val(this.nextSearchTerm),this.updateResults(),this.search.select()),this.positionDropdown()):(this.close(),this.search.width(10)),this.triggerChange({added:a}),c&&c.noFocus||this.focusSearch())},cancel:function(){this.close(),this.focusSearch()},addSelectedChoice:function(c){var j,k,d=!c.locked,e=a("<li class='select2-search-choice'> <div></div> <a href='#' class='select2-search-choice-close' tabindex='-1'></a></li>"),f=a("<li class='select2-search-choice select2-locked'><div></div></li>"),g=d?e:f,h=this.id(c),i=this.getVal();j=this.opts.formatSelection(c,g.find("div"),this.opts.escapeMarkup),j!=b&&g.find("div").replaceWith(a("<div></div>").html(j)),k=this.opts.formatSelectionCssClass(c,g.find("div")),k!=b&&g.addClass(k),d&&g.find(".select2-search-choice-close").on("mousedown",A).on("click dblclick",this.bind(function(b){this.isInterfaceEnabled()&&(this.unselect(a(b.target)),this.selection.find(".select2-search-choice-focus").removeClass("select2-search-choice-focus"),A(b),this.close(),this.focusSearch())})).on("focus",this.bind(function(){this.isInterfaceEnabled()&&(this.container.addClass("select2-container-active"),this.dropdown.addClass("select2-drop-active"))})),g.data("select2-data",c),g.insertBefore(this.searchContainer),i.push(h),this.setVal(i)},unselect:function(b){var d,e,c=this.getVal();if(b=b.closest(".select2-search-choice"),0===b.length)throw"Invalid argument: "+b+". Must be .select2-search-choice";if(d=b.data("select2-data")){var f=a.Event("select2-removing");if(f.val=this.id(d),f.choice=d,this.opts.element.trigger(f),f.isDefaultPrevented())return!1;for(;(e=p(this.id(d),c))>=0;)c.splice(e,1),this.setVal(c),this.select&&this.postprocessResults();return b.remove(),this.opts.element.trigger({type:"select2-removed",val:this.id(d),choice:d}),this.triggerChange({removed:d}),!0}},postprocessResults:function(a,b,c){var d=this.getVal(),e=this.results.find(".select2-result"),f=this.results.find(".select2-result-with-children"),g=this;e.each2(function(a,b){var c=g.id(b.data("select2-data"));p(c,d)>=0&&(b.addClass("select2-selected"),b.find(".select2-result-selectable").addClass("select2-selected"))}),f.each2(function(a,b){b.is(".select2-result-selectable")||0!==b.find(".select2-result-selectable:not(.select2-selected)").length||b.addClass("select2-selected")}),-1==this.highlight()&&c!==!1&&this.opts.closeOnSelect===!0&&g.highlight(0),!this.opts.createSearchChoice&&!e.filter(".select2-result:not(.select2-selected)").length>0&&(!a||a&&!a.more&&0===this.results.find(".select2-no-results").length)&&J(g.opts.formatNoMatches,"formatNoMatches")&&this.results.append("<li class='select2-no-results'>"+K(g.opts.formatNoMatches,g.opts.element,g.search.val())+"</li>")},getMaxSearchWidth:function(){return this.selection.width()-t(this.search)},resizeSearch:function(){var a,b,c,d,e,f=t(this.search);a=C(this.search)+10,b=this.search.offset().left,c=this.selection.width(),d=this.selection.offset().left,e=c-(b-d)-f,a>e&&(e=c-f),40>e&&(e=c-f),0>=e&&(e=a),this.search.width(Math.floor(e))},getVal:function(){var a;return this.select?(a=this.select.val(),null===a?[]:a):(a=this.opts.element.val(),s(a,this.opts.separator,this.opts.transformVal))},setVal:function(b){var c;this.select?this.select.val(b):(c=[],a(b).each(function(){p(this,c)<0&&c.push(this)}),this.opts.element.val(0===c.length?"":c.join(this.opts.separator)))},buildChangeDetails:function(a,b){for(var b=b.slice(0),a=a.slice(0),c=0;c<b.length;c++)for(var d=0;d<a.length;d++)r(this.opts.id(b[c]),this.opts.id(a[d]))&&(b.splice(c,1),c>0&&c--,a.splice(d,1),d--);return{added:b,removed:a}},val:function(c,d){var e,f=this;if(0===arguments.length)return this.getVal();if(e=this.data(),e.length||(e=[]),!c&&0!==c)return this.opts.element.val(""),this.updateSelection([]),this.clearSearch(),d&&this.triggerChange({added:this.data(),removed:e}),void 0;if(this.setVal(c),this.select)this.opts.initSelection(this.select,this.bind(this.updateSelection)),d&&this.triggerChange(this.buildChangeDetails(e,this.data()));else{if(this.opts.initSelection===b)throw new Error("val() cannot be called if initSelection() is not defined");this.opts.initSelection(this.opts.element,function(b){var c=a.map(b,f.id);f.setVal(c),f.updateSelection(b),f.clearSearch(),d&&f.triggerChange(f.buildChangeDetails(e,f.data()))})}this.clearSearch()},onSortStart:function(){if(this.select)throw new Error("Sorting of elements is not supported when attached to <select>. Attach to <input type='hidden'/> instead.");this.search.width(0),this.searchContainer.hide()},onSortEnd:function(){var b=[],c=this;this.searchContainer.show(),this.searchContainer.appendTo(this.searchContainer.parent()),this.resizeSearch(),this.selection.find(".select2-search-choice").each(function(){b.push(c.opts.id(a(this).data("select2-data")))}),this.setVal(b),this.triggerChange()},data:function(b,c){var e,f,d=this;return 0===arguments.length?this.selection.children(".select2-search-choice").map(function(){return a(this).data("select2-data")}).get():(f=this.data(),b||(b=[]),e=a.map(b,function(a){return d.opts.id(a)}),this.setVal(e),this.updateSelection(b),this.clearSearch(),c&&this.triggerChange(this.buildChangeDetails(f,this.data())),void 0)}}),a.fn.select2=function(){var d,e,f,g,h,c=Array.prototype.slice.call(arguments,0),i=["val","destroy","opened","open","close","focus","isFocused","container","dropdown","onSortStart","onSortEnd","enable","disable","readonly","positionDropdown","data","search"],j=["opened","isFocused","container","dropdown"],k=["val","data"],l={search:"externalSearch"};return this.each(function(){if(0===c.length||"object"==typeof c[0])d=0===c.length?{}:a.extend({},c[0]),d.element=a(this),"select"===d.element.get(0).tagName.toLowerCase()?h=d.element.prop("multiple"):(h=d.multiple||!1,"tags"in d&&(d.multiple=h=!0)),e=h?new window.Select2["class"].multi:new window.Select2["class"].single,e.init(d);else{if("string"!=typeof c[0])throw"Invalid arguments to select2 plugin: "+c;if(p(c[0],i)<0)throw"Unknown method: "+c[0];if(g=b,e=a(this).data("select2"),e===b)return;if(f=c[0],"container"===f?g=e.container:"dropdown"===f?g=e.dropdown:(l[f]&&(f=l[f]),g=e[f].apply(e,c.slice(1))),p(c[0],j)>=0||p(c[0],k)>=0&&1==c.length)return!1}}),g===b?this:g},a.fn.select2.defaults={width:"copy",loadMorePadding:0,closeOnSelect:!0,openOnEnter:!0,containerCss:{},dropdownCss:{},containerCssClass:"",dropdownCssClass:"",formatResult:function(a,b,c,d){var e=[];return E(this.text(a),c.term,e,d),e.join("")},transformVal:function(b){return a.trim(b)},formatSelection:function(a,c,d){return a?d(this.text(a)):b},sortResults:function(a){return a},formatResultCssClass:function(a){return a.css},formatSelectionCssClass:function(){return b},minimumResultsForSearch:0,minimumInputLength:0,maximumInputLength:null,maximumSelectionSize:0,id:function(a){return a==b?null:a.id},text:function(b){return b&&this.data&&this.data.text?a.isFunction(this.data.text)?this.data.text(b):b[this.data.text]:b.text
23
- },matcher:function(a,b){return o(""+b).toUpperCase().indexOf(o(""+a).toUpperCase())>=0},separator:",",tokenSeparators:[],tokenizer:M,escapeMarkup:F,blurOnChange:!1,selectOnBlur:!1,adaptContainerCssClass:function(a){return a},adaptDropdownCssClass:function(){return null},nextSearchTerm:function(){return b},searchInputPlaceholder:"",createSearchChoicePosition:"top",shouldFocusInput:function(a){var b="ontouchstart"in window||navigator.msMaxTouchPoints>0;return b?a.opts.minimumResultsForSearch<0?!1:!0:!0}},a.fn.select2.locales=[],a.fn.select2.locales.en={formatMatches:function(a){return 1===a?"One result is available, press enter to select it.":a+" results are available, use up and down arrow keys to navigate."},formatNoMatches:function(){return"No matches found"},formatAjaxError:function(){return"Loading failed"},formatInputTooShort:function(a,b){var c=b-a.length;return"Please enter "+c+" or more character"+(1==c?"":"s")},formatInputTooLong:function(a,b){var c=a.length-b;return"Please delete "+c+" character"+(1==c?"":"s")},formatSelectionTooBig:function(a){return"You can only select "+a+" item"+(1==a?"":"s")},formatLoadMore:function(){return"Loading more results\u2026"},formatSearching:function(){return"Searching\u2026"}},a.extend(a.fn.select2.defaults,a.fn.select2.locales.en),a.fn.select2.ajaxDefaults={transport:a.ajax,params:{type:"GET",cache:!1,dataType:"json"}},window.Select2={query:{ajax:G,local:H,tags:I},util:{debounce:w,markMatch:E,escapeMarkup:F,stripDiacritics:o},"class":{"abstract":c,single:d,multi:e}}}}(jQuery);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/settings.js DELETED
@@ -1,377 +0,0 @@
1
- /* ==========================================================
2
- * settings.js
3
- * ==========================================================
4
- * Copyright 2020 Awesome Motive.
5
- * https://awesomemotive.com
6
- * ========================================================== */
7
- jQuery(document).ready(function ($) {
8
-
9
- // Initialize Select2.
10
- omapiSelect();
11
-
12
- // Hide/show any state specific settings.
13
- omapiToggleSettings();
14
-
15
- // Support Toggles on content
16
- omapiSettingsToggle();
17
-
18
- // Confirm resetting settings.
19
- omapiResetSettings();
20
-
21
- // Copy to clipboard Loading
22
- omapiClipboard();
23
-
24
- // Recognize Copy to Clipboard Buttons
25
- omapiCopytoClipboardBtn();
26
-
27
- // Support PDF generation
28
- omapiBuildSupportPDF();
29
-
30
- // Run Tooltip lib on any tooltips
31
- omapiFindTooltips();
32
-
33
- // Add "Connect to OptinMonster" functionality
34
- omapiHandleApiKeyButtons();
35
-
36
- omapiInitInstallButtons();
37
- omapiRemoveQueryVars();
38
-
39
- /**
40
- * Add the listeners necessary for the connect to OptinMonster button
41
- */
42
- function omapiHandleApiKeyButtons() {
43
-
44
- // Also initialize the "Click Here to enter an API Key" link
45
- $('#omapiShowApiKey').click(function (e) {
46
- e.preventDefault();
47
- $('#omapi-form-api .omapi-hidden').removeClass('omapi-hidden');
48
- $('#omapi-field-apikey').focus().select();
49
- });
50
-
51
- $('#omapiShowApiKeys').click(function (e) {
52
- e.preventDefault();
53
- $('#omapi-form-woocommerce .omapi-hidden').removeClass('omapi-hidden');
54
- $('.manually-connect-wc').hide();
55
- $('#omapi-field-consumer_key').focus().select();
56
- });
57
-
58
- // Add the listener for disconnecting the API Key.
59
- $('#omapiDisconnectButton').click(function (e) {
60
- e.preventDefault();
61
- OMAPI.updateForm('', $(this));
62
- });
63
- }
64
-
65
- /**
66
- * Dynamic Toggle functionality
67
- */
68
- function omapiSettingsToggle() {
69
-
70
- $('.omapi-ui-toggle-controller').click(function (e) {
71
- var thisToggle = e.currentTarget;
72
- $(thisToggle).toggleClass("toggled");
73
- $(thisToggle).next(".omapi-ui-toggle-content").toggleClass("visible");
74
- });
75
-
76
- }
77
-
78
- /**
79
- * Confirms the settings reset for the active tab.
80
- *
81
- * @since 1.0.0
82
- */
83
- function omapiResetSettings() {
84
- $(document).on('click', 'input[name=reset]', function (e) {
85
- return confirm(OMAPI.confirm);
86
- });
87
- }
88
-
89
- /**
90
- * Toggles the shortcode list setting.
91
- *
92
- * @since 1.1.4
93
- */
94
- function omapiToggleSettings() {
95
- var $automatic = $('#omapi-field-automatic');
96
- var $mpSetting = $('#omapi-field-mailpoet');
97
- var $mpPhone = $('#omapi-field-mailpoet_use_phone');
98
-
99
- var toggleAutoSetting = function() {
100
- var method = $automatic.is(':checked') ? 'hide' : 'show';
101
- $('.omapi-field-box-automatic_shortcode')[method]();
102
- };
103
-
104
- var toggleMpPhoneSetting = function() {
105
- var method = $mpPhone.is(':checked') ? 'show' : 'hide';
106
- $('.omapi-field-box-mailpoet_phone_field')[method]();
107
- };
108
-
109
- var toggleMpSettings = function() {
110
- var show = $mpSetting.is(':checked');
111
- var method = show ? 'show' : 'hide';
112
- $('.omapi-field-box-mailpoet_list')[method]();
113
- $('.omapi-field-box-mailpoet_use_phone')[method]();
114
- $('.omapi-field-box-mailpoet_phone_field')[method]();
115
-
116
- if ( show ) {
117
- toggleMpPhoneSetting();
118
- }
119
- };
120
-
121
- toggleAutoSetting();
122
- toggleMpSettings();
123
- $(document).on('change', '#omapi-field-automatic', toggleAutoSetting);
124
- $(document).on('change', '#omapi-field-mailpoet', toggleMpSettings);
125
- $(document).on('change', '#omapi-field-mailpoet_use_phone', toggleMpPhoneSetting);
126
- }
127
-
128
- /**
129
- * Initializes the Select2 replacement for select fields.
130
- *
131
- * @since 1.0.0
132
- */
133
- function omapiSelect() {
134
- $('.omapi-select').each(function (i, el) {
135
- var data = $(this).attr('id').indexOf('taxonomies') > -1 ? OMAPI.tags : OMAPI.posts;
136
- $(this).select2({
137
- minimumInputLength: 1,
138
- multiple: true,
139
- data: data,
140
- initSelection: function (el, cb) {
141
- var ids = $(el).val();
142
- ids = ids.split(',');
143
- var items = data.filter(function(d) {
144
- return ids.indexOf(d.id) > -1;
145
- });
146
- cb(items);
147
- }
148
- }).on('change select2-removed', function () {});
149
- });
150
- }
151
-
152
- /**
153
- * Generate support PDF from localized data
154
- *
155
- * @since 1.1.5
156
- */
157
- function omapiBuildSupportPDF() {
158
- var $selector = $('#js--omapi-support-pdf');
159
-
160
- const generateDoc = data => {
161
- var doc = new jsPDF('p', 'mm', 'letter');
162
-
163
- // Doc Title
164
- doc.text(10, 10, 'OptinMonster Support Assistance');
165
-
166
- // Server Info
167
- var i = 10;
168
- $.each(data.server, function (key, value) {
169
- i += 10;
170
- doc.text(10, i, key + ' : ' + value);
171
- });
172
-
173
- // Optin Info
174
- $.each(data.campaigns, function (key, value) {
175
-
176
- // Move down 10mm
177
- var i = 10;
178
- // Add a new page
179
- doc.addPage();
180
- // Title as slug
181
- doc.text(10, 10, key);
182
- $.each(value, function (key, value) {
183
-
184
- // Keep from outputing ugly Object text
185
- var output = ( $.isPlainObject(value) ? '' : value );
186
- // new line
187
- i += 10;
188
- doc.text(10, i, key + ' : ' + output);
189
- // Output any object data from the value
190
- if ($.isPlainObject(value)) {
191
- $.each(value, function (key, value) {
192
- i += 10;
193
- doc.text(20, i, key + ' : ' + value);
194
- });
195
- }
196
- });
197
-
198
- });
199
-
200
- // Save the PDF
201
- doc.save('OMSupportHelp.pdf');
202
- }
203
-
204
- $selector.click(function (e) {
205
- e.preventDefault();
206
-
207
- // Start spinner.
208
- $('.om-api-key-spinner').remove();
209
- $selector.after('<div class="om-api-key-spinner spinner is-active" style="float: none;margin-top:7px;"></div>');
210
-
211
- $.ajax( {
212
- url: OMAPI.root + 'omapp/v1/support?format=pdf',
213
- beforeSend: xhr => xhr.setRequestHeader( 'X-WP-Nonce', OMAPI.nonce ),
214
- dataType: 'json',
215
- data: { format : 'pdf' },
216
- success: generateDoc,
217
- } )
218
- .done( () => $('.om-api-key-spinner').remove() )
219
- .fail( ( jqXHR, textStatus ) => console.error({ jqXHR, textStatus }) );
220
-
221
- });
222
- }
223
-
224
- /**
225
- * Clipboard Helpers
226
- *
227
- * @since 1.1.5
228
- */
229
- function omapiClipboard() {
230
- var ompaiClipboard = new Clipboard('.omapi-copy-button');
231
-
232
- ompaiClipboard.on('success', function (e) {
233
- setTooltip(e.trigger, 'Copied to Clipboard!');
234
- hideTooltip(e.trigger);
235
- });
236
- ompaiClipboard.on('error', function (e) {
237
- var fallbackMessage = '';
238
-
239
- if(/iPhone|iPad/i.test(navigator.userAgent)) {
240
- fallbackMessage = 'Unable to Copy on this device';
241
- }
242
- else if (/Mac/i.test(navigator.userAgent)) {
243
- fallbackMessage = 'Press ⌘-C to Copy';
244
- }
245
- else {
246
- fallbackMessage = 'Press Ctrl-C to Copy';
247
- }
248
- setTooltip(e.trigger, fallbackMessage);
249
- hideTooltip(e.trigger);
250
- });
251
- }
252
-
253
- /**
254
- * Standardize Copy to clipboard button
255
- *
256
- * @since 1.1.5
257
- */
258
- function omapiCopytoClipboardBtn() {
259
- $('omapi-copy-button').tooltip({
260
- trigger: 'click',
261
- placement: 'top',
262
-
263
- });
264
- }
265
- /**
266
- * Set BS Tooltip based on Clipboard data
267
- *
268
- * @since 1.1.5
269
- * @param btn
270
- * @param message
271
- */
272
- function setTooltip(btn, message) {
273
- $(btn).attr('data-original-title', message)
274
- .tooltip('show');
275
- }
276
-
277
- /**
278
- * Remove tooltip after Clipboard message shown
279
- *
280
- * @since 1.1.5
281
- * @param btn
282
- */
283
- function hideTooltip(btn) {
284
- setTimeout(function() {
285
- $(btn).tooltip('destroy');
286
- }, 2000);
287
- }
288
-
289
- function omapiFindTooltips() {
290
- $('[data-toggle="tooltip"]').tooltip()
291
- }
292
-
293
- function omapiInitInstallButtons() {
294
- $('.install-plugin-form').submit((e) => {
295
- e.preventDefault();
296
- let fields = $(e.currentTarget).serializeArray();
297
- let nonce = fields.find((field) => 'nonce' === field.name).value;
298
- let plugin = fields.find((field) => 'plugin' === field.name).value;
299
- let pluginClassName = plugin.replace('.', '').replace('/', '');
300
- let installAction = fields.find((field) => 'action' === field.name).value;
301
- let url = fields.find((field) => 'url' === field.name).value;
302
- let el = $(`.omapi-plugin-recommendation--${pluginClassName}`);
303
-
304
- if (! el.length) {
305
- el = $('html')
306
- }
307
-
308
- $('.button-install', el).html('Installing...');
309
- $('.button-activate', el).html('Activating...');
310
- $('#om-plugin-alerts').hide();
311
-
312
- $.post(ajaxurl, {
313
- action: 'om_plugin_install',
314
- 'optin-monster-ajax-route': true,
315
- nonce,
316
- plugin,
317
- installAction,
318
- url
319
- }, function (data) {
320
- if (data.success) {
321
- window.location.reload();
322
- } else {
323
- $('.button-install', el).html('Install Plugin');
324
- $('.button-activate', el).html('Activate Plugin');
325
-
326
- $('#om-plugin-alerts').show().html($( '<p/>' ).html( data.data || 'Something went wrong!' ));
327
- }
328
- });
329
- })
330
- }
331
-
332
- /**
333
- * Helper to remove the OM query vars.
334
- *
335
- * @since 1.9.9
336
- *
337
- * @return {void}
338
- */
339
- function omapiRemoveQueryVars() {
340
- if ( window.history.replaceState && window.location.search ) {
341
- function removeParam(parameter, url) {
342
- var urlparts = url.split('?');
343
- if ( urlparts.length < 2) {
344
- return url;
345
- }
346
-
347
- var prefix = encodeURIComponent(parameter) + '=';
348
- var pars = urlparts[1].split(/[&;]/g);
349
- for ( var i = pars.length; i-- > 0;) {
350
- if (pars[i].lastIndexOf(prefix, 0) !== -1) {
351
- pars.splice(i, 1);
352
- }
353
- }
354
-
355
- return urlparts[0] + (pars.length > 0 ? '?' + pars.join('&') : '');
356
- }
357
-
358
- const toRemove = [
359
- 'optin_monster_api_action_done',
360
- 'optin_monster_api_action_type',
361
- 'optin_monster_api_action_id',
362
- ];
363
- let url = document.location.href;
364
-
365
- window.location.search.split('&').forEach( bit => {
366
- toRemove.forEach( key => {
367
- if ( 0 === bit.indexOf( key ) ) {
368
- url = removeParam( bit.split('=')[0], url );
369
- }
370
- } );
371
- });
372
-
373
- window.history.replaceState( null, null, url );
374
- }
375
- }
376
-
377
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/tooltip.min.js DELETED
@@ -1,9 +0,0 @@
1
- /* ========================================================================
2
- * Bootstrap: tooltip.js v3.3.7
3
- * http://getbootstrap.com/javascript/#tooltip
4
- * Inspired by the original jQuery.tipsy by Jason Frame
5
- * ========================================================================
6
- * Copyright 2011-2016 Twitter, Inc.
7
- * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
8
- * ======================================================================== */
9
- if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");+function(t){"use strict";var e=t.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||e[0]>3)throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(jQuery),+function(t){"use strict";function e(e){return this.each(function(){var o=t(this),n=o.data("bs.tooltip"),s="object"==typeof e&&e;!n&&/destroy|hide/.test(e)||(n||o.data("bs.tooltip",n=new i(this,s)),"string"==typeof e&&n[e]())})}var i=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};i.VERSION="3.3.7",i.TRANSITION_DURATION=150,i.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0}},i.prototype.init=function(e,i,o){if(this.enabled=!0,this.type=e,this.$element=t(i),this.options=this.getOptions(o),this.$viewport=this.options.viewport&&t(t.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var n=this.options.trigger.split(" "),s=n.length;s--;){var r=n[s];if("click"==r)this.$element.on("click."+this.type,this.options.selector,t.proxy(this.toggle,this));else if("manual"!=r){var a="hover"==r?"mouseenter":"focusin",l="hover"==r?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,t.proxy(this.enter,this)),this.$element.on(l+"."+this.type,this.options.selector,t.proxy(this.leave,this))}}this.options.selector?this._options=t.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},i.prototype.getDefaults=function(){return i.DEFAULTS},i.prototype.getOptions=function(e){return e=t.extend({},this.getDefaults(),this.$element.data(),e),e.delay&&"number"==typeof e.delay&&(e.delay={show:e.delay,hide:e.delay}),e},i.prototype.getDelegateOptions=function(){var e={},i=this.getDefaults();return this._options&&t.each(this._options,function(t,o){i[t]!=o&&(e[t]=o)}),e},i.prototype.enter=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusin"==e.type?"focus":"hover"]=!0),i.tip().hasClass("in")||"in"==i.hoverState?void(i.hoverState="in"):(clearTimeout(i.timeout),i.hoverState="in",i.options.delay&&i.options.delay.show?void(i.timeout=setTimeout(function(){"in"==i.hoverState&&i.show()},i.options.delay.show)):i.show())},i.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},i.prototype.leave=function(e){var i=e instanceof this.constructor?e:t(e.currentTarget).data("bs."+this.type);return i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i)),e instanceof t.Event&&(i.inState["focusout"==e.type?"focus":"hover"]=!1),i.isInStateTrue()?void 0:(clearTimeout(i.timeout),i.hoverState="out",i.options.delay&&i.options.delay.hide?void(i.timeout=setTimeout(function(){"out"==i.hoverState&&i.hide()},i.options.delay.hide)):i.hide())},i.prototype.show=function(){var e=t.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(e);var o=t.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(e.isDefaultPrevented()||!o)return;var n=this,s=this.tip(),r=this.getUID(this.type);this.setContent(),s.attr("id",r),this.$element.attr("aria-describedby",r),this.options.animation&&s.addClass("fade");var a="function"==typeof this.options.placement?this.options.placement.call(this,s[0],this.$element[0]):this.options.placement,l=/\s?auto?\s?/i,p=l.test(a);p&&(a=a.replace(l,"")||"top"),s.detach().css({top:0,left:0,display:"block"}).addClass(a).data("bs."+this.type,this),this.options.container?s.appendTo(this.options.container):s.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var h=this.getPosition(),f=s[0].offsetWidth,u=s[0].offsetHeight;if(p){var c=a,d=this.getPosition(this.$viewport);a="bottom"==a&&h.bottom+u>d.bottom?"top":"top"==a&&h.top-u<d.top?"bottom":"right"==a&&h.right+f>d.width?"left":"left"==a&&h.left-f<d.left?"right":a,s.removeClass(c).addClass(a)}var v=this.getCalculatedOffset(a,h,f,u);this.applyPlacement(v,a);var g=function(){var t=n.hoverState;n.$element.trigger("shown.bs."+n.type),n.hoverState=null,"out"==t&&n.leave(n)};t.support.transition&&this.$tip.hasClass("fade")?s.one("bsTransitionEnd",g).emulateTransitionEnd(i.TRANSITION_DURATION):g()}},i.prototype.applyPlacement=function(e,i){var o=this.tip(),n=o[0].offsetWidth,s=o[0].offsetHeight,r=parseInt(o.css("margin-top"),10),a=parseInt(o.css("margin-left"),10);isNaN(r)&&(r=0),isNaN(a)&&(a=0),e.top+=r,e.left+=a,t.offset.setOffset(o[0],t.extend({using:function(t){o.css({top:Math.round(t.top),left:Math.round(t.left)})}},e),0),o.addClass("in");var l=o[0].offsetWidth,p=o[0].offsetHeight;"top"==i&&p!=s&&(e.top=e.top+s-p);var h=this.getViewportAdjustedDelta(i,e,l,p);h.left?e.left+=h.left:e.top+=h.top;var f=/top|bottom/.test(i),u=f?2*h.left-n+l:2*h.top-s+p,c=f?"offsetWidth":"offsetHeight";o.offset(e),this.replaceArrow(u,o[0][c],f)},i.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},i.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();t.find(".tooltip-inner")[this.options.html?"html":"text"](e),t.removeClass("fade in top bottom left right")},i.prototype.hide=function(e){function o(){"in"!=n.hoverState&&s.detach(),n.$element&&n.$element.removeAttr("aria-describedby").trigger("hidden.bs."+n.type),e&&e()}var n=this,s=t(this.$tip),r=t.Event("hide.bs."+this.type);return this.$element.trigger(r),r.isDefaultPrevented()?void 0:(s.removeClass("in"),t.support.transition&&s.hasClass("fade")?s.one("bsTransitionEnd",o).emulateTransitionEnd(i.TRANSITION_DURATION):o(),this.hoverState=null,this)},i.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},i.prototype.hasContent=function(){return this.getTitle()},i.prototype.getPosition=function(e){e=e||this.$element;var i=e[0],o="BODY"==i.tagName,n=i.getBoundingClientRect();null==n.width&&(n=t.extend({},n,{width:n.right-n.left,height:n.bottom-n.top}));var s=window.SVGElement&&i instanceof window.SVGElement,r=o?{top:0,left:0}:s?null:e.offset(),a={scroll:o?document.documentElement.scrollTop||document.body.scrollTop:e.scrollTop()},l=o?{width:t(window).width(),height:t(window).height()}:null;return t.extend({},n,a,l,r)},i.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},i.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,r=this.getPosition(this.$viewport);if(/right|left/.test(t)){var a=e.top-s-r.scroll,l=e.top+s-r.scroll+o;a<r.top?n.top=r.top-a:l>r.top+r.height&&(n.top=r.top+r.height-l)}else{var p=e.left-s,h=e.left+s+i;p<r.left?n.left=r.left-p:h>r.right&&(n.left=r.left+r.width-h)}return n},i.prototype.getTitle=function(){var t,e=this.$element,i=this.options;return t=e.attr("data-original-title")||("function"==typeof i.title?i.title.call(e[0]):i.title)},i.prototype.getUID=function(t){do t+=~~(1e6*Math.random());while(document.getElementById(t));return t},i.prototype.tip=function(){if(!this.$tip&&(this.$tip=t(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},i.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},i.prototype.enable=function(){this.enabled=!0},i.prototype.disable=function(){this.enabled=!1},i.prototype.toggleEnabled=function(){this.enabled=!this.enabled},i.prototype.toggle=function(e){var i=this;e&&(i=t(e.currentTarget).data("bs."+this.type),i||(i=new this.constructor(e.currentTarget,this.getDelegateOptions()),t(e.currentTarget).data("bs."+this.type,i))),e?(i.inState.click=!i.inState.click,i.isInStateTrue()?i.enter(i):i.leave(i)):i.tip().hasClass("in")?i.leave(i):i.enter(i)},i.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})};var o=t.fn.tooltip;t.fn.tooltip=e,t.fn.tooltip.Constructor=i,t.fn.tooltip.noConflict=function(){return t.fn.tooltip=o,this}}(jQuery);
 
 
 
 
 
 
 
 
 
includes/class-am-notification.php DELETED
@@ -1,452 +0,0 @@
1
- <?php
2
- if ( ! class_exists( 'AM_Notification' ) ) {
3
- /**
4
- * Awesome Motive Notifications
5
- *
6
- * This creates a custom post type (if it doesn't exist) and calls the API to
7
- * retrieve notifications for this product.
8
- *
9
- * @package AwesomeMotive
10
- * @author Benjamin Rojas
11
- * @license GPL-2.0+
12
- * @copyright Copyright (c) 2017, Retyp LLC
13
- * @version 1.0.7
14
- */
15
- class AM_Notification {
16
- /**
17
- * The api url we are calling.
18
- *
19
- * @since 1.0.0
20
- *
21
- * @var string
22
- */
23
- public $api_url = 'https://api.awesomemotive.com/v1/notification/';
24
-
25
- /**
26
- * A unique slug for this plugin.
27
- * (Not the WordPress plugin slug)
28
- *
29
- * @since 1.0.0
30
- *
31
- * @var string
32
- */
33
- public $plugin;
34
-
35
- /**
36
- * The current plugin version.
37
- *
38
- * @since 1.0.0
39
- *
40
- * @var string
41
- */
42
- public $plugin_version;
43
-
44
- /**
45
- * Flag if a notice has been registered.
46
- *
47
- * @since 1.0.0
48
- *
49
- * @var bool
50
- */
51
- public static $registered = false;
52
-
53
- /**
54
- * Construct.
55
- *
56
- * @since 1.0.0
57
- *
58
- * @param string $plugin The plugin slug.
59
- * @param mixed $version The version of the plugin.
60
- */
61
- public function __construct( $plugin = '', $version = 0 ) {
62
- $this->plugin = $plugin;
63
- $this->plugin_version = $version;
64
-
65
- add_action( 'init', array( $this, 'custom_post_type' ) );
66
- add_action( 'admin_init', array( $this, 'get_remote_notifications' ), 100 );
67
- add_action( 'admin_notices', array( $this, 'display_notifications' ) );
68
- add_action( 'wp_ajax_am_notification_dismiss', array( $this, 'dismiss_notification' ) );
69
- }
70
-
71
- /**
72
- * Registers a custom post type.
73
- *
74
- * @since 1.0.0
75
- */
76
- public function custom_post_type() {
77
- register_post_type( 'amn_' . $this->plugin, array(
78
- 'can_export' => false,
79
- 'supports' => false,
80
- 'capability_type' => 'manage_options'
81
- ) );
82
- }
83
-
84
- /**
85
- * Retrieve the remote notifications if the time has expired.
86
- *
87
- * @since 1.0.0
88
- */
89
- public function get_remote_notifications() {
90
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
91
- return;
92
- }
93
-
94
- $last_checked = get_option( '_amn_' . $this->plugin . '_last_checked', strtotime( '-1 week' ) );
95
-
96
- if ( $last_checked < strtotime( 'today midnight' ) ) {
97
- $plugin_notifications = $this->get_plugin_notifications( 1 );
98
- $notification_id = null;
99
-
100
- if ( ! empty( $plugin_notifications ) ) {
101
- // Unset it from the array.
102
- $notification = $plugin_notifications[0];
103
- $notification_id = get_post_meta( $notification->ID, 'notification_id', true );
104
- }
105
-
106
- $response = wp_remote_retrieve_body( wp_remote_post( $this->api_url, array(
107
- 'body' => array(
108
- 'slug' => $this->plugin,
109
- 'version' => $this->plugin_version,
110
- 'last_notification' => $notification_id
111
- ),
112
- ) ) );
113
-
114
- $data = json_decode( $response );
115
-
116
- if ( ! empty( $data->id ) ) {
117
- $notifications = array();
118
-
119
- foreach ( (array) $data->slugs as $slug ) {
120
- $notifications = array_merge(
121
- $notifications,
122
- (array) get_posts(
123
- array(
124
- 'post_type' => 'amn_' . $slug,
125
- 'post_status' => 'all',
126
- 'meta_key' => 'notification_id',
127
- 'meta_value' => $data->id,
128
- )
129
- )
130
- );
131
- }
132
-
133
- if ( empty( $notifications ) ) {
134
- $new_notification_id = wp_insert_post( array(
135
- 'post_content' => wp_kses_post( $data->content ),
136
- 'post_type' => 'amn_' . $this->plugin,
137
- ) );
138
-
139
- update_post_meta( $new_notification_id, 'notification_id', absint( $data->id ) );
140
- update_post_meta( $new_notification_id, 'type', sanitize_text_field( trim( $data->type ) ) );
141
- update_post_meta( $new_notification_id, 'dismissable', (bool) $data->dismissible ? 1 : 0 );
142
- update_post_meta( $new_notification_id, 'location', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->location ) : json_encode( $data->location ) );
143
- update_post_meta( $new_notification_id, 'version', sanitize_text_field( trim( $data->version ) ) );
144
- update_post_meta( $new_notification_id, 'viewed', 0 );
145
- update_post_meta( $new_notification_id, 'expiration', $data->expiration ? absint( $data->expiration ) : false );
146
- update_post_meta( $new_notification_id, 'plans', function_exists( 'wp_json_encode' ) ? wp_json_encode( $data->plans ) : json_encode( $data->plans ) );
147
- }
148
- }
149
-
150
- // Possibly revoke notifications.
151
- if ( ! empty( $data->revoked ) ) {
152
- $this->revoke_notifications( $data->revoked );
153
- }
154
-
155
- // Set the option now so we can't run this again until after 24 hours.
156
- update_option( '_amn_' . $this->plugin . '_last_checked', strtotime( 'today midnight' ) );
157
- }
158
- }
159
-
160
- /**
161
- * Get local plugin notifications that have already been set.
162
- *
163
- * @since 1.0.0
164
- *
165
- * @param integer $limit Set the limit for how many posts to retrieve.
166
- * @param array $args Any top-level arguments to add to the array.
167
- *
168
- * @return WP_Post[] WP_Post that match the query.
169
- */
170
- public function get_plugin_notifications( $limit = -1, $args = array() ) {
171
- return get_posts(
172
- array(
173
- 'showposts' => $limit,
174
- 'post_type' => 'amn_' . $this->plugin,
175
- ) + $args
176
- );
177
- }
178
-
179
- /**
180
- * Display any notifications that should be displayed.
181
- *
182
- * @since 1.0.0
183
- */
184
- public function display_notifications() {
185
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
186
- return;
187
- }
188
-
189
- $plugin_notifications = $this->get_plugin_notifications( -1, array(
190
- 'post_status' => 'all',
191
- 'meta_key' => 'viewed',
192
- 'meta_value' => '0',
193
- ) );
194
-
195
- $plugin_notifications = $this->validate_notifications( $plugin_notifications );
196
-
197
- if ( ! empty( $plugin_notifications ) && ! self::$registered ) {
198
- foreach ( $plugin_notifications as $notification ) {
199
- $dismissable = get_post_meta( $notification->ID, 'dismissable', true );
200
- $type = get_post_meta( $notification->ID, 'type', true );
201
- ?>
202
- <div class="am-notification am-notification-<?php echo absint( $notification->ID ); ?> notice notice-<?php echo esc_attr( $type ); ?><?php echo $dismissable ? ' is-dismissible' : ''; ?>">
203
- <?php echo wp_kses_post( $notification->post_content ); ?>
204
- </div>
205
- <script type="text/javascript">
206
- jQuery(document).ready(function ($) {
207
- $(document).on('click', '.am-notification-<?php echo absint( $notification->ID ); ?> button.notice-dismiss', function (event) {
208
- $.post(ajaxurl, {
209
- action: 'am_notification_dismiss',
210
- notification_id: '<?php echo absint( $notification->ID ); ?>'
211
- });
212
- });
213
- });
214
- </script>
215
- <?php
216
- }
217
-
218
- self::$registered = true;
219
- }
220
- }
221
-
222
- /**
223
- * Validate the notifications before displaying them.
224
- *
225
- * @since 1.0.0
226
- *
227
- * @param array $plugin_notifications An array of plugin notifications.
228
- *
229
- * @return array A filtered array of plugin notifications.
230
- */
231
- public function validate_notifications( $plugin_notifications ) {
232
- global $pagenow;
233
-
234
- foreach ( $plugin_notifications as $key => $notification ) {
235
- // Location validation.
236
- $location = (array) json_decode( get_post_meta( $notification->ID, 'location', true ) );
237
- $continue = false;
238
- if ( ! in_array( 'everywhere', $location, true ) ) {
239
- if ( in_array( 'index.php', $location, true ) && 'index.php' === $pagenow ) {
240
- $continue = true;
241
- }
242
-
243
- if ( in_array( 'plugins.php', $location, true ) && 'plugins.php' === $pagenow ) {
244
- $continue = true;
245
- }
246
-
247
- if ( ! $continue ) {
248
- unset( $plugin_notifications[ $key ] );
249
- }
250
- }
251
-
252
- // Plugin validation (OR conditional).
253
- $plugins = (array) json_decode( get_post_meta( $notification->ID, 'plugins', true ) );
254
- $continue = false;
255
- if ( ! empty( $plugins ) ) {
256
- foreach ( $plugins as $plugin ) {
257
- if ( is_plugin_active( $plugin ) ) {
258
- $continue = true;
259
- }
260
- }
261
-
262
- if ( ! $continue ) {
263
- unset( $plugin_notifications[ $key ] );
264
- }
265
- }
266
-
267
- // Theme validation.
268
- $theme = get_post_meta( $notification->ID, 'theme', true );
269
- $continue = (string) wp_get_theme() === $theme;
270
-
271
- if ( ! empty( $theme ) && ! $continue ) {
272
- unset( $plugin_notifications[ $key ] );
273
- }
274
-
275
- // Version validation.
276
- $version = get_post_meta( $notification->ID, 'version', true );
277
- $continue = false;
278
- if ( ! empty( $version ) ) {
279
- if ( version_compare( $this->plugin_version, $version, '<=' ) ) {
280
- $continue = true;
281
- }
282
-
283
- if ( ! $continue ) {
284
- unset( $plugin_notifications[ $key ] );
285
- }
286
- }
287
-
288
- // Expiration validation.
289
- $expiration = get_post_meta( $notification->ID, 'expiration', true );
290
- $continue = false;
291
- if ( ! empty( $expiration ) ) {
292
- if ( $expiration > time() ) {
293
- $continue = true;
294
- }
295
-
296
- if ( ! $continue ) {
297
- unset( $plugin_notifications[ $key ] );
298
- }
299
- }
300
-
301
- // Plan validation.
302
- $plans = (array) json_decode( get_post_meta( $notification->ID, 'plans', true ) );
303
- $continue = false;
304
- if ( ! empty( $plans ) ) {
305
- $level = $this->get_plan_level();
306
- if ( in_array( $level, $plans, true ) ) {
307
- $continue = true;
308
- }
309
-
310
- if ( ! $continue ) {
311
- unset( $plugin_notifications[ $key ] );
312
- }
313
- }
314
- }
315
-
316
- return $plugin_notifications;
317
- }
318
-
319
- /**
320
- * Grab the current plan level.
321
- *
322
- * @since 1.0.0
323
- *
324
- * @return string The current plan level.
325
- */
326
- public function get_plan_level() {
327
- // Prepare variables.
328
- $key = '';
329
- $level = '';
330
- $option = false;
331
- switch ( $this->plugin ) {
332
- case 'wpforms' :
333
- $option = get_option( 'wpforms_license' );
334
- $key = is_array( $option ) && isset( $option['key'] ) ? $option['key'] : '';
335
- $level = is_array( $option ) && isset( $option['type'] ) ? $option['type'] : '';
336
-
337
- // Possibly check for a constant.
338
- if ( empty( $key ) && defined( 'WPFORMS_LICENSE_KEY' ) ) {
339
- $key = WPFORMS_LICENSE_KEY;
340
- }
341
- break;
342
- case 'mi-lite' :
343
- case 'mi' :
344
- if ( version_compare( MONSTERINSIGHTS_VERSION, '6.9.0', '>=' ) ) {
345
- if ( MonsterInsights()->license->get_site_license_type() ) {
346
- $key = MonsterInsights()->license->get_site_license_key();
347
- $type = MonsterInsights()->license->get_site_license_type();
348
- } else if ( MonsterInsights()->license->get_network_license_type() ) {
349
- $key = MonsterInsights()->license->get_network_license_key();
350
- $type = MonsterInsights()->license->get_network_license_type();
351
- }
352
- // Check key fallbacks
353
- if ( empty( $key ) ) {
354
- $key = MonsterInsights()->license->get_license_key();
355
- }
356
- } else {
357
- $option = get_option( 'monsterinsights_license' );
358
- $key = is_array( $option ) && isset( $option['key'] ) ? $option['key'] : '';
359
- $level = is_array( $option ) && isset( $option['type'] ) ? $option['type'] : '';
360
- // Possibly check for a constant.
361
- if ( empty( $key ) && defined( 'MONSTERINSIGHTS_LICENSE_KEY' ) && is_string( MONSTERINSIGHTS_LICENSE_KEY ) && strlen( MONSTERINSIGHTS_LICENSE_KEY ) > 10 ) {
362
- $key = MONSTERINSIGHTS_LICENSE_KEY;
363
- }
364
- }
365
- break;
366
- case 'om' :
367
- $option = get_option( 'optin_monster_api' );
368
- $key = is_array( $option ) && isset( $option['api']['apikey'] ) ? $option['api']['apikey'] : '';
369
-
370
- // Possibly check for a constant.
371
- if ( empty( $key ) && defined( 'OPTINMONSTER_REST_API_LICENSE_KEY' ) ) {
372
- $key = OPTINMONSTER_REST_API_LICENSE_KEY;
373
- }
374
-
375
- // If the key is still empty, check for the old legacy key.
376
- if ( empty( $key ) ) {
377
- $key = is_array( $option ) && isset( $option['api']['key'] ) ? $option['api']['key'] : '';
378
- }
379
- break;
380
- default:
381
- break;
382
- }
383
-
384
- // Possibly set the level to 'none' if the key is empty and no level has been set.
385
- if ( empty( $key ) && empty( $level ) ) {
386
- $level = 'none';
387
- }
388
-
389
- // Possibly set the level to 'unknown' if a key is entered, but no level can be determined (such as manually entered key)
390
- if ( ! empty( $key ) && empty( $level ) ) {
391
- $level = 'unknown';
392
- }
393
-
394
- // Normalize the level.
395
- switch ( $level ) {
396
- case 'bronze' :
397
- case 'personal' :
398
- $level = 'basic';
399
- break;
400
- case 'silver' :
401
- case 'multi' :
402
- $level = 'plus';
403
- break;
404
- case 'gold' :
405
- case 'developer' :
406
- $level = 'pro';
407
- break;
408
- case 'platinum' :
409
- case 'master' :
410
- $level = 'ultimate';
411
- break;
412
- }
413
-
414
- // Return the plan level.
415
- return $level;
416
- }
417
-
418
- /**
419
- * Dismiss the notification via AJAX.
420
- *
421
- * @since 1.0.0
422
- */
423
- public function dismiss_notification() {
424
- if ( ! apply_filters( 'am_notifications_display', is_super_admin() ) ) {
425
- die;
426
- }
427
-
428
- $notification_id = intval( $_POST['notification_id'] );
429
- update_post_meta( $notification_id, 'viewed', 1 );
430
- die;
431
- }
432
-
433
- /**
434
- * Revokes notifications.
435
- *
436
- * @since 1.0.0
437
- *
438
- * @param array $ids An array of notification IDs to revoke.
439
- */
440
- public function revoke_notifications( $ids ) {
441
- // Loop through each of the IDs and find the post that has it as meta.
442
- foreach ( (array) $ids as $id ) {
443
- $notifications = $this->get_plugin_notifications( -1, array( 'post_status' => 'all', 'meta_key' => 'notification_id', 'meta_value' => $id ) );
444
- if ( $notifications ) {
445
- foreach ( $notifications as $notification ) {
446
- update_post_meta( $notification->ID, 'viewed', 1 );
447
- }
448
- }
449
- }
450
- }
451
- }
452
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
optin-monster-wp-api.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
- * Version: 2.0.0
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
@@ -62,7 +62,7 @@ class OMAPI {
62
  *
63
  * @var string
64
  */
65
- public $version = '2.0.0';
66
 
67
  /**
68
  * The name of the plugin.
@@ -784,7 +784,7 @@ class OMAPI {
784
  public static function autoload( $classname ) {
785
 
786
  // Return early if not the proper classname.
787
- if ( 'OMAPI' !== mb_substr( $classname, 0, 5 ) ) {
788
  return;
789
  }
790
 
@@ -1026,11 +1026,11 @@ class OMAPI {
1026
  $return_url = $this->menu->get_dashboard_link();
1027
  }
1028
  }
1029
- $return_url = urlencode( $return_url );
1030
 
1031
  $final_destination = add_query_arg( 'return', $return_url, $final_destination );
1032
 
1033
- $url = add_query_arg( 'redirect_to', urlencode( $final_destination ), $app_url );
1034
 
1035
  $account_id = $this->get_option( 'userId' );
1036
  if ( ! empty( $account_id ) ) {
5
  * Description: OptinMonster is the best WordPress popup plugin that helps you grow your email list and sales with email popups, exit intent popups, floating bars and more!
6
  * Author: OptinMonster Team
7
  * Author URI: https://optinmonster.com
8
+ * Version: 2.0.1
9
  * Text Domain: optin-monster-api
10
  * Domain Path: languages
11
  * WC requires at least: 3.2.0
62
  *
63
  * @var string
64
  */
65
+ public $version = '2.0.1';
66
 
67
  /**
68
  * The name of the plugin.
784
  public static function autoload( $classname ) {
785
 
786
  // Return early if not the proper classname.
787
+ if ( 'OMAPI' !== mb_substr( $classname, 0, 5, 'UTF-8' ) ) {
788
  return;
789
  }
790
 
1026
  $return_url = $this->menu->get_dashboard_link();
1027
  }
1028
  }
1029
+ $return_url = rawurlencode( $return_url );
1030
 
1031
  $final_destination = add_query_arg( 'return', $return_url, $final_destination );
1032
 
1033
+ $url = add_query_arg( 'redirect_to', rawurlencode( $final_destination ), $app_url );
1034
 
1035
  $account_id = $this->get_option( 'userId' );
1036
  if ( ! empty( $account_id ) ) {
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: marketing, popups, popup builder, newsletter, conversion, optin forms, for
4
  Requires at least: 4.7.0
5
  Tested up to: 5.6
6
  Requires PHP: 5.3
7
- Stable tag: 2.0.0
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
@@ -471,6 +471,10 @@ Syed Balkhi
471
 
472
  **Most Recent Changes:**
473
 
 
 
 
 
474
  = 2.0.0 =
475
  * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
476
  * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
4
  Requires at least: 4.7.0
5
  Tested up to: 5.6
6
  Requires PHP: 5.3
7
+ Stable tag: 2.0.1
8
  License: GNU General Public License v2.0 or later
9
 
10
  Create popups, opt-in forms, & floating bars to get more email newsletter subscribers, leads, and increase sales conversion - #1 marketing popup plugin.
471
 
472
  **Most Recent Changes:**
473
 
474
+ = 2.0.1 =
475
+ * Bug fixes and adjustments for compatibility with older versions of PHP.
476
+ * Bug fixes related to wildcard domains and subdomains.
477
+
478
  = 2.0.0 =
479
  * NEW: Overhaul of the plugin to make managing your popup campaigns easier than ever!
480
  * Added the ability to see all your popup campaigns in your dashboard (draft, pending and published)
views/about.php DELETED
@@ -1,64 +0,0 @@
1
- <h2></h2>
2
- <div class="omapi-box omapi-box--flex">
3
- <div class="omapi-box__half">
4
- <p><strong><?php esc_html_e( 'Over the years, we found that many businesses struggle to collect emails simply because the tools aren’t easy to use and are far too expensive. So we started with a simple goal: build powerful enterprise-level technology to help businesses grow their customer base and revenue.', 'optin-monster-api' ); ?></strong></p>
5
- <p><?php esc_html_e( 'Since our launch in 2013, we have been improving conversions for small independent businesses to Fortune 500 companies. Over a billion people see a website with OptinMonster on it every month. Our customers are seeing huge increases in their subscriber growth and overall sales.', 'optin-monster-api' ); ?></p>
6
- <p><?php esc_html_e( 'We are humbly considered thought leaders by many in our space because of our rapid growth and innovations. Whatever the market conditions or current trends, you will always find OptinMonster leading the way to help our customers gain competitive business advantage and stay ahead of the curve.', 'optin-monster-api' ); ?></p>
7
- </div>
8
- <div class="omapi-box__half">
9
- <div class="omapi-box__image">
10
- <img src="<?php echo esc_url( $this->url . 'assets/images/omteam.jpg' ); ?>" alt="OptinMonster Team">
11
- <div class="omapi-box__image-subtitle">
12
- <?php printf( esc_html__( 'The %1$s Team: %2$s', 'optin-monster-api' ), 'OptinMonster', 'Syed, Christina, Muneeb, Keri, Pranaya, Anna, Tommy, Thomas, Justin, Rahul, Erica, Ben, Devin, Calista, Brandon, Jonathan, Briana' ); ?>
13
- </div>
14
- </div>
15
- </div>
16
- </div>
17
- <div class="notice notice-error" style="display:none;" id="om-plugin-alerts"></div>
18
- <div class="omapi-plugin-recommendations">
19
- <?php foreach ( $data['plugins'] as $plugin_id => $plugin ) : ?>
20
- <div class="omapi-plugin-recommendation omapi-plugin-recommendation--<?php echo $plugin['class']; ?>">
21
- <div class="omapi-plugin-recommendation__details">
22
- <div class="omapi-plugin-recommendation__image-wrapper">
23
- <img src="<?php echo esc_url( $plugin['icon'] ); ?>" alt="<?php echo esc_html( $plugin['name'] ); ?>">
24
- </div>
25
- <div class="omapi-plugin-recommendation__text-wrapper">
26
- <h5 class="omapi-plugin-recommendation__name">
27
- <?php echo esc_html( $plugin['name'] ); ?>
28
- </h5>
29
- <p class="omapi-plugin-recommendation__description">
30
- <?php echo esc_html( $plugin['desc'] ); ?>
31
- </p>
32
- </div>
33
- </div>
34
- <div class="omapi-plugin-recommendation__actions">
35
- <div class="omapi-plugin-recommendation__status">
36
- <strong><?php esc_html_e( 'Status:', 'optin-monster-api' ); ?></strong> <?php echo $plugin['active'] ? '<span class="omapi-green">'. $plugin['status'] .'</span>' : $plugin['status']; ?>
37
- </div>
38
- <div class="omapi-plugin-recommendation__action-button">
39
- <form class="install-plugin-form">
40
- <input type="hidden" name="plugin" value="<?php echo esc_attr( $plugin_id ); ?>">
41
- <input type="hidden" name="url" value="<?php echo esc_attr( $plugin['url'] ); ?>">
42
- <?php if ( empty( $plugin['installed'] ) ) : ?>
43
- <?php wp_nonce_field( 'install_plugin', 'nonce' ); ?>
44
- <input type="hidden" name="action" value="install">
45
- <button type="submit" class="button button-omapi-blue button-install">
46
- <?php esc_html_e( 'Install Plugin', 'optin-monster-api' ); ?>
47
- </button>
48
- <?php elseif ( empty( $plugin['active'] ) ): ?>
49
- <input type="hidden" name="action" value="activate">
50
- <?php wp_nonce_field( 'activate_plugin', 'nonce' ); ?>
51
- <button type="submit" class="button button-omapi-blue button-activate">
52
- <?php esc_html_e( 'Activate Plugin', 'optin-monster-api' ); ?>
53
- </button>
54
- <?php else: ?>
55
- <button disabled class="button button-omapi-outline disabled">
56
- <?php esc_html_e( 'Already Active', 'optin-monster-api' ); ?>
57
- </button>
58
- <?php endif; ?>
59
- </form>
60
- </div>
61
- </div>
62
- </div>
63
- <?php endforeach; ?>
64
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/archie-css.php DELETED
@@ -1,30 +0,0 @@
1
- <style type="text/css">
2
- @font-face{
3
- font-family: 'archie';
4
- src: url('<?php echo $this->url . 'assets/fonts/archie.eot?velzrt'; ?>');
5
- src: url('<?php echo $this->url . 'assets/fonts/archie.eot?#iefixvelzrt'; ?>') format('embedded-opentype'),url('<?php echo $this->url . 'assets/fonts/archie.woff?velzrt'; ?>') format('woff'),url('<?php echo $this->url . 'assets/fonts/archie.ttf?velzrt'; ?>') format('truetype'),url('<?php echo $this->url . 'assets/fonts/archie.svg?velzrt#archie'; ?>') format('svg');
6
- font-weight: normal;
7
- font-style: normal;
8
- }
9
- #toplevel_page_optin-monster-api-settings .dashicons-before,
10
- #toplevel_page_optin-monster-api-settings .dashicons-before:before,
11
- #toplevel_page_optin-monster-api-welcome .dashicons-before,
12
- #toplevel_page_optin-monster-api-welcome .dashicons-before:before{
13
- font-family: 'archie';
14
- speak: none;
15
- font-style: normal;
16
- font-weight: normal;
17
- font-variant: normal;
18
- text-transform: none;
19
- line-height: 1;
20
- -webkit-font-smoothing: antialiased;
21
- -moz-osx-font-smoothing: grayscale;
22
- }
23
- #toplevel_page_optin-monster-api-settings .dashicons-before:before,
24
- #toplevel_page_optin-monster-api-welcome .dashicons-before:before{
25
- content: "\e600";
26
- font-size: 38px;
27
- margin-top: -9px;
28
- margin-left: -8px;
29
- }
30
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/cybermonday-notification-css.php DELETED
@@ -1,83 +0,0 @@
1
- <style type="text/css">
2
- #om-cybermonday-notice {
3
- display: block;
4
- text-align: center;
5
- position: relative;
6
- overflow: hidden;
7
- }
8
- #om-cybermonday-notice p {
9
- font-size: 1.3em;
10
- margin: 1.5em 0 1em;
11
- }
12
- #om-cybermonday-notice a {
13
- border: 0;
14
- text-decoration: none;
15
- display: block;
16
- margin: 15px auto 8px;
17
- max-width: 510px;
18
- background: #0b82de;
19
- font-size: 1.2em;
20
- padding: 0.65rem 1.25rem .75rem;
21
- color: #fff;
22
- text-align: center;
23
- border-radius: 3px;
24
- color: #fff !important;
25
- }
26
- #archie-peeking {
27
- position: absolute;
28
- bottom: -31px;
29
- right: -44px;
30
- width: 120px;
31
- height: auto;
32
- -webkit-transform: rotate(-18deg);
33
- transform: rotate(-18deg);
34
- -webkit-animation: omring 6.5s 1s ease-in-out infinite;
35
- -webkit-transform-origin: 40% 150px;
36
- -moz-animation: omring 6.5s 1s ease-in-out infinite;
37
- -moz-transform-origin: 40% 150px;
38
- animation: omring 6.5s 1s ease-in-out infinite;
39
- transform-origin: 40% 150px;
40
- }
41
- @-webkit-keyframes omring{
42
- 0%{transform:rotate(-18deg)}
43
- 1%{transform:rotate(-20deg)}
44
- 2%{transform:rotate(-10deg)}
45
- 3%{transform:rotate(-20deg)}
46
- 4%{transform:rotate(-10deg)}
47
- 5%{transform:rotate(-18deg)}
48
- 6%{transform:rotate(-12deg)}
49
- 7%{transform:rotate(-17deg)}
50
- 8%{transform:rotate(-14deg)}
51
- 9%{transform:rotate(-16deg)}
52
- 10%{transform:rotate(-18deg)}
53
- 100%{transform:rotate(-18deg)}
54
- }
55
- @-moz-keyframes omring{
56
- 0%{transform:rotate(-18deg)}
57
- 1%{transform:rotate(-20deg)}
58
- 2%{transform:rotate(-10deg)}
59
- 3%{transform:rotate(-20deg)}
60
- 4%{transform:rotate(-10deg)}
61
- 5%{transform:rotate(-18deg)}
62
- 6%{transform:rotate(-12deg)}
63
- 7%{transform:rotate(-17deg)}
64
- 8%{transform:rotate(-14deg)}
65
- 9%{transform:rotate(-16deg)}
66
- 10%{transform:rotate(-18deg)}
67
- 100%{transform:rotate(-18deg)}
68
- }
69
- @keyframes omring{
70
- 0%{transform:rotate(-18deg)}
71
- 1%{transform:rotate(-20deg)}
72
- 2%{transform:rotate(-10deg)}
73
- 3%{transform:rotate(-20deg)}
74
- 4%{transform:rotate(-10deg)}
75
- 5%{transform:rotate(-18deg)}
76
- 6%{transform:rotate(-12deg)}
77
- 7%{transform:rotate(-17deg)}
78
- 8%{transform:rotate(-14deg)}
79
- 9%{transform:rotate(-16deg)}
80
- 10%{transform:rotate(-18deg)}
81
- 100%{transform:rotate(-18deg)}
82
- }
83
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/cybermonday-notification-js.php DELETED
@@ -1,20 +0,0 @@
1
- <script type="text/javascript">
2
- (function() {
3
- var turnOff = function() {
4
- window.setUserSetting( 'om_cybermonday_notice', 'off' );
5
- };
6
- if ( jQuery ) {
7
- jQuery( function( $ ) {
8
- $( '#om-cybermonday-notice' ).on( 'click', '.notice-dismiss', turnOff );
9
- });
10
- } else {
11
- var el = document.getElementById( 'om-cybermonday-notice' );
12
- el.addEventListener('click', function( e ) {
13
- if ( ( ' ' + e.target.className + ' ' ).indexOf( ' notice-dismiss ' ) > -1 ) {
14
- turnOff();
15
- }
16
- });
17
- }
18
- setTimeout( turnOff, 4000 );
19
- })();
20
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/cybermonday-notification.php DELETED
@@ -1,11 +0,0 @@
1
- <div id="om-cybermonday-notice" class="notice notice-info is-dismissible">
2
- <p>
3
- <img id="archie-peeking" src="<?php echo $this->url; ?>assets/css/images/dashboard-icon.png" alt="<?php esc_attr_e( 'Archie, OptinMonster Mascot', 'optin-monster-api' ); ?>">
4
- OptinMonster Black Friday / Cyber Monday special - <strong>35% off</strong> all purchases, upgrades and pre-payments!
5
- <a
6
- href="<?php echo esc_url( $data['url'] ); ?>"
7
- target="_blank" rel="noopener"
8
- title="Click here to claim your Cyber Monday deal."
9
- >Click here to claim your deal &rarr;</a>
10
- </p>
11
- </div>
 
 
 
 
 
 
 
 
 
 
 
views/cybermonday-pulse-css.php DELETED
@@ -1,58 +0,0 @@
1
- <style type="text/css">
2
- .om-pulse{
3
- text-align: center;
4
- cursor: pointer;
5
- z-index: 99;
6
- left: 123px;
7
- top: 7px;
8
- }
9
- .om-pulse, .om-pulse:before {
10
- display: inline-block;
11
- width: 12px;
12
- height: 12px;
13
- border-radius: 100%;
14
- background-color: #74ba0d;
15
- position: absolute;
16
- top: 7px;
17
- right: 40px;
18
- }
19
- .om-pulse:before {
20
- content: '';
21
- border: 1px solid #74ba0d;
22
- left: -3px;
23
- top: -3px;
24
- width: 16px;
25
- height: 16px;
26
- background: transparent;
27
- }
28
- .om-pulse:after{
29
- content: '';
30
- position: absolute;
31
- top: -2px;
32
- left: -2px;
33
- width: 16px;
34
- height: 16px;
35
- background-color: #7dd004;
36
- border-radius: 100%;
37
- z-index: -1;
38
- animation: ompulse 2s infinite;
39
- will-change: transform;
40
- }
41
-
42
- .om-pulse:hover:after{
43
- animation: none;
44
- }
45
-
46
- @-webkit-keyframes ompulse{
47
- 0%{transform: scale(1);opacity: 1;}
48
- 100%{transform: scale(2);opacity: 0;}
49
- }
50
- @-moz-keyframes ompulse{
51
- 0%{transform: scale(1);opacity: 1;}
52
- 100%{transform: scale(2);opacity: 0;}
53
- }
54
- @keyframes ompulse{
55
- 0%{transform: scale(1);opacity: 1;}
56
- 100%{transform: scale(2);opacity: 0;}
57
- }
58
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/notification-close-js.php DELETED
@@ -1,20 +0,0 @@
1
- <script type="text/javascript">
2
- (function() {
3
- var turnOff = function() {
4
- window.setUserSetting( 'om_cybermonday_notice', 'off' );
5
- };
6
- if ( jQuery ) {
7
- jQuery( function( $ ) {
8
- $( '#om-cybermonday-notice' ).on( 'click', '.notice-dismiss', turnOff );
9
- });
10
- } else {
11
- var el = document.getElementById( 'om-cybermonday-notice' );
12
- el.addEventListener('click', function( e ) {
13
- if ( ( ' ' + e.target.className + ' ' ).indexOf( ' notice-dismiss ' ) > -1 ) {
14
- turnOff();
15
- }
16
- });
17
- }
18
- setTimeout( turnOff, 4000 );
19
- })();
20
- </script>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/notification-css.php DELETED
@@ -1,83 +0,0 @@
1
- <style type="text/css">
2
- #om-cybermonday-notice {
3
- display: block;
4
- text-align: center;
5
- position: relative;
6
- overflow: hidden;
7
- }
8
- #om-cybermonday-notice p {
9
- font-size: 1.3em;
10
- margin: 1.5em 0 1em;
11
- }
12
- #om-cybermonday-notice a {
13
- border: 0;
14
- text-decoration: none;
15
- display: block;
16
- margin: 15px auto 8px;
17
- max-width: 510px;
18
- background: #0b82de;
19
- font-size: 1.2em;
20
- padding: 0.65rem 1.25rem .75rem;
21
- color: #fff;
22
- text-align: center;
23
- border-radius: 3px;
24
- color: #fff !important;
25
- }
26
- #archie-peeking {
27
- position: absolute;
28
- bottom: -31px;
29
- right: -44px;
30
- width: 120px;
31
- height: auto;
32
- -webkit-transform: rotate(-18deg);
33
- transform: rotate(-18deg);
34
- -webkit-animation: omring 6.5s 1s ease-in-out infinite;
35
- -webkit-transform-origin: 40% 150px;
36
- -moz-animation: omring 6.5s 1s ease-in-out infinite;
37
- -moz-transform-origin: 40% 150px;
38
- animation: omring 6.5s 1s ease-in-out infinite;
39
- transform-origin: 40% 150px;
40
- }
41
- @-webkit-keyframes omring{
42
- 0%{transform:rotate(-18deg)}
43
- 1%{transform:rotate(-20deg)}
44
- 2%{transform:rotate(-10deg)}
45
- 3%{transform:rotate(-20deg)}
46
- 4%{transform:rotate(-10deg)}
47
- 5%{transform:rotate(-18deg)}
48
- 6%{transform:rotate(-12deg)}
49
- 7%{transform:rotate(-17deg)}
50
- 8%{transform:rotate(-14deg)}
51
- 9%{transform:rotate(-16deg)}
52
- 10%{transform:rotate(-18deg)}
53
- 100%{transform:rotate(-18deg)}
54
- }
55
- @-moz-keyframes omring{
56
- 0%{transform:rotate(-18deg)}
57
- 1%{transform:rotate(-20deg)}
58
- 2%{transform:rotate(-10deg)}
59
- 3%{transform:rotate(-20deg)}
60
- 4%{transform:rotate(-10deg)}
61
- 5%{transform:rotate(-18deg)}
62
- 6%{transform:rotate(-12deg)}
63
- 7%{transform:rotate(-17deg)}
64
- 8%{transform:rotate(-14deg)}
65
- 9%{transform:rotate(-16deg)}
66
- 10%{transform:rotate(-18deg)}
67
- 100%{transform:rotate(-18deg)}
68
- }
69
- @keyframes omring{
70
- 0%{transform:rotate(-18deg)}
71
- 1%{transform:rotate(-20deg)}
72
- 2%{transform:rotate(-10deg)}
73
- 3%{transform:rotate(-20deg)}
74
- 4%{transform:rotate(-10deg)}
75
- 5%{transform:rotate(-18deg)}
76
- 6%{transform:rotate(-12deg)}
77
- 7%{transform:rotate(-17deg)}
78
- 8%{transform:rotate(-14deg)}
79
- 9%{transform:rotate(-16deg)}
80
- 10%{transform:rotate(-18deg)}
81
- 100%{transform:rotate(-18deg)}
82
- }
83
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/notification-pulse-css.php DELETED
@@ -1,58 +0,0 @@
1
- <style type="text/css">
2
- .om-pulse{
3
- text-align: center;
4
- cursor: pointer;
5
- z-index: 99;
6
- left: 123px;
7
- top: 7px;
8
- }
9
- .om-pulse, .om-pulse:before {
10
- display: inline-block;
11
- width: 12px;
12
- height: 12px;
13
- border-radius: 100%;
14
- background-color: #74ba0d;
15
- position: absolute;
16
- top: 7px;
17
- right: 40px;
18
- }
19
- .om-pulse:before {
20
- content: '';
21
- border: 1px solid #74ba0d;
22
- left: -3px;
23
- top: -3px;
24
- width: 16px;
25
- height: 16px;
26
- background: transparent;
27
- }
28
- .om-pulse:after{
29
- content: '';
30
- position: absolute;
31
- top: -2px;
32
- left: -2px;
33
- width: 16px;
34
- height: 16px;
35
- background-color: #7dd004;
36
- border-radius: 100%;
37
- z-index: -1;
38
- animation: ompulse 2s infinite;
39
- will-change: transform;
40
- }
41
-
42
- .om-pulse:hover:after{
43
- animation: none;
44
- }
45
-
46
- @-webkit-keyframes ompulse{
47
- 0%{transform: scale(1);opacity: 1;}
48
- 100%{transform: scale(2);opacity: 0;}
49
- }
50
- @-moz-keyframes ompulse{
51
- 0%{transform: scale(1);opacity: 1;}
52
- 100%{transform: scale(2);opacity: 0;}
53
- }
54
- @keyframes ompulse{
55
- 0%{transform: scale(1);opacity: 1;}
56
- 100%{transform: scale(2);opacity: 0;}
57
- }
58
- </style>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
views/notification.php DELETED
@@ -1,11 +0,0 @@
1
- <div id="om-cybermonday-notice" class="notice notice-info is-dismissible">
2
- <p>
3
- <img id="archie-peeking" src="<?php echo $this->url; ?>assets/css/images/dashboard-icon.png" alt="<?php esc_attr_e( 'Archie, OptinMonster Mascot', 'optin-monster-api' ); ?>">
4
- OptinMonster Black Friday / Cyber Monday special - <strong>35% off</strong> all purchases, upgrades and pre-payments!
5
- <a
6
- href="<?php echo esc_url( $data['url'] ); ?>"
7
- target="_blank" rel="noopener"
8
- title="Click here to claim your Cyber Monday deal."
9
- >Click here to claim your deal &rarr;</a>
10
- </p>
11
- </div>
 
 
 
 
 
 
 
 
 
 
 
views/welcome.php DELETED
@@ -1,126 +0,0 @@
1
- <div class="omapi-welcome-content">
2
- <div class="inner-container">
3
- <h1><?php esc_html_e( 'Welcome to OptinMonster', 'optin-monster-api' ); ?></h1>
4
-
5
- <div class="omapi-well welcome-connect">
6
- <p><?php esc_html_e( 'Please connect to or create an OptinMonster account to start using OptinMonster. This will enable you to start turning website visitors into subscribers & customers.', 'optin-monster-api' ); ?></p>
7
- <div class="actions">
8
- <a class="button button-omapi-green button-hero" href="<?php echo $data['button_link']; ?>" target="_blank"><?php echo $data['button_text']; ?></a>
9
- <span class="or">or</span>
10
- <a class="button button-omapi-gray button-hero omapi-authorize-button" href="<?php echo $data['api_link']; ?>"><?php esc_html_e( 'Connect Your Account', 'optin-monster-api' ) ?></a>
11
- </div>
12
- </div>
13
- <div id="js__omapi-video-well" class="omapi-well welcome-data-vid">
14
- <h2><?php esc_html_e( 'Get More Email Subscribers, FAST!', 'optin-monster-api' ); ?></h2>
15
- <p><?php esc_html_e( 'OptinMonster helps you convert abandoning website visitors into email subscribers with smart web forms and behavior personalization.', 'optin-monster-api' ); ?></p>
16
- <div class="actions">
17
- <a id="js_omapi-welcome-video-link" class="omapi-video-link" href="https://www.youtube.com/embed/jbP9C9bQtv4?rel=0&amp;controls=0&amp;showinfo=0&amp;autoplay=1">
18
- <img width="188" src="<?php echo plugins_url( '/assets/css/images/video-cta-button.png', OMAPI_FILE ) ?>">
19
- </a>
20
- </div>
21
- <div class="omapi-welcome-video-holder">
22
- <iframe id="js__omapi-welcome-video-frame" width="640" height="360" src="" frameborder="0" allowfullscreen></iframe>
23
- </div>
24
- </div>
25
-
26
- <div class="omapi-sub-title">
27
- <h2><?php esc_html_e( 'Top 4 Reasons Why People Love OptinMonster', 'optin-monster-api' ); ?></h2>
28
- <p><?php esc_html_e( 'Here\'s why smart business owners love OptinMonster, and you will too!', 'optin-monster-api' ); ?></p>
29
- </div>
30
- <div class="divider"></div>
31
-
32
- <div class="omapi-feature-box omapi-clear">
33
- <div class="omapi-feature-image"><img src="<?php echo plugins_url( '/assets/css/images/features-builder.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster Form Builder', 'optin-monster-api' ); ?>" /></div>
34
- <div class="omapi-feature-text">
35
- <h3><?php esc_html_e( 'Build high converting forms in minutes, not hours', 'optin-monster-api' ); ?></h3>
36
- <p><?php esc_html_e( 'Create visually stunning optin forms that are optimized for the highest conversion rates.', 'optin-monster-api' ); ?></p>
37
- <p><?php esc_html_e( 'You can create various types of optin forms such as lightbox popups, floating bars, slide-ins, and more.', 'optin-monster-api' ); ?></p>
38
- </div>
39
- </div>
40
-
41
- <div class="omapi-feature-box omapi-clear">
42
- <div class="omapi-feature-text">
43
- <h3><?php esc_html_e( 'Convert abandoning visitors into subscribers & customers', 'optin-monster-api' ); ?></h3>
44
- <p><?php esc_html_e( 'Did you know that over 70% of visitors who abandon your website will never return?', 'optin-monster-api' ); ?></p>
45
- <p><?php esc_html_e( 'Our exit-intent&reg; technology detects user behavior and prompts them with a targeted campaign at the precise moment they are about to leave.', 'optin-monster-api' ); ?></p>
46
- </div>
47
- <div class="omapi-feature-image"><img src="<?php echo plugins_url( '/assets/css/images/features-exit-animated.gif', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster Exit Intent Technology', 'optin-monster-api' ); ?>" /></div>
48
- </div>
49
-
50
- <div class="omapi-feature-box omapi-clear">
51
- <div class="omapi-feature-image"><img src="<?php echo plugins_url( '/assets/css/images/features-ab-testing.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster uses smart A/B testing', 'optin-monster-api' ); ?>" /></div>
52
- <div class="omapi-feature-text">
53
- <h3><?php esc_html_e( 'Easily A/B test your ideas and increase conversions', 'optin-monster-api' ); ?></h3>
54
- <p><?php esc_html_e( 'A/B testing helps you eliminate the guess work and make data-driven decisions on what works best.', 'optin-monster-api' ); ?></p>
55
- <p><?php esc_html_e( 'Try different content, headlines, layouts, and styles to see what converts best with our smart and easy to use A/B testing tool.', 'optin-monster-api' ); ?></p>
56
- </div>
57
- </div>
58
-
59
- <div class="omapi-feature-box omapi-clear">
60
- <div class="omapi-feature-text">
61
- <h3><?php esc_html_e( 'Measuring your results has never been easier', 'optin-monster-api' ); ?></h3>
62
- <p><?php esc_html_e( 'Get the stats that matter and take action to imrpove your lead-generation strategy.', 'optin-monster-api' ); ?></p>
63
- <p><?php esc_html_e( 'Our built-in analytics help you analyze clicks, views, and overall conversion rates for each page and optin form.', 'optin-monster-api' ); ?></p>
64
- </div>
65
- <div class="omapi-feature-image"><img src="<?php echo plugins_url( '/assets/css/images/features-analytics.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster Segmenting with Page Level Targeting', 'optin-monster-api' ); ?>" /></div>
66
- </div>
67
-
68
- <div class="omapi-single-cta">
69
- <a class="button button-omapi-green button-hero" href="<?php echo $data['button_link']; ?>" target="_blank"><?php echo $data['button_text']; ?></a>
70
- </div>
71
- <div class="omapi-well welcome-featuredin">
72
- <h2><?php esc_html_e( 'OptinMonster has been featured in:', 'optin-monster-api' ); ?></h2>
73
- <img src="<?php echo plugins_url( '/assets/css/images/featured-logos.png', OMAPI_FILE ); ?>" alt="<?php esc_attr_e( 'OptinMonster has been featured in Inc., Forbes, VB, Yahoo, Entrepreneur, Huff Post, and more', 'optin-monster-api' ); ?>" />
74
- </div>
75
-
76
- <div class="omapi-reviews">
77
- <div class="omapi-well omapi-mini-well">
78
- <div class="omapi-talking-head">
79
- <img src="<?php echo plugins_url( '/assets/css/images/michaelstelzner.png', OMAPI_FILE ); ?>">
80
- </div>
81
- <p class="ompai-review">
82
- <?php _e( '<strong>We added more than 95,000 names to our email list</strong> using OptinMonster\'s Exit Intent&reg; technology. We strongly recommend it!', 'optin-monster-api' ); ?>
83
- <span class="reviewer-name"><?php esc_html_e( 'Michael Stelzner', 'optin-monster-api' ); ?></span>
84
- <span class="reviewer-title"><?php esc_html_e( 'Founder Social Media Examiner', 'optin-monster-api' ); ?></span>
85
- </p>
86
- </div>
87
- <div class="omapi-well omapi-mini-well">
88
- <div class="omapi-talking-head">
89
- <img src="<?php echo plugins_url( '/assets/css/images/neilpatel.png', OMAPI_FILE ); ?>">
90
- </div>
91
- <p class="ompai-review">
92
- <?php _e( 'Exit Intent&reg; popups have doubled my email opt-in rate. <strong>When done right, you can see an instant 10% lift on driving sales.</strong> I highly recommend that you use OptinMonster for growing your email list and sales.', 'optin-monster-api' ); ?>
93
- <span class="reviewer-name"><?php esc_html_e( 'Neil Patel', 'optin-monster-api' ); ?></span>
94
- <span class="reviewer-title"><?php esc_html_e( 'Founder QuickSprout', 'optin-monster-api' ); ?></span>
95
- </p>
96
- </div>
97
- <div class="omapi-well omapi-mini-well">
98
- <div class="omapi-talking-head">
99
- <img src="<?php echo plugins_url( '/assets/css/images/matthewwoodward.png', OMAPI_FILE ); ?>">
100
- </div>
101
- <p class="ompai-review">
102
- <?php _e( 'OptinMonster played a critical role in increasing my email optin conversion rate by 469%. In real numbers, <strong>that is the difference between $7,765 and $47,748 per month.</strong>', 'optin-monster-api' ); ?>
103
- <span class="reviewer-name"><?php esc_html_e( 'Matthew Woodward', 'optin-monster-api' ); ?></span>
104
- <span class="reviewer-title"><?php esc_html_e( 'SEO Expert', 'optin-monster-api' ); ?></span>
105
- </p>
106
- </div>
107
- </div>
108
-
109
- <div class="omapi-well welcome-connect">
110
- <p><?php esc_html_e( 'Join the thousands of users who use OptinMonster to convert abandoning website visitors into subscribers and customers.', 'optin-monster-api' ); ?></p>
111
- <div class="actions">
112
- <a class="button button-omapi-green button-hero" href="<?php echo $data['button_link']; ?>" target="_blank"><?php echo $data['button_text']; ?></a>
113
- <span class="or">or</span>
114
- <a class="button button-omapi-gray button-hero omapi-authorize-button" href="<?php echo $data['api_link']; ?>"><?php esc_html_e( 'Connect Your Account', 'optin-monster-api' ) ?></a>
115
- </div>
116
- </div>
117
-
118
- </div>
119
-
120
- <form style="display:none" method="post" action="<?php echo esc_url( add_query_arg( 'optin_monster_api_view', 'api', $data['api_link'] ) ); ?>">
121
- <?php wp_nonce_field( 'omapi_nonce_api', 'omapi_nonce_api' ); ?>
122
- <input type="hidden" name="omapi_panel" value="api" />
123
- <input type="hidden" name="omapi_save" value="true" />
124
- <input type="password" id="omapi-field-apikey" name="omapi[api][apikey]" />
125
- </form>
126
- </div>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
vue/dist/js/{common.3bdb0f3e.js → common.9609c0d8.js} RENAMED
@@ -94,7 +94,7 @@ var t={1:"௧",2:"௨",3:"௩",4:"௪",5:"௫",6:"௬",7:"௭",8:"௮",9:"௯",0
94
  //! moment.js locale configuration
95
  var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return i})},"3eea":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-inline--fa fa-ban fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"ban",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[n("path",{attrs:{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"3f40":function(e,t,n){"use strict";var i=n("86d1"),r=n.n(i);r.a},"3f42":function(e,t,n){e.exports=n.p+"img/dashboard-sample.af325968.png"},"3f47":function(e,t,n){},"3f52":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"omapi-featured-in"},[i("h2",[e._v("OptinMonster has been featured in:")]),i("img",{attrs:{src:n("fb8f"),alt:"Feauted in Inc., Forbes, VB, Yahoo!, Entrepreneur, and Huffpost!"}})])}],a=(n("21b2"),n("2877")),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"3f6b":function(e,t,n){e.exports={default:n("51b6"),__esModule:!0}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n("6dd8"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}var o="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var a=r,o=a.target.__resizeListeners__||[];o.length&&o.forEach(function(e){e()})}};t.addResizeListener=function(e,t){o||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"40b8":function(e,t,n){"use strict";var i=n("549e"),r=n.n(i);r.a},"40c3":function(e,t,n){var i=n("6b4c"),r=n("5168")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},4178:function(e,t,n){var i,r,a,o=n("d864"),s=n("3024"),c=n("32fc"),l=n("1ec9"),u=n("e53d"),d=u.process,p=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b="onreadystatechange",_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){_.call(e.data)};p&&f||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},i(v),v},f=function(e){delete g[e]},"process"==n("6b4c")(d)?i=function(e){d.nextTick(o(_,e,1))}:m&&m.now?i=function(e){m.now(o(_,e,1))}:h?(r=new h,a=r.port2,r.port1.onmessage=y,i=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):i=b in l("script")?function(e){c.appendChild(l("script"))[b]=function(){c.removeChild(this),_.call(e)}}:function(e){setTimeout(o(_,e,1),0)}),e.exports={set:p,clear:f}},"417f":function(e,t,n){"use strict";t.__esModule=!0;var i=n("a026"),r=o(i),a=n("5924");function o(e){return e&&e.__esModule?e:{default:e}}var s=[],c="@@clickoutsideContext",l=void 0,u=0;function d(e,t,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||e.contains(i.target)||e.contains(r.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(t.expression&&e[c].methodName&&n.context[e[c].methodName]?n.context[e[c].methodName]():e[c].bindingFn&&e[c].bindingFn())}}!r.default.prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return l=e}),!r.default.prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){s.forEach(function(t){return t[c].documentHandler(e,l)})}),t.default={bind:function(e,t,n){s.push(e);var i=u++;e[c]={id:i,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[c].documentHandler=d(e,t,n),e[c].methodName=t.expression,e[c].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][c].id===e[c].id){s.splice(n,1);break}delete e[c]}}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},"41b2":function(e,t,n){"use strict";t.__esModule=!0;var i=n("3f6b"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}},"41e4":function(e,t,n){"use strict";var i=n("86a4"),r=n.n(i);r.a},"41f8":function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=a;var r=n("8122");function a(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":i(e))&&(0,r.hasOwn)(e,"componentOptions")}},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
96
  //! moment.js locale configuration
97
- var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t})},4245:function(e,t,n){var i=n("1290");function r(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=r},"427a":function(e,t,n){"use strict";var i=n("fa9a"),r=n.n(i);r.a},4280:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"omapi-campaign-table__mods"},[n("div",{staticClass:"omapi-campaign-table__status"}),n("campaigns-search-button")],1),n("div",{staticClass:"omapi-campaign-table__mods"},[n("campaigns-table-dropdown-filters"),n("campaigns-table-pagination")],1)])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},4284:function(e,t){function n(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}e.exports=n},"42a2":function(e,t,n){var i=n("b5a7"),r=n("79bc"),a=n("1cec"),o=n("c869"),s=n("39ff"),c=n("3729"),l=n("dc57"),u="[object Map]",d="[object Object]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",v=l(i),g=l(r),b=l(a),_=l(o),y=l(s),M=c;(i&&M(new i(new ArrayBuffer(1)))!=m||r&&M(new r)!=u||a&&M(a.resolve())!=p||o&&M(new o)!=f||s&&M(new s)!=h)&&(M=function(e){var t=c(e),n=t==d?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case v:return m;case g:return u;case b:return p;case _:return f;case y:return h}return t}),e.exports=M},4360:function(e,t,n){"use strict";var i=n("a026"),r=n("2f62"),a=function(e){return o(e)&&!s(e)};function o(e){return!!e&&"object"===typeof e}function s(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var c="function"===typeof Symbol&&Symbol.for,l=c?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===l}function d(e){return Array.isArray(e)?[]:{}}function p(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(d(e),e,t):e}function f(e,t,n){return e.concat(t).map(function(e){return p(e,n)})}function h(e,t,n){var i={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){i[t]=p(e[t],n)}),Object.keys(t).forEach(function(r){n.isMergeableObject(t[r])&&e[r]?i[r]=m(e[r],t[r],n):i[r]=p(t[r],n)}),i}function m(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||a;var i=Array.isArray(t),r=Array.isArray(e),o=i===r;return o?i?n.arrayMerge(e,t,n):h(e,t,n):p(t,n)}m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return m(e,n,t)},{})};var v=m,g=v;function b(e,t,n){return void 0===(e=(t.split?t.split("."):t).reduce(function(e,t){return e&&e[t]},e))?n:e}function _(e,t,n,i){return(t=t.split?t.split("."):t).slice(0,-1).reduce(function(e,t){return e[t]=e[t]||{}},e)[t.pop()]=n,e}var y=function(e,t,n){function i(e,t,n){try{return(n=t.getItem(e))&&void 0!==n?JSON.parse(n):void 0}catch(e){}}if(t=(e=e||{}).storage||window&&window.localStorage,n=e.key||"vuex",!function(e){try{return e.setItem("@@",1),e.removeItem("@@"),!0}catch(e){}return!1}(t))throw new Error("Invalid storage instance given");return function(r){var a=b(e,"getState",i)(n,t);"object"==typeof a&&null!==a&&r.replaceState(g(r.state,a,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.subscriber||function(e){return function(t){return e.subscribe(t)}})(r)(function(i,r){(e.filter||function(){return!0})(i)&&(e.setState||function(e,t,n){return n.setItem(e,JSON.stringify(t))})(n,(e.reducer||function(e,t){return 0===t.length?e:t.reduce(function(t,n){return _(t,n,b(e,n))},{})})(r,e.paths||[]),t)})}},M=(n("a481"),n("9b02")),w=n.n(M),O=n("6747"),k=n.n(O),x=n("ed08"),L={fetchMe:function(e){var t=this,n=e.state,i=e.commit,r=e.dispatch,a=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.loading,c=void 0===s?null:s;return null===c&&(c=!a.connected),c&&i("loading","me"),new Promise(function(e,a){return n.apiKey?t._vm.$api.get("me?includeOnboarding=true").then(function(a){var o=a.body;i("setUser",o),i("doneLoading","me");var s=w()(o,"campaignTypes");s&&k()(s)&&i("templates/permittedTypes",s),r("notifications/fetch"),"onboarding-wizard"!==w()(n,"route.name")&&r("wizard/complete",null,{root:!0}),t._vm.$bus.$emit("fetchedMe"),e()}).catch(function(e){i("setError",e),i("doneLoading","me"),a(e),console.error({error:e})}):(i("doneLoading","me"),e())})},saveApiKey:function(e,t){var n=this,i=e.commit;e.dispatch;return i("loading","connect"),new Promise(function(e,r){var a=function(e){n._vm.$bus.$emit("saveApiKeyFailed",t),i("closeAlerts",null),e.explanation="<strong>Something went wrong while attempting to connect</strong>",i("setError",e),i("doneLoading","connect"),r(e),console.error({error:e})},o=function(){n._vm.$bus.$emit("saveApiKeySuccess",t),i("doneLoading","connect"),e()};return i("setApiKey",t),n._vm.$api.post({wpEndpoint:"omapp/v1/api/"}).send({key:t}).then(o).catch(a)})},disconnect:function(e){var t=this,n=e.commit,i=e.dispatch;return n("loading","disconnect"),new Promise(function(e,r){var a=function(e){n("closeAlerts",null),e.explanation="<strong>Something went wrong while attempting to disconnect</strong>",n("setError",e),n("doneLoading","disconnect"),r(e),console.error({error:e})},o=function(){t._vm.$bus.$emit("disconnectSuccess"),n("setApiKey",""),n("resetUser"),i("wizard/resetState"),n("doneLoading","disconnect"),e()};return t._vm.$api.delete({wpEndpoint:"omapp/v1/api/"}).then(o).catch(a)})},setTitle:function(e,t){var n=e.commit,i=t.title,r=t.setBannerTitle,a=void 0===r||r;document.title=Object(x["l"])("titleTag",i).replace("{replaceme}",i),a&&n("setBannerTitle",i)}},C=(n("8e6e"),n("768b")),A=(n("456d"),n("ac6a"),n("bd86")),S=(n("6762"),n("2fdb"),{getAlert:e=>t=>e.alerts[t],findAlert:e=>t=>{const n=e.alerts.findIndex(e=>{return!Object.keys(t).some(n=>{return!t[n]||t[n]!==e[n]})});return-1!==n&&e.alerts[n]}});function T(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var z=function(e,t,n){return k()(n)?n.some(function(n){return e[t].includes(n)}):e[t].includes(n)},E=D({},S,{userId:function(e){return e.user.id},connected:function(e){return Boolean(e.user.id&&e.apiKey)},shouldFetchUser:function(e){return Boolean(e.apiKey&&!e.user.created)},userAttribute:function(e){return function(t,n){return w()(e,"user.".concat(t),n)}},isLoading:function(e){return function(t){return z(e,"loading",t)}},isFetching:function(e){return function(t){return z(e,"fetching",t)}},isFetched:function(e){return function(t){return z(e,"fetched",t)}},userEmail:function(e,t){return t.userAttribute("email")},userFirstName:function(e,t){return t.userAttribute("firstName")},userLastName:function(e,t){return t.userAttribute("lastName")},userLevel:function(e,t){return t.userAttribute("level")},isLiteUser:function(e,t){return"vbp_free"===t.userLevel},userPlanName:function(e,t){return t.isLiteUser?"OptinMonster Lite":t.userAttribute("planName")},features:function(e,t){var n=t.userAttribute("features",[]);return n&&k()(n)?n:Object(x["l"])("features")},allowed:function(e,t){return function(t,n,i){return Object(x["a"])(e.user,t,n,i)}},hasFeature:function(e,t){return function(t){return Object(x["a"])(e.user,"features",t)}},hasRuleType:function(e,t){return function(t){return Object(x["a"])(e.user,"ruleTypes",t)}},showProUpsells:function(e,t){return t.isLiteUser||!t.connected}}),j={onboardingVia:"via",onboardingGoal:"goal",onboardingUsage:"usage",onboardingUsageOtherText:"usage_other_text",onboardingEmailList:"email_list",onboardingEmailService:"email_service",onboardingEmailServiceOtherText:"email_service_other_text"};Object.keys(j).forEach(function(e){var t=j[e];E[e]=function(e){return w()(e,"user.onboarding.".concat(t))}});var P={onboardingUsageOtherText:["usage_other_text","usage","other"],onboardingEmailServiceOtherText:["email_service_other_text","email_service","other"]};Object.keys(P).forEach(function(e){var t=Object(C["a"])(P[e],3),n=t[0],i=t[1],r=t[2];E[e]=function(e){return r===w()(e,"user.onboarding.".concat(i))?w()(e,"user.onboarding.".concat(n)):""}});var N=E,Y=n("9bf8"),$=(n("7514"),n("386d"),n("20d6"),{alerts:[],error:null});function W(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q=function(){return{starts:"",ends:"",campaignType:"",embedOutput:"all",status:"",campaignIds:[]}},I=B({},$,{folders:[],campaigns:[],archives:0,totalCampaignsCount:0,totalFilteredCampaignsCount:0,draftCount:0,publishCount:0,embedFilter:"all",sort:"newest",filters:q(),search:"",searching:!1,page:1,bulk:[],isSelectAll:!1});function F(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var R=H({},S,{isArchived:function(e,t){return function(e){return e&&"archive"===t.getCampaign(e).status}},isTrashed:function(e,t){return function(e){return e&&"trash"===t.getCampaign(e).status}},isRestricted:function(e,t){return function(e){return t.isArchived(e)||t.isTrashed(e)}},allCampaigns:function(e){return w()(e,"campaigns",[])},getCampaign:function(e){return function(t){var n=e.campaigns.filter(function(e){return e.id===t})[0];return n||e.campaigns.forEach(function(e){if(!n){var i=e.splits&&e.splits.filter(function(e){return e.id===t})||[];i.length&&(n=i[0],n.sites=e.site,n.folders=e.folders)}}),n}},getCampaignIndex:function(e){return function(t){return e.campaigns.findIndex(function(e){return e.id===t})}},hasCampaigns:function(e){return e.campaigns.length},isOnFire:function(e,t){return function(e){if(t.isRestricted(e))return!1;var n=t.getCampaign(e);if(100>n.analytics_data.impressions||20>n.analytics_data.conversions)return!1;var i=1001;switch(n.type){case"Fullscreen":i=400;break;case"Lightbox Popup":case"Popup":i=300;break;case"Mobile Popup":case"Slide-in":i=200;break;case"Canvas":case"Inline / After Post":case"Inline":case"Sidebar":case"Floating Bar":i=100;break}return i<100*n.analytics_data.rate}},hasSplits:function(e,t){return function(e){var n=t.getCampaign(e)||{};return n.splits&&n.splits.length}},canBulk:function(e,t,n){return e.campaigns.filter(function(e){return Object(x["a"])(n.user,"roles","campaign.edit",e)})},campaignsWithSplits:function(e){var t=[];return e.campaigns.forEach(function(e){t.push(e),e.splits.length&&e.splits.forEach(function(e){t.push(e)})}),t},moreAvailable:function(e){return e.totalFilteredCampaignsCount>e.campaigns.length},canResetFilters:function(e){if("all"!==e.embedFilter)return!0;if(e.search)return!0;var t=q(),n=Object.keys(t).find(function(n){return Array.isArray(t[n])?w()(e,"filters.".concat(n)).length!==t[n].length:w()(e,"filters.".concat(n))!==t[n]});return Boolean(n)},enabledCampaignIds:function(e,t,n){return n.wp.campaigns.filter(function(e){return"1"===w()(e,"post_meta._omapi_enabled","")}).map(function(e){return e.id})},rawDisabledCampaignIds:function(e,t,n){return n.wp.campaigns.filter(function(e){return"1"!==w()(e,"post_meta._omapi_enabled","")}).map(function(e){return e.id})},allWpIds:function(e,t){var n=t.rawDisabledCampaignIds,i=t.enabledCampaignIds;return i.concat(n)},missingIds:function(e,t){var n=t.allCampaigns,i=t.allWpIds;return n.filter(function(e){return!i.includes(e.id)}).map(function(e){return e.id})},disabledCampaignIds:function(e,t){var n=t.rawDisabledCampaignIds,i=t.missingIds;return n.concat(i)},publishCount:function(e){return e.publishCount},pendingCount:function(e,t){var n=e.totalCampaignsCount,i=e.publishCount,r=e.draftCount,a=t.missingIds;t.allWpIds,t.allCampaigns;return Math.max(0,n-i-r-a.length)},draftCount:function(e,t){var n=e.draftCount,i=t.missingIds;return n+i.length},testing:function(e,t){return{all:t.allCampaigns.map(function(e){return e.id}),allWp:t.allWpIds,missing:t.missingIds,enabled:t.enabledCampaignIds,disabled:t.disabledCampaignIds,ycounts:{publish:e.publishCount,draft:e.draftCount,pending:e.totalCampaignsCount-e.publishCount-e.draftCount},zcounts:{publish:t.publishCount,draft:t.draftCount,pending:t.pendingCount}}}}),X=(n("c5f6"),n("ee1d"),n("55dd"),n("1985")),V=n("0f5c"),U=n.n(V),G=n("df33");function K(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Q=q(),Z=function(e){return e.map(function(e){e.domain=Object(X["toUnicode"])(e.domain)})},ee=J({},G["a"],{setSearch:function(e,t){e.search=t},setSearching:function(e,t){e.searching=t},setFolders:function(e,t){e.folders=t||[]},addCampaigns:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.campaigns.length?e.campaigns:[];t.forEach(function(e){var t=e.sites||[];Z(t),e.sites=t,n.push(e)}),this._vm.$set(e,"campaigns",n)},updateCampaignMeta:function(e,t){var n=t.campaignId,i=t.meta,r=e.campaigns.findIndex(function(e){return e.id===n});if(-1!==r){var a=J({},e.campaigns[r]);U()(a,"wp.post_meta",i),this._vm.$set(e.campaigns,r,a)}},updateCampaignValue:function(e,t){var n=t.campaignId,i=t.key,r=t.value,a=t.valueType,o=void 0===a?"string":a,s=e.campaigns.findIndex(function(e){return e.id===n});if(-1!==s){var c=J({},e.campaigns[s]);switch(o){case"numericBool":r=r&&"0"!==r?"1":"0";break;case"positiveNumber":r=parseInt(r,0),r=0<r?r:1;break;case"bool":r=Boolean(r&&"0"!==r);break;case"array":r=r||[],r=Array.isArray(r)?r:[r];break;case"object":break;default:r=r||0===r?String(r):"";break}U()(c,i,r),this._vm.$set(e.campaigns,s,c)}},updateCampaign:function(e,t){var n=t.index,i=t.campaign;void 0===n&&(n=e.campaigns.findIndex(function(e){return e.id===i.id})),this._vm.$set(e.campaigns,n,i)},setCampaigns:function(e,t){var n=t||[];n.map(function(e){var t=e.sites||[];Z(t),e.sites=t}),this._vm.$set(e,"campaigns",n)},setTotalCampaignCount:function(e,t){e.totalCampaignsCount=t},setTotalFilteredCampaignCount:function(e,t){e.totalFilteredCampaignsCount=t},setStatus:function(e,t){var n=this,i=t.campaigns,r=t.status;i.forEach(function(t){var i=e.campaigns.findIndex(function(e){return e.id===t});if(-1!==i)e.campaigns[i].status=r,e.campaigns[i].splits.length&&"paused"===r&&e.campaigns[i].splits.forEach(function(t,a){n._vm.$set(e.campaigns[i].splits[a],"status",r)});else{var a=e.campaigns.filter(function(e){return e.splits.length});a.forEach(function(i){var a=e.campaigns.findIndex(function(e){return e.id===i.id}),o=i.splits.findIndex(function(e){return e.id===t});-1!==o&&n._vm.$set(e.campaigns[a].splits[o],"status",r)})}})},updateSort:function(e,t){var n=e.campaigns,i=e.sort;t&&(i=t.value);var r=Object(x["t"])(n,i);this._vm.$set(e,"campaigns",r),this._vm.$set(e,"sort",i)},refreshAnalytics:function(e,t){var n=this;Object.keys(t).forEach(function(i){Object.keys(t[i]).forEach(function(r){var a=t[i][r],o=e.campaigns.findIndex(function(e){return e.id===r});if(-1!==o)n._vm.$set(e.campaigns[o],"analytics_data",{impressions:parseInt(a.impressions),conversions:parseInt(a.conversions),rate:parseFloat(a.rate.replace("%",""))});else{var s=e.campaigns.filter(function(e){return e.splits.length});s.forEach(function(t){var i=e.campaigns.findIndex(function(e){return e.id===t.id}),o=t.splits.findIndex(function(e){return e.id===r});-1!==o&&n._vm.$set(e.campaigns[i].splits[o],"analytics_data",{impressions:parseInt(a.impressions),conversions:parseInt(a.conversions),rate:parseFloat(a.rate.replace("%",""))})})}})})},makePrimary:function(e,t){var n=e.campaigns,i=n.findIndex(function(e){return e.id===t.parent_id}),r=J({},n[i]),a=r.splits.filter(function(e){return e.id!==t.id}),o=J({},t);o.is_split=0,o.sites=r.sites.splice(0),o.folders=r.folders.splice(0),o.splits=a,delete o.parent_id,delete r.sites,delete r.folders,delete r.splits,r.parent_id=o.id,r.is_split=1,o.splits.push(r),this._vm.$set(e.campaigns,i,o)},addToBulk:function(e,t){this._vm.$set(e.bulk,e.bulk.length,t),e.bulk.length===e.campaigns.length&&this._vm.$set(e,"isSelectAll",!0)},removeFromBulk:function(e,t){var n=e.bulk.indexOf(t);-1!==n&&(this._vm.$delete(e.bulk,n),this._vm.$set(e,"isSelectAll",!1))},removeCampaignByIndex:function(e,t){this._vm.$delete(e.campaigns,t)},removeSplitByIndex:function(e,t){var n=t.campaignIndex,i=t.splitIndex;this._vm.$delete(e.campaigns[n].splits,i)},clearBulk:function(e){this._vm.$set(e,"bulk",[]),this._vm.$set(e,"isSelectAll",!1)},setBulk:function(e,t){this._vm.$set(e,"bulk",t)},selectAll:function(e,t){this._vm.$set(e,"isSelectAll",Boolean(t))},page:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.page=n)},publishCountUpdate:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.publishCount=n)},draftCountUpdate:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.draftCount=n)},setEmbedFilter:function(e,t){e.embedFilter=t,"all"===t&&this._vm.$set(e.filters,"campaignIds",Q.campaignIds)},setFilterValues:function(e,t){var n=this;Object.keys(t).forEach(function(i){n._vm.$set(e.filters,i,t[i])})},resetFilters:function(e){var t=this;Object.keys(Q).forEach(function(n){t._vm.$set(e.filters,n,Q[n])}),this._vm.$set(e,"search",""),this._vm.$set(e,"embedFilter","all")},resetFilter:function(e,t){return"search"===t?this._vm.$set(e,"search",""):"embedFilter"===t?(this._vm.$set(e,"embedFilter","all"),this._vm.$set(e.filters,"campaignIds",Q.campaignIds)):void this._vm.$set(e.filters,t,Q[t])}}),te={namespaced:!0,actions:Y["a"],getters:R,mutations:ee,state:I},ne=(n("5df3"),function(){return{analytics:{impressions:0,conversions:0,rate:0},topCampaigns:[],dateRange:{preset:!0,filter:"30-days",start:"",end:""},dismissedWelcomeBack:!1}}),ie=ne(),re=0,ae=function(){var e=(new Date).getTime()-re,t=36e5;return e>t},oe={fetch:function(e){var t=this,n=e.commit,i=(e.state,e.dispatch),r=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e,o){if((!ae()||!r.connected)&&!a.filter)return e();var s=[],c="",l=Promise.resolve();n("loading","accountDash",{root:!0}),s.push("site=".concat(x["s"]?x["s"].join(","):x["r"])),s.push("t=".concat((new Date).getTime())),a.filter?(s.push("filter=".concat(a.filter)),a.start&&s.push("start=".concat(t._vm.$moment(a.start).format("YYYY-MM-DD"))),a.end&&s.push("end=".concat(t._vm.$moment(a.end).format("YYYY-MM-DD")))):(s.push("filter=30-days"),s.push("start=".concat(t._vm.$moment().subtract(29,"days").format("YYYY-MM-DD"))),s.push("end=".concat(t._vm.$moment().format("YYYY-MM-DD")))),s.length&&(c="?".concat(s.join("&"))),r.shouldFetchUser&&(l=i("fetchMe",{},{root:!0}).catch(function(e){return console.error({error:e}),o(e)}));var u=new Promise(function(e,i){t._vm.$api.get("account-dashboard".concat(c),{cached:!1}).then(function(e){var t=e.body;n("doneLoading","accountDash",{root:!0});var i=w()(t,"widgets.analytics.range1",ne()["analytics"]);n("setAnalyticsData",i);var r=w()(t,"widgets.top-campaigns",ne()["topCampaigns"]);n("setTopCampaigns",r)})});Promise.all([l,u]).then(function(){e()}).catch(function(e){o(e),console.error(e)})})}},se={analytics:function(e){return e.analytics},topCampaigns:function(e){return e.topCampaigns},impressions:function(e,t){return x["n"].withCommas(t.analytics.impressions,0)},conversions:function(e){return x["n"].withCommas(e.analytics.conversions,0)},rate:function(e){return x["n"].withCommas(e.analytics.rate,0)},dateRange:function(e){return e.dateRange}},ce={setAnalyticsData:function(e,t){this._vm.$set(e,"analytics",t)},setTopCampaigns:function(e,t){this._vm.$set(e,"topCampaigns",t.slice(0,5))},updateStats:function(e,t){this._vm.$set(e,"dateRange",t)},dismissWelcomeBack:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._vm.$set(e,"dismissedWelcomeBack",Boolean(t))}},le={namespaced:!0,actions:oe,getters:se,mutations:ce,state:ie},ue=(n("1c4c"),{fetchLeads:function(e){var t=e.commit,n=e.getters,i=e.rootGetters;if(i.connected)return t("loading","monsterleads",{root:!0}),t("resetLeads"),x["b"].get("leads"+n.leadsQueryString).then(function(e){t("doneLoading","monsterleads",{root:!0}),t("setLeadsPageData",e.body)})},deleteLead:function(e,t){var n=e.commit,i=e.state,r=Array.from(i.leads).find(function(e){return t===e.id});confirm("Are you sure you want to delete ".concat(r.email,"?"))&&x["b"].delete("leads/".concat(t)).then(function(){n("removeLead",t)})},updateSiteFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateSiteFilters",t),i("fetchLeads")},updateCampaignFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateCampaignFilters",t),i("fetchLeads")},updateTagFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateTagFilters",t),i("fetchLeads")},updateStartDate:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateStartDate",t),i("fetchLeads")},updateEndDate:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateEndDate",t),i("fetchLeads")},updateSearch:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("setSearch",t),i("fetchLeads")},changePage:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("setPage",t),i("fetchLeads")}}),de=(n("7f7f"),{leadsQueryString:function(e){var t={page:e.page,leadsPerPage:e.perPage,searchLead:e.search,dateStart:e.filters.dateRangeStart,dateEnd:e.filters.dateRangeEnd,sites:e.filters.sites,campaigns:e.filters.campaigns,tags:e.filters.tags},n="?"+Object.keys(t).reduce(function(e,n){return t[n]&&(Array.isArray(t[n])?t[n].forEach(function(t){return e.push(n+"[]="+t)}):e.push(n+"="+encodeURIComponent(t[n]))),e},[]).join("&");return n},exportQueryString:function(e,t){var n=t.leadsQueryString,i=n+"&"+Object.keys(e.export).reduce(function(t,n){return t.push("export[".concat(n,"]=")+encodeURIComponent(e.export[n])),t},[]).join("&");return i},getCampaignFilterOptions:function(e){return e.filterOptions.campaigns.map(function(e){return{name:e.name,value:e.id}})},getSiteFilterOptions:function(e){return e.filterOptions.sites.map(function(e){return{name:e.name,value:e.numericId}})},getTagFilterOptions:function(e){return e.filterOptions.tags.map(function(e){return{name:e.name,value:e.id}})}}),pe=n("c1df"),fe=n.n(pe),he={setLeadsPageData:function(e,t){e.filterOptions.sites=t.sites,e.filterOptions.campaigns=t.campaigns,e.filterOptions.tags=t.tags,e.leads=t.leads,e.page=parseInt(t.pagination.currentPage),e.perPage=parseInt(t.pagination.perPage),e.count=parseInt(t.pagination.count)},removeLead:function(e,t){var n=e.leads.findIndex(function(e){return t===e.id});e.leads.splice(n,1)},resetLeads:function(e){e.leads=[]},setPage:function(e,t){e.page=t},updateSiteFilters:function(e,t){e.filters.sites=Object(x["d"])(t)},updateCampaignFilters:function(e,t){e.filters.campaigns=Object(x["d"])(t)},updateTagFilters:function(e,t){e.filters.tags=Object(x["d"])(t)},updateStartDate:function(e,t){e.filters.dateRangeStart=fe()(t).format("YYYY-MM-DD")},updateEndDate:function(e,t){e.filters.dateRangeEnd=fe()(t).format("YYYY-MM-DD")}},me={leads:{},count:0,page:1,perPage:10,search:"",filterOptions:{sites:[],campaigns:[],tags:[]},filters:{sites:[],campaigns:[],tags:[],dateRangeStart:null,dateRangeEnd:null},export:{first_name:!0,last_name:!0,email:!0,phone:!0,campaign:!0,site:!0,site_domain:!0,page_title:!0,page_url:!0,ip:!0,date:!0,time:!0,type:"xlsx"}},ve={namespaced:!0,actions:ue,getters:de,mutations:he,state:me},ge=n("75fc"),be=n("63ea"),_e=n.n(be);function ye(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var we=function(e,t){t=JSON.parse(JSON.stringify(t)),delete t.id,delete t.created;var n=e.findIndex(function(e){try{var n=JSON.parse(JSON.stringify(e));return delete n.id,delete n.created,_e()(t,n)}catch(i){return!1}});return-1!==n},Oe=function(e,t){return t.created||(t.created=x["g"].timestamp()),e.unshift(t),e},ke=Me({},G["a"],{removeNotifications:function(e,t){var n=Object(ge["a"])(e.notifications),i=Object(x["d"])(t);i.forEach(function(t){var i=e.notifications.findIndex(function(e){return e.id===t});n.splice(i,1)}),this._vm.$set(e,"notifications",n)},setNotifications:function(e,t){var n=e.queue.concat(Object(x["d"])(t)).map(function(e){return e.created||(e.created=x["g"].timestamp()),e});this._vm.$set(e,"notifications",n),this._vm.$set(e,"set",!0),e.error&&(this._vm.$set(e,"error",null),G["a"].closeAlerts(e))},setEnabled:function(e,t){this._vm.$set(e,"enabled",Boolean(t))},add:function(e,t){var n=e.notifications,i=e.queue;this._vm.$set(e,"notifications",Oe(n,t)),e.set||this._vm.$set(e,"queue",Oe(i,t))},maybeAdd:function(e,t){var n=e.notifications,i=e.queue;if(we(n,t))return!1;this._vm.$set(e,"notifications",Oe(n,t)),e.set||this._vm.$set(e,"queue",Oe(i,t))},remove:function(e,t){var n=e.notifications.findIndex(function(e){return e===t});this._vm.$delete(e.notifications,n)}}),xe={fetch:function(e){var t=this,n=e.commit;return new Promise(function(e,i){return n("loading","notifications",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/notifications/"}).then(function(t){var i=t.body,r=t.status;n("setEnabled",206!==parseInt(r,10)),n("doneLoading","notifications",{root:!0}),n("setNotifications",i),e()}).catch(function(e){n("setError",e),n("doneLoading","notifications",{root:!0}),i(e),console.error({error:e})})})},dismiss:function(e,t){var n=this,i=e.state,r=e.commit;return new Promise(function(e,a){if(t=Object(x["d"])(t),!i.enabled)return t.forEach(function(e){r("remove",e)}),e();var o=t.map(function(e){return e.id});return o.length?n._vm.$api.post({wpEndpoint:"omapp/v1/notifications/dismiss/"}).send(Object(x["d"])(o)).then(function(t){var n=t.body;r("setNotifications",n),e()}).catch(function(e){r("closeAlerts"),e.explanation="<strong>Something went wrong</strong>",r("setError",e),a(e),console.error({error:e})}):e()})},maybeCreate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),r=n.notifications;if(we(r,t))return!1;i("create",t)},create:function(e,t){var n=this,i=e.commit,r=e.state;return new Promise(function(e,a){return r.enabled?n._vm.$api.post({wpEndpoint:"omapp/v1/notifications/create/"}).send(Object(x["d"])(t)).then(function(t){var n=t.body;i("setNotifications",n),e()}).catch(function(e){i("closeAlerts"),e.explanation="<strong>Something went wrong</strong>";var t=w()(e,"response.body.notifications");t&&t.length&&i("setNotifications",t),i("setError",e),a(e),console.error({error:e})}):i("add",t)})}};function Le(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ae={namespaced:!0,actions:xe,getters:{count:function(e){return e.notifications.length},has:function(e,t){return 0<t.count}},mutations:ke,state:Ce({},$,{enabled:!0,set:!1,notifications:[],queue:[]})},Se=n("1a8c"),Te=n.n(Se),De={namespaced:!0,state:{plugins:[]},getters:{byId:function(e){return function(t){return e.plugins.find(function(e){return e.id===t})}}},mutations:{setPlugins:function(e,t){this._vm.$set(e,"plugins",t)}},actions:{fetch:function(e){var t=this,n=e.commit;return new Promise(function(e,i){return n("loading","plugins",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/plugins/"}).then(function(t){var i=t.body;n("doneLoading","plugins",{root:!0}),n("setPlugins",i),e()}).catch(function(e){n("setError",e,{root:!0}),n("doneLoading","plugins",{root:!0}),i(e),console.error({error:e})})})},action:function(e,t){var n=this,i=e.commit,r=(e.dispatch,e.getters);return new Promise(function(e,a){if(t=t&&Te()(t)?t:r.byId(t),!t)return a(new Error("No plugin id provided."));if(t.installed&&t.active)return e();var o={id:t.id,url:t.url,nonce:t.installed?t.activate_nonce:t.install_nonce,installAction:t.installed?"activate":"install"},s=function(e){n._vm.$bus.$emit("pluginActionFailed",o),i("closeAlerts",null,{root:!0}),e.explanation="<strong>Something went wrong</strong>",e.payload=o,i("setError",e,{root:!0}),a(e),console.error("Could not ".concat(o.installAction," ").concat(t.name),{error:e})};return n._vm.$api.post({wpEndpoint:"omapp/v1/plugins/"}).send(o).then(function(){return e()}).catch(s)})}}};function ze(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var je={fetchProfiles:function(e,t){var n=this,i=e.state,r=e.rootGetters,a=e.commit,o=e.dispatch,s="profiles-"+t;return new Promise(function(e,c){return r.connected?r.isFetched(s)||r.isFetching(s)?e():(a("fetching",s,{root:!0}),n._vm.$api.get("analytics/".concat(t,"/profiles")).then(function(n){var r=n.body,o=Ee({},i.analyticsProfiles);o[t]=[],Object.keys(r).forEach(function(e){var n=r[e];String(n.id)===String(t)&&o[t].push({id:"".concat(n.gaId,":").concat(n.uaid),name:"".concat(n.name," (").concat(n.uaid,")")})}),a("setAnalyticsProfiles",o),a("fetched",s,{root:!0}),e()}).catch(function(e){var r=n._vm.$urls.app("integrations/#error-provider-account:analytics:".concat(t)),l=w()(i.analyticsAccounts.find(function(e){return e.id===t}),"name",t);l='<a href="'.concat(r,'" target="_blank">').concat(l,"</a>"),e.explanation="Something went wrong while fetching account profiles for <strong>".concat(l,"</strong>."),a("setError",e,{root:!0});var u=Object(G["b"])(e),d={type:"action",title:"There was an error fetching analytics profiles",content:u,btns:{main:{text:"Fix Now",url:r}}};o("notifications/maybeCreate",d,{root:!0});var p=Ee({},i.analyticsProfiles);p[t]={error:u},a("setAnalyticsProfiles",p),a("fetched",s,{root:!0}),c(e),console.error({error:e})})):e()})},fetchAnalytics:function(e){var t=this,n=e.rootGetters,i=e.commit;return i("fetching","siteAnalytics",{root:!0}),new Promise(function(e,r){return n.connected&&x["r"]?t._vm.$api.get("sites/".concat(x["r"],"/analytics-accounts")).then(function(t){var n=t.body;i("setAnalyticsAccounts",n.accounts),i("setAnalyticsProfiles",n.profiles),i("fetched","siteAnalytics",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneFetching","siteAnalytics",{root:!0}),r(e),console.error({error:e})}):(i("fetched","siteAnalytics",{root:!0}),e())})},fetchSiteSettings:function(e){var t=this,n=e.rootGetters,i=e.commit,r=e.dispatch;return i("fetching","siteSettings",{root:!0}),new Promise(function(e,a){return n.connected&&x["r"]?t._vm.$api.get("sites/".concat(x["r"],"/settings")).then(function(t){var n=t.body;i("setSiteSettings",n.settings),i("setIntegrations",n.integrations),i("setProviders",n.providers),r("fetchAnalytics"),i("fetched","siteSettings",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneFetching","siteSettings",{root:!0}),a(e),console.error({error:e})}):(i("fetched","siteSettings",{root:!0}),e())})},saveSiteSettings:function(e,t){var n=this,i=e.rootGetters,r=e.commit;return r("loading","siteSettingsSave",{root:!0}),new Promise(function(e,a){return i.connected&&x["r"]?n._vm.$api.put("sites/".concat(x["r"])).send({settings:t,from_wp:1}).then(function(n){var i=n.body;Object.keys(t).forEach(function(e){t[e]=w()(i,"settings.".concat(e),t[e])}),r("updateSiteSettings",t),r("fetched","siteSettings",{root:!0}),r("doneLoading","siteSettingsSave",{root:!0}),e()}).catch(function(e){e.explanation="Something went wrong while saving the site settings.",r("setError",e,{root:!0}),r("doneLoading","siteSettingsSave",{root:!0}),a(e),console.error({error:e})}):(r("doneLoading","siteSettingsSave",{root:!0}),e())})},fetchMiscSettings:function(e){var t=this,n=(e.rootGetters,e.commit);return n("fetching","miscSettings",{root:!0}),new Promise(function(e,i){return t._vm.$api.get({wpEndpoint:"omapp/v1/settings"}).then(function(t){var i=t.body;n("updateMiscSettings",i),n("fetched","miscSettings",{root:!0}),e()}).catch(function(e){n("setError",e,{root:!0}),n("doneFetching","miscSettings",{root:!0}),i(e),console.error({error:e})})})},saveMiscSettings:function(e,t){var n=this,i=(e.rootGetters,e.commit);return i("loading","miscSettingsSave",{root:!0}),new Promise(function(e,r){return n._vm.$api.post({wpEndpoint:"omapp/v1/settings"}).send({settings:t}).then(function(t){var n=t.body;i("updateMiscSettings",n),i("fetched","miscSettings",{root:!0}),i("doneLoading","miscSettingsSave",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneLoading","miscSettingsSave",{root:!0}),r(e),console.error({error:e})})})}},Pe={siteSettings:function(e){return e.siteSettings},miscSettings:function(e){return e.miscSettings},defaultIntegrationId:function(e){return e.siteSettings.defaultIntegration},hasGoogleAnalytics:function(e){return Boolean(e.siteSettings.globalAnalyticsID||e.siteSettings.globalAnalyticsProfile)},hasDefaultIntegration:function(e){return Boolean(e.siteSettings.defaultIntegration)},defaultIntegrationProvider:function(e,t){var n=Object.keys(e.integrations).find(function(n){return e.integrations[n].find(function(e){return t.defaultIntegrationId===e.id})});return n||""},providerIntegrations:function(e,t){return function(t){return w()(e,"integrations[".concat(t,"]"),[])}},accountProfiles:function(e,t){return function(t){return w()(e,"analyticsProfiles[".concat(t,"]"),[])}}},Ne={setProviders:function(e,t){this._vm.$set(e,"providers",t)},setIntegrations:function(e,t){this._vm.$set(e,"integrations",t)},setSiteSettings:function(e,t){this._vm.$set(e,"siteSettings",t)},updateSiteSettings:function(e,t){var n=e.siteSettings,i={};Object.keys(n).forEach(function(e){i[e]=w()(t,e,n[e])}),Object.keys(t).forEach(function(e){i[e]=t[e]}),this._vm.$set(e,"siteSettings",i)},updateMiscSettings:function(e,t){this._vm.$set(e,"miscSettings",t)},setAnalyticsAccounts:function(e,t){this._vm.$set(e,"analyticsAccounts",t)},setAnalyticsProfiles:function(e,t){this._vm.$set(e,"analyticsProfiles",t)}},Ye=n("9ac5"),$e={namespaced:!0,state:Ye["a"],getters:Pe,mutations:Ne,actions:je},We=n("a18c");function Be(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ie=function(){return{settings:{tab:"general",tabs:{general:"General",site:"Site Settings",billing:"Billing",subaccounts:"Sub-Accounts",misc:"Miscellaneous"}},about:{tab:"about-us",tabs:{"about-us":"About Us","getting-started":"Getting Started","lite-pro":"Lite vs. Pro"}}}},Fe={namespaced:!0,state:Ie(),getters:{settingsTab:function(e){return e.settings.tab},settingsTabs:function(e,t,n,i){var r=e.settings.tabs;return i.connected||(delete r.billing,delete r.subaccounts),r},aboutTab:function(e,t,n,i){var r=e.about.tab;return i.showProUpsells?r:"lite-pro"===r?"about-us":r},aboutTabs:function(e,t,n,i){if(i.showProUpsells)return e.about.tabs;var r=qe({},e.about.tabs);return delete r["lite-pro"],r}},mutations:{setTab:function(e,t){var n=t.page,i=t.tab,r=Ie()[n];i=r.tabs[i]?i:r.tab,this._vm.$set(e[n],"tab",i)}},actions:{goTab:function(e,t){var n=e.commit,i=e.rootState,r=t.page,a=t.tab,o=Ie()[r],s=r+"-tab";a&&o.tab!==a||(a=o.tab,s=r),n("setTab",{page:r,tab:a});var c=We["a"].getRouteForSlug(s);c&&(w()(i,"route.name")===w()(c,"name")&&w()(i,"route.params.selectedTab")===a||We["a"].push({name:c.name,params:{selectedTab:a}}))}}};function He(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Xe={fetchTemplateData:function(e){var t=this,n=e.dispatch,i=e.commit,r=e.rootGetters,a=e.rootState;i("loading","templates",{root:!0});var o=a.apiKey,s="omTemplates"+(o?"Auth":""),c=function(e){var t=e.templates,n=e.userTypes,r=e.userRecent,a=e.popular,s=e.filters,c=e.features,l=t&&k()(t),u=s&&k()(s),d=c&&k()(c);return l&&i("templates",t),n&&k()(n)&&i("permittedTypes",n),r&&i("recentTemplates",r),a&&i("popular",a),u&&i("filterOptions",s),l&&u&&(d||!o)},l={},u=function(e){return sessionStorage.setItem(s,JSON.stringify(e))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(e),l=Re({},l,{},e),t&&u(l)};return o||sessionStorage.removeItem("omTemplatesAuth"),new Promise(function(e,a){var l=function(){i("doneLoading","templates",{root:!0}),e()},u=sessionStorage.getItem(s);if(u&&c(JSON.parse(u)))return l();var p=function(e){e.explanation="Something went wrong while fetching template data.",i("setError",e),i("doneLoading","templates",{root:!0}),console.error({err:e}),a(e)},f=function(e){var t=e.body;if(t&&k()(t)&&d({filters:t},!o),!r.userId){var i=Object(x["l"])("features");if((!i||!k()(i))&&o)return n("fetchMe",{},{root:!0}).then(l)}return l()},h=function(e){var n=e.body;Te()(n)&&d(n),t._vm.$api.get("templates/filters").then(f)};t._vm.$api.get("user-templates").then(h).catch(p)})},goToFilteredView:function(e,t){var n=e.commit,i=t.type,r=t.push,a=void 0===r||r;n("setActiveType",i),We["a"][a?"push":"replace"]({name:"template-type",params:{type:i}})}},Ve={hasGamified:function(e,t,n,i){return i.hasFeature("gamified-wheel-element")},typePermitted:function(e,t){return function(n){return"gamified"===n?t.hasGamified:e.permittedTypes.includes(n)}},validType:function(e){return Boolean(w()(e.types,e.activeType,!1))},featured:function(e){var t=e.templates.filter(function(e){return e.tags.find(function(e){return"Featured"===e.name})}),n={};return Object.keys(e.types).forEach(function(e){n[e]=[]}),t.forEach(function(e){n[e.type].push(e)}),n},filterGamified:function(e){return"gamified"===e.activeType},filters:function(e,t){var n={};return Object.keys(e.filters).forEach(function(t){n[t]=k()(e.filters[t])?Object(ge["a"])(e.filters[t]):e.filters[t]}),t.filterGamified&&(n.tags.includes(1)||n.tags.push(1)),n},typeNames:function(e){var t={};return Object.keys(e.types).forEach(function(n){t[n]=e.types[n].name}),t},typeCount:function(e,t){return Object.keys(t.typeNames).length}};function Ue(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ke=function(e,t){var n={};return Object.keys(t.types).forEach(function(i){n[i]=t.templates.filter(function(t){return e[i]&&e[i].includes(t.id)})}),n},Je=Ge({},G["a"],{setActiveType:function(e,t){e.activeType=t},setActiveTemplate:function(e,t){e.activeTemplate=t},filterOptions:function(e,t){this._vm.$set(e,"filterOptions",t.filter(function(e){return w()(e,"values",[]).length}))},setFilter:function(e,t){this._vm.$set(e.filters,t.filter,t.value),"tags"!==t.filter||"gamified"!==e.activeType||t.value.includes(1)||(e.activeType="popup")},appliedFilters:function(e,t){e.filters.goals=t.goals,e.filters.categories=t.categories,e.filters.tags=t.tags},clearFilters:function(e){e.filters.goals=[],e.filters.categories=[],e.filters.tags=[]},setSearch:function(e,t){t&&(e.sort="recent"),e.search=t},setSort:function(e,t){e.sort=t},setLoadingPreview:function(e,t){e.loadingPreview=t},setPreviewing:function(e,t){e.previewing=t},apiLoaded:function(e){e.apiLoaded=!0},permittedTypes:function(e,t){var n=Object(ge["a"])(t).map(function(e){switch(e){case"lightbox":return"popup";case"post":return"inline";case"footer":return"floating";case"full-page-takeover":return"fullscreen";default:return e}});this._vm.$set(e,"permittedTypes",n)},popular:function(e,t){this._vm.$set(e,"popular",Ke(Ge({},t),e))},recentTemplates:function(e,t){this._vm.$set(e,"recentTemplates",Ke(Ge({},t),e))},templates:function(e,t){this._vm.$set(e,"templates",Object(ge["a"])(t))}});function Qe(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var et={popup:{feature:!1,name:"Popup"},floating:{videoUrl:"https://www.youtube.com/embed/6OBk0GnfMi0",feature:"floating-bar",name:"Floating Bar"},fullscreen:{videoUrl:"https://www.youtube.com/embed/eLJ1oNVC5dA",feature:"fullscreen",name:"Fullscreen"},inline:{videoUrl:"https://www.youtube.com/embed/G2nmRV4tU7A",feature:"inline",name:"Inline"},slide:{videoUrl:"https://www.youtube.com/embed/Mr7UkNZJ1lA",feature:"slide-in",name:"Slide-in"},gamified:{videoUrl:"https://www.youtube.com/embed/EBQ50TVaVCk",feature:"coupon-wheel-campaigns",name:"Gamified"}},tt={},nt={};Object.keys(et).forEach(function(e){tt[e]=[],nt[e]=[]});var it=Ze({},$,{activeType:"popup",activeTemplate:{},loadingPreview:"",previewing:"",sort:"recent",search:"",apiLoaded:!1,filterOptions:[[{slug:"device",values:[]}],[{slug:"categories",values:[]}],[{slug:"goals",values:[]}],[{slug:"tags",values:[]}]],filters:{device:"desktop",categories:[],goals:[],tags:[]},permittedTypes:[],templates:[],popular:nt,recentTemplates:tt,types:et}),rt={namespaced:!0,actions:Xe,getters:Ve,mutations:Je,state:it},at=function(){return{step:0,forward:!0,complete:!1,extraFeatures:["google-analytics","social-proof"]}},ot=at(),st=ot,ct=n("06ef"),lt={getUsage:function(e,t){return function(e){return ct["d"].find(function(t){return e===t.slug})}},getGoal:function(e,t){return function(e){return ct["c"].find(function(t){return e===t.slug})}},goalDescription:function(e,t,n,i){var r=t.getGoal(i.onboardingGoal);return r&&r.title?r.title:""},featureMap:function(){return ct["b"]},getFeature:function(e,t){return function(e){return ct["b"].find(function(t){return e===t.slug})}},features:function(e,t){return e.extraFeatures.map(function(e){return t.getFeature(e)})},proFeatures:function(e,t){return t.features.filter(function(e){return!e.plugin})},getFeatureProp:function(e,t){return function(e,n){var i=t.getFeature(e);return!!i&&i[n]}},inExtraFeatures:function(e,t){return function(t){return e.extraFeatures&&-1!==e.extraFeatures.indexOf(t)}}},ut={setStep:function(e,t){var n=t>e.step;this._vm.$set(e,"step",t),this._vm.$set(e,"forward",n)},complete:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._vm.$set(e,"complete",Boolean(t))},extraFeatures:function(e,t){var n=[];n=-1===e.extraFeatures.indexOf(t)?[].concat(Object(ge["a"])(e.extraFeatures),[t]):Object(ge["a"])(e.extraFeatures.filter(function(e){return e!==t})),this._vm.$set(e,"extraFeatures",n)},resetState:function(e,t){Object.assign(e,t)}},dt=ut,pt=(n("4917"),{skip:function(e){var t=e.commit,n=e.state,i=n.forward,r=n.step;i?r++:r--,t("setStep",r)},setStep:function(e,t){var n=e.commit,i=(e.state,e.rootState);if(4<t&&!i.apiKey)return!1;n("setStep",t)},maybeGoBack:function(e){var t=e.dispatch,n=e.state,i=e.rootState;!i.apiKey&&4<n.step&&t("setStep",4)},exit:function(e,t){var n,i=e.dispatch,r=e.rootState;if(r.apiKey&&i("complete"),"previous"===t&&(t=We["a"].getPreviousRoute()),t.name){var a=We["a"].matcher.match(t);n=a.fullPath||a.path}window.location.href=n||"?page=optin-monster-dashboard"},complete:function(e){var t=this,n=e.commit,i=e.dispatch,r=e.state,a=e.getters;if(a.proFeatures&&a.proFeatures.length&&!r.complete){var o=function(e){return t._vm.$urls.upgrade({utm_medium:"WizardFollowUpNotification"},e)},s=a.proFeatures.map(function(e){return'<a href="'.concat(o(e.slug),'" target="_blank" rel="noopener">').concat(e.title,"</a>")}),c={type:"action",title:"Action required!",content:"To receive the requested features (".concat(s.join(", "),"), you will need to upgrade to Pro."),btns:{main:{text:"Upgrade Now & Save 35%",url:o(a.proFeatures.map(function(e){return e.slug}))}}};i("notifications/maybeCreate",c,{root:!0}),n("complete")}},resetState:function(e){var t=e.commit;e.state;t("resetState",at())}}),ft=pt,ht={namespaced:!0,state:st,getters:lt,mutations:dt,actions:ft},mt=function(){return{taxonomies:{},config:{hasMailPoet:!1,isWooActive:null,isWooConnected:null,mailPoetLists:[],mailPoetFields:[]},posts:[],postTypes:[],campaigns:[],search:"",wooKey:{id:"",description:"",truncated:"",editUrl:""}}},vt=mt(),gt=vt,bt={fetchWpResources:function(e,t){var n=this,i=e.commit,r=e.dispatch,a=(e.state,e.rootGetters),o=t.exclude,s=void 0===o?[]:o,c="omapp/v1/resources",l="";a.isFetched("wpResources")||(l=x["o"].add("refresh",1,l)),s.length&&(l=x["o"].add("exclude",s.join(","),l)),l.length&&(c+="?"+l);var u=s.includes("campaigns");return i("fetching","wpResources",{root:!0}),new Promise(function(e,t){return n._vm.$api.get({wpEndpoint:c,cached:!1}).then(function(t){var a=t.body;i("fetched","wpResources",{root:!0}),u||(r("campaigns/updateCampaignsWithWpData",a.campaigns,{root:!0}),i("setWpCampaigns",a.campaigns)),i("setWpTaxonomies",a.taxonomies),i("setWpConfig",a.config),i("setWpPosts",a.posts),i("setWpPostTypes",a.post_types),setTimeout(function(){return n._vm.$bus.$emit("fetchedWpResources")},500),e()}).catch(function(e){e.explanation="Something went wrong while fetching WordPress resources.",i("setError",e,{root:!0}),t(e),console.error({error:e})})})},autogenerateWooCreds:function(e){e.commit;var t=e.dispatch;return t("saveWooCreds",{auto:!0})},saveWooCreds:function(e,t){var n=this,i=e.commit,r=t.key,a=t.secret,o=t.auto,s=void 0!==o&&o;return i("loading","wooconnect",{root:!0}),new Promise(function(e,t){n._vm.$api.post({wpEndpoint:"omapp/v1/woocommerce/".concat(s?"autogenerate":"save")}).send({key:r,secret:a}).then(function(t){var r=t.body;i("doneLoading","wooconnect",{root:!0}),i("fetched","wooKey",{root:!0}),i("setWooConnected",Boolean(r.id)),i("setWooKey",r),n._vm.$bus.$emit("wooKeyFetched",r),e()}).catch(function(e){i("closeAlerts",null,{root:!0}),i("setWooConnected",!1),e.explanation="<strong>Something went wrong while attempting to ".concat(s?"autogenerate":"save"," the WooCommerce Keys.</strong>"),n.$env.isEnv("development","dev")&&(e.explanation+="<p>This is likely because you are in the <code>DEVELOPMENT</code> environment, and cookies could not be passed to the auto-generation request.</p>"),i("setError",e,{root:!0}),i("doneLoading","wooconnect",{root:!0}),t(e),console.error({error:e})})})},disconnectWoo:function(e){var t=this,n=e.commit;e.dispatch;return n("loading","wooconnect",{root:!0}),new Promise(function(e,i){return t._vm.$api.post({wpEndpoint:"omapp/v1/woocommerce/disconnect"}).then(function(){n("setWooConnected",!1),n("setWooKey",mt().wooKey),n("doneLoading","wooconnect",{root:!0}),t._vm.$bus.$emit("wooKeyRemoved"),e()}).catch(function(e){n("closeAlerts",null,{root:!0}),e.explanation="<strong>Something went wrong while attempting to disconnect WooCommerce.</strong>",n("setError",e,{root:!0}),n("doneLoading","wooconnect",{root:!0}),i(e),console.error({error:e})})})},fetchWooKey:function(e){var t=this,n=e.getters,i=e.commit,r=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.isWooConnected)return new Promise(function(e,n){return a||!r.isFetched("wooKey")&&!r.isFetching("wooKey")?(i("fetching","wooKey",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/woocommerce/key"}).then(function(n){var r=n.body;i("fetched","wooKey",{root:!0}),i("setWooConnected",Boolean(r.id)),i("setWooKey",r),t._vm.$bus.$emit("wooKeyFetched",r),e()}).catch(function(e){e.explanation="<strong>Something went wrong while attempting to disconnect WooCommerce.</strong>",n(e),console.error({error:e})})):e()})}},_t={namespaced:!0,state:gt,getters:{hasMailPoet:function(e){return null!==e.config.hasMailPoet?e.config.hasMailPoet:Object(x["l"])("hasMailPoet")},mailPoetLists:function(e){return e.config.mailPoetLists.length?e.config.mailPoetLists:Object(x["l"])("mailPoetLists")},mailPoetFields:function(e){return e.config.mailPoetFields.length?e.config.mailPoetFields:Object(x["l"])("mailPoetFields")},wooKey:function(e){return e.wooKey.id?e.wooKey:Object(x["l"])("wooKey",e.wooKey)},isWooActive:function(e){return null!==e.config.isWooActive?e.config.isWooActive:Object(x["l"])("isWooActive")},isWooConnected:function(e){return null!==e.config.isWooConnected?e.config.isWooConnected:Object(x["l"])("isWooConnected")}},mutations:{setWooKey:function(e,t){e.wooKey=t},setWpCampaigns:function(e,t){k()(t)&&(e.campaigns=t)},setWpTaxonomies:function(e,t){Te()(t)&&(e.taxonomies=t)},setWooConnected:function(e,t){e.config.isWooConnected=t},setWpConfig:function(e,t){Te()(t)&&(e.config=t)},setWpPosts:function(e,t){k()(t)&&(e.posts=t)},setWpPostTypes:function(e,t){k()(t)&&(e.postTypes=t)}},actions:bt},yt={campaigns:te,dashboard:le,monsterleads:ve,notifications:Ae,plugins:De,settings:$e,tabs:Fe,templates:rt,wizard:ht,wp:_t},Mt=n("ed2e"),wt=n("0f0f"),Ot=n("2e63");function kt(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Lt=[Object(wt["a"])("userFirstName",""),Object(wt["a"])("userLastName","")].filter(function(e){return Boolean(e&&String(e).trim())}).join(" "),Ct=function(){return{id:0,email:Object(wt["a"])("userEmail",""),name:Lt||"",firstName:Object(wt["a"])("userFirstName",""),lastName:Object(wt["a"])("userLastName",""),phone:"",company:"",industry:"",company_size:"",address:{address1:"",address2:"",city:"",state:"",zip:"",country:""},created:0,updated:0,plan:"",lastLogin:0,role:"",status:"",default_site:0,permissions:[],beta:{enabled:!1},completion:0,accountId:0,accountUserId:0,accountEmail:"",accountName:"",accountActive:!1,accountEnabled:!1,integrations:[],features:[],ruleTypes:[],campaignTypes:[],legacyUser:!1,hasShopify:!1,hasWooCommerce:!1,hasBigCommerce:!1,inBeta:!1,level:"",currentLevel:"",planVersion:"",userStatus:"",topTier:!1,hasLiveChat:!1,isAmTeam:!1,hasPrioritySupport:!1,onboarding:{via:"",usage:"",usage_other_text:"",email_list:null,email_service:"",email_service_other_text:"",goal:[]}}},At=xt({},$,{bannerTitle:"",loading:[],fetched:[],fetching:[],user:Ct(),apiKey:Object(Mt["g"])(),queryArgs:Ot["a"].parse()});function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Dt(e,t,n){var i=e[n];-1===i.indexOf(t)&&i.push(t),this._vm.$set(e,n,i)}var zt=Tt({},G["a"],{setBannerTitle:function(e,t){this._vm.$set(e,"bannerTitle",t)},loading:function(e,t){if(!t)return this._vm.$set(e,"loading",[]);Dt.call(this,e,t,"loading")},fetching:function(e,t){Dt.call(this,e,t,"fetching")},fetched:function(e,t){var n=e.fetching,i=n.indexOf(t);-1!==i&&(n.splice(i,1),this._vm.$set(e,"fetching",n)),Dt.call(this,e,t,"fetched")},doneFetching:function(e,t){var n=e.fetching;if(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1)}else n=[];this._vm.$set(e,"fetching",n)},doneLoading:function(e,t){var n=e.loading;if(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1)}else n=[];this._vm.$set(e,"loading",n)},resetUser:function(e){this._vm.$set(e,"user",Ct())},setUser:function(e,t){if(!e.user.id){var n=Tt({},w()(e,"user.onboarding",{})),i=w()(t,"onboarding",{});Te()(i)||(i={}),Object.keys(n).forEach(function(e){e in i||(i[e]=n[e])}),U()(t,"onboarding",i)}this._vm.$set(e,"user",t)},setUserAttribute:function(e,t){var n=t.key,i=t.value,r=Tt({},e.user),a=w()(r,n);if(k()(a)){var o=[];o=-1===a.indexOf(i)?[].concat(Object(ge["a"])(a),[i]):Object(ge["a"])(a.filter(function(e){return e!==i})),i=o}U()(r,n,i),this._vm.$set(e,"user",r)},setApiKey:function(e,t){x["c"].set("key",t),this._vm.$set(e,"apiKey",t)}}),Et=n("a8db"),jt=["templates.activeType","templates.filterOptions"],Pt=["wizard","plugins","dashboard.dismissedWelcomeBack"],Nt=["user.onboarding"].concat(Pt,jt),Yt=function(){var e=At.user,t=(e.created,e.updated,e.email,e.name,e.firstName,e.lastName,Object(Et["a"])(e,["created","updated","email","name","firstName","lastName"])),n=Object.keys(t).map(function(e){return"user.".concat(e)});jt.push("templates.permittedTypes");var i=[].concat(Pt,jt,Object(ge["a"])(n));return i},$t={key:Mt["c"].key,paths:Object(Mt["g"])()?Yt():Nt};i["default"].use(r["b"]);var Wt=new r["b"].Store({actions:L,getters:N,modules:yt,mutations:zt,state:At,plugins:[y($t)]});t["a"]=Wt},"43e9":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"drawer",staticClass:"om-notifications",class:e.show?"om-drawer-open":"om-drawer-closed"},[n("transition",{attrs:{name:"notifications-fade"}},[e.show?n("div",{staticClass:"overlay",style:e.overlayStyle,on:{click:e.toggleNotifications}}):e._e()]),n("transition",{attrs:{name:"notifications-slide"}},[e.show?n("div",{staticClass:"drawer",style:e.drawerStyle},[n("div",{staticClass:"omapi-card-title capital"},[e._v(e._s(e.title))]),n("notifications-list",{staticClass:"omapi-card-content",attrs:{notificationsToShow:e.notifications,inDrawer:!0},on:{remove:e.remove,clicked:e.toggleNotifications}})],1):e._e()])],1)},r=[],a=n("3a08"),o={mixins:[a["a"]],props:{show:{type:Boolean,default:function(){return!1}}},mounted:function(){document.addEventListener("keydown",this.escapeListener),document.addEventListener("click",this.documentClick)},watch:{show:function(e){e?this.addBodyClass():this.removeBodyClass()},notifications:function(e,t){!e.length&&t.length&&this.show&&this.toggleNotifications()}},computed:{overlayStyle:function(){var e=document.getElementById("adminmenuback").offsetWidth+"px",t=document.getElementById("wpadminbar").offsetHeight;return t+=document.querySelector(".omapi-plugin-header").offsetHeight,t+="px",{top:t,left:e}},drawerStyle:function(){var e=this.overlayStyle.top;return{top:e}},dismissBtn:function(){return this.hasNotifications?"Dismiss All":"Close"}},methods:{toggleNotifications:function(){this.$bus.$emit("notificationsToggle")},escapeListener:function(e){"Escape"===e.key&&this.show&&this.toggleNotifications()},addBodyClass:function(){document.body.classList.add("om-show-notifications")},removeBodyClass:function(){document.body.classList.remove("om-show-notifications")},documentClick:function(e){if(this.show){var t=e&&e.target?e.target:null,n=this.$refs.drawer,i=document.getElementById("om-notifications-trigger");!n||n===t||n.contains(t)||n===i||i.contains(t)||this.toggleNotifications()}}}},s=o,c=(n("76c2"),n("f65a"),n("2877")),l=Object(c["a"])(s,i,r,!1,null,"7a30d148",null);t["default"]=l.exports},"43fc":function(e,t,n){"use strict";var i=n("63b6"),r=n("656e"),a=n("4439");i(i.S,"Promise",{try:function(e){var t=r.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
98
  //! moment.js locale configuration
99
  function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"a "+e:"an "+e}function i(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"viru "+e:"virun "+e}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return r(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return r(e)}return e/=1e3,r(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},4416:function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},4439:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},4527:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-form-fancy-select-input",e._g(e._b({attrs:{multiple:!0,options:e.options,value:e.value}},"core-form-fancy-select-input",e.$attrs,!1),e.$listeners))},r=[],a={inheritAttrs:!1,props:{options:{type:Array,required:!0},value:Array}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"454f":function(e,t,n){n("46a7");var i=n("584a").Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5edaf")("keys",function(){return function(e){return r(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"45bc":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"times",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},on:{click:function(t){return e.$emit("click")}}},[n("path",{attrs:{fill:"currentColor",d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},on:{click:function(t){return e.$emit("click")}}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"45f2":function(e,t,n){var i=n("d9f6").f,r=n("07e3"),a=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4678:function(e,t,n){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="4678"},"469f":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("7d7b")},"46a7":function(e,t,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4723:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"omapi-input__multiselect"},[e.label?i("label",[e._v(e._s(e.label))]):e._e(),i("multiselect",e._b({ref:"multiselect",class:{"multiselect__has-value":e.hasValue,"multiselect__is-loading":e.loading,multiselect__nooptions:!e.options.length},attrs:{value:e.optionValue,options:e.options,multiple:e.multiple,loading:e.loading,placeholder:e.searchPlaceholder,showLabels:!1,openDirection:"bottom",label:e.optionsLabelField,"track-by":"value"},on:{input:e.setValue},scopedSlots:e._u([{key:"placeholder",fn:function(){return[e._v(e._s(e.placeholder))]},proxy:!0},{key:"clear",fn:function(){return[i("div",{directives:[{name:"show",rawName:"v-show",value:e.hasValue,expression:"hasValue"}],staticClass:"omapi-input__multiselect-close-all",on:{click:e.clear}},[i("img",{attrs:{src:n("68d4"),alt:"Clear Select"}})])]},proxy:!0},{key:"noOptions",fn:function(){return[e._t("noOptions",[e._v("List is empty.")])]},proxy:!0},{key:"afterList",fn:function(){return[e._t("afterList")]},proxy:!0}],null,!0)},"multiselect",e.$attrs,!1))],1)},r=[],a=(n("6762"),n("2fdb"),n("c5f6"),n("9b02")),o=n.n(a),s=n("8e5f"),c=n.n(s),l={inheritAttrs:!1,components:{Multiselect:c.a},props:{label:{type:String,default:""},placeholder:{type:String,default:"Type to search..."},searchPlaceholder:{type:String,default:""},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},value:[Array,String,Number,Object],optionsLabelField:{type:String,default:"name"}},computed:{optionValue:function(){var e=this,t=this.value?this.options.filter(function(t){return e.selected(t.value)}):[];return t},hasValue:function(){return this.optionValue.length}},methods:{selected:function(e){var t=this.multiple?this.value:this.$get("value.value",this.value);return this.multiple?t.includes(e):t===e},setValue:function(e){e=this.multiple?e.map(function(e){return e.value}):o()(e,"value",e||""),this.$emit("input",e,this.$attrs)},clear:function(){this.$emit("input",this.multiple?[]:"",this.$attrs)}}},u=l,d=(n("60bc"),n("b89f"),n("2877")),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},4726:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",function(){return i})},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},32:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})}),1)},r=[];i._withStripped=!0;var a,o,s=n(26),c=n.n(s),l=n(14),u=n.n(l),d=n(18),p=n.n(d),f=n(51),h=n.n(f),m=n(3),v=function(e){return e.stopPropagation()},g={inject:["panel"],components:{ElCheckbox:p.a,ElRadio:h.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,a=r.multiple,o=r.checkStrictly;!o&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),a){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,a=i.multiple;return a?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=v),e("el-checkbox",c()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:v}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,a=this.isLeaf,o=this.isDisabled,s=this.config,l=this.nodeId,u=s.expandTrigger,d=s.checkStrictly,p=s.multiple,f=!d&&o,h={on:{}};return"click"===u?h.on.click=this.handleExpand:(h.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},h.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!a||o||d||p||(h.on.click=this.handleCheckChange),e("li",c()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":d,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},h]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},b=g,_=n(0),y=Object(_["a"])(b,a,o,!1,null,null,null);y.options.__file="packages/cascader-panel/src/cascader-node.vue";var M,w,O=y.exports,k=n(6),x=n.n(k),L={name:"ElCascaderMenu",mixins:[x.a],inject:["panel"],components:{ElScrollbar:u.a,CascaderNode:O},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),a=r.left,o=e.clientX-a,s=this.$el,c=s.offsetWidth,l=s.offsetHeight,u=t.offsetTop,d=u+t.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+c+" 0 V"+u+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+d+" L"+c+" "+l+" V"+d+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var a=n.hasChildren;return e("cascader-node",c()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":a,"aria-owns":a?t:null}},i]))});return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",c()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},C=L,A=Object(_["a"])(C,M,w,!1,null,null,null);A.options.__file="packages/cascader-panel/src/cascader-menu.vue";var S=A.exports,T=n(21),D=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var E=0,j=function(){function e(t,n,i){z(this,e),this.data=t,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=E++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(e){return e.value}),this.pathLabels=this.pathNodes.map(function(e){return e.label}),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map(function(i){return new e(i,n,t)})},e.prototype.calculatePathNodes=function(){var e=[this],t=this.parent;while(t)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some(function(e){return Object(m["isEqual"])(e,t)}):Object(m["isEqual"])(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r="onParent"+Object(m["capitalize"])(e);this.children.forEach(function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[r]&&t[r].apply(t,n))})},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(m["capitalize"])(e);if(t){for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];t[n]&&t[n].apply(t,r),t.emit.apply(t,[e].concat(r))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children,t=e.filter(function(e){return!e.isDisabled}),n=!!t.length&&t.every(function(e){return e.checked});this.setCheckState(n)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce(function(e,t){var n=t.checked?1:t.indeterminate?.5:0;return e+n},0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},D(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,a=r.lazy,o=r.leaf;if(a){var s=Object(T["isDef"])(e[o])?e[o]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),P=j;function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Y=function e(t,n){return t.reduce(function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t},[])},$=function(){function e(t,n){N(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map(function(e){return new P(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new P(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:Y(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e});return t&&t.length?t[0]:null}return null},e}(),W=$,B=n(9),q=n.n(B),I=n(32),F=n.n(I),H=n(31),R=n.n(H),X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},V=F.a.keys,U={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:m["noop"],value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},G=function(e){return!e.getAttribute("aria-owns")},K=function(e,t){var n=e.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]'),r=Array.prototype.indexOf.call(i,e);return i[r+t]||null}return null},J=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},Q=function(e){e&&(e.focus(),!G(e)&&e.click())},Z=function(e){if(e){var t=e.querySelector("input");t?t.click():G(e)&&e.click()}},ee={name:"ElCascaderPanel",components:{CascaderMenu:S},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return q()(X({},U),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(e){Object(m["isEqual"])(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){Object(m["isEmpty"])(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(m["isEmpty"])(t)?this.lazyLoad():(this.store=new W(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(m["isEqual"])(e,t)||(this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this,t=this.getFlattedNodes(this.leafOnly);t.forEach(function(t){t.syncCheckState(e.checkedValue)})},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(m["isEmpty"])(i))if(Object(m["isEmpty"])(r))this.activePath=[],this.menus=[t.getNodes()];else{var a=n?r[0]:r,o=this.getNodeByValue(a)||{},s=(o.pathNodes||[]).slice(0,-1);this.expandNodes(s)}else{var c=i.map(function(t){return e.getNodeByValue(t.getValue())});this.expandNodes(c)}},expandNodes:function(e){var t=this;e.forEach(function(e){return t.handleExpand(e,!0)})},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple,i=n?Object(m["coerceTruthyValueToArray"])(t):[t];this.checkedNodePaths=i.map(function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]})},handleKeyDown:function(e){var t=e.target,n=e.keyCode;switch(n){case V.up:var i=K(t,-1);Q(i);break;case V.down:var r=K(t,1);Q(r);break;case V.left:var a=this.$refs.menu[J(t)-1];if(a){var o=a.$el.querySelector('.el-cascader-node[aria-expanded="true"]');Q(o)}break;case V.right:var s=this.$refs.menu[J(t)+1];if(s){var c=s.$el.querySelector('.el-cascader-node[tabindex="-1"]');Q(c)}break;case V.enter:Z(t);break;case V.esc:case V.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,i=e.level,r=n.slice(0,i-1),a=this.menus.slice(0,i);if(e.isLeaf||(r.push(e),a.push(e.children)),this.activePath=r,this.menus=a,!t){var o=r.map(function(e){return e.getValue()}),s=n.map(function(e){return e.getValue()});Object(m["valueEquals"])(o,s)||(this.$emit("active-item-change",o),this.$emit("expand-change",o))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,i=this.config;e||(e=e||{root:!0,level:0},this.store=new W([],i),this.menus=[this.store.getNodes()]),e.loading=!0;var r=function(i){var r=e.root?null:e;if(i&&i.length&&n.store.appendNodes(i,r),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var a=n.checkedValue[n.loadCount++],o=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter(function(e){return e[o]===a}).length>0){var c=n.store.getNodeByValue(a);c.data[s]||n.lazyLoad(c,function(){n.handleExpand(c)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");R()(n,i)}})}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter(function(e){return e.checked})}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(_["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},"477f":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{key:e.feature.slug,staticClass:"omapi-feature"},[n("common-selectable-input",{attrs:{type:"checkbox",checked:e.shouldBeChecked,name:"extraFeatures",value:e.feature.slug,disabled:e.feature.free,inputClass:e.feature.free?"omapi-checkbox__input-green":""},on:{input:e.setValue},scopedSlots:e._u([{key:"description",fn:function(){return[n("div",{staticClass:"omapi-feature__description"},[n("h3",[e._v(e._s(e.getFeatureProp(e.feature.slug,"title")))]),n("div",[e._v(e._s(e.getFeatureProp(e.feature.slug,"description")))])])]},proxy:!0}])})],1)},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l=Object(o["a"])("wizard"),u=l.mapState,d=l.mapGetters,p={props:{feature:{type:Object,required:!0},isChecked:{type:Boolean,default:function(){return null}}},computed:c({},u(["extraFeatures"]),{},d(["inExtraFeatures","getFeatureProp"]),{shouldBeChecked:function(){return null!==this.isChecked?this.isChecked:this.feature.free||this.inExtraFeatures(this.feature.slug)}}),methods:{setValue:function(e){this.$store.commit("wizard/extraFeatures",e.target.value)}}},f=p,h=n("2877"),m=Object(h["a"])(f,i,r,!1,null,null,null);t["default"]=m.exports},"47ee":function(e,t,n){var i=n("c3a1"),r=n("9aa9"),a=n("355d");e.exports=function(e){var t=i(e),n=r.f;if(n){var o,s=n(e),c=a.f,l=0;while(s.length>l)c.call(e,o=s[l++])&&t.push(o)}return t}},"481b":function(e,t){e.exports={}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
100
  //! moment.js locale configuration
@@ -220,7 +220,7 @@ var t={0:"-чү",1:"-чи",2:"-чи",3:"-чү",4:"-чү",5:"-чи",6:"-чы",7:"
220
  //! moment.js locale configuration
221
  function t(e,t,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n})},"974d":function(e,t,n){e.exports=n.p+"img/twitter.301c64c2.svg"},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
222
  //! moment.js locale configuration
223
- var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}});return t})},"97cd":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("common-card",{scopedSlots:e._u([{key:"footer",fn:function(){return[i("div",{staticClass:"omapi-resource-list"},[i("div",{staticClass:"omapi-resource-list__title"},[e._v("\n\t\t\t\tOther Useful Resources\n\t\t\t\t"),i("span",{staticClass:"omapi-resource-list__more"},[e._v("("),i("core-button",{attrs:{linkStyle:!0,href:e.$urls.docs("","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("See All Docs")]),e._v(")")],1)]),i("ul",{staticClass:"omapi-list omapi-list__twocol"},[i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("getting-started-optinmonster-wordpress-checklist/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("Getting Started with OptinMonster Checklist")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("creating-your-first-optin/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("Creating Your First Campaign")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("optinmonster-builder-overview/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("OptinMonster Builder Overview")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-or-edit-a-campaign/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Edit a Campaign")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-use-display-rules-in-optinmonster","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Setup Display Rules")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-use-display-rules-in-optinmonster/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Use Page-Level Targeting in OptinMonster")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-a-split-test-in-optinmonster","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Create an A/B Split Test in OptinMonster")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-optinmonster-uses-google-analytics-to-measure-conversion-analytics","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How OptinMonster Uses Google Analytics to Measure Conversion Analytics")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-add-monstereffects-animations-to-your-lightbox-popup","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Add Animation Effects to Your Campaigns")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-a-lightbox-popup-optin","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Create a Lightbox Popup Campaign")])])])])]},proxy:!0}])},[i("ul",{staticClass:"omapi-detailed-list"},[i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("Welcome and Overview of OptinMonster")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("When you first log into your OptinMonster account, the screen that loads is called the Dashboard, which acts as your home screen. You can easily navigate back to this screen by selecting the Dashboard link in the top menu.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("welcome-and-overview-of-optinmonster","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])]),i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("How to Create or Edit a Campaign")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("Have you recently signed up for OptinMonster but aren’t sure how to get started? Have you already created a campaign, but now you need to make some edits? This guide will show you how to create or edit a campaign in OptinMonster.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("creating-your-first-optin","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])]),i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("How to Embed Your Campaigns On Your Site")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("OptinMonster makes it easy to add your campaigns to your site by giving you flexibility. In this article, you’ll learn how to embed your OptinMonster campaigns on your site.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("how-to-embed-your-campaigns-on-your-site","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])])])])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"97d3":function(e,t,n){var i=n("48a0"),r=n("30c9");function a(e,t){var n=-1,a=r(e)?Array(e.length):[];return i(e,function(e,i,r){a[++n]=t(e,i,r)}),a}e.exports=a},"97ff":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("common-card",{staticClass:"omapi-campaign-settings__publish",attrs:{contentClass:"omapi-card__border"},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("Visibility & Status")]},proxy:!0},{key:"footer",fn:function(){return[n("core-save-button",{attrs:{color:"green",disabled:!e.changed,saving:e.saving}})]},proxy:!0}])},[n("div",{staticClass:"omapi-campaign-settings__minor-publishing"},[e._t("default")],2)])},r=[],a={props:{changed:Boolean,saving:Boolean}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},9884:function(e,t,n){},"98cf":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"omapi-effect"},[n("div",{staticClass:"omapi-effect_col"},[n("h2",[e._v("Get More Subscribers, Leads and Sales!")]),n("p",[e._v("Transform your website into a money-making machine with the power of OptinMonster.")]),n("core-create-connect")],1),e._m(0)])},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"omapi-effect_col"},[i("img",{attrs:{src:n("3cc4"),alt:"The OptinMonster Effect!"}})])}],a=(n("0f24"),n("2877")),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},9900:function(e,t,n){},"990b":function(e,t,n){var i=n("9093"),r=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=i.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},9914:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("002d"),r={methods:{makePlural:function(e,t){return Object(i["b"])(e,t)}}}},"994a":function(e,t,n){},"99cd":function(e,t){function n(e){return function(t,n,i){var r=-1,a=Object(t),o=i(t),s=o.length;while(s--){var c=o[e?s:++r];if(!1===n(a[c],c,a))break}return t}}e.exports=n},"99d3":function(e,t,n){(function(e){var i=n("585a"),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r,s=o&&i.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=c}).call(this,n("62e4")(e))},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9ac5":function(e,t,n){"use strict";n.d(t,"b",function(){return i});var i=function(){return{siteSettings:{affiliateLink:"",affiliateLinkPosition:"bottom",defaultIntegration:"",globalAnalyticsID:"",globalAnalyticsProfile:"",globalInteractionCookie:!1,globalSuccessCookie:!1,recaptchaSecretKey:"",recaptchaSiteKey:""},miscSettings:{auto_updates:"all",hide_announcements:!1,usage_tracking:!1},providers:[],integrations:{},analyticsAccounts:[],analyticsProfiles:{}}};t["a"]=i()},"9b02":function(e,t,n){var i=n("656b");function r(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}e.exports=r},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9bca":function(e,t,n){e.exports=n.p+"img/scheduled.a220f4b7.svg"},"9bf8":function(e,t,n){"use strict";n("8e6e"),n("20d6");var i=n("5176"),r=n.n(i);function a(){return a=r.a||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(this,arguments)}n("28a5"),n("7514"),n("456d");var o=n("bd86"),s=(n("4f7f"),n("75fc")),c=n("a8db"),l=(n("5df3"),n("6762"),n("2fdb"),n("ac6a"),n("55dd"),n("386d"),n("9b02")),u=n.n(l),d=n("c04c"),p=n.n(d),f=n("1a8c"),h=n.n(f),m=n("a18c"),v=n("ed08");function g(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){Object(o["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"b",function(){return M});var _=0,y=function(){var e=(new Date).getTime()-_,t=36e5;return e>t},M=20,w=(new Date).getTime(),O=function(e,t){return e.campaignIds&&e.campaignIds.length||"all"!==t.embedFilter&&(e.campaignIds=t.filters.campaignIds),e.offset||(e.offset=M*(t.page-1)),e.searchTerm||(e.searchTerm=t.search),e.starts||(e.starts=t.filters.starts,e.ends=t.filters.ends),e.campaignType||(e.campaignType=t.filters.campaignType),e.status||(e.status=t.filters.status),e.sort||(e.sort=t.sort),e.limit=e.limit||M,e};t["a"]={fetchDashboard:function(e){var t=this,n=e.commit,i=e.state,r=e.dispatch,a=e.rootGetters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=y()?"campaigns":o.loading||"campaigns";return new Promise(function(e,c){if(!y()&&!o.force)return e();if(!a.connected)return e();var l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n(e?"doneLoading":"loading",s,{root:!0})},u={},d=[],p="",f=!0,h=Promise.resolve();l(),o=O(o,i);var m=o.campaignIds&&o.campaignIds.length,g=function(e,t){m?u[e]=t:d.push("".concat(e,"=").concat(t))};g("site",v["s"]?v["s"].join(","):v["r"]),g("t",(new Date).getTime()),o.offset&&g("offset",o.offset),o.limit&&g("limit",o.limit),o.sort&&g("sort",o.sort),o.starts&&o.ends&&(g("starts",o.starts),g("ends",o.ends),f=!1),o.campaignType&&(g("campaignType",o.campaignType),f=!1),o.status&&(g("status",o.status),f=!1),o.searchTerm&&(g("search",encodeURIComponent(o.searchTerm)),o.offset&&g("offset",o.offset),f=!1),m?(g("campaignIds",o.campaignIds.join(",")),f=!1):p=d.length?"?".concat(d.join("&")):"",a.shouldFetchUser&&(h=r("fetchMe",{},{root:!0}).catch(function(e){return console.error({error:e}),c(e)})),n("closeAlerts");var b=new Promise(function(e,a){t._vm.$api[m?"post":"get"]("campaign-dashboard".concat(p),{cached:!1}).send(m?u:null).then(function(t){var a=t.body,s=a.campaigns,c=a.total_campaigns_count,u=a.folders;f&&(n("fetched","mainQuery",{root:!0}),n("setTotalCampaignCount",c)),s.forEach(function(e){e.rulesets=[]});var d=s.map(function(e){return e.id});!o.offset||o.reset?n("setCampaigns",s):n("addCampaigns",s),n("updateSort"),r("setFolders",u),n("setTotalFilteredCampaignCount",c),c&&r("refreshAnalytics"),o.searchTerm&&i.campaigns.some(function(e){if(e.status.includes("trash","archive"))return n("maybeAddAlert",{message:"Search results contain items that have been archived or placed in the trash.",type:"warn"}),!0}),r("fetchCampaignsRulesets",d),l(!0),e()}).catch(function(e){e.explanation="Something went wrong while fetching campaign data.",n("setError",e),l(!0),a(e),console.error({error:e})}).finally(function(){_=(new Date).getTime()})});Promise.all([h,b]).then(function(){r("wp/fetchWpResources",{},{root:!0}).then(function(){r("fetchDraftCampaignCount"),r("fetchPublishCampaignCount")}),e()}).catch(function(e){c(e),console.error({error:e})})})},refreshDashboard:function(e){var t=e.dispatch;return t("fetchDashboard",{force:!0,reset:!0,loading:"campaigns-refresh"})},resetFilters:function(e){var t=e.state,n=e.commit,i=e.dispatch,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.keys,o=void 0===a?null:a,s=r.handler,c=void 0!==s&&s,l=t.search,u=t.page;null===o?(n("resetFilters"),this._vm.$bus.$emit("resetAllCampaignFilters")):Object(v["d"])(o).forEach(function(e){n("resetFilter",e)});var d=function(){l||1<u?i("goToPage",{search:"",page:1}):i("refreshDashboard")};if(c)return c(d);d()},fetchCampaigns:function(e,t){var n=e.dispatch,i=t.campaignIds,r=Object(c["a"])(t,["campaignIds"]);i=Object(s["a"])(new Set(i));var a=[];return 0<i.length&&i.forEach(function(e){a.push(n("fetchCampaign",b({campaignId:e},r)))}),Promise.all(a)},fetchCampaign:function(e,t){var n=this,i=e.commit,r=e.getters,a=e.dispatch,o=e.rootGetters,s=t.campaignId,c=t.loading,l=void 0===c?"campaigns":c;if(o.connected){var u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];l&&i(e?"doneLoading":"loading","campaigns",{root:!0})};return u(),new Promise(function(e,t){var o=function(){return u(!0),e()},c=r.getCampaign(s);if(c&&c.id)return o();n._vm.$api.get("campaign-dashboard?campaign=".concat(s,"&site=").concat(v["s"]?v["s"].join(","):v["r"])).then(function(e){var t=e.body,n=t.campaigns;a("fetchFolders"),n.forEach(function(e){e.rulesets=[]});var r=n.map(function(e){return e.id});i("addCampaigns",n),a("fetchCampaignsRulesets",r),o()}).catch(function(e){e.explanation="Something went wrong while fetching this campaign's data.",404===e.status&&(e.explanation+=" Has this campaign been deleted?<br>"),i("setError",e),u(!0),t(e),console.error({error:e})}).finally(function(){_=0,u(!0)})})}},fetchCampaignsRulesets:function(e){var t=e.commit,n=e.dispatch,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return new Promise(function(e,r){var a=[],o=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"array",r="rulesets";t("updateCampaignValue",{campaignId:e,key:r,value:n,valueType:i})};i.forEach(function(e){var t=u()(e,"id",e);a.push(n("fetchRulesets",{campaign:e}).then(function(e){o(t,e)}).catch(function(e){o(t,e,"object")}))}),Promise.all(a).then(function(){e(i)}).catch(function(e){console.error({error:e}),r(e)})})},fetchRulesets:function(e,t){var n=this,i=e.commit,r=e.getters,a=e.rootGetters,o=t.campaign,s=t.fresh,c=void 0!==s&&s;return new Promise(function(e,t){if(!a.connected)return e([]);o=h()(o)?o:r.getCampaign(o);var s=u()(o,"id");return s?o.is_legacy?e([]):!c&&o.rulesets&&0<o.rulesets.length?e(o.rulesets):void n._vm.$api.get("campaigns/".concat(s,"/rulesets")).then(function(t){e(t.body)}).catch(function(e){e.explanation="Something went wrong while fetching ruleset data for this campaign: ".concat(o.id),i("addError",e),t(e),console.error({error:e,campaignId:s})}):t(new Error("Cannot find campaign for this id: ".concat(s)))})},refreshAnalytics:function(e){var t=this,n=e.commit,i=e.state;return new Promise(function(e,r){var a=[];i.campaigns.forEach(function(e){a.push(e.id),e.splits.length&&e.splits.forEach(function(e){return a.push(e.id)})}),t._vm.$api.post("campaign-dashboard/analytics").send({campaigns:a}).then(function(t){n("refreshAnalytics",t.body),e()}).catch(function(e){r(e),console.error({error:e})})})},fetchDraftCampaignCount:function(e){var t=e.commit,n=e.dispatch,i=e.getters;return new Promise(function(e,r){return n("fetchStatusCampaignCount",{campaignIds:i.disabledCampaignIds.join(","),status:"pause"}).then(function(n){t("draftCountUpdate",n),e(n)}).catch(function(e){r(e),console.error({error:e})})})},fetchPublishCampaignCount:function(e){var t=e.commit,n=e.dispatch,i=e.getters;return new Promise(function(e,r){return n("fetchStatusCampaignCount",{campaignIds:i.enabledCampaignIds.join(","),status:"active"}).then(function(n){t("publishCountUpdate",n),e(n)}).catch(function(e){r(e),console.error({error:e})})})},fetchStatusCampaignCount:function(e){var t=this,n=(e.commit,e.state,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return new Promise(function(e,i){n=b({},n,{site:v["s"]?v["s"].join(","):v["r"],t:w,limit:1}),n=Object.keys(n).map(function(e){return"".concat(e,"=").concat(n[e])}).join("&"),t._vm.$api.get("campaign-dashboard?".concat(n),{cached:!1}).then(function(t){var n=t.body;e(n.total_campaigns_count)})})},fetchWpDataForCampaign:function(e,t){var n=this,i=e.commit,r=e.dispatch,a=t.campaignId;return new Promise(function(e,t){return n._vm.$api.get({wpEndpoint:"omapp/v1/campaigns/".concat(a),cached:!1}).then(function(t){r("updateCampaignsWithWpData",[t.body]),r("wp/fetchWpResources",{},{root:!0}),e()}).catch(function(e){e.explanation="Something went wrong while fetching WordPress settings.",i("addError",e),t(e),console.error({error:e})})})},updateCampaignsWithWpData:function(e,t){var n=e.commit,i=e.state;e.dispatch;t.forEach(function(e){var t=i.campaigns.find(function(t){return t.id===e.id});t&&(t.wp=e,n("updateCampaign",{campaign:t}))})},splitCampaign:function(e,t){var n=e.dispatch,i=t.campaignId,r=t.params;return n("duplicateCampaign",{campaignId:i,params:r,split:!0})},duplicateCampaign:function(e,t){var n=this,i=e.dispatch,r=t.campaignId,a=t.params,o=t.split,s=void 0!==o&&o;return new Promise(function(e,t){n._vm.$api.post("campaigns/".concat(r,"/").concat(s?"split":"duplicate")).send(a).then(function(t){var n=t.body;i("refreshDashboard").then(function(){return e(n)})}).catch(function(e){t(e),console.error({error:e,campaignId:r})})})},createCampaign:function(e,t){var n=this,i=e.commit;return new Promise(function(e,r){n._vm.$api.post("campaigns").send(t).then(function(t){var n=t.body;e(n)}).catch(function(e){var o=a({},e);if(o.explanation="Something went wrong, and campaign creation failed.",o.status&&"401"===String(o.status)){var s=n._vm.$urls.newCampaign({siteIds:u()(t,"sites",[]),template:u()(t,"template",""),campaignName:u()(t,"name",""),campaignType:u()(t,"type","")});window.open(s,"_blank"),o.explanation+=" We have redirected you to the new-campaign page to finish creating this campaign."}i("closeAlerts"),i("setError",o),r(o),console.error({error:o})})})},setStatus:function(e,t){var n=this,i=e.commit,r=e.getters,a=t.status,o=t.campaigns;return o.slice(0).forEach(function(e){var n=r.getCampaign(e);if(n.status===a)return p()(t.campaigns,function(t){return t===e});if("paused"===a){var i=u()(n,"splits",[]);i&&i.length&&i.forEach(function(e){return t.campaigns.push(e.id)})}}),new Promise(function(e,r){if(!t.campaigns.length)return e();i("setStatus",t),n._vm.$api.post("campaigns/batch/".concat("active"===a?"resume":"pause")).send({campaigns:t.campaigns}).then(function(){return e()}).catch(function(e){r(e),console.error({error:e})})})},trashCampaign:function(e,t){var n=e.dispatch;return n("deleteCampaign",{id:t.id,toTrash:!0})},deleteCampaign:function(e,t){var n=this,i=e.state,r=e.commit,a=e.dispatch,o=t.id,s=t.toTrash,c=void 0!==s&&s,l=i.campaigns.findIndex(function(e){return e.id===o});return new Promise(function(e,t){var i="campaigns/".concat(o);c&&(i+="/trash"),n._vm.$api[c?"post":"delete"](i).then(function(){r("removeCampaignByIndex",l),a("fillCampaignList",1),e()}).catch(function(e){t(e),console.error({error:e,campaignId:o})})})},deleteSplitCampaign:function(e,t){var n=this,i=e.state,r=e.commit,a=(e.dispatch,t.id),o=t.parent_id,s=i.campaigns.findIndex(function(e){return e.id===o}),c=i.campaigns[s].splits.findIndex(function(e){return e.id===a});return new Promise(function(e,t){n._vm.$api.delete("campaigns/".concat(a)).then(function(){r("removeSplitByIndex",{campaignIndex:s,splitIndex:c}),e()}).catch(function(e){t(e),console.error({error:e,campaignId:a})})})},fillCampaignList:function(e,t){var n=e.state,i=e.getters,r=e.dispatch;i.moreAvailable&&r("fetchDashboard",{force:!0,loading:"campaigns-refresh",offset:n.campaigns.length,limit:t})},bulkArchiveCampaigns:function(e,t){var n=e.dispatch,i=t.campaigns;return n("bulkTrashCampaigns",{campaigns:i,toArchive:!0})},bulkTrashCampaigns:function(e,t){var n=this,i=e.dispatch,r=(e.commit,t.campaigns),a=t.toArchive,o=void 0!==a&&a;return new Promise(function(e,t){n._vm.$api.post("campaigns/batch/".concat(o?"archive":"trash")).send({campaigns:r}).then(function(){i("deSelectAll"),i("refreshDashboard"),e()}).catch(function(e){t(e),console.error(e)})})},makePrimaryCampaign:function(e,t){var n=this,i=e.commit;return new Promise(function(e,r){n._vm.$api.post("campaigns/".concat(t.id,"/primary")).then(function(){i("makePrimary",t),i("updateSort"),e()}).catch(function(e){return r(e)})})},saveWordPress:function(e,t){var n=this,i=(e.dispatch,e.commit);return new Promise(function(e,r){return n._vm.$api.put({wpEndpoint:"omapp/v1/campaigns/".concat(t.campaignId)}).send(t.settings).then(function(){e()}).catch(function(e){e.explanation="Something went wrong while saving WordPress settings.",i("addError",e),r(e),console.error({error:e})})})},selectAll:function(e){e.rootState;var t=e.state,n=e.commit,i=e.rootGetters;n("selectAll",!0),n("setBulk",t.campaigns.filter(function(e){return i.allowed("roles","campaign.edit",e)}).map(function(e){return e.id}))},deSelectAll:function(e){var t=e.commit;t("selectAll",!1),t("clearBulk")},fetchFolders:function(e){var t=this,n=e.commit,i=e.dispatch,r=e.rootGetters;return new Promise(function(e,a){if(r.isFetched("folders")||r.isFetching("folders"))return e();n("fetching","folders",{root:!0}),t._vm.$api.get("folders").then(function(t){var n=t.body;i("setFolders",n),e()}).catch(function(e){a(e),console.error({error:e})})})},setFolders:function(e,t){var n=e.commit;n("fetched","folders",{root:!0}),n("setFolders",t)},fetchRulesetData:function(e){var t=this,n=e.commit,i=e.rootGetters;return new Promise(function(e,r){return i.connected?i.isFetched("rulesetData")||i.isFetching("rulesetData")?e():(n("fetching","rulesetData",{root:!0}),void t._vm.$api.get("rulesets/data?timestamp=".concat(v["g"].timestamp())).then(function(t){var i=t.body;n("fetched","rulesetData",{root:!0}),v["c"].set("rulesetData",v["q"].setup(i)),e(v["c"].get("rulesetData"))}).catch(function(e){r(e),console.error({error:e})})):e()})},setPageVars:function(e,t){var n=e.commit,i=t.search,r=void 0===i?null:i,a=t.page,o=void 0===a?null:a;null!==r&&n("setSearch",r),null!==o&&n("page",o)},goToPage:function(e,t){var n=e.state,i=e.dispatch,r=t.search,a=void 0===r?null:r,o=t.page,s=void 0===o?null:o,c={},l="campaigns-paginated";i("setPageVars",{search:a,page:s}),n.search&&(c.searchTerm=n.search,l="campaigns-search"),n.page&&(c.campaignsPage=n.page,c.searchTerm&&(l="campaigns-paginated-search")),m["a"].push({name:l,params:c})}}},"9bf8b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-section omapi-section__lite-pro",attrs:{id:"omapi-section__lite-pro"}},[n("common-card",{staticClass:"omapi-feature-table",attrs:{titleClass:"bg-white-button omapi-card__no-border",footerClass:"bg-white-button"},scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticClass:"omapi-multi-column__primary"},[n("h4",{staticClass:"omapi-feature-table__title"},[e._v("OptinMonster Lite vs. Pro")]),n("div",{staticClass:"omapi-feature-table__subtitle"},[e._v("Experience and unleash the full power of OptinMonster on your site today!")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-feature-table__button"},[n("core-upgrade-button",{attrs:{color:"green",size:"xlarge",utmMedium:"LiteVsPro"}},[e._v("\n\t\t\t\t\tUpgrade to Pro Today\n\t\t\t\t")])],1)]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"omapi-pro-upsell"},[n("h3",{staticClass:"omapi-pro-upsell__title"},[e._v("Get OptinMonster Pro and Unlock All Features")]),n("p",{staticClass:"omapi-pro-upsell__text"},[e._v("Unlock access to powerful Pro features to skyrocket your subscribers, leads and sales!")]),n("core-upgrade-button",{attrs:{color:"green",size:"xlarge",utmMedium:"LiteVsPro"}},[e._v("\n\t\t\t\t\tUpgrade to Pro Today\n\t\t\t\t")])],1)]},proxy:!0}])},[n("ul",{staticClass:"omapi-detailed-list omapi-feature-table__table"},[n("li",{staticClass:"omapi-feature-table__header"},[n("div",{staticClass:"omapi-multi-column__primary"},[n("h5",[e._v("Feature")])]),n("div",{staticClass:"omapi-multi-column__secondary"},[n("h4",[e._v("Lite")])]),n("div",{staticClass:"omapi-multi-column__secondary"},[n("h4",[e._v("Pro")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("2 Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Unlimited Campaigns")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Templates")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Basic Templates")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("All Templates")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Analytics")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Simple Reporting")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Advanced Reporting")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("A/B Split Testing")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("A/B Testing Made Easy")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Eliminate the guesswork. Test different headlines, content and layouts to see what converts the best.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Traffic Redirection")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Advanced Traffic Redirection")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Send traffic to important pages on your site. Add a button, customize the action and track engagement.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Spin-a-Wheel Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Gamified Templates")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Gamify your conversion strategy with interactive spin-a-wheel coupon campaigns to skyrocket your lead and sales growth.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Exit Intent®")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Behavior Personalization")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Display your forms at the precise moment your visitors are about to leave your site.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("OnSite Retargeting®")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("High-Converting Offers")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("New visitor? Returning visitor? Customer? Show perfect offers to any audience.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Campaign Scheduling")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Set It on Autopilot")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Automate the display of campaigns based on the current date, time, day or even month of the year.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("MonsterLinks™")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Click to Load")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("2-step opt-in technology that is proven to work by showing campaigns with the click of a link, button or image.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Countdown Timers")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Highlight Urgency")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Promote time sensitive offers to drive sales by using our dynamic, versatile countdown timers in your campaigns.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Yes / No Forms")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Multi-Step Forms")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Expand the versatility of your campaigns by adding customizable Yes / No Multi-Step forms to your campaigns.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Cart Abandonment")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Increase Sales Conversions")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Recover more visitors and increase your customer acquisition rate with our reliable cart and form abandonment features.")])])])])])],1)},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"9c2b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-card__flex omapi-dash__create"},e._l(e.templateTypes,function(t,i){return n("templates-type-card",{key:"template-type-"+i,staticClass:"omapi-dash__create-card",attrs:{size:"half",type:i,typeLabel:t}},[n("core-button",{attrs:{linkStyle:!0,arrow:!0}},[e._v("Create New")])],1)}),1)},r=[],a={computed:{templateTypes:function(){return this.$store.getters["templates/typeNames"]}}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"9c36":function(e,t,n){var i={"./Analytics.vue":"9179","./AnalyticsBars.vue":"a22c","./Archive.vue":"93cb","./CampaignType.vue":"cddd","./Checkmark.vue":"11c0","./Cog.vue":"dcba","./Delete.vue":"3eea","./Duplicate.vue":"dbdf","./Edit.vue":"2d94","./Embed.vue":"dc34","./ExclamationTriangle.vue":"df92","./Fire.vue":"7027","./Flag.vue":"4c7a","./Folder.vue":"f34a","./Legacy.vue":"cf4a","./Pause.vue":"71a0","./Plus.vue":"d63f","./Preview.vue":"3c39","./RemoveFolder.vue":"afe5","./Restore.vue":"6a85","./Resume.vue":"1969","./Split.vue":"ffc1","./Times.vue":"45bc","./TimesCircle.vue":"6609","./Trash.vue":"acb5"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="9c36"},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c6cf":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return u});n("456d"),n("ac6a");var i=n("9b02"),r=n.n(i),a=function(e){var t=r()(window,"_omapp.active");if(t){var n=!1;return Object.keys(t).forEach(function(i){"inline"!==i&&0<t[i].length&&t[i].forEach(function(t){e&&!e(t,i)||(t.startClose(!0),n=!0)})}),n}},o=function(e){e.detail.Main.defaults.demo=!0,e.detail.Main.defaults.wp=!0},s=function(e){e.detail.Campaign.preview=!0},c=function(e){e.detail.Campaigns.campaigns.forEach(function(e){return e.forEach(function(e){e.options.bg_close=1})})},l=function(e){var t=e.detail.Campaign;if(t.options.mobile){var n=document.getElementById("om-".concat(t.id)),i="om-".concat(t.id,"-Preview"),r=document.getElementById(i),a=function(e){r!==e.target&&r.firstChild!==e.target||t.startClose(!0)};n.classList.add("MagicMediaQuery-mobile"),r&&(r.removeEventListener("click",a),r.remove()),r=document.createElement("div"),r.id=i,r.innerHTML='<div class="MobilePreview"></div>',t.contain.parentNode.insertBefore(r,t.contain),r.classList.add("Preview"),r.querySelector(".MobilePreview").appendChild(t.contain),t.preview=r,t.Types.Type.position(),r.addEventListener("click",a)}},u=function(e){var t=e.detail.Campaign;if(t.preview=null,t.options.mobile){var n=document.getElementById("om-".concat(t.id,"-Preview"));n&&setTimeout(function(){return n.remove()},100)}}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9cd5":function(e,t,n){var i={"./button/Copy.vue":"2b1a","./button/CreateNew.vue":"c131","./core/ArchieLoader.vue":"90b0","./core/Card.vue":"16a8","./core/Modal.vue":"60d3","./core/Tooltip.vue":"2580","./input/Select.vue":"a897","./input/Toggle.vue":"d204","./modals/ConfirmationHeader.vue":"b881","./modals/Content.vue":"a8b8","./modals/Header.vue":"91dd","./svg/Archie.vue":"cb40","./svg/Browser.vue":"ffc94","./svg/Calendar.vue":"a104","./svg/ChevronDown.vue":"785a","./svg/ChevronUp.vue":"dcfc","./svg/Close.vue":"56fc","./svg/Filter.vue":"11a8","./svg/Inbox.vue":"9d4b","./svg/Info.vue":"2270","./svg/Loading.vue":"1c93","./svg/Lock.vue":"871c","./svg/Mobile.vue":"0a68","./svg/Search.vue":"72d3","./util/FitText.vue":"1343"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="9cd5"},"9d2a":function(e,t,n){},"9d4b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{class:{"_om_inbox-icon-solid":!0===e.solid,"_om_inbox-icon-hover-fill":"hover"===e.solid},attrs:{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.3333 0.5H2.66667C1.2 0.5 0 1.7 0 3.16667V21.8333C0 23.3 1.18667 24.5 2.66667 24.5H21.3333C22.8 24.5 24 23.3 24 21.8333V3.16667C24 1.7 22.8 0.5 21.3333 0.5ZM21.3331 21.8329H2.66646V17.8329H7.41313C8.33313 19.4196 10.0398 20.4996 12.0131 20.4996C13.9865 20.4996 15.6798 19.4196 16.6131 17.8329H21.3331V21.8329ZM14.6798 15.1664H21.3331V3.1664H2.66646V15.1664H9.34646C9.34646 16.6331 10.5465 17.8331 12.0131 17.8331C13.4798 17.8331 14.6798 16.6331 14.6798 15.1664Z",fill:"currentColor"}}),e.solid?n("g",{staticClass:"_om_inbox-icon-fill",attrs:{transform:"matrix(1,0,0,1,0,0.371529)"}},[n("path",{attrs:{d:"M14.599,16.8L22,16.8L22,22.8L2,22.8L2,16.8L9.495,16.8C9.974,17.721 10.938,18.35 12.047,18.35C13.156,18.35 14.119,17.721 14.599,16.8Z",fill:"currentColor"}})]):e._e()])},r=[],a={props:{solid:[Boolean,String]}},o=a,s=(n("3ac8"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,"d69bdb96",null);t["default"]=c.exports},"9d7e":function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(a,function(t,i,a,o){var s=void 0;return"{"===e[o-1]&&"}"===e[o+t.length]?a:(s=(0,r.hasOwn)(n,a)?n[a]:null,null===s||void 0===s?"":s)})}return t};var r=n("8122"),a=/(%|)\{([0-9a-zA-Z_]+)\}/g},"9d96":function(e,t,n){"use strict";function i(e){return s(e)||o(e)||a(e)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function l(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach(function(e){l.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this._defaults.push({fn:e,args:n}),this}}),l.prototype._setDefaults=function(e){this._defaults.forEach(function(t){e[t.fn].apply(e,i(t.args))})},e.exports=l},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1a":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-pagination",{staticClass:"omapi-campaign-table__pagination",attrs:{perPage:e.perPage,pageTotal:e.campaigns.length,total:e.totalFilteredCampaignsCount,page:e.page},on:{changePage:e.changePage}})},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62"),s=n("9bf8");function c(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=Object(o["a"])("campaigns"),d=u.mapState,p=u.mapActions,f={computed:l({},d(["page","campaigns","totalFilteredCampaignsCount"]),{totalPages:function(){return Math.ceil(this.totalFilteredCampaignsCount/s["b"])},perPage:function(){return s["b"]}}),methods:l({},p(["goToPage"]),{changePage:function(e){e<=this.totalPages&&0<e&&this.goToPage({page:e})}})},h=f,m=n("2877"),v=Object(m["a"])(h,i,r,!1,null,null,null);t["default"]=v.exports},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e69":function(e,t,n){var i=n("2b3e"),r=i.Symbol;e.exports=r},"9e690":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{ref:"label",class:"omapi-"+e.type},[e._t("description"),n("input",e._g(e._b({ref:"input",attrs:{type:e.type,name:e.name},domProps:{value:e.value,checked:e.checked||e.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.$emit("input",t)}}},"input",e.$attrs,!1),e.$listeners)),n("span",{class:e.fauxInputClass}),e._t("default",[e._v(e._s(e.label))]),e.$slots.help||e.help?n("span",{class:"omapi-"+e.type+"__helper"},[e._t("help",[e._v("\n\t\t\t"+e._s(e.help)+"\n\t\t")])],2):e._e()],2)},r=[],a={inheritAttrs:!1,props:{type:{type:String,default:"radio"},label:String,help:String,name:String,value:String,inputClass:String,checked:Boolean,selected:Boolean},computed:{fauxInputClass:function(){var e="omapi-".concat(this.type,"__input");return this.inputClass&&(e+=" "+this.inputClass),e}}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
224
  //! moment.js locale configuration
225
  var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],a=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return a})},"9f74":function(e,t,n){var i=n("48a0");function r(e,t){var n=[];return i(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}e.exports=r},a026:function(e,t,n){"use strict";n.r(t),function(e){
226
  /*!
@@ -355,4 +355,4 @@ var t="jan._feb._mrt._apr._mei_jun._jul._aug._sep._okt._nov._dec.".split("_"),n=
355
  var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fe1f:function(e,t,n){"use strict";function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",function(){return i})},fe43:function(e,t,n){},fe77:function(e,t,n){},fe82:function(e,t,n){"use strict";var i=n("bc53"),r=n.n(i);r.a},ff21:function(e,t,n){"use strict";var i=n("a079");function r(e){if(e)return a(e)}function a(e){for(var t in r.prototype)Object.prototype.hasOwnProperty.call(r.prototype,t)&&(e[t]=r.prototype[t]);return e}e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(this[r]=n[r]);this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(a){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},ffc1:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.41421"}},[n("path",{attrs:{fill:"currentColor",d:"M72.94441 20.12872l-6.85467-7.00668 21.65849.12768.00203 22.01522-6.87089-7.0229L56.28201 52.8394v34.01393H43.94279V53.06641L19.11842 28.24204l-6.86886 7.0229.00202-22.01522 21.65647-.12768-6.85265 7.00668L49.9989 43.0722 72.9444 20.1287z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},ffc15:function(e,t,n){var i=n("5ca1"),r=n("504c")(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},ffc9:function(e,t,n){e.exports=n.p+"img/device-mobile.1aab316f.svg"},ffc94:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.41421"}},[n("path",{attrs:{fill:"currentColor",d:"M86.868 86.849H13.137c0-22.266-.141-44.532 0-66.797.069-3.622 3.259-6.864 6.934-6.934 19.954-.126 39.909-.126 59.863 0 3.655.07 6.911 3.327 6.934 7.025v66.706zm-5-49.125H18.137v44.125h63.731V37.724zm0-5.03V20.159c0-1.064-.926-2.021-1.997-2.041-19.898-.126-39.796 0-59.693 0-1.088.007-2.034.942-2.041 2.041v12.535h63.731zm-54.649-9.901c1.551 0 2.811 1.26 2.811 2.812 0 1.551-1.26 2.811-2.811 2.811-1.552 0-2.811-1.26-2.811-2.811 0-1.552 1.259-2.812 2.811-2.812zm8.479 0c1.552 0 2.811 1.26 2.811 2.812 0 1.551-1.259 2.811-2.811 2.811-1.551 0-2.811-1.26-2.811-2.811 0-1.552 1.26-2.812 2.811-2.812zm8.479 0c1.552 0 2.812 1.26 2.812 2.812 0 1.551-1.26 2.811-2.812 2.811-1.551 0-2.811-1.26-2.811-2.811 0-1.552 1.26-2.812 2.811-2.812z","fill-rule":"nonzero"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},ffd6:function(e,t,n){var i=n("3729"),r=n("1310"),a="[object Symbol]";function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}e.exports=o},ffe0:function(e,t,n){var i={"./common/Card.vue":"d95a","./common/Codebox.vue":"f109","./common/CopyLink.vue":"64d5","./common/NoCampaigns.vue":"ea6b","./common/NotConnected.vue":"2388","./common/ProgressSteps.vue":"80ba","./common/QuickLinks.vue":"a7d9","./common/SelectableGroup.vue":"cf4d","./common/SelectableInput.vue":"9e690","./common/Tabnav.vue":"dcc1","./common/ToggleInput.vue":"f9c6","./common/Tooltip.vue":"7c10","./common/WelcomeBackBox.vue":"52ce","./common/Welcomebox.vue":"af18","./common/modal/WelcomeVideo.vue":"e0de","./common/transition/Slide.vue":"c52a","./common/welcome/FeaturedIn.vue":"3f52","./common/welcome/OmEffect.vue":"98cf","./common/welcome/Testimonials.vue":"2829","./common/welcome/TopReasons.vue":"fa22","./core/Alert.vue":"e8ed","./core/AlertBar.vue":"1bbf","./core/Alerts.vue":"1b63","./core/Button.vue":"c956","./core/ConnectButton.vue":"aaa8","./core/CreateConnect.vue":"bc5c","./core/DropdownButton.vue":"66b1","./core/DropdownSelect.vue":"33ce","./core/Loading.vue":"f17d","./core/LoadingButton.vue":"b195","./core/Page.vue":"e0a1","./core/Pagination.vue":"9196","./core/PluginBanner.vue":"e503","./core/SaveButton.vue":"0d39","./core/SearchButton.vue":"b9e9","./core/UpgradeButton.vue":"d151","./core/WizardButton.vue":"9379","./core/form/DatepickerInput.vue":"b28c","./core/form/FancySelectInput.vue":"4723","./core/form/MultiSelectInput.vue":"4527","./core/form/TextInput.vue":"3526","./modals/ProFeature.vue":"e59c","./table/Base.vue":"fbb7","./table/Cell.vue":"c484","./table/Row.vue":"69c4","./table/WordpressPagination.vue":"d531"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="ffe0"},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
356
  //! moment.js locale configuration
357
  var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})}}]);
358
- //# sourceMappingURL=common.3bdb0f3e.js.map
94
  //! moment.js locale configuration
95
  var t={1:"೧",2:"೨",3:"೩",4:"೪",5:"೫",6:"೬",7:"೭",8:"೮",9:"೯",0:"೦"},n={"೧":"1","೨":"2","೩":"3","೪":"4","೫":"5","೬":"6","೭":"7","೮":"8","೯":"9","೦":"0"},i=e.defineLocale("kn",{months:"ಜನವರಿ_ಫೆಬ್ರವರಿ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂಬರ್_ಅಕ್ಟೋಬರ್_ನವೆಂಬರ್_ಡಿಸೆಂಬರ್".split("_"),monthsShort:"ಜನ_ಫೆಬ್ರ_ಮಾರ್ಚ್_ಏಪ್ರಿಲ್_ಮೇ_ಜೂನ್_ಜುಲೈ_ಆಗಸ್ಟ್_ಸೆಪ್ಟೆಂ_ಅಕ್ಟೋ_ನವೆಂ_ಡಿಸೆಂ".split("_"),monthsParseExact:!0,weekdays:"ಭಾನುವಾರ_ಸೋಮವಾರ_ಮಂಗಳವಾರ_ಬುಧವಾರ_ಗುರುವಾರ_ಶುಕ್ರವಾರ_ಶನಿವಾರ".split("_"),weekdaysShort:"ಭಾನು_ಸೋಮ_ಮಂಗಳ_ಬುಧ_ಗುರು_ಶುಕ್ರ_ಶನಿ".split("_"),weekdaysMin:"ಭಾ_ಸೋ_ಮಂ_ಬು_ಗು_ಶು_ಶ".split("_"),longDateFormat:{LT:"A h:mm",LTS:"A h:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY, A h:mm",LLLL:"dddd, D MMMM YYYY, A h:mm"},calendar:{sameDay:"[ಇಂದು] LT",nextDay:"[ನಾಳೆ] LT",nextWeek:"dddd, LT",lastDay:"[ನಿನ್ನೆ] LT",lastWeek:"[ಕೊನೆಯ] dddd, LT",sameElse:"L"},relativeTime:{future:"%s ನಂತರ",past:"%s ಹಿಂದೆ",s:"ಕೆಲವು ಕ್ಷಣಗಳು",ss:"%d ಸೆಕೆಂಡುಗಳು",m:"ಒಂದು ನಿಮಿಷ",mm:"%d ನಿಮಿಷ",h:"ಒಂದು ಗಂಟೆ",hh:"%d ಗಂಟೆ",d:"ಒಂದು ದಿನ",dd:"%d ದಿನ",M:"ಒಂದು ತಿಂಗಳು",MM:"%d ತಿಂಗಳು",y:"ಒಂದು ವರ್ಷ",yy:"%d ವರ್ಷ"},preparse:function(e){return e.replace(/[೧೨೩೪೫೬೭೮೯೦]/g,function(e){return n[e]})},postformat:function(e){return e.replace(/\d/g,function(e){return t[e]})},meridiemParse:/ರಾತ್ರಿ|ಬೆಳಿಗ್ಗೆ|ಮಧ್ಯಾಹ್ನ|ಸಂಜೆ/,meridiemHour:function(e,t){return 12===e&&(e=0),"ರಾತ್ರಿ"===t?e<4?e:e+12:"ಬೆಳಿಗ್ಗೆ"===t?e:"ಮಧ್ಯಾಹ್ನ"===t?e>=10?e:e+12:"ಸಂಜೆ"===t?e+12:void 0},meridiem:function(e,t,n){return e<4?"ರಾತ್ರಿ":e<10?"ಬೆಳಿಗ್ಗೆ":e<17?"ಮಧ್ಯಾಹ್ನ":e<20?"ಸಂಜೆ":"ರಾತ್ರಿ"},dayOfMonthOrdinalParse:/\d{1,2}(ನೇ)/,ordinal:function(e){return e+"ನೇ"},week:{dow:0,doy:6}});return i})},"3eea":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{staticClass:"svg-inline--fa fa-ban fa-w-16",attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"ban",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 512 512"}},[n("path",{attrs:{fill:"currentColor",d:"M256 8C119.034 8 8 119.033 8 256s111.034 248 248 248 248-111.034 248-248S392.967 8 256 8zm130.108 117.892c65.448 65.448 70 165.481 20.677 235.637L150.47 105.216c70.204-49.356 170.226-44.735 235.638 20.676zM125.892 386.108c-65.448-65.448-70-165.481-20.677-235.637L361.53 406.784c-70.203 49.356-170.226 44.736-235.638-20.676z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"3f40":function(e,t,n){"use strict";var i=n("86d1"),r=n.n(i);r.a},"3f42":function(e,t,n){e.exports=n.p+"img/dashboard-sample.af325968.png"},"3f47":function(e,t,n){},"3f52":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement;e._self._c;return e._m(0)},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("section",{staticClass:"omapi-featured-in"},[i("h2",[e._v("OptinMonster has been featured in:")]),i("img",{attrs:{src:n("fb8f"),alt:"Feauted in Inc., Forbes, VB, Yahoo!, Entrepreneur, and Huffpost!"}})])}],a=(n("21b2"),n("2877")),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"3f6b":function(e,t,n){e.exports={default:n("51b6"),__esModule:!0}},4010:function(e,t,n){"use strict";t.__esModule=!0,t.removeResizeListener=t.addResizeListener=void 0;var i=n("6dd8"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}var o="undefined"===typeof window,s=function(e){var t=e,n=Array.isArray(t),i=0;for(t=n?t:t[Symbol.iterator]();;){var r;if(n){if(i>=t.length)break;r=t[i++]}else{if(i=t.next(),i.done)break;r=i.value}var a=r,o=a.target.__resizeListeners__||[];o.length&&o.forEach(function(e){e()})}};t.addResizeListener=function(e,t){o||(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new r.default(s),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},"40b8":function(e,t,n){"use strict";var i=n("549e"),r=n.n(i);r.a},"40c3":function(e,t,n){var i=n("6b4c"),r=n("5168")("toStringTag"),a="Arguments"==i(function(){return arguments}()),o=function(e,t){try{return e[t]}catch(n){}};e.exports=function(e){var t,n,s;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=o(t=Object(e),r))?n:a?i(t):"Object"==(s=i(t))&&"function"==typeof t.callee?"Arguments":s}},4178:function(e,t,n){var i,r,a,o=n("d864"),s=n("3024"),c=n("32fc"),l=n("1ec9"),u=n("e53d"),d=u.process,p=u.setImmediate,f=u.clearImmediate,h=u.MessageChannel,m=u.Dispatch,v=0,g={},b="onreadystatechange",_=function(){var e=+this;if(g.hasOwnProperty(e)){var t=g[e];delete g[e],t()}},y=function(e){_.call(e.data)};p&&f||(p=function(e){var t=[],n=1;while(arguments.length>n)t.push(arguments[n++]);return g[++v]=function(){s("function"==typeof e?e:Function(e),t)},i(v),v},f=function(e){delete g[e]},"process"==n("6b4c")(d)?i=function(e){d.nextTick(o(_,e,1))}:m&&m.now?i=function(e){m.now(o(_,e,1))}:h?(r=new h,a=r.port2,r.port1.onmessage=y,i=o(a.postMessage,a,1)):u.addEventListener&&"function"==typeof postMessage&&!u.importScripts?(i=function(e){u.postMessage(e+"","*")},u.addEventListener("message",y,!1)):i=b in l("script")?function(e){c.appendChild(l("script"))[b]=function(){c.removeChild(this),_.call(e)}}:function(e){setTimeout(o(_,e,1),0)}),e.exports={set:p,clear:f}},"417f":function(e,t,n){"use strict";t.__esModule=!0;var i=n("a026"),r=o(i),a=n("5924");function o(e){return e&&e.__esModule?e:{default:e}}var s=[],c="@@clickoutsideContext",l=void 0,u=0;function d(e,t,n){return function(){var i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};!(n&&n.context&&i.target&&r.target)||e.contains(i.target)||e.contains(r.target)||e===i.target||n.context.popperElm&&(n.context.popperElm.contains(i.target)||n.context.popperElm.contains(r.target))||(t.expression&&e[c].methodName&&n.context[e[c].methodName]?n.context[e[c].methodName]():e[c].bindingFn&&e[c].bindingFn())}}!r.default.prototype.$isServer&&(0,a.on)(document,"mousedown",function(e){return l=e}),!r.default.prototype.$isServer&&(0,a.on)(document,"mouseup",function(e){s.forEach(function(t){return t[c].documentHandler(e,l)})}),t.default={bind:function(e,t,n){s.push(e);var i=u++;e[c]={id:i,documentHandler:d(e,t,n),methodName:t.expression,bindingFn:t.value}},update:function(e,t,n){e[c].documentHandler=d(e,t,n),e[c].methodName=t.expression,e[c].bindingFn=t.value},unbind:function(e){for(var t=s.length,n=0;n<t;n++)if(s[n][c].id===e[c].id){s.splice(n,1);break}delete e[c]}}},"41a0":function(e,t,n){"use strict";var i=n("2aeb"),r=n("4630"),a=n("7f20"),o={};n("32e9")(o,n("2b4c")("iterator"),function(){return this}),e.exports=function(e,t,n){e.prototype=i(o,{next:r(1,n)}),a(e,t+" Iterator")}},"41b2":function(e,t,n){"use strict";t.__esModule=!0;var i=n("3f6b"),r=a(i);function a(e){return e&&e.__esModule?e:{default:e}}t.default=r.default||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e}},"41e4":function(e,t,n){"use strict";var i=n("86a4"),r=n.n(i);r.a},"41f8":function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.isVNode=a;var r=n("8122");function a(e){return null!==e&&"object"===("undefined"===typeof e?"undefined":i(e))&&(0,r.hasOwn)(e,"componentOptions")}},"423e":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
96
  //! moment.js locale configuration
97
+ var t=e.defineLocale("ar-kw",{months:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),monthsShort:"يناير_فبراير_مارس_أبريل_ماي_يونيو_يوليوز_غشت_شتنبر_أكتوبر_نونبر_دجنبر".split("_"),weekdays:"الأحد_الإتنين_الثلاثاء_الأربعاء_الخميس_الجمعة_السبت".split("_"),weekdaysShort:"احد_اتنين_ثلاثاء_اربعاء_خميس_جمعة_سبت".split("_"),weekdaysMin:"ح_ن_ث_ر_خ_ج_س".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[اليوم على الساعة] LT",nextDay:"[غدا على الساعة] LT",nextWeek:"dddd [على الساعة] LT",lastDay:"[أمس على الساعة] LT",lastWeek:"dddd [على الساعة] LT",sameElse:"L"},relativeTime:{future:"في %s",past:"منذ %s",s:"ثوان",ss:"%d ثانية",m:"دقيقة",mm:"%d دقائق",h:"ساعة",hh:"%d ساعات",d:"يوم",dd:"%d أيام",M:"شهر",MM:"%d أشهر",y:"سنة",yy:"%d سنوات"},week:{dow:0,doy:12}});return t})},4245:function(e,t,n){var i=n("1290");function r(e,t){var n=e.__data__;return i(t)?n["string"==typeof t?"string":"hash"]:n.map}e.exports=r},"427a":function(e,t,n){"use strict";var i=n("fa9a"),r=n.n(i);r.a},4280:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",[n("div",{staticClass:"omapi-campaign-table__mods"},[n("div",{staticClass:"omapi-campaign-table__status"}),n("campaigns-search-button")],1),n("div",{staticClass:"omapi-campaign-table__mods"},[n("campaigns-table-dropdown-filters"),n("campaigns-table-pagination")],1)])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},4284:function(e,t){function n(e,t){var n=-1,i=null==e?0:e.length;while(++n<i)if(t(e[n],n,e))return!0;return!1}e.exports=n},"42a2":function(e,t,n){var i=n("b5a7"),r=n("79bc"),a=n("1cec"),o=n("c869"),s=n("39ff"),c=n("3729"),l=n("dc57"),u="[object Map]",d="[object Object]",p="[object Promise]",f="[object Set]",h="[object WeakMap]",m="[object DataView]",v=l(i),g=l(r),b=l(a),_=l(o),y=l(s),M=c;(i&&M(new i(new ArrayBuffer(1)))!=m||r&&M(new r)!=u||a&&M(a.resolve())!=p||o&&M(new o)!=f||s&&M(new s)!=h)&&(M=function(e){var t=c(e),n=t==d?e.constructor:void 0,i=n?l(n):"";if(i)switch(i){case v:return m;case g:return u;case b:return p;case _:return f;case y:return h}return t}),e.exports=M},4360:function(e,t,n){"use strict";var i=n("a026"),r=n("2f62"),a=function(e){return o(e)&&!s(e)};function o(e){return!!e&&"object"===typeof e}function s(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||u(e)}var c="function"===typeof Symbol&&Symbol.for,l=c?Symbol.for("react.element"):60103;function u(e){return e.$$typeof===l}function d(e){return Array.isArray(e)?[]:{}}function p(e,t){return!1!==t.clone&&t.isMergeableObject(e)?m(d(e),e,t):e}function f(e,t,n){return e.concat(t).map(function(e){return p(e,n)})}function h(e,t,n){var i={};return n.isMergeableObject(e)&&Object.keys(e).forEach(function(t){i[t]=p(e[t],n)}),Object.keys(t).forEach(function(r){n.isMergeableObject(t[r])&&e[r]?i[r]=m(e[r],t[r],n):i[r]=p(t[r],n)}),i}function m(e,t,n){n=n||{},n.arrayMerge=n.arrayMerge||f,n.isMergeableObject=n.isMergeableObject||a;var i=Array.isArray(t),r=Array.isArray(e),o=i===r;return o?i?n.arrayMerge(e,t,n):h(e,t,n):p(t,n)}m.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce(function(e,n){return m(e,n,t)},{})};var v=m,g=v;function b(e,t,n){return void 0===(e=(t.split?t.split("."):t).reduce(function(e,t){return e&&e[t]},e))?n:e}function _(e,t,n,i){return(t=t.split?t.split("."):t).slice(0,-1).reduce(function(e,t){return e[t]=e[t]||{}},e)[t.pop()]=n,e}var y=function(e,t,n){function i(e,t,n){try{return(n=t.getItem(e))&&void 0!==n?JSON.parse(n):void 0}catch(e){}}if(t=(e=e||{}).storage||window&&window.localStorage,n=e.key||"vuex",!function(e){try{return e.setItem("@@",1),e.removeItem("@@"),!0}catch(e){}return!1}(t))throw new Error("Invalid storage instance given");return function(r){var a=b(e,"getState",i)(n,t);"object"==typeof a&&null!==a&&r.replaceState(g(r.state,a,{arrayMerge:e.arrayMerger||function(e,t){return t},clone:!1})),(e.subscriber||function(e){return function(t){return e.subscribe(t)}})(r)(function(i,r){(e.filter||function(){return!0})(i)&&(e.setState||function(e,t,n){return n.setItem(e,JSON.stringify(t))})(n,(e.reducer||function(e,t){return 0===t.length?e:t.reduce(function(t,n){return _(t,n,b(e,n))},{})})(r,e.paths||[]),t)})}},M=(n("a481"),n("9b02")),w=n.n(M),O=n("6747"),k=n.n(O),x=n("ed08"),L={fetchMe:function(e){var t=this,n=e.state,i=e.commit,r=e.dispatch,a=e.getters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=o.loading,c=void 0===s?null:s;return null===c&&(c=!a.connected),c&&i("loading","me"),new Promise(function(e,a){return n.apiKey?t._vm.$api.get("me?includeOnboarding=true").then(function(a){var o=a.body;i("setUser",o),i("doneLoading","me");var s=w()(o,"campaignTypes");s&&k()(s)&&i("templates/permittedTypes",s),r("notifications/fetch"),"onboarding-wizard"!==w()(n,"route.name")&&r("wizard/complete",null,{root:!0}),t._vm.$bus.$emit("fetchedMe"),e()}).catch(function(e){i("setError",e),i("doneLoading","me"),a(e),console.error({error:e})}):(i("doneLoading","me"),e())})},saveApiKey:function(e,t){var n=this,i=e.commit;e.dispatch;return i("loading","connect"),new Promise(function(e,r){var a=function(e){n._vm.$bus.$emit("saveApiKeyFailed",t),i("closeAlerts",null),e.explanation="<strong>Something went wrong while attempting to connect</strong>",i("setError",e),i("doneLoading","connect"),r(e),console.error({error:e})},o=function(){n._vm.$bus.$emit("saveApiKeySuccess",t),i("doneLoading","connect"),e()};return i("setApiKey",t),n._vm.$api.post({wpEndpoint:"omapp/v1/api/"}).send({key:t}).then(o).catch(a)})},disconnect:function(e){var t=this,n=e.commit,i=e.dispatch;return n("loading","disconnect"),new Promise(function(e,r){var a=function(e){n("closeAlerts",null),e.explanation="<strong>Something went wrong while attempting to disconnect</strong>",n("setError",e),n("doneLoading","disconnect"),r(e),console.error({error:e})},o=function(){t._vm.$bus.$emit("disconnectSuccess"),n("setApiKey",""),n("resetUser"),i("wizard/resetState"),n("doneLoading","disconnect"),e()};return t._vm.$api.delete({wpEndpoint:"omapp/v1/api/"}).then(o).catch(a)})},setTitle:function(e,t){var n=e.commit,i=t.title,r=t.setBannerTitle,a=void 0===r||r;document.title=Object(x["l"])("titleTag",i).replace("{replaceme}",i),a&&n("setBannerTitle",i)}},C=(n("8e6e"),n("768b")),A=(n("456d"),n("ac6a"),n("bd86")),S=(n("6762"),n("2fdb"),{getAlert:e=>t=>e.alerts[t],findAlert:e=>t=>{const n=e.alerts.findIndex(e=>{return!Object.keys(t).some(n=>{return!t[n]||t[n]!==e[n]})});return-1!==n&&e.alerts[n]}});function T(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function D(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?T(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):T(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var z=function(e,t,n){return k()(n)?n.some(function(n){return e[t].includes(n)}):e[t].includes(n)},E=D({},S,{userId:function(e){return e.user.id},connected:function(e){return Boolean(e.user.id&&e.apiKey)},shouldFetchUser:function(e){return Boolean(e.apiKey&&!e.user.created)},userAttribute:function(e){return function(t,n){return w()(e,"user.".concat(t),n)}},isLoading:function(e){return function(t){return z(e,"loading",t)}},isFetching:function(e){return function(t){return z(e,"fetching",t)}},isFetched:function(e){return function(t){return z(e,"fetched",t)}},userEmail:function(e,t){return t.userAttribute("email")},userFirstName:function(e,t){return t.userAttribute("firstName")},userLastName:function(e,t){return t.userAttribute("lastName")},userLevel:function(e,t){return t.userAttribute("level")},isLiteUser:function(e,t){return"vbp_free"===t.userLevel},userPlanName:function(e,t){return t.isLiteUser?"OptinMonster Lite":t.userAttribute("planName")},features:function(e,t){var n=t.userAttribute("features",[]);return n&&k()(n)?n:Object(x["l"])("features")},allowed:function(e,t){return function(t,n,i){return Object(x["a"])(e.user,t,n,i)}},hasFeature:function(e,t){return function(t){return Object(x["a"])(e.user,"features",t)}},hasRuleType:function(e,t){return function(t){return Object(x["a"])(e.user,"ruleTypes",t)}},showProUpsells:function(e,t){return t.isLiteUser||!t.connected}}),j={onboardingVia:"via",onboardingGoal:"goal",onboardingUsage:"usage",onboardingUsageOtherText:"usage_other_text",onboardingEmailList:"email_list",onboardingEmailService:"email_service",onboardingEmailServiceOtherText:"email_service_other_text"};Object.keys(j).forEach(function(e){var t=j[e];E[e]=function(e){return w()(e,"user.onboarding.".concat(t))}});var P={onboardingUsageOtherText:["usage_other_text","usage","other"],onboardingEmailServiceOtherText:["email_service_other_text","email_service","other"]};Object.keys(P).forEach(function(e){var t=Object(C["a"])(P[e],3),n=t[0],i=t[1],r=t[2];E[e]=function(e){return r===w()(e,"user.onboarding.".concat(i))?w()(e,"user.onboarding.".concat(n)):""}});var N=E,Y=n("9bf8"),$=(n("7514"),n("386d"),n("20d6"),{alerts:[],error:null});function W(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function B(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?W(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):W(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var q=function(){return{starts:"",ends:"",campaignType:"",embedOutput:"all",status:"",campaignIds:[]}},I=B({},$,{folders:[],campaigns:[],archives:0,totalCampaignsCount:0,totalFilteredCampaignsCount:0,draftCount:0,publishCount:0,embedFilter:"all",sort:"newest",filters:q(),search:"",searching:!1,page:1,bulk:[],isSelectAll:!1});function F(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function H(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?F(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):F(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var R=H({},S,{isArchived:function(e,t){return function(e){return e&&"archive"===t.getCampaign(e).status}},isTrashed:function(e,t){return function(e){return e&&"trash"===t.getCampaign(e).status}},isRestricted:function(e,t){return function(e){return t.isArchived(e)||t.isTrashed(e)}},allCampaigns:function(e){return w()(e,"campaigns",[])},getCampaign:function(e){return function(t){var n=e.campaigns.filter(function(e){return e.id===t})[0];return n||e.campaigns.forEach(function(e){if(!n){var i=e.splits&&e.splits.filter(function(e){return e.id===t})||[];i.length&&(n=i[0],n.sites=e.site,n.folders=e.folders)}}),n}},getCampaignIndex:function(e){return function(t){return e.campaigns.findIndex(function(e){return e.id===t})}},hasCampaigns:function(e){return e.campaigns.length},isOnFire:function(e,t){return function(e){if(t.isRestricted(e))return!1;var n=t.getCampaign(e);if(100>n.analytics_data.impressions||20>n.analytics_data.conversions)return!1;var i=1001;switch(n.type){case"Fullscreen":i=400;break;case"Lightbox Popup":case"Popup":i=300;break;case"Mobile Popup":case"Slide-in":i=200;break;case"Canvas":case"Inline / After Post":case"Inline":case"Sidebar":case"Floating Bar":i=100;break}return i<100*n.analytics_data.rate}},hasSplits:function(e,t){return function(e){var n=t.getCampaign(e)||{};return n.splits&&n.splits.length}},canBulk:function(e,t,n){return e.campaigns.filter(function(e){return Object(x["a"])(n.user,"roles","campaign.edit",e)})},campaignsWithSplits:function(e){var t=[];return e.campaigns.forEach(function(e){t.push(e),e.splits.length&&e.splits.forEach(function(e){t.push(e)})}),t},moreAvailable:function(e){return e.totalFilteredCampaignsCount>e.campaigns.length},canResetFilters:function(e){if("all"!==e.embedFilter)return!0;if(e.search)return!0;var t=q(),n=Object.keys(t).find(function(n){return Array.isArray(t[n])?w()(e,"filters.".concat(n)).length!==t[n].length:w()(e,"filters.".concat(n))!==t[n]});return Boolean(n)},enabledCampaignIds:function(e,t,n){return n.wp.campaigns.filter(function(e){return"1"===w()(e,"post_meta._omapi_enabled","")}).map(function(e){return e.id})},rawDisabledCampaignIds:function(e,t,n){return n.wp.campaigns.filter(function(e){return"1"!==w()(e,"post_meta._omapi_enabled","")}).map(function(e){return e.id})},allWpIds:function(e,t){var n=t.rawDisabledCampaignIds,i=t.enabledCampaignIds;return i.concat(n)},missingIds:function(e,t){var n=t.allCampaigns,i=t.allWpIds;return n.filter(function(e){return!i.includes(e.id)}).map(function(e){return e.id})},disabledCampaignIds:function(e,t){var n=t.rawDisabledCampaignIds,i=t.missingIds;return n.concat(i)},publishCount:function(e){return e.publishCount},pendingCount:function(e,t){var n=e.totalCampaignsCount,i=e.publishCount,r=e.draftCount,a=t.missingIds;t.allWpIds,t.allCampaigns;return Math.max(0,n-i-r-a.length)},draftCount:function(e,t){var n=e.draftCount,i=t.missingIds;return n+i.length},testing:function(e,t){return{all:t.allCampaigns.map(function(e){return e.id}),allWp:t.allWpIds,missing:t.missingIds,enabled:t.enabledCampaignIds,disabled:t.disabledCampaignIds,ycounts:{publish:e.publishCount,draft:e.draftCount,pending:e.totalCampaignsCount-e.publishCount-e.draftCount},zcounts:{publish:t.publishCount,draft:t.draftCount,pending:t.pendingCount}}}}),X=(n("c5f6"),n("ee1d"),n("55dd"),n("1985")),V=n("0f5c"),U=n.n(V),G=n("df33");function K(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function J(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?K(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):K(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Q=q(),Z=function(e){return e.map(function(e){e.domain=Object(X["toUnicode"])(e.domain)})},ee=J({},G["a"],{setSearch:function(e,t){e.search=t},setSearching:function(e,t){e.searching=t},setFolders:function(e,t){e.folders=t||[]},addCampaigns:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],n=e.campaigns.length?e.campaigns:[];t.forEach(function(e){var t=e.sites||[];Z(t),e.sites=t,n.push(e)}),this._vm.$set(e,"campaigns",n)},updateCampaignMeta:function(e,t){var n=t.campaignId,i=t.meta,r=e.campaigns.findIndex(function(e){return e.id===n});if(-1!==r){var a=J({},e.campaigns[r]);U()(a,"wp.post_meta",i),this._vm.$set(e.campaigns,r,a)}},updateCampaignValue:function(e,t){var n=t.campaignId,i=t.key,r=t.value,a=t.valueType,o=void 0===a?"string":a,s=e.campaigns.findIndex(function(e){return e.id===n});if(-1!==s){var c=J({},e.campaigns[s]);switch(o){case"numericBool":r=r&&"0"!==r?"1":"0";break;case"positiveNumber":r=parseInt(r,0),r=0<r?r:1;break;case"bool":r=Boolean(r&&"0"!==r);break;case"array":r=r||[],r=Array.isArray(r)?r:[r];break;case"object":break;default:r=r||0===r?String(r):"";break}U()(c,i,r),this._vm.$set(e.campaigns,s,c)}},updateCampaign:function(e,t){var n=t.index,i=t.campaign;void 0===n&&(n=e.campaigns.findIndex(function(e){return e.id===i.id})),this._vm.$set(e.campaigns,n,i)},setCampaigns:function(e,t){var n=t||[];n.map(function(e){var t=e.sites||[];Z(t),e.sites=t}),this._vm.$set(e,"campaigns",n)},setTotalCampaignCount:function(e,t){e.totalCampaignsCount=t},setTotalFilteredCampaignCount:function(e,t){e.totalFilteredCampaignsCount=t},setStatus:function(e,t){var n=this,i=t.campaigns,r=t.status;i.forEach(function(t){var i=e.campaigns.findIndex(function(e){return e.id===t});if(-1!==i)e.campaigns[i].status=r,e.campaigns[i].splits.length&&"paused"===r&&e.campaigns[i].splits.forEach(function(t,a){n._vm.$set(e.campaigns[i].splits[a],"status",r)});else{var a=e.campaigns.filter(function(e){return e.splits.length});a.forEach(function(i){var a=e.campaigns.findIndex(function(e){return e.id===i.id}),o=i.splits.findIndex(function(e){return e.id===t});-1!==o&&n._vm.$set(e.campaigns[a].splits[o],"status",r)})}})},updateSort:function(e,t){var n=e.campaigns,i=e.sort;t&&(i=t.value);var r=Object(x["t"])(n,i);this._vm.$set(e,"campaigns",r),this._vm.$set(e,"sort",i)},refreshAnalytics:function(e,t){var n=this;Object.keys(t).forEach(function(i){Object.keys(t[i]).forEach(function(r){var a=t[i][r],o=e.campaigns.findIndex(function(e){return e.id===r});if(-1!==o)n._vm.$set(e.campaigns[o],"analytics_data",{impressions:parseInt(a.impressions),conversions:parseInt(a.conversions),rate:parseFloat(a.rate.replace("%",""))});else{var s=e.campaigns.filter(function(e){return e.splits.length});s.forEach(function(t){var i=e.campaigns.findIndex(function(e){return e.id===t.id}),o=t.splits.findIndex(function(e){return e.id===r});-1!==o&&n._vm.$set(e.campaigns[i].splits[o],"analytics_data",{impressions:parseInt(a.impressions),conversions:parseInt(a.conversions),rate:parseFloat(a.rate.replace("%",""))})})}})})},makePrimary:function(e,t){var n=e.campaigns,i=n.findIndex(function(e){return e.id===t.parent_id}),r=J({},n[i]),a=r.splits.filter(function(e){return e.id!==t.id}),o=J({},t);o.is_split=0,o.sites=r.sites.splice(0),o.folders=r.folders.splice(0),o.splits=a,delete o.parent_id,delete r.sites,delete r.folders,delete r.splits,r.parent_id=o.id,r.is_split=1,o.splits.push(r),this._vm.$set(e.campaigns,i,o)},addToBulk:function(e,t){this._vm.$set(e.bulk,e.bulk.length,t),e.bulk.length===e.campaigns.length&&this._vm.$set(e,"isSelectAll",!0)},removeFromBulk:function(e,t){var n=e.bulk.indexOf(t);-1!==n&&(this._vm.$delete(e.bulk,n),this._vm.$set(e,"isSelectAll",!1))},removeCampaignByIndex:function(e,t){this._vm.$delete(e.campaigns,t)},removeSplitByIndex:function(e,t){var n=t.campaignIndex,i=t.splitIndex;this._vm.$delete(e.campaigns[n].splits,i)},clearBulk:function(e){this._vm.$set(e,"bulk",[]),this._vm.$set(e,"isSelectAll",!1)},setBulk:function(e,t){this._vm.$set(e,"bulk",t)},selectAll:function(e,t){this._vm.$set(e,"isSelectAll",Boolean(t))},page:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.page=n)},publishCountUpdate:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.publishCount=n)},draftCountUpdate:function(e,t){var n=parseInt(t,10);Number.isNaN(n)||(e.draftCount=n)},setEmbedFilter:function(e,t){e.embedFilter=t,"all"===t&&this._vm.$set(e.filters,"campaignIds",Q.campaignIds)},setFilterValues:function(e,t){var n=this;Object.keys(t).forEach(function(i){n._vm.$set(e.filters,i,t[i])})},resetFilters:function(e){var t=this;Object.keys(Q).forEach(function(n){t._vm.$set(e.filters,n,Q[n])}),this._vm.$set(e,"search",""),this._vm.$set(e,"embedFilter","all")},resetFilter:function(e,t){return"search"===t?this._vm.$set(e,"search",""):"embedFilter"===t?(this._vm.$set(e,"embedFilter","all"),this._vm.$set(e.filters,"campaignIds",Q.campaignIds)):void this._vm.$set(e.filters,t,Q[t])}}),te={namespaced:!0,actions:Y["a"],getters:R,mutations:ee,state:I},ne=(n("5df3"),function(){return{analytics:{impressions:0,conversions:0,rate:0},topCampaigns:[],dateRange:{preset:!0,filter:"30-days",start:"",end:""},dismissedWelcomeBack:!1}}),ie=ne(),re=0,ae=function(){var e=(new Date).getTime()-re,t=36e5;return e>t},oe={fetch:function(e){var t=this,n=e.commit,i=(e.state,e.dispatch),r=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};return new Promise(function(e,o){if((!ae()||!r.connected)&&!a.filter)return e();var s=[],c="",l=Promise.resolve();n("loading","accountDash",{root:!0}),s.push("site=".concat(x["s"]?x["s"].join(","):x["r"])),s.push("t=".concat((new Date).getTime())),a.filter?(s.push("filter=".concat(a.filter)),a.start&&s.push("start=".concat(t._vm.$moment(a.start).format("YYYY-MM-DD"))),a.end&&s.push("end=".concat(t._vm.$moment(a.end).format("YYYY-MM-DD")))):(s.push("filter=30-days"),s.push("start=".concat(t._vm.$moment().subtract(29,"days").format("YYYY-MM-DD"))),s.push("end=".concat(t._vm.$moment().format("YYYY-MM-DD")))),s.length&&(c="?".concat(s.join("&"))),r.shouldFetchUser&&(l=i("fetchMe",{},{root:!0}).catch(function(e){return console.error({error:e}),o(e)}));var u=new Promise(function(e,i){t._vm.$api.get("account-dashboard".concat(c),{cached:!1}).then(function(e){var t=e.body;n("doneLoading","accountDash",{root:!0});var i=w()(t,"widgets.analytics.range1",ne()["analytics"]);n("setAnalyticsData",i);var r=w()(t,"widgets.top-campaigns",ne()["topCampaigns"]);n("setTopCampaigns",r)})});Promise.all([l,u]).then(function(){e()}).catch(function(e){o(e),console.error(e)})})}},se={analytics:function(e){return e.analytics},topCampaigns:function(e){return e.topCampaigns},impressions:function(e,t){return x["n"].withCommas(t.analytics.impressions,0)},conversions:function(e){return x["n"].withCommas(e.analytics.conversions,0)},rate:function(e){return x["n"].withCommas(e.analytics.rate,0)},dateRange:function(e){return e.dateRange}},ce={setAnalyticsData:function(e,t){this._vm.$set(e,"analytics",t)},setTopCampaigns:function(e,t){this._vm.$set(e,"topCampaigns",t.slice(0,5))},updateStats:function(e,t){this._vm.$set(e,"dateRange",t)},dismissWelcomeBack:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._vm.$set(e,"dismissedWelcomeBack",Boolean(t))}},le={namespaced:!0,actions:oe,getters:se,mutations:ce,state:ie},ue=(n("1c4c"),{fetchLeads:function(e){var t=e.commit,n=e.getters,i=e.rootGetters;if(i.connected)return t("loading","monsterleads",{root:!0}),t("resetLeads"),x["b"].get("leads"+n.leadsQueryString).then(function(e){t("doneLoading","monsterleads",{root:!0}),t("setLeadsPageData",e.body)})},deleteLead:function(e,t){var n=e.commit,i=e.state,r=Array.from(i.leads).find(function(e){return t===e.id});confirm("Are you sure you want to delete ".concat(r.email,"?"))&&x["b"].delete("leads/".concat(t)).then(function(){n("removeLead",t)})},updateSiteFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateSiteFilters",t),i("fetchLeads")},updateCampaignFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateCampaignFilters",t),i("fetchLeads")},updateTagFilters:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateTagFilters",t),i("fetchLeads")},updateStartDate:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateStartDate",t),i("fetchLeads")},updateEndDate:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("updateEndDate",t),i("fetchLeads")},updateSearch:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("setSearch",t),i("fetchLeads")},changePage:function(e,t){var n=e.commit,i=(e.state,e.dispatch);n("setPage",t),i("fetchLeads")}}),de=(n("7f7f"),{leadsQueryString:function(e){var t={page:e.page,leadsPerPage:e.perPage,searchLead:e.search,dateStart:e.filters.dateRangeStart,dateEnd:e.filters.dateRangeEnd,sites:e.filters.sites,campaigns:e.filters.campaigns,tags:e.filters.tags},n="?"+Object.keys(t).reduce(function(e,n){return t[n]&&(Array.isArray(t[n])?t[n].forEach(function(t){return e.push(n+"[]="+t)}):e.push(n+"="+encodeURIComponent(t[n]))),e},[]).join("&");return n},exportQueryString:function(e,t){var n=t.leadsQueryString,i=n+"&"+Object.keys(e.export).reduce(function(t,n){return t.push("export[".concat(n,"]=")+encodeURIComponent(e.export[n])),t},[]).join("&");return i},getCampaignFilterOptions:function(e){return e.filterOptions.campaigns.map(function(e){return{name:e.name,value:e.id}})},getSiteFilterOptions:function(e){return e.filterOptions.sites.map(function(e){return{name:e.name,value:e.numericId}})},getTagFilterOptions:function(e){return e.filterOptions.tags.map(function(e){return{name:e.name,value:e.id}})}}),pe=n("c1df"),fe=n.n(pe),he={setLeadsPageData:function(e,t){e.filterOptions.sites=t.sites,e.filterOptions.campaigns=t.campaigns,e.filterOptions.tags=t.tags,e.leads=t.leads,e.page=parseInt(t.pagination.currentPage),e.perPage=parseInt(t.pagination.perPage),e.count=parseInt(t.pagination.count)},removeLead:function(e,t){var n=e.leads.findIndex(function(e){return t===e.id});e.leads.splice(n,1)},resetLeads:function(e){e.leads=[]},setPage:function(e,t){e.page=t},updateSiteFilters:function(e,t){e.filters.sites=Object(x["d"])(t)},updateCampaignFilters:function(e,t){e.filters.campaigns=Object(x["d"])(t)},updateTagFilters:function(e,t){e.filters.tags=Object(x["d"])(t)},updateStartDate:function(e,t){e.filters.dateRangeStart=fe()(t).format("YYYY-MM-DD")},updateEndDate:function(e,t){e.filters.dateRangeEnd=fe()(t).format("YYYY-MM-DD")}},me={leads:{},count:0,page:1,perPage:10,search:"",filterOptions:{sites:[],campaigns:[],tags:[]},filters:{sites:[],campaigns:[],tags:[],dateRangeStart:null,dateRangeEnd:null},export:{first_name:!0,last_name:!0,email:!0,phone:!0,campaign:!0,site:!0,site_domain:!0,page_title:!0,page_url:!0,ip:!0,date:!0,time:!0,type:"xlsx"}},ve={namespaced:!0,actions:ue,getters:de,mutations:he,state:me},ge=n("75fc"),be=n("63ea"),_e=n.n(be);function ye(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Me(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ye(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ye(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var we=function(e,t){t=JSON.parse(JSON.stringify(t)),delete t.id,delete t.created;var n=e.findIndex(function(e){try{var n=JSON.parse(JSON.stringify(e));return delete n.id,delete n.created,_e()(t,n)}catch(i){return!1}});return-1!==n},Oe=function(e,t){return t.created||(t.created=x["g"].timestamp()),e.unshift(t),e},ke=Me({},G["a"],{removeNotifications:function(e,t){var n=Object(ge["a"])(e.notifications),i=Object(x["d"])(t);i.forEach(function(t){var i=e.notifications.findIndex(function(e){return e.id===t});n.splice(i,1)}),this._vm.$set(e,"notifications",n)},setNotifications:function(e,t){var n=e.queue.concat(Object(x["d"])(t)).map(function(e){return e.created||(e.created=x["g"].timestamp()),e});this._vm.$set(e,"notifications",n),this._vm.$set(e,"set",!0),e.error&&(this._vm.$set(e,"error",null),G["a"].closeAlerts(e))},setEnabled:function(e,t){this._vm.$set(e,"enabled",Boolean(t))},add:function(e,t){var n=e.notifications,i=e.queue;this._vm.$set(e,"notifications",Oe(n,t)),e.set||this._vm.$set(e,"queue",Oe(i,t))},maybeAdd:function(e,t){var n=e.notifications,i=e.queue;if(we(n,t))return!1;this._vm.$set(e,"notifications",Oe(n,t)),e.set||this._vm.$set(e,"queue",Oe(i,t))},remove:function(e,t){var n=e.notifications.findIndex(function(e){return e===t});this._vm.$delete(e.notifications,n)}}),xe={fetch:function(e){var t=this,n=e.commit;return new Promise(function(e,i){return n("loading","notifications",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/notifications/"}).then(function(t){var i=t.body,r=t.status;n("setEnabled",206!==parseInt(r,10)),n("doneLoading","notifications",{root:!0}),n("setNotifications",i),e()}).catch(function(e){n("setError",e),n("doneLoading","notifications",{root:!0}),i(e),console.error({error:e})})})},dismiss:function(e,t){var n=this,i=e.state,r=e.commit;return new Promise(function(e,a){if(t=Object(x["d"])(t),!i.enabled)return t.forEach(function(e){r("remove",e)}),e();var o=t.map(function(e){return e.id});return o.length?n._vm.$api.post({wpEndpoint:"omapp/v1/notifications/dismiss/"}).send(Object(x["d"])(o)).then(function(t){var n=t.body;r("setNotifications",n),e()}).catch(function(e){r("closeAlerts"),e.explanation="<strong>Something went wrong</strong>",r("setError",e),a(e),console.error({error:e})}):e()})},maybeCreate:function(e,t){var n=e.state,i=(e.commit,e.dispatch),r=n.notifications;if(we(r,t))return!1;i("create",t)},create:function(e,t){var n=this,i=e.commit,r=e.state;return new Promise(function(e,a){return r.enabled?n._vm.$api.post({wpEndpoint:"omapp/v1/notifications/create/"}).send(Object(x["d"])(t)).then(function(t){var n=t.body;i("setNotifications",n),e()}).catch(function(e){i("closeAlerts"),e.explanation="<strong>Something went wrong</strong>";var t=w()(e,"response.body.notifications");t&&t.length&&i("setNotifications",t),i("setError",e),a(e),console.error({error:e})}):i("add",t)})}};function Le(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Le(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Le(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ae={namespaced:!0,actions:xe,getters:{count:function(e){return e.notifications.length},has:function(e,t){return 0<t.count}},mutations:ke,state:Ce({},$,{enabled:!0,set:!1,notifications:[],queue:[]})},Se=n("1a8c"),Te=n.n(Se),De={namespaced:!0,state:{plugins:[]},getters:{byId:function(e){return function(t){return e.plugins.find(function(e){return e.id===t})}}},mutations:{setPlugins:function(e,t){this._vm.$set(e,"plugins",t)}},actions:{fetch:function(e){var t=this,n=e.commit;return new Promise(function(e,i){return n("loading","plugins",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/plugins/"}).then(function(t){var i=t.body;n("doneLoading","plugins",{root:!0}),n("setPlugins",i),e()}).catch(function(e){n("setError",e,{root:!0}),n("doneLoading","plugins",{root:!0}),i(e),console.error({error:e})})})},action:function(e,t){var n=this,i=e.commit,r=(e.dispatch,e.getters);return new Promise(function(e,a){if(t=t&&Te()(t)?t:r.byId(t),!t)return a(new Error("No plugin id provided."));if(t.installed&&t.active)return e();var o={id:t.id,url:t.url,nonce:t.installed?t.activate_nonce:t.install_nonce,installAction:t.installed?"activate":"install"},s=function(e){n._vm.$bus.$emit("pluginActionFailed",o),i("closeAlerts",null,{root:!0}),e.explanation="<strong>Something went wrong</strong>",e.payload=o,i("setError",e,{root:!0}),a(e),console.error("Could not ".concat(o.installAction," ").concat(t.name),{error:e})};return n._vm.$api.post({wpEndpoint:"omapp/v1/plugins/"}).send(o).then(function(){return e()}).catch(s)})}}};function ze(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ee(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ze(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ze(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var je={fetchProfiles:function(e,t){var n=this,i=e.state,r=e.rootGetters,a=e.commit,o=e.dispatch,s="profiles-"+t;return new Promise(function(e,c){return r.connected?r.isFetched(s)||r.isFetching(s)?e():(a("fetching",s,{root:!0}),n._vm.$api.get("analytics/".concat(t,"/profiles")).then(function(n){var r=n.body,o=Ee({},i.analyticsProfiles);o[t]=[],Object.keys(r).forEach(function(e){var n=r[e];String(n.id)===String(t)&&o[t].push({id:"".concat(n.gaId,":").concat(n.uaid),name:"".concat(n.name," (").concat(n.uaid,")")})}),a("setAnalyticsProfiles",o),a("fetched",s,{root:!0}),e()}).catch(function(e){var r=n._vm.$urls.app("integrations/#error-provider-account:analytics:".concat(t)),l=w()(i.analyticsAccounts.find(function(e){return e.id===t}),"name",t);l='<a href="'.concat(r,'" target="_blank">').concat(l,"</a>"),e.explanation="Something went wrong while fetching account profiles for <strong>".concat(l,"</strong>."),a("setError",e,{root:!0});var u=Object(G["b"])(e),d={type:"action",title:"There was an error fetching analytics profiles",content:u,btns:{main:{text:"Fix Now",url:r}}};o("notifications/maybeCreate",d,{root:!0});var p=Ee({},i.analyticsProfiles);p[t]={error:u},a("setAnalyticsProfiles",p),a("fetched",s,{root:!0}),c(e),console.error({error:e})})):e()})},fetchAnalytics:function(e){var t=this,n=e.rootGetters,i=e.commit;return i("fetching","siteAnalytics",{root:!0}),new Promise(function(e,r){return n.connected&&x["r"]?t._vm.$api.get("sites/".concat(x["r"],"/analytics-accounts")).then(function(t){var n=t.body;i("setAnalyticsAccounts",n.accounts),i("setAnalyticsProfiles",n.profiles),i("fetched","siteAnalytics",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneFetching","siteAnalytics",{root:!0}),r(e),console.error({error:e})}):(i("fetched","siteAnalytics",{root:!0}),e())})},fetchSiteSettings:function(e){var t=this,n=e.rootGetters,i=e.commit,r=e.dispatch;return i("fetching","siteSettings",{root:!0}),new Promise(function(e,a){return n.connected&&x["r"]?t._vm.$api.get("sites/".concat(x["r"],"/settings")).then(function(t){var n=t.body;i("setSiteSettings",n.settings),i("setIntegrations",n.integrations),i("setProviders",n.providers),r("fetchAnalytics"),i("fetched","siteSettings",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneFetching","siteSettings",{root:!0}),a(e),console.error({error:e})}):(i("fetched","siteSettings",{root:!0}),e())})},saveSiteSettings:function(e,t){var n=this,i=e.rootGetters,r=e.commit;return r("loading","siteSettingsSave",{root:!0}),new Promise(function(e,a){return i.connected&&x["r"]?n._vm.$api.put("sites/".concat(x["r"])).send({settings:t,from_wp:1}).then(function(n){var i=n.body;Object.keys(t).forEach(function(e){t[e]=w()(i,"settings.".concat(e),t[e])}),r("updateSiteSettings",t),r("fetched","siteSettings",{root:!0}),r("doneLoading","siteSettingsSave",{root:!0}),e()}).catch(function(e){e.explanation="Something went wrong while saving the site settings.",r("setError",e,{root:!0}),r("doneLoading","siteSettingsSave",{root:!0}),a(e),console.error({error:e})}):(r("doneLoading","siteSettingsSave",{root:!0}),e())})},fetchMiscSettings:function(e){var t=this,n=(e.rootGetters,e.commit);return n("fetching","miscSettings",{root:!0}),new Promise(function(e,i){return t._vm.$api.get({wpEndpoint:"omapp/v1/settings"}).then(function(t){var i=t.body;n("updateMiscSettings",i),n("fetched","miscSettings",{root:!0}),e()}).catch(function(e){n("setError",e,{root:!0}),n("doneFetching","miscSettings",{root:!0}),i(e),console.error({error:e})})})},saveMiscSettings:function(e,t){var n=this,i=(e.rootGetters,e.commit);return i("loading","miscSettingsSave",{root:!0}),new Promise(function(e,r){return n._vm.$api.post({wpEndpoint:"omapp/v1/settings"}).send({settings:t}).then(function(t){var n=t.body;i("updateMiscSettings",n),i("fetched","miscSettings",{root:!0}),i("doneLoading","miscSettingsSave",{root:!0}),e()}).catch(function(e){i("setError",e,{root:!0}),i("doneLoading","miscSettingsSave",{root:!0}),r(e),console.error({error:e})})})}},Pe={siteSettings:function(e){return e.siteSettings},miscSettings:function(e){return e.miscSettings},defaultIntegrationId:function(e){return e.siteSettings.defaultIntegration},hasGoogleAnalytics:function(e){return Boolean(e.siteSettings.globalAnalyticsID||e.siteSettings.globalAnalyticsProfile)},hasDefaultIntegration:function(e){return Boolean(e.siteSettings.defaultIntegration)},defaultIntegrationProvider:function(e,t){var n=Object.keys(e.integrations).find(function(n){return e.integrations[n].find(function(e){return t.defaultIntegrationId===e.id})});return n||""},providerIntegrations:function(e,t){return function(t){return w()(e,"integrations[".concat(t,"]"),[])}},accountProfiles:function(e,t){return function(t){return w()(e,"analyticsProfiles[".concat(t,"]"),[])}}},Ne={setProviders:function(e,t){this._vm.$set(e,"providers",t)},setIntegrations:function(e,t){this._vm.$set(e,"integrations",t)},setSiteSettings:function(e,t){this._vm.$set(e,"siteSettings",t)},updateSiteSettings:function(e,t){var n=e.siteSettings,i={};Object.keys(n).forEach(function(e){i[e]=w()(t,e,n[e])}),Object.keys(t).forEach(function(e){i[e]=t[e]}),this._vm.$set(e,"siteSettings",i)},updateMiscSettings:function(e,t){this._vm.$set(e,"miscSettings",t)},setAnalyticsAccounts:function(e,t){this._vm.$set(e,"analyticsAccounts",t)},setAnalyticsProfiles:function(e,t){this._vm.$set(e,"analyticsProfiles",t)}},Ye=n("9ac5"),$e={namespaced:!0,state:Ye["a"],getters:Pe,mutations:Ne,actions:je},We=n("a18c");function Be(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function qe(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Be(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Be(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ie=function(){return{settings:{tab:"general",tabs:{general:"General",site:"Site Settings",billing:"Billing",subaccounts:"Sub-Accounts",misc:"Miscellaneous"}},about:{tab:"about-us",tabs:{"about-us":"About Us","getting-started":"Getting Started","lite-pro":"Lite vs. Pro"}}}},Fe={namespaced:!0,state:Ie(),getters:{settingsTab:function(e){return e.settings.tab},settingsTabs:function(e,t,n,i){var r=e.settings.tabs;return i.connected||(delete r.billing,delete r.subaccounts),r},aboutTab:function(e,t,n,i){var r=e.about.tab;return i.showProUpsells?r:"lite-pro"===r?"about-us":r},aboutTabs:function(e,t,n,i){if(i.showProUpsells)return e.about.tabs;var r=qe({},e.about.tabs);return delete r["lite-pro"],r}},mutations:{setTab:function(e,t){var n=t.page,i=t.tab,r=Ie()[n];i=r.tabs[i]?i:r.tab,this._vm.$set(e[n],"tab",i)}},actions:{goTab:function(e,t){var n=e.commit,i=e.rootState,r=t.page,a=t.tab,o=Ie()[r],s=r+"-tab";a&&o.tab!==a||(a=o.tab,s=r),n("setTab",{page:r,tab:a});var c=We["a"].getRouteForSlug(s);c&&(w()(i,"route.name")===w()(c,"name")&&w()(i,"route.params.selectedTab")===a||We["a"].push({name:c.name,params:{selectedTab:a}}))}}};function He(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Re(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?He(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):He(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Xe={fetchTemplateData:function(e){var t=this,n=e.dispatch,i=e.commit,r=e.rootGetters,a=e.rootState;i("loading","templates",{root:!0});var o=a.apiKey,s="omTemplates"+(o?"Auth":""),c=function(e){var t=e.templates,n=e.userTypes,r=e.userRecent,a=e.popular,s=e.filters,c=e.features,l=t&&k()(t),u=s&&k()(s),d=c&&k()(c);return l&&i("templates",t),n&&k()(n)&&i("permittedTypes",n),r&&i("recentTemplates",r),a&&i("popular",a),u&&i("filterOptions",s),l&&u&&(d||!o)},l={},u=function(e){return sessionStorage.setItem(s,JSON.stringify(e))},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];c(e),l=Re({},l,{},e),t&&u(l)};return o||sessionStorage.removeItem("omTemplatesAuth"),new Promise(function(e,a){var l=function(){i("doneLoading","templates",{root:!0}),e()},u=sessionStorage.getItem(s);if(u&&c(JSON.parse(u)))return l();var p=function(e){e.explanation="Something went wrong while fetching template data.",i("setError",e),i("doneLoading","templates",{root:!0}),console.error({err:e}),a(e)},f=function(e){var t=e.body;if(t&&k()(t)&&d({filters:t},!o),!r.userId){var i=Object(x["l"])("features");if((!i||!k()(i))&&o)return n("fetchMe",{},{root:!0}).then(l)}return l()},h=function(e){var n=e.body;Te()(n)&&d(n),t._vm.$api.get("templates/filters").then(f)};t._vm.$api.get("user-templates").then(h).catch(p)})},goToFilteredView:function(e,t){var n=e.commit,i=t.type,r=t.push,a=void 0===r||r;n("setActiveType",i),We["a"][a?"push":"replace"]({name:"template-type",params:{type:i}})}},Ve={hasGamified:function(e,t,n,i){return i.hasFeature("gamified-wheel-element")},typePermitted:function(e,t){return function(n){return"gamified"===n?t.hasGamified:e.permittedTypes.includes(n)}},validType:function(e){return Boolean(w()(e.types,e.activeType,!1))},featured:function(e){var t=e.templates.filter(function(e){return e.tags.find(function(e){return"Featured"===e.name})}),n={};return Object.keys(e.types).forEach(function(e){n[e]=[]}),t.forEach(function(e){n[e.type].push(e)}),n},filterGamified:function(e){return"gamified"===e.activeType},filters:function(e,t){var n={};return Object.keys(e.filters).forEach(function(t){n[t]=k()(e.filters[t])?Object(ge["a"])(e.filters[t]):e.filters[t]}),t.filterGamified&&(n.tags.includes(1)||n.tags.push(1)),n},typeNames:function(e){var t={};return Object.keys(e.types).forEach(function(n){t[n]=e.types[n].name}),t},typeCount:function(e,t){return Object.keys(t.typeNames).length}};function Ue(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ge(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ue(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ue(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Ke=function(e,t){var n={};return Object.keys(t.types).forEach(function(i){n[i]=t.templates.filter(function(t){return e[i]&&e[i].includes(t.id)})}),n},Je=Ge({},G["a"],{setActiveType:function(e,t){e.activeType=t},setActiveTemplate:function(e,t){e.activeTemplate=t},filterOptions:function(e,t){this._vm.$set(e,"filterOptions",t.filter(function(e){return w()(e,"values",[]).length}))},setFilter:function(e,t){this._vm.$set(e.filters,t.filter,t.value),"tags"!==t.filter||"gamified"!==e.activeType||t.value.includes(1)||(e.activeType="popup")},appliedFilters:function(e,t){e.filters.goals=t.goals,e.filters.categories=t.categories,e.filters.tags=t.tags},clearFilters:function(e){e.filters.goals=[],e.filters.categories=[],e.filters.tags=[]},setSearch:function(e,t){t&&(e.sort="recent"),e.search=t},setSort:function(e,t){e.sort=t},setLoadingPreview:function(e,t){e.loadingPreview=t},setPreviewing:function(e,t){e.previewing=t},apiLoaded:function(e){e.apiLoaded=!0},permittedTypes:function(e,t){var n=Object(ge["a"])(t).map(function(e){switch(e){case"lightbox":return"popup";case"post":return"inline";case"footer":return"floating";case"full-page-takeover":return"fullscreen";default:return e}});this._vm.$set(e,"permittedTypes",n)},popular:function(e,t){this._vm.$set(e,"popular",Ke(Ge({},t),e))},recentTemplates:function(e,t){this._vm.$set(e,"recentTemplates",Ke(Ge({},t),e))},templates:function(e,t){this._vm.$set(e,"templates",Object(ge["a"])(t))}});function Qe(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Ze(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Qe(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Qe(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var et={popup:{feature:!1,name:"Popup"},floating:{videoUrl:"https://www.youtube.com/embed/6OBk0GnfMi0",feature:"floating-bar",name:"Floating Bar"},fullscreen:{videoUrl:"https://www.youtube.com/embed/eLJ1oNVC5dA",feature:"fullscreen",name:"Fullscreen"},inline:{videoUrl:"https://www.youtube.com/embed/G2nmRV4tU7A",feature:"inline",name:"Inline"},slide:{videoUrl:"https://www.youtube.com/embed/Mr7UkNZJ1lA",feature:"slide-in",name:"Slide-in"},gamified:{videoUrl:"https://www.youtube.com/embed/EBQ50TVaVCk",feature:"coupon-wheel-campaigns",name:"Gamified"}},tt={},nt={};Object.keys(et).forEach(function(e){tt[e]=[],nt[e]=[]});var it=Ze({},$,{activeType:"popup",activeTemplate:{},loadingPreview:"",previewing:"",sort:"recent",search:"",apiLoaded:!1,filterOptions:[[{slug:"device",values:[]}],[{slug:"categories",values:[]}],[{slug:"goals",values:[]}],[{slug:"tags",values:[]}]],filters:{device:"desktop",categories:[],goals:[],tags:[]},permittedTypes:[],templates:[],popular:nt,recentTemplates:tt,types:et}),rt={namespaced:!0,actions:Xe,getters:Ve,mutations:Je,state:it},at=function(){return{step:0,forward:!0,complete:!1,extraFeatures:["google-analytics","social-proof"]}},ot=at(),st=ot,ct=n("06ef"),lt={getUsage:function(e,t){return function(e){return ct["d"].find(function(t){return e===t.slug})}},getGoal:function(e,t){return function(e){return ct["c"].find(function(t){return e===t.slug})}},goalDescription:function(e,t,n,i){var r=t.getGoal(i.onboardingGoal);return r&&r.title?r.title:""},featureMap:function(){return ct["b"]},getFeature:function(e,t){return function(e){return ct["b"].find(function(t){return e===t.slug})}},features:function(e,t){return e.extraFeatures.map(function(e){return t.getFeature(e)})},proFeatures:function(e,t){return t.features.filter(function(e){return!e.plugin})},getFeatureProp:function(e,t){return function(e,n){var i=t.getFeature(e);return!!i&&i[n]}},inExtraFeatures:function(e,t){return function(t){return e.extraFeatures&&-1!==e.extraFeatures.indexOf(t)}}},ut={setStep:function(e,t){var n=t>e.step;this._vm.$set(e,"step",t),this._vm.$set(e,"forward",n)},complete:function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];this._vm.$set(e,"complete",Boolean(t))},extraFeatures:function(e,t){var n=[];n=-1===e.extraFeatures.indexOf(t)?[].concat(Object(ge["a"])(e.extraFeatures),[t]):Object(ge["a"])(e.extraFeatures.filter(function(e){return e!==t})),this._vm.$set(e,"extraFeatures",n)},resetState:function(e,t){Object.assign(e,t)}},dt=ut,pt=(n("4917"),{skip:function(e){var t=e.commit,n=e.state,i=n.forward,r=n.step;i?r++:r--,t("setStep",r)},setStep:function(e,t){var n=e.commit,i=(e.state,e.rootState);if(4<t&&!i.apiKey)return!1;n("setStep",t)},maybeGoBack:function(e){var t=e.dispatch,n=e.state,i=e.rootState;!i.apiKey&&4<n.step&&t("setStep",4)},exit:function(e,t){var n,i=e.dispatch,r=e.rootState;if(r.apiKey&&i("complete"),"previous"===t&&(t=We["a"].getPreviousRoute()),t.name){var a=We["a"].matcher.match(t);n=a.fullPath||a.path}window.location.href=n||"?page=optin-monster-dashboard"},complete:function(e){var t=this,n=e.commit,i=e.dispatch,r=e.state,a=e.getters;if(a.proFeatures&&a.proFeatures.length&&!r.complete){var o=function(e){return t._vm.$urls.upgrade({utm_medium:"WizardFollowUpNotification"},e)},s=a.proFeatures.map(function(e){return'<a href="'.concat(o(e.slug),'" target="_blank" rel="noopener">').concat(e.title,"</a>")}),c={type:"action",title:"Action required!",content:"To receive the requested features (".concat(s.join(", "),"), you will need to upgrade to Pro."),btns:{main:{text:"Upgrade Now & Save 35%",url:o(a.proFeatures.map(function(e){return e.slug}))}}};i("notifications/maybeCreate",c,{root:!0}),n("complete")}},resetState:function(e){var t=e.commit;e.state;t("resetState",at())}}),ft=pt,ht={namespaced:!0,state:st,getters:lt,mutations:dt,actions:ft},mt=function(){return{taxonomies:{},config:{hasMailPoet:!1,isWooActive:null,isWooConnected:null,mailPoetLists:[],mailPoetFields:[]},posts:[],postTypes:[],campaigns:[],search:"",wooKey:{id:"",description:"",truncated:"",editUrl:""}}},vt=mt(),gt=vt,bt={fetchWpResources:function(e,t){var n=this,i=e.commit,r=e.dispatch,a=(e.state,e.rootGetters),o=t.exclude,s=void 0===o?[]:o,c="omapp/v1/resources",l="";a.isFetched("wpResources")||(l=x["o"].add("refresh",1,l)),s.length&&(l=x["o"].add("exclude",s.join(","),l)),l.length&&(c+="?"+l);var u=s.includes("campaigns");return i("fetching","wpResources",{root:!0}),new Promise(function(e,t){return n._vm.$api.get({wpEndpoint:c,cached:!1}).then(function(t){var a=t.body;i("fetched","wpResources",{root:!0}),u||(r("campaigns/updateCampaignsWithWpData",a.campaigns,{root:!0}),i("setWpCampaigns",a.campaigns)),i("setWpTaxonomies",a.taxonomies),i("setWpConfig",a.config),i("setWpPosts",a.posts),i("setWpPostTypes",a.post_types),n._vm.$bus.$emit("fetchedWpResources",a),e(a)}).catch(function(e){e.explanation="Something went wrong while fetching WordPress resources.",i("setError",e,{root:!0}),t(e),console.error({error:e})})})},autogenerateWooCreds:function(e){e.commit;var t=e.dispatch;return t("saveWooCreds",{auto:!0})},saveWooCreds:function(e,t){var n=this,i=e.commit,r=t.key,a=t.secret,o=t.auto,s=void 0!==o&&o;return i("loading","wooconnect",{root:!0}),new Promise(function(e,t){n._vm.$api.post({wpEndpoint:"omapp/v1/woocommerce/".concat(s?"autogenerate":"save")}).send({key:r,secret:a}).then(function(t){var r=t.body;i("doneLoading","wooconnect",{root:!0}),i("fetched","wooKey",{root:!0}),i("setWooConnected",Boolean(r.id)),i("setWooKey",r),n._vm.$bus.$emit("wooKeyFetched",r),e()}).catch(function(e){i("closeAlerts",null,{root:!0}),i("setWooConnected",!1),e.explanation="<strong>Something went wrong while attempting to ".concat(s?"autogenerate":"save"," the WooCommerce Keys.</strong>"),n.$env.isEnv("development","dev")&&(e.explanation+="<p>This is likely because you are in the <code>DEVELOPMENT</code> environment, and cookies could not be passed to the auto-generation request.</p>"),i("setError",e,{root:!0}),i("doneLoading","wooconnect",{root:!0}),t(e),console.error({error:e})})})},disconnectWoo:function(e){var t=this,n=e.commit;e.dispatch;return n("loading","wooconnect",{root:!0}),new Promise(function(e,i){return t._vm.$api.post({wpEndpoint:"omapp/v1/woocommerce/disconnect"}).then(function(){n("setWooConnected",!1),n("setWooKey",mt().wooKey),n("doneLoading","wooconnect",{root:!0}),t._vm.$bus.$emit("wooKeyRemoved"),e()}).catch(function(e){n("closeAlerts",null,{root:!0}),e.explanation="<strong>Something went wrong while attempting to disconnect WooCommerce.</strong>",n("setError",e,{root:!0}),n("doneLoading","wooconnect",{root:!0}),i(e),console.error({error:e})})})},fetchWooKey:function(e){var t=this,n=e.getters,i=e.commit,r=e.rootGetters,a=arguments.length>1&&void 0!==arguments[1]&&arguments[1];if(n.isWooConnected)return new Promise(function(e,n){return a||!r.isFetched("wooKey")&&!r.isFetching("wooKey")?(i("fetching","wooKey",{root:!0}),t._vm.$api.get({wpEndpoint:"omapp/v1/woocommerce/key"}).then(function(n){var r=n.body;i("fetched","wooKey",{root:!0}),i("setWooConnected",Boolean(r.id)),i("setWooKey",r),t._vm.$bus.$emit("wooKeyFetched",r),e()}).catch(function(e){e.explanation="<strong>Something went wrong while attempting to disconnect WooCommerce.</strong>",n(e),console.error({error:e})})):e()})}},_t={namespaced:!0,state:gt,getters:{hasMailPoet:function(e){return null!==e.config.hasMailPoet?e.config.hasMailPoet:Object(x["l"])("hasMailPoet")},mailPoetLists:function(e){return e.config.mailPoetLists.length?e.config.mailPoetLists:Object(x["l"])("mailPoetLists")},mailPoetFields:function(e){return e.config.mailPoetFields.length?e.config.mailPoetFields:Object(x["l"])("mailPoetFields")},wooKey:function(e){return e.wooKey.id?e.wooKey:Object(x["l"])("wooKey",e.wooKey)},isWooActive:function(e){return null!==e.config.isWooActive?e.config.isWooActive:Object(x["l"])("isWooActive")},isWooConnected:function(e){return null!==e.config.isWooConnected?e.config.isWooConnected:Object(x["l"])("isWooConnected")}},mutations:{setWooKey:function(e,t){e.wooKey=t},setWpCampaigns:function(e,t){k()(t)&&(e.campaigns=t)},setWpTaxonomies:function(e,t){Te()(t)&&(e.taxonomies=t)},setWooConnected:function(e,t){e.config.isWooConnected=t},setWpConfig:function(e,t){Te()(t)&&(e.config=t)},setWpPosts:function(e,t){k()(t)&&(e.posts=t)},setWpPostTypes:function(e,t){k()(t)&&(e.postTypes=t)}},actions:bt},yt={campaigns:te,dashboard:le,monsterleads:ve,notifications:Ae,plugins:De,settings:$e,tabs:Fe,templates:rt,wizard:ht,wp:_t},Mt=n("ed2e"),wt=n("0f0f"),Ot=n("2e63");function kt(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function xt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kt(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kt(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var Lt=[Object(wt["a"])("userFirstName",""),Object(wt["a"])("userLastName","")].filter(function(e){return Boolean(e&&String(e).trim())}).join(" "),Ct=function(){return{id:0,email:Object(wt["a"])("userEmail",""),name:Lt||"",firstName:Object(wt["a"])("userFirstName",""),lastName:Object(wt["a"])("userLastName",""),phone:"",company:"",industry:"",company_size:"",address:{address1:"",address2:"",city:"",state:"",zip:"",country:""},created:0,updated:0,plan:"",lastLogin:0,role:"",status:"",default_site:0,permissions:[],beta:{enabled:!1},completion:0,accountId:0,accountUserId:0,accountEmail:"",accountName:"",accountActive:!1,accountEnabled:!1,integrations:[],features:[],ruleTypes:[],campaignTypes:[],legacyUser:!1,hasShopify:!1,hasWooCommerce:!1,hasBigCommerce:!1,inBeta:!1,level:"",currentLevel:"",planVersion:"",userStatus:"",topTier:!1,hasLiveChat:!1,isAmTeam:!1,hasPrioritySupport:!1,onboarding:{via:"",usage:"",usage_other_text:"",email_list:null,email_service:"",email_service_other_text:"",goal:[]}}},At=xt({},$,{bannerTitle:"",loading:[],fetched:[],fetching:[],user:Ct(),apiKey:Object(Mt["g"])(),queryArgs:Ot["a"].parse()});function St(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function Tt(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?St(n,!0).forEach(function(t){Object(A["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):St(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Dt(e,t,n){var i=e[n];-1===i.indexOf(t)&&i.push(t),this._vm.$set(e,n,i)}var zt=Tt({},G["a"],{setBannerTitle:function(e,t){this._vm.$set(e,"bannerTitle",t)},loading:function(e,t){if(!t)return this._vm.$set(e,"loading",[]);Dt.call(this,e,t,"loading")},fetching:function(e,t){Dt.call(this,e,t,"fetching")},fetched:function(e,t){var n=e.fetching,i=n.indexOf(t);-1!==i&&(n.splice(i,1),this._vm.$set(e,"fetching",n)),Dt.call(this,e,t,"fetched")},doneFetching:function(e,t){var n=e.fetching;if(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1)}else n=[];this._vm.$set(e,"fetching",n)},doneLoading:function(e,t){var n=e.loading;if(t){var i=n.indexOf(t);-1!==i&&n.splice(i,1)}else n=[];this._vm.$set(e,"loading",n)},resetUser:function(e){this._vm.$set(e,"user",Ct())},setUser:function(e,t){if(!e.user.id){var n=Tt({},w()(e,"user.onboarding",{})),i=w()(t,"onboarding",{});Te()(i)||(i={}),Object.keys(n).forEach(function(e){e in i||(i[e]=n[e])}),U()(t,"onboarding",i)}this._vm.$set(e,"user",t)},setUserAttribute:function(e,t){var n=t.key,i=t.value,r=Tt({},e.user),a=w()(r,n);if(k()(a)){var o=[];o=-1===a.indexOf(i)?[].concat(Object(ge["a"])(a),[i]):Object(ge["a"])(a.filter(function(e){return e!==i})),i=o}U()(r,n,i),this._vm.$set(e,"user",r)},setApiKey:function(e,t){x["c"].set("key",t),this._vm.$set(e,"apiKey",t)}}),Et=n("a8db"),jt=["templates.activeType","templates.filterOptions"],Pt=["wizard","plugins","dashboard.dismissedWelcomeBack"],Nt=["user.onboarding"].concat(Pt,jt),Yt=function(){var e=At.user,t=(e.created,e.updated,e.email,e.name,e.firstName,e.lastName,Object(Et["a"])(e,["created","updated","email","name","firstName","lastName"])),n=Object.keys(t).map(function(e){return"user.".concat(e)});jt.push("templates.permittedTypes");var i=[].concat(Pt,jt,Object(ge["a"])(n));return i},$t={key:Mt["c"].key,paths:Object(Mt["g"])()?Yt():Nt};i["default"].use(r["b"]);var Wt=new r["b"].Store({actions:L,getters:N,modules:yt,mutations:zt,state:At,plugins:[y($t)]});t["a"]=Wt},"43e9":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{ref:"drawer",staticClass:"om-notifications",class:e.show?"om-drawer-open":"om-drawer-closed"},[n("transition",{attrs:{name:"notifications-fade"}},[e.show?n("div",{staticClass:"overlay",style:e.overlayStyle,on:{click:e.toggleNotifications}}):e._e()]),n("transition",{attrs:{name:"notifications-slide"}},[e.show?n("div",{staticClass:"drawer",style:e.drawerStyle},[n("div",{staticClass:"omapi-card-title capital"},[e._v(e._s(e.title))]),n("notifications-list",{staticClass:"omapi-card-content",attrs:{notificationsToShow:e.notifications,inDrawer:!0},on:{remove:e.remove,clicked:e.toggleNotifications}})],1):e._e()])],1)},r=[],a=n("3a08"),o={mixins:[a["a"]],props:{show:{type:Boolean,default:function(){return!1}}},mounted:function(){document.addEventListener("keydown",this.escapeListener),document.addEventListener("click",this.documentClick)},watch:{show:function(e){e?this.addBodyClass():this.removeBodyClass()},notifications:function(e,t){!e.length&&t.length&&this.show&&this.toggleNotifications()}},computed:{overlayStyle:function(){var e=document.getElementById("adminmenuback").offsetWidth+"px",t=document.getElementById("wpadminbar").offsetHeight;return t+=document.querySelector(".omapi-plugin-header").offsetHeight,t+="px",{top:t,left:e}},drawerStyle:function(){var e=this.overlayStyle.top;return{top:e}},dismissBtn:function(){return this.hasNotifications?"Dismiss All":"Close"}},methods:{toggleNotifications:function(){this.$bus.$emit("notificationsToggle")},escapeListener:function(e){"Escape"===e.key&&this.show&&this.toggleNotifications()},addBodyClass:function(){document.body.classList.add("om-show-notifications")},removeBodyClass:function(){document.body.classList.remove("om-show-notifications")},documentClick:function(e){if(this.show){var t=e&&e.target?e.target:null,n=this.$refs.drawer,i=document.getElementById("om-notifications-trigger");!n||n===t||n.contains(t)||n===i||i.contains(t)||this.toggleNotifications()}}}},s=o,c=(n("76c2"),n("f65a"),n("2877")),l=Object(c["a"])(s,i,r,!1,null,"7a30d148",null);t["default"]=l.exports},"43fc":function(e,t,n){"use strict";var i=n("63b6"),r=n("656e"),a=n("4439");i(i.S,"Promise",{try:function(e){var t=r.f(this),n=a(e);return(n.e?t.reject:t.resolve)(n.v),t.promise}})},"440c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
98
  //! moment.js locale configuration
99
  function t(e,t,n,i){var r={m:["eng Minutt","enger Minutt"],h:["eng Stonn","enger Stonn"],d:["een Dag","engem Dag"],M:["ee Mount","engem Mount"],y:["ee Joer","engem Joer"]};return t?r[n][0]:r[n][1]}function n(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"a "+e:"an "+e}function i(e){var t=e.substr(0,e.indexOf(" "));return r(t)?"viru "+e:"virun "+e}function r(e){if(e=parseInt(e,10),isNaN(e))return!1;if(e<0)return!0;if(e<10)return 4<=e&&e<=7;if(e<100){var t=e%10,n=e/10;return r(0===t?n:t)}if(e<1e4){while(e>=10)e/=10;return r(e)}return e/=1e3,r(e)}var a=e.defineLocale("lb",{months:"Januar_Februar_Mäerz_Abrëll_Mee_Juni_Juli_August_September_Oktober_November_Dezember".split("_"),monthsShort:"Jan._Febr._Mrz._Abr._Mee_Jun._Jul._Aug._Sept._Okt._Nov._Dez.".split("_"),monthsParseExact:!0,weekdays:"Sonndeg_Méindeg_Dënschdeg_Mëttwoch_Donneschdeg_Freideg_Samschdeg".split("_"),weekdaysShort:"So._Mé._Dë._Më._Do._Fr._Sa.".split("_"),weekdaysMin:"So_Mé_Dë_Më_Do_Fr_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"H:mm [Auer]",LTS:"H:mm:ss [Auer]",L:"DD.MM.YYYY",LL:"D. MMMM YYYY",LLL:"D. MMMM YYYY H:mm [Auer]",LLLL:"dddd, D. MMMM YYYY H:mm [Auer]"},calendar:{sameDay:"[Haut um] LT",sameElse:"L",nextDay:"[Muer um] LT",nextWeek:"dddd [um] LT",lastDay:"[Gëschter um] LT",lastWeek:function(){switch(this.day()){case 2:case 4:return"[Leschten] dddd [um] LT";default:return"[Leschte] dddd [um] LT"}}},relativeTime:{future:n,past:i,s:"e puer Sekonnen",ss:"%d Sekonnen",m:t,mm:"%d Minutten",h:t,hh:"%d Stonnen",d:t,dd:"%d Deeg",M:t,MM:"%d Méint",y:t,yy:"%d Joer"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return a})},4416:function(e,t){function n(e){var t=null==e?0:e.length;return t?e[t-1]:void 0}e.exports=n},4439:function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},4527:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-form-fancy-select-input",e._g(e._b({attrs:{multiple:!0,options:e.options,value:e.value}},"core-form-fancy-select-input",e.$attrs,!1),e.$listeners))},r=[],a={inheritAttrs:!1,props:{options:{type:Array,required:!0},value:Array}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"454f":function(e,t,n){n("46a7");var i=n("584a").Object;e.exports=function(e,t,n){return i.defineProperty(e,t,n)}},"456d":function(e,t,n){var i=n("4bf8"),r=n("0d58");n("5edaf")("keys",function(){return function(e){return r(i(e))}})},4588:function(e,t){var n=Math.ceil,i=Math.floor;e.exports=function(e){return isNaN(e=+e)?0:(e>0?i:n)(e)}},"45bc":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{"aria-hidden":"true",focusable:"false","data-prefix":"fas","data-icon":"times",role:"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 352 512"},on:{click:function(t){return e.$emit("click")}}},[n("path",{attrs:{fill:"currentColor",d:"M242.72 256l100.07-100.07c12.28-12.28 12.28-32.19 0-44.48l-22.24-22.24c-12.28-12.28-32.19-12.28-44.48 0L176 189.28 75.93 89.21c-12.28-12.28-32.19-12.28-44.48 0L9.21 111.45c-12.28 12.28-12.28 32.19 0 44.48L109.28 256 9.21 356.07c-12.28 12.28-12.28 32.19 0 44.48l22.24 22.24c12.28 12.28 32.2 12.28 44.48 0L176 322.72l100.07 100.07c12.28 12.28 32.2 12.28 44.48 0l22.24-22.24c12.28-12.28 12.28-32.19 0-44.48L242.72 256z"},on:{click:function(t){return e.$emit("click")}}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"45f2":function(e,t,n){var i=n("d9f6").f,r=n("07e3"),a=n("5168")("toStringTag");e.exports=function(e,t,n){e&&!r(e=n?e:e.prototype,a)&&i(e,a,{configurable:!0,value:t})}},4630:function(e,t){e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4678:function(e,t,n){var i={"./af":"2bfb","./af.js":"2bfb","./ar":"8e73","./ar-dz":"a356","./ar-dz.js":"a356","./ar-kw":"423e","./ar-kw.js":"423e","./ar-ly":"1cfd","./ar-ly.js":"1cfd","./ar-ma":"0a84","./ar-ma.js":"0a84","./ar-sa":"8230","./ar-sa.js":"8230","./ar-tn":"6d83","./ar-tn.js":"6d83","./ar.js":"8e73","./az":"485c","./az.js":"485c","./be":"1fc1","./be.js":"1fc1","./bg":"84aa","./bg.js":"84aa","./bm":"a7fa","./bm.js":"a7fa","./bn":"9043","./bn.js":"9043","./bo":"d26a","./bo.js":"d26a","./br":"6887","./br.js":"6887","./bs":"2554","./bs.js":"2554","./ca":"d716","./ca.js":"d716","./cs":"3c0d","./cs.js":"3c0d","./cv":"03ec","./cv.js":"03ec","./cy":"9797","./cy.js":"9797","./da":"0f14","./da.js":"0f14","./de":"b469","./de-at":"b3eb","./de-at.js":"b3eb","./de-ch":"bb71","./de-ch.js":"bb71","./de.js":"b469","./dv":"598a","./dv.js":"598a","./el":"8d47","./el.js":"8d47","./en-au":"0e6b","./en-au.js":"0e6b","./en-ca":"3886","./en-ca.js":"3886","./en-gb":"39a6","./en-gb.js":"39a6","./en-ie":"e1d3","./en-ie.js":"e1d3","./en-il":"7333","./en-il.js":"7333","./en-in":"ec2e","./en-in.js":"ec2e","./en-nz":"6f50","./en-nz.js":"6f50","./en-sg":"b7e9","./en-sg.js":"b7e9","./eo":"65db","./eo.js":"65db","./es":"898b","./es-do":"0a3c","./es-do.js":"0a3c","./es-us":"55c9","./es-us.js":"55c9","./es.js":"898b","./et":"ec18","./et.js":"ec18","./eu":"0ff2","./eu.js":"0ff2","./fa":"8df4","./fa.js":"8df4","./fi":"81e9","./fi.js":"81e9","./fil":"d69a","./fil.js":"d69a","./fo":"0721","./fo.js":"0721","./fr":"9f26","./fr-ca":"d9f8","./fr-ca.js":"d9f8","./fr-ch":"0e49","./fr-ch.js":"0e49","./fr.js":"9f26","./fy":"7118","./fy.js":"7118","./ga":"5120","./ga.js":"5120","./gd":"f6b4","./gd.js":"f6b4","./gl":"8840","./gl.js":"8840","./gom-deva":"aaf2","./gom-deva.js":"aaf2","./gom-latn":"0caa","./gom-latn.js":"0caa","./gu":"e0c5","./gu.js":"e0c5","./he":"c7aa","./he.js":"c7aa","./hi":"dc4d","./hi.js":"dc4d","./hr":"4ba9","./hr.js":"4ba9","./hu":"5b14","./hu.js":"5b14","./hy-am":"d6b6","./hy-am.js":"d6b6","./id":"5038","./id.js":"5038","./is":"0558","./is.js":"0558","./it":"6e98","./it-ch":"6f12","./it-ch.js":"6f12","./it.js":"6e98","./ja":"079e","./ja.js":"079e","./jv":"b540","./jv.js":"b540","./ka":"201b","./ka.js":"201b","./kk":"6d79","./kk.js":"6d79","./km":"e81d","./km.js":"e81d","./kn":"3e92","./kn.js":"3e92","./ko":"22f8","./ko.js":"22f8","./ku":"2421","./ku.js":"2421","./ky":"9609","./ky.js":"9609","./lb":"440c","./lb.js":"440c","./lo":"b29d","./lo.js":"b29d","./lt":"26f9","./lt.js":"26f9","./lv":"b97c","./lv.js":"b97c","./me":"293c","./me.js":"293c","./mi":"688b","./mi.js":"688b","./mk":"6909","./mk.js":"6909","./ml":"02fb","./ml.js":"02fb","./mn":"958b","./mn.js":"958b","./mr":"39bd","./mr.js":"39bd","./ms":"ebe4","./ms-my":"6403","./ms-my.js":"6403","./ms.js":"ebe4","./mt":"1b45","./mt.js":"1b45","./my":"8689","./my.js":"8689","./nb":"6ce3","./nb.js":"6ce3","./ne":"3a39","./ne.js":"3a39","./nl":"facd","./nl-be":"db29","./nl-be.js":"db29","./nl.js":"facd","./nn":"b84c","./nn.js":"b84c","./oc-lnc":"167b","./oc-lnc.js":"167b","./pa-in":"f3ff","./pa-in.js":"f3ff","./pl":"8d57","./pl.js":"8d57","./pt":"f260","./pt-br":"d2d4","./pt-br.js":"d2d4","./pt.js":"f260","./ro":"972c","./ro.js":"972c","./ru":"957c","./ru.js":"957c","./sd":"6784","./sd.js":"6784","./se":"ffff","./se.js":"ffff","./si":"eda5","./si.js":"eda5","./sk":"7be6","./sk.js":"7be6","./sl":"8155","./sl.js":"8155","./sq":"c8f3","./sq.js":"c8f3","./sr":"cf1e","./sr-cyrl":"13e9","./sr-cyrl.js":"13e9","./sr.js":"cf1e","./ss":"52bd","./ss.js":"52bd","./sv":"5fbd","./sv.js":"5fbd","./sw":"74dc","./sw.js":"74dc","./ta":"3de5","./ta.js":"3de5","./te":"5cbb","./te.js":"5cbb","./tet":"576c","./tet.js":"576c","./tg":"3b1b","./tg.js":"3b1b","./th":"10e8","./th.js":"10e8","./tk":"5aff","./tk.js":"5aff","./tl-ph":"0f38","./tl-ph.js":"0f38","./tlh":"cf75","./tlh.js":"cf75","./tr":"0e81","./tr.js":"0e81","./tzl":"cf51","./tzl.js":"cf51","./tzm":"c109","./tzm-latn":"b53d","./tzm-latn.js":"b53d","./tzm.js":"c109","./ug-cn":"6117","./ug-cn.js":"6117","./uk":"ada2","./uk.js":"ada2","./ur":"5294","./ur.js":"5294","./uz":"2e8c","./uz-latn":"010e","./uz-latn.js":"010e","./uz.js":"2e8c","./vi":"2921","./vi.js":"2921","./x-pseudo":"fd7e","./x-pseudo.js":"fd7e","./yo":"7f33","./yo.js":"7f33","./zh-cn":"5c3a","./zh-cn.js":"5c3a","./zh-hk":"49ab","./zh-hk.js":"49ab","./zh-mo":"3a6c","./zh-mo.js":"3a6c","./zh-tw":"90ea","./zh-tw.js":"90ea"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="4678"},"469f":function(e,t,n){n("6c1c"),n("1654"),e.exports=n("7d7b")},"46a7":function(e,t,n){var i=n("63b6");i(i.S+i.F*!n("8e60"),"Object",{defineProperty:n("d9f6").f})},4723:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"omapi-input__multiselect"},[e.label?i("label",[e._v(e._s(e.label))]):e._e(),i("multiselect",e._b({ref:"multiselect",class:{"multiselect__has-value":e.hasValue,"multiselect__is-loading":e.loading,multiselect__nooptions:!e.options.length},attrs:{value:e.optionValue,options:e.options,multiple:e.multiple,loading:e.loading,placeholder:e.searchPlaceholder,showLabels:!1,openDirection:"bottom",label:e.optionsLabelField,"track-by":"value"},on:{input:e.setValue},scopedSlots:e._u([{key:"placeholder",fn:function(){return[e._v(e._s(e.placeholder))]},proxy:!0},{key:"clear",fn:function(){return[i("div",{directives:[{name:"show",rawName:"v-show",value:e.hasValue,expression:"hasValue"}],staticClass:"omapi-input__multiselect-close-all",on:{click:e.clear}},[i("img",{attrs:{src:n("68d4"),alt:"Clear Select"}})])]},proxy:!0},{key:"noOptions",fn:function(){return[e._t("noOptions",[e._v("List is empty.")])]},proxy:!0},{key:"afterList",fn:function(){return[e._t("afterList")]},proxy:!0}],null,!0)},"multiselect",e.$attrs,!1))],1)},r=[],a=(n("6762"),n("2fdb"),n("c5f6"),n("9b02")),o=n.n(a),s=n("8e5f"),c=n.n(s),l={inheritAttrs:!1,components:{Multiselect:c.a},props:{label:{type:String,default:""},placeholder:{type:String,default:"Type to search..."},searchPlaceholder:{type:String,default:""},options:{type:Array,required:!0},multiple:{type:Boolean,default:!1},loading:{type:Boolean,default:!1},value:[Array,String,Number,Object],optionsLabelField:{type:String,default:"name"}},computed:{optionValue:function(){var e=this,t=this.value?this.options.filter(function(t){return e.selected(t.value)}):[];return t},hasValue:function(){return this.optionValue.length}},methods:{selected:function(e){var t=this.multiple?this.value:this.$get("value.value",this.value);return this.multiple?t.includes(e):t===e},setValue:function(e){e=this.multiple?e.map(function(e){return e.value}):o()(e,"value",e||""),this.$emit("input",e,this.$attrs)},clear:function(){this.$emit("input",this.multiple?[]:"",this.$attrs)}}},u=l,d=(n("60bc"),n("b89f"),n("2877")),p=Object(d["a"])(u,i,r,!1,null,null,null);t["default"]=p.exports},4726:function(e,t,n){e.exports=function(e){var t={};function n(i){if(t[i])return t[i].exports;var r=t[i]={i:i,l:!1,exports:{}};return e[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}return n.m=e,n.c=t,n.d=function(e,t,i){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:i})},n.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var i=Object.create(null);if(n.r(i),Object.defineProperty(i,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var r in e)n.d(i,r,function(t){return e[t]}.bind(null,r));return i},n.n=function(e){var t=e&&e.__esModule?function(){return e["default"]}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="/dist/",n(n.s=59)}({0:function(e,t,n){"use strict";function i(e,t,n,i,r,a,o,s){var c,l="function"===typeof e?e.options:e;if(t&&(l.render=t,l.staticRenderFns=n,l._compiled=!0),i&&(l.functional=!0),a&&(l._scopeId="data-v-"+a),o?(c=function(e){e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,e||"undefined"===typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),r&&r.call(this,e),e&&e._registeredComponents&&e._registeredComponents.add(o)},l._ssrRegister=c):r&&(c=s?function(){r.call(this,this.$root.$options.shadowRoot)}:r),c)if(l.functional){l._injectStyles=c;var u=l.render;l.render=function(e,t){return c.call(t),u(e,t)}}else{var d=l.beforeCreate;l.beforeCreate=d?[].concat(d,c):[c]}return{exports:e,options:l}}n.d(t,"a",function(){return i})},14:function(e,t){e.exports=n("14e9")},18:function(e,t){e.exports=n("dcdc")},21:function(e,t){e.exports=n("d397")},26:function(e,t){e.exports=n("92fa")},3:function(e,t){e.exports=n("8122")},31:function(e,t){e.exports=n("2a5e")},32:function(e,t){e.exports=n("e452")},51:function(e,t){e.exports=n("f494")},59:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{class:["el-cascader-panel",e.border&&"is-bordered"],on:{keydown:e.handleKeyDown}},e._l(e.menus,function(e,t){return n("cascader-menu",{key:t,ref:"menu",refInFor:!0,attrs:{index:t,nodes:e}})}),1)},r=[];i._withStripped=!0;var a,o,s=n(26),c=n.n(s),l=n(14),u=n.n(l),d=n(18),p=n.n(d),f=n(51),h=n.n(f),m=n(3),v=function(e){return e.stopPropagation()},g={inject:["panel"],components:{ElCheckbox:p.a,ElRadio:h.a},props:{node:{required:!0},nodeId:String},computed:{config:function(){return this.panel.config},isLeaf:function(){return this.node.isLeaf},isDisabled:function(){return this.node.isDisabled},checkedValue:function(){return this.panel.checkedValue},isChecked:function(){return this.node.isSameNode(this.checkedValue)},inActivePath:function(){return this.isInPath(this.panel.activePath)},inCheckedPath:function(){var e=this;return!!this.config.checkStrictly&&this.panel.checkedNodePaths.some(function(t){return e.isInPath(t)})},value:function(){return this.node.getValueByOption()}},methods:{handleExpand:function(){var e=this,t=this.panel,n=this.node,i=this.isDisabled,r=this.config,a=r.multiple,o=r.checkStrictly;!o&&i||n.loading||(r.lazy&&!n.loaded?t.lazyLoad(n,function(){var t=e.isLeaf;if(t||e.handleExpand(),a){var i=!!t&&n.checked;e.handleMultiCheckChange(i)}}):t.handleExpand(n))},handleCheckChange:function(){var e=this.panel,t=this.value,n=this.node;e.handleCheckChange(t),e.handleExpand(n)},handleMultiCheckChange:function(e){this.node.doCheck(e),this.panel.calculateMultiCheckedValue()},isInPath:function(e){var t=this.node,n=e[t.level-1]||{};return n.uid===t.uid},renderPrefix:function(e){var t=this.isLeaf,n=this.isChecked,i=this.config,r=i.checkStrictly,a=i.multiple;return a?this.renderCheckbox(e):r?this.renderRadio(e):t&&n?this.renderCheckIcon(e):null},renderPostfix:function(e){var t=this.node,n=this.isLeaf;return t.loading?this.renderLoadingIcon(e):n?null:this.renderExpandIcon(e)},renderCheckbox:function(e){var t=this.node,n=this.config,i=this.isDisabled,r={on:{change:this.handleMultiCheckChange},nativeOn:{}};return n.checkStrictly&&(r.nativeOn.click=v),e("el-checkbox",c()([{attrs:{value:t.checked,indeterminate:t.indeterminate,disabled:i}},r]))},renderRadio:function(e){var t=this.checkedValue,n=this.value,i=this.isDisabled;return Object(m["isEqual"])(n,t)&&(n=t),e("el-radio",{attrs:{value:t,label:n,disabled:i},on:{change:this.handleCheckChange},nativeOn:{click:v}},[e("span")])},renderCheckIcon:function(e){return e("i",{class:"el-icon-check el-cascader-node__prefix"})},renderLoadingIcon:function(e){return e("i",{class:"el-icon-loading el-cascader-node__postfix"})},renderExpandIcon:function(e){return e("i",{class:"el-icon-arrow-right el-cascader-node__postfix"})},renderContent:function(e){var t=this.panel,n=this.node,i=t.renderLabelFn,r=i?i({node:n,data:n.data}):null;return e("span",{class:"el-cascader-node__label"},[r||n.label])}},render:function(e){var t=this,n=this.inActivePath,i=this.inCheckedPath,r=this.isChecked,a=this.isLeaf,o=this.isDisabled,s=this.config,l=this.nodeId,u=s.expandTrigger,d=s.checkStrictly,p=s.multiple,f=!d&&o,h={on:{}};return"click"===u?h.on.click=this.handleExpand:(h.on.mouseenter=function(e){t.handleExpand(),t.$emit("expand",e)},h.on.focus=function(e){t.handleExpand(),t.$emit("expand",e)}),!a||o||d||p||(h.on.click=this.handleCheckChange),e("li",c()([{attrs:{role:"menuitem",id:l,"aria-expanded":n,tabindex:f?null:-1},class:{"el-cascader-node":!0,"is-selectable":d,"in-active-path":n,"in-checked-path":i,"is-active":r,"is-disabled":f}},h]),[this.renderPrefix(e),this.renderContent(e),this.renderPostfix(e)])}},b=g,_=n(0),y=Object(_["a"])(b,a,o,!1,null,null,null);y.options.__file="packages/cascader-panel/src/cascader-node.vue";var M,w,O=y.exports,k=n(6),x=n.n(k),L={name:"ElCascaderMenu",mixins:[x.a],inject:["panel"],components:{ElScrollbar:u.a,CascaderNode:O},props:{nodes:{type:Array,required:!0},index:Number},data:function(){return{activeNode:null,hoverTimer:null,id:Object(m["generateId"])()}},computed:{isEmpty:function(){return!this.nodes.length},menuId:function(){return"cascader-menu-"+this.id+"-"+this.index}},methods:{handleExpand:function(e){this.activeNode=e.target},handleMouseMove:function(e){var t=this.activeNode,n=this.hoverTimer,i=this.$refs.hoverZone;if(t&&i)if(t.contains(e.target)){clearTimeout(n);var r=this.$el.getBoundingClientRect(),a=r.left,o=e.clientX-a,s=this.$el,c=s.offsetWidth,l=s.offsetHeight,u=t.offsetTop,d=u+t.offsetHeight;i.innerHTML='\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+u+" L"+c+" 0 V"+u+' Z" />\n <path style="pointer-events: auto;" fill="transparent" d="M'+o+" "+d+" L"+c+" "+l+" V"+d+' Z" />\n '}else n||(this.hoverTimer=setTimeout(this.clearHoverZone,this.panel.config.hoverThreshold))},clearHoverZone:function(){var e=this.$refs.hoverZone;e&&(e.innerHTML="")},renderEmptyText:function(e){return e("div",{class:"el-cascader-menu__empty-text"},[this.t("el.cascader.noData")])},renderNodeList:function(e){var t=this.menuId,n=this.panel.isHoverMenu,i={on:{}};n&&(i.on.expand=this.handleExpand);var r=this.nodes.map(function(n,r){var a=n.hasChildren;return e("cascader-node",c()([{key:n.uid,attrs:{node:n,"node-id":t+"-"+r,"aria-haspopup":a,"aria-owns":a?t:null}},i]))});return[].concat(r,[n?e("svg",{ref:"hoverZone",class:"el-cascader-menu__hover-zone"}):null])}},render:function(e){var t=this.isEmpty,n=this.menuId,i={nativeOn:{}};return this.panel.isHoverMenu&&(i.nativeOn.mousemove=this.handleMouseMove),e("el-scrollbar",c()([{attrs:{tag:"ul",role:"menu",id:n,"wrap-class":"el-cascader-menu__wrap","view-class":{"el-cascader-menu__list":!0,"is-empty":t}},class:"el-cascader-menu"},i]),[t?this.renderEmptyText(e):this.renderNodeList(e)])}},C=L,A=Object(_["a"])(C,M,w,!1,null,null,null);A.options.__file="packages/cascader-panel/src/cascader-menu.vue";var S=A.exports,T=n(21),D=function(){function e(e,t){for(var n=0;n<t.length;n++){var i=t[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(e,i.key,i)}}return function(t,n,i){return n&&e(t.prototype,n),i&&e(t,i),t}}();function z(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var E=0,j=function(){function e(t,n,i){z(this,e),this.data=t,this.config=n,this.parent=i||null,this.level=this.parent?this.parent.level+1:1,this.uid=E++,this.initState(),this.initChildren()}return e.prototype.initState=function(){var e=this.config,t=e.value,n=e.label;this.value=this.data[t],this.label=this.data[n],this.pathNodes=this.calculatePathNodes(),this.path=this.pathNodes.map(function(e){return e.value}),this.pathLabels=this.pathNodes.map(function(e){return e.label}),this.loading=!1,this.loaded=!1},e.prototype.initChildren=function(){var t=this,n=this.config,i=n.children,r=this.data[i];this.hasChildren=Array.isArray(r),this.children=(r||[]).map(function(i){return new e(i,n,t)})},e.prototype.calculatePathNodes=function(){var e=[this],t=this.parent;while(t)e.unshift(t),t=t.parent;return e},e.prototype.getPath=function(){return this.path},e.prototype.getValue=function(){return this.value},e.prototype.getValueByOption=function(){return this.config.emitPath?this.getPath():this.getValue()},e.prototype.getText=function(e,t){return e?this.pathLabels.join(t):this.label},e.prototype.isSameNode=function(e){var t=this.getValueByOption();return this.config.multiple&&Array.isArray(e)?e.some(function(e){return Object(m["isEqual"])(e,t)}):Object(m["isEqual"])(e,t)},e.prototype.broadcast=function(e){for(var t=arguments.length,n=Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];var r="onParent"+Object(m["capitalize"])(e);this.children.forEach(function(t){t&&(t.broadcast.apply(t,[e].concat(n)),t[r]&&t[r].apply(t,n))})},e.prototype.emit=function(e){var t=this.parent,n="onChild"+Object(m["capitalize"])(e);if(t){for(var i=arguments.length,r=Array(i>1?i-1:0),a=1;a<i;a++)r[a-1]=arguments[a];t[n]&&t[n].apply(t,r),t.emit.apply(t,[e].concat(r))}},e.prototype.onParentCheck=function(e){this.isDisabled||this.setCheckState(e)},e.prototype.onChildCheck=function(){var e=this.children,t=e.filter(function(e){return!e.isDisabled}),n=!!t.length&&t.every(function(e){return e.checked});this.setCheckState(n)},e.prototype.setCheckState=function(e){var t=this.children.length,n=this.children.reduce(function(e,t){var n=t.checked?1:t.indeterminate?.5:0;return e+n},0);this.checked=e,this.indeterminate=n!==t&&n>0},e.prototype.syncCheckState=function(e){var t=this.getValueByOption(),n=this.isSameNode(e,t);this.doCheck(n)},e.prototype.doCheck=function(e){this.checked!==e&&(this.config.checkStrictly?this.checked=e:(this.broadcast("check",e),this.setCheckState(e),this.emit("check")))},D(e,[{key:"isDisabled",get:function(){var e=this.data,t=this.parent,n=this.config,i=n.disabled,r=n.checkStrictly;return e[i]||!r&&t&&t.isDisabled}},{key:"isLeaf",get:function(){var e=this.data,t=this.loaded,n=this.hasChildren,i=this.children,r=this.config,a=r.lazy,o=r.leaf;if(a){var s=Object(T["isDef"])(e[o])?e[o]:!!t&&!i.length;return this.hasChildren=!s,s}return!n}}]),e}(),P=j;function N(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}var Y=function e(t,n){return t.reduce(function(t,i){return i.isLeaf?t.push(i):(!n&&t.push(i),t=t.concat(e(i.children,n))),t},[])},$=function(){function e(t,n){N(this,e),this.config=n,this.initNodes(t)}return e.prototype.initNodes=function(e){var t=this;e=Object(m["coerceTruthyValueToArray"])(e),this.nodes=e.map(function(e){return new P(e,t.config)}),this.flattedNodes=this.getFlattedNodes(!1,!1),this.leafNodes=this.getFlattedNodes(!0,!1)},e.prototype.appendNode=function(e,t){var n=new P(e,this.config,t),i=t?t.children:this.nodes;i.push(n)},e.prototype.appendNodes=function(e,t){var n=this;e=Object(m["coerceTruthyValueToArray"])(e),e.forEach(function(e){return n.appendNode(e,t)})},e.prototype.getNodes=function(){return this.nodes},e.prototype.getFlattedNodes=function(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],n=e?this.leafNodes:this.flattedNodes;return t?n:Y(this.nodes,e)},e.prototype.getNodeByValue=function(e){if(e){var t=this.getFlattedNodes(!1,!this.config.lazy).filter(function(t){return Object(m["valueEquals"])(t.path,e)||t.value===e});return t&&t.length?t[0]:null}return null},e}(),W=$,B=n(9),q=n.n(B),I=n(32),F=n.n(I),H=n(31),R=n.n(H),X=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},V=F.a.keys,U={expandTrigger:"click",multiple:!1,checkStrictly:!1,emitPath:!0,lazy:!1,lazyLoad:m["noop"],value:"value",label:"label",children:"children",leaf:"leaf",disabled:"disabled",hoverThreshold:500},G=function(e){return!e.getAttribute("aria-owns")},K=function(e,t){var n=e.parentNode;if(n){var i=n.querySelectorAll('.el-cascader-node[tabindex="-1"]'),r=Array.prototype.indexOf.call(i,e);return i[r+t]||null}return null},J=function(e,t){if(e){var n=e.id.split("-");return Number(n[n.length-2])}},Q=function(e){e&&(e.focus(),!G(e)&&e.click())},Z=function(e){if(e){var t=e.querySelector("input");t?t.click():G(e)&&e.click()}},ee={name:"ElCascaderPanel",components:{CascaderMenu:S},props:{value:{},options:Array,props:Object,border:{type:Boolean,default:!0},renderLabel:Function},provide:function(){return{panel:this}},data:function(){return{checkedValue:null,checkedNodePaths:[],store:[],menus:[],activePath:[],loadCount:0}},computed:{config:function(){return q()(X({},U),this.props||{})},multiple:function(){return this.config.multiple},checkStrictly:function(){return this.config.checkStrictly},leafOnly:function(){return!this.checkStrictly},isHoverMenu:function(){return"hover"===this.config.expandTrigger},renderLabelFn:function(){return this.renderLabel||this.$scopedSlots.default}},watch:{options:{handler:function(){this.initStore()},immediate:!0,deep:!0},value:function(){this.syncCheckedValue(),this.checkStrictly&&this.calculateCheckedNodePaths()},checkedValue:function(e){Object(m["isEqual"])(e,this.value)||(this.checkStrictly&&this.calculateCheckedNodePaths(),this.$emit("input",e),this.$emit("change",e))}},mounted:function(){Object(m["isEmpty"])(this.value)||this.syncCheckedValue()},methods:{initStore:function(){var e=this.config,t=this.options;e.lazy&&Object(m["isEmpty"])(t)?this.lazyLoad():(this.store=new W(t,e),this.menus=[this.store.getNodes()],this.syncMenuState())},syncCheckedValue:function(){var e=this.value,t=this.checkedValue;Object(m["isEqual"])(e,t)||(this.checkedValue=e,this.syncMenuState())},syncMenuState:function(){var e=this.multiple,t=this.checkStrictly;this.syncActivePath(),e&&this.syncMultiCheckState(),t&&this.calculateCheckedNodePaths(),this.$nextTick(this.scrollIntoView)},syncMultiCheckState:function(){var e=this,t=this.getFlattedNodes(this.leafOnly);t.forEach(function(t){t.syncCheckState(e.checkedValue)})},syncActivePath:function(){var e=this,t=this.store,n=this.multiple,i=this.activePath,r=this.checkedValue;if(Object(m["isEmpty"])(i))if(Object(m["isEmpty"])(r))this.activePath=[],this.menus=[t.getNodes()];else{var a=n?r[0]:r,o=this.getNodeByValue(a)||{},s=(o.pathNodes||[]).slice(0,-1);this.expandNodes(s)}else{var c=i.map(function(t){return e.getNodeByValue(t.getValue())});this.expandNodes(c)}},expandNodes:function(e){var t=this;e.forEach(function(e){return t.handleExpand(e,!0)})},calculateCheckedNodePaths:function(){var e=this,t=this.checkedValue,n=this.multiple,i=n?Object(m["coerceTruthyValueToArray"])(t):[t];this.checkedNodePaths=i.map(function(t){var n=e.getNodeByValue(t);return n?n.pathNodes:[]})},handleKeyDown:function(e){var t=e.target,n=e.keyCode;switch(n){case V.up:var i=K(t,-1);Q(i);break;case V.down:var r=K(t,1);Q(r);break;case V.left:var a=this.$refs.menu[J(t)-1];if(a){var o=a.$el.querySelector('.el-cascader-node[aria-expanded="true"]');Q(o)}break;case V.right:var s=this.$refs.menu[J(t)+1];if(s){var c=s.$el.querySelector('.el-cascader-node[tabindex="-1"]');Q(c)}break;case V.enter:Z(t);break;case V.esc:case V.tab:this.$emit("close");break;default:return}},handleExpand:function(e,t){var n=this.activePath,i=e.level,r=n.slice(0,i-1),a=this.menus.slice(0,i);if(e.isLeaf||(r.push(e),a.push(e.children)),this.activePath=r,this.menus=a,!t){var o=r.map(function(e){return e.getValue()}),s=n.map(function(e){return e.getValue()});Object(m["valueEquals"])(o,s)||(this.$emit("active-item-change",o),this.$emit("expand-change",o))}},handleCheckChange:function(e){this.checkedValue=e},lazyLoad:function(e,t){var n=this,i=this.config;e||(e=e||{root:!0,level:0},this.store=new W([],i),this.menus=[this.store.getNodes()]),e.loading=!0;var r=function(i){var r=e.root?null:e;if(i&&i.length&&n.store.appendNodes(i,r),e.loading=!1,e.loaded=!0,Array.isArray(n.checkedValue)){var a=n.checkedValue[n.loadCount++],o=n.config.value,s=n.config.leaf;if(Array.isArray(i)&&i.filter(function(e){return e[o]===a}).length>0){var c=n.store.getNodeByValue(a);c.data[s]||n.lazyLoad(c,function(){n.handleExpand(c)}),n.loadCount===n.checkedValue.length&&n.$parent.computePresentText()}}t&&t(i)};i.lazyLoad(e,r)},calculateMultiCheckedValue:function(){this.checkedValue=this.getCheckedNodes(this.leafOnly).map(function(e){return e.getValueByOption()})},scrollIntoView:function(){if(!this.$isServer){var e=this.$refs.menu||[];e.forEach(function(e){var t=e.$el;if(t){var n=t.querySelector(".el-scrollbar__wrap"),i=t.querySelector(".el-cascader-node.is-active")||t.querySelector(".el-cascader-node.in-active-path");R()(n,i)}})}},getNodeByValue:function(e){return this.store.getNodeByValue(e)},getFlattedNodes:function(e){var t=!this.config.lazy;return this.store.getFlattedNodes(e,t)},getCheckedNodes:function(e){var t=this.checkedValue,n=this.multiple;if(n){var i=this.getFlattedNodes(e);return i.filter(function(e){return e.checked})}return Object(m["isEmpty"])(t)?[]:[this.getNodeByValue(t)]},clearCheckedNodes:function(){var e=this.config,t=this.leafOnly,n=e.multiple,i=e.emitPath;n?(this.getCheckedNodes(t).filter(function(e){return!e.isDisabled}).forEach(function(e){return e.doCheck(!1)}),this.calculateMultiCheckedValue()):this.checkedValue=i?[]:null}}},te=ee,ne=Object(_["a"])(te,i,r,!1,null,null,null);ne.options.__file="packages/cascader-panel/src/cascader-panel.vue";var ie=ne.exports;ie.install=function(e){e.component(ie.name,ie)};t["default"]=ie},6:function(e,t){e.exports=n("6b7c")},9:function(e,t){e.exports=n("7f4d")}})},"477f":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{key:e.feature.slug,staticClass:"omapi-feature"},[n("common-selectable-input",{attrs:{type:"checkbox",checked:e.shouldBeChecked,name:"extraFeatures",value:e.feature.slug,disabled:e.feature.free,inputClass:e.feature.free?"omapi-checkbox__input-green":""},on:{input:e.setValue},scopedSlots:e._u([{key:"description",fn:function(){return[n("div",{staticClass:"omapi-feature__description"},[n("h3",[e._v(e._s(e.getFeatureProp(e.feature.slug,"title")))]),n("div",[e._v(e._s(e.getFeatureProp(e.feature.slug,"description")))])])]},proxy:!0}])})],1)},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62");function s(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function c(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var l=Object(o["a"])("wizard"),u=l.mapState,d=l.mapGetters,p={props:{feature:{type:Object,required:!0},isChecked:{type:Boolean,default:function(){return null}}},computed:c({},u(["extraFeatures"]),{},d(["inExtraFeatures","getFeatureProp"]),{shouldBeChecked:function(){return null!==this.isChecked?this.isChecked:this.feature.free||this.inExtraFeatures(this.feature.slug)}}),methods:{setValue:function(e){this.$store.commit("wizard/extraFeatures",e.target.value)}}},f=p,h=n("2877"),m=Object(h["a"])(f,i,r,!1,null,null,null);t["default"]=m.exports},"47ee":function(e,t,n){var i=n("c3a1"),r=n("9aa9"),a=n("355d");e.exports=function(e){var t=i(e),n=r.f;if(n){var o,s=n(e),c=a.f,l=0;while(s.length>l)c.call(e,o=s[l++])&&t.push(o)}return t}},"481b":function(e,t){e.exports={}},"485c":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
100
  //! moment.js locale configuration
220
  //! moment.js locale configuration
221
  function t(e,t,n){var i={ss:"secunde",mm:"minute",hh:"ore",dd:"zile",MM:"luni",yy:"ani"},r=" ";return(e%100>=20||e>=100&&e%100===0)&&(r=" de "),e+r+i[n]}var n=e.defineLocale("ro",{months:"ianuarie_februarie_martie_aprilie_mai_iunie_iulie_august_septembrie_octombrie_noiembrie_decembrie".split("_"),monthsShort:"ian._feb._mart._apr._mai_iun._iul._aug._sept._oct._nov._dec.".split("_"),monthsParseExact:!0,weekdays:"duminică_luni_marți_miercuri_joi_vineri_sâmbătă".split("_"),weekdaysShort:"Dum_Lun_Mar_Mie_Joi_Vin_Sâm".split("_"),weekdaysMin:"Du_Lu_Ma_Mi_Jo_Vi_Sâ".split("_"),longDateFormat:{LT:"H:mm",LTS:"H:mm:ss",L:"DD.MM.YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY H:mm",LLLL:"dddd, D MMMM YYYY H:mm"},calendar:{sameDay:"[azi la] LT",nextDay:"[mâine la] LT",nextWeek:"dddd [la] LT",lastDay:"[ieri la] LT",lastWeek:"[fosta] dddd [la] LT",sameElse:"L"},relativeTime:{future:"peste %s",past:"%s în urmă",s:"câteva secunde",ss:t,m:"un minut",mm:t,h:"o oră",hh:t,d:"o zi",dd:t,M:"o lună",MM:t,y:"un an",yy:t},week:{dow:1,doy:7}});return n})},"974d":function(e,t,n){e.exports=n.p+"img/twitter.301c64c2.svg"},9797:function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
222
  //! moment.js locale configuration
223
+ var t=e.defineLocale("cy",{months:"Ionawr_Chwefror_Mawrth_Ebrill_Mai_Mehefin_Gorffennaf_Awst_Medi_Hydref_Tachwedd_Rhagfyr".split("_"),monthsShort:"Ion_Chwe_Maw_Ebr_Mai_Meh_Gor_Aws_Med_Hyd_Tach_Rhag".split("_"),weekdays:"Dydd Sul_Dydd Llun_Dydd Mawrth_Dydd Mercher_Dydd Iau_Dydd Gwener_Dydd Sadwrn".split("_"),weekdaysShort:"Sul_Llun_Maw_Mer_Iau_Gwe_Sad".split("_"),weekdaysMin:"Su_Ll_Ma_Me_Ia_Gw_Sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[Heddiw am] LT",nextDay:"[Yfory am] LT",nextWeek:"dddd [am] LT",lastDay:"[Ddoe am] LT",lastWeek:"dddd [diwethaf am] LT",sameElse:"L"},relativeTime:{future:"mewn %s",past:"%s yn ôl",s:"ychydig eiliadau",ss:"%d eiliad",m:"munud",mm:"%d munud",h:"awr",hh:"%d awr",d:"diwrnod",dd:"%d diwrnod",M:"mis",MM:"%d mis",y:"blwyddyn",yy:"%d flynedd"},dayOfMonthOrdinalParse:/\d{1,2}(fed|ain|af|il|ydd|ed|eg)/,ordinal:function(e){var t=e,n="",i=["","af","il","ydd","ydd","ed","ed","ed","fed","fed","fed","eg","fed","eg","eg","fed","eg","eg","fed","eg","fed"];return t>20?n=40===t||50===t||60===t||80===t||100===t?"fed":"ain":t>0&&(n=i[t]),e+n},week:{dow:1,doy:4}});return t})},"97cd":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("common-card",{scopedSlots:e._u([{key:"footer",fn:function(){return[i("div",{staticClass:"omapi-resource-list"},[i("div",{staticClass:"omapi-resource-list__title"},[e._v("\n\t\t\t\tOther Useful Resources\n\t\t\t\t"),i("span",{staticClass:"omapi-resource-list__more"},[e._v("("),i("core-button",{attrs:{linkStyle:!0,href:e.$urls.docs("","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("See All Docs")]),e._v(")")],1)]),i("ul",{staticClass:"omapi-list omapi-list__twocol"},[i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("getting-started-optinmonster-wordpress-checklist/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("Getting Started with OptinMonster Checklist")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("creating-your-first-optin/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("Creating Your First Campaign")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("optinmonster-builder-overview/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("OptinMonster Builder Overview")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-or-edit-a-campaign/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Edit a Campaign")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-use-display-rules-in-optinmonster","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Setup Display Rules")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-use-display-rules-in-optinmonster/","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Use Page-Level Targeting in OptinMonster")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-a-split-test-in-optinmonster","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Create an A/B Split Test in OptinMonster")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-optinmonster-uses-google-analytics-to-measure-conversion-analytics","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How OptinMonster Uses Google Analytics to Measure Conversion Analytics")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-add-monstereffects-animations-to-your-lightbox-popup","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Add Animation Effects to Your Campaigns")])]),i("li",{staticClass:"omapi-resource-list__item omapi-list__item"},[i("a",{staticClass:"omapi-link-title",attrs:{href:e.$urls.docs("how-to-create-a-lightbox-popup-optin","AboutOtherUsefulResources"),target:"_blank",rel:"noopener"}},[e._v("How to Create a Lightbox Popup Campaign")])])])])]},proxy:!0}])},[i("ul",{staticClass:"omapi-detailed-list"},[i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("Welcome and Overview of OptinMonster")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("When you first log into your OptinMonster account, the screen that loads is called the Dashboard, which acts as your home screen. You can easily navigate back to this screen by selecting the Dashboard link in the top menu.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("welcome-and-overview-of-optinmonster","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])]),i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("How to Create or Edit a Campaign")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("Have you recently signed up for OptinMonster but aren’t sure how to get started? Have you already created a campaign, but now you need to make some edits? This guide will show you how to create or edit a campaign in OptinMonster.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("creating-your-first-optin","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])]),i("li",[i("div",{staticClass:"omapi-multi-column__secondary omapi-icon-wrapper"},[i("img",{attrs:{src:n("4d06"),alt:"Popup icon"}})]),i("div",{staticClass:"omapi-multi-column__primary"},[i("div",{staticClass:"omapi-multi-column__title"},[e._v("How to Embed Your Campaigns On Your Site")]),i("div",{staticClass:"omapi-multi-column__text"},[e._v("OptinMonster makes it easy to add your campaigns to your site by giving you flexibility. In this article, you’ll learn how to embed your OptinMonster campaigns on your site.")]),i("div",{staticClass:"omapi-multi-column__buttons"},[i("core-button",{attrs:{href:e.$urls.docs("how-to-embed-your-campaigns-on-your-site","AboutGettingStarted"),target:"_blank",rel:"noopener",type:"secondary",size:"small"}},[e._v("Read Documentation")])],1)])])])])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"97d3":function(e,t,n){var i=n("48a0"),r=n("30c9");function a(e,t){var n=-1,a=r(e)?Array(e.length):[];return i(e,function(e,i,r){a[++n]=t(e,i,r)}),a}e.exports=a},"97ff":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("common-card",{staticClass:"omapi-campaign-settings__publish",attrs:{contentClass:"omapi-card__border"},scopedSlots:e._u([{key:"title",fn:function(){return[e._v("Visibility & Status")]},proxy:!0},{key:"footer",fn:function(){return[n("core-save-button",{attrs:{color:"green",disabled:!e.changed,saving:e.saving}})]},proxy:!0}])},[n("div",{staticClass:"omapi-campaign-settings__minor-publishing"},[e._t("default")],2)])},r=[],a={props:{changed:Boolean,saving:Boolean}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},9884:function(e,t,n){},"98cf":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("section",{staticClass:"omapi-effect"},[n("div",{staticClass:"omapi-effect_col"},[n("h2",[e._v("Get More Subscribers, Leads and Sales!")]),n("p",[e._v("Transform your website into a money-making machine with the power of OptinMonster.")]),n("core-create-connect")],1),e._m(0)])},r=[function(){var e=this,t=e.$createElement,i=e._self._c||t;return i("div",{staticClass:"omapi-effect_col"},[i("img",{attrs:{src:n("3cc4"),alt:"The OptinMonster Effect!"}})])}],a=(n("0f24"),n("2877")),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},9900:function(e,t,n){},"990b":function(e,t,n){var i=n("9093"),r=n("2621"),a=n("cb7c"),o=n("7726").Reflect;e.exports=o&&o.ownKeys||function(e){var t=i.f(a(e)),n=r.f;return n?t.concat(n(e)):t}},9914:function(e,t,n){"use strict";n.d(t,"a",function(){return r});var i=n("002d"),r={methods:{makePlural:function(e,t){return Object(i["b"])(e,t)}}}},"994a":function(e,t,n){},"99cd":function(e,t){function n(e){return function(t,n,i){var r=-1,a=Object(t),o=i(t),s=o.length;while(s--){var c=o[e?s:++r];if(!1===n(a[c],c,a))break}return t}}e.exports=n},"99d3":function(e,t,n){(function(e){var i=n("585a"),r=t&&!t.nodeType&&t,a=r&&"object"==typeof e&&e&&!e.nodeType&&e,o=a&&a.exports===r,s=o&&i.process,c=function(){try{var e=a&&a.require&&a.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(t){}}();e.exports=c}).call(this,n("62e4")(e))},"9aa9":function(e,t){t.f=Object.getOwnPropertySymbols},"9ac5":function(e,t,n){"use strict";n.d(t,"b",function(){return i});var i=function(){return{siteSettings:{affiliateLink:"",affiliateLinkPosition:"bottom",defaultIntegration:"",globalAnalyticsID:"",globalAnalyticsProfile:"",globalInteractionCookie:!1,globalSuccessCookie:!1,recaptchaSecretKey:"",recaptchaSiteKey:""},miscSettings:{auto_updates:"all",hide_announcements:!1,usage_tracking:!1},providers:[],integrations:{},analyticsAccounts:[],analyticsProfiles:{}}};t["a"]=i()},"9b02":function(e,t,n){var i=n("656b");function r(e,t,n){var r=null==e?void 0:i(e,t);return void 0===r?n:r}e.exports=r},"9b43":function(e,t,n){var i=n("d8e8");e.exports=function(e,t,n){if(i(e),void 0===t)return e;switch(n){case 1:return function(n){return e.call(t,n)};case 2:return function(n,i){return e.call(t,n,i)};case 3:return function(n,i,r){return e.call(t,n,i,r)}}return function(){return e.apply(t,arguments)}}},"9bca":function(e,t,n){e.exports=n.p+"img/scheduled.a220f4b7.svg"},"9bf8":function(e,t,n){"use strict";n("8e6e"),n("20d6");var i=n("5176"),r=n.n(i);function a(){return a=r.a||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},a.apply(this,arguments)}n("28a5"),n("7514"),n("456d");var o=n("bd86"),s=(n("4f7f"),n("75fc")),c=n("a8db"),l=(n("5df3"),n("6762"),n("2fdb"),n("ac6a"),n("55dd"),n("386d"),n("9b02")),u=n.n(l),d=n("c04c"),p=n.n(d),f=n("1a8c"),h=n.n(f),m=n("a18c"),v=n("ed08");function g(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function b(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?g(n,!0).forEach(function(t){Object(o["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):g(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}n.d(t,"b",function(){return M});var _=0,y=function(){var e=(new Date).getTime()-_,t=36e5;return e>t},M=20,w=(new Date).getTime(),O=function(e,t){return e.campaignIds&&e.campaignIds.length||"all"!==t.embedFilter&&(e.campaignIds=t.filters.campaignIds),e.offset||(e.offset=M*(t.page-1)),e.searchTerm||(e.searchTerm=t.search),e.starts||(e.starts=t.filters.starts,e.ends=t.filters.ends),e.campaignType||(e.campaignType=t.filters.campaignType),e.status||(e.status=t.filters.status),e.sort||(e.sort=t.sort),e.limit=e.limit||M,e};t["a"]={fetchDashboard:function(e){var t=this,n=e.commit,i=e.state,r=e.dispatch,a=e.rootGetters,o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},s=y()?"campaigns":o.loading||"campaigns";return new Promise(function(e,c){if(!y()&&!o.force)return e();if(!a.connected)return e();var l=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];n(e?"doneLoading":"loading",s,{root:!0})},u={},d=[],p="",f=!0,h=Promise.resolve();l(),o=O(o,i);var m=o.campaignIds&&o.campaignIds.length,g=function(e,t){m?u[e]=t:d.push("".concat(e,"=").concat(t))};g("site",v["s"]?v["s"].join(","):v["r"]),g("t",(new Date).getTime()),o.offset&&g("offset",o.offset),o.limit&&g("limit",o.limit),o.sort&&g("sort",o.sort),o.starts&&o.ends&&(g("starts",o.starts),g("ends",o.ends),f=!1),o.campaignType&&(g("campaignType",o.campaignType),f=!1),o.status&&(g("status",o.status),f=!1),o.searchTerm&&(g("search",encodeURIComponent(o.searchTerm)),o.offset&&g("offset",o.offset),f=!1),m?(g("campaignIds",o.campaignIds.join(",")),f=!1):p=d.length?"?".concat(d.join("&")):"",a.shouldFetchUser&&(h=r("fetchMe",{},{root:!0}).catch(function(e){return console.error({error:e}),c(e)})),n("closeAlerts");var b=new Promise(function(e,a){t._vm.$api[m?"post":"get"]("campaign-dashboard".concat(p),{cached:!1}).send(m?u:null).then(function(t){var a=t.body,s=a.campaigns,c=a.total_campaigns_count,u=a.folders;f&&(n("fetched","mainQuery",{root:!0}),n("setTotalCampaignCount",c)),s.forEach(function(e){e.rulesets=[]});var d=s.map(function(e){return e.id});!o.offset||o.reset?n("setCampaigns",s):n("addCampaigns",s),n("updateSort"),r("setFolders",u),n("setTotalFilteredCampaignCount",c),c&&r("refreshAnalytics"),o.searchTerm&&i.campaigns.some(function(e){if(e.status.includes("trash","archive"))return n("maybeAddAlert",{message:"Search results contain items that have been archived or placed in the trash.",type:"warn"}),!0}),r("fetchCampaignsRulesets",d),l(!0),e()}).catch(function(e){e.explanation="Something went wrong while fetching campaign data.",n("setError",e),l(!0),a(e),console.error({error:e})}).finally(function(){_=(new Date).getTime()})});Promise.all([h,b]).then(function(){r("wp/fetchWpResources",{},{root:!0}).then(function(e){e.siteIds.join(",")===v["s"].join(",")&&v["r"]===e.siteId||window.location.reload(),r("fetchDraftCampaignCount"),r("fetchPublishCampaignCount")}),e()}).catch(function(e){c(e),console.error({error:e})})})},refreshDashboard:function(e){var t=e.dispatch;return t("fetchDashboard",{force:!0,reset:!0,loading:"campaigns-refresh"})},resetFilters:function(e){var t=e.state,n=e.commit,i=e.dispatch,r=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=r.keys,o=void 0===a?null:a,s=r.handler,c=void 0!==s&&s,l=t.search,u=t.page;null===o?(n("resetFilters"),this._vm.$bus.$emit("resetAllCampaignFilters")):Object(v["d"])(o).forEach(function(e){n("resetFilter",e)});var d=function(){l||1<u?i("goToPage",{search:"",page:1}):i("refreshDashboard")};if(c)return c(d);d()},fetchCampaigns:function(e,t){var n=e.dispatch,i=t.campaignIds,r=Object(c["a"])(t,["campaignIds"]);i=Object(s["a"])(new Set(i));var a=[];return 0<i.length&&i.forEach(function(e){a.push(n("fetchCampaign",b({campaignId:e},r)))}),Promise.all(a)},fetchCampaign:function(e,t){var n=this,i=e.commit,r=e.getters,a=e.dispatch,o=e.rootGetters,s=t.campaignId,c=t.loading,l=void 0===c?"campaigns":c;if(o.connected){var u=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];l&&i(e?"doneLoading":"loading","campaigns",{root:!0})};return u(),new Promise(function(e,t){var o=function(){return u(!0),e()},c=r.getCampaign(s);if(c&&c.id)return o();n._vm.$api.get("campaign-dashboard?campaign=".concat(s,"&site=").concat(v["s"]?v["s"].join(","):v["r"])).then(function(e){var t=e.body,n=t.campaigns;a("fetchFolders"),n.forEach(function(e){e.rulesets=[]});var r=n.map(function(e){return e.id});i("addCampaigns",n),a("fetchCampaignsRulesets",r),o()}).catch(function(e){e.explanation="Something went wrong while fetching this campaign's data.",404===e.status&&(e.explanation+=" Has this campaign been deleted?<br>"),i("setError",e),u(!0),t(e),console.error({error:e})}).finally(function(){_=0,u(!0)})})}},fetchCampaignsRulesets:function(e){var t=e.commit,n=e.dispatch,i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[];return new Promise(function(e,r){var a=[],o=function(e,n){var i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"array",r="rulesets";t("updateCampaignValue",{campaignId:e,key:r,value:n,valueType:i})};i.forEach(function(e){var t=u()(e,"id",e);a.push(n("fetchRulesets",{campaign:e}).then(function(e){o(t,e)}).catch(function(e){o(t,e,"object")}))}),Promise.all(a).then(function(){e(i)}).catch(function(e){console.error({error:e}),r(e)})})},fetchRulesets:function(e,t){var n=this,i=e.commit,r=e.getters,a=e.rootGetters,o=t.campaign,s=t.fresh,c=void 0!==s&&s;return new Promise(function(e,t){if(!a.connected)return e([]);o=h()(o)?o:r.getCampaign(o);var s=u()(o,"id");return s?o.is_legacy?e([]):!c&&o.rulesets&&0<o.rulesets.length?e(o.rulesets):void n._vm.$api.get("campaigns/".concat(s,"/rulesets")).then(function(t){e(t.body)}).catch(function(e){e.explanation="Something went wrong while fetching ruleset data for this campaign: ".concat(o.id),i("addError",e),t(e),console.error({error:e,campaignId:s})}):t(new Error("Cannot find campaign for this id: ".concat(s)))})},refreshAnalytics:function(e){var t=this,n=e.commit,i=e.state;return new Promise(function(e,r){var a=[];i.campaigns.forEach(function(e){a.push(e.id),e.splits.length&&e.splits.forEach(function(e){return a.push(e.id)})}),t._vm.$api.post("campaign-dashboard/analytics").send({campaigns:a}).then(function(t){n("refreshAnalytics",t.body),e()}).catch(function(e){r(e),console.error({error:e})})})},fetchDraftCampaignCount:function(e){var t=e.commit,n=e.dispatch,i=e.getters;return new Promise(function(e,r){return n("fetchStatusCampaignCount",{campaignIds:i.disabledCampaignIds.join(","),status:"pause"}).then(function(n){t("draftCountUpdate",n),e(n)}).catch(function(e){r(e),console.error({error:e})})})},fetchPublishCampaignCount:function(e){var t=e.commit,n=e.dispatch,i=e.getters;return new Promise(function(e,r){return n("fetchStatusCampaignCount",{campaignIds:i.enabledCampaignIds.join(","),status:"active"}).then(function(n){t("publishCountUpdate",n),e(n)}).catch(function(e){r(e),console.error({error:e})})})},fetchStatusCampaignCount:function(e){var t=this,n=(e.commit,e.state,arguments.length>1&&void 0!==arguments[1]?arguments[1]:{});return new Promise(function(e,i){n=b({},n,{site:v["s"]?v["s"].join(","):v["r"],t:w,limit:1}),n=Object.keys(n).map(function(e){return"".concat(e,"=").concat(n[e])}).join("&"),t._vm.$api.get("campaign-dashboard?".concat(n),{cached:!1}).then(function(t){var n=t.body;e(n.total_campaigns_count)})})},fetchWpDataForCampaign:function(e,t){var n=this,i=e.commit,r=e.dispatch,a=t.campaignId;return new Promise(function(e,t){return n._vm.$api.get({wpEndpoint:"omapp/v1/campaigns/".concat(a),cached:!1}).then(function(t){r("updateCampaignsWithWpData",[t.body]),r("wp/fetchWpResources",{},{root:!0}),e()}).catch(function(e){e.explanation="Something went wrong while fetching WordPress settings.",i("addError",e),t(e),console.error({error:e})})})},updateCampaignsWithWpData:function(e,t){var n=e.commit,i=e.state;e.dispatch;t.forEach(function(e){var t=i.campaigns.find(function(t){return t.id===e.id});t&&(t.wp=e,n("updateCampaign",{campaign:t}))})},splitCampaign:function(e,t){var n=e.dispatch,i=t.campaignId,r=t.params;return n("duplicateCampaign",{campaignId:i,params:r,split:!0})},duplicateCampaign:function(e,t){var n=this,i=e.dispatch,r=t.campaignId,a=t.params,o=t.split,s=void 0!==o&&o;return new Promise(function(e,t){n._vm.$api.post("campaigns/".concat(r,"/").concat(s?"split":"duplicate")).send(a).then(function(t){var n=t.body;i("refreshDashboard").then(function(){return e(n)})}).catch(function(e){t(e),console.error({error:e,campaignId:r})})})},createCampaign:function(e,t){var n=this,i=e.commit;return new Promise(function(e,r){n._vm.$api.post("campaigns").send(t).then(function(t){var n=t.body;e(n)}).catch(function(e){var o=a({},e);if(o.explanation="Something went wrong, and campaign creation failed.",o.status&&"401"===String(o.status)){var s=n._vm.$urls.newCampaign({siteIds:u()(t,"sites",[]),template:u()(t,"template",""),campaignName:u()(t,"name",""),campaignType:u()(t,"type","")});window.open(s,"_blank"),o.explanation+=" We have redirected you to the new-campaign page to finish creating this campaign."}i("closeAlerts"),i("setError",o),r(o),console.error({error:o})})})},setStatus:function(e,t){var n=this,i=e.commit,r=e.getters,a=t.status,o=t.campaigns;return o.slice(0).forEach(function(e){var n=r.getCampaign(e);if(n.status===a)return p()(t.campaigns,function(t){return t===e});if("paused"===a){var i=u()(n,"splits",[]);i&&i.length&&i.forEach(function(e){return t.campaigns.push(e.id)})}}),new Promise(function(e,r){if(!t.campaigns.length)return e();i("setStatus",t),n._vm.$api.post("campaigns/batch/".concat("active"===a?"resume":"pause")).send({campaigns:t.campaigns}).then(function(){return e()}).catch(function(e){r(e),console.error({error:e})})})},trashCampaign:function(e,t){var n=e.dispatch;return n("deleteCampaign",{id:t.id,toTrash:!0})},deleteCampaign:function(e,t){var n=this,i=e.state,r=e.commit,a=e.dispatch,o=t.id,s=t.toTrash,c=void 0!==s&&s,l=i.campaigns.findIndex(function(e){return e.id===o});return new Promise(function(e,t){var i="campaigns/".concat(o);c&&(i+="/trash"),n._vm.$api[c?"post":"delete"](i).then(function(){r("removeCampaignByIndex",l),a("fillCampaignList",1),e()}).catch(function(e){t(e),console.error({error:e,campaignId:o})})})},deleteSplitCampaign:function(e,t){var n=this,i=e.state,r=e.commit,a=(e.dispatch,t.id),o=t.parent_id,s=i.campaigns.findIndex(function(e){return e.id===o}),c=i.campaigns[s].splits.findIndex(function(e){return e.id===a});return new Promise(function(e,t){n._vm.$api.delete("campaigns/".concat(a)).then(function(){r("removeSplitByIndex",{campaignIndex:s,splitIndex:c}),e()}).catch(function(e){t(e),console.error({error:e,campaignId:a})})})},fillCampaignList:function(e,t){var n=e.state,i=e.getters,r=e.dispatch;i.moreAvailable&&r("fetchDashboard",{force:!0,loading:"campaigns-refresh",offset:n.campaigns.length,limit:t})},bulkArchiveCampaigns:function(e,t){var n=e.dispatch,i=t.campaigns;return n("bulkTrashCampaigns",{campaigns:i,toArchive:!0})},bulkTrashCampaigns:function(e,t){var n=this,i=e.dispatch,r=(e.commit,t.campaigns),a=t.toArchive,o=void 0!==a&&a;return new Promise(function(e,t){n._vm.$api.post("campaigns/batch/".concat(o?"archive":"trash")).send({campaigns:r}).then(function(){i("deSelectAll"),i("refreshDashboard"),e()}).catch(function(e){t(e),console.error(e)})})},makePrimaryCampaign:function(e,t){var n=this,i=e.commit;return new Promise(function(e,r){n._vm.$api.post("campaigns/".concat(t.id,"/primary")).then(function(){i("makePrimary",t),i("updateSort"),e()}).catch(function(e){return r(e)})})},saveWordPress:function(e,t){var n=this,i=(e.dispatch,e.commit);return new Promise(function(e,r){return n._vm.$api.put({wpEndpoint:"omapp/v1/campaigns/".concat(t.campaignId)}).send(t.settings).then(function(){e()}).catch(function(e){e.explanation="Something went wrong while saving WordPress settings.",i("addError",e),r(e),console.error({error:e})})})},selectAll:function(e){e.rootState;var t=e.state,n=e.commit,i=e.rootGetters;n("selectAll",!0),n("setBulk",t.campaigns.filter(function(e){return i.allowed("roles","campaign.edit",e)}).map(function(e){return e.id}))},deSelectAll:function(e){var t=e.commit;t("selectAll",!1),t("clearBulk")},fetchFolders:function(e){var t=this,n=e.commit,i=e.dispatch,r=e.rootGetters;return new Promise(function(e,a){if(r.isFetched("folders")||r.isFetching("folders"))return e();n("fetching","folders",{root:!0}),t._vm.$api.get("folders").then(function(t){var n=t.body;i("setFolders",n),e()}).catch(function(e){a(e),console.error({error:e})})})},setFolders:function(e,t){var n=e.commit;n("fetched","folders",{root:!0}),n("setFolders",t)},fetchRulesetData:function(e){var t=this,n=e.commit,i=e.rootGetters;return new Promise(function(e,r){return i.connected?i.isFetched("rulesetData")||i.isFetching("rulesetData")?e():(n("fetching","rulesetData",{root:!0}),void t._vm.$api.get("rulesets/data?timestamp=".concat(v["g"].timestamp())).then(function(t){var i=t.body;n("fetched","rulesetData",{root:!0}),v["c"].set("rulesetData",v["q"].setup(i)),e(v["c"].get("rulesetData"))}).catch(function(e){r(e),console.error({error:e})})):e()})},setPageVars:function(e,t){var n=e.commit,i=t.search,r=void 0===i?null:i,a=t.page,o=void 0===a?null:a;null!==r&&n("setSearch",r),null!==o&&n("page",o)},goToPage:function(e,t){var n=e.state,i=e.dispatch,r=t.search,a=void 0===r?null:r,o=t.page,s=void 0===o?null:o,c={},l="campaigns-paginated";i("setPageVars",{search:a,page:s}),n.search&&(c.searchTerm=n.search,l="campaigns-search"),n.page&&(c.campaignsPage=n.page,c.searchTerm&&(l="campaigns-paginated-search")),m["a"].push({name:l,params:c})}}},"9bf8b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-section omapi-section__lite-pro",attrs:{id:"omapi-section__lite-pro"}},[n("common-card",{staticClass:"omapi-feature-table",attrs:{titleClass:"bg-white-button omapi-card__no-border",footerClass:"bg-white-button"},scopedSlots:e._u([{key:"title",fn:function(){return[n("div",{staticClass:"omapi-multi-column__primary"},[n("h4",{staticClass:"omapi-feature-table__title"},[e._v("OptinMonster Lite vs. Pro")]),n("div",{staticClass:"omapi-feature-table__subtitle"},[e._v("Experience and unleash the full power of OptinMonster on your site today!")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-feature-table__button"},[n("core-upgrade-button",{attrs:{color:"green",size:"xlarge",utmMedium:"LiteVsPro"}},[e._v("\n\t\t\t\t\tUpgrade to Pro Today\n\t\t\t\t")])],1)]},proxy:!0},{key:"footer",fn:function(){return[n("div",{staticClass:"omapi-pro-upsell"},[n("h3",{staticClass:"omapi-pro-upsell__title"},[e._v("Get OptinMonster Pro and Unlock All Features")]),n("p",{staticClass:"omapi-pro-upsell__text"},[e._v("Unlock access to powerful Pro features to skyrocket your subscribers, leads and sales!")]),n("core-upgrade-button",{attrs:{color:"green",size:"xlarge",utmMedium:"LiteVsPro"}},[e._v("\n\t\t\t\t\tUpgrade to Pro Today\n\t\t\t\t")])],1)]},proxy:!0}])},[n("ul",{staticClass:"omapi-detailed-list omapi-feature-table__table"},[n("li",{staticClass:"omapi-feature-table__header"},[n("div",{staticClass:"omapi-multi-column__primary"},[n("h5",[e._v("Feature")])]),n("div",{staticClass:"omapi-multi-column__secondary"},[n("h4",[e._v("Lite")])]),n("div",{staticClass:"omapi-multi-column__secondary"},[n("h4",[e._v("Pro")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("2 Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Unlimited Campaigns")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Templates")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Basic Templates")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("All Templates")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Analytics")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx hollow"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Simple Reporting")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Advanced Reporting")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("A/B Split Testing")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("A/B Testing Made Easy")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Eliminate the guesswork. Test different headlines, content and layouts to see what converts the best.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Traffic Redirection")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Advanced Traffic Redirection")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Send traffic to important pages on your site. Add a button, customize the action and track engagement.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Spin-a-Wheel Campaigns")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Gamified Templates")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Gamify your conversion strategy with interactive spin-a-wheel coupon campaigns to skyrocket your lead and sales growth.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Exit Intent®")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Behavior Personalization")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Display your forms at the precise moment your visitors are about to leave your site.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("OnSite Retargeting®")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("High-Converting Offers")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("New visitor? Returning visitor? Customer? Show perfect offers to any audience.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Campaign Scheduling")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Set It on Autopilot")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Automate the display of campaigns based on the current date, time, day or even month of the year.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("MonsterLinks™")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Click to Load")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("2-step opt-in technology that is proven to work by showing campaigns with the click of a link, button or image.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Countdown Timers")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Highlight Urgency")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Promote time sensitive offers to drive sales by using our dynamic, versatile countdown timers in your campaigns.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Yes / No Forms")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Multi-Step Forms")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Expand the versatility of your campaigns by adding customizable Yes / No Multi-Step forms to your campaigns.")])])]),n("li",[n("div",{staticClass:"omapi-multi-column__primary"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__name"},[e._v("Cart Abandonment")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-redx"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Not Available")])]),n("div",{staticClass:"omapi-multi-column__secondary omapi-success inverted"},[n("div",{staticClass:"omapi-multi-column__title omapi-feature-table__support"},[e._v("Increase Sales Conversions")]),n("div",{staticClass:"omapi-multi-column__text omapi-feature-table__meta"},[e._v("Recover more visitors and increase your customer acquisition rate with our reliable cart and form abandonment features.")])])])])])],1)},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},"9c2b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"omapi-card__flex omapi-dash__create"},e._l(e.templateTypes,function(t,i){return n("templates-type-card",{key:"template-type-"+i,staticClass:"omapi-dash__create-card",attrs:{size:"half",type:i,typeLabel:t}},[n("core-button",{attrs:{linkStyle:!0,arrow:!0}},[e._v("Create New")])],1)}),1)},r=[],a={computed:{templateTypes:function(){return this.$store.getters["templates/typeNames"]}}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"9c36":function(e,t,n){var i={"./Analytics.vue":"9179","./AnalyticsBars.vue":"a22c","./Archive.vue":"93cb","./CampaignType.vue":"cddd","./Checkmark.vue":"11c0","./Cog.vue":"dcba","./Delete.vue":"3eea","./Duplicate.vue":"dbdf","./Edit.vue":"2d94","./Embed.vue":"dc34","./ExclamationTriangle.vue":"df92","./Fire.vue":"7027","./Flag.vue":"4c7a","./Folder.vue":"f34a","./Legacy.vue":"cf4a","./Pause.vue":"71a0","./Plus.vue":"d63f","./Preview.vue":"3c39","./RemoveFolder.vue":"afe5","./Restore.vue":"6a85","./Resume.vue":"1969","./Split.vue":"ffc1","./Times.vue":"45bc","./TimesCircle.vue":"6609","./Trash.vue":"acb5"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="9c36"},"9c6c":function(e,t,n){var i=n("2b4c")("unscopables"),r=Array.prototype;void 0==r[i]&&n("32e9")(r,i,{}),e.exports=function(e){r[i][e]=!0}},"9c6cf":function(e,t,n){"use strict";n.d(t,"a",function(){return a}),n.d(t,"e",function(){return o}),n.d(t,"f",function(){return s}),n.d(t,"b",function(){return c}),n.d(t,"d",function(){return l}),n.d(t,"c",function(){return u});n("456d"),n("ac6a");var i=n("9b02"),r=n.n(i),a=function(e){var t=r()(window,"_omapp.active");if(t){var n=!1;return Object.keys(t).forEach(function(i){"inline"!==i&&0<t[i].length&&t[i].forEach(function(t){e&&!e(t,i)||(t.startClose(!0),n=!0)})}),n}},o=function(e){e.detail.Main.defaults.demo=!0,e.detail.Main.defaults.wp=!0},s=function(e){e.detail.Campaign.preview=!0},c=function(e){e.detail.Campaigns.campaigns.forEach(function(e){return e.forEach(function(e){e.options.bg_close=1})})},l=function(e){var t=e.detail.Campaign;if(t.options.mobile){var n=document.getElementById("om-".concat(t.id)),i="om-".concat(t.id,"-Preview"),r=document.getElementById(i),a=function(e){r!==e.target&&r.firstChild!==e.target||t.startClose(!0)};n.classList.add("MagicMediaQuery-mobile"),r&&(r.removeEventListener("click",a),r.remove()),r=document.createElement("div"),r.id=i,r.innerHTML='<div class="MobilePreview"></div>',t.contain.parentNode.insertBefore(r,t.contain),r.classList.add("Preview"),r.querySelector(".MobilePreview").appendChild(t.contain),t.preview=r,t.Types.Type.position(),r.addEventListener("click",a)}},u=function(e){var t=e.detail.Campaign;if(t.preview=null,t.options.mobile){var n=document.getElementById("om-".concat(t.id,"-Preview"));n&&setTimeout(function(){return n.remove()},100)}}},"9c80":function(e,t){e.exports=function(e){try{return{e:!1,v:e()}}catch(t){return{e:!0,v:t}}}},"9cd5":function(e,t,n){var i={"./button/Copy.vue":"2b1a","./button/CreateNew.vue":"c131","./core/ArchieLoader.vue":"90b0","./core/Card.vue":"16a8","./core/Modal.vue":"60d3","./core/Tooltip.vue":"2580","./input/Select.vue":"a897","./input/Toggle.vue":"d204","./modals/ConfirmationHeader.vue":"b881","./modals/Content.vue":"a8b8","./modals/Header.vue":"91dd","./svg/Archie.vue":"cb40","./svg/Browser.vue":"ffc94","./svg/Calendar.vue":"a104","./svg/ChevronDown.vue":"785a","./svg/ChevronUp.vue":"dcfc","./svg/Close.vue":"56fc","./svg/Filter.vue":"11a8","./svg/Inbox.vue":"9d4b","./svg/Info.vue":"2270","./svg/Loading.vue":"1c93","./svg/Lock.vue":"871c","./svg/Mobile.vue":"0a68","./svg/Search.vue":"72d3","./util/FitText.vue":"1343"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="9cd5"},"9d2a":function(e,t,n){},"9d4b":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{class:{"_om_inbox-icon-solid":!0===e.solid,"_om_inbox-icon-hover-fill":"hover"===e.solid},attrs:{width:"24",height:"25",viewBox:"0 0 24 25",fill:"none",xmlns:"http://www.w3.org/2000/svg"}},[n("path",{attrs:{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M21.3333 0.5H2.66667C1.2 0.5 0 1.7 0 3.16667V21.8333C0 23.3 1.18667 24.5 2.66667 24.5H21.3333C22.8 24.5 24 23.3 24 21.8333V3.16667C24 1.7 22.8 0.5 21.3333 0.5ZM21.3331 21.8329H2.66646V17.8329H7.41313C8.33313 19.4196 10.0398 20.4996 12.0131 20.4996C13.9865 20.4996 15.6798 19.4196 16.6131 17.8329H21.3331V21.8329ZM14.6798 15.1664H21.3331V3.1664H2.66646V15.1664H9.34646C9.34646 16.6331 10.5465 17.8331 12.0131 17.8331C13.4798 17.8331 14.6798 16.6331 14.6798 15.1664Z",fill:"currentColor"}}),e.solid?n("g",{staticClass:"_om_inbox-icon-fill",attrs:{transform:"matrix(1,0,0,1,0,0.371529)"}},[n("path",{attrs:{d:"M14.599,16.8L22,16.8L22,22.8L2,22.8L2,16.8L9.495,16.8C9.974,17.721 10.938,18.35 12.047,18.35C13.156,18.35 14.119,17.721 14.599,16.8Z",fill:"currentColor"}})]):e._e()])},r=[],a={props:{solid:[Boolean,String]}},o=a,s=(n("3ac8"),n("2877")),c=Object(s["a"])(o,i,r,!1,null,"d69bdb96",null);t["default"]=c.exports},"9d7e":function(e,t,n){"use strict";t.__esModule=!0;var i="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"===typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};t.default=function(e){function t(e){for(var t=arguments.length,n=Array(t>1?t-1:0),o=1;o<t;o++)n[o-1]=arguments[o];return 1===n.length&&"object"===i(n[0])&&(n=n[0]),n&&n.hasOwnProperty||(n={}),e.replace(a,function(t,i,a,o){var s=void 0;return"{"===e[o-1]&&"}"===e[o+t.length]?a:(s=(0,r.hasOwn)(n,a)?n[a]:null,null===s||void 0===s?"":s)})}return t};var r=n("8122"),a=/(%|)\{([0-9a-zA-Z_]+)\}/g},"9d96":function(e,t,n){"use strict";function i(e){return s(e)||o(e)||a(e)||r()}function r(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function a(e,t){if(e){if("string"===typeof e)return c(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?c(e,t):void 0}}function o(e){if("undefined"!==typeof Symbol&&Symbol.iterator in Object(e))return Array.from(e)}function s(e){if(Array.isArray(e))return c(e)}function c(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=new Array(t);n<t;n++)i[n]=e[n];return i}function l(){this._defaults=[]}["use","on","once","set","query","type","accept","auth","withCredentials","sortQuery","retry","ok","redirects","timeout","buffer","serialize","parse","ca","key","pfx","cert","disableTLSCerts"].forEach(function(e){l.prototype[e]=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];return this._defaults.push({fn:e,args:n}),this}}),l.prototype._setDefaults=function(e){this._defaults.forEach(function(t){e[t.fn].apply(e,i(t.args))})},e.exports=l},"9def":function(e,t,n){var i=n("4588"),r=Math.min;e.exports=function(e){return e>0?r(i(e),9007199254740991):0}},"9e1a":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("core-pagination",{staticClass:"omapi-campaign-table__pagination",attrs:{perPage:e.perPage,pageTotal:e.campaigns.length,total:e.totalFilteredCampaignsCount,page:e.page},on:{changePage:e.changePage}})},r=[],a=(n("8e6e"),n("ac6a"),n("456d"),n("bd86")),o=n("2f62"),s=n("9bf8");function c(e,t){var n=Object.keys(e);return Object.getOwnPropertySymbols&&n.push.apply(n,Object.getOwnPropertySymbols(e)),t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n}function l(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?c(n,!0).forEach(function(t){Object(a["a"])(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):c(n).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}var u=Object(o["a"])("campaigns"),d=u.mapState,p=u.mapActions,f={computed:l({},d(["page","campaigns","totalFilteredCampaignsCount"]),{totalPages:function(){return Math.ceil(this.totalFilteredCampaignsCount/s["b"])},perPage:function(){return s["b"]}}),methods:l({},p(["goToPage"]),{changePage:function(e){e<=this.totalPages&&0<e&&this.goToPage({page:e})}})},h=f,m=n("2877"),v=Object(m["a"])(h,i,r,!1,null,null,null);t["default"]=v.exports},"9e1e":function(e,t,n){e.exports=!n("79e5")(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},"9e69":function(e,t,n){var i=n("2b3e"),r=i.Symbol;e.exports=r},"9e690":function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("label",{ref:"label",class:"omapi-"+e.type},[e._t("description"),n("input",e._g(e._b({ref:"input",attrs:{type:e.type,name:e.name},domProps:{value:e.value,checked:e.checked||e.selected},on:{keydown:function(t){return!t.type.indexOf("key")&&e._k(t.keyCode,"space",32,t.key,[" ","Spacebar"])?null:e.$emit("input",t)}}},"input",e.$attrs,!1),e.$listeners)),n("span",{class:e.fauxInputClass}),e._t("default",[e._v(e._s(e.label))]),e.$slots.help||e.help?n("span",{class:"omapi-"+e.type+"__helper"},[e._t("help",[e._v("\n\t\t\t"+e._s(e.help)+"\n\t\t")])],2):e._e()],2)},r=[],a={inheritAttrs:!1,props:{type:{type:String,default:"radio"},label:String,help:String,name:String,value:String,inputClass:String,checked:Boolean,selected:Boolean},computed:{fauxInputClass:function(){var e="omapi-".concat(this.type,"__input");return this.inputClass&&(e+=" "+this.inputClass),e}}},o=a,s=n("2877"),c=Object(s["a"])(o,i,r,!1,null,null,null);t["default"]=c.exports},"9f26":function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
224
  //! moment.js locale configuration
225
  var t=/^(janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,n=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?)/i,i=/(janv\.?|févr\.?|mars|avr\.?|mai|juin|juil\.?|août|sept\.?|oct\.?|nov\.?|déc\.?|janvier|février|mars|avril|mai|juin|juillet|août|septembre|octobre|novembre|décembre)/i,r=[/^janv/i,/^févr/i,/^mars/i,/^avr/i,/^mai/i,/^juin/i,/^juil/i,/^août/i,/^sept/i,/^oct/i,/^nov/i,/^déc/i],a=e.defineLocale("fr",{months:"janvier_février_mars_avril_mai_juin_juillet_août_septembre_octobre_novembre_décembre".split("_"),monthsShort:"janv._févr._mars_avr._mai_juin_juil._août_sept._oct._nov._déc.".split("_"),monthsRegex:i,monthsShortRegex:i,monthsStrictRegex:t,monthsShortStrictRegex:n,monthsParse:r,longMonthsParse:r,shortMonthsParse:r,weekdays:"dimanche_lundi_mardi_mercredi_jeudi_vendredi_samedi".split("_"),weekdaysShort:"dim._lun._mar._mer._jeu._ven._sam.".split("_"),weekdaysMin:"di_lu_ma_me_je_ve_sa".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd D MMMM YYYY HH:mm"},calendar:{sameDay:"[Aujourd’hui à] LT",nextDay:"[Demain à] LT",nextWeek:"dddd [à] LT",lastDay:"[Hier à] LT",lastWeek:"dddd [dernier à] LT",sameElse:"L"},relativeTime:{future:"dans %s",past:"il y a %s",s:"quelques secondes",ss:"%d secondes",m:"une minute",mm:"%d minutes",h:"une heure",hh:"%d heures",d:"un jour",dd:"%d jours",M:"un mois",MM:"%d mois",y:"un an",yy:"%d ans"},dayOfMonthOrdinalParse:/\d{1,2}(er|)/,ordinal:function(e,t){switch(t){case"D":return e+(1===e?"er":"");default:case"M":case"Q":case"DDD":case"d":return e+(1===e?"er":"e");case"w":case"W":return e+(1===e?"re":"e")}},week:{dow:1,doy:4}});return a})},"9f74":function(e,t,n){var i=n("48a0");function r(e,t){var n=[];return i(e,function(e,i,r){t(e,i,r)&&n.push(e)}),n}e.exports=r},a026:function(e,t,n){"use strict";n.r(t),function(e){
226
  /*!
355
  var t=e.defineLocale("x-pseudo",{months:"J~áñúá~rý_F~ébrú~árý_~Márc~h_Áp~ríl_~Máý_~Júñé~_Júl~ý_Áú~gúst~_Sép~témb~ér_Ó~ctób~ér_Ñ~óvém~bér_~Décé~mbér".split("_"),monthsShort:"J~áñ_~Féb_~Már_~Ápr_~Máý_~Júñ_~Júl_~Áúg_~Sép_~Óct_~Ñóv_~Déc".split("_"),monthsParseExact:!0,weekdays:"S~úñdá~ý_Mó~ñdáý~_Túé~sdáý~_Wéd~ñésd~áý_T~húrs~dáý_~Fríd~áý_S~átúr~dáý".split("_"),weekdaysShort:"S~úñ_~Móñ_~Túé_~Wéd_~Thú_~Frí_~Sát".split("_"),weekdaysMin:"S~ú_Mó~_Tú_~Wé_T~h_Fr~_Sá".split("_"),weekdaysParseExact:!0,longDateFormat:{LT:"HH:mm",L:"DD/MM/YYYY",LL:"D MMMM YYYY",LLL:"D MMMM YYYY HH:mm",LLLL:"dddd, D MMMM YYYY HH:mm"},calendar:{sameDay:"[T~ódá~ý át] LT",nextDay:"[T~ómó~rró~w át] LT",nextWeek:"dddd [át] LT",lastDay:"[Ý~ést~érdá~ý át] LT",lastWeek:"[L~ást] dddd [át] LT",sameElse:"L"},relativeTime:{future:"í~ñ %s",past:"%s á~gó",s:"á ~féw ~sécó~ñds",ss:"%d s~écóñ~ds",m:"á ~míñ~úté",mm:"%d m~íñú~tés",h:"á~ñ hó~úr",hh:"%d h~óúrs",d:"á ~dáý",dd:"%d d~áýs",M:"á ~móñ~th",MM:"%d m~óñt~hs",y:"á ~ýéár",yy:"%d ý~éárs"},dayOfMonthOrdinalParse:/\d{1,2}(th|st|nd|rd)/,ordinal:function(e){var t=e%10,n=1===~~(e%100/10)?"th":1===t?"st":2===t?"nd":3===t?"rd":"th";return e+n},week:{dow:1,doy:4}});return t})},fdef:function(e,t){e.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},fe1f:function(e,t,n){"use strict";function i(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}n.d(t,"a",function(){return i})},fe43:function(e,t,n){},fe77:function(e,t,n){},fe82:function(e,t,n){"use strict";var i=n("bc53"),r=n.n(i);r.a},ff21:function(e,t,n){"use strict";var i=n("a079");function r(e){if(e)return a(e)}function a(e){for(var t in r.prototype)Object.prototype.hasOwnProperty.call(r.prototype,t)&&(e[t]=r.prototype[t]);return e}e.exports=r,r.prototype.get=function(e){return this.header[e.toLowerCase()]},r.prototype._setHeaderProperties=function(e){var t=e["content-type"]||"";this.type=i.type(t);var n=i.params(t);for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(this[r]=n[r]);this.links={};try{e.link&&(this.links=i.parseLinks(e.link))}catch(a){}},r.prototype._setStatusProperties=function(e){var t=e/100|0;this.statusCode=e,this.status=this.statusCode,this.statusType=t,this.info=1===t,this.ok=2===t,this.redirect=3===t,this.clientError=4===t,this.serverError=5===t,this.error=(4===t||5===t)&&this.toError(),this.created=201===e,this.accepted=202===e,this.noContent=204===e,this.badRequest=400===e,this.unauthorized=401===e,this.notAcceptable=406===e,this.forbidden=403===e,this.notFound=404===e,this.unprocessableEntity=422===e}},ffc1:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.41421"}},[n("path",{attrs:{fill:"currentColor",d:"M72.94441 20.12872l-6.85467-7.00668 21.65849.12768.00203 22.01522-6.87089-7.0229L56.28201 52.8394v34.01393H43.94279V53.06641L19.11842 28.24204l-6.86886 7.0229.00202-22.01522 21.65647-.12768-6.85265 7.00668L49.9989 43.0722 72.9444 20.1287z"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},ffc15:function(e,t,n){var i=n("5ca1"),r=n("504c")(!0);i(i.S,"Object",{entries:function(e){return r(e)}})},ffc9:function(e,t,n){e.exports=n.p+"img/device-mobile.1aab316f.svg"},ffc94:function(e,t,n){"use strict";n.r(t);var i=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("svg",{attrs:{viewBox:"0 0 100 100",xmlns:"http://www.w3.org/2000/svg","fill-rule":"evenodd","clip-rule":"evenodd","stroke-linejoin":"round","stroke-miterlimit":"1.41421"}},[n("path",{attrs:{fill:"currentColor",d:"M86.868 86.849H13.137c0-22.266-.141-44.532 0-66.797.069-3.622 3.259-6.864 6.934-6.934 19.954-.126 39.909-.126 59.863 0 3.655.07 6.911 3.327 6.934 7.025v66.706zm-5-49.125H18.137v44.125h63.731V37.724zm0-5.03V20.159c0-1.064-.926-2.021-1.997-2.041-19.898-.126-39.796 0-59.693 0-1.088.007-2.034.942-2.041 2.041v12.535h63.731zm-54.649-9.901c1.551 0 2.811 1.26 2.811 2.812 0 1.551-1.26 2.811-2.811 2.811-1.552 0-2.811-1.26-2.811-2.811 0-1.552 1.259-2.812 2.811-2.812zm8.479 0c1.552 0 2.811 1.26 2.811 2.812 0 1.551-1.259 2.811-2.811 2.811-1.551 0-2.811-1.26-2.811-2.811 0-1.552 1.26-2.812 2.811-2.812zm8.479 0c1.552 0 2.812 1.26 2.812 2.812 0 1.551-1.26 2.811-2.812 2.811-1.551 0-2.811-1.26-2.811-2.811 0-1.552 1.26-2.812 2.811-2.812z","fill-rule":"nonzero"}})])},r=[],a=n("2877"),o={},s=Object(a["a"])(o,i,r,!1,null,null,null);t["default"]=s.exports},ffd6:function(e,t,n){var i=n("3729"),r=n("1310"),a="[object Symbol]";function o(e){return"symbol"==typeof e||r(e)&&i(e)==a}e.exports=o},ffe0:function(e,t,n){var i={"./common/Card.vue":"d95a","./common/Codebox.vue":"f109","./common/CopyLink.vue":"64d5","./common/NoCampaigns.vue":"ea6b","./common/NotConnected.vue":"2388","./common/ProgressSteps.vue":"80ba","./common/QuickLinks.vue":"a7d9","./common/SelectableGroup.vue":"cf4d","./common/SelectableInput.vue":"9e690","./common/Tabnav.vue":"dcc1","./common/ToggleInput.vue":"f9c6","./common/Tooltip.vue":"7c10","./common/WelcomeBackBox.vue":"52ce","./common/Welcomebox.vue":"af18","./common/modal/WelcomeVideo.vue":"e0de","./common/transition/Slide.vue":"c52a","./common/welcome/FeaturedIn.vue":"3f52","./common/welcome/OmEffect.vue":"98cf","./common/welcome/Testimonials.vue":"2829","./common/welcome/TopReasons.vue":"fa22","./core/Alert.vue":"e8ed","./core/AlertBar.vue":"1bbf","./core/Alerts.vue":"1b63","./core/Button.vue":"c956","./core/ConnectButton.vue":"aaa8","./core/CreateConnect.vue":"bc5c","./core/DropdownButton.vue":"66b1","./core/DropdownSelect.vue":"33ce","./core/Loading.vue":"f17d","./core/LoadingButton.vue":"b195","./core/Page.vue":"e0a1","./core/Pagination.vue":"9196","./core/PluginBanner.vue":"e503","./core/SaveButton.vue":"0d39","./core/SearchButton.vue":"b9e9","./core/UpgradeButton.vue":"d151","./core/WizardButton.vue":"9379","./core/form/DatepickerInput.vue":"b28c","./core/form/FancySelectInput.vue":"4723","./core/form/MultiSelectInput.vue":"4527","./core/form/TextInput.vue":"3526","./modals/ProFeature.vue":"e59c","./table/Base.vue":"fbb7","./table/Cell.vue":"c484","./table/Row.vue":"69c4","./table/WordpressPagination.vue":"d531"};function r(e){var t=a(e);return n(t)}function a(e){var t=i[e];if(!(t+1)){var n=new Error("Cannot find module '"+e+"'");throw n.code="MODULE_NOT_FOUND",n}return t}r.keys=function(){return Object.keys(i)},r.resolve=a,e.exports=r,r.id="ffe0"},ffff:function(e,t,n){(function(e,t){t(n("c1df"))})(0,function(e){"use strict";
356
  //! moment.js locale configuration
357
  var t=e.defineLocale("se",{months:"ođđajagemánnu_guovvamánnu_njukčamánnu_cuoŋománnu_miessemánnu_geassemánnu_suoidnemánnu_borgemánnu_čakčamánnu_golggotmánnu_skábmamánnu_juovlamánnu".split("_"),monthsShort:"ođđj_guov_njuk_cuo_mies_geas_suoi_borg_čakč_golg_skáb_juov".split("_"),weekdays:"sotnabeaivi_vuossárga_maŋŋebárga_gaskavahkku_duorastat_bearjadat_lávvardat".split("_"),weekdaysShort:"sotn_vuos_maŋ_gask_duor_bear_láv".split("_"),weekdaysMin:"s_v_m_g_d_b_L".split("_"),longDateFormat:{LT:"HH:mm",LTS:"HH:mm:ss",L:"DD.MM.YYYY",LL:"MMMM D. [b.] YYYY",LLL:"MMMM D. [b.] YYYY [ti.] HH:mm",LLLL:"dddd, MMMM D. [b.] YYYY [ti.] HH:mm"},calendar:{sameDay:"[otne ti] LT",nextDay:"[ihttin ti] LT",nextWeek:"dddd [ti] LT",lastDay:"[ikte ti] LT",lastWeek:"[ovddit] dddd [ti] LT",sameElse:"L"},relativeTime:{future:"%s geažes",past:"maŋit %s",s:"moadde sekunddat",ss:"%d sekunddat",m:"okta minuhta",mm:"%d minuhtat",h:"okta diimmu",hh:"%d diimmut",d:"okta beaivi",dd:"%d beaivvit",M:"okta mánnu",MM:"%d mánut",y:"okta jahki",yy:"%d jagit"},dayOfMonthOrdinalParse:/\d{1,2}\./,ordinal:"%d.",week:{dow:1,doy:4}});return t})}}]);
358
+ //# sourceMappingURL=common.9609c0d8.js.map
vue/dist/manifest.json CHANGED
@@ -11,8 +11,8 @@
11
  "campaigns.js": "/js/campaigns.350106ce.js",
12
  "campaigns.js.map": "/js/campaigns.350106ce.js.map",
13
  "common.css": "/css/common.50d3a5ac.css",
14
- "common.js": "/js/common.3bdb0f3e.js",
15
- "common.js.map": "/js/common.3bdb0f3e.js.map",
16
  "connect.js": "/js/connect.c2af31a7.js",
17
  "connect.js.map": "/js/connect.c2af31a7.js.map",
18
  "dashboard.css": "/css/dashboard.bae8db65.css",
11
  "campaigns.js": "/js/campaigns.350106ce.js",
12
  "campaigns.js.map": "/js/campaigns.350106ce.js.map",
13
  "common.css": "/css/common.50d3a5ac.css",
14
+ "common.js": "/js/common.9609c0d8.js",
15
+ "common.js.map": "/js/common.9609c0d8.js.map",
16
  "connect.js": "/js/connect.c2af31a7.js",
17
  "connect.js.map": "/js/connect.c2af31a7.js.map",
18
  "dashboard.css": "/css/dashboard.bae8db65.css",