diff --git a/.gitignore b/.gitignore index c224cc20..d6f62b99 100644 --- a/.gitignore +++ b/.gitignore @@ -1,36 +1,17 @@ -# PhpStorm -.idea - -# Sublime -*.sublime-project -*.sublime-workspace +.DS_Store +ehthumbs.db +Thumbs.db -# Grunt +*.cache +composer.lock +phpunit.xml node_modules - -# Bower -/bower_components - -# Sass /.sass-cache - -# Tests -phpunit.xml - -# Logs /logs - -# wordpress.org /build - -# Mac crap -.DS_Store - -# Windows crap -ehthumbs.db -Thumbs.db - /vendor/*/ !/vendor/autoload.php !/vendor/composer/ -!/vendor/stripe/ + +# PhpStorm +.idea diff --git a/composer.json b/composer.json index 7b8c197a..c60a2e63 100644 --- a/composer.json +++ b/composer.json @@ -14,12 +14,15 @@ ], "autoload": { "psr-4": { + "SimplePay\\Core\\": "src/", "SimplePay\\Vendor\\": "lib/", "SimplePay\\Vendor\\Stripe\\": "lib/Stripe/lib" } }, "require": { "berlindb/core": "2.0", + "league/container": "2.5.0", + "psr/container": "1.0.0", "stripe/stripe-php": "7.97.0" }, "scripts": { @@ -33,6 +36,7 @@ "classmap_prefix": "SimplePay_", "packages": [ "berlindb/core", + "league/container", "stripe/stripe-php" ], "delete_vendor_directories": true, diff --git a/composer.lock b/composer.lock index ed8d5654..eaa93ad8 100644 --- a/composer.lock +++ b/composer.lock @@ -4,7 +4,7 @@ "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "This file is @generated automatically" ], - "content-hash": "7340f813b348c93525f6826436108ce6", + "content-hash": "b9f560ca2a39f6ff47b6239772bf60a3", "packages": [ { "name": "berlindb/core", @@ -36,6 +36,172 @@ }, "time": "2021-07-12T14:55:04+00:00" }, + { + "name": "container-interop/container-interop", + "version": "1.2.0", + "source": { + "type": "git", + "url": "https://github.com/container-interop/container-interop.git", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "shasum": "" + }, + "require": { + "psr/container": "^1.0" + }, + "type": "library", + "autoload": { + "psr-4": { + "Interop\\Container\\": "src/Interop/Container/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", + "homepage": "https://github.com/container-interop/container-interop", + "support": { + "issues": "https://github.com/container-interop/container-interop/issues", + "source": "https://github.com/container-interop/container-interop/tree/master" + }, + "abandoned": "psr/container", + "time": "2017-02-14T19:40:03+00:00" + }, + { + "name": "league/container", + "version": "2.5.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/container.git", + "reference": "8438dc47a0674e3378bcce893a0a04d79a2c22b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/container/zipball/8438dc47a0674e3378bcce893a0a04d79a2c22b3", + "reference": "8438dc47a0674e3378bcce893a0a04d79a2c22b3", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "^1.2", + "php": "^5.4 || ^7.0 || ^8.0" + }, + "provide": { + "container-interop/container-interop-implementation": "^1.2", + "psr/container-implementation": "^1.0" + }, + "replace": { + "orno/di": "~2.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36", + "scrutinizer/ocular": "^1.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "autoload": { + "psr-4": { + "League\\Container\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Phil Bennett", + "email": "philipobenito@gmail.com", + "homepage": "http://www.philipobenito.com", + "role": "Developer" + } + ], + "description": "A fast and intuitive dependency injection container.", + "homepage": "https://github.com/thephpleague/container", + "keywords": [ + "container", + "dependency", + "di", + "injection", + "league", + "provider", + "service" + ], + "support": { + "issues": "https://github.com/thephpleague/container/issues", + "source": "https://github.com/thephpleague/container/tree/2.5.0" + }, + "funding": [ + { + "url": "https://github.com/philipobenito", + "type": "github" + } + ], + "time": "2021-02-22T09:20:06+00:00" + }, + { + "name": "psr/container", + "version": "1.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, + "time": "2017-02-14T16:28:37+00:00" + }, { "name": "stripe/stripe-php", "version": "v7.97.0", diff --git a/includes/core/abstracts/abstract-custom-field.php b/includes/core/abstracts/abstract-custom-field.php index c0d7d6e5..59a23a86 100644 --- a/includes/core/abstracts/abstract-custom-field.php +++ b/includes/core/abstracts/abstract-custom-field.php @@ -3,7 +3,7 @@ * Custom field * * @package SimplePay\Core\Abstracts - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/abstracts/abstract-field.php b/includes/core/abstracts/abstract-field.php index fa816be2..893798c2 100644 --- a/includes/core/abstracts/abstract-field.php +++ b/includes/core/abstracts/abstract-field.php @@ -3,7 +3,7 @@ * Setting field * * @package SimplePay\Core\Abstracts - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/abstracts/abstract-form.php b/includes/core/abstracts/abstract-form.php index e516d19b..a68007c4 100644 --- a/includes/core/abstracts/abstract-form.php +++ b/includes/core/abstracts/abstract-form.php @@ -3,7 +3,7 @@ * Payment form * * @package SimplePay\Core\Abstracts - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/class-assets.php b/includes/core/admin/class-assets.php index e1ae6ecd..ca7e9648 100644 --- a/includes/core/admin/class-assets.php +++ b/includes/core/admin/class-assets.php @@ -3,7 +3,7 @@ * Admin assets * * @package SimplePay\Core\Admin - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -75,7 +75,7 @@ public function setup() { $this->scripts = array( 'simpay-chosen' => array( 'src' => SIMPLE_PAY_INC_URL . 'core/assets/js/vendor/chosen.jquery.min.js', - 'deps' => array( 'jquery', 'jquery-ui-sortable' ), + 'deps' => array( 'jquery', 'jquery-ui-dialog', 'jquery-ui-sortable' ), 'ver' => SIMPLE_PAY_VERSION, 'footer' => false, ), @@ -114,7 +114,7 @@ public function setup() { ), 'simpay-admin' => array( 'src' => SIMPLE_PAY_INC_URL . 'core/assets/css/simpay-admin.min.css', - 'deps' => array( 'simpay-chosen' ), + 'deps' => array( 'simpay-chosen', 'wp-jquery-ui-dialog' ), 'ver' => SIMPLE_PAY_VERSION, 'media' => 'all', ), @@ -159,6 +159,26 @@ public function register() { wp_register_script( $script, $values['src'], $values['deps'], $values['ver'], $values['footer'] ); } } + + if ( isset( $this->scripts['simpay-admin'] ) ) { + wp_localize_script( + 'simpay-admin', + 'simpayAdmin', + array( + 'siteTitle' => get_bloginfo( 'name' ), + 'i18n' => array( + 'disconnectConfirm' => esc_html__( + 'Disconnect', + 'stripe' + ), + 'disconnectCancel' => esc_html__( + 'Cancel', + 'stripe' + ), + ), + ) + ); + } } } diff --git a/includes/core/admin/class-menus.php b/includes/core/admin/class-menus.php index d19c24f9..1b8a242b 100644 --- a/includes/core/admin/class-menus.php +++ b/includes/core/admin/class-menus.php @@ -3,7 +3,7 @@ * Admin menu * * @package SimplePay\Core\Admin - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -119,33 +119,60 @@ public function admin_bar_menu() { * @return array */ public static function plugin_action_links( $action_links, $file ) { + if ( self::$plugin !== $file ) { + return $action_links; + } - if ( self::$plugin == $file ) { - - $settings_url = Settings\get_url( array( - 'section' => 'stripe', - ) ); + $links = array(); - $forms_url = add_query_arg( - array( - 'post_type' => 'simple-pay', - ), - admin_url( 'edit.php' ) + // Upgrade to Pro. + if ( ! class_exists( 'SimplePay\Pro\SimplePayPro', false ) ) { + $links[] = sprintf( + '%s', + simpay_ga_url( 'https://wpsimplepay.com/lite-vs-pro/', 'admin-menu' ), + esc_html__( 'Upgrade to Pro', 'stripe' ) ); + } + + // Settings. + $settings_url = Settings\get_url( array( + 'section' => 'stripe', + ) ); - $links = array(); - $links['settings'] = '' . esc_html__( 'Settings', 'stripe' ) . ''; - $links['forms'] = '' . esc_html__( 'Payment Forms', 'stripe' ) . ''; + $links[] = sprintf( + '%s', + esc_url( $settings_url ), + esc_html__( 'Settings', 'stripe' ) + ); + + if ( class_exists( 'SimplePay\Pro\SimplePayPro', false ) ) { + // Documentation. + $documentation_url = simpay_ga_url( + 'https://docs.wpsimplepay.com/', + 'plugin-listing-link', + false + ); - if ( ! defined( 'SIMPLE_PAY_PLUGIN_NAME' ) ) { - $upgrade_link = '' . esc_html__( 'Upgrade to Pro', 'stripe' ) . ''; + $links[] = sprintf( + '%s', + esc_url( $documentation_url ), + esc_html__( 'Documentation', 'stripe' ) + ); - array_push( $action_links, $upgrade_link ); - } + // Support. + $support_url = simpay_ga_url( + 'https://wpsimplepay.com/contact/', + 'plugin-listing-link', + false + ); - return apply_filters( 'simpay_plugin_action_links', array_merge( $links, $action_links ) ); + $links[] = sprintf( + '%s', + esc_url( $support_url ), + esc_html__( 'Support', 'stripe' ) + ); } - return $action_links; + return array_merge( $links, $action_links ); } } diff --git a/includes/core/admin/class-notice-manager.php b/includes/core/admin/class-notice-manager.php index 6b17b49a..57c19843 100644 --- a/includes/core/admin/class-notice-manager.php +++ b/includes/core/admin/class-notice-manager.php @@ -3,7 +3,7 @@ * Admin notices * * @package SimplePay\Core\Admin - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.5.0 */ @@ -302,7 +302,18 @@ public static function print_notice( $notice, $notice_id, $notice_args ) { ); if ( $notice_args['dismissible'] ) { - $classes[] = 'is-dismissible'; + switch ( $notice_id ) { + // Check lately because the `simpay_can_site_manage_stripe_keys` filter + // has not run upon notice registration. + case 'stripe_connect': + if ( simpay_can_site_manage_stripe_keys() ) { + $classes[] = 'is-dismissible'; + } + + break; + default: + $classes[] = 'is-dismissible'; + } } ?> diff --git a/includes/core/admin/fields/class-checkbox.php b/includes/core/admin/fields/class-checkbox.php index bb3b2bff..db9c21cd 100644 --- a/includes/core/admin/fields/class-checkbox.php +++ b/includes/core/admin/fields/class-checkbox.php @@ -3,7 +3,7 @@ * Admin setting fields: Checkbox * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -81,7 +81,7 @@ class="simpay-field simpay-field-checkbox" } else { ?> - style ? 'style="' . $this->style . '"' : ''; ?>> + + description ) ) { diff --git a/includes/core/admin/fields/class-custom-html.php b/includes/core/admin/fields/class-custom-html.php index 50e84cda..20bbcc99 100644 --- a/includes/core/admin/fields/class-custom-html.php +++ b/includes/core/admin/fields/class-custom-html.php @@ -3,7 +3,7 @@ * Admin setting fields: Custom HTML * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/fields/class-editor.php b/includes/core/admin/fields/class-editor.php index 94b17865..536ff6a3 100644 --- a/includes/core/admin/fields/class-editor.php +++ b/includes/core/admin/fields/class-editor.php @@ -3,7 +3,7 @@ * Admin setting fields: TinyMCE Editor * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/fields/class-radio.php b/includes/core/admin/fields/class-radio.php index 99146212..130c9f8d 100644 --- a/includes/core/admin/fields/class-radio.php +++ b/includes/core/admin/fields/class-radio.php @@ -3,7 +3,7 @@ * Admin setting fields: Radio * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/fields/class-select.php b/includes/core/admin/fields/class-select.php index 68fb13c0..083ea133 100644 --- a/includes/core/admin/fields/class-select.php +++ b/includes/core/admin/fields/class-select.php @@ -3,7 +3,7 @@ * Admin setting fields: Select * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/fields/class-standard.php b/includes/core/admin/fields/class-standard.php index fd63679f..86649389 100644 --- a/includes/core/admin/fields/class-standard.php +++ b/includes/core/admin/fields/class-standard.php @@ -3,7 +3,7 @@ * Admin setting fields: Standard * * @package SimplePay\Core\Admin\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/admin/functions/notices.php b/includes/core/admin/functions/notices.php index f48bd7d8..df78199a 100644 --- a/includes/core/admin/functions/notices.php +++ b/includes/core/admin/functions/notices.php @@ -3,7 +3,7 @@ * Admin notices: Callbacks * * @package SimplePay\Core\Admin\Notices - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.4.0 */ @@ -73,7 +73,11 @@ function no_rest_api() { * @return string */ function stripe_connect() { - if ( simpay_is_admin_screen() && isset( $_GET['tab'] ) && 'keys' === $_GET['tab'] ) { + if ( + simpay_is_admin_screen() && + isset( $_GET['post_type'] ) && + 'simple-pay' === sanitize_key( $_GET['post_type'] ) + ) { return false; } @@ -87,13 +91,17 @@ function stripe_connect() { ?>

- +

+ + + +

', + '', '' ), array( diff --git a/includes/core/admin/functions/plugin-upgrade-notice.php b/includes/core/admin/functions/plugin-upgrade-notice.php index f12783d1..bf263149 100644 --- a/includes/core/admin/functions/plugin-upgrade-notice.php +++ b/includes/core/admin/functions/plugin-upgrade-notice.php @@ -5,7 +5,7 @@ * Used to show an extra note when a big change is coming. * * @package SimplePay\Core\Admin\Plugin_Upgrade_Notice - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.5.0 */ diff --git a/includes/core/admin/notices/promos.php b/includes/core/admin/notices/promos.php index bc867a5b..7c885329 100644 --- a/includes/core/admin/notices/promos.php +++ b/includes/core/admin/notices/promos.php @@ -5,7 +5,7 @@ * Additional promotional notices. * * @package SimplePay\Core\Admin\Notices\Promos - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.5 */ @@ -14,87 +14,6 @@ use SimplePay\Core\Admin\Notice_Manager; -/** - * Includes the views required for a "Generic" upgrade promo. - * - * Used mainly in the "Edit Form" tab views. - * - * @todo Implement against a better Notice registry. - * - * @since 3.6.5 - */ -function tab_view() { - if ( class_exists( '\SimplePay\Pro\Lite_Helper', false ) ) { - return; - } - - ?> - - - - - - -
- -
- $start ) && ( $now < $end ) ) { - return true; - } - - return false; -} - /** * Outputs a top-of-page promotion to upgrade to Pro, or upgrade a license. * @@ -153,43 +72,7 @@ function license_upgrade_promo() { ? $license_types[ $license_id ] : false; - switch ( $current_screen->base ){ - case 'post': - $source = sprintf( - '%s-payment-form', - 'add' === $current_screen->action ? 'add' : 'edit' - ); - break; - case 'edit': - $source = 'list-payment-forms'; - break; - case 'simple-pay_page_simpay_settings': - $source = 'settings'; - break; - case 'simple-pay_page_simpay_system_status': - $source = 'system-status'; - break; - default: - $source = $current_screen->base; - } - - $utm_args = array( - 'utm_source' => $source, - 'utm_medium' => sprintf( - 'upgrade-from-%s', - true === $is_lite ? 'lite' : 'pro-' . $license_id - ), - 'utm_campaign' => 'admin', - 'utm_content' => 'link-1', - ); - - if ( true === $is_lite ) { - $upgrade_base_url = 'https://wpsimplepay.com/lite-vs-pro/'; - } else { - $upgrade_base_url = 'https://wpsimplepay.com/my-account/licenses/'; - } - - $upgrade_url = add_query_arg( $utm_args, $upgrade_base_url ); + $upgrade_url = simpay_pro_upgrade_url( 'notice-bar' ); require dirname( __FILE__ ) . '/promos/general/license-upgrade.php'; } diff --git a/includes/core/admin/notices/promos/bfcm/images/bfcm-header.svg b/includes/core/admin/notices/promos/bfcm/images/bfcm-header.svg deleted file mode 100644 index 8eaf5a35..00000000 --- a/includes/core/admin/notices/promos/bfcm/images/bfcm-header.svg +++ /dev/null @@ -1 +0,0 @@ - \ No newline at end of file diff --git a/includes/core/admin/notices/promos/bfcm/sidebar.php b/includes/core/admin/notices/promos/bfcm/sidebar.php deleted file mode 100644 index 86ffe5a1..00000000 --- a/includes/core/admin/notices/promos/bfcm/sidebar.php +++ /dev/null @@ -1,57 +0,0 @@ - 'global-settings', - 'utm_medium' => 'wp-admin', - 'utm_campaign' => 'bfcm2019', - 'utm_content' => 'sidebar-promo-' . $current_tab, -); -$url = add_query_arg( $utm_args, 'https://wpsimplepay.com/lite-vs-pro/' ); -?> - -
- -
- -
- -
-

this week, including renewals and upgrades!', 'stripe' ); ?>

-
- -
- - -

our other plugins.', 'stripe' ); ?>

-
- - - -
diff --git a/includes/core/admin/notices/promos/bfcm/style.css b/includes/core/admin/notices/promos/bfcm/style.css deleted file mode 100644 index 724e9eb8..00000000 --- a/includes/core/admin/notices/promos/bfcm/style.css +++ /dev/null @@ -1,110 +0,0 @@ -/* Sidebar */ -.simpay-settings-sidebar-content { - background-color: #fff; - text-align: center; - border: 1px solid #ddd; - box-sizing: border-box; -} - -.simpay-settings-sidebar-content p { - font-size: 14px; - line-height: 1.5; - margin-top: 0; -} - -/* Sidebar header section */ -.simpay-sidebar-header-section { - background-color: #428bca; - line-height: 1; - padding: 26px 20px 24px; - border-bottom: 3px dashed #fafafa; -} - -/* Sidebar description section */ -.simpay-sidebar-description-section { - background-color: #fafafa; - padding: 16px 20px; - border-bottom: 1px solid #ddd; -} - -.simpay-sidebar-description-section .simpay-sidebar-description { - margin: 0; -} - -/* Sidebar coupon section */ -.simpay-sidebar-coupon-section { - font-size: 14px; - padding: 16px 20px; -} - -.simpay-sidebar-coupon-section label { - display: block; - line-height: 1.4; - margin-bottom: 6px; -} - -.simpay-sidebar-coupon-section label strong { - color: #253b51; - font-weight: 700; -} - -.simpay-sidebar-coupon-section input { - background: #FFF7EC; - font-size: 22px; - font-weight: 600; - text-align: center; - padding: 10px; - border: 2px dashed #FFB957; - border-radius: 4px; - margin-bottom: 16px; - box-shadow: none; - width: 100%; -} - -.simpay-sidebar-coupon-section input:focus { - border: 2px dashed #FFB957; - box-shadow: none; -} - -.simpay-settings-sidebar-content .simpay-coupon-note { - color: #6c7883; - font-size: 13px; - font-style: italic; - margin: 0; -} - -.simpay-settings-sidebar-content .simpay-coupon-note a { - color: #253b51; -} - -.simpay-settings-sidebar-content .simpay-coupon-note a:hover { - text-decoration: none; -} - -/* Sidebar footer section */ -.simpay-sidebar-footer-section { - background-color: #fafafa; - padding: 16px 20px; - border-top: 1px solid #ddd; -} - -.simpay-sidebar-footer-section .simpay-cta-button { - display: block; - background-color: #428bca; - color: #fff; - text-decoration: none; - font-size: 20px; - font-weight: 700; - text-transform: uppercase; - padding: 17px 10px; - border: none; - border-radius: 4px; - width: 100%; - box-sizing: border-box; - box-shadow: none; - transition: background-color .2s; -} - -.simpay-sidebar-footer-section .simpay-cta-button:hover { - background-color: #3576af; -} diff --git a/includes/core/admin/notices/promos/general/generic-tab-promo.php b/includes/core/admin/notices/promos/general/generic-tab-promo.php deleted file mode 100644 index f5f925de..00000000 --- a/includes/core/admin/notices/promos/general/generic-tab-promo.php +++ /dev/null @@ -1,36 +0,0 @@ - -

- -

- -

- - - - - -

Black Friday & Cyber Monday sale!

-

- SAVE 25% on all WP Simple Pay Pro purchases this week, including renewals and upgrades! Sale ends 23:59 PM December 6th CST. Use code BFCM2019 at checkout.', 'stripe' ); ?> -

- diff --git a/includes/core/admin/notices/promos/general/license-upgrade.php b/includes/core/admin/notices/promos/general/license-upgrade.php index e907bcc7..7d43fb31 100644 --- a/includes/core/admin/notices/promos/general/license-upgrade.php +++ b/includes/core/admin/notices/promos/general/license-upgrade.php @@ -27,7 +27,7 @@ class="simpay-admin-notice-top-of-page simpay-notice" sprintf( /* translators: %1$s Opening anchor tag, do not translate. %2$s Closing anchor tag, do not translate. */ __( - 'You are using WP Simple Pay Lite. %1$sPurchase a license%2$s to get custom amounts, recurring payments and more.', + 'You\'re using WP Simple Pay Lite. To unlock more features consider %1$supgrading to Pro%2$s.', 'stripe' ), '', @@ -46,7 +46,7 @@ class="simpay-admin-notice-top-of-page simpay-notice" case 1: /* translators: %1$s License type. %2$s Opening anchor tag, do not translate. %3$s Closing anchor tag, do not translate. */ $message = __( - 'You are using WP Simple Pay with a %1$s license. Consider %2$supgrading%3$s to get recurring payments and more.', + 'You\'re using WP Simple Pay with a %1$s license. To unlock more features consider %2$supgrading now%3$s.', 'stripe' ); break; diff --git a/includes/core/admin/notices/promos/general/promo-under-box-footer.php b/includes/core/admin/notices/promos/general/promo-under-box-footer.php deleted file mode 100644 index 4fc7c946..00000000 --- a/includes/core/admin/notices/promos/general/promo-under-box-footer.php +++ /dev/null @@ -1,38 +0,0 @@ - 'form-settings', - 'utm_medium' => 'wp-admin', - 'utm_campaign' => 'bfcm2019', - 'utm_content' => 'upgrade-promo', - ); - $upgrade_url = add_query_arg( $utm_args, 'https://wpsimplepay.com/lite-vs-pro/' ); -} -?> - -

- - - -

- - diff --git a/includes/core/admin/notices/promos/general/promo-under-box-header.php b/includes/core/admin/notices/promos/general/promo-under-box-header.php deleted file mode 100644 index ff2bacb1..00000000 --- a/includes/core/admin/notices/promos/general/promo-under-box-header.php +++ /dev/null @@ -1,13 +0,0 @@ - - -
diff --git a/includes/core/admin/notices/promos/general/sidebar.php b/includes/core/admin/notices/promos/general/sidebar.php deleted file mode 100644 index b847c5e4..00000000 --- a/includes/core/admin/notices/promos/general/sidebar.php +++ /dev/null @@ -1,67 +0,0 @@ - - - - - diff --git a/includes/core/admin/pages/class-system-status.php b/includes/core/admin/pages/class-system-status.php index 05b2895e..f7613c36 100644 --- a/includes/core/admin/pages/class-system-status.php +++ b/includes/core/admin/pages/class-system-status.php @@ -3,7 +3,7 @@ * Admin pages: System Status * * @package SimplePay\Core\Admin\Pages - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -103,7 +103,8 @@ public static function html() {
-

+

+

diff --git a/includes/core/admin/usage-tracking/class-tracker.php b/includes/core/admin/usage-tracking/class-tracker.php index ad95414d..682e33f3 100644 --- a/includes/core/admin/usage-tracking/class-tracker.php +++ b/includes/core/admin/usage-tracking/class-tracker.php @@ -3,7 +3,7 @@ * Usage tracking * * @package SimplePay\Core\Admin\Usage_Tracking - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/admin/usage-tracking/functions.php b/includes/core/admin/usage-tracking/functions.php index 7002ea93..d67c9983 100644 --- a/includes/core/admin/usage-tracking/functions.php +++ b/includes/core/admin/usage-tracking/functions.php @@ -3,7 +3,7 @@ * Usage tracking: functions * * @package SimplePay\Core\Admin\Usage_Tracking - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/admin/usage-tracking/settings.php b/includes/core/admin/usage-tracking/settings.php index a9c623cc..8dddc443 100644 --- a/includes/core/admin/usage-tracking/settings.php +++ b/includes/core/admin/usage-tracking/settings.php @@ -3,7 +3,7 @@ * Usage Tracking: Settings * * @package SimplePay\Pro\Webhooks - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/api/coupons.php b/includes/core/api/coupons.php index e2552e9e..ca9a5d0f 100644 --- a/includes/core/api/coupons.php +++ b/includes/core/api/coupons.php @@ -31,7 +31,7 @@ * } * @return \SimplePay\Vendor\Stripe\Coupon */ -function create( array $coupon_args, array $api_request_args = array() ) { +function create( $coupon_args, $api_request_args = array() ) { $defaults = array(); $coupon_args = wp_parse_args( $coupon_args, $defaults ); @@ -57,11 +57,7 @@ function create( array $coupon_args, array $api_request_args = array() ) { * @param array $opts Per-request options, default empty. * @return \SimplePay\Vendor\Stripe\Coupon */ -function retrieve( - string $coupon_id, - array $api_request_args = array(), - array $opts = array() -) { +function retrieve( $coupon_id, $api_request_args = array(), $opts = array() ) { return Stripe_API::request( 'Coupon', 'retrieve', @@ -85,11 +81,7 @@ function retrieve( * } * @return \SimplePay\Vendor\Stripe\Coupon */ -function update( - string $coupon_id, - array $coupon_args = array(), - array $api_request_args = array() -) { +function update( $coupon_id, $coupon_args = array(), $api_request_args = array() ) { return Stripe_API::request( 'Coupon', 'update', @@ -112,7 +104,7 @@ function update( * } * @return \SimplePay\Vendor\Stripe\Coupon */ -function delete( string $coupon_id, array $api_request_args = array() ) { +function delete( $coupon_id, $api_request_args = array() ) { $coupon = retrieve( $coupon_id, $api_request_args ); return $coupon->delete(); } diff --git a/includes/core/assets/css/admin/admin.scss b/includes/core/assets/css/admin/admin.scss index 9a04699f..aeb89db9 100644 --- a/includes/core/assets/css/admin/admin.scss +++ b/includes/core/assets/css/admin/admin.scss @@ -81,75 +81,91 @@ } } -// Global settings pages -#simpay-global-settings { +.simpay-settings-upgrade { + background-color: #fff; + border: 1px solid #dadada; + padding: 25px 20px 30px; + margin: 10px 0 0; + position: relative; - // Remove right margin for sidebar promo on mobile. - @media (max-width: 768px) { - margin-right: 0; + &__inner { + text-align: center; + max-width: 750px; + margin: 0 auto; } - // form-table is the class given to the table generated by WordPress when using the settings API - .form-table { - - .payment-details-description-tag { - display: inline-block; - background: rgba(0, 0, 0, 0.07); - padding: 0 3px; - } - - } // end .form-table + h3, + h4 { + line-height: 1; + margin: 1rem 0; + } - #simpay-settings-left { - float: left; - width: 100%; + h4 { + color: #428bca; + font-size: 18px; } - #simpay-settings-sidebar-right { + h3 { + font-size: 26px; + } - float: right; - width: 270px; - margin-right: -290px; + ul { + max-width: 550px; + margin: 25px auto 13px; + display: flex; + flex-wrap: wrap; + justify-content: center; + } - // Move sidebar promo below other settings on mobile. - @media (max-width: 768px) { - float: left; - margin-right: 0; - } + li { + font-size: 15px; + text-align: center; + margin-bottom: 12px; + width: 100%; - h3 { - padding: 10px 12px; + @media screen and (min-width: 782px) { + text-align: left; + width: 50%; } + } - .centered { - text-align: center; - } + .button.button-large { + font-size: 17px; + line-height: 30px; + padding: 10px 20px; + } - .button-large { - font-size: 17px; - line-height: 30px; - height: 32px; - } + small { + color: #666; + margin: 15px 0 0; + display: block; + } - .sidebar-heading { - font-size: 17px; - } + .dashicons { + color: #428bca; + } - .postbox-nobg { - position: relative; - min-width: 255px; - } + .button-link { + position: absolute; + top: 0; + right: 0; + font-size: 20px; + color: #666; + font-weight: bold; + text-decoration: none; + margin-left: 5px; + padding: 6px 10px; + z-index: 2; - .sidebar-container .postbox .inside { - margin-bottom: 0; + &:hover, + &:active, + &:focus { + color: #666; + text-decoration: none; } } } -.simpay-global-settings--has-sidebar { - margin-right: 310px; -} - // Form settings tabs/pages #simpay-payment-form-settings { @@ -297,6 +313,7 @@ } .simpay-panel { + overflow: hidden; > table { @@ -643,25 +660,31 @@ font-size: 17px; } } +} - // Pro or account upgrade link button - .simpay-upgrade-btn { - background-color: #428bca; - border: 1px solid #428bca; - color: #fff; - display: inline-block; +// Pro or account upgrade link button +.button.button-primary.simpay-upgrade-btn { + background-color: #428bca; + border: 1px solid #428bca; + color: #fff; + display: inline-block; - &:focus { - box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2d6ca2; - } + &:focus { + box-shadow: 0 0 0 1px #fff, 0 0 0 3px #2d6ca2; + } - &:hover { - background-color: #037ad0; - border: 1px solid #428bca; - } + &:hover { + background-color: #037ad0; + border: 1px solid #428bca; } } +.simpay-upgrade-btn-subtext { + font-size: 14px; + color: green; + margin-top: 5px; +} + .post-type-simple-pay { #post-body-content { @@ -827,6 +850,367 @@ select.simpay-currency-symbol { border-bottom-left-radius: 4px; } +/** + * Screen Options + */ +.post-php.post-type-simple-pay { + + #screen-meta-links { + display: none; + } +} + +.edit-php.post-type-simple-pay .metabox-prefs { + + label:first-of-type { + display: none; + } +} + +/** + * Page branding bar + */ +.simpay-branding-bar { + margin-left: -20px; + padding: 14px 20px 14px 22px; + background: #fff; + border-bottom: 1px solid #c3c4c7; + + &__title { + display: flex; + align-items: center; + } + + &__logo { + width: 180px; + margin-bottom: 12px; + } + + &__divider { + color: #dadbdf; + font-size: 23px; + font-weight: 400; + margin: 0 15px; + } + + .wp-heading-inline { + font-size: 23px; + font-weight: 400; + margin: 0; + } + + .page-title-action { + font-weight: 600; + font-size: 13px; + line-height: normal; + cursor: pointer; + text-shadow: none; + text-decoration: none; + margin-left: 10px; + padding: 4px 8px; + border: 1px solid currentColor; + border-radius: 2px; + background: #f6f7f7; + } +} + +/** + * "Landing zone" + */ +.simpay-landing-zone { + text-align: center; + max-width: 700px; + margin: 40px auto; + + &__title { + font-size: 26px; + font-weight: 600; + margin: 0 0 1.5rem; + padding: 0; + } + + &__subtitle { + font-size: 17px; + color: #666; + margin: 0.25rem 0; + + strong { + color: #444; + } + } + + section { + margin: 2rem 0; + } + + &__empty-state-graphic { + + img { + width: 425px; + } + } + + &__screenshot { + & > * { + vertical-align: middle; + } + + &-img { + display: inline-block; + position: relative; + width: 315px; + padding: 5px; + background-color: #ffffff; + box-shadow: 0px 2px 5px 0px rgba(0, 0, 0, 0.05); + border-radius: 3px; + + img { + max-width: 100%; + display: block; + } + + .hover { + position: absolute; + opacity: 0; + height: calc(100% - 10px); + width: calc(100% - 10px); + top: 0; + left: 0; + border: 5px solid #ffffff; + background-color: rgba(0,0,0,0.15); + background-image: url('../../images/smtp/zoom.svg'); + background-repeat: no-repeat; + background-position: center; + background-size: 50px; + transition: all 0.3s; + } + + &:hover .hover { + opacity: 1; + transition: all 0.3s; + } + } + + ul { + text-align: left; + display: inline-block; + margin: 0 0 0 30px; + list-style-type: none; + max-width: calc(100% - 350px); + + @media screen and (max-width: 782px) { + text-align: center; + margin: 30px auto; + max-width: 100%; + display: block; + } + } + + li { + margin: 16px 0; + padding: 0; + font-size: 15px; + color: #777777; + position: relative; + + &:before { + content: ''; + background-image: url('../../images/smtp/arrow-right.svg'); + background-position: center; + background-repeat: no-repeat; + background-size: 14px; + width: 14px; + height: 14px; + display: inline-block; + margin: -3px 5px 0 0; + vertical-align: middle; + } + } + } + + .button.button-large { + font-size: 17px; + line-height: 30px; + padding: 10px 20px; + } +} + +/** + * Teasers + */ +.simpay-teaser-float { + margin: 50px; + position: relative; + + &__card { + text-align: center; + padding: 30px; + background: #fff; + border-radius: 4px; + box-shadow: 0 0 30px 15px rgb(0 0 0 / 18%); + position: relative; + z-index: 2; + } + + #poststuff & h2, + h2 { + font-size: 24px; + font-weight: 600; + margin: 0; + padding: 0; + } + + p { + font-size: 15px; + line-height: 1.35; + color: #666; + + strong { + color: #444; + } + } + + ul { + text-align: left; + display: inline-block; + margin: -10px 0 20px; + list-style-type: none; + } + + li { + margin: 16px 0; + padding: 0 0 0 24px; + font-size: 15px; + background-image: url('../../images/smtp/arrow-right.svg'); + background-position: left 3px; + background-repeat: no-repeat; + background-size: 14px; + color: #777777; + } + + .button.button-large { + font-size: 17px; + line-height: 30px; + padding: 10px 20px; + } + + .simpay-notice-dismiss { + position: absolute; + top: 0; + right: 0; + font-size: 20px; + color: #666; + font-weight: bold; + text-decoration: none; + margin-left: 5px; + padding: 6px 10px; + z-index: 2; + + &:hover, + &:active, + &:focus { + color: #666; + text-decoration: none; + } + } + + &:after, + &:before { + opacity: 0.75; + z-index: 0; + content: ''; + position: absolute; + left: -30px; + right: -30px; + top: -35px; + width: calc(100% + 60px); + height: 170px; + background-image: + linear-gradient(#ddd, #ddd), + linear-gradient(#eee, #eee), + linear-gradient(#ddd, #ddd), + linear-gradient(#eee, #eee); + background-repeat: no-repeat; + background-size: + 100% 20px, + 100% 40px, + 100% 20px, + 100% 40px; + background-position: + 0 0, + 0 30px, + 0 100px, + 0 130px; + } + + &:before { + top: 170px; + } + + &--inline { + margin: 40px 30px 30px; + + .simpay-teaser-float__card { + padding: 22px; + box-shadow: 0 0 12px 6px rgb(0 0 0 / 16%); + } + + #poststuff & h2, + h2 { + font-size: 18px; + } + + p { + font-size: 14px; + margin: 0.50rem 0 0.75rem; + } + + .button.button-large { + font-size: 15px; + line-height: 24px; + padding: 8px 14px; + } + + &:before, + &:after { + opacity: 0.60; + } + + &:before { + display: none; + } + + &:after { + top: 15px; + } + } +} + +/** + * Lity adjustments. + */ +.post-type-simple-pay { + + .lity { + z-index: 999999999; + padding: 20px; + } + + .lity-close { + margin: 10px; + } + + .lity-content { + max-width: 80vw; + max-height: 80vh; + + img { + max-height: 80vh !important; + max-width: 80vw !important; + } + } +} + /* * Stripe Connect */ diff --git a/includes/core/assets/css/admin/all-pages.scss b/includes/core/assets/css/admin/all-pages.scss index d7cc3ce5..b3c7c3d8 100644 --- a/includes/core/assets/css/admin/all-pages.scss +++ b/includes/core/assets/css/admin/all-pages.scss @@ -17,6 +17,23 @@ } } +.simpay-settings-bubble { + display: inline-block; + vertical-align: top; + box-sizing: border-box; + margin: 1px 0 -1px 2px; + padding: 0 5px; + min-width: 18px; + height: 18px; + border-radius: 9px; + background-color: #d63638; + color: #fff; + font-size: 11px; + line-height: 1.6; + text-align: center; + z-index: 26; +} + // Admin bar test mode active link #wpadminbar .simpay-admin-bar-test-mode > .ab-item { display: flex; @@ -41,7 +58,22 @@ // Admin menu upgrade link #adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn) { + color: #fff; + background-color: #347d39 !important; + + &:hover { + color: #fff !important; + } +} + + +#adminmenu .opensub a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn) { + margin-right: 6px; +} + +.simpay-upgrade-link { color: #3db634 !important; + font-weight: bold; } // Inline plugin update message @@ -75,11 +107,11 @@ } .simpay-admin-notice-top-of-page { - font-size: 15px; + font-size: 13px; line-height: 1.4; color: #fff; margin-left: -20px; - padding: 12px 32px 12px 20px; + padding: 9px 32px 9px 20px; background: #2d6ca2; display: none; @@ -111,7 +143,7 @@ padding: 6px 10px; @media screen and ( min-width: 601px ) { - top: 1px; + top: 0; } @media screen and ( min-width: 783px ) { @@ -126,3 +158,29 @@ } } } + +/** + * Product education dashboard widget + */ +#simpay-product-education .simpay-dashboard-widget-product-education { + text-align: center; + padding: 10px 30px; + + img { + width: 200px; + margin: 0 auto; + } + + h2 { + font-size: 16px; + font-weight: 600; + margin: 0 0 -10px; + padding: 0; + line-height: 1.3; + } + + .button + .button { + margin-left: 5px; + } + +} \ No newline at end of file diff --git a/includes/core/assets/css/admin/settings.scss b/includes/core/assets/css/admin/settings.scss index 82339ef1..23ed5e37 100644 --- a/includes/core/assets/css/admin/settings.scss +++ b/includes/core/assets/css/admin/settings.scss @@ -47,7 +47,7 @@ font-style: italic; } - .nav-tab { + .simpay-settings-subsections__subsection { display: flex; align-items: center; @@ -56,20 +56,3 @@ } } } - -.simpay-settings-bubble { - display: inline-block; - vertical-align: top; - box-sizing: border-box; - margin: 1px 0 -1px 2px; - padding: 0 5px; - min-width: 18px; - height: 18px; - border-radius: 9px; - background-color: #ca4a1f; - color: #fff; - font-size: 11px; - line-height: 1.6; - text-align: center; - z-index: 26; -} diff --git a/includes/core/assets/css/frontend/public.scss b/includes/core/assets/css/frontend/public.scss index 1099f91d..38a65b7f 100644 --- a/includes/core/assets/css/frontend/public.scss +++ b/includes/core/assets/css/frontend/public.scss @@ -52,6 +52,7 @@ $error-text-color: #eb1c26; .simpay-styled & { font-family: $base-font; color: $error-text-color; + line-height: 1.5; } } diff --git a/includes/core/assets/css/simpay-admin-all-pages.min.css b/includes/core/assets/css/simpay-admin-all-pages.min.css index 386a98f1..b6252662 100644 --- a/includes/core/assets/css/simpay-admin-all-pages.min.css +++ b/includes/core/assets/css/simpay-admin-all-pages.min.css @@ -1,3 +1,3 @@ -.simpay-external-link .dashicons{opacity:.8;font-size:16px;margin:3px 0 0 2px;width:16px;height:16px;text-decoration:none}.simpay-external-link:hover .dashicons{opacity:1}#wpadminbar .simpay-admin-bar-test-mode>.ab-item{display:flex;align-items:center}#wpadminbar .simpay-admin-bar-test-mode>.ab-item .simpay-test-mode-badge{color:#a04903;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase;line-height:10px;margin-left:7px;padding:4px 6px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center;display:inline-block}#adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn){color:#3db634 !important}.simpay-plugin-upgrade-notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.simpay-plugin-upgrade-notice::before{content:"";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;vertical-align:top}#stripe-update .updating-message .simpay-plugin-upgrade-notice{display:none}.simpay-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-left:-20px;padding:12px 32px 12px 20px;background:#2d6ca2;display:none}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width: 961px){.simpay-admin-notice-top-of-page{text-align:center}}.simpay-admin-notice-top-of-page a{color:#fff}.simpay-admin-notice-top-of-page a:hover{text-decoration:none}.simpay-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px}@media screen and (min-width: 601px){.simpay-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page .button-link{right:9px}}.simpay-admin-notice-top-of-page .button-link:hover,.simpay-admin-notice-top-of-page .button-link:active,.simpay-admin-notice-top-of-page .button-link:focus{color:#fff;text-decoration:none} +.simpay-external-link .dashicons{opacity:.8;font-size:16px;margin:3px 0 0 2px;width:16px;height:16px;text-decoration:none}.simpay-external-link:hover .dashicons{opacity:1}.simpay-settings-bubble{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#d63638;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}#wpadminbar .simpay-admin-bar-test-mode>.ab-item{display:flex;align-items:center}#wpadminbar .simpay-admin-bar-test-mode>.ab-item .simpay-test-mode-badge{color:#a04903;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase;line-height:10px;margin-left:7px;padding:4px 6px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center;display:inline-block}#adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn){color:#fff;background-color:#347d39 !important}#adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn):hover{color:#fff !important}#adminmenu .opensub a[href^="https://wpsimplepay.com/lite-vs-pro"]:not(.simpay-upgrade-btn){margin-right:6px}.simpay-upgrade-link{color:#3db634 !important;font-weight:bold}.simpay-plugin-upgrade-notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.simpay-plugin-upgrade-notice::before{content:"";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;vertical-align:top}#stripe-update .updating-message .simpay-plugin-upgrade-notice{display:none}.simpay-admin-notice-top-of-page{font-size:13px;line-height:1.4;color:#fff;margin-left:-20px;padding:9px 32px 9px 20px;background:#2d6ca2;display:none}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width: 961px){.simpay-admin-notice-top-of-page{text-align:center}}.simpay-admin-notice-top-of-page a{color:#fff}.simpay-admin-notice-top-of-page a:hover{text-decoration:none}.simpay-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px}@media screen and (min-width: 601px){.simpay-admin-notice-top-of-page .button-link{top:0}}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page .button-link{right:9px}}.simpay-admin-notice-top-of-page .button-link:hover,.simpay-admin-notice-top-of-page .button-link:active,.simpay-admin-notice-top-of-page .button-link:focus{color:#fff;text-decoration:none}#simpay-product-education .simpay-dashboard-widget-product-education{text-align:center;padding:10px 30px}#simpay-product-education .simpay-dashboard-widget-product-education img{width:200px;margin:0 auto}#simpay-product-education .simpay-dashboard-widget-product-education h2{font-size:16px;font-weight:600;margin:0 0 -10px;padding:0;line-height:1.3}#simpay-product-education .simpay-dashboard-widget-product-education .button+.button{margin-left:5px} /*# sourceMappingURL=simpay-admin-all-pages.min.css.map*/ \ No newline at end of file diff --git a/includes/core/assets/css/simpay-admin-all-pages.min.css.map b/includes/core/assets/css/simpay-admin-all-pages.min.css.map index b7f012db..c743028f 100644 --- a/includes/core/assets/css/simpay-admin-all-pages.min.css.map +++ b/includes/core/assets/css/simpay-admin-all-pages.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./css/admin/all-pages.scss"],"names":[],"mappings":"AAAA,iCAAiC,WAAW,eAAe,mBAAmB,WAAW,YAAY,qBAAqB,uCAAuC,UAAU,iDAAiD,aAAa,mBAAmB,yEAAyE,cAAc,eAAe,gBAAgB,kBAAkB,yBAAyB,iBAAiB,gBAAgB,gBAAgB,kBAAkB,mBAAmB,oBAAoB,mBAAmB,qBAAqB,mFAAmF,yBAAyB,8BAA8B,gBAAgB,WAAW,mBAAmB,YAAY,aAAa,sCAAsC,YAAY,qBAAqB,0BAA0B,WAAW,oBAAoB,mBAAmB,+DAA+D,aAAa,iCAAiC,eAAe,gBAAgB,WAAW,kBAAkB,4BAA4B,mBAAmB,aAAa,qCAAqC,iCAAiC,6BAA6B,qCAAqC,iCAAiC,mBAAmB,mCAAmC,WAAW,yCAAyC,qBAAqB,8CAA8C,kBAAkB,SAAS,WAAW,eAAe,WAAW,iBAAiB,qBAAqB,gBAAgB,iBAAiB,qCAAqC,8CAA8C,SAAS,qCAAqC,8CAA8C,WAAW,6JAA6J,WAAW,qB","file":"./../css/simpay-admin-all-pages.min.css","sourcesContent":[".simpay-external-link .dashicons{opacity:.8;font-size:16px;margin:3px 0 0 2px;width:16px;height:16px;text-decoration:none}.simpay-external-link:hover .dashicons{opacity:1}#wpadminbar .simpay-admin-bar-test-mode>.ab-item{display:flex;align-items:center}#wpadminbar .simpay-admin-bar-test-mode>.ab-item .simpay-test-mode-badge{color:#a04903;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase;line-height:10px;margin-left:7px;padding:4px 6px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center;display:inline-block}#adminmenu a[href^=\"https://wpsimplepay.com/lite-vs-pro\"]:not(.simpay-upgrade-btn){color:#3db634 !important}.simpay-plugin-upgrade-notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.simpay-plugin-upgrade-notice::before{content:\"\";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;vertical-align:top}#stripe-update .updating-message .simpay-plugin-upgrade-notice{display:none}.simpay-admin-notice-top-of-page{font-size:15px;line-height:1.4;color:#fff;margin-left:-20px;padding:12px 32px 12px 20px;background:#2d6ca2;display:none}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width: 961px){.simpay-admin-notice-top-of-page{text-align:center}}.simpay-admin-notice-top-of-page a{color:#fff}.simpay-admin-notice-top-of-page a:hover{text-decoration:none}.simpay-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px}@media screen and (min-width: 601px){.simpay-admin-notice-top-of-page .button-link{top:1px}}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page .button-link{right:9px}}.simpay-admin-notice-top-of-page .button-link:hover,.simpay-admin-notice-top-of-page .button-link:active,.simpay-admin-notice-top-of-page .button-link:focus{color:#fff;text-decoration:none}"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./css/admin/all-pages.scss"],"names":[],"mappings":"AAAA,iCAAiC,WAAW,eAAe,mBAAmB,WAAW,YAAY,qBAAqB,uCAAuC,UAAU,wBAAwB,qBAAqB,mBAAmB,sBAAsB,sBAAsB,cAAc,eAAe,YAAY,kBAAkB,yBAAyB,WAAW,eAAe,gBAAgB,kBAAkB,WAAW,iDAAiD,aAAa,mBAAmB,yEAAyE,cAAc,eAAe,gBAAgB,kBAAkB,yBAAyB,iBAAiB,gBAAgB,gBAAgB,kBAAkB,mBAAmB,oBAAoB,mBAAmB,qBAAqB,mFAAmF,WAAW,oCAAoC,yFAAyF,sBAAsB,4FAA4F,iBAAiB,qBAAqB,yBAAyB,iBAAiB,8BAA8B,gBAAgB,WAAW,mBAAmB,YAAY,aAAa,sCAAsC,YAAY,qBAAqB,0BAA0B,WAAW,oBAAoB,mBAAmB,+DAA+D,aAAa,iCAAiC,eAAe,gBAAgB,WAAW,kBAAkB,0BAA0B,mBAAmB,aAAa,qCAAqC,iCAAiC,6BAA6B,qCAAqC,iCAAiC,mBAAmB,mCAAmC,WAAW,yCAAyC,qBAAqB,8CAA8C,kBAAkB,SAAS,WAAW,eAAe,WAAW,iBAAiB,qBAAqB,gBAAgB,iBAAiB,qCAAqC,8CAA8C,OAAO,qCAAqC,8CAA8C,WAAW,6JAA6J,WAAW,qBAAqB,qEAAqE,kBAAkB,kBAAkB,yEAAyE,YAAY,cAAc,wEAAwE,eAAe,gBAAgB,iBAAiB,UAAU,gBAAgB,qFAAqF,gB","file":"./../css/simpay-admin-all-pages.min.css","sourcesContent":[".simpay-external-link .dashicons{opacity:.8;font-size:16px;margin:3px 0 0 2px;width:16px;height:16px;text-decoration:none}.simpay-external-link:hover .dashicons{opacity:1}.simpay-settings-bubble{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#d63638;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}#wpadminbar .simpay-admin-bar-test-mode>.ab-item{display:flex;align-items:center}#wpadminbar .simpay-admin-bar-test-mode>.ab-item .simpay-test-mode-badge{color:#a04903;font-size:10px;font-weight:700;text-align:center;text-transform:uppercase;line-height:10px;margin-left:7px;padding:4px 6px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center;display:inline-block}#adminmenu a[href^=\"https://wpsimplepay.com/lite-vs-pro\"]:not(.simpay-upgrade-btn){color:#fff;background-color:#347d39 !important}#adminmenu a[href^=\"https://wpsimplepay.com/lite-vs-pro\"]:not(.simpay-upgrade-btn):hover{color:#fff !important}#adminmenu .opensub a[href^=\"https://wpsimplepay.com/lite-vs-pro\"]:not(.simpay-upgrade-btn){margin-right:6px}.simpay-upgrade-link{color:#3db634 !important;font-weight:bold}.simpay-plugin-upgrade-notice{font-weight:400;color:#fff;background:#d54d21;padding:1em;margin:9px 0}.simpay-plugin-upgrade-notice::before{content:\"\";display:inline-block;font:400 18px/1 dashicons;speak:none;margin:0 8px 0 -2px;vertical-align:top}#stripe-update .updating-message .simpay-plugin-upgrade-notice{display:none}.simpay-admin-notice-top-of-page{font-size:13px;line-height:1.4;color:#fff;margin-left:-20px;padding:9px 32px 9px 20px;background:#2d6ca2;display:none}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page{padding:10px 46px 10px 22px}}@media screen and (min-width: 961px){.simpay-admin-notice-top-of-page{text-align:center}}.simpay-admin-notice-top-of-page a{color:#fff}.simpay-admin-notice-top-of-page a:hover{text-decoration:none}.simpay-admin-notice-top-of-page .button-link{position:absolute;top:48px;right:-1px;font-size:20px;color:#fff;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px}@media screen and (min-width: 601px){.simpay-admin-notice-top-of-page .button-link{top:0}}@media screen and (min-width: 783px){.simpay-admin-notice-top-of-page .button-link{right:9px}}.simpay-admin-notice-top-of-page .button-link:hover,.simpay-admin-notice-top-of-page .button-link:active,.simpay-admin-notice-top-of-page .button-link:focus{color:#fff;text-decoration:none}#simpay-product-education .simpay-dashboard-widget-product-education{text-align:center;padding:10px 30px}#simpay-product-education .simpay-dashboard-widget-product-education img{width:200px;margin:0 auto}#simpay-product-education .simpay-dashboard-widget-product-education h2{font-size:16px;font-weight:600;margin:0 0 -10px;padding:0;line-height:1.3}#simpay-product-education .simpay-dashboard-widget-product-education .button+.button{margin-left:5px}"],"sourceRoot":""} \ No newline at end of file diff --git a/includes/core/assets/css/simpay-admin.min.css b/includes/core/assets/css/simpay-admin.min.css index 4856db3a..de04e0a1 100644 --- a/includes/core/assets/css/simpay-admin.min.css +++ b/includes/core/assets/css/simpay-admin.min.css @@ -1,3 +1,3 @@ -.simpay-settings-subsections{display:flex;align-items:center;box-shadow:inset 0 -1px 0 0 #ccc}.simpay-settings-subsections__subsection{font-weight:500;text-decoration:none;padding:15px;display:flex;align-items:center}.simpay-settings-subsections__subsection .dashicons{width:18px;height:18px;font-size:18px;margin-right:4px}.simpay-settings-subsections__subsection.is-active{box-shadow:inset 0 -4px 0 0 currentColor;position:relative;z-index:1}.simpay-settings-subsections__subsection:not(.is-active){color:#23282d}.simpay-settings form>h2:not(.nav-tab-wrapper){clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.simpay-settings .form-table td fieldset+p,.simpay-settings .form-table td label+p,.simpay-settings .form-table td select+p,.simpay-settings .form-table td input+p{color:#666;font-style:italic}.simpay-settings .nav-tab{display:flex;align-items:center}.simpay-settings .nav-tab .simpay-settings-bubble{margin-left:5px}.simpay-settings-bubble{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#ca4a1f;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}.fixed .column-livemode{width:15%;text-align:right}@media screen and (max-width: 782px){.fixed .column-livemode{text-align:left}}.fixed .column-livemode .simpay-badge{margin-top:3px}.fixed .column-shortcode{width:25%}.post-type-simple-pay .misc-pub-curtime,.post-type-simple-pay .misc-pub-visibility{display:none}.simpay-metabox-title{border:1px solid #eee}.simpay-badge{color:#3f3f46;text-align:center;line-height:1;padding:5px 7px;border-radius:3px;background:#e4e4e7;border:0;box-shadow:none;display:inline-flex;align-items:center}button.simpay-badge{cursor:pointer}button.simpay-badge:hover{background:#d4d4d8}.simpay-badge__icon{opacity:.8;margin:2px 5px 0 0}.simpay-badge--green{color:#0e6245;background:#cbf4c9}.simpay-badge--yellow{color:#983705;background:#f8e5b9}.simpay-stripe-account-info{display:flex;align-items:center;margin-bottom:8px}.simpay-stripe-account-info .spinner{float:none;margin-top:0;margin-left:0}@media(max-width: 768px){#simpay-global-settings{margin-right:0}}#simpay-global-settings .form-table .payment-details-description-tag{display:inline-block;background:rgba(0,0,0,.07);padding:0 3px}#simpay-global-settings #simpay-settings-left{float:left;width:100%}#simpay-global-settings #simpay-settings-sidebar-right{float:right;width:270px;margin-right:-290px}@media(max-width: 768px){#simpay-global-settings #simpay-settings-sidebar-right{float:left;margin-right:0}}#simpay-global-settings #simpay-settings-sidebar-right h3{padding:10px 12px}#simpay-global-settings #simpay-settings-sidebar-right .centered{text-align:center}#simpay-global-settings #simpay-settings-sidebar-right .button-large{font-size:17px;line-height:30px;height:32px}#simpay-global-settings #simpay-settings-sidebar-right .sidebar-heading{font-size:17px}#simpay-global-settings #simpay-settings-sidebar-right .postbox-nobg{position:relative;min-width:255px}#simpay-global-settings #simpay-settings-sidebar-right .sidebar-container .postbox .inside{margin-bottom:0}.simpay-global-settings--has-sidebar{margin-right:310px}#simpay-payment-form-settings table{width:100%;border-collapse:collapse}#simpay-payment-form-settings ::-webkit-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings ::-moz-placeholder{color:#9ba1a9;opacity:1}#simpay-payment-form-settings :-ms-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings .inside{margin:0;padding:0}#simpay-payment-form-settings .simpay-panel-field .toolbar{margin-bottom:-4px}#simpay-payment-form-settings .simpay-panel-field .toolbar .simpay-field-select{margin:0 0 4px;width:auto;max-width:70%}#simpay-payment-form-settings .simpay-tabs{margin:0;padding:0;list-style:none;background:#fafafa;border-right:1px solid #ccd0d4;line-height:1em;position:relative;flex:0 0 25%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs{flex-basis:100%;flex-grow:1;border-right:0}}#simpay-payment-form-settings .simpay-tabs li{margin:0;padding:0}#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:20px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:0}}#simpay-payment-form-settings .simpay-tabs li.active a{padding-left:14px;font-weight:bold;background-color:#fff;position:relative;box-shadow:inset 4px 0 currentColor,inset 0 -1px 0 #fff,0 1px 1px rgba(0,0,0,.04);margin-right:-1px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li.active a{margin-right:0}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{border-bottom:1px solid #ccd0d4;display:flex;align-items:center;line-height:20px;margin:0;padding:10px;text-decoration:none;transition:all .05s ease-in-out}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item svg,#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item .dashicons{margin-right:6px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{padding:18px}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item:focus{outline:0;position:relative;z-index:2;box-shadow:inset 0 0 0 2px currentColor}#simpay-payment-form-settings .simpay-tabs li:not(.active) .simpay-tab-item{color:inherit}#simpay-payment-form-settings .simpay-panels-wrap{background:#fff;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels-wrap{flex-direction:column}}#simpay-payment-form-settings .simpay-panels{flex:0 0 75%;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels{flex-basis:100%}}#simpay-payment-form-settings .simpay-panel,#simpay-payment-form-settings .simpay-panel-section{width:100%}#simpay-payment-form-settings .simpay-panel>table,#simpay-payment-form-settings .simpay-panel>table>tr,#simpay-payment-form-settings .simpay-panel>table>tbody,#simpay-payment-form-settings .simpay-panel>table>tbody>tr,#simpay-payment-form-settings .simpay-panel>table>thead,#simpay-payment-form-settings .simpay-panel>table>thead>tr{display:block;width:100%}#simpay-payment-form-settings .simpay-panel-field,#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{text-align:left;display:block}#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{width:calc(100% - 36px);margin-left:18px;margin-right:18px}#simpay-payment-form-settings .simpay-panel-field th{font-weight:bold;padding-top:18px;padding-bottom:5px}#simpay-payment-form-settings .simpay-panel-field td{border-bottom:1px solid #ddd;padding-bottom:18px}#simpay-payment-form-settings .simpay-panel-field p.description{margin-top:4px}#simpay-payment-form-settings .simpay-panel-field p.description:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested{margin-top:18px}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested label{font-weight:bold;display:block;margin-bottom:4px}#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:75%;max-width:100%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:0;width:100%}}#simpay-payment-form-settings .simpay-panel-field .simpay-field-textarea{width:100%;max-width:100%}#simpay-payment-form-settings .simpay-panel-field .notice:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .error,#simpay-payment-form-settings .simpay-panel-field .simpay-important{color:#a94442;font-weight:normal}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap{position:relative;margin-top:12px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview{position:absolute;top:-15px;left:-15px;cursor:pointer;background-color:#fff}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview::before{font-size:22px;line-height:26px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-image-preview{max-height:128px;max-width:128px;border:1px solid #ddd}#simpay-payment-form-settings .simpay-panel.simpay-panel--has-help{padding-bottom:48px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box{background-color:#f4f4f4;border:1px solid #e5e5e5;padding:18px;margin-top:18px;position:relative}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss{color:inherit;text-decoration:none;position:absolute;top:8px;right:8px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss .dashicons-dismiss{font-size:16px;width:16px;height:16px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box h3{font-size:18px;font-weight:600;margin:0;padding:0}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p{font-size:14px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p:last-child{margin-bottom:0}#simpay-payment-form-settings .simpay-show-if,#simpay-payment-form-settings .simpay-panel-hidden{display:none}#simpay-global-settings .sortable-placeholder,#simpay-form-settings .sortable-placeholder{margin:5px;display:block;min-height:36px}#simpay-global-settings .chosen-container,#simpay-form-settings .chosen-container{min-width:20em;max-width:30em}#simpay-global-settings .simpay-field.simpay-small-text,#simpay-form-settings .simpay-field.simpay-small-text{width:7em}#simpay-global-settings .simpay-field.simpay-medium-text,#simpay-form-settings .simpay-field.simpay-medium-text{width:15em}#simpay-global-settings .simpay-field-radios ul,#simpay-form-settings .simpay-field-radios ul{margin:0}#simpay-global-settings .simpay-field-radios>i,#simpay-form-settings .simpay-field-radios>i{margin-left:5px;vertical-align:middle}#simpay-global-settings ul.simpay-field-radios-inline,#simpay-form-settings ul.simpay-field-radios-inline{margin:0 0 -10px}#simpay-global-settings ul.simpay-field-radios-inline li,#simpay-form-settings ul.simpay-field-radios-inline li{display:inline-block;margin:0 10px 10px 0}#simpay-global-settings ul.simpay-field-radios-inline li:last-child,#simpay-form-settings ul.simpay-field-radios-inline li:last-child{margin-right:0}#simpay-global-settings .simpay-currency-field,#simpay-form-settings .simpay-currency-field{display:flex;align-items:center}>#simpay-global-settings .simpay-currency-field:focus,>#simpay-form-settings .simpay-currency-field:focus{position:relative;z-index:5}#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{line-height:38px}}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}#simpay-global-settings div.simpay-currency-symbol,#simpay-form-settings div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}#simpay-global-settings select.simpay-currency-symbol,#simpay-form-settings select.simpay-currency-symbol{padding-right:25px}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-width:1px 0 1px 1px}#simpay-global-settings .simpay-currency-symbol-left+.simpay-field-amount,#simpay-form-settings .simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-width:1px 1px 1px 0}#simpay-global-settings .simpay-field-amount,#simpay-form-settings .simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-error,#simpay-form-settings .simpay-error{color:red}#simpay-global-settings .simpay-docs-link-wrap,#simpay-form-settings .simpay-docs-link-wrap{position:absolute;right:0;bottom:0;color:#666;font-size:13px;font-style:italic;padding:15px 18px}#simpay-global-settings .simpay-docs-link-wrap a .dashicons-editor-help,#simpay-form-settings .simpay-docs-link-wrap a .dashicons-editor-help{color:#666;text-decoration:none;width:17px;height:17px;font-size:17px;padding-left:4px}#simpay-global-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon{color:#666}#simpay-global-settings .simpay-docs-icon,#simpay-global-settings .simpay-docs-icon .dashicons-editor-help,#simpay-form-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon .dashicons-editor-help{text-decoration:none;width:17px;height:17px;font-size:17px}#simpay-global-settings .simpay-upgrade-btn,#simpay-form-settings .simpay-upgrade-btn{background-color:#428bca;border:1px solid #428bca;color:#fff;display:inline-block}#simpay-global-settings .simpay-upgrade-btn:focus,#simpay-form-settings .simpay-upgrade-btn:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2d6ca2}#simpay-global-settings .simpay-upgrade-btn:hover,#simpay-form-settings .simpay-upgrade-btn:hover{background-color:#037ad0;border:1px solid #428bca}.post-type-simple-pay #post-body-content{display:none}.form-table td .simpay-stripe-connect-help{margin:15px 0;display:flex;align-items:center}.form-table td .simpay-stripe-connect-help .dashicons{margin-right:4px}#simpay-system-status-report textarea{font-family:monospace;min-height:200px;padding:5px 20px;white-space:pre;width:100%}.simpay-system-status-report-panel{margin:20px 0}.simpay-system-status-report-panel thead th{font-weight:bold}.simpay-system-status-report-panel tbody td,.simpay-system-status-report-panel thead th{font-size:14px;vertical-align:top}.simpay-system-status-report-panel tbody .label{width:30%}.simpay-system-status-report-panel tbody tr:nth-child(odd) td{background-color:rgba(0,0,0,.02)}.simpay-system-status-report-panel dl{margin:0;padding:0}.simpay-system-status-report-panel dt{float:left;font-style:italic;margin:0 4px 0 0}.simpay-system-status-report-panel dd{margin:0}.simpay-system-status-report-panel mark{background-color:transparent;font-weight:bold}.simpay-system-status-report-panel mark.ok{color:green}.simpay-system-status-report-panel mark.error{color:red}.simpay-system-status-report-panel mark.warning{color:#ffb900}.simpay-currency-field{display:flex;align-items:center}>.simpay-currency-field:focus{position:relative;z-index:5}.simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){.simpay-currency-symbol{line-height:38px}}.simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}select.simpay-currency-symbol{padding-right:25px}.simpay-currency-symbol-left{border-width:1px 0 1px 1px}.simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}.simpay-currency-symbol-right{border-width:1px 1px 1px 0}.simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#wpsp-api-keys-row-hide{display:none}.wpsp-stripe-connect{display:inline-block;margin-bottom:1px;background-image:linear-gradient(#28a0e5, #015e94);-webkit-font-smoothing:antialiased;border:0;padding:1px;height:30px;text-decoration:none;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,.2);cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wpsp-stripe-connect span{display:block;position:relative;padding:0 12px 0 44px;height:30px;background:#1275ff;background-image:linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);font-size:14px;line-height:30px;color:#fff;font-weight:bold;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.25);border-radius:3px}.wpsp-stripe-connect span::before{content:"";display:block;position:absolute;left:11px;top:50%;width:23px;height:24px;margin-top:-12px;background-repeat:no-repeat;background-size:23px 24px}.wpsp-stripe-connect:active{background:#005d93}.wpsp-stripe-connect:active span{color:#eee;background:#008cdd;background-image:linear-gradient(#008cdd, #008cdd 85%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mvOXeoDCF8BLKy9uUAAjDkBh+c6bz78mNtVVP7MwET7JBnqb4xXpdWVpC1OVzWn+ELHLCsneX/s7rkRWl1463cy1U3WroG21jhCGKJXPOtKQnpAuENvsAppgDB3TcDVIrpDHbK5Kd+y7W8iodNybHh22rOHyxUK+UaMYjZaoyp25rYL54TSihSKmwZ14v3lc3ZFxdbeywjn/tGJnkmzrydX1ApxOEACKymmXLYfXVpi1JMEOGxPi1ep18doY4r2J7uFumQQ9yGf01bMcZW8dpyc0oIjxxpuC5wuUDX+ovWrnYeg3aXvdLIqnmOvXPsfH6uA5YbTb1DX8ofvTLzTy6ZV4K6fAw+gXiATfdffmjeaUgc1UdpdWplsCooQBrEnqUw82dhdnjit/Vxc4f59tP3DRjzJvYteqrl4rmNlJIfrOwpgNklesDRNQBCHYtQAQqD2CgACNjHAJnG1EyfV/S67fZiJB5t2OGEe4n7L3fS4fpEv/2hUEATfoPbuam5v8N7nps70YTbAAAAAElFTkSuQmCC")}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0W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BMpd0JGhFKB5nSwRMVvumDv2cxm4m1f5X4AuWhRePDUOtqEPQJVVGfWcBz1ahmPlTlxzqaJLquYZU1HTvjcTMD6dOULM0n+g5nKposHzdWbo7FgEkDBviWlYx++53XtQ33kvDU8dHAJm6L8usdwEZn09S3qiPed5lcCSLUpI0eEA8620zLbDl6bh8T+egkI+/7Rl6kegcTSPst1QUKaM+brhrjnF2yUQJNxnrGMnR7KbTw5nYFVjyAl98w2+VdvVlA67Dw3BgROjAKa+yyrpz0BKTbJnez1NT6AKrrnA1bEi1av2v3xaiL90dnxL2Kc0rsXc4WpcQEc8AEtiGrRiejmK6WWeMDIxtVwwKExijB5KFuBYIg1cy8dx0dTQ/yQVc78yBXMIqJ5i/VvvkqHdSjXuM/THKy7w2LQJ6fpJms38QiHGvlzBt+RwJv2JQ2elbjyRtjIi1AIRMAsKPuQduHVzr2YW+kIBE5BTwOzzxLKOiMX8QVuWh00IpqD+S0WHtLlzefpLBOZo/IYvEqQPnTX5dxmy4xookqaCjRuT4mMi8g3bxs2KCkj3GFj4+QSzA0RkeskU8iCJeUiBDv09Jt8OPEV6k7DlP3gxxh/dAPymPh/Kf5d897dIOd9P7H8oEd4G1JV8wPGbRadx52sgLmrRAZ99EZ5+LZgV+v+4Llrg/wX6HRCxgvzAAwAAAABJRU5ErkJggg==")}} +.simpay-settings-subsections{display:flex;align-items:center;box-shadow:inset 0 -1px 0 0 #ccc}.simpay-settings-subsections__subsection{font-weight:500;text-decoration:none;padding:15px;display:flex;align-items:center}.simpay-settings-subsections__subsection .dashicons{width:18px;height:18px;font-size:18px;margin-right:4px}.simpay-settings-subsections__subsection.is-active{box-shadow:inset 0 -4px 0 0 currentColor;position:relative;z-index:1}.simpay-settings-subsections__subsection:not(.is-active){color:#23282d}.simpay-settings form>h2:not(.nav-tab-wrapper){clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.simpay-settings .form-table td fieldset+p,.simpay-settings .form-table td label+p,.simpay-settings .form-table td select+p,.simpay-settings .form-table td input+p{color:#666;font-style:italic}.simpay-settings .simpay-settings-subsections__subsection{display:flex;align-items:center}.simpay-settings .simpay-settings-subsections__subsection .simpay-settings-bubble{margin-left:5px}.fixed .column-livemode{width:15%;text-align:right}@media screen and (max-width: 782px){.fixed .column-livemode{text-align:left}}.fixed .column-livemode .simpay-badge{margin-top:3px}.fixed .column-shortcode{width:25%}.post-type-simple-pay .misc-pub-curtime,.post-type-simple-pay .misc-pub-visibility{display:none}.simpay-metabox-title{border:1px solid #eee}.simpay-badge{color:#3f3f46;text-align:center;line-height:1;padding:5px 7px;border-radius:3px;background:#e4e4e7;border:0;box-shadow:none;display:inline-flex;align-items:center}button.simpay-badge{cursor:pointer}button.simpay-badge:hover{background:#d4d4d8}.simpay-badge__icon{opacity:.8;margin:2px 5px 0 0}.simpay-badge--green{color:#0e6245;background:#cbf4c9}.simpay-badge--yellow{color:#983705;background:#f8e5b9}.simpay-stripe-account-info{display:flex;align-items:center;margin-bottom:8px}.simpay-stripe-account-info .spinner{float:none;margin-top:0;margin-left:0}.simpay-settings-upgrade{background-color:#fff;border:1px solid #dadada;padding:25px 20px 30px;margin:10px 0 0;position:relative}.simpay-settings-upgrade__inner{text-align:center;max-width:750px;margin:0 auto}.simpay-settings-upgrade h3,.simpay-settings-upgrade h4{line-height:1;margin:1rem 0}.simpay-settings-upgrade h4{color:#428bca;font-size:18px}.simpay-settings-upgrade h3{font-size:26px}.simpay-settings-upgrade ul{max-width:550px;margin:25px auto 13px;display:flex;flex-wrap:wrap;justify-content:center}.simpay-settings-upgrade li{font-size:15px;text-align:center;margin-bottom:12px;width:100%}@media screen and (min-width: 782px){.simpay-settings-upgrade li{text-align:left;width:50%}}.simpay-settings-upgrade .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-settings-upgrade small{color:#666;margin:15px 0 0;display:block}.simpay-settings-upgrade .dashicons{color:#428bca}.simpay-settings-upgrade .button-link{position:absolute;top:0;right:0;font-size:20px;color:#666;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px;z-index:2}.simpay-settings-upgrade .button-link:hover,.simpay-settings-upgrade .button-link:active,.simpay-settings-upgrade .button-link:focus{color:#666;text-decoration:none}#simpay-payment-form-settings table{width:100%;border-collapse:collapse}#simpay-payment-form-settings ::-webkit-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings ::-moz-placeholder{color:#9ba1a9;opacity:1}#simpay-payment-form-settings :-ms-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings .inside{margin:0;padding:0}#simpay-payment-form-settings .simpay-panel-field .toolbar{margin-bottom:-4px}#simpay-payment-form-settings .simpay-panel-field .toolbar .simpay-field-select{margin:0 0 4px;width:auto;max-width:70%}#simpay-payment-form-settings .simpay-tabs{margin:0;padding:0;list-style:none;background:#fafafa;border-right:1px solid #ccd0d4;line-height:1em;position:relative;flex:0 0 25%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs{flex-basis:100%;flex-grow:1;border-right:0}}#simpay-payment-form-settings .simpay-tabs li{margin:0;padding:0}#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:20px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:0}}#simpay-payment-form-settings .simpay-tabs li.active a{padding-left:14px;font-weight:bold;background-color:#fff;position:relative;box-shadow:inset 4px 0 currentColor,inset 0 -1px 0 #fff,0 1px 1px rgba(0,0,0,.04);margin-right:-1px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li.active a{margin-right:0}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{border-bottom:1px solid #ccd0d4;display:flex;align-items:center;line-height:20px;margin:0;padding:10px;text-decoration:none;transition:all .05s ease-in-out}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item svg,#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item .dashicons{margin-right:6px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{padding:18px}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item:focus{outline:0;position:relative;z-index:2;box-shadow:inset 0 0 0 2px currentColor}#simpay-payment-form-settings .simpay-tabs li:not(.active) .simpay-tab-item{color:inherit}#simpay-payment-form-settings .simpay-panels-wrap{background:#fff;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels-wrap{flex-direction:column}}#simpay-payment-form-settings .simpay-panels{flex:0 0 75%;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels{flex-basis:100%}}#simpay-payment-form-settings .simpay-panel,#simpay-payment-form-settings .simpay-panel-section{width:100%}#simpay-payment-form-settings .simpay-panel{overflow:hidden}#simpay-payment-form-settings .simpay-panel>table,#simpay-payment-form-settings .simpay-panel>table>tr,#simpay-payment-form-settings .simpay-panel>table>tbody,#simpay-payment-form-settings .simpay-panel>table>tbody>tr,#simpay-payment-form-settings .simpay-panel>table>thead,#simpay-payment-form-settings .simpay-panel>table>thead>tr{display:block;width:100%}#simpay-payment-form-settings .simpay-panel-field,#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{text-align:left;display:block}#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{width:calc(100% - 36px);margin-left:18px;margin-right:18px}#simpay-payment-form-settings .simpay-panel-field th{font-weight:bold;padding-top:18px;padding-bottom:5px}#simpay-payment-form-settings .simpay-panel-field td{border-bottom:1px solid #ddd;padding-bottom:18px}#simpay-payment-form-settings .simpay-panel-field p.description{margin-top:4px}#simpay-payment-form-settings .simpay-panel-field p.description:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested{margin-top:18px}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested label{font-weight:bold;display:block;margin-bottom:4px}#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:75%;max-width:100%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:0;width:100%}}#simpay-payment-form-settings .simpay-panel-field .simpay-field-textarea{width:100%;max-width:100%}#simpay-payment-form-settings .simpay-panel-field .notice:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .error,#simpay-payment-form-settings .simpay-panel-field .simpay-important{color:#a94442;font-weight:normal}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap{position:relative;margin-top:12px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview{position:absolute;top:-15px;left:-15px;cursor:pointer;background-color:#fff}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview::before{font-size:22px;line-height:26px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-image-preview{max-height:128px;max-width:128px;border:1px solid #ddd}#simpay-payment-form-settings .simpay-panel.simpay-panel--has-help{padding-bottom:48px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box{background-color:#f4f4f4;border:1px solid #e5e5e5;padding:18px;margin-top:18px;position:relative}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss{color:inherit;text-decoration:none;position:absolute;top:8px;right:8px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss .dashicons-dismiss{font-size:16px;width:16px;height:16px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box h3{font-size:18px;font-weight:600;margin:0;padding:0}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p{font-size:14px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p:last-child{margin-bottom:0}#simpay-payment-form-settings .simpay-show-if,#simpay-payment-form-settings .simpay-panel-hidden{display:none}#simpay-global-settings .sortable-placeholder,#simpay-form-settings .sortable-placeholder{margin:5px;display:block;min-height:36px}#simpay-global-settings .chosen-container,#simpay-form-settings .chosen-container{min-width:20em;max-width:30em}#simpay-global-settings .simpay-field.simpay-small-text,#simpay-form-settings .simpay-field.simpay-small-text{width:7em}#simpay-global-settings .simpay-field.simpay-medium-text,#simpay-form-settings .simpay-field.simpay-medium-text{width:15em}#simpay-global-settings .simpay-field-radios ul,#simpay-form-settings .simpay-field-radios ul{margin:0}#simpay-global-settings .simpay-field-radios>i,#simpay-form-settings .simpay-field-radios>i{margin-left:5px;vertical-align:middle}#simpay-global-settings ul.simpay-field-radios-inline,#simpay-form-settings ul.simpay-field-radios-inline{margin:0 0 -10px}#simpay-global-settings ul.simpay-field-radios-inline li,#simpay-form-settings ul.simpay-field-radios-inline li{display:inline-block;margin:0 10px 10px 0}#simpay-global-settings ul.simpay-field-radios-inline li:last-child,#simpay-form-settings ul.simpay-field-radios-inline li:last-child{margin-right:0}#simpay-global-settings .simpay-currency-field,#simpay-form-settings .simpay-currency-field{display:flex;align-items:center}>#simpay-global-settings .simpay-currency-field:focus,>#simpay-form-settings .simpay-currency-field:focus{position:relative;z-index:5}#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{line-height:38px}}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}#simpay-global-settings div.simpay-currency-symbol,#simpay-form-settings div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}#simpay-global-settings select.simpay-currency-symbol,#simpay-form-settings select.simpay-currency-symbol{padding-right:25px}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-width:1px 0 1px 1px}#simpay-global-settings .simpay-currency-symbol-left+.simpay-field-amount,#simpay-form-settings .simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-width:1px 1px 1px 0}#simpay-global-settings .simpay-field-amount,#simpay-form-settings .simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-error,#simpay-form-settings .simpay-error{color:red}#simpay-global-settings .simpay-docs-link-wrap,#simpay-form-settings .simpay-docs-link-wrap{position:absolute;right:0;bottom:0;color:#666;font-size:13px;font-style:italic;padding:15px 18px}#simpay-global-settings .simpay-docs-link-wrap a .dashicons-editor-help,#simpay-form-settings .simpay-docs-link-wrap a .dashicons-editor-help{color:#666;text-decoration:none;width:17px;height:17px;font-size:17px;padding-left:4px}#simpay-global-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon{color:#666}#simpay-global-settings .simpay-docs-icon,#simpay-global-settings .simpay-docs-icon .dashicons-editor-help,#simpay-form-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon .dashicons-editor-help{text-decoration:none;width:17px;height:17px;font-size:17px}.button.button-primary.simpay-upgrade-btn{background-color:#428bca;border:1px solid #428bca;color:#fff;display:inline-block}.button.button-primary.simpay-upgrade-btn:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2d6ca2}.button.button-primary.simpay-upgrade-btn:hover{background-color:#037ad0;border:1px solid #428bca}.simpay-upgrade-btn-subtext{font-size:14px;color:green;margin-top:5px}.post-type-simple-pay #post-body-content{display:none}.form-table td .simpay-stripe-connect-help{margin:15px 0;display:flex;align-items:center}.form-table td .simpay-stripe-connect-help .dashicons{margin-right:4px}#simpay-system-status-report textarea{font-family:monospace;min-height:200px;padding:5px 20px;white-space:pre;width:100%}.simpay-system-status-report-panel{margin:20px 0}.simpay-system-status-report-panel thead th{font-weight:bold}.simpay-system-status-report-panel tbody td,.simpay-system-status-report-panel thead th{font-size:14px;vertical-align:top}.simpay-system-status-report-panel tbody .label{width:30%}.simpay-system-status-report-panel tbody tr:nth-child(odd) td{background-color:rgba(0,0,0,.02)}.simpay-system-status-report-panel dl{margin:0;padding:0}.simpay-system-status-report-panel dt{float:left;font-style:italic;margin:0 4px 0 0}.simpay-system-status-report-panel dd{margin:0}.simpay-system-status-report-panel mark{background-color:transparent;font-weight:bold}.simpay-system-status-report-panel mark.ok{color:green}.simpay-system-status-report-panel mark.error{color:red}.simpay-system-status-report-panel mark.warning{color:#ffb900}.simpay-currency-field{display:flex;align-items:center}>.simpay-currency-field:focus{position:relative;z-index:5}.simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){.simpay-currency-symbol{line-height:38px}}.simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}select.simpay-currency-symbol{padding-right:25px}.simpay-currency-symbol-left{border-width:1px 0 1px 1px}.simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}.simpay-currency-symbol-right{border-width:1px 1px 1px 0}.simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.post-php.post-type-simple-pay #screen-meta-links{display:none}.edit-php.post-type-simple-pay .metabox-prefs label:first-of-type{display:none}.simpay-branding-bar{margin-left:-20px;padding:14px 20px 14px 22px;background:#fff;border-bottom:1px solid #c3c4c7}.simpay-branding-bar__title{display:flex;align-items:center}.simpay-branding-bar__logo{width:180px;margin-bottom:12px}.simpay-branding-bar__divider{color:#dadbdf;font-size:23px;font-weight:400;margin:0 15px}.simpay-branding-bar .wp-heading-inline{font-size:23px;font-weight:400;margin:0}.simpay-branding-bar .page-title-action{font-weight:600;font-size:13px;line-height:normal;cursor:pointer;text-shadow:none;text-decoration:none;margin-left:10px;padding:4px 8px;border:1px solid currentColor;border-radius:2px;background:#f6f7f7}.simpay-landing-zone{text-align:center;max-width:700px;margin:40px auto}.simpay-landing-zone__title{font-size:26px;font-weight:600;margin:0 0 1.5rem;padding:0}.simpay-landing-zone__subtitle{font-size:17px;color:#666;margin:.25rem 0}.simpay-landing-zone__subtitle strong{color:#444}.simpay-landing-zone section{margin:2rem 0}.simpay-landing-zone__empty-state-graphic img{width:425px}.simpay-landing-zone__screenshot>*{vertical-align:middle}.simpay-landing-zone__screenshot-img{display:inline-block;position:relative;width:315px;padding:5px;background-color:#fff;box-shadow:0px 2px 5px 0px rgba(0,0,0,.05);border-radius:3px}.simpay-landing-zone__screenshot-img img{max-width:100%;display:block}.simpay-landing-zone__screenshot-img .hover{position:absolute;opacity:0;height:calc(100% - 10px);width:calc(100% - 10px);top:0;left:0;border:5px solid #fff;background-color:rgba(0,0,0,.15);background-image:url(data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiPjxwYXRoIGQ9Ik01MCAwYzI3LjYxNCAwIDUwIDIyLjM4NiA1MCA1MHMtMjIuMzg2IDUwLTUwIDUwUzAgNzcuNjE0IDAgNTAgMjIuMzg2IDAgNTAgMHoiIGZpbGw9IiMxNjg1YjciLz48cGF0aCBkPSJNNzMuMDIzIDY3LjA2N2wtOS4zNDQtOS4zNDRhMi4yNDcgMi4yNDcgMCAwMC0xLjU5My0uNjU2aC0xLjUyOGExOS4zOTkgMTkuMzk5IDAgMDA0LjEyNC0xMS45OTZjMC0xMC43Ny04LjcyNS0xOS40OTUtMTkuNDk0LTE5LjQ5NS0xMC43NjggMC0xOS40OTQgOC43MjYtMTkuNDk0IDE5LjQ5NSAwIDEwLjc2OCA4LjcyNiAxOS40OTMgMTkuNDk0IDE5LjQ5M2ExOS40IDE5LjQgMCAwMDExLjk5Ny00LjEyM3YxLjUyN2MwIC42LjIzNCAxLjE3Mi42NTUgMS41OTRsOS4zNDQgOS4zNDRhMi4yNCAyLjI0IDAgMDAzLjE3OCAwbDIuNjUyLTIuNjUzYTIuMjYgMi4yNiAwIDAwLjAxLTMuMTg2em0tMjcuODM1LTEwYy02LjYyNiAwLTExLjk5Ni01LjM2MS0xMS45OTYtMTEuOTk2IDAtNi42MjcgNS4zNi0xMS45OTcgMTEuOTk2LTExLjk5NyA2LjYyNiAwIDExLjk5NyA1LjM2MSAxMS45OTcgMTEuOTk3IDAgNi42MjYtNS4zNjEgMTEuOTk2LTExLjk5NyAxMS45OTZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);background-repeat:no-repeat;background-position:center;background-size:50px;transition:all .3s}.simpay-landing-zone__screenshot-img:hover .hover{opacity:1;transition:all .3s}.simpay-landing-zone__screenshot ul{text-align:left;display:inline-block;margin:0 0 0 30px;list-style-type:none;max-width:calc(100% - 350px)}@media screen and (max-width: 782px){.simpay-landing-zone__screenshot ul{text-align:center;margin:30px auto;max-width:100%;display:block}}.simpay-landing-zone__screenshot li{margin:16px 0;padding:0;font-size:15px;color:#777;position:relative}.simpay-landing-zone__screenshot li:before{content:"";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjc3NjIgNi40NTYwNUw4LjcyMDMyIDEuNDAwMDVDOC41NzU5OSAxLjI1NTcyIDguMzgzNjQgMS4xNzY1IDguMTc4NTMgMS4xNzY1QzcuOTczMiAxLjE3NjUgNy43ODA5NiAxLjI1NTg0IDcuNjM2NjQgMS40MDAwNUw3LjE3NzYgMS44NTkyQzcuMDMzMzkgMi4wMDMyOSA2Ljk1Mzk1IDIuMTk1NzYgNi45NTM5NSAyLjQwMDk4QzYuOTUzOTUgMi42MDYwOCA3LjAzMzM5IDIuODA1MDQgNy4xNzc2IDIuOTQ5MTRMMTAuMTI3MSA1LjkwNTE2SDAuNzU2MzM0QzAuMzMzODM0IDUuOTA1MTYgMCA2LjIzNTkyIDAgNi42NTg1NFY3LjMwNzY1QzAgNy43MzAyNyAwLjMzMzgzNCA4LjA5NDM4IDAuNzU2MzM0IDguMDk0MzhIMTAuMTYwNkw3LjE3NzcyIDExLjA2NjlDNy4wMzM1MSAxMS4yMTEyIDYuOTU0MDYgMTEuMzk4NSA2Ljk1NDA2IDExLjYwMzdDNi45NTQwNiAxMS44MDg3IDcuMDMzNTEgMTEuOTk4NiA3LjE3NzcyIDEyLjE0MjhMNy42MzY3NSAxMi42MDA1QzcuNzgxMDcgMTIuNzQ0OCA3Ljk3MzMyIDEyLjgyMzUgOC4xNzg2NSAxMi44MjM1QzguMzgzNzUgMTIuODIzNSA4LjU3NjExIDEyLjc0MzggOC43MjA0MyAxMi41OTk1TDEzLjc3NjMgNy41NDM2QzEzLjkyMSA3LjM5ODgyIDE0LjAwMDUgNy4yMDU1NiAxNCA3LjAwMDExQzE0LjAwMDQgNi43OTM5OCAxMy45MjEgNi42MDA2IDEzLjc3NjIgNi40NTYwNVY2LjQ1NjA1WiIgZmlsbD0iIzQyOEJDQSIvPgo8L3N2Zz4K);background-position:center;background-repeat:no-repeat;background-size:14px;width:14px;height:14px;display:inline-block;margin:-3px 5px 0 0;vertical-align:middle}.simpay-landing-zone .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-teaser-float{margin:50px;position:relative}.simpay-teaser-float__card{text-align:center;padding:30px;background:#fff;border-radius:4px;box-shadow:0 0 30px 15px rgba(0,0,0,.18);position:relative;z-index:2}#poststuff .simpay-teaser-float h2,.simpay-teaser-float h2{font-size:24px;font-weight:600;margin:0;padding:0}.simpay-teaser-float p{font-size:15px;line-height:1.35;color:#666}.simpay-teaser-float p strong{color:#444}.simpay-teaser-float ul{text-align:left;display:inline-block;margin:-10px 0 20px;list-style-type:none}.simpay-teaser-float li{margin:16px 0;padding:0 0 0 24px;font-size:15px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjc3NjIgNi40NTYwNUw4LjcyMDMyIDEuNDAwMDVDOC41NzU5OSAxLjI1NTcyIDguMzgzNjQgMS4xNzY1IDguMTc4NTMgMS4xNzY1QzcuOTczMiAxLjE3NjUgNy43ODA5NiAxLjI1NTg0IDcuNjM2NjQgMS40MDAwNUw3LjE3NzYgMS44NTkyQzcuMDMzMzkgMi4wMDMyOSA2Ljk1Mzk1IDIuMTk1NzYgNi45NTM5NSAyLjQwMDk4QzYuOTUzOTUgMi42MDYwOCA3LjAzMzM5IDIuODA1MDQgNy4xNzc2IDIuOTQ5MTRMMTAuMTI3MSA1LjkwNTE2SDAuNzU2MzM0QzAuMzMzODM0IDUuOTA1MTYgMCA2LjIzNTkyIDAgNi42NTg1NFY3LjMwNzY1QzAgNy43MzAyNyAwLjMzMzgzNCA4LjA5NDM4IDAuNzU2MzM0IDguMDk0MzhIMTAuMTYwNkw3LjE3NzcyIDExLjA2NjlDNy4wMzM1MSAxMS4yMTEyIDYuOTU0MDYgMTEuMzk4NSA2Ljk1NDA2IDExLjYwMzdDNi45NTQwNiAxMS44MDg3IDcuMDMzNTEgMTEuOTk4NiA3LjE3NzcyIDEyLjE0MjhMNy42MzY3NSAxMi42MDA1QzcuNzgxMDcgMTIuNzQ0OCA3Ljk3MzMyIDEyLjgyMzUgOC4xNzg2NSAxMi44MjM1QzguMzgzNzUgMTIuODIzNSA4LjU3NjExIDEyLjc0MzggOC43MjA0MyAxMi41OTk1TDEzLjc3NjMgNy41NDM2QzEzLjkyMSA3LjM5ODgyIDE0LjAwMDUgNy4yMDU1NiAxNCA3LjAwMDExQzE0LjAwMDQgNi43OTM5OCAxMy45MjEgNi42MDA2IDEzLjc3NjIgNi40NTYwNVY2LjQ1NjA1WiIgZmlsbD0iIzQyOEJDQSIvPgo8L3N2Zz4K);background-position:left 3px;background-repeat:no-repeat;background-size:14px;color:#777}.simpay-teaser-float .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-teaser-float .simpay-notice-dismiss{position:absolute;top:0;right:0;font-size:20px;color:#666;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px;z-index:2}.simpay-teaser-float .simpay-notice-dismiss:hover,.simpay-teaser-float .simpay-notice-dismiss:active,.simpay-teaser-float .simpay-notice-dismiss:focus{color:#666;text-decoration:none}.simpay-teaser-float:after,.simpay-teaser-float:before{opacity:.75;z-index:0;content:"";position:absolute;left:-30px;right:-30px;top:-35px;width:calc(100% + 60px);height:170px;background-image:linear-gradient(#ddd, #ddd),linear-gradient(#eee, #eee),linear-gradient(#ddd, #ddd),linear-gradient(#eee, #eee);background-repeat:no-repeat;background-size:100% 20px,100% 40px,100% 20px,100% 40px;background-position:0 0,0 30px,0 100px,0 130px}.simpay-teaser-float:before{top:170px}.simpay-teaser-float--inline{margin:40px 30px 30px}.simpay-teaser-float--inline .simpay-teaser-float__card{padding:22px;box-shadow:0 0 12px 6px rgba(0,0,0,.16)}#poststuff .simpay-teaser-float--inline h2,.simpay-teaser-float--inline h2{font-size:18px}.simpay-teaser-float--inline p{font-size:14px;margin:.5rem 0 .75rem}.simpay-teaser-float--inline .button.button-large{font-size:15px;line-height:24px;padding:8px 14px}.simpay-teaser-float--inline:before,.simpay-teaser-float--inline:after{opacity:.6}.simpay-teaser-float--inline:before{display:none}.simpay-teaser-float--inline:after{top:15px}.post-type-simple-pay .lity{z-index:999999999;padding:20px}.post-type-simple-pay .lity-close{margin:10px}.post-type-simple-pay .lity-content{max-width:80vw;max-height:80vh}.post-type-simple-pay .lity-content img{max-height:80vh !important;max-width:80vw !important}#wpsp-api-keys-row-hide{display:none}.wpsp-stripe-connect{display:inline-block;margin-bottom:1px;background-image:linear-gradient(#28a0e5, #015e94);-webkit-font-smoothing:antialiased;border:0;padding:1px;height:30px;text-decoration:none;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,.2);cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wpsp-stripe-connect span{display:block;position:relative;padding:0 12px 0 44px;height:30px;background:#1275ff;background-image:linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);font-size:14px;line-height:30px;color:#fff;font-weight:bold;font-family:"Helvetica Neue",Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.25);border-radius:3px}.wpsp-stripe-connect span::before{content:"";display:block;position:absolute;left:11px;top:50%;width:23px;height:24px;margin-top:-12px;background-repeat:no-repeat;background-size:23px 24px}.wpsp-stripe-connect:active{background:#005d93}.wpsp-stripe-connect:active span{color:#eee;background:#008cdd;background-image:linear-gradient(#008cdd, #008cdd 85%, #239adf);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2Mxmi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CHYtQAQqD2CgACNjHAJnG1EyfV/S67fZiJB5t2OGEe4n7L3fS4fpEv/2hUEATfoPbuam5v8N7nps70YTbAAAAAElFTkSuQmCC")}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeA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RwJv2JQ2elbjyRtjIi1AIRMAsKPuQduHVzr2YW+kIBE5BTwOzzxLKOiMX8QVuWh00IpqD+S0WHtLlzefpLBOZo/IYvEqQPnTX5dxmy4xookqaCjRuT4mMi8g3bxs2KCkj3GFj4+QSzA0RkeskU8iCJeUiBDv09Jt8OPEV6k7DlP3gxxh/dAPymPh/Kf5d897dIOd9P7H8oEd4G1JV8wPGbRadx52sgLmrRAZ99EZ5+LZgV+v+4Llrg/wX6HRCxgvzAAwAAAABJRU5ErkJggg==")}} /*# sourceMappingURL=simpay-admin.min.css.map*/ \ No newline at end of file diff --git a/includes/core/assets/css/simpay-admin.min.css.map b/includes/core/assets/css/simpay-admin.min.css.map index 7b75a4e8..7bb4360d 100644 --- a/includes/core/assets/css/simpay-admin.min.css.map +++ b/includes/core/assets/css/simpay-admin.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./css/admin/admin.scss"],"names":[],"mappings":"AAAA,6BAA6B,aAAa,mBAAmB,iCAAiC,yCAAyC,gBAAgB,qBAAqB,aAAa,aAAa,mBAAmB,oDAAoD,WAAW,YAAY,eAAe,iBAAiB,mDAAmD,yCAAyC,kBAAkB,UAAU,yDAAyD,cAAc,+CAA+C,8BAA8B,WAAW,gBAAgB,6BAA6B,UAAU,oKAAoK,WAAW,kBAAkB,0BAA0B,aAAa,mBAAmB,kDAAkD,gBAAgB,wBAAwB,qBAAqB,mBAAmB,sBAAsB,sBAAsB,cAAc,eAAe,YAAY,kBAAkB,yBAAyB,WAAW,eAAe,gBAAgB,kBAAkB,WAAW,wBAAwB,UAAU,iBAAiB,qCAAqC,wBAAwB,iBAAiB,sCAAsC,eAAe,yBAAyB,UAAU,mFAAmF,aAAa,sBAAsB,sBAAsB,cAAc,cAAc,kBAAkB,cAAc,gBAAgB,kBAAkB,mBAAmB,SAAS,gBAAgB,oBAAoB,mBAAmB,oBAAoB,eAAe,0BAA0B,mBAAmB,oBAAoB,WAAW,mBAAmB,qBAAqB,cAAc,mBAAmB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section{font-weight:500;text-decoration:none;padding:15px;display:flex;align-items:center}.simpay-settings-subsections__subsection .dashicons{width:18px;height:18px;font-size:18px;margin-right:4px}.simpay-settings-subsections__subsection.is-active{box-shadow:inset 0 -4px 0 0 currentColor;position:relative;z-index:1}.simpay-settings-subsections__subsection:not(.is-active){color:#23282d}.simpay-settings form>h2:not(.nav-tab-wrapper){clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.simpay-settings .form-table td fieldset+p,.simpay-settings .form-table td label+p,.simpay-settings .form-table td select+p,.simpay-settings .form-table td input+p{color:#666;font-style:italic}.simpay-settings .nav-tab{display:flex;align-items:center}.simpay-settings .nav-tab .simpay-settings-bubble{margin-left:5px}.simpay-settings-bubble{display:inline-block;vertical-align:top;box-sizing:border-box;margin:1px 0 -1px 2px;padding:0 5px;min-width:18px;height:18px;border-radius:9px;background-color:#ca4a1f;color:#fff;font-size:11px;line-height:1.6;text-align:center;z-index:26}.fixed .column-livemode{width:15%;text-align:right}@media screen and (max-width: 782px){.fixed .column-livemode{text-align:left}}.fixed .column-livemode .simpay-badge{margin-top:3px}.fixed .column-shortcode{width:25%}.post-type-simple-pay .misc-pub-curtime,.post-type-simple-pay .misc-pub-visibility{display:none}.simpay-metabox-title{border:1px solid #eee}.simpay-badge{color:#3f3f46;text-align:center;line-height:1;padding:5px 7px;border-radius:3px;background:#e4e4e7;border:0;box-shadow:none;display:inline-flex;align-items:center}button.simpay-badge{cursor:pointer}button.simpay-badge:hover{background:#d4d4d8}.simpay-badge__icon{opacity:.8;margin:2px 5px 0 0}.simpay-badge--green{color:#0e6245;background:#cbf4c9}.simpay-badge--yellow{color:#983705;background:#f8e5b9}.simpay-stripe-account-info{display:flex;align-items:center;margin-bottom:8px}.simpay-stripe-account-info .spinner{float:none;margin-top:0;margin-left:0}@media(max-width: 768px){#simpay-global-settings{margin-right:0}}#simpay-global-settings .form-table .payment-details-description-tag{display:inline-block;background:rgba(0,0,0,.07);padding:0 3px}#simpay-global-settings #simpay-settings-left{float:left;width:100%}#simpay-global-settings #simpay-settings-sidebar-right{float:right;width:270px;margin-right:-290px}@media(max-width: 768px){#simpay-global-settings #simpay-settings-sidebar-right{float:left;margin-right:0}}#simpay-global-settings #simpay-settings-sidebar-right h3{padding:10px 12px}#simpay-global-settings #simpay-settings-sidebar-right .centered{text-align:center}#simpay-global-settings #simpay-settings-sidebar-right .button-large{font-size:17px;line-height:30px;height:32px}#simpay-global-settings #simpay-settings-sidebar-right .sidebar-heading{font-size:17px}#simpay-global-settings #simpay-settings-sidebar-right .postbox-nobg{position:relative;min-width:255px}#simpay-global-settings #simpay-settings-sidebar-right .sidebar-container .postbox .inside{margin-bottom:0}.simpay-global-settings--has-sidebar{margin-right:310px}#simpay-payment-form-settings table{width:100%;border-collapse:collapse}#simpay-payment-form-settings ::-webkit-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings ::-moz-placeholder{color:#9ba1a9;opacity:1}#simpay-payment-form-settings :-ms-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings .inside{margin:0;padding:0}#simpay-payment-form-settings .simpay-panel-field .toolbar{margin-bottom:-4px}#simpay-payment-form-settings .simpay-panel-field .toolbar .simpay-field-select{margin:0 0 4px;width:auto;max-width:70%}#simpay-payment-form-settings .simpay-tabs{margin:0;padding:0;list-style:none;background:#fafafa;border-right:1px solid #ccd0d4;line-height:1em;position:relative;flex:0 0 25%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs{flex-basis:100%;flex-grow:1;border-right:0}}#simpay-payment-form-settings .simpay-tabs li{margin:0;padding:0}#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:20px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:0}}#simpay-payment-form-settings .simpay-tabs li.active a{padding-left:14px;font-weight:bold;background-color:#fff;position:relative;box-shadow:inset 4px 0 currentColor,inset 0 -1px 0 #fff,0 1px 1px rgba(0,0,0,.04);margin-right:-1px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li.active a{margin-right:0}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{border-bottom:1px solid #ccd0d4;display:flex;align-items:center;line-height:20px;margin:0;padding:10px;text-decoration:none;transition:all .05s ease-in-out}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item svg,#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item .dashicons{margin-right:6px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{padding:18px}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item:focus{outline:0;position:relative;z-index:2;box-shadow:inset 0 0 0 2px currentColor}#simpay-payment-form-settings .simpay-tabs li:not(.active) .simpay-tab-item{color:inherit}#simpay-payment-form-settings .simpay-panels-wrap{background:#fff;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels-wrap{flex-direction:column}}#simpay-payment-form-settings .simpay-panels{flex:0 0 75%;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels{flex-basis:100%}}#simpay-payment-form-settings .simpay-panel,#simpay-payment-form-settings .simpay-panel-section{width:100%}#simpay-payment-form-settings .simpay-panel>table,#simpay-payment-form-settings .simpay-panel>table>tr,#simpay-payment-form-settings .simpay-panel>table>tbody,#simpay-payment-form-settings .simpay-panel>table>tbody>tr,#simpay-payment-form-settings .simpay-panel>table>thead,#simpay-payment-form-settings .simpay-panel>table>thead>tr{display:block;width:100%}#simpay-payment-form-settings .simpay-panel-field,#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{text-align:left;display:block}#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{width:calc(100% - 36px);margin-left:18px;margin-right:18px}#simpay-payment-form-settings .simpay-panel-field th{font-weight:bold;padding-top:18px;padding-bottom:5px}#simpay-payment-form-settings .simpay-panel-field td{border-bottom:1px solid #ddd;padding-bottom:18px}#simpay-payment-form-settings .simpay-panel-field p.description{margin-top:4px}#simpay-payment-form-settings .simpay-panel-field p.description:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested{margin-top:18px}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested label{font-weight:bold;display:block;margin-bottom:4px}#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:75%;max-width:100%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:0;width:100%}}#simpay-payment-form-settings .simpay-panel-field .simpay-field-textarea{width:100%;max-width:100%}#simpay-payment-form-settings .simpay-panel-field .notice:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .error,#simpay-payment-form-settings .simpay-panel-field .simpay-important{color:#a94442;font-weight:normal}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap{position:relative;margin-top:12px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview{position:absolute;top:-15px;left:-15px;cursor:pointer;background-color:#fff}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview::before{font-size:22px;line-height:26px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-image-preview{max-height:128px;max-width:128px;border:1px solid #ddd}#simpay-payment-form-settings .simpay-panel.simpay-panel--has-help{padding-bottom:48px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box{background-color:#f4f4f4;border:1px solid #e5e5e5;padding:18px;margin-top:18px;position:relative}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss{color:inherit;text-decoration:none;position:absolute;top:8px;right:8px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss .dashicons-dismiss{font-size:16px;width:16px;height:16px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box h3{font-size:18px;font-weight:600;margin:0;padding:0}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p{font-size:14px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p:last-child{margin-bottom:0}#simpay-payment-form-settings .simpay-show-if,#simpay-payment-form-settings .simpay-panel-hidden{display:none}#simpay-global-settings .sortable-placeholder,#simpay-form-settings .sortable-placeholder{margin:5px;display:block;min-height:36px}#simpay-global-settings .chosen-container,#simpay-form-settings .chosen-container{min-width:20em;max-width:30em}#simpay-global-settings .simpay-field.simpay-small-text,#simpay-form-settings .simpay-field.simpay-small-text{width:7em}#simpay-global-settings .simpay-field.simpay-medium-text,#simpay-form-settings .simpay-field.simpay-medium-text{width:15em}#simpay-global-settings .simpay-field-radios ul,#simpay-form-settings .simpay-field-radios ul{margin:0}#simpay-global-settings .simpay-field-radios>i,#simpay-form-settings .simpay-field-radios>i{margin-left:5px;vertical-align:middle}#simpay-global-settings ul.simpay-field-radios-inline,#simpay-form-settings ul.simpay-field-radios-inline{margin:0 0 -10px}#simpay-global-settings ul.simpay-field-radios-inline li,#simpay-form-settings ul.simpay-field-radios-inline li{display:inline-block;margin:0 10px 10px 0}#simpay-global-settings ul.simpay-field-radios-inline li:last-child,#simpay-form-settings ul.simpay-field-radios-inline li:last-child{margin-right:0}#simpay-global-settings .simpay-currency-field,#simpay-form-settings .simpay-currency-field{display:flex;align-items:center}>#simpay-global-settings .simpay-currency-field:focus,>#simpay-form-settings .simpay-currency-field:focus{position:relative;z-index:5}#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{line-height:38px}}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}#simpay-global-settings div.simpay-currency-symbol,#simpay-form-settings div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}#simpay-global-settings select.simpay-currency-symbol,#simpay-form-settings select.simpay-currency-symbol{padding-right:25px}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-width:1px 0 1px 1px}#simpay-global-settings .simpay-currency-symbol-left+.simpay-field-amount,#simpay-form-settings .simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-width:1px 1px 1px 0}#simpay-global-settings .simpay-field-amount,#simpay-form-settings .simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-error,#simpay-form-settings .simpay-error{color:red}#simpay-global-settings .simpay-docs-link-wrap,#simpay-form-settings .simpay-docs-link-wrap{position:absolute;right:0;bottom:0;color:#666;font-size:13px;font-style:italic;padding:15px 18px}#simpay-global-settings .simpay-docs-link-wrap a .dashicons-editor-help,#simpay-form-settings .simpay-docs-link-wrap a .dashicons-editor-help{color:#666;text-decoration:none;width:17px;height:17px;font-size:17px;padding-left:4px}#simpay-global-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon{color:#666}#simpay-global-settings .simpay-docs-icon,#simpay-global-settings .simpay-docs-icon .dashicons-editor-help,#simpay-form-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon .dashicons-editor-help{text-decoration:none;width:17px;height:17px;font-size:17px}#simpay-global-settings .simpay-upgrade-btn,#simpay-form-settings .simpay-upgrade-btn{background-color:#428bca;border:1px solid #428bca;color:#fff;display:inline-block}#simpay-global-settings .simpay-upgrade-btn:focus,#simpay-form-settings .simpay-upgrade-btn:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2d6ca2}#simpay-global-settings .simpay-upgrade-btn:hover,#simpay-form-settings .simpay-upgrade-btn:hover{background-color:#037ad0;border:1px solid #428bca}.post-type-simple-pay #post-body-content{display:none}.form-table td .simpay-stripe-connect-help{margin:15px 0;display:flex;align-items:center}.form-table td .simpay-stripe-connect-help .dashicons{margin-right:4px}#simpay-system-status-report textarea{font-family:monospace;min-height:200px;padding:5px 20px;white-space:pre;width:100%}.simpay-system-status-report-panel{margin:20px 0}.simpay-system-status-report-panel thead th{font-weight:bold}.simpay-system-status-report-panel tbody td,.simpay-system-status-report-panel thead th{font-size:14px;vertical-align:top}.simpay-system-status-report-panel tbody .label{width:30%}.simpay-system-status-report-panel tbody tr:nth-child(odd) td{background-color:rgba(0,0,0,.02)}.simpay-system-status-report-panel dl{margin:0;padding:0}.simpay-system-status-report-panel dt{float:left;font-style:italic;margin:0 4px 0 0}.simpay-system-status-report-panel dd{margin:0}.simpay-system-status-report-panel mark{background-color:transparent;font-weight:bold}.simpay-system-status-report-panel mark.ok{color:green}.simpay-system-status-report-panel mark.error{color:red}.simpay-system-status-report-panel mark.warning{color:#ffb900}.simpay-currency-field{display:flex;align-items:center}>.simpay-currency-field:focus{position:relative;z-index:5}.simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){.simpay-currency-symbol{line-height:38px}}.simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}select.simpay-currency-symbol{padding-right:25px}.simpay-currency-symbol-left{border-width:1px 0 1px 1px}.simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}.simpay-currency-symbol-right{border-width:1px 1px 1px 0}.simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#wpsp-api-keys-row-hide{display:none}.wpsp-stripe-connect{display:inline-block;margin-bottom:1px;background-image:linear-gradient(#28a0e5, #015e94);-webkit-font-smoothing:antialiased;border:0;padding:1px;height:30px;text-decoration:none;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,.2);cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wpsp-stripe-connect span{display:block;position:relative;padding:0 12px 0 44px;height:30px;background:#1275ff;background-image:linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);font-size:14px;line-height:30px;color:#fff;font-weight:bold;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.25);border-radius:3px}.wpsp-stripe-connect span::before{content:\"\";display:block;position:absolute;left:11px;top:50%;width:23px;height:24px;margin-top:-12px;background-repeat:no-repeat;background-size:23px 24px}.wpsp-stripe-connect:active{background:#005d93}.wpsp-stripe-connect:active span{color:#eee;background:#008cdd;background-image:linear-gradient(#008cdd, #008cdd 85%, #239adf);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8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v/2hUEATfoPbuam5v8N7nps70YTbAAAAAElFTkSuQmCC\")}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnuUUb3/7T/YeAy9BXOFaQxZTI7MprJlYrzZIzeCZnBAhKQB3SgBrSAHjAGFsAW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oC,+CAA+C,kBAAkB,kCAAkC,WAAW,cAAc,kBAAkB,UAAU,QAAQ,WAAW,YAAY,iBAAiB,4BAA4B,0BAA0B,4BAA4B,mBAAmB,iCAAiC,WAAW,mBAAmB,gEAAgE,wCAAwC,yEAAyE,qCAAqC,8mJAA8mJ,8JAA8J,yEAAyE,qCAAqC,u1M","file":"./../css/simpay-admin.min.css","sourcesContent":[".simpay-settings-subsections{display:flex;align-items:center;box-shadow:inset 0 -1px 0 0 #ccc}.simpay-settings-subsections__subsection{font-weight:500;text-decoration:none;padding:15px;display:flex;align-items:center}.simpay-settings-subsections__subsection .dashicons{width:18px;height:18px;font-size:18px;margin-right:4px}.simpay-settings-subsections__subsection.is-active{box-shadow:inset 0 -4px 0 0 currentColor;position:relative;z-index:1}.simpay-settings-subsections__subsection:not(.is-active){color:#23282d}.simpay-settings form>h2:not(.nav-tab-wrapper){clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.simpay-settings .form-table td fieldset+p,.simpay-settings .form-table td label+p,.simpay-settings .form-table td select+p,.simpay-settings .form-table td input+p{color:#666;font-style:italic}.simpay-settings .simpay-settings-subsections__subsection{display:flex;align-items:center}.simpay-settings .simpay-settings-subsections__subsection .simpay-settings-bubble{margin-left:5px}.fixed .column-livemode{width:15%;text-align:right}@media screen and (max-width: 782px){.fixed .column-livemode{text-align:left}}.fixed .column-livemode .simpay-badge{margin-top:3px}.fixed .column-shortcode{width:25%}.post-type-simple-pay .misc-pub-curtime,.post-type-simple-pay .misc-pub-visibility{display:none}.simpay-metabox-title{border:1px solid #eee}.simpay-badge{color:#3f3f46;text-align:center;line-height:1;padding:5px 7px;border-radius:3px;background:#e4e4e7;border:0;box-shadow:none;display:inline-flex;align-items:center}button.simpay-badge{cursor:pointer}button.simpay-badge:hover{background:#d4d4d8}.simpay-badge__icon{opacity:.8;margin:2px 5px 0 0}.simpay-badge--green{color:#0e6245;background:#cbf4c9}.simpay-badge--yellow{color:#983705;background:#f8e5b9}.simpay-stripe-account-info{display:flex;align-items:center;margin-bottom:8px}.simpay-stripe-account-info .spinner{float:none;margin-top:0;margin-left:0}.simpay-settings-upgrade{background-color:#fff;border:1px solid #dadada;padding:25px 20px 30px;margin:10px 0 0;position:relative}.simpay-settings-upgrade__inner{text-align:center;max-width:750px;margin:0 auto}.simpay-settings-upgrade h3,.simpay-settings-upgrade h4{line-height:1;margin:1rem 0}.simpay-settings-upgrade h4{color:#428bca;font-size:18px}.simpay-settings-upgrade h3{font-size:26px}.simpay-settings-upgrade ul{max-width:550px;margin:25px auto 13px;display:flex;flex-wrap:wrap;justify-content:center}.simpay-settings-upgrade li{font-size:15px;text-align:center;margin-bottom:12px;width:100%}@media screen and (min-width: 782px){.simpay-settings-upgrade li{text-align:left;width:50%}}.simpay-settings-upgrade .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-settings-upgrade small{color:#666;margin:15px 0 0;display:block}.simpay-settings-upgrade .dashicons{color:#428bca}.simpay-settings-upgrade .button-link{position:absolute;top:0;right:0;font-size:20px;color:#666;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px;z-index:2}.simpay-settings-upgrade .button-link:hover,.simpay-settings-upgrade .button-link:active,.simpay-settings-upgrade .button-link:focus{color:#666;text-decoration:none}#simpay-payment-form-settings table{width:100%;border-collapse:collapse}#simpay-payment-form-settings ::-webkit-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings ::-moz-placeholder{color:#9ba1a9;opacity:1}#simpay-payment-form-settings :-ms-input-placeholder{color:#9ba1a9}#simpay-payment-form-settings .inside{margin:0;padding:0}#simpay-payment-form-settings .simpay-panel-field .toolbar{margin-bottom:-4px}#simpay-payment-form-settings .simpay-panel-field .toolbar .simpay-field-select{margin:0 0 4px;width:auto;max-width:70%}#simpay-payment-form-settings .simpay-tabs{margin:0;padding:0;list-style:none;background:#fafafa;border-right:1px solid #ccd0d4;line-height:1em;position:relative;flex:0 0 25%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs{flex-basis:100%;flex-grow:1;border-right:0}}#simpay-payment-form-settings .simpay-tabs li{margin:0;padding:0}#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:20px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li:last-child{margin-bottom:0}}#simpay-payment-form-settings .simpay-tabs li.active a{padding-left:14px;font-weight:bold;background-color:#fff;position:relative;box-shadow:inset 4px 0 currentColor,inset 0 -1px 0 #fff,0 1px 1px rgba(0,0,0,.04);margin-right:-1px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li.active a{margin-right:0}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{border-bottom:1px solid #ccd0d4;display:flex;align-items:center;line-height:20px;margin:0;padding:10px;text-decoration:none;transition:all .05s ease-in-out}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item svg,#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item .dashicons{margin-right:6px}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item{padding:18px}}#simpay-payment-form-settings .simpay-tabs li .simpay-tab-item:focus{outline:0;position:relative;z-index:2;box-shadow:inset 0 0 0 2px currentColor}#simpay-payment-form-settings .simpay-tabs li:not(.active) .simpay-tab-item{color:inherit}#simpay-payment-form-settings .simpay-panels-wrap{background:#fff;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels-wrap{flex-direction:column}}#simpay-payment-form-settings .simpay-panels{flex:0 0 75%;display:flex}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panels{flex-basis:100%}}#simpay-payment-form-settings .simpay-panel,#simpay-payment-form-settings .simpay-panel-section{width:100%}#simpay-payment-form-settings .simpay-panel{overflow:hidden}#simpay-payment-form-settings .simpay-panel>table,#simpay-payment-form-settings .simpay-panel>table>tr,#simpay-payment-form-settings .simpay-panel>table>tbody,#simpay-payment-form-settings .simpay-panel>table>tbody>tr,#simpay-payment-form-settings .simpay-panel>table>thead,#simpay-payment-form-settings .simpay-panel>table>thead>tr{display:block;width:100%}#simpay-payment-form-settings .simpay-panel-field,#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{text-align:left;display:block}#simpay-payment-form-settings .simpay-panel-field>td,#simpay-payment-form-settings .simpay-panel-field>th{width:calc(100% - 36px);margin-left:18px;margin-right:18px}#simpay-payment-form-settings .simpay-panel-field th{font-weight:bold;padding-top:18px;padding-bottom:5px}#simpay-payment-form-settings .simpay-panel-field td{border-bottom:1px solid #ddd;padding-bottom:18px}#simpay-payment-form-settings .simpay-panel-field p.description{margin-top:4px}#simpay-payment-form-settings .simpay-panel-field p.description:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested{margin-top:18px}#simpay-payment-form-settings .simpay-panel-field .simpay-panel-field__nested label{font-weight:bold;display:block;margin-bottom:4px}#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:75%;max-width:100%}@media screen and (max-width: 782px){#simpay-payment-form-settings .simpay-panel-field .simpay-field-select,#simpay-payment-form-settings .simpay-panel-field .simpay-field-text{min-width:0;width:100%}}#simpay-payment-form-settings .simpay-panel-field .simpay-field-textarea{width:100%;max-width:100%}#simpay-payment-form-settings .simpay-panel-field .notice:last-of-type{margin-bottom:0}#simpay-payment-form-settings .simpay-panel-field .error,#simpay-payment-form-settings .simpay-panel-field .simpay-important{color:#a94442;font-weight:normal}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap{position:relative;margin-top:12px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview{position:absolute;top:-15px;left:-15px;cursor:pointer;background-color:#fff}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-remove-image-preview::before{font-size:22px;line-height:26px}#simpay-payment-form-settings .simpay-panel-field .simpay-image-preview-wrap .simpay-image-preview{max-height:128px;max-width:128px;border:1px solid #ddd}#simpay-payment-form-settings .simpay-panel.simpay-panel--has-help{padding-bottom:48px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box{background-color:#f4f4f4;border:1px solid #e5e5e5;padding:18px;margin-top:18px;position:relative}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss{color:inherit;text-decoration:none;position:absolute;top:8px;right:8px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box__dismiss .dashicons-dismiss{font-size:16px;width:16px;height:16px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box h3{font-size:18px;font-weight:600;margin:0;padding:0}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p{font-size:14px}#simpay-payment-form-settings .simpay-panel .simpay-promo-under-box p:last-child{margin-bottom:0}#simpay-payment-form-settings .simpay-show-if,#simpay-payment-form-settings .simpay-panel-hidden{display:none}#simpay-global-settings .sortable-placeholder,#simpay-form-settings .sortable-placeholder{margin:5px;display:block;min-height:36px}#simpay-global-settings .chosen-container,#simpay-form-settings .chosen-container{min-width:20em;max-width:30em}#simpay-global-settings .simpay-field.simpay-small-text,#simpay-form-settings .simpay-field.simpay-small-text{width:7em}#simpay-global-settings .simpay-field.simpay-medium-text,#simpay-form-settings .simpay-field.simpay-medium-text{width:15em}#simpay-global-settings .simpay-field-radios ul,#simpay-form-settings .simpay-field-radios ul{margin:0}#simpay-global-settings .simpay-field-radios>i,#simpay-form-settings .simpay-field-radios>i{margin-left:5px;vertical-align:middle}#simpay-global-settings ul.simpay-field-radios-inline,#simpay-form-settings ul.simpay-field-radios-inline{margin:0 0 -10px}#simpay-global-settings ul.simpay-field-radios-inline li,#simpay-form-settings ul.simpay-field-radios-inline li{display:inline-block;margin:0 10px 10px 0}#simpay-global-settings ul.simpay-field-radios-inline li:last-child,#simpay-form-settings ul.simpay-field-radios-inline li:last-child{margin-right:0}#simpay-global-settings .simpay-currency-field,#simpay-form-settings .simpay-currency-field{display:flex;align-items:center}>#simpay-global-settings .simpay-currency-field:focus,>#simpay-form-settings .simpay-currency-field:focus{position:relative;z-index:5}#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){#simpay-global-settings .simpay-currency-symbol,#simpay-form-settings .simpay-currency-symbol{line-height:38px}}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}#simpay-global-settings div.simpay-currency-symbol,#simpay-form-settings div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}#simpay-global-settings select.simpay-currency-symbol,#simpay-form-settings select.simpay-currency-symbol{padding-right:25px}#simpay-global-settings .simpay-currency-symbol-left,#simpay-form-settings .simpay-currency-symbol-left{border-width:1px 0 1px 1px}#simpay-global-settings .simpay-currency-symbol-left+.simpay-field-amount,#simpay-form-settings .simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}#simpay-global-settings .simpay-currency-symbol-right,#simpay-form-settings .simpay-currency-symbol-right{border-width:1px 1px 1px 0}#simpay-global-settings .simpay-field-amount,#simpay-form-settings .simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}#simpay-global-settings .simpay-error,#simpay-form-settings .simpay-error{color:red}#simpay-global-settings .simpay-docs-link-wrap,#simpay-form-settings .simpay-docs-link-wrap{position:absolute;right:0;bottom:0;color:#666;font-size:13px;font-style:italic;padding:15px 18px}#simpay-global-settings .simpay-docs-link-wrap a .dashicons-editor-help,#simpay-form-settings .simpay-docs-link-wrap a .dashicons-editor-help{color:#666;text-decoration:none;width:17px;height:17px;font-size:17px;padding-left:4px}#simpay-global-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon{color:#666}#simpay-global-settings .simpay-docs-icon,#simpay-global-settings .simpay-docs-icon .dashicons-editor-help,#simpay-form-settings .simpay-docs-icon,#simpay-form-settings .simpay-docs-icon .dashicons-editor-help{text-decoration:none;width:17px;height:17px;font-size:17px}.button.button-primary.simpay-upgrade-btn{background-color:#428bca;border:1px solid #428bca;color:#fff;display:inline-block}.button.button-primary.simpay-upgrade-btn:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px #2d6ca2}.button.button-primary.simpay-upgrade-btn:hover{background-color:#037ad0;border:1px solid #428bca}.simpay-upgrade-btn-subtext{font-size:14px;color:green;margin-top:5px}.post-type-simple-pay #post-body-content{display:none}.form-table td .simpay-stripe-connect-help{margin:15px 0;display:flex;align-items:center}.form-table td .simpay-stripe-connect-help .dashicons{margin-right:4px}#simpay-system-status-report textarea{font-family:monospace;min-height:200px;padding:5px 20px;white-space:pre;width:100%}.simpay-system-status-report-panel{margin:20px 0}.simpay-system-status-report-panel thead th{font-weight:bold}.simpay-system-status-report-panel tbody td,.simpay-system-status-report-panel thead th{font-size:14px;vertical-align:top}.simpay-system-status-report-panel tbody .label{width:30%}.simpay-system-status-report-panel tbody tr:nth-child(odd) td{background-color:rgba(0,0,0,.02)}.simpay-system-status-report-panel dl{margin:0;padding:0}.simpay-system-status-report-panel dt{float:left;font-style:italic;margin:0 4px 0 0}.simpay-system-status-report-panel dd{margin:0}.simpay-system-status-report-panel mark{background-color:transparent;font-weight:bold}.simpay-system-status-report-panel mark.ok{color:green}.simpay-system-status-report-panel mark.error{color:red}.simpay-system-status-report-panel mark.warning{color:#ffb900}.simpay-currency-field{display:flex;align-items:center}>.simpay-currency-field:focus{position:relative;z-index:5}.simpay-currency-symbol{margin:0;padding-left:8px;padding-right:8px;line-height:28px;font-size:14px}@media screen and (max-width: 782px){.simpay-currency-symbol{line-height:38px}}.simpay-currency-symbol-left{border-top-left-radius:4px;border-bottom-left-radius:4px}.simpay-currency-symbol-right{border-top-right-radius:4px;border-bottom-right-radius:4px}div.simpay-currency-symbol{border-color:#7e8993;border-style:solid;background-color:#fff}select.simpay-currency-symbol{padding-right:25px}.simpay-currency-symbol-left{border-width:1px 0 1px 1px}.simpay-currency-symbol-left+.simpay-field-amount{border-radius:0 4px 4px 0}.simpay-currency-symbol-right{border-width:1px 1px 1px 0}.simpay-field-amount{margin:0;padding-left:8px;padding-right:8px;font-size:14px;width:6em;position:relative;z-index:2;border-radius:0;border-top-left-radius:4px;border-bottom-left-radius:4px}.post-php.post-type-simple-pay #screen-meta-links{display:none}.edit-php.post-type-simple-pay .metabox-prefs label:first-of-type{display:none}.simpay-branding-bar{margin-left:-20px;padding:14px 20px 14px 22px;background:#fff;border-bottom:1px solid #c3c4c7}.simpay-branding-bar__title{display:flex;align-items:center}.simpay-branding-bar__logo{width:180px;margin-bottom:12px}.simpay-branding-bar__divider{color:#dadbdf;font-size:23px;font-weight:400;margin:0 15px}.simpay-branding-bar .wp-heading-inline{font-size:23px;font-weight:400;margin:0}.simpay-branding-bar .page-title-action{font-weight:600;font-size:13px;line-height:normal;cursor:pointer;text-shadow:none;text-decoration:none;margin-left:10px;padding:4px 8px;border:1px solid currentColor;border-radius:2px;background:#f6f7f7}.simpay-landing-zone{text-align:center;max-width:700px;margin:40px auto}.simpay-landing-zone__title{font-size:26px;font-weight:600;margin:0 0 1.5rem;padding:0}.simpay-landing-zone__subtitle{font-size:17px;color:#666;margin:.25rem 0}.simpay-landing-zone__subtitle strong{color:#444}.simpay-landing-zone section{margin:2rem 0}.simpay-landing-zone__empty-state-graphic img{width:425px}.simpay-landing-zone__screenshot>*{vertical-align:middle}.simpay-landing-zone__screenshot-img{display:inline-block;position:relative;width:315px;padding:5px;background-color:#fff;box-shadow:0px 2px 5px 0px rgba(0,0,0,.05);border-radius:3px}.simpay-landing-zone__screenshot-img img{max-width:100%;display:block}.simpay-landing-zone__screenshot-img .hover{position:absolute;opacity:0;height:calc(100% - 10px);width:calc(100% - 10px);top:0;left:0;border:5px solid #fff;background-color:rgba(0,0,0,.15);background-image:url(data:image/svg+xml;base64,PHN2ZyBzdHlsZT0iYmFja2dyb3VuZC1jb2xvcjojZmZmZmZmMDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIxMDAiPjxwYXRoIGQ9Ik01MCAwYzI3LjYxNCAwIDUwIDIyLjM4NiA1MCA1MHMtMjIuMzg2IDUwLTUwIDUwUzAgNzcuNjE0IDAgNTAgMjIuMzg2IDAgNTAgMHoiIGZpbGw9IiMxNjg1YjciLz48cGF0aCBkPSJNNzMuMDIzIDY3LjA2N2wtOS4zNDQtOS4zNDRhMi4yNDcgMi4yNDcgMCAwMC0xLjU5My0uNjU2aC0xLjUyOGExOS4zOTkgMTkuMzk5IDAgMDA0LjEyNC0xMS45OTZjMC0xMC43Ny04LjcyNS0xOS40OTUtMTkuNDk0LTE5LjQ5NS0xMC43NjggMC0xOS40OTQgOC43MjYtMTkuNDk0IDE5LjQ5NSAwIDEwLjc2OCA4LjcyNiAxOS40OTMgMTkuNDk0IDE5LjQ5M2ExOS40IDE5LjQgMCAwMDExLjk5Ny00LjEyM3YxLjUyN2MwIC42LjIzNCAxLjE3Mi42NTUgMS41OTRsOS4zNDQgOS4zNDRhMi4yNCAyLjI0IDAgMDAzLjE3OCAwbDIuNjUyLTIuNjUzYTIuMjYgMi4yNiAwIDAwLjAxLTMuMTg2em0tMjcuODM1LTEwYy02LjYyNiAwLTExLjk5Ni01LjM2MS0xMS45OTYtMTEuOTk2IDAtNi42MjcgNS4zNi0xMS45OTcgMTEuOTk2LTExLjk5NyA2LjYyNiAwIDExLjk5NyA1LjM2MSAxMS45OTcgMTEuOTk3IDAgNi42MjYtNS4zNjEgMTEuOTk2LTExLjk5NyAxMS45OTZ6IiBmaWxsPSIjZmZmIi8+PC9zdmc+);background-repeat:no-repeat;background-position:center;background-size:50px;transition:all .3s}.simpay-landing-zone__screenshot-img:hover .hover{opacity:1;transition:all .3s}.simpay-landing-zone__screenshot ul{text-align:left;display:inline-block;margin:0 0 0 30px;list-style-type:none;max-width:calc(100% - 350px)}@media screen and (max-width: 782px){.simpay-landing-zone__screenshot ul{text-align:center;margin:30px auto;max-width:100%;display:block}}.simpay-landing-zone__screenshot li{margin:16px 0;padding:0;font-size:15px;color:#777;position:relative}.simpay-landing-zone__screenshot li:before{content:\"\";background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjc3NjIgNi40NTYwNUw4LjcyMDMyIDEuNDAwMDVDOC41NzU5OSAxLjI1NTcyIDguMzgzNjQgMS4xNzY1IDguMTc4NTMgMS4xNzY1QzcuOTczMiAxLjE3NjUgNy43ODA5NiAxLjI1NTg0IDcuNjM2NjQgMS40MDAwNUw3LjE3NzYgMS44NTkyQzcuMDMzMzkgMi4wMDMyOSA2Ljk1Mzk1IDIuMTk1NzYgNi45NTM5NSAyLjQwMDk4QzYuOTUzOTUgMi42MDYwOCA3LjAzMzM5IDIuODA1MDQgNy4xNzc2IDIuOTQ5MTRMMTAuMTI3MSA1LjkwNTE2SDAuNzU2MzM0QzAuMzMzODM0IDUuOTA1MTYgMCA2LjIzNTkyIDAgNi42NTg1NFY3LjMwNzY1QzAgNy43MzAyNyAwLjMzMzgzNCA4LjA5NDM4IDAuNzU2MzM0IDguMDk0MzhIMTAuMTYwNkw3LjE3NzcyIDExLjA2NjlDNy4wMzM1MSAxMS4yMTEyIDYuOTU0MDYgMTEuMzk4NSA2Ljk1NDA2IDExLjYwMzdDNi45NTQwNiAxMS44MDg3IDcuMDMzNTEgMTEuOTk4NiA3LjE3NzcyIDEyLjE0MjhMNy42MzY3NSAxMi42MDA1QzcuNzgxMDcgMTIuNzQ0OCA3Ljk3MzMyIDEyLjgyMzUgOC4xNzg2NSAxMi44MjM1QzguMzgzNzUgMTIuODIzNSA4LjU3NjExIDEyLjc0MzggOC43MjA0MyAxMi41OTk1TDEzLjc3NjMgNy41NDM2QzEzLjkyMSA3LjM5ODgyIDE0LjAwMDUgNy4yMDU1NiAxNCA3LjAwMDExQzE0LjAwMDQgNi43OTM5OCAxMy45MjEgNi42MDA2IDEzLjc3NjIgNi40NTYwNVY2LjQ1NjA1WiIgZmlsbD0iIzQyOEJDQSIvPgo8L3N2Zz4K);background-position:center;background-repeat:no-repeat;background-size:14px;width:14px;height:14px;display:inline-block;margin:-3px 5px 0 0;vertical-align:middle}.simpay-landing-zone .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-teaser-float{margin:50px;position:relative}.simpay-teaser-float__card{text-align:center;padding:30px;background:#fff;border-radius:4px;box-shadow:0 0 30px 15px rgba(0,0,0,.18);position:relative;z-index:2}#poststuff .simpay-teaser-float h2,.simpay-teaser-float h2{font-size:24px;font-weight:600;margin:0;padding:0}.simpay-teaser-float p{font-size:15px;line-height:1.35;color:#666}.simpay-teaser-float p strong{color:#444}.simpay-teaser-float ul{text-align:left;display:inline-block;margin:-10px 0 20px;list-style-type:none}.simpay-teaser-float li{margin:16px 0;padding:0 0 0 24px;font-size:15px;background-image:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQiIGhlaWdodD0iMTQiIHZpZXdCb3g9IjAgMCAxNCAxNCIgZmlsbD0ibm9uZSIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZD0iTTEzLjc3NjIgNi40NTYwNUw4LjcyMDMyIDEuNDAwMDVDOC41NzU5OSAxLjI1NTcyIDguMzgzNjQgMS4xNzY1IDguMTc4NTMgMS4xNzY1QzcuOTczMiAxLjE3NjUgNy43ODA5NiAxLjI1NTg0IDcuNjM2NjQgMS40MDAwNUw3LjE3NzYgMS44NTkyQzcuMDMzMzkgMi4wMDMyOSA2Ljk1Mzk1IDIuMTk1NzYgNi45NTM5NSAyLjQwMDk4QzYuOTUzOTUgMi42MDYwOCA3LjAzMzM5IDIuODA1MDQgNy4xNzc2IDIuOTQ5MTRMMTAuMTI3MSA1LjkwNTE2SDAuNzU2MzM0QzAuMzMzODM0IDUuOTA1MTYgMCA2LjIzNTkyIDAgNi42NTg1NFY3LjMwNzY1QzAgNy43MzAyNyAwLjMzMzgzNCA4LjA5NDM4IDAuNzU2MzM0IDguMDk0MzhIMTAuMTYwNkw3LjE3NzcyIDExLjA2NjlDNy4wMzM1MSAxMS4yMTEyIDYuOTU0MDYgMTEuMzk4NSA2Ljk1NDA2IDExLjYwMzdDNi45NTQwNiAxMS44MDg3IDcuMDMzNTEgMTEuOTk4NiA3LjE3NzcyIDEyLjE0MjhMNy42MzY3NSAxMi42MDA1QzcuNzgxMDcgMTIuNzQ0OCA3Ljk3MzMyIDEyLjgyMzUgOC4xNzg2NSAxMi44MjM1QzguMzgzNzUgMTIuODIzNSA4LjU3NjExIDEyLjc0MzggOC43MjA0MyAxMi41OTk1TDEzLjc3NjMgNy41NDM2QzEzLjkyMSA3LjM5ODgyIDE0LjAwMDUgNy4yMDU1NiAxNCA3LjAwMDExQzE0LjAwMDQgNi43OTM5OCAxMy45MjEgNi42MDA2IDEzLjc3NjIgNi40NTYwNVY2LjQ1NjA1WiIgZmlsbD0iIzQyOEJDQSIvPgo8L3N2Zz4K);background-position:left 3px;background-repeat:no-repeat;background-size:14px;color:#777}.simpay-teaser-float .button.button-large{font-size:17px;line-height:30px;padding:10px 20px}.simpay-teaser-float .simpay-notice-dismiss{position:absolute;top:0;right:0;font-size:20px;color:#666;font-weight:bold;text-decoration:none;margin-left:5px;padding:6px 10px;z-index:2}.simpay-teaser-float .simpay-notice-dismiss:hover,.simpay-teaser-float .simpay-notice-dismiss:active,.simpay-teaser-float .simpay-notice-dismiss:focus{color:#666;text-decoration:none}.simpay-teaser-float:after,.simpay-teaser-float:before{opacity:.75;z-index:0;content:\"\";position:absolute;left:-30px;right:-30px;top:-35px;width:calc(100% + 60px);height:170px;background-image:linear-gradient(#ddd, #ddd),linear-gradient(#eee, #eee),linear-gradient(#ddd, #ddd),linear-gradient(#eee, #eee);background-repeat:no-repeat;background-size:100% 20px,100% 40px,100% 20px,100% 40px;background-position:0 0,0 30px,0 100px,0 130px}.simpay-teaser-float:before{top:170px}.simpay-teaser-float--inline{margin:40px 30px 30px}.simpay-teaser-float--inline .simpay-teaser-float__card{padding:22px;box-shadow:0 0 12px 6px rgba(0,0,0,.16)}#poststuff .simpay-teaser-float--inline h2,.simpay-teaser-float--inline h2{font-size:18px}.simpay-teaser-float--inline p{font-size:14px;margin:.5rem 0 .75rem}.simpay-teaser-float--inline .button.button-large{font-size:15px;line-height:24px;padding:8px 14px}.simpay-teaser-float--inline:before,.simpay-teaser-float--inline:after{opacity:.6}.simpay-teaser-float--inline:before{display:none}.simpay-teaser-float--inline:after{top:15px}.post-type-simple-pay .lity{z-index:999999999;padding:20px}.post-type-simple-pay .lity-close{margin:10px}.post-type-simple-pay .lity-content{max-width:80vw;max-height:80vh}.post-type-simple-pay .lity-content img{max-height:80vh !important;max-width:80vw !important}#wpsp-api-keys-row-hide{display:none}.wpsp-stripe-connect{display:inline-block;margin-bottom:1px;background-image:linear-gradient(#28a0e5, #015e94);-webkit-font-smoothing:antialiased;border:0;padding:1px;height:30px;text-decoration:none;border-radius:4px;box-shadow:0 1px 0 rgba(0,0,0,.2);cursor:pointer;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;user-select:none}.wpsp-stripe-connect span{display:block;position:relative;padding:0 12px 0 44px;height:30px;background:#1275ff;background-image:linear-gradient(#7dc5ee, #008cdd 85%, #30a2e4);font-size:14px;line-height:30px;color:#fff;font-weight:bold;font-family:\"Helvetica Neue\",Helvetica,Arial,sans-serif;text-shadow:0 -1px 0 rgba(0,0,0,.2);box-shadow:inset 0 1px 0 rgba(255,255,255,.25);border-radius:3px}.wpsp-stripe-connect span::before{content:\"\";display:block;position:absolute;left:11px;top:50%;width:23px;height:24px;margin-top:-12px;background-repeat:no-repeat;background-size:23px 24px}.wpsp-stripe-connect:active{background:#005d93}.wpsp-stripe-connect:active span{color:#eee;background:#008cdd;background-image:linear-gradient(#008cdd, #008cdd 85%, #239adf);box-shadow:inset 0 1px 0 rgba(0,0,0,.1)}.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABcAAAAYCAYAAAARfGZ1AAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF3WS8V8LAuD1LYBaAK5bBIQzmX/p/+9DkSsSSwCAwtEAOx4/l4tyIcpZ+RKRTJ9EmZ6SKWMYI2MxmiDKqjJO+8Tmf/p8Yk8Z87KFPNRHlrOIl82TcRfKG/OkfJSREJSL8gT8fJRvoKyfJc0WoPwGZXo2n5MLAIYi0yV8bjrK1ihTxNGRbJTnAkCgpH3FKV+xhF+A5gkAO0e0RCxIS5cwjbkmTBtnZxYzgJ+fxZdILMI53EyOmMdk52SLOMIlAHz6ZlkUUJLVlokW2dHG2dHRwtYSLf/n9Y+bn73+GWS9/eTxMuLPnkGMni/al9gvWk4tAKwptDZbvmgpOwFoWw+A6t0vmv4+AOQLAWjt++p7GLJ5SZdIRC5WVvn5+ZYCPtdSVtDP6386fPb8e/jqPEvZeZ9rx/Thp3KkWRKmrKjcnKwcqZiZK+Jw+UyL/x7ifx34VVpf5WEeyU/li/lC9KgYdMoEwjS03UKeQCLIETIFwr/r8L8M+yoHGX6aaxRodR8BPckSKPTRAfJrD8DQyABJ3IPuQJ/7FkKMAbKbF6s99mnu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zIYFO7tc7w0TKkeEYg5ADnrWkkYhD8s26GPq3nW0WKxTptftPYBI4Mj3O2fHvKNZBMVSDmMwarXNjDkSF3d5kExZeiCr8M2VI+VFu9IvsPcYtzAvkfoEZkEEE45jMppq3ppbCNPFIY1nD1cpo07lbMmvOXeoDCF8BLKy9uUAAjDkBh+c6bz78mNtVVP7MwET7JBnqb4xXpdWVpC1OVzWn+ELHLCsneX/s7rkRWl1463cy1U3WroG21jhCGKJXPOtKQnpAuENvsAppgDB3TcDVIrpDHbK5Kd+y7W8iodNybHh22rOHyxUK+UaMYjZaoyp25rYL54TSihSKmwZ14v3lc3ZFxdbeywjn/tGJnkmzrydX1ApxOEACKymmXLYfXVpi1JMEOGxPi1ep18doY4r2J7uFumQQ9yGf01bMcZW8dpyc0oIjxxpuC5wuUDX+ovWrnYeg3aXvdLIqnmOvXPsfH6uA5YbTb1DX8ofvTLzTy6ZV4K6fAw+gXiATfdffmjeaUgc1UdpdWplsCooQBrEnqUw82dhdnjit/Vxc4f59tP3DRjzJvYteqrl4rmNlJIfrOwpgNklesDRNQBCHYtQAQqD2CgACNjHAJnG1EyfV/S67fZiJB5t2OGEe4n7L3fS4fpEv/2hUEATfoPbuam5v8N7nps70YTbAAAAAElFTkSuQmCC\")}@media only screen and (-webkit-min-device-pixel-ratio: 1.5),only screen and (min--moz-device-pixel-ratio: 1.5),only screen and (min-device-pixel-ratio: 1.5){.wpsp-stripe-connect span::before,.wpsp-stripe-connect.blue span::before{background-image:url(\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAC4AAAAwCAYAAABuZUjcAAAKRGlDQ1BJQ0MgUHJvZmlsZQAASA2dlndUFNcXx9/MbC+0XZYiZem9twWkLr1IlSYKy+4CS1nWZRewN0QFIoqICFYkKGLAaCgSK6JYCAgW7AEJIkoMRhEVlczGHPX3Oyf5/U7eH3c+8333nnfn3vvOGQAoASECYQ6sAEC2UCKO9PdmxsUnMPG9AAZEgAM2AHC4uaLQKL9ogK5AXzYzF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wBh7/WQubgTOQj5BVjdv7KiBJz7bztMNcHIk03JiONNyfiK/ntv2VMHAMx6BjpoA/Gj9Emdjul7W7e6TeQNDK9WJLRm361P5c1drEmAaymaYoXpfjZoiOk7FHWuh5dxEHmzLHiXM9oyTz9FawRZw65f5yyzXBMpd0JGhFKB5nSwRMVvumDv2cxm4m1f5X4AuWhRePDUOtqEPQJVVGfWcBz1ahmPlTlxzqaJLquYZU1HTvjcTMD6dOULM0n+g5nKposHzdWbo7FgEkDBviWlYx++53XtQ33kvDU8dHAJm6L8usdwEZn09S3qiPed5lcCSLUpI0eEA8620zLbDl6bh8T+egkI+/7Rl6kegcTSPst1QUKaM+brhrjnF2yUQJNxnrGMnR7KbTw5nYFVjyAl98w2+VdvVlA67Dw3BgROjAKa+yyrpz0BKTbJnez1NT6AKrrnA1bEi1av2v3xaiL90dnxL2Kc0rsXc4WpcQEc8AEtiGrRiejmK6WWeMDIxtVwwKExijB5KFuBYIg1cy8dx0dTQ/yQVc78yBXMIqJ5i/VvvkqHdSjXuM/THKy7w2LQJ6fpJms38QiHGvlzBt+RwJv2JQ2elbjyRtjIi1AIRMAsKPuQduHVzr2YW+kIBE5BTwOzzxLKOiMX8QVuWh00IpqD+S0WHtLlzefpLBOZo/IYvEqQPnTX5dxmy4xookqaCjRuT4mMi8g3bxs2KCkj3GFj4+QSzA0RkeskU8iCJeUiBDv09Jt8OPEV6k7DlP3gxxh/dAPymPh/Kf5d897dIOd9P7H8oEd4G1JV8wPGbRadx52sgLmrRAZ99EZ5+LZgV+v+4Llrg/wX6HRCxgvzAAwAAAABJRU5ErkJggg==\")}}"],"sourceRoot":""} \ No newline at end of file diff --git a/includes/core/assets/css/simpay-public.min.css b/includes/core/assets/css/simpay-public.min.css index 3a249903..bd67cbf2 100644 --- a/includes/core/assets/css/simpay-public.min.css +++ b/includes/core/assets/css/simpay-public.min.css @@ -1,3 +1,3 @@ -.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.grecaptcha-badge{z-index:100}.simpay-styled .stripe-button-el{text-decoration:none}.simpay-styled .stripe-button-el:hover{box-shadow:none}.simpay-checkout-form--loading::after{content:"";position:absolute;left:0;width:100%;height:100%;top:0}.simpay-checkout-form--loading .simpay-form-control{opacity:.65}.simpay-errors{margin-bottom:15px}.simpay-styled .simpay-errors{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#eb1c26}.simpay-test-mode-badge-container{text-align:center}.simpay-test-mode-badge-container .simpay-test-mode-badge{color:#a04903;text-align:center;text-transform:uppercase;font-size:10px;font-family:sans-serif;line-height:10px;font-weight:700;padding:5px 7px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center} +.screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.grecaptcha-badge{z-index:100}.simpay-styled .stripe-button-el{text-decoration:none}.simpay-styled .stripe-button-el:hover{box-shadow:none}.simpay-checkout-form--loading::after{content:"";position:absolute;left:0;width:100%;height:100%;top:0}.simpay-checkout-form--loading .simpay-form-control{opacity:.65}.simpay-errors{margin-bottom:15px}.simpay-styled .simpay-errors{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#eb1c26;line-height:1.5}.simpay-test-mode-badge-container{text-align:center}.simpay-test-mode-badge-container .simpay-test-mode-badge{color:#a04903;text-align:center;text-transform:uppercase;font-size:10px;font-family:sans-serif;line-height:10px;font-weight:700;padding:5px 7px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center} /*# sourceMappingURL=simpay-public.min.css.map*/ \ No newline at end of file diff --git a/includes/core/assets/css/simpay-public.min.css.map b/includes/core/assets/css/simpay-public.min.css.map index 7a37bd2e..031dcdbd 100644 --- a/includes/core/assets/css/simpay-public.min.css.map +++ b/includes/core/assets/css/simpay-public.min.css.map @@ -1 +1 @@ -{"version":3,"sources":["webpack:///./css/frontend/public.scss"],"names":[],"mappings":"AAAA,oBAAoB,8BAA8B,WAAW,gBAAgB,6BAA6B,UAAU,kBAAkB,YAAY,iCAAiC,qBAAqB,uCAAuC,gBAAgB,sCAAsC,WAAW,kBAAkB,OAAO,WAAW,YAAY,MAAM,oDAAoD,YAAY,eAAe,mBAAmB,8BAA8B,kHAAkH,cAAc,kCAAkC,kBAAkB,0DAA0D,cAAc,kBAAkB,yBAAyB,eAAe,uBAAuB,iBAAiB,gBAAgB,gBAAgB,kBAAkB,mBAAmB,oBAAoB,mB","file":"./../css/simpay-public.min.css","sourcesContent":[".screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.grecaptcha-badge{z-index:100}.simpay-styled .stripe-button-el{text-decoration:none}.simpay-styled .stripe-button-el:hover{box-shadow:none}.simpay-checkout-form--loading::after{content:\"\";position:absolute;left:0;width:100%;height:100%;top:0}.simpay-checkout-form--loading .simpay-form-control{opacity:.65}.simpay-errors{margin-bottom:15px}.simpay-styled .simpay-errors{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#eb1c26}.simpay-test-mode-badge-container{text-align:center}.simpay-test-mode-badge-container .simpay-test-mode-badge{color:#a04903;text-align:center;text-transform:uppercase;font-size:10px;font-family:sans-serif;line-height:10px;font-weight:700;padding:5px 7px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center}"],"sourceRoot":""} \ No newline at end of file +{"version":3,"sources":["webpack:///./css/frontend/public.scss"],"names":[],"mappings":"AAAA,oBAAoB,8BAA8B,WAAW,gBAAgB,6BAA6B,UAAU,kBAAkB,YAAY,iCAAiC,qBAAqB,uCAAuC,gBAAgB,sCAAsC,WAAW,kBAAkB,OAAO,WAAW,YAAY,MAAM,oDAAoD,YAAY,eAAe,mBAAmB,8BAA8B,kHAAkH,cAAc,gBAAgB,kCAAkC,kBAAkB,0DAA0D,cAAc,kBAAkB,yBAAyB,eAAe,uBAAuB,iBAAiB,gBAAgB,gBAAgB,kBAAkB,mBAAmB,oBAAoB,mB","file":"./../css/simpay-public.min.css","sourcesContent":[".screen-reader-text{clip:rect(1px, 1px, 1px, 1px);height:1px;overflow:hidden;position:absolute !important;width:1px}.grecaptcha-badge{z-index:100}.simpay-styled .stripe-button-el{text-decoration:none}.simpay-styled .stripe-button-el:hover{box-shadow:none}.simpay-checkout-form--loading::after{content:\"\";position:absolute;left:0;width:100%;height:100%;top:0}.simpay-checkout-form--loading .simpay-form-control{opacity:.65}.simpay-errors{margin-bottom:15px}.simpay-styled .simpay-errors{font-family:-apple-system,BlinkMacSystemFont,Segoe UI,Helvetica,Arial,sans-serif,Apple Color Emoji,Segoe UI Emoji;color:#eb1c26;line-height:1.5}.simpay-test-mode-badge-container{text-align:center}.simpay-test-mode-badge-container .simpay-test-mode-badge{color:#a04903;text-align:center;text-transform:uppercase;font-size:10px;font-family:sans-serif;line-height:10px;font-weight:700;padding:5px 7px;border-radius:3px;background:#ffde92;display:inline-flex;align-items:center}"],"sourceRoot":""} \ No newline at end of file diff --git a/includes/core/assets/images/empty-states/no-forms.svg b/includes/core/assets/images/empty-states/no-forms.svg new file mode 100644 index 00000000..0e2f8dce --- /dev/null +++ b/includes/core/assets/images/empty-states/no-forms.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/core/assets/images/settings/coupons-full.png b/includes/core/assets/images/settings/coupons-full.png new file mode 100644 index 00000000..16a72971 Binary files /dev/null and b/includes/core/assets/images/settings/coupons-full.png differ diff --git a/includes/core/assets/images/settings/coupons-thumb.png b/includes/core/assets/images/settings/coupons-thumb.png new file mode 100644 index 00000000..16a72971 Binary files /dev/null and b/includes/core/assets/images/settings/coupons-thumb.png differ diff --git a/includes/core/assets/images/settings/customers-full.png b/includes/core/assets/images/settings/customers-full.png new file mode 100644 index 00000000..7d475c7f Binary files /dev/null and b/includes/core/assets/images/settings/customers-full.png differ diff --git a/includes/core/assets/images/settings/customers-thumb.png b/includes/core/assets/images/settings/customers-thumb.png new file mode 100644 index 00000000..7c765a1d Binary files /dev/null and b/includes/core/assets/images/settings/customers-thumb.png differ diff --git a/includes/core/assets/images/settings/email-full.png b/includes/core/assets/images/settings/email-full.png new file mode 100644 index 00000000..d6c369eb Binary files /dev/null and b/includes/core/assets/images/settings/email-full.png differ diff --git a/includes/core/assets/images/settings/email-thumb.png b/includes/core/assets/images/settings/email-thumb.png new file mode 100644 index 00000000..d6c369eb Binary files /dev/null and b/includes/core/assets/images/settings/email-thumb.png differ diff --git a/includes/core/assets/images/settings/taxes-full.png b/includes/core/assets/images/settings/taxes-full.png new file mode 100644 index 00000000..55384dab Binary files /dev/null and b/includes/core/assets/images/settings/taxes-full.png differ diff --git a/includes/core/assets/images/settings/taxes-thumb.png b/includes/core/assets/images/settings/taxes-thumb.png new file mode 100644 index 00000000..55384dab Binary files /dev/null and b/includes/core/assets/images/settings/taxes-thumb.png differ diff --git a/includes/core/assets/images/wp-simple-pay.svg b/includes/core/assets/images/wp-simple-pay.svg new file mode 100644 index 00000000..7003ffb2 --- /dev/null +++ b/includes/core/assets/images/wp-simple-pay.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/includes/core/assets/js/admin/index.js b/includes/core/assets/js/admin/index.js index 2aa0987c..4ce1d522 100644 --- a/includes/core/assets/js/admin/index.js +++ b/includes/core/assets/js/admin/index.js @@ -4,12 +4,11 @@ * Internal dependencies. */ import hooks from '@wpsimplepay/hooks'; -import 'admin/settings/toggles.js'; -import 'admin/settings/test-mode.js'; -import toggleStripeConnectNotice from 'admin/settings/stripe-connect.js'; -import 'admin/settings/recaptcha.js'; - -import 'admin/payment-form/prices.js'; +import './settings/toggles.js'; +import './settings/test-mode.js'; +import { toggleStripeConnectNotice } from './settings/stripe-connect.js'; +import './settings/recaptcha.js'; +import './payment-form'; /** * Globallly accessible object of WP Simple Pay-related (admin) functionality. @@ -122,8 +121,7 @@ let spAdmin = {}; $( inputEl ).filter( ':checked' ).trigger( 'change' ); } ); - // Wait to do this here due to weird loading order of scripts. - // @todo Redo script dependency management. + // Stripe Connect toggle notice. hooks.addAction( 'settings.toggleTestMode', 'wpsp/settings/stripe-connect', diff --git a/includes/core/assets/js/admin/notices.js b/includes/core/assets/js/admin/notices.js index 465c0e37..743f40a3 100644 --- a/includes/core/assets/js/admin/notices.js +++ b/includes/core/assets/js/admin/notices.js @@ -10,6 +10,19 @@ import domReady from '@wordpress/dom-ready'; */ import './settings/usage-tracking.js'; +// Open the "Upgrade to Pro" menu item in a new tab. +( function () { + const upgradeLinkEl = document.querySelector( + '#adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]' + ); + + if ( ! upgradeLinkEl ) { + return; + } + + upgradeLinkEl.setAttribute( 'target', '_blank' ); +} )(); + /** * Handle AJAX dismissal of notices. * @@ -23,23 +36,29 @@ domReady( () => { const nonce = notice.data( 'nonce' ); const lifespan = notice.data( 'lifespan' ); - notice.on( 'click', '.notice-dismiss, .simpay-notice-dismiss', () => { - wp.ajax.send( 'simpay_dismiss_admin_notice', { - data: { - notice_id: noticeId, - nonce, - lifespan, - }, - success() { - notice.slideUp( 'fast' ); + notice.on( + 'click', + '.notice-dismiss, .simpay-notice-dismiss', + ( e ) => { + e.preventDefault(); + + wp.ajax.send( 'simpay_dismiss_admin_notice', { + data: { + notice_id: noticeId, + nonce, + lifespan, + }, + success() { + notice.slideUp( 'fast' ); - // Remove previously set "seen" local storage. - const { uid = 0 } = userSettings; - const seenKey = `simpay-notice-${ noticeId }-seen-${ uid }`; - window.localStorage.removeItem( seenKey ); - }, - } ); - } ); + // Remove previously set "seen" local storage. + const { uid = 0 } = userSettings; + const seenKey = `simpay-notice-${ noticeId }-seen-${ uid }`; + window.localStorage.removeItem( seenKey ); + }, + } ); + } + ); } ); // Move "Top of Page" promos to the top of content (before Help/Screen Options). diff --git a/includes/core/assets/js/admin/payment-form/general.js b/includes/core/assets/js/admin/payment-form/general.js new file mode 100644 index 00000000..26bab807 --- /dev/null +++ b/includes/core/assets/js/admin/payment-form/general.js @@ -0,0 +1,111 @@ +/* global simpayAdmin, grecaptcha, simpayGoogleRecaptcha */ + +/** + * WordPress dependencies + */ +import domReady from '@wordpress/dom-ready'; + +/** + * Provides feedback to reCAPTCHA configuration. + */ +function reCaptchaFeedback() { + const feedbackNoticeEl = document.querySelector( + '.simpay-recaptcha-payment-form-feedback' + ); + + if ( ! feedbackNoticeEl ) { + return; + } + + const feedbackNoticeElDesc = document.querySelector( + '.simpay-recaptcha-payment-form-description' + ); + const { siteKey, i18n } = simpayGoogleRecaptcha; + + feedbackNoticeElDesc.style.display = 'none'; + + function onError() { + feedbackNoticeEl.style.color = '#b32d2e'; + feedbackNoticeEl.style.display = 'inline'; + feedbackNoticeEl.innerHTML = i18n.disabled; + + feedbackNoticeElDesc.style.display = 'inline-block'; + } + + function onSuccess() { + feedbackNoticeEl.style.color = 'green'; + feedbackNoticeEl.style.display = 'inline'; + feedbackNoticeEl.innerHTML = i18n.enabled; + + feedbackNoticeElDesc.style.display = 'inline-block'; + } + + if ( '' === siteKey ) { + return onError(); + } + + grecaptcha.ready( () => { + const badge = document.querySelector( '.grecaptcha-badge' ); + + if ( badge ) { + badge.style.display = 'none'; + } + + try { + grecaptcha + .execute( siteKey, { + action: `simple_pay_admin_test`, + } ) + .then( ( token ) => { + wp.ajax.send( 'simpay_validate_recaptcha_source', { + data: { + token, + recaptcha_action: 'simple_pay_admin_test', + }, + success: onSuccess, + error: onError, + } ); + } ) + .catch( onError ); + } catch ( error ) { + onError(); + } + } ); +} + +/** + * Provides feebdack to Title requirement. + */ +function requireFormTitle() { + const formTitleInput = document.querySelector( '#_company_name' ); + + if ( ! formTitleInput ) { + return; + } + + /** + * Appends an error message if the input is empty and refills with the site title. + */ + formTitleInput.addEventListener( 'blur', function () { + if ( formTitleInput.value.length === 0 ) { + formTitleInput.nextElementSibling.classList.remove( 'hidden' ); + formTitleInput.value = simpayAdmin.siteTitle; + } else { + formTitleInput.nextElementSibling.classList.add( 'hidden' ); + } + } ); + + formTitleInput.addEventListener( 'focus', function () { + if ( formTitleInput.value.length !== 0 ) { + formTitleInput.nextElementSibling.classList.add( 'hidden' ); + } + } ); +} + +/** + * DOM ready. + */ +domReady( () => { + reCaptchaFeedback(); + requireFormTitle(); +} ); diff --git a/includes/core/assets/js/admin/payment-form/index.js b/includes/core/assets/js/admin/payment-form/index.js new file mode 100644 index 00000000..8dc95ab3 --- /dev/null +++ b/includes/core/assets/js/admin/payment-form/index.js @@ -0,0 +1,2 @@ +import './general.js'; +import './prices.js'; diff --git a/includes/core/assets/js/admin/settings/stripe-connect.js b/includes/core/assets/js/admin/settings/stripe-connect.js index 8db449ef..c21cfc19 100644 --- a/includes/core/assets/js/admin/settings/stripe-connect.js +++ b/includes/core/assets/js/admin/settings/stripe-connect.js @@ -1,4 +1,4 @@ -/* global wp, _ */ +/* global jQuery, simpayAdmin */ /** * WordPress dependencies @@ -8,23 +8,23 @@ import domReady from '@wordpress/dom-ready'; /** * Toggle fields based on current mode. * - * @param newMode - * @param oldMode + * @param {string} newMode The new mode. + * @param {string} initialMode The initial mode. */ -export default function toggleStripeConnectNotice( newMode, oldMode ) { - // Only how a notice when the mode changes. - if ( newMode === oldMode ) { +export function toggleStripeConnectNotice( newMode, initialMode ) { + const notice = document.getElementById( 'simpay-test-mode-toggle-notice' ); + + // Only show a notice when the mode changes. + if ( newMode === initialMode ) { + notice.style.display = 'none'; return; } - const notice = document.getElementById( 'simpay-test-mode-toggle-notice' ); const statusText = document.getElementById( 'simpay-toggle-notice-status' ); const statusLink = document.getElementById( 'simpay-toggle-notice-status-link' ); - notice.classList.add( 'notice' ); - notice.classList.add( 'notice-warning' ); notice.style.display = 'block'; if ( ! statusText || ! statusLink ) { @@ -37,9 +37,9 @@ export default function toggleStripeConnectNotice( newMode, oldMode ) { } /** - * Shows the currently connected Stripe account's email address. + * Outputs connected Stripe account information. */ -domReady( () => { +function accountInfo() { const containerEl = document.getElementById( 'simpay-stripe-account-info' ); if ( ! containerEl ) { @@ -54,7 +54,6 @@ domReady( () => { success: ( response ) => { containerEl.querySelector( 'p' ).innerHTML = response.message; containerEl.style.display = 'block'; - containerEl.classList.add( 'notice' ); if ( 'simpay-stripe-activated-account-actions' === response.actions @@ -69,18 +68,82 @@ domReady( () => { if ( actionsEl ) { actionsEl.style.display = 'block'; } + + disconnectLink(); }, error: ( response ) => { containerEl.querySelector( 'p' ).innerHTML = response.message; containerEl.style.display = 'block'; - containerEl.classList.add( 'notice' ); containerEl.classList.add( 'notice-error' ); const actionsEl = document.getElementById( response.actions ); if ( actionsEl ) { actionsEl.style.display = 'block'; + disconnectLink(); } }, } ); +} + +/** + * Handles the Stripe Disconnect link and confirmation. + */ +function disconnectLink() { + const disconnectLinkEls = document.querySelectorAll( + '.simpay-disconnect-link' + ); + + if ( ! disconnectLinkEls ) { + return; + } + + const { i18n } = simpayAdmin; + const { disconnectConfirm, disconnectCancel } = i18n; + + disconnectLinkEls.forEach( function ( el ) { + el.addEventListener( 'click', ( event ) => { + event.preventDefault(); + + jQuery( '.simpay-disconnect-confirm' ).dialog( { + resizable: false, + height: 'auto', + width: 400, + modal: true, + draggable: false, + open() { + jQuery( '.ui-dialog-buttonset .ui-button' ) + .removeClass( 'ui-button' ) + .last() + .css( { + marginLeft: '10px', + } ) + .focus(); + }, + buttons: [ + { + text: disconnectCancel, + click() { + jQuery( this ).dialog( 'close' ); + }, + class: 'button button-secondary', + }, + { + text: disconnectConfirm, + click() { + window.location.href = el.href; + }, + class: 'button button-primary', + }, + ], + } ); + } ); + } ); +} + +/** + * DOM ready. + */ +domReady( () => { + accountInfo(); } ); diff --git a/includes/core/assets/js/admin/settings/test-mode.js b/includes/core/assets/js/admin/settings/test-mode.js index a9a06fb1..50737e59 100644 --- a/includes/core/assets/js/admin/settings/test-mode.js +++ b/includes/core/assets/js/admin/settings/test-mode.js @@ -12,14 +12,15 @@ domReady( () => { const radioEls = document.querySelectorAll( '[name="simpay_settings[test_mode]"]' ); - const selectedRadioEl = document.querySelector( - '[name="simpay_settings[test_mode]"]:checked' - ); if ( 0 === radioEls.length ) { return; } + const selectedRadioEl = document.querySelector( + '[name="simpay_settings[test_mode]"]:checked' + ); + const currentMode = 'enabled' === selectedRadioEl.value ? 'test' : 'live'; hooks.doAction( 'settings.toggleTestMode', currentMode, currentMode ); @@ -29,11 +30,7 @@ domReady( () => { radio.addEventListener( 'change', ( e ) => { const newMode = 'enabled' === e.target.value ? 'test' : 'live'; - hooks.doAction( - 'settings.toggleTestMode', - newMode, - 'test' === newMode ? 'live' : 'test' - ); + hooks.doAction( 'settings.toggleTestMode', newMode, currentMode ); } ) ); } ); diff --git a/includes/core/assets/js/packages/api/.npmrc b/includes/core/assets/js/packages/api/.npmrc deleted file mode 100644 index 43c97e71..00000000 --- a/includes/core/assets/js/packages/api/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/includes/core/assets/js/packages/cart/.npmrc b/includes/core/assets/js/packages/cart/.npmrc deleted file mode 100644 index 43c97e71..00000000 --- a/includes/core/assets/js/packages/cart/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/includes/core/assets/js/packages/hooks/.npmrc b/includes/core/assets/js/packages/hooks/.npmrc deleted file mode 100644 index 43c97e71..00000000 --- a/includes/core/assets/js/packages/hooks/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/includes/core/assets/js/packages/payment-forms/.npmrc b/includes/core/assets/js/packages/payment-forms/.npmrc deleted file mode 100644 index 43c97e71..00000000 --- a/includes/core/assets/js/packages/payment-forms/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/includes/core/assets/js/packages/utils/.npmrc b/includes/core/assets/js/packages/utils/.npmrc deleted file mode 100644 index 43c97e71..00000000 --- a/includes/core/assets/js/packages/utils/.npmrc +++ /dev/null @@ -1 +0,0 @@ -package-lock=false diff --git a/includes/core/assets/js/simpay-admin-notices.min.js b/includes/core/assets/js/simpay-admin-notices.min.js index b9dabf94..be218ba3 100644 --- a/includes/core/assets/js/simpay-admin-notices.min.js +++ b/includes/core/assets/js/simpay-admin-notices.min.js @@ -1 +1 @@ -!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));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="",n(n.s=336)}({12:function(e,t,n){"use strict";function i(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return i}))},22:function(e,t){e.exports=jQuery},336:function(e,t,n){"use strict";n.r(t),function(e){var t=n(12);n(337),Object(t.a)((function(){e(".simpay-notice").each((function(){var t=e(this),n=t.data("id"),i=t.data("nonce"),o=t.data("lifespan");t.on("click",".notice-dismiss, .simpay-notice-dismiss",(function(){wp.ajax.send("simpay_dismiss_admin_notice",{data:{notice_id:n,nonce:i,lifespan:o},success:function(){t.slideUp("fast");var e=userSettings.uid,i=void 0===e?0:e,o="simpay-notice-".concat(n,"-seen-").concat(i);window.localStorage.removeItem(o)}})}))}));var t=e(".simpay-admin-notice-top-of-page");if(t.length>0){var n=t.detach();e("#wpbody-content").prepend(n);var i=userSettings.uid,o=void 0===i?0:i,a=n.data("id"),c="simpay-notice-".concat(a,"-seen-").concat(o);window.localStorage.getItem(c)?n.show():setTimeout((function(){window.localStorage.setItem(c,!0),t.slideDown()}),1500)}}))}.call(this,n(22))},337:function(e,t,n){"use strict";var i=n(12);Object(i.a)((function(){var e=document.getElementById("simpay-usage-tracking-opt-in");e&&e.addEventListener("click",(function(e){e.preventDefault(),wp.ajax.send("simpay-usage-tracking-optin-nag",{data:{nonce:document.getElementById("simpay-usage-tracking-optin-nag").value}}).always((function(){document.getElementById("simpay-usage-tracking-optin").parentNode.style.display="none"}))}))}))}}); \ No newline at end of file +!function(e){var t={};function n(i){if(t[i])return t[i].exports;var o=t[i]={i:i,l:!1,exports:{}};return e[i].call(o.exports,o,o.exports,n),o.l=!0,o.exports}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 o in e)n.d(i,o,function(t){return e[t]}.bind(null,o));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="",n(n.s=336)}({11:function(e,t,n){"use strict";function i(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return i}))},14:function(e,t){e.exports=jQuery},336:function(e,t,n){"use strict";n.r(t),function(e){var t,i=n(11);n(337),(t=document.querySelector('#adminmenu a[href^="https://wpsimplepay.com/lite-vs-pro"]'))&&t.setAttribute("target","_blank"),Object(i.a)((function(){e(".simpay-notice").each((function(){var t=e(this),n=t.data("id"),i=t.data("nonce"),o=t.data("lifespan");t.on("click",".notice-dismiss, .simpay-notice-dismiss",(function(e){e.preventDefault(),wp.ajax.send("simpay_dismiss_admin_notice",{data:{notice_id:n,nonce:i,lifespan:o},success:function(){t.slideUp("fast");var e=userSettings.uid,i=void 0===e?0:e,o="simpay-notice-".concat(n,"-seen-").concat(i);window.localStorage.removeItem(o)}})}))}));var t=e(".simpay-admin-notice-top-of-page");if(t.length>0){var n=t.detach();e("#wpbody-content").prepend(n);var i=userSettings.uid,o=void 0===i?0:i,a=n.data("id"),r="simpay-notice-".concat(a,"-seen-").concat(o);window.localStorage.getItem(r)?n.show():setTimeout((function(){window.localStorage.setItem(r,!0),t.slideDown()}),1500)}}))}.call(this,n(14))},337:function(e,t,n){"use strict";var i=n(11);Object(i.a)((function(){var e=document.getElementById("simpay-usage-tracking-opt-in");e&&e.addEventListener("click",(function(e){e.preventDefault(),wp.ajax.send("simpay-usage-tracking-optin-nag",{data:{nonce:document.getElementById("simpay-usage-tracking-optin-nag").value}}).always((function(){document.getElementById("simpay-usage-tracking-optin").parentNode.style.display="none"}))}))}))}}); \ No newline at end of file diff --git a/includes/core/assets/js/simpay-admin-page-smtp.min.js b/includes/core/assets/js/simpay-admin-page-smtp.min.js index 0678ed8b..4e54e285 100644 --- a/includes/core/assets/js/simpay-admin-page-smtp.min.js +++ b/includes/core/assets/js/simpay-admin-page-smtp.min.js @@ -1 +1 @@ -!function(t){var e={};function s(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=t,s.c=e,s.d=function(t,e,a){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(a,n,function(e){return t[e]}.bind(null,n));return a},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=334)}({16:function(t,e){t.exports=jQuery},334:function(t,e,s){"use strict";(function(t){(window.SimPaySMTP||function(t,e,s){var a={},n={init:function(){s(n.ready)},ready:function(){n.initVars(),n.events()},initVars:function(){a={$stepInstall:s("section.step-install"),$stepInstallNum:s("section.step-install .num img"),$stepSetup:s("section.step-setup"),$stepSetupNum:s("section.step-setup .num img")}},events:function(){a.$stepInstall.on("click","button",n.stepInstallClick),a.$stepSetup.on("click","button",n.gotoURL)},stepInstallClick:function(t){t.preventDefault();var i=s(this),r=i.attr("data-action"),l=i.attr("data-plugin"),p=i.text(),u="";if(!i.hasClass("disabled")){switch(r){case"activate":u="simpay_activate_plugin",i.text(simpay_smtp.activating);break;case"install":u="simpay_install_plugin",i.text(simpay_smtp.installing);break;case"goto-url":return void(e.location.href=i.attr("data-url"));default:return}i.addClass("disabled"),n.showSpinner(a.$stepInstallNum);var o={action:u,nonce:simpay_smtp.nonce,plugin:l};s.post(simpay_smtp.ajax_url,o).done((function(t){n.stepInstallDone(t,i,r)})).fail((function(){i.removeClass("disabled"),i.text(p)})).always((function(){n.hideSpinner(a.$stepInstallNum)}))}},stepInstallDone:function(t,e,s){if("install"===s?t.success&&t.data.is_activated:t.success)return a.$stepInstallNum.attr("src",a.$stepInstallNum.attr("src").replace("step-1.","step-complete.")),e.addClass("grey").removeClass("button-primary").text(simpay_smtp.activated),void n.stepInstallPluginStatus();var i="install"===s&&t.success&&!t.data.is_activated||"activate"===s,r=i?simpay_smtp.manual_activate_url:simpay_smtp.manual_install_url,l=i?simpay_smtp.error_could_not_activate:simpay_smtp.error_could_not_install,p=i?simpay_smtp.plugins_page:simpay_smtp.download_now;e.removeClass("grey disabled").text(p).attr("data-action","goto-url").attr("data-url",r),e.after('

'+l+"

")},stepInstallPluginStatus:function(){var t={action:"simpay_smtp_page_check_plugin_status",nonce:simpay_smtp.nonce};s.post(simpay_smtp.ajax_url,t).done(n.stepInstallPluginStatusDone)},stepInstallPluginStatusDone:function(t){if(t.success){if(a.$stepSetup.removeClass("grey"),a.$stepSetupBtn=a.$stepSetup.find("button"),a.$stepSetupBtn.removeClass("grey disabled").addClass("button-primary"),t.data.setup_status>0)return a.$stepSetupNum.attr("src",a.$stepSetupNum.attr("src").replace("step-2.svg","step-complete.svg")),void a.$stepSetupBtn.attr("data-url",simpay_smtp.smtp_settings_url).text(simpay_smtp.smtp_settings);a.$stepSetupBtn.attr("data-url",simpay_smtp.smtp_wizard_url).text(simpay_smtp.smtp_wizard)}},gotoURL:function(){var t=s(this);t.hasClass("disabled")||(e.location.href=t.attr("data-url"))},showSpinner:function(t){t.siblings(".loader").removeClass("hidden")},hideSpinner:function(t){t.siblings(".loader").addClass("hidden")}};return n}(document,window,t)).init()}).call(this,s(16))}}); \ No newline at end of file +!function(t){var e={};function s(a){if(e[a])return e[a].exports;var n=e[a]={i:a,l:!1,exports:{}};return t[a].call(n.exports,n,n.exports,s),n.l=!0,n.exports}s.m=t,s.c=e,s.d=function(t,e,a){s.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:a})},s.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},s.t=function(t,e){if(1&e&&(t=s(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var a=Object.create(null);if(s.r(a),Object.defineProperty(a,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var n in t)s.d(a,n,function(e){return t[e]}.bind(null,n));return a},s.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return s.d(e,"a",e),e},s.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},s.p="",s(s.s=338)}({14:function(t,e){t.exports=jQuery},338:function(t,e,s){"use strict";(function(t){(window.SimPaySMTP||function(t,e,s){var a={},n={init:function(){s(n.ready)},ready:function(){n.initVars(),n.events()},initVars:function(){a={$stepInstall:s("section.step-install"),$stepInstallNum:s("section.step-install .num img"),$stepSetup:s("section.step-setup"),$stepSetupNum:s("section.step-setup .num img")}},events:function(){a.$stepInstall.on("click","button",n.stepInstallClick),a.$stepSetup.on("click","button",n.gotoURL)},stepInstallClick:function(t){t.preventDefault();var i=s(this),r=i.attr("data-action"),l=i.attr("data-plugin"),p=i.text(),u="";if(!i.hasClass("disabled")){switch(r){case"activate":u="simpay_activate_plugin",i.text(simpay_smtp.activating);break;case"install":u="simpay_install_plugin",i.text(simpay_smtp.installing);break;case"goto-url":return void(e.location.href=i.attr("data-url"));default:return}i.addClass("disabled"),n.showSpinner(a.$stepInstallNum);var o={action:u,nonce:simpay_smtp.nonce,plugin:l};s.post(simpay_smtp.ajax_url,o).done((function(t){n.stepInstallDone(t,i,r)})).fail((function(){i.removeClass("disabled"),i.text(p)})).always((function(){n.hideSpinner(a.$stepInstallNum)}))}},stepInstallDone:function(t,e,s){if("install"===s?t.success&&t.data.is_activated:t.success)return a.$stepInstallNum.attr("src",a.$stepInstallNum.attr("src").replace("step-1.","step-complete.")),e.addClass("grey").removeClass("button-primary").text(simpay_smtp.activated),void n.stepInstallPluginStatus();var i="install"===s&&t.success&&!t.data.is_activated||"activate"===s,r=i?simpay_smtp.manual_activate_url:simpay_smtp.manual_install_url,l=i?simpay_smtp.error_could_not_activate:simpay_smtp.error_could_not_install,p=i?simpay_smtp.plugins_page:simpay_smtp.download_now;e.removeClass("grey disabled").text(p).attr("data-action","goto-url").attr("data-url",r),e.after('

'+l+"

")},stepInstallPluginStatus:function(){var t={action:"simpay_smtp_page_check_plugin_status",nonce:simpay_smtp.nonce};s.post(simpay_smtp.ajax_url,t).done(n.stepInstallPluginStatusDone)},stepInstallPluginStatusDone:function(t){if(t.success){if(a.$stepSetup.removeClass("grey"),a.$stepSetupBtn=a.$stepSetup.find("button"),a.$stepSetupBtn.removeClass("grey disabled").addClass("button-primary"),t.data.setup_status>0)return a.$stepSetupNum.attr("src",a.$stepSetupNum.attr("src").replace("step-2.svg","step-complete.svg")),void a.$stepSetupBtn.attr("data-url",simpay_smtp.smtp_settings_url).text(simpay_smtp.smtp_settings);a.$stepSetupBtn.attr("data-url",simpay_smtp.smtp_wizard_url).text(simpay_smtp.smtp_wizard)}},gotoURL:function(){var t=s(this);t.hasClass("disabled")||(e.location.href=t.attr("data-url"))},showSpinner:function(t){t.siblings(".loader").removeClass("hidden")},hideSpinner:function(t){t.siblings(".loader").addClass("hidden")}};return n}(document,window,t)).init()}).call(this,s(14))}}); \ No newline at end of file diff --git a/includes/core/assets/js/simpay-admin.min.js b/includes/core/assets/js/simpay-admin.min.js index 70a5834f..db3ae756 100644 --- a/includes/core/assets/js/simpay-admin.min.js +++ b/includes/core/assets/js/simpay-admin.min.js @@ -1 +1 @@ -!function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},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 r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},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="",n(n.s=331)}({107:function(e,t,n){var r=n(62);e.exports=function(e){if(Array.isArray(e))return r(e)},e.exports.default=e.exports,e.exports.__esModule=!0},108:function(e,t){e.exports=function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)},e.exports.default=e.exports,e.exports.__esModule=!0},109:function(e,t,n){var r=n(62);e.exports=function(e,t){if(e){if("string"==typeof e)return r(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)?r(e,t):void 0}},e.exports.default=e.exports,e.exports.__esModule=!0},110:function(e,t){e.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},e.exports.default=e.exports,e.exports.__esModule=!0},12:function(e,t,n){"use strict";function r(e){"complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",e):e()}n.d(t,"a",(function(){return r}))},144:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var r=n(12);function i(e,t){if(e!==t){var n=document.getElementById("simpay-test-mode-toggle-notice"),r=document.getElementById("simpay-toggle-notice-status"),i=document.getElementById("simpay-toggle-notice-status-link");n.classList.add("notice"),n.classList.add("notice-warning"),n.style.display="block",r&&i&&(r.innerHTML=""+r.dataset[e]+"",i.href=i.dataset[e])}}Object(r.a)((function(){var e=document.getElementById("simpay-stripe-account-info");e&&wp.ajax.send("simpay_stripe_connect_account_information",{data:{nonce:e.dataset.nonce,account_id:e.dataset.accountId},success:function(t){e.querySelector("p").innerHTML=t.message,e.style.display="block",e.classList.add("notice"),"simpay-stripe-activated-account-actions"===t.actions?e.classList.add("notice-info"):e.classList.add("notice-warning");var n=document.getElementById(t.actions);n&&(n.style.display="block")},error:function(t){e.querySelector("p").innerHTML=t.message,e.style.display="block",e.classList.add("notice"),e.classList.add("notice-error");var n=document.getElementById(t.actions);n&&(n.style.display="block")}})}))},20:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return h}));var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},i=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},a=function(e){return function(t,n,a){var o=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(i(t)&&r(n))if("function"==typeof a)if("number"==typeof o){var c={callback:a,priority:o,namespace:n};if(e[t]){var s,l=e[t].handlers;for(s=l.length;s>0&&!(o>=l[s-1].priority);s--);s===l.length?l[s]=c:l.splice(s,0,c),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=s&&e.currentIndex++}))}else e[t]={handlers:[c],runs:0};"hookAdded"!==t&&y("hookAdded",t,n,a,o)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}},o=function(e,t){return function(n,a){if(i(n)&&(t||r(a))){if(!e[n])return 0;var o=0;if(t)o=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var c=e[n].handlers,s=function(t){c[t].namespace===a&&(c.splice(t,1),o++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},l=c.length-1;l>=0;l--)s(l);return"hookRemoved"!==n&&y("hookRemoved",n,a),o}}},c=function(e){return function(t,n){return void 0!==n?t in e&&e[t].handlers.some((function(e){return e.namespace===n})):t in e}},s=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;for(var r=e[n].handlers,i=arguments.length,a=new Array(i>1?i-1:0),o=1;o .spinner").hide(),n.removeClass("active"),r.addClass("active"),t.addClass("simpay-panel-hidden"),a.removeClass("simpay-panel-hidden")}));var r="#form-display-options-settings-panel";location.hash.length&&(r=location.hash);var a=i('ul.simpay-tabs a[href="'+r+'"]');i('[name="simpay_form_settings_tab"]').val(r),a.length&&a.click()},stripeConnect:function(){var e="tr:nth-child(2), tr:nth-child(3), tr:nth-child(4), tr:nth-child(5)";i(".simpay-settings.stripe-account .form-table").find(e).hide(),i("#wpsp-api-keys-row-reveal button").on("click",(function(t){t.preventDefault(),i(".simpay-settings.stripe-account .form-table").find(e).show(),i("#wpsp-api-keys-row-hide").show(),i(this).parent().hide(),i(".wpsp-manual-key-warning").show()})),i("#wpsp-api-keys-row-hide button").on("click",(function(t){t.preventDefault(),i(".simpay-settings.stripe-account .form-table").find(e).hide(),i("#wpsp-api-keys-row-reveal").show(),i(this).parent().hide(),i(".wpsp-manual-key-warning").hide()}))},handleInternalLinkToTabClicks:function(e){var t=e.data("show-tab");a.find("."+t+"-tab a").click()}},(i=e)(document).ready((function(e){c.init()}))}.call(this,n(22))},332:function(e,t,n){"use strict";var r=n(12),i=simpayAdminSettingToggles||[];function a(e){var t=e.id,n=(e.value,e.toggles,document.querySelector(".simpay-settings-".concat(t)));if(!n)return{};var r=n.querySelector("input");r||(r=n.querySelector("select"));var i=r.value;return"checkbox"===r.type&&(i=!0===r.checked?"yes":"no"),{setting:r,currentValue:i}}function o(e){var t=e.id,n=e.value,r=e.toggles,c=a(e),s=(c.setting,c.currentValue);"none"!==document.querySelector(".simpay-settings-".concat(t)).style.display&&(r.map((function(e){return document.querySelector(".simpay-settings-".concat(e))})).forEach((function(e){e&&(e.style.display=s===n?"table-row":"none")})),r.forEach((function(e){var t=_.find(i,{id:e});t&&o(t)})))}Object(r.a)((function(){i.forEach((function(e){o(e),a(e).setting.addEventListener("change",(function(){return o(e)}))}))}))},333:function(e,t,n){"use strict";var r=n(12);Object(r.a)((function(){var e=window.wpsp.hooks,t=document.querySelectorAll('[name="simpay_settings[test_mode]"]'),n=document.querySelector('[name="simpay_settings[test_mode]"]:checked');if(0!==t.length){var r="enabled"===n.value?"test":"live";e.doAction("settings.toggleTestMode",r,r),_.each(t,(function(t){return t.addEventListener("change",(function(t){var n="enabled"===t.target.value?"test":"live";e.doAction("settings.toggleTestMode",n,"test"===n?"live":"test")}))}))}}))},334:function(e,t,n){"use strict";var r=n(12);Object(r.a)((function(){var e=document.querySelector(".simpay-recaptcha-feedback");if(e){var t=simpayGoogleRecaptcha,n=t.siteKey,r=t.i18n;""!==n&&grecaptcha.ready((function(){var e=document.querySelector(".grecaptcha-badge");e&&(e.style.display="none");try{grecaptcha.execute(n,{action:"simple_pay_admin_test"}).then((function(e){wp.ajax.send("simpay_validate_recaptcha_source",{data:{token:e,recaptcha_action:"simple_pay_admin_test"},error:i})})).catch(i)}catch(e){i()}}))}function i(){e.style.display="block",e.classList.add("notice-error"),e.querySelector("p").innerText=r.invalid}}))},335:function(e,t,n){"use strict";(function(e,t){var r=n(55),i=n.n(r),a=n(12);function o(e){var t=e.querySelector(".simpay-price-label-display"),n=e.querySelector(".simpay-price-label"),r=spGeneral.strings,i=r.recurringIntervalDisplay,a=r.customAmountLabel;if(""!==n.value)t.innerHTML=n.value;else{var o,c=e.querySelector(".simpay-price-currency"),s=e.querySelector(".simpay-price-amount"),l=e.querySelector(".simpay-price-amount-type"),u=e.querySelector(".simpay-price-custom-amount input"),d=e.querySelector(".simpay-price-enable-custom-amount"),p=spGeneral.strings,m=p.currencyPosition,y=p.recurringIntervals,f=c.options[c.selectedIndex].dataset.symbol;switch(o=!0===d.checked?u.value:s.value,m){case"left":o="".concat(f).concat(o);break;case"left_space":o="".concat(f," ").concat(o);break;case"right":o="".concat(o).concat(f);break;case"right_space":o="".concat(o," ").concat(f)}if(!0===d.checked&&(o=a.replace("%s",o)),"recurring"===l.value){var v=e.querySelector(".simpay-price-recurring-interval"),h=e.querySelector(".simpay-price-recurring-interval-count"),g=y[v.options[v.selectedIndex].value];o=i.replace("%1$s",o).replace("%2$s",h.value).replace("%3$s","1"===h.value?g[0]:g[1])}t.innerHTML=o}}function c(e,t){e.querySelector(".simpay-price-recurring-settings").style.display=t.checked?"block":"none"}function s(e){var t=e.querySelector(".simpay-price-recurring-interval"),n=e.querySelector(".simpay-price-recurring-interval-count"),r=parseInt(n.value),a=t.options[t.selectedIndex].value,o=JSON.parse(t.dataset.intervals);switch(i()(t.options).forEach((function(e,n){var i=e.value;t.options[n].text=1===r?o[i][0]:o[i][1]})),a){case"day":r>1825&&(n.value=1825);break;case"week":r>260&&(n.value=260);break;case"month":r>60&&(n.value=60);break;case"year":r>5&&(n.value=5)}}function l(){var e=document.querySelectorAll(".simpay-price");_.each(e,(function(e){var t=e.querySelector(".simpay-price-amount-type").value;e.querySelector(".simpay-price-label").addEventListener("keyup",(function(){return o(e)})),o(e),e.querySelector(".simpay-price-currency").addEventListener("change",(function(){!function(e){var t=e.querySelector(".simpay-price-currency"),n=t.options[t.selectedIndex].dataset.symbol,r=e.querySelectorAll(".simpay-price-currency-symbol");_.each(r,(function(e){return e.innerText=n}))}(e),o(e)}));var n=e.querySelectorAll(".simpay-price-amount-type .button");n.length>0&&_.each(n,(function(t){return t.addEventListener("click",(function(t){t.preventDefault(),function(e,t){var n=e.querySelectorAll(".simpay-price-amount-type .button");_.each(n,(function(e){return e.classList.remove("button-primary")}));var r=t.dataset.amountType,i=e.querySelector(".simpay-price-recurring-settings");t.classList.add("button-primary"),i.style.display="recurring"===r?"block":"none";var a=e.querySelector(".simpay-price-recurring-amount-toggle"),o=e.querySelector(".simpay-price-enable-optional-subscription");a.style.display="recurring"===r?"none":"block",o.checked=!1,e.querySelector(".simpay-price-amount-type").value=r}(e,t.target),o(e)}))})),e.querySelector(".simpay-price-amount").addEventListener("keyup",(function(){return o(e)}));var r=e.querySelector(".simpay-price-enable-optional-subscription");r&&(r.addEventListener("click",(function(t){var n=t.target;c(e,n),o(e)})),"recurring"!==t&&c(e,r)),e.querySelector(".simpay-price-enable-custom-amount").addEventListener("click",(function(){!function(e){var t=e.querySelector(".simpay-price-custom-amount");t.style.display="none"===t.style.display?"block":"none"}(e),o(e)})),e.querySelector(".simpay-price-recurring-interval").addEventListener("change",(function(){o(e),s(e)}));var i=e.querySelector(".simpay-price-recurring-interval-count");i.addEventListener("keyup",(function(){s(e),o(e)})),i.addEventListener("change",(function(){s(e),o(e)}));var a=e.querySelector(".simpay-price-legacy-setting-toggle");a&&a.addEventListener("click",(function(t){t.preventDefault(),function(e){var t=e.querySelectorAll(".simpay-price-legacy-setting");_.each(t,(function(e){return e.style.display="block"===e.style.display?"none":"block"}))}(e)})),e.querySelector(".simpay-price-default").addEventListener("change",(function(){return function(e){var t=document.querySelectorAll(".simpay-price-default");_.each(t,(function(e){return e.checked=!1})),e.querySelector(".simpay-price-default").checked=!0}(e)})),e.querySelector(".simpay-price-remove").addEventListener("click",(function(t){t.preventDefault(),function(e){e.remove(),u()}(e)}))}))}function u(){var e=document.querySelectorAll(".simpay-price");document.querySelector(".simpay-price-default:checked")||(e[0].querySelector(".simpay-price-default").checked=!0)}Object(a.a)((function(){var n,r,i;t(".simpay-prices").sortable({items:".simpay-field-metabox",containment:"#simpay-prices",handle:".simpay-hndle",placeholder:"sortable-placeholder",cursor:"move",delay:t(document.body).hasClass("mobile")?200:0,distance:2,tolerance:"pointer",forcePlaceholderSize:!0,opacity:.65,helper:function(e,t){return t.clone().find(":input").attr("name",(function(e,t){return"sort_"+parseInt(1e5*Math.random(),10).toString()+"_"+t})).end()}}),l(),n=document.getElementById("simpay-prices-advanced-toggle"),r=document.getElementById("simpay-prices-advanced"),n&&r&&n.addEventListener("click",(function(e){e.preventDefault(),r.style.display="block"==r.style.display?"none":"block"})),(i=document.getElementById("simpay-prices-advanced-add"))&&i.addEventListener("click",(function(t){var n,r,a,o,c,s;t.preventDefault(),a=(r=(n=i).dataset).nonce,o=r.formId,c=document.getElementById("simpay-prices"),s=document.getElementById("simpay-prices-advanced-plan-id"),n.classList.add("disabled"),wp.ajax.send("simpay_add_plan",{data:{_wpnonce:a,form_id:o,plan_id:s.value},success:function(t){e(c).append(t),l(),document.getElementById("simpay-prices-advanced").style.display="none",s.value="",n.classList.remove("disabled")},error:function(e){var t=e.message;alert(t),n.classList.remove("disabled")}})})),function(){var t=document.getElementById("simpay-add-price");t&&t.addEventListener("click",(function(n){var r,i,a,o,c;n.preventDefault(),a=(i=(r=t).dataset).nonce,o=i.formId,c=document.getElementById("simpay-prices"),r.classList.add("disabled"),wp.ajax.send("simpay_add_price",{data:{_wpnonce:a,form_id:o},success:function(t){e(c).append(t),l(),u(),r.classList.remove("disabled")},error:function(e){var t=e.message;alert(t),r.classList.remove("disabled")}})}))}()}))}).call(this,n(22),n(22))},55:function(e,t,n){var r=n(107),i=n(108),a=n(109),o=n(110);e.exports=function(e){return r(e)||i(e)||a(e)||o()},e.exports.default=e.exports,e.exports.__esModule=!0},62:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n"+r.dataset[e]+"",i.href=i.dataset[e])}else n.style.display="none"}function a(){var t=document.querySelectorAll(".simpay-disconnect-link");if(t){var n=simpayAdmin.i18n,r=n.disconnectConfirm,i=n.disconnectCancel;t.forEach((function(t){t.addEventListener("click",(function(n){n.preventDefault(),e(".simpay-disconnect-confirm").dialog({resizable:!1,height:"auto",width:400,modal:!0,draggable:!1,open:function(){e(".ui-dialog-buttonset .ui-button").removeClass("ui-button").last().css({marginLeft:"10px"}).focus()},buttons:[{text:i,click:function(){e(this).dialog("close")},class:"button button-secondary"},{text:r,click:function(){window.location.href=t.href},class:"button button-primary"}]})}))}))}}Object(r.a)((function(){var e;(e=document.getElementById("simpay-stripe-account-info"))&&wp.ajax.send("simpay_stripe_connect_account_information",{data:{nonce:e.dataset.nonce,account_id:e.dataset.accountId},success:function(t){e.querySelector("p").innerHTML=t.message,e.style.display="block","simpay-stripe-activated-account-actions"===t.actions?e.classList.add("notice-info"):e.classList.add("notice-warning");var n=document.getElementById(t.actions);n&&(n.style.display="block"),a()},error:function(t){e.querySelector("p").innerHTML=t.message,e.style.display="block",e.classList.add("notice-error");var n=document.getElementById(t.actions);n&&(n.style.display="block",a())}})}))}).call(this,n(14))},21:function(e,t,n){"use strict";n.d(t,"a",(function(){return v})),n.d(t,"c",(function(){return h}));var r=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},i=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},a=function(e){return function(t,n,a){var c=arguments.length>3&&void 0!==arguments[3]?arguments[3]:10;if(i(t)&&r(n))if("function"==typeof a)if("number"==typeof c){var o={callback:a,priority:c,namespace:n};if(e[t]){var s,l=e[t].handlers;for(s=l.length;s>0&&!(c>=l[s-1].priority);s--);s===l.length?l[s]=o:l.splice(s,0,o),(e.__current||[]).forEach((function(e){e.name===t&&e.currentIndex>=s&&e.currentIndex++}))}else e[t]={handlers:[o],runs:0};"hookAdded"!==t&&m("hookAdded",t,n,a,c)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}},c=function(e,t){return function(n,a){if(i(n)&&(t||r(a))){if(!e[n])return 0;var c=0;if(t)c=e[n].handlers.length,e[n]={runs:e[n].runs,handlers:[]};else for(var o=e[n].handlers,s=function(t){o[t].namespace===a&&(o.splice(t,1),c++,(e.__current||[]).forEach((function(e){e.name===n&&e.currentIndex>=t&&e.currentIndex--})))},l=o.length-1;l>=0;l--)s(l);return"hookRemoved"!==n&&m("hookRemoved",n,a),c}}},o=function(e){return function(t,n){return void 0!==n?t in e&&e[t].handlers.some((function(e){return e.namespace===n})):t in e}},s=function(e,t){return function(n){e[n]||(e[n]={handlers:[],runs:0}),e[n].runs++;for(var r=e[n].handlers,i=arguments.length,a=new Array(i>1?i-1:0),c=1;c .spinner").hide(),n.removeClass("active"),r.addClass("active"),t.addClass("simpay-panel-hidden"),a.removeClass("simpay-panel-hidden")}));var r="#form-display-options-settings-panel";location.hash.length&&(r=location.hash);var a=i('ul.simpay-tabs a[href="'+r+'"]');i('[name="simpay_form_settings_tab"]').val(r),a.length&&a.click()},stripeConnect:function(){var e="tr:nth-child(2), tr:nth-child(3), tr:nth-child(4), tr:nth-child(5)";i(".simpay-settings.stripe-account .form-table").find(e).hide(),i("#wpsp-api-keys-row-reveal button").on("click",(function(t){t.preventDefault(),i(".simpay-settings.stripe-account .form-table").find(e).show(),i("#wpsp-api-keys-row-hide").show(),i(this).parent().hide(),i(".wpsp-manual-key-warning").show()})),i("#wpsp-api-keys-row-hide button").on("click",(function(t){t.preventDefault(),i(".simpay-settings.stripe-account .form-table").find(e).hide(),i("#wpsp-api-keys-row-reveal").show(),i(this).parent().hide(),i(".wpsp-manual-key-warning").hide()}))},handleInternalLinkToTabClicks:function(e){var t=e.data("show-tab");a.find("."+t+"-tab a").click()}},(i=e)(document).ready((function(e){o.init()}))}.call(this,n(14))},332:function(e,t,n){"use strict";var r=n(11),i=simpayAdminSettingToggles||[];function a(e){var t=e.id,n=(e.value,e.toggles,document.querySelector(".simpay-settings-".concat(t)));if(!n)return{};var r=n.querySelector("input");r||(r=n.querySelector("select"));var i=r.value;return"checkbox"===r.type&&(i=!0===r.checked?"yes":"no"),{setting:r,currentValue:i}}function c(e){var t=e.id,n=e.value,r=e.toggles,o=a(e),s=(o.setting,o.currentValue);"none"!==document.querySelector(".simpay-settings-".concat(t)).style.display&&(r.map((function(e){return document.querySelector(".simpay-settings-".concat(e))})).forEach((function(e){e&&(e.style.display=s===n?"table-row":"none")})),r.forEach((function(e){var t=_.find(i,{id:e});t&&c(t)})))}Object(r.a)((function(){i.forEach((function(e){c(e),a(e).setting.addEventListener("change",(function(){return c(e)}))}))}))},333:function(e,t,n){"use strict";var r=n(11);Object(r.a)((function(){var e=window.wpsp.hooks,t=document.querySelectorAll('[name="simpay_settings[test_mode]"]');if(0!==t.length){var n="enabled"===document.querySelector('[name="simpay_settings[test_mode]"]:checked').value?"test":"live";e.doAction("settings.toggleTestMode",n,n),_.each(t,(function(t){return t.addEventListener("change",(function(t){var r="enabled"===t.target.value?"test":"live";e.doAction("settings.toggleTestMode",r,n)}))}))}}))},334:function(e,t,n){"use strict";var r=n(11);Object(r.a)((function(){var e=document.querySelector(".simpay-recaptcha-feedback");if(e){var t=simpayGoogleRecaptcha,n=t.siteKey,r=t.i18n;""!==n&&grecaptcha.ready((function(){var e=document.querySelector(".grecaptcha-badge");e&&(e.style.display="none");try{grecaptcha.execute(n,{action:"simple_pay_admin_test"}).then((function(e){wp.ajax.send("simpay_validate_recaptcha_source",{data:{token:e,recaptcha_action:"simple_pay_admin_test"},error:i})})).catch(i)}catch(e){i()}}))}function i(){e.style.display="block",e.classList.add("notice-error"),e.querySelector("p").innerText=r.invalid}}))},335:function(e,t,n){"use strict";(function(e,t){var r=n(55),i=n.n(r),a=n(11);function c(e){var t=e.querySelector(".simpay-price-label-display"),n=e.querySelector(".simpay-price-label"),r=spGeneral.strings,i=r.recurringIntervalDisplay,a=r.customAmountLabel;if(""!==n.value)t.innerHTML=n.value;else{var c,o=e.querySelector(".simpay-price-currency"),s=e.querySelector(".simpay-price-amount"),l=e.querySelector(".simpay-price-amount-type"),u=e.querySelector(".simpay-price-custom-amount input"),d=e.querySelector(".simpay-price-enable-custom-amount"),p=spGeneral.strings,y=p.currencyPosition,m=p.recurringIntervals,f=o.options[o.selectedIndex].dataset.symbol;switch(c=!0===d.checked?u.value:s.value,y){case"left":c="".concat(f).concat(c);break;case"left_space":c="".concat(f," ").concat(c);break;case"right":c="".concat(c).concat(f);break;case"right_space":c="".concat(c," ").concat(f)}if(!0===d.checked&&(c=a.replace("%s",c)),"recurring"===l.value){var v=e.querySelector(".simpay-price-recurring-interval"),h=e.querySelector(".simpay-price-recurring-interval-count"),g=m[v.options[v.selectedIndex].value];c=i.replace("%1$s",c).replace("%2$s",h.value).replace("%3$s","1"===h.value?g[0]:g[1])}t.innerHTML=c}}function o(e,t){e.querySelector(".simpay-price-recurring-settings").style.display=t.checked?"block":"none"}function s(e){var t=e.querySelector(".simpay-price-recurring-interval"),n=e.querySelector(".simpay-price-recurring-interval-count"),r=parseInt(n.value),a=t.options[t.selectedIndex].value,c=JSON.parse(t.dataset.intervals);switch(i()(t.options).forEach((function(e,n){var i=e.value;t.options[n].text=1===r?c[i][0]:c[i][1]})),a){case"day":r>1825&&(n.value=1825);break;case"week":r>260&&(n.value=260);break;case"month":r>60&&(n.value=60);break;case"year":r>5&&(n.value=5)}}function l(){var e=document.querySelectorAll(".simpay-price");_.each(e,(function(e){var t=e.querySelector(".simpay-price-amount-type").value;e.querySelector(".simpay-price-label").addEventListener("keyup",(function(){return c(e)})),c(e),e.querySelector(".simpay-price-currency").addEventListener("change",(function(){!function(e){var t=e.querySelector(".simpay-price-currency"),n=t.options[t.selectedIndex].dataset.symbol,r=e.querySelectorAll(".simpay-price-currency-symbol");_.each(r,(function(e){return e.innerText=n}))}(e),c(e)}));var n=e.querySelectorAll(".simpay-price-amount-type .button");n.length>0&&_.each(n,(function(t){return t.addEventListener("click",(function(t){t.preventDefault(),function(e,t){var n=e.querySelectorAll(".simpay-price-amount-type .button");_.each(n,(function(e){return e.classList.remove("button-primary")}));var r=t.dataset.amountType,i=e.querySelector(".simpay-price-recurring-settings");t.classList.add("button-primary"),i.style.display="recurring"===r?"block":"none";var a=e.querySelector(".simpay-price-recurring-amount-toggle"),c=e.querySelector(".simpay-price-enable-optional-subscription");a.style.display="recurring"===r?"none":"block",c.checked=!1,e.querySelector(".simpay-price-amount-type").value=r}(e,t.target),c(e)}))})),e.querySelector(".simpay-price-amount").addEventListener("keyup",(function(){return c(e)}));var r=e.querySelector(".simpay-price-enable-optional-subscription");r&&(r.addEventListener("click",(function(t){var n=t.target;o(e,n),c(e)})),"recurring"!==t&&o(e,r)),e.querySelector(".simpay-price-enable-custom-amount").addEventListener("click",(function(){!function(e){var t=e.querySelector(".simpay-price-custom-amount");t.style.display="none"===t.style.display?"block":"none"}(e),c(e)})),e.querySelector(".simpay-price-recurring-interval").addEventListener("change",(function(){c(e),s(e)}));var i=e.querySelector(".simpay-price-recurring-interval-count");i.addEventListener("keyup",(function(){s(e),c(e)})),i.addEventListener("change",(function(){s(e),c(e)}));var a=e.querySelector(".simpay-price-legacy-setting-toggle");a&&a.addEventListener("click",(function(t){t.preventDefault(),function(e){var t=e.querySelectorAll(".simpay-price-legacy-setting");_.each(t,(function(e){return e.style.display="block"===e.style.display?"none":"block"}))}(e)})),e.querySelector(".simpay-price-default").addEventListener("change",(function(){return function(e){var t=document.querySelectorAll(".simpay-price-default");_.each(t,(function(e){return e.checked=!1})),e.querySelector(".simpay-price-default").checked=!0}(e)})),e.querySelector(".simpay-price-remove").addEventListener("click",(function(t){t.preventDefault(),function(e){e.remove(),u()}(e)}))}))}function u(){var e=document.querySelectorAll(".simpay-price");document.querySelector(".simpay-price-default:checked")||(e[0].querySelector(".simpay-price-default").checked=!0)}Object(a.a)((function(){var n,r,i;t(".simpay-prices").sortable({items:".simpay-field-metabox",containment:"#simpay-prices",handle:".simpay-hndle",placeholder:"sortable-placeholder",cursor:"move",delay:t(document.body).hasClass("mobile")?200:0,distance:2,tolerance:"pointer",forcePlaceholderSize:!0,opacity:.65,helper:function(e,t){return t.clone().find(":input").attr("name",(function(e,t){return"sort_"+parseInt(1e5*Math.random(),10).toString()+"_"+t})).end()}}),l(),n=document.getElementById("simpay-prices-advanced-toggle"),r=document.getElementById("simpay-prices-advanced"),n&&r&&n.addEventListener("click",(function(e){e.preventDefault(),r.style.display="block"==r.style.display?"none":"block"})),(i=document.getElementById("simpay-prices-advanced-add"))&&i.addEventListener("click",(function(t){var n,r,a,c,o,s;t.preventDefault(),a=(r=(n=i).dataset).nonce,c=r.formId,o=document.getElementById("simpay-prices"),s=document.getElementById("simpay-prices-advanced-plan-id"),n.classList.add("disabled"),wp.ajax.send("simpay_add_plan",{data:{_wpnonce:a,form_id:c,plan_id:s.value},success:function(t){e(o).append(t),l(),document.getElementById("simpay-prices-advanced").style.display="none",s.value="",n.classList.remove("disabled")},error:function(e){var t=e.message;alert(t),n.classList.remove("disabled")}})})),function(){var t=document.getElementById("simpay-add-price");t&&t.addEventListener("click",(function(n){var r,i,a,c,o;n.preventDefault(),a=(i=(r=t).dataset).nonce,c=i.formId,o=document.getElementById("simpay-prices"),r.classList.add("disabled"),wp.ajax.send("simpay_add_price",{data:{_wpnonce:a,form_id:c},success:function(t){e(o).append(t),l(),u(),r.classList.remove("disabled")},error:function(e){var t=e.message;alert(t),r.classList.remove("disabled")}})}))}()}))}).call(this,n(14),n(14))},348:function(e,t,n){"use strict";var r=n(11);Object(r.a)((function(){var e;!function(){var e=document.querySelector(".simpay-recaptcha-payment-form-feedback");if(e){var t=document.querySelector(".simpay-recaptcha-payment-form-description"),n=simpayGoogleRecaptcha,r=n.siteKey,i=n.i18n;if(t.style.display="none",""===r)return a();grecaptcha.ready((function(){var e=document.querySelector(".grecaptcha-badge");e&&(e.style.display="none");try{grecaptcha.execute(r,{action:"simple_pay_admin_test"}).then((function(e){wp.ajax.send("simpay_validate_recaptcha_source",{data:{token:e,recaptcha_action:"simple_pay_admin_test"},success:c,error:a})})).catch(a)}catch(e){a()}}))}function a(){e.style.color="#b32d2e",e.style.display="inline",e.innerHTML=i.disabled,t.style.display="inline-block"}function c(){e.style.color="green",e.style.display="inline",e.innerHTML=i.enabled,t.style.display="inline-block"}}(),(e=document.querySelector("#_company_name"))&&(e.addEventListener("blur",(function(){0===e.value.length?(e.nextElementSibling.classList.remove("hidden"),e.value=simpayAdmin.siteTitle):e.nextElementSibling.classList.add("hidden")})),e.addEventListener("focus",(function(){0!==e.value.length&&e.nextElementSibling.classList.add("hidden")})))})),n(335)},55:function(e,t,n){var r=n(107),i=n(108),a=n(109),c=n(110);e.exports=function(e){return r(e)||i(e)||a(e)||c()},e.exports.default=e.exports,e.exports.__esModule=!0},62:function(e,t){e.exports=function(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n0?i(e(t),9007199254740991):0}},function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,n,r){t.exports=!r(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(3),i=r(111),o=r(35),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},,function(t,n,r){var e=r(32);t.exports=function(t){return Object(e(t))}},,,function(t,n,r){var e=r(1),i=r(17),o=r(16),u=r(39)("src"),c=r(150),f=(""+c).split("toString");r(7).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var a="function"==typeof r;a&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(a&&(o(r,u)||i(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n,r){var e=r(0),i=r(2),o=r(32),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",r)}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(9),i=r(38);t.exports=r(8)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(58),i=r(32);t.exports=function(t){return e(i(t))}},,,function(t,n,r){"use strict";var e=r(2);t.exports=function(t,n){return!!t&&e((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},,,function(t,n,r){var e=r(25);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(59),i=r(38),o=r(18),u=r(35),c=r(16),f=r(111),a=Object.getOwnPropertyDescriptor;n.f=r(8)?a:function(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(0),i=r(7),o=r(2);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o((function(){r(1)})),"Object",u)}},function(t,n,r){var e=r(24),i=r(58),o=r(11),u=r(6),c=r(127);t.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,l=6==t,h=5==t||l,p=n||c;return function(n,c,v){for(var y,d,g=o(n),x=i(g),m=e(c,v,3),b=u(x.length),S=0,w=r?p(n,b):f?p(n,0):void 0;b>S;S++)if((h||S in x)&&(d=m(y=x[S],S,g),t))if(r)w[S]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:w.push(y)}else if(s)return!1;return l?-1:a||s?s:w}}},,function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){"use strict";if(r(8)){var e=r(40),i=r(1),o=r(2),u=r(0),c=r(74),f=r(102),a=r(24),s=r(53),l=r(38),h=r(17),p=r(54),v=r(26),y=r(6),d=r(138),g=r(42),x=r(35),m=r(16),b=r(60),S=r(4),w=r(11),_=r(94),E=r(43),O=r(45),P=r(44).f,F=r(96),M=r(39),A=r(5),j=r(29),I=r(64),N=r(61),T=r(98),L=r(51),R=r(67),k=r(52),C=r(97),D=r(129),W=r(9),G=r(27),U=W.f,B=G.f,V=i.RangeError,z=i.TypeError,Y=i.Uint8Array,q=Array.prototype,$=f.ArrayBuffer,K=f.DataView,J=j(0),X=j(2),H=j(3),Z=j(4),Q=j(5),tt=j(6),nt=I(!0),rt=I(!1),et=T.values,it=T.keys,ot=T.entries,ut=q.lastIndexOf,ct=q.reduce,ft=q.reduceRight,at=q.join,st=q.sort,lt=q.slice,ht=q.toString,pt=q.toLocaleString,vt=A("iterator"),yt=A("toStringTag"),dt=M("typed_constructor"),gt=M("def_constructor"),xt=c.CONSTR,mt=c.TYPED,bt=c.VIEW,St=j(1,(function(t,n){return Pt(N(t,t[gt]),n)})),wt=o((function(){return 1===new Y(new Uint16Array([1]).buffer)[0]})),_t=!!Y&&!!Y.prototype.set&&o((function(){new Y(1).set({})})),Et=function(t,n){var r=v(t);if(r<0||r%n)throw V("Wrong offset!");return r},Ot=function(t){if(S(t)&&mt in t)return t;throw z(t+" is not a typed array!")},Pt=function(t,n){if(!S(t)||!(dt in t))throw z("It is not a typed array constructor!");return new t(n)},Ft=function(t,n){return Mt(N(t,t[gt]),n)},Mt=function(t,n){for(var r=0,e=n.length,i=Pt(t,e);e>r;)i[r]=n[r++];return i},At=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},jt=function(t){var n,r,e,i,o,u,c=w(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,h=F(c);if(null!=h&&!_(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&f>2&&(s=a(s,arguments[2],2)),n=0,r=y(c.length),i=Pt(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},It=function(){for(var t=0,n=arguments.length,r=Pt(this,n);n>t;)r[t]=arguments[t++];return r},Nt=!!Y&&o((function(){pt.call(new Y(1))})),Tt=function(){return pt.apply(Nt?lt.call(Ot(this)):Ot(this),arguments)},Lt={copyWithin:function(t,n){return D.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Ft(this,X(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return at.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return St(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,r=Math.floor(n/2),e=0;e1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var r=Ot(this),e=r.length,i=g(t,e);return new(N(r,r[gt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,y((void 0===n?e:g(n,e))-i))}},Rt=function(t,n){return Ft(this,lt.call(Ot(this),t,n))},kt=function(t){Ot(this);var n=Et(arguments[1],1),r=this.length,e=w(t),i=y(e.length),o=0;if(i+n>r)throw V("Wrong length!");for(;o255?255:255&e),i.v[p](r*n+i.o,e,wt)}(this,r,t)},enumerable:!0})};m?(v=r((function(t,r,e,i){s(t,v,a,"_d");var o,u,c,f,l=0,p=0;if(S(r)){if(!(r instanceof $||"ArrayBuffer"==(f=b(r))||"SharedArrayBuffer"==f))return mt in r?Mt(v,r):jt.call(v,r);o=r,p=Et(e,n);var g=r.byteLength;if(void 0===i){if(g%n)throw V("Wrong length!");if((u=g-p)<0)throw V("Wrong length!")}else if((u=y(i)*n)+p>g)throw V("Wrong length!");c=u/n}else c=d(r),o=new $(u=c*n);for(h(t,"_d",{b:o,o:p,l:u,e:c,v:new K(o)});ldocument.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[o[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(113),i=r(81).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(16),i=r(11),o=r(80)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(5)("unscopables"),i=Array.prototype;null==i[e]&&r(17)(i,e,{}),t.exports=function(t){i[e][t]=!0}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,function(t,n,r){var e=r(9).f,i=r(16),o=r(5)("toStringTag");t.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},function(t,n,r){var e=r(0),i=r(32),o=r(2),u=r(84),c="["+u+"]",f=RegExp("^"+c+c+"*"),a=RegExp(c+c+"*$"),s=function(t,n,r){var i={},c=o((function(){return!!u[t]()||"​…"!="​…"[t]()})),f=i[t]=c?n(l):u[t];r&&(i[r]=f),e(e.P+e.F*c,"String",i)},l=s.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(a,"")),t};t.exports=s},function(t,n){t.exports={}},function(t,n,r){"use strict";var e=r(1),i=r(9),o=r(8),u=r(5)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(14);t.exports=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}},,,,function(t,n,r){var e=r(31);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(31),i=r(5)("toStringTag"),o="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?r:o?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(3),i=r(25),o=r(5)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||null==(r=e(u)[o])?n:i(r)}},,function(t,n,r){var e=r(7),i=r(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(40)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(18),i=r(6),o=r(42);t.exports=function(t){return function(n,r,u){var c,f=e(n),a=i(f.length),s=o(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(31);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(5)("iterator"),i=!1;try{var o=[7][e]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var r=!1;try{var o=[7],u=o[e]();u.next=function(){return{done:r=!0}},o[e]=function(){return u},t(o)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(3);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";var e=r(60),i=RegExp.prototype.exec;t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var o=r.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==e(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,r){"use strict";r(131);var e=r(14),i=r(17),o=r(2),u=r(32),c=r(5),f=r(99),a=c("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,n,r){var h=c(t),p=!o((function(){var n={};return n[h]=function(){return 7},7!=""[t](n)})),v=p?!o((function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[a]=function(){return r}),r[h](""),!n})):void 0;if(!p||!v||"replace"===t&&!s||"split"===t&&!l){var y=/./[h],d=r(u,h,""[t],(function(t,n,r,e,i){return n.exec===f?p&&!i?{done:!0,value:y.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}})),g=d[0],x=d[1];e(String.prototype,t,g),i(RegExp.prototype,h,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}}},function(t,n,r){var e=r(24),i=r(126),o=r(94),u=r(3),c=r(6),f=r(96),a={},s={};(n=t.exports=function(t,n,r,l,h){var p,v,y,d,g=h?function(){return t}:f(t),x=e(r,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(p=c(t.length);p>m;m++)if((d=n?x(u(v=t[m])[0],v[1]):x(t[m]))===a||d===s)return d}else for(y=g.call(t);!(v=y.next()).done;)if((d=i(y,x,v.value,n))===a||d===s)return d}).BREAK=a,n.RETURN=s},function(t,n,r){var e=r(1).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var e=r(1),i=r(0),o=r(14),u=r(54),c=r(36),f=r(71),a=r(53),s=r(4),l=r(2),h=r(67),p=r(49),v=r(85);t.exports=function(t,n,r,y,d,g){var x=e[t],m=x,b=d?"set":"add",S=m&&m.prototype,w={},_=function(t){var n=S[t];o(S,t,"delete"==t||"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof m&&(g||S.forEach&&!l((function(){(new m).entries().next()})))){var E=new m,O=E[b](g?{}:-0,1)!=E,P=l((function(){E.has(1)})),F=h((function(t){new m(t)})),M=!g&&l((function(){for(var t=new m,n=5;n--;)t[b](n,n);return!t.has(-0)}));F||((m=n((function(n,r){a(n,m,t);var e=v(new x,n,m);return null!=r&&f(r,d,e[b],e),e}))).prototype=S,S.constructor=m),(P||M)&&(_("delete"),_("has"),d&&_("get")),(M||O)&&_(b),g&&S.clear&&delete S.clear}else m=y.getConstructor(n,t,d,b),u(m.prototype,r),c.NEED=!0;return p(m,t),w[t]=m,i(i.G+i.W+i.F*(m!=x),w),g||y.setStrong(m,t,d),m}},function(t,n,r){for(var e,i=r(1),o=r(17),u=r(39),c=u("typed_array"),f=u("view"),a=!(!i.ArrayBuffer||!i.DataView),s=a,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(e=i[h[l++]])?(o(e.prototype,c,!0),o(e.prototype,f,!0)):s=!1;t.exports={ABV:a,CONSTR:s,TYPED:c,VIEW:f}},,,,function(t,n,r){var e=r(4),i=r(1).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){n.f=r(5)},function(t,n,r){var e=r(63)("keys"),i=r(39);t.exports=function(t){return e[t]||(e[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(4),i=r(3),o=function(t,n){if(i(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(24)(Function.call,r(27).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return o(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,r){var e=r(4),i=r(83).set;t.exports=function(t,n,r){var o,u=n.constructor;return u!==r&&"function"==typeof u&&(o=u.prototype)!==r.prototype&&e(o)&&i&&i(t,o),t}},function(t,n,r){"use strict";var e=r(26),i=r(32);t.exports=function(t){var n=String(i(this)),r="",o=e(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(r+=n);return r}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n,r){var e=r(26),i=r(32);t.exports=function(t){return function(n,r){var o,u,c=String(i(n)),f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(o=c.charCodeAt(f))<55296||o>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):o:t?c.slice(f,f+2):u-56320+(o-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(40),i=r(0),o=r(14),u=r(17),c=r(51),f=r(125),a=r(49),s=r(45),l=r(5)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,r,v,y,d,g){f(r,n,v);var x,m,b,S=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",_="values"==y,E=!1,O=t.prototype,P=O[l]||O["@@iterator"]||y&&O[y],F=P||S(y),M=y?_?S("entries"):F:void 0,A="Array"==n&&O.entries||P;if(A&&(b=s(A.call(new t)))!==Object.prototype&&b.next&&(a(b,w,!0),e||"function"==typeof b[l]||u(b,l,p)),_&&P&&"values"!==P.name&&(E=!0,F=function(){return P.call(this)}),e&&!g||!h&&!E&&O[l]||u(O,l,F),c[n]=F,c[w]=p,y)if(x={values:_?F:S("values"),keys:d?F:S("keys"),entries:M},g)for(m in x)m in O||o(O,m,x[m]);else i(i.P+i.F*(h||E),n,x);return x}},function(t,n,r){var e=r(92),i=r(32);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},function(t,n,r){var e=r(4),i=r(31),o=r(5)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,r){var e=r(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,r){var e=r(51),i=r(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},function(t,n,r){"use strict";var e=r(9),i=r(38);t.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},function(t,n,r){var e=r(60),i=r(5)("iterator"),o=r(51);t.exports=r(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){"use strict";var e=r(11),i=r(42),o=r(6);t.exports=function(t){for(var n=e(this),r=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,r),f=u>2?arguments[2]:void 0,a=void 0===f?r:i(f,r);a>c;)n[c++]=t;return n}},function(t,n,r){"use strict";var e=r(46),i=r(130),o=r(51),u=r(18);t.exports=r(90)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])}),"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},function(t,n,r){"use strict";var e,i,o=r(68),u=RegExp.prototype.exec,c=String.prototype.replace,f=u,a=(e=/a/,i=/b*/g,u.call(e,"a"),u.call(i,"a"),0!==e.lastIndex||0!==i.lastIndex),s=void 0!==/()??/.exec("")[1];(a||s)&&(f=function(t){var n,r,e,i,f=this;return s&&(r=new RegExp("^"+f.source+"$(?!\\s)",o.call(f))),a&&(n=f.lastIndex),e=u.call(f,t),a&&e&&(f.lastIndex=f.global?e.index+e[0].length:n),s&&e&&e.length>1&&c.call(e[0],r,(function(){for(i=1;ir;)n.push(arguments[r++]);return g[++d]=function(){c("function"==typeof t?t:Function(t),n)},e(d),d},p=function(t){delete g[t]},"process"==r(31)(l)?e=function(t){l.nextTick(u(x,t,1))}:y&&y.now?e=function(t){y.now(u(x,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=m,e=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):e="onreadystatechange"in a("script")?function(t){f.appendChild(a("script")).onreadystatechange=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(u(x,t,1),0)}),t.exports={set:h,clear:p}},function(t,n,r){"use strict";var e=r(1),i=r(8),o=r(40),u=r(74),c=r(17),f=r(54),a=r(2),s=r(53),l=r(26),h=r(6),p=r(138),v=r(44).f,y=r(9).f,d=r(97),g=r(49),x=e.ArrayBuffer,m=e.DataView,b=e.Math,S=e.RangeError,w=e.Infinity,_=x,E=b.abs,O=b.pow,P=b.floor,F=b.log,M=b.LN2,A=i?"_b":"buffer",j=i?"_l":"byteLength",I=i?"_o":"byteOffset";function N(t,n,r){var e,i,o,u=new Array(r),c=8*r-n-1,f=(1<>1,s=23===n?O(2,-24)-O(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===w?(i=t!=t?1:0,e=f):(e=P(F(t)/M),t*(o=O(2,-e))<1&&(e--,o*=2),(t+=e+a>=1?s/o:s*O(2,1-a))*o>=2&&(e++,o/=2),e+a>=f?(i=0,e=f):e+a>=1?(i=(t*o-1)*O(2,n),e+=a):(i=t*O(2,a-1)*O(2,n),e=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(e=e<0;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*h,u}function T(t,n,r){var e,i=8*r-n-1,o=(1<>1,c=i-7,f=r-1,a=t[f--],s=127&a;for(a>>=7;c>0;s=256*s+t[f],f--,c-=8);for(e=s&(1<<-c)-1,s>>=-c,c+=n;c>0;e=256*e+t[f],f--,c-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:a?-w:w;e+=O(2,n),s-=u}return(a?-1:1)*e*O(2,s-n)}function L(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function C(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return N(t,52,8)}function W(t){return N(t,23,4)}function G(t,n,r){y(t.prototype,n,{get:function(){return this[r]}})}function U(t,n,r,e){var i=p(+r);if(i+n>t[j])throw S("Wrong index!");var o=t[A]._b,u=i+t[I],c=o.slice(u,u+n);return e?c:c.reverse()}function B(t,n,r,e,i,o){var u=p(+r);if(u+n>t[j])throw S("Wrong index!");for(var c=t[A]._b,f=u+t[I],a=e(+i),s=0;sq;)(V=Y[q++])in x||c(x,V,_[V]);o||(z.constructor=x)}var $=new m(new x(2)),K=m.prototype.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||f(m.prototype,{setInt8:function(t,n){K.call(this,t,n<<24>>24)},setUint8:function(t,n){K.call(this,t,n<<24>>24)}},!0)}else x=function(t){s(this,x,"ArrayBuffer");var n=p(t);this._b=d.call(new Array(n),0),this[j]=n},m=function(t,n,r){s(this,m,"DataView"),s(t,x,"DataView");var e=t[j],i=l(n);if(i<0||i>e)throw S("Wrong offset!");if(i+(r=void 0===r?e-i:h(r))>e)throw S("Wrong length!");this[A]=t,this[I]=i,this[j]=r},i&&(G(x,"byteLength","_l"),G(m,"buffer","_b"),G(m,"byteLength","_l"),G(m,"byteOffset","_o")),f(m.prototype,{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return L(U(this,4,t,arguments[1]))},getUint32:function(t){return L(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return T(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return T(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){B(this,1,t,R,n)},setUint8:function(t,n){B(this,1,t,R,n)},setInt16:function(t,n){B(this,2,t,k,n,arguments[2])},setUint16:function(t,n){B(this,2,t,k,n,arguments[2])},setInt32:function(t,n){B(this,4,t,C,n,arguments[2])},setUint32:function(t,n){B(this,4,t,C,n,arguments[2])},setFloat32:function(t,n){B(this,4,t,W,n,arguments[2])},setFloat64:function(t,n){B(this,8,t,D,n,arguments[2])}});g(x,"ArrayBuffer"),g(m,"DataView"),c(m.prototype,u.VIEW,!0),n.ArrayBuffer=x,n.DataView=m},function(t,n,r){var e=function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",u=e.toStringTag||"@@toStringTag";function c(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,r){return t[n]=r}}function f(t,n,r,e){var i=n&&n.prototype instanceof l?n:l,o=Object.create(i.prototype),u=new _(e||[]);return o._invoke=function(t,n,r){var e="suspendedStart";return function(i,o){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var u=r.delegate;if(u){var c=b(u,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===e)throw e="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e="executing";var f=a(t,n,r);if("normal"===f.type){if(e=r.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(e="completed",r.method="throw",r.arg=f.arg)}}}(t,r,u),o}function a(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s={};function l(){}function h(){}function p(){}var v={};v[i]=function(){return this};var y=Object.getPrototypeOf,d=y&&y(y(E([])));d&&d!==n&&r.call(d,i)&&(v=d);var g=p.prototype=l.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function m(t,n){var e;this._invoke=function(i,o){function u(){return new n((function(e,u){!function e(i,o,u,c){var f=a(t[i],t,o);if("throw"!==f.type){var s=f.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,c)}),(function(t){e("throw",t,u,c)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,c)}))}c(f.arg)}(i,o,e,u)}))}return e=e?e.then(u,u):u()}}function b(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,b(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var e=a(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,s;var i=e.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function S(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function w(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function n(){for(;++e=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),f=r.call(o,"finallyLoc");if(c&&f){if(this.prev=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;w(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(143)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},,,,,function(t,n,r){t.exports=!r(8)&&!r(2)((function(){return 7!=Object.defineProperty(r(78)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(1),i=r(7),o=r(40),u=r(79),c=r(9).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var e=r(16),i=r(18),o=r(64)(!1),u=r(80)("IE_PROTO");t.exports=function(t,n){var r,c=i(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~o(a,r)||a.push(r));return a}},function(t,n,r){var e=r(9),i=r(3),o=r(41);t.exports=r(8)?Object.defineProperties:function(t,n){i(t);for(var r,u=o(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){var e=r(18),i=r(44).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(e(t))}},function(t,n,r){"use strict";var e=r(8),i=r(41),o=r(65),u=r(59),c=r(11),f=r(58),a=Object.assign;t.exports=!a||r(2)((function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach((function(t){n[t]=t})),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e}))?function(t,n){for(var r=c(t),a=arguments.length,s=1,l=o.f,h=u.f;a>s;)for(var p,v=f(arguments[s++]),y=l?i(v).concat(l(v)):i(v),d=y.length,g=0;d>g;)p=y[g++],e&&!h.call(v,p)||(r[p]=v[p]);return r}:a},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,r){"use strict";var e=r(25),i=r(4),o=r(119),u=[].slice,c={},f=function(t,n,r){if(!(n in c)){for(var e=[],i=0;i>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(1).parseFloat,i=r(50).trim;t.exports=1/e(r(84)+"-0")!=-1/0?function(t){var n=i(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},function(t,n,r){var e=r(31);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=e(t))throw TypeError(n);return+t}},function(t,n,r){var e=r(4),i=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){"use strict";var e=r(43),i=r(38),o=r(49),u={};r(17)(u,r(5)("iterator"),(function(){return this})),t.exports=function(t,n,r){t.prototype=e(u,{next:i(1,r)}),o(t,n+" Iterator")}},function(t,n,r){var e=r(3);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){var o=t.return;throw void 0!==o&&e(o.call(t)),n}}},function(t,n,r){var e=r(240);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(25),i=r(11),o=r(58),u=r(6);t.exports=function(t,n,r,c,f){e(n);var a=i(t),s=o(a),l=u(a.length),h=f?l-1:0,p=f?-1:1;if(r<2)for(;;){if(h in s){c=s[h],h+=p;break}if(h+=p,f?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;f?h>=0:l>h;h+=p)h in s&&(c=n(c,s[h],h,a));return c}},function(t,n,r){"use strict";var e=r(11),i=r(42),o=r(6);t.exports=[].copyWithin||function(t,n){var r=e(this),u=o(r.length),c=i(t,u),f=i(n,u),a=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===a?u:i(a,u))-f,u-c),l=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=l,f+=l;return r}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){"use strict";var e=r(99);r(0)({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e})},function(t,n,r){r(8)&&"g"!=/./g.flags&&r(9).f(RegExp.prototype,"flags",{configurable:!0,get:r(68)})},function(t,n,r){"use strict";var e,i,o,u,c=r(40),f=r(1),a=r(24),s=r(60),l=r(0),h=r(4),p=r(25),v=r(53),y=r(71),d=r(61),g=r(101).set,x=r(260)(),m=r(134),b=r(261),S=r(72),w=r(135),_=f.TypeError,E=f.process,O=E&&E.versions,P=O&&O.v8||"",F=f.Promise,M="process"==s(E),A=function(){},j=i=m.f,I=!!function(){try{var t=F.resolve(1),n=(t.constructor={})[r(5)("species")]=function(t){t(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof n&&0!==P.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),N=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;x((function(){for(var e=t._v,i=1==t._s,o=0,u=function(n){var r,o,u,c=i?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(i||(2==t._h&&k(t),t._h=1),!0===c?r=e:(s&&s.enter(),r=c(e),s&&(s.exit(),u=!0)),r===n.promise?a(_("Promise-chain cycle")):(o=N(r))?o.call(r,f,a):f(r)):a(e)}catch(t){s&&!u&&s.exit(),a(t)}};r.length>o;)u(r[o++]);t._c=[],t._n=!1,n&&!t._h&&L(t)}))}},L=function(t){g.call(f,(function(){var n,r,e,i=t._v,o=R(t);if(o&&(n=b((function(){M?E.emit("unhandledRejection",i,t):(r=f.onunhandledrejection)?r({promise:t,reason:i}):(e=f.console)&&e.error&&e.error("Unhandled promise rejection",i)})),t._h=M||R(t)?2:1),t._a=void 0,o&&n.e)throw n.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){g.call(f,(function(){var n;M?E.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})}))},C=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},D=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw _("Promise can't be resolved itself");(n=N(t))?x((function(){var e={_w:r,_d:!1};try{n.call(t,a(D,e,1),a(C,e,1))}catch(t){C.call(e,t)}})):(r._v=t,r._s=1,T(r,!1))}catch(t){C.call({_w:r,_d:!1},t)}}};I||(F=function(t){v(this,F,"Promise","_h"),p(t),e.call(this);try{t(a(D,this,1),a(C,this,1))}catch(t){C.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(54)(F.prototype,{then:function(t,n){var r=j(d(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=M?E.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e;this.promise=t,this.resolve=a(D,t,1),this.reject=a(C,t,1)},m.f=j=function(t){return t===F||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!I,{Promise:F}),r(49)(F,"Promise"),r(52)("Promise"),u=r(7).Promise,l(l.S+l.F*!I,"Promise",{reject:function(t){var n=j(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!I),"Promise",{resolve:function(t){return w(c&&this===u?F:this,t)}}),l(l.S+l.F*!(I&&r(67)((function(t){F.all(t).catch(A)}))),"Promise",{all:function(t){var n=this,r=j(n),e=r.resolve,i=r.reject,o=b((function(){var r=[],o=0,u=1;y(t,!1,(function(t){var c=o++,f=!1;r.push(void 0),u++,n.resolve(t).then((function(t){f||(f=!0,r[c]=t,--u||e(r))}),i)})),--u||e(r)}));return o.e&&i(o.v),r.promise},race:function(t){var n=this,r=j(n),e=r.reject,i=b((function(){y(t,!1,(function(t){n.resolve(t).then(r.resolve,e)}))}));return i.e&&e(i.v),r.promise}})},function(t,n,r){"use strict";var e=r(25);function i(t){var n,r;this.promise=new t((function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e})),this.resolve=e(n),this.reject=e(r)}t.exports.f=function(t){return new i(t)}},function(t,n,r){var e=r(3),i=r(4),o=r(134);t.exports=function(t,n){if(e(t),i(n)&&n.constructor===t)return n;var r=o.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){"use strict";var e=r(9).f,i=r(43),o=r(54),u=r(24),c=r(53),f=r(71),a=r(90),s=r(130),l=r(52),h=r(8),p=r(36).fastKey,v=r(47),y=h?"_s":"size",d=function(t,n){var r,e=p(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,a){var s=t((function(t,e){c(t,s,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[y]=0,null!=e&&f(e,r,t[a],t)}));return o(s.prototype,{clear:function(){for(var t=v(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=v(this,n),e=d(r,t);if(e){var i=e.n,o=e.p;delete r._i[e.i],e.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==e&&(r._f=i),r._l==e&&(r._l=o),r[y]--}return!!e},forEach:function(t){v(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!d(v(this,n),t)}}),h&&e(s.prototype,"size",{get:function(){return v(this,n)[y]}}),s},def:function(t,n,r){var e,i,o=d(t,n);return o?o.v=r:(t._l=o={i:i=p(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[y]++,"F"!==i&&(t._i[i]=o)),t},getEntry:d,setStrong:function(t,n,r){a(t,n,(function(t,r){this._t=v(t,n),this._k=r,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))}),r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(54),i=r(36).getWeak,o=r(3),u=r(4),c=r(53),f=r(71),a=r(29),s=r(16),l=r(47),h=a(5),p=a(6),v=0,y=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},g=function(t,n){return h(t.a,(function(t){return t[0]===n}))};d.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var r=g(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,o){var a=t((function(t,e){c(t,a,n,"_i"),t._t=n,t._i=v++,t._l=void 0,null!=e&&f(e,r,t[o],t)}));return e(a.prototype,{delete:function(t){if(!u(t))return!1;var r=i(t);return!0===r?y(l(this,n)).delete(t):r&&s(r,this._i)&&delete r[this._i]},has:function(t){if(!u(t))return!1;var r=i(t);return!0===r?y(l(this,n)).has(t):r&&s(r,this._i)}}),a},def:function(t,n,r){var e=i(o(n),!0);return!0===e?y(t).set(n,r):e[t._i]=r,t},ufstore:y}},function(t,n,r){var e=r(26),i=r(6);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=i(n);if(n!==r)throw RangeError("Wrong length!");return r}},function(t,n,r){var e=r(44),i=r(65),o=r(3),u=r(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(6),i=r(86),o=r(32);t.exports=function(t,n,r,u){var c=String(o(t)),f=c.length,a=void 0===r?" ":String(r),s=e(n);if(s<=f||""==a)return c;var l=s-f,h=i.call(a,Math.ceil(l/a.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},function(t,n,r){var e=r(8),i=r(41),o=r(18),u=r(59).f;t.exports=function(t){return function(n){for(var r,c=o(n),f=i(c),a=f.length,s=0,l=[];a>s;)r=f[s++],e&&!u.call(c,r)||l.push(t?[r,c[r]]:c[r]);return l}}},function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,function(t,n,r){"use strict";r(147);var e,i=(e=r(318))&&e.__esModule?e:{default:e};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},function(t,n,r){"use strict";r(148),r(291),r(293),r(296),r(298),r(300),r(302),r(304),r(306),r(308),r(310),r(312),r(314),r(103)},function(t,n,r){r(149),r(152),r(153),r(154),r(155),r(156),r(157),r(158),r(159),r(160),r(161),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(180),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(195),r(196),r(197),r(198),r(199),r(200),r(201),r(202),r(203),r(204),r(205),r(206),r(207),r(208),r(209),r(210),r(211),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(220),r(221),r(222),r(223),r(224),r(225),r(226),r(227),r(228),r(230),r(231),r(233),r(234),r(235),r(236),r(237),r(238),r(239),r(241),r(242),r(243),r(244),r(245),r(246),r(247),r(248),r(249),r(250),r(251),r(252),r(253),r(98),r(254),r(131),r(255),r(132),r(256),r(257),r(258),r(259),r(133),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(274),r(275),r(276),r(277),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(289),r(290),t.exports=r(7)},function(t,n,r){"use strict";var e=r(1),i=r(16),o=r(8),u=r(0),c=r(14),f=r(36).KEY,a=r(2),s=r(63),l=r(49),h=r(39),p=r(5),v=r(79),y=r(112),d=r(151),g=r(66),x=r(3),m=r(4),b=r(11),S=r(18),w=r(35),_=r(38),E=r(43),O=r(115),P=r(27),F=r(65),M=r(9),A=r(41),j=P.f,I=M.f,N=O.f,T=e.Symbol,L=e.JSON,R=L&&L.stringify,k=p("_hidden"),C=p("toPrimitive"),D={}.propertyIsEnumerable,W=s("symbol-registry"),G=s("symbols"),U=s("op-symbols"),B=Object.prototype,V="function"==typeof T&&!!F.f,z=e.QObject,Y=!z||!z.prototype||!z.prototype.findChild,q=o&&a((function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=j(B,n);e&&delete B[n],I(t,n,r),e&&t!==B&&I(B,n,e)}:I,$=function(t){var n=G[t]=E(T.prototype);return n._k=t,n},K=V&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},J=function(t,n,r){return t===B&&J(U,n,r),x(t),n=w(n,!0),x(r),i(G,n)?(r.enumerable?(i(t,k)&&t[k][n]&&(t[k][n]=!1),r=E(r,{enumerable:_(0,!1)})):(i(t,k)||I(t,k,_(1,{})),t[k][n]=!0),q(t,n,r)):I(t,n,r)},X=function(t,n){x(t);for(var r,e=d(n=S(n)),i=0,o=e.length;o>i;)J(t,r=e[i++],n[r]);return t},H=function(t){var n=D.call(this,t=w(t,!0));return!(this===B&&i(G,t)&&!i(U,t))&&(!(n||!i(this,t)||!i(G,t)||i(this,k)&&this[k][t])||n)},Z=function(t,n){if(t=S(t),n=w(n,!0),t!==B||!i(G,n)||i(U,n)){var r=j(t,n);return!r||!i(G,n)||i(t,k)&&t[k][n]||(r.enumerable=!0),r}},Q=function(t){for(var n,r=N(S(t)),e=[],o=0;r.length>o;)i(G,n=r[o++])||n==k||n==f||e.push(n);return e},tt=function(t){for(var n,r=t===B,e=N(r?U:S(t)),o=[],u=0;e.length>u;)!i(G,n=e[u++])||r&&!i(B,n)||o.push(G[n]);return o};V||(c((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(r){this===B&&n.call(U,r),i(this,k)&&i(this[k],t)&&(this[k][t]=!1),q(this,t,_(1,r))};return o&&Y&&q(B,t,{configurable:!0,set:n}),$(t)}).prototype,"toString",(function(){return this._k})),P.f=Z,M.f=J,r(44).f=O.f=Q,r(59).f=H,F.f=tt,o&&!r(40)&&c(B,"propertyIsEnumerable",H,!0),v.f=function(t){return $(p(t))}),u(u.G+u.W+u.F*!V,{Symbol:T});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)p(nt[rt++]);for(var et=A(p.store),it=0;et.length>it;)y(et[it++]);u(u.S+u.F*!V,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=T(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),u(u.S+u.F*!V,"Object",{create:function(t,n){return void 0===n?E(t):X(E(t),n)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=a((function(){F.f(1)}));u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return F.f(b(t))}}),L&&u(u.S+u.F*(!V||a((function(){var t=T();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var n,r,e=[t],i=1;arguments.length>i;)e.push(arguments[i++]);if(r=n=e[1],(m(n)||void 0!==t)&&!K(t))return g(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,R.apply(L,e)}}),T.prototype[C]||r(17)(T.prototype,C,T.prototype.valueOf),l(T,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){t.exports=r(63)("native-function-to-string",Function.toString)},function(t,n,r){var e=r(41),i=r(65),o=r(59);t.exports=function(t){var n=e(t),r=i.f;if(r)for(var u,c=r(t),f=o.f,a=0;c.length>a;)f.call(t,u=c[a++])&&n.push(u);return n}},function(t,n,r){var e=r(0);e(e.S,"Object",{create:r(43)})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperty:r(9).f})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperties:r(114)})},function(t,n,r){var e=r(18),i=r(27).f;r(28)("getOwnPropertyDescriptor",(function(){return function(t,n){return i(e(t),n)}}))},function(t,n,r){var e=r(11),i=r(45);r(28)("getPrototypeOf",(function(){return function(t){return i(e(t))}}))},function(t,n,r){var e=r(11),i=r(41);r(28)("keys",(function(){return function(t){return i(e(t))}}))},function(t,n,r){r(28)("getOwnPropertyNames",(function(){return r(115).f}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("freeze",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("seal",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("preventExtensions",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4);r(28)("isFrozen",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(4);r(28)("isSealed",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(4);r(28)("isExtensible",(function(t){return function(n){return!!e(n)&&(!t||t(n))}}))},function(t,n,r){var e=r(0);e(e.S+e.F,"Object",{assign:r(116)})},function(t,n,r){var e=r(0);e(e.S,"Object",{is:r(117)})},function(t,n,r){var e=r(0);e(e.S,"Object",{setPrototypeOf:r(83).set})},function(t,n,r){"use strict";var e=r(60),i={};i[r(5)("toStringTag")]="z",i+""!="[object z]"&&r(14)(Object.prototype,"toString",(function(){return"[object "+e(this)+"]"}),!0)},function(t,n,r){var e=r(0);e(e.P,"Function",{bind:r(118)})},function(t,n,r){var e=r(9).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||r(8)&&e(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(4),i=r(45),o=r(5)("hasInstance"),u=Function.prototype;o in u||r(9).f(u,o,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,r){var e=r(0),i=r(120);e(e.G+e.F*(parseInt!=i),{parseInt:i})},function(t,n,r){var e=r(0),i=r(121);e(e.G+e.F*(parseFloat!=i),{parseFloat:i})},function(t,n,r){"use strict";var e=r(1),i=r(16),o=r(31),u=r(85),c=r(35),f=r(2),a=r(44).f,s=r(27).f,l=r(9).f,h=r(50).trim,p=e.Number,v=p,y=p.prototype,d="Number"==o(r(43)(y)),g="trim"in String.prototype,x=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){var r,e,i,o=(n=g?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(r=n.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:e=2,i=49;break;case 79:case 111:e=8,i=55;break;default:return+n}for(var u,f=n.slice(2),a=0,s=f.length;ai)return NaN;return parseInt(f,e)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof p&&(d?f((function(){y.valueOf.call(r)})):"Number"!=o(r))?u(new v(x(n)),r,p):x(n)};for(var m,b=r(8)?a(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;b.length>S;S++)i(v,m=b[S])&&!i(p,m)&&l(p,m,s(v,m));p.prototype=y,y.constructor=p,r(14)(e,"Number",p)}},function(t,n,r){"use strict";var e=r(0),i=r(26),o=r(122),u=r(86),c=1..toFixed,f=Math.floor,a=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",l=function(t,n){for(var r=-1,e=n;++r<6;)e+=t*a[r],a[r]=e%1e7,e=f(e/1e7)},h=function(t){for(var n=6,r=0;--n>=0;)r+=a[n],a[n]=f(r/t),r=r%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var r=String(a[t]);n=""===n?r:n+u.call("0",7-r.length)+r}return n},v=function(t,n,r){return 0===n?r:n%2==1?v(t,n-1,r*t):v(t*t,n/2,r)};e(e.P+e.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r(2)((function(){c.call({})}))),"Number",{toFixed:function(t){var n,r,e,c,f=o(this,s),a=i(t),y="",d="0";if(a<0||a>20)throw RangeError(s);if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return String(f);if(f<0&&(y="-",f=-f),f>1e-21)if(r=(n=function(t){for(var n=0,r=t;r>=4096;)n+=12,r/=4096;for(;r>=2;)n+=1,r/=2;return n}(f*v(2,69,1))-69)<0?f*v(2,-n,1):f/v(2,n,1),r*=4503599627370496,(n=52-n)>0){for(l(0,r),e=a;e>=7;)l(1e7,0),e-=7;for(l(v(10,e,1),0),e=n-1;e>=23;)h(1<<23),e-=23;h(1<0?y+((c=d.length)<=a?"0."+u.call("0",a-c)+d:d.slice(0,c-a)+"."+d.slice(c-a)):y+d}})},function(t,n,r){"use strict";var e=r(0),i=r(2),o=r(122),u=1..toPrecision;e(e.P+e.F*(i((function(){return"1"!==u.call(1,void 0)}))||!i((function(){u.call({})}))),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(0),i=r(1).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{isInteger:r(123)})},function(t,n,r){var e=r(0);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(0),i=r(123),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,r){var e=r(0);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(0),i=r(121);e(e.S+e.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,r){var e=r(0),i=r(120);e(e.S+e.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,r){var e=r(0),i=r(124),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,r){var e=r(0),i=Math.asinh;e(e.S+e.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,r){var e=r(0),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(0),i=r(87);e(e.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(0),i=Math.exp;e(e.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,r){var e=r(0),i=r(88);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,r){var e=r(0);e(e.S,"Math",{fround:r(194)})},function(t,n,r){var e=r(87),i=Math.pow,o=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),f=i(2,-126);t.exports=Math.fround||function(t){var n,r,i=Math.abs(t),a=e(t);return ic||r!=r?a*(1/0):a*r}},function(t,n,r){var e=r(0),i=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,o=0,u=0,c=arguments.length,f=0;u0?(e=r/f)*e:r;return f===1/0?1/0:f*Math.sqrt(o)}})},function(t,n,r){var e=r(0),i=Math.imul;e(e.S+e.F*r(2)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,n){var r=+t,e=+n,i=65535&r,o=65535&e;return 0|i*o+((65535&r>>>16)*o+i*(65535&e>>>16)<<16>>>0)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log1p:r(124)})},function(t,n,r){var e=r(0);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{sign:r(87)})},function(t,n,r){var e=r(0),i=r(88),o=Math.exp;e(e.S+e.F*r(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(0),i=r(88),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},function(t,n,r){var e=r(0);e(e.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,r){var e=r(0),i=r(42),o=String.fromCharCode,u=String.fromCodePoint;e(e.S+e.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,r=[],e=arguments.length,u=0;e>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return r.join("")}})},function(t,n,r){var e=r(0),i=r(18),o=r(6);e(e.S,"String",{raw:function(t){for(var n=i(t.raw),r=o(n.length),e=arguments.length,u=[],c=0;r>c;)u.push(String(n[c++])),c=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(0),i=r(89)(!1);e(e.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,r){"use strict";var e=r(0),i=r(6),o=r(91),u="".endsWith;e(e.P+e.F*r(93)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),r=arguments.length>1?arguments[1]:void 0,e=i(n.length),c=void 0===r?e:Math.min(i(r),e),f=String(t);return u?u.call(n,f,c):n.slice(c-f.length,c)===f}})},function(t,n,r){"use strict";var e=r(0),i=r(91);e(e.P+e.F*r(93)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){var e=r(0);e(e.P,"String",{repeat:r(86)})},function(t,n,r){"use strict";var e=r(0),i=r(6),o=r(91),u="".startsWith;e(e.P+e.F*r(93)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),r=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),e=String(t);return u?u.call(n,e,r):n.slice(r,r+e.length)===e}})},function(t,n,r){"use strict";r(15)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},function(t,n,r){"use strict";r(15)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,n,r){"use strict";r(15)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,n,r){"use strict";r(15)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,n,r){"use strict";r(15)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,n,r){"use strict";r(15)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},function(t,n,r){"use strict";r(15)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},function(t,n,r){"use strict";r(15)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,n,r){"use strict";r(15)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},function(t,n,r){"use strict";r(15)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,n,r){"use strict";r(15)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,n,r){"use strict";r(15)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,n,r){"use strict";r(15)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,n,r){var e=r(0);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,r){"use strict";var e=r(0),i=r(11),o=r(35);e(e.P+e.F*r(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=i(this),r=o(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}})},function(t,n,r){var e=r(0),i=r(229);e(e.P+e.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,r){"use strict";var e=r(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=e((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!e((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),r=t.getUTCMilliseconds(),e=n<0?"-":n>9999?"+":"";return e+("00000"+Math.abs(n)).slice(e?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(r>99?r:"0"+u(r))+"Z"}:o},function(t,n,r){var e=Date.prototype,i=e.toString,o=e.getTime;new Date(NaN)+""!="Invalid Date"&&r(14)(e,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,n,r){var e=r(5)("toPrimitive"),i=Date.prototype;e in i||r(17)(i,e,r(232))},function(t,n,r){"use strict";var e=r(3),i=r(35);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(e(this),"number"!=t)}},function(t,n,r){var e=r(0);e(e.S,"Array",{isArray:r(66)})},function(t,n,r){"use strict";var e=r(24),i=r(0),o=r(11),u=r(126),c=r(94),f=r(6),a=r(95),s=r(96);i(i.S+i.F*!r(67)((function(t){Array.from(t)})),"Array",{from:function(t){var n,r,i,l,h=o(t),p="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,d=void 0!==y,g=0,x=s(h);if(d&&(y=e(y,v>2?arguments[2]:void 0,2)),null==x||p==Array&&c(x))for(r=new p(n=f(h.length));n>g;g++)a(r,g,d?y(h[g],g):h[g]);else for(l=x.call(h),r=new p;!(i=l.next()).done;g++)a(r,g,d?u(l,y,[i.value,g],!0):i.value);return r.length=g,r}})},function(t,n,r){"use strict";var e=r(0),i=r(95);e(e.S+e.F*r(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)i(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){"use strict";var e=r(0),i=r(18),o=[].join;e(e.P+e.F*(r(58)!=Object||!r(21)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,r){"use strict";var e=r(0),i=r(82),o=r(31),u=r(42),c=r(6),f=[].slice;e(e.P+e.F*r(2)((function(){i&&f.call(i)})),"Array",{slice:function(t,n){var r=c(this.length),e=o(this);if(n=void 0===n?r:n,"Array"==e)return f.call(this,t,n);for(var i=u(t,r),a=u(n,r),s=c(a-i),l=new Array(s),h=0;h1&&(e=Math.min(e,o(arguments[1]))),e<0&&(e=r+e);e>=0;e--)if(e in n&&n[e]===t)return e||0;return-1}})},function(t,n,r){var e=r(0);e(e.P,"Array",{copyWithin:r(129)}),r(46)("copyWithin")},function(t,n,r){var e=r(0);e(e.P,"Array",{fill:r(97)}),r(46)("fill")},function(t,n,r){"use strict";var e=r(0),i=r(29)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),e(e.P+e.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)("find")},function(t,n,r){"use strict";var e=r(0),i=r(29)(6),o="findIndex",u=!0;o in[]&&Array(1)[o]((function(){u=!1})),e(e.P+e.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)(o)},function(t,n,r){r(52)("Array")},function(t,n,r){var e=r(1),i=r(85),o=r(9).f,u=r(44).f,c=r(92),f=r(68),a=e.RegExp,s=a,l=a.prototype,h=/a/g,p=/a/g,v=new a(h)!==h;if(r(8)&&(!v||r(2)((function(){return p[r(5)("match")]=!1,a(h)!=h||a(p)==p||"/a/i"!=a(h,"i")})))){a=function(t,n){var r=this instanceof a,e=c(t),o=void 0===n;return!r&&e&&t.constructor===a&&o?t:i(v?new s(e&&!o?t.source:t,n):s((e=t instanceof a)?t.source:t,e&&o?f.call(t):n),r?this:l,a)};for(var y=function(t){t in a||o(a,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})},d=u(s),g=0;d.length>g;)y(d[g++]);l.constructor=a,a.prototype=l,r(14)(e,"RegExp",a)}r(52)("RegExp")},function(t,n,r){"use strict";r(132);var e=r(3),i=r(68),o=r(8),u=/./.toString,c=function(t){r(14)(RegExp.prototype,"toString",t,!0)};r(2)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=e(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,r){"use strict";var e=r(3),i=r(6),o=r(100),u=r(69);r(70)("match",1,(function(t,n,r,c){return[function(r){var e=t(this),i=null==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=c(r,t,this);if(n.done)return n.value;var f=e(t),a=String(this);if(!f.global)return u(f,a);var s=f.unicode;f.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(f,a));){var v=String(l[0]);h[p]=v,""===v&&(f.lastIndex=o(a,i(f.lastIndex),s)),p++}return 0===p?null:h}]}))},function(t,n,r){"use strict";var e=r(3),i=r(11),o=r(6),u=r(26),c=r(100),f=r(69),a=Math.max,s=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;r(70)("replace",2,(function(t,n,r,v){return[function(e,i){var o=t(this),u=null==e?void 0:e[n];return void 0!==u?u.call(e,o,i):r.call(String(o),e,i)},function(t,n){var i=v(r,t,this,n);if(i.done)return i.value;var l=e(t),h=String(this),p="function"==typeof n;p||(n=String(n));var d=l.global;if(d){var g=l.unicode;l.lastIndex=0}for(var x=[];;){var m=f(l,h);if(null===m)break;if(x.push(m),!d)break;""===String(m[0])&&(l.lastIndex=c(h,o(l.lastIndex),g))}for(var b,S="",w=0,_=0;_=w&&(S+=h.slice(w,O)+j,w=O+E.length)}return S+h.slice(w)}];function y(t,n,e,o,u,c){var f=e+t.length,a=o.length,s=p;return void 0!==u&&(u=i(u),s=h),r.call(c,s,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,e);case"'":return n.slice(f);case"<":c=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>a){var h=l(s/10);return 0===h?r:h<=a?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):r}c=o[s-1]}return void 0===c?"":c}))}}))},function(t,n,r){"use strict";var e=r(3),i=r(117),o=r(69);r(70)("search",1,(function(t,n,r,u){return[function(r){var e=t(this),i=null==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=u(r,t,this);if(n.done)return n.value;var c=e(t),f=String(this),a=c.lastIndex;i(a,0)||(c.lastIndex=0);var s=o(c,f);return i(c.lastIndex,a)||(c.lastIndex=a),null===s?-1:s.index}]}))},function(t,n,r){"use strict";var e=r(92),i=r(3),o=r(61),u=r(100),c=r(6),f=r(69),a=r(99),s=r(2),l=Math.min,h=[].push,p="length",v=!s((function(){RegExp(4294967295,"y")}));r(70)("split",2,(function(t,n,r,s){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!e(t))return r.call(i,t,n);for(var o,u,c,f=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,v=void 0===n?4294967295:n>>>0,y=new RegExp(t.source,s+"g");(o=a.call(y,i))&&!((u=y.lastIndex)>l&&(f.push(i.slice(l,o.index)),o[p]>1&&o.index=v));)y.lastIndex===o.index&&y.lastIndex++;return l===i[p]?!c&&y.test("")||f.push(""):f.push(i.slice(l)),f[p]>v?f.slice(0,v):f}:"0".split(void 0,0)[p]?function(t,n){return void 0===t&&0===n?[]:r.call(this,t,n)}:r,[function(r,e){var i=t(this),o=null==r?void 0:r[n];return void 0!==o?o.call(r,i,e):y.call(String(i),r,e)},function(t,n){var e=s(y,t,this,n,y!==r);if(e.done)return e.value;var a=i(t),h=String(this),p=o(a,RegExp),d=a.unicode,g=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(v?"y":"g"),x=new p(v?a:"^(?:"+a.source+")",g),m=void 0===n?4294967295:n>>>0;if(0===m)return[];if(0===h.length)return null===f(x,h)?[h]:[];for(var b=0,S=0,w=[];S0?arguments[0]:void 0)}}),{get:function(t){var n=e.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return e.def(i(this,"Map"),0===t?0:t,n)}},e,!0)},function(t,n,r){"use strict";var e=r(136),i=r(47);t.exports=r(73)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(i(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e,i=r(1),o=r(29)(0),u=r(14),c=r(36),f=r(116),a=r(137),s=r(4),l=r(47),h=r(47),p=!i.ActiveXObject&&"ActiveXObject"in i,v=c.getWeak,y=Object.isExtensible,d=a.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},x={get:function(t){if(s(t)){var n=v(t);return!0===n?d(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(l(this,"WeakMap"),t,n)}},m=t.exports=r(73)("WeakMap",g,x,a,!0,!0);h&&p&&(f((e=a.getConstructor(g,"WeakMap")).prototype,x),c.NEED=!0,o(["delete","has","get","set"],(function(t){var n=m.prototype,r=n[t];u(n,t,(function(n,i){if(s(n)&&!y(n)){this._f||(this._f=new e);var o=this._f[t](n,i);return"set"==t?this:o}return r.call(this,n,i)}))})))},function(t,n,r){"use strict";var e=r(137),i=r(47);r(73)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(i(this,"WeakSet"),t,!0)}},e,!1,!0)},function(t,n,r){"use strict";var e=r(0),i=r(74),o=r(102),u=r(3),c=r(42),f=r(6),a=r(4),s=r(1).ArrayBuffer,l=r(61),h=o.ArrayBuffer,p=o.DataView,v=i.ABV&&s.isView,y=h.prototype.slice,d=i.VIEW;e(e.G+e.W+e.F*(s!==h),{ArrayBuffer:h}),e(e.S+e.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return v&&v(t)||a(t)&&d in t}}),e(e.P+e.U+e.F*r(2)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==y&&void 0===n)return y.call(u(this),t);for(var r=u(this).byteLength,e=c(t,r),i=c(void 0===n?r:n,r),o=new(l(this,h))(f(i-e)),a=new p(this),s=new p(o),v=0;e=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}})),e(e.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,r){var e=r(27),i=r(45),o=r(16),u=r(0),c=r(4),f=r(3);u(u.S,"Reflect",{get:function t(n,r){var u,a,s=arguments.length<3?n:arguments[2];return f(n)===s?n[r]:(u=e.f(n,r))?o(u,"value")?u.value:void 0!==u.get?u.get.call(s):void 0:c(a=i(n))?t(a,r,s):void 0}})},function(t,n,r){var e=r(27),i=r(0),o=r(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(o(t),n)}})},function(t,n,r){var e=r(0),i=r(45),o=r(3);e(e.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,r){var e=r(0),i=r(3),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{ownKeys:r(139)})},function(t,n,r){var e=r(0),i=r(3),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,r){var e=r(9),i=r(27),o=r(45),u=r(16),c=r(0),f=r(38),a=r(3),s=r(4);c(c.S,"Reflect",{set:function t(n,r,c){var l,h,p=arguments.length<4?n:arguments[3],v=i.f(a(n),r);if(!v){if(s(h=o(n)))return t(h,r,c,p);v=f(0)}if(u(v,"value")){if(!1===v.writable||!s(p))return!1;if(l=i.f(p,r)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,e.f(p,r,l)}else e.f(p,r,f(0,c));return!0}return void 0!==v.set&&(v.set.call(p,c),!0)}})},function(t,n,r){var e=r(0),i=r(83);i&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,r){r(292),t.exports=r(7).Array.includes},function(t,n,r){"use strict";var e=r(0),i=r(64)(!0);e(e.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)("includes")},function(t,n,r){r(294),t.exports=r(7).Array.flatMap},function(t,n,r){"use strict";var e=r(0),i=r(295),o=r(11),u=r(6),c=r(25),f=r(127);e(e.P,"Array",{flatMap:function(t){var n,r,e=o(this);return c(t),n=u(e.length),r=f(e,0),i(r,e,e,n,0,1,t,arguments[1]),r}}),r(46)("flatMap")},function(t,n,r){"use strict";var e=r(66),i=r(4),o=r(6),u=r(24),c=r(5)("isConcatSpreadable");t.exports=function t(n,r,f,a,s,l,h,p){for(var v,y,d=s,g=0,x=!!h&&u(h,p,3);g0)d=t(n,r,v,o(v.length),d,l-1)-1;else{if(d>=9007199254740991)throw TypeError();n[d]=v}d++}g++}return d}},function(t,n,r){r(297),t.exports=r(7).String.padStart},function(t,n,r){"use strict";var e=r(0),i=r(140),o=r(72),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,r){r(299),t.exports=r(7).String.padEnd},function(t,n,r){"use strict";var e=r(0),i=r(140),o=r(72),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,r){r(301),t.exports=r(7).String.trimLeft},function(t,n,r){"use strict";r(50)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n,r){r(303),t.exports=r(7).String.trimRight},function(t,n,r){"use strict";r(50)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,r){r(305),t.exports=r(79).f("asyncIterator")},function(t,n,r){r(112)("asyncIterator")},function(t,n,r){r(307),t.exports=r(7).Object.getOwnPropertyDescriptors},function(t,n,r){var e=r(0),i=r(139),o=r(18),u=r(27),c=r(95);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=o(t),f=u.f,a=i(e),s={},l=0;a.length>l;)void 0!==(r=f(e,n=a[l++]))&&c(s,n,r);return s}})},function(t,n,r){r(309),t.exports=r(7).Object.values},function(t,n,r){var e=r(0),i=r(141)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},function(t,n,r){r(311),t.exports=r(7).Object.entries},function(t,n,r){var e=r(0),i=r(141)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},function(t,n,r){"use strict";r(133),r(313),t.exports=r(7).Promise.finally},function(t,n,r){"use strict";var e=r(0),i=r(7),o=r(1),u=r(61),c=r(135);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then((function(){return r}))}:t,r?function(r){return c(n,t()).then((function(){throw r}))}:t)}})},function(t,n,r){r(315),r(316),r(317),t.exports=r(7)},function(t,n,r){var e=r(1),i=r(0),o=r(72),u=[].slice,c=/MSIE .\./.test(o),f=function(t){return function(n,r){var e=arguments.length>2,i=!!e&&u.call(arguments,2);return t(e?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,r)}};i(i.G+i.B+i.F*c,{setTimeout:f(e.setTimeout),setInterval:f(e.setInterval)})},function(t,n,r){var e=r(0),i=r(101);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,r){for(var e=r(98),i=r(41),o=r(14),u=r(1),c=r(17),f=r(51),a=r(5),s=a("iterator"),l=a("toStringTag"),h=f.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(p),y=0;y0?i(e(t),9007199254740991):0}},function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,n,r){t.exports=!r(2)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(3),i=r(111),o=r(35),u=Object.defineProperty;n.f=r(8)?Object.defineProperty:function(t,n,r){if(e(t),n=o(n,!0),e(r),i)try{return u(t,n,r)}catch(t){}if("get"in r||"set"in r)throw TypeError("Accessors not supported!");return"value"in r&&(t[n]=r.value),t}},,,function(t,n,r){var e=r(32);t.exports=function(t){return Object(e(t))}},,,function(t,n,r){var e=r(1),i=r(18),o=r(17),u=r(39)("src"),c=r(150),f=(""+c).split("toString");r(7).inspectSource=function(t){return c.call(t)},(t.exports=function(t,n,r,c){var a="function"==typeof r;a&&(o(r,"name")||i(r,"name",n)),t[n]!==r&&(a&&(o(r,u)||i(r,u,t[n]?""+t[n]:f.join(String(n)))),t===e?t[n]=r:c?t[n]?t[n]=r:i(t,n,r):(delete t[n],i(t,n,r)))})(Function.prototype,"toString",(function(){return"function"==typeof this&&this[u]||c.call(this)}))},function(t,n,r){var e=r(0),i=r(2),o=r(32),u=/"/g,c=function(t,n,r,e){var i=String(o(t)),c="<"+n;return""!==r&&(c+=" "+r+'="'+String(e).replace(u,""")+'"'),c+">"+i+""};t.exports=function(t,n){var r={};r[t]=n(c),e(e.P+e.F*i((function(){var n=""[t]('"');return n!==n.toLowerCase()||n.split('"').length>3})),"String",r)}},function(t,n){var r={}.hasOwnProperty;t.exports=function(t,n){return r.call(t,n)}},function(t,n,r){var e=r(9),i=r(38);t.exports=r(8)?function(t,n,r){return e.f(t,n,i(1,r))}:function(t,n,r){return t[n]=r,t}},function(t,n,r){var e=r(58),i=r(32);t.exports=function(t){return e(i(t))}},,,function(t,n,r){"use strict";var e=r(2);t.exports=function(t,n){return!!t&&e((function(){n?t.call(null,(function(){}),1):t.call(null)}))}},,function(t,n,r){var e=r(25);t.exports=function(t,n,r){if(e(t),void 0===n)return t;switch(r){case 1:return function(r){return t.call(n,r)};case 2:return function(r,e){return t.call(n,r,e)};case 3:return function(r,e,i){return t.call(n,r,e,i)}}return function(){return t.apply(n,arguments)}}},function(t,n){t.exports=function(t){if("function"!=typeof t)throw TypeError(t+" is not a function!");return t}},function(t,n){var r=Math.ceil,e=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?e:r)(t)}},function(t,n,r){var e=r(59),i=r(38),o=r(19),u=r(35),c=r(17),f=r(111),a=Object.getOwnPropertyDescriptor;n.f=r(8)?a:function(t,n){if(t=o(t),n=u(n,!0),f)try{return a(t,n)}catch(t){}if(c(t,n))return i(!e.f.call(t,n),t[n])}},function(t,n,r){var e=r(0),i=r(7),o=r(2);t.exports=function(t,n){var r=(i.Object||{})[t]||Object[t],u={};u[t]=n(r),e(e.S+e.F*o((function(){r(1)})),"Object",u)}},function(t,n,r){var e=r(24),i=r(58),o=r(12),u=r(6),c=r(127);t.exports=function(t,n){var r=1==t,f=2==t,a=3==t,s=4==t,l=6==t,h=5==t||l,p=n||c;return function(n,c,v){for(var y,d,g=o(n),x=i(g),m=e(c,v,3),b=u(x.length),S=0,w=r?p(n,b):f?p(n,0):void 0;b>S;S++)if((h||S in x)&&(d=m(y=x[S],S,g),t))if(r)w[S]=d;else if(d)switch(t){case 3:return!0;case 5:return y;case 6:return S;case 2:w.push(y)}else if(s)return!1;return l?-1:a||s?s:w}}},,function(t,n){var r={}.toString;t.exports=function(t){return r.call(t).slice(8,-1)}},function(t,n){t.exports=function(t){if(null==t)throw TypeError("Can't call method on "+t);return t}},function(t,n,r){"use strict";if(r(8)){var e=r(40),i=r(1),o=r(2),u=r(0),c=r(74),f=r(102),a=r(24),s=r(53),l=r(38),h=r(18),p=r(54),v=r(26),y=r(6),d=r(138),g=r(42),x=r(35),m=r(17),b=r(60),S=r(4),w=r(12),_=r(94),E=r(43),O=r(45),P=r(44).f,F=r(96),M=r(39),A=r(5),j=r(29),I=r(64),N=r(61),T=r(98),L=r(51),R=r(67),k=r(52),C=r(97),D=r(129),W=r(9),G=r(27),U=W.f,B=G.f,V=i.RangeError,z=i.TypeError,Y=i.Uint8Array,q=Array.prototype,$=f.ArrayBuffer,K=f.DataView,J=j(0),X=j(2),H=j(3),Z=j(4),Q=j(5),tt=j(6),nt=I(!0),rt=I(!1),et=T.values,it=T.keys,ot=T.entries,ut=q.lastIndexOf,ct=q.reduce,ft=q.reduceRight,at=q.join,st=q.sort,lt=q.slice,ht=q.toString,pt=q.toLocaleString,vt=A("iterator"),yt=A("toStringTag"),dt=M("typed_constructor"),gt=M("def_constructor"),xt=c.CONSTR,mt=c.TYPED,bt=c.VIEW,St=j(1,(function(t,n){return Pt(N(t,t[gt]),n)})),wt=o((function(){return 1===new Y(new Uint16Array([1]).buffer)[0]})),_t=!!Y&&!!Y.prototype.set&&o((function(){new Y(1).set({})})),Et=function(t,n){var r=v(t);if(r<0||r%n)throw V("Wrong offset!");return r},Ot=function(t){if(S(t)&&mt in t)return t;throw z(t+" is not a typed array!")},Pt=function(t,n){if(!S(t)||!(dt in t))throw z("It is not a typed array constructor!");return new t(n)},Ft=function(t,n){return Mt(N(t,t[gt]),n)},Mt=function(t,n){for(var r=0,e=n.length,i=Pt(t,e);e>r;)i[r]=n[r++];return i},At=function(t,n,r){U(t,n,{get:function(){return this._d[r]}})},jt=function(t){var n,r,e,i,o,u,c=w(t),f=arguments.length,s=f>1?arguments[1]:void 0,l=void 0!==s,h=F(c);if(null!=h&&!_(h)){for(u=h.call(c),e=[],n=0;!(o=u.next()).done;n++)e.push(o.value);c=e}for(l&&f>2&&(s=a(s,arguments[2],2)),n=0,r=y(c.length),i=Pt(this,r);r>n;n++)i[n]=l?s(c[n],n):c[n];return i},It=function(){for(var t=0,n=arguments.length,r=Pt(this,n);n>t;)r[t]=arguments[t++];return r},Nt=!!Y&&o((function(){pt.call(new Y(1))})),Tt=function(){return pt.apply(Nt?lt.call(Ot(this)):Ot(this),arguments)},Lt={copyWithin:function(t,n){return D.call(Ot(this),t,n,arguments.length>2?arguments[2]:void 0)},every:function(t){return Z(Ot(this),t,arguments.length>1?arguments[1]:void 0)},fill:function(t){return C.apply(Ot(this),arguments)},filter:function(t){return Ft(this,X(Ot(this),t,arguments.length>1?arguments[1]:void 0))},find:function(t){return Q(Ot(this),t,arguments.length>1?arguments[1]:void 0)},findIndex:function(t){return tt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},forEach:function(t){J(Ot(this),t,arguments.length>1?arguments[1]:void 0)},indexOf:function(t){return rt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},includes:function(t){return nt(Ot(this),t,arguments.length>1?arguments[1]:void 0)},join:function(t){return at.apply(Ot(this),arguments)},lastIndexOf:function(t){return ut.apply(Ot(this),arguments)},map:function(t){return St(Ot(this),t,arguments.length>1?arguments[1]:void 0)},reduce:function(t){return ct.apply(Ot(this),arguments)},reduceRight:function(t){return ft.apply(Ot(this),arguments)},reverse:function(){for(var t,n=Ot(this).length,r=Math.floor(n/2),e=0;e1?arguments[1]:void 0)},sort:function(t){return st.call(Ot(this),t)},subarray:function(t,n){var r=Ot(this),e=r.length,i=g(t,e);return new(N(r,r[gt]))(r.buffer,r.byteOffset+i*r.BYTES_PER_ELEMENT,y((void 0===n?e:g(n,e))-i))}},Rt=function(t,n){return Ft(this,lt.call(Ot(this),t,n))},kt=function(t){Ot(this);var n=Et(arguments[1],1),r=this.length,e=w(t),i=y(e.length),o=0;if(i+n>r)throw V("Wrong length!");for(;o255?255:255&e),i.v[p](r*n+i.o,e,wt)}(this,r,t)},enumerable:!0})};m?(v=r((function(t,r,e,i){s(t,v,a,"_d");var o,u,c,f,l=0,p=0;if(S(r)){if(!(r instanceof $||"ArrayBuffer"==(f=b(r))||"SharedArrayBuffer"==f))return mt in r?Mt(v,r):jt.call(v,r);o=r,p=Et(e,n);var g=r.byteLength;if(void 0===i){if(g%n)throw V("Wrong length!");if((u=g-p)<0)throw V("Wrong length!")}else if((u=y(i)*n)+p>g)throw V("Wrong length!");c=u/n}else c=d(r),o=new $(u=c*n);for(h(t,"_d",{b:o,o:p,l:u,e:c,v:new K(o)});ldocument.F=Object<\/script>"),t.close(),f=t.F;e--;)delete f.prototype[o[e]];return f()};t.exports=Object.create||function(t,n){var r;return null!==t?(c.prototype=e(t),r=new c,c.prototype=null,r[u]=t):r=f(),void 0===n?r:i(r,n)}},function(t,n,r){var e=r(113),i=r(81).concat("length","prototype");n.f=Object.getOwnPropertyNames||function(t){return e(t,i)}},function(t,n,r){var e=r(17),i=r(12),o=r(80)("IE_PROTO"),u=Object.prototype;t.exports=Object.getPrototypeOf||function(t){return t=i(t),e(t,o)?t[o]:"function"==typeof t.constructor&&t instanceof t.constructor?t.constructor.prototype:t instanceof Object?u:null}},function(t,n,r){var e=r(5)("unscopables"),i=Array.prototype;null==i[e]&&r(18)(i,e,{}),t.exports=function(t){i[e][t]=!0}},function(t,n,r){var e=r(4);t.exports=function(t,n){if(!e(t)||t._t!==n)throw TypeError("Incompatible receiver, "+n+" required!");return t}},,function(t,n,r){var e=r(9).f,i=r(17),o=r(5)("toStringTag");t.exports=function(t,n,r){t&&!i(t=r?t:t.prototype,o)&&e(t,o,{configurable:!0,value:n})}},function(t,n,r){var e=r(0),i=r(32),o=r(2),u=r(84),c="["+u+"]",f=RegExp("^"+c+c+"*"),a=RegExp(c+c+"*$"),s=function(t,n,r){var i={},c=o((function(){return!!u[t]()||"​…"!="​…"[t]()})),f=i[t]=c?n(l):u[t];r&&(i[r]=f),e(e.P+e.F*c,"String",i)},l=s.trim=function(t,n){return t=String(i(t)),1&n&&(t=t.replace(f,"")),2&n&&(t=t.replace(a,"")),t};t.exports=s},function(t,n){t.exports={}},function(t,n,r){"use strict";var e=r(1),i=r(9),o=r(8),u=r(5)("species");t.exports=function(t){var n=e[t];o&&n&&!n[u]&&i.f(n,u,{configurable:!0,get:function(){return this}})}},function(t,n){t.exports=function(t,n,r,e){if(!(t instanceof n)||void 0!==e&&e in t)throw TypeError(r+": incorrect invocation!");return t}},function(t,n,r){var e=r(15);t.exports=function(t,n,r){for(var i in n)e(t,i,n[i],r);return t}},,,,function(t,n,r){var e=r(31);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==e(t)?t.split(""):Object(t)}},function(t,n){n.f={}.propertyIsEnumerable},function(t,n,r){var e=r(31),i=r(5)("toStringTag"),o="Arguments"==e(function(){return arguments}());t.exports=function(t){var n,r,u;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(r=function(t,n){try{return t[n]}catch(t){}}(n=Object(t),i))?r:o?e(n):"Object"==(u=e(n))&&"function"==typeof n.callee?"Arguments":u}},function(t,n,r){var e=r(3),i=r(25),o=r(5)("species");t.exports=function(t,n){var r,u=e(t).constructor;return void 0===u||null==(r=e(u)[o])?n:i(r)}},,function(t,n,r){var e=r(7),i=r(1),o=i["__core-js_shared__"]||(i["__core-js_shared__"]={});(t.exports=function(t,n){return o[t]||(o[t]=void 0!==n?n:{})})("versions",[]).push({version:e.version,mode:r(40)?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},function(t,n,r){var e=r(19),i=r(6),o=r(42);t.exports=function(t){return function(n,r,u){var c,f=e(n),a=i(f.length),s=o(u,a);if(t&&r!=r){for(;a>s;)if((c=f[s++])!=c)return!0}else for(;a>s;s++)if((t||s in f)&&f[s]===r)return t||s||0;return!t&&-1}}},function(t,n){n.f=Object.getOwnPropertySymbols},function(t,n,r){var e=r(31);t.exports=Array.isArray||function(t){return"Array"==e(t)}},function(t,n,r){var e=r(5)("iterator"),i=!1;try{var o=[7][e]();o.return=function(){i=!0},Array.from(o,(function(){throw 2}))}catch(t){}t.exports=function(t,n){if(!n&&!i)return!1;var r=!1;try{var o=[7],u=o[e]();u.next=function(){return{done:r=!0}},o[e]=function(){return u},t(o)}catch(t){}return r}},function(t,n,r){"use strict";var e=r(3);t.exports=function(){var t=e(this),n="";return t.global&&(n+="g"),t.ignoreCase&&(n+="i"),t.multiline&&(n+="m"),t.unicode&&(n+="u"),t.sticky&&(n+="y"),n}},function(t,n,r){"use strict";var e=r(60),i=RegExp.prototype.exec;t.exports=function(t,n){var r=t.exec;if("function"==typeof r){var o=r.call(t,n);if("object"!=typeof o)throw new TypeError("RegExp exec method returned something other than an Object or null");return o}if("RegExp"!==e(t))throw new TypeError("RegExp#exec called on incompatible receiver");return i.call(t,n)}},function(t,n,r){"use strict";r(131);var e=r(15),i=r(18),o=r(2),u=r(32),c=r(5),f=r(99),a=c("species"),s=!o((function(){var t=/./;return t.exec=function(){var t=[];return t.groups={a:"7"},t},"7"!=="".replace(t,"$")})),l=function(){var t=/(?:)/,n=t.exec;t.exec=function(){return n.apply(this,arguments)};var r="ab".split(t);return 2===r.length&&"a"===r[0]&&"b"===r[1]}();t.exports=function(t,n,r){var h=c(t),p=!o((function(){var n={};return n[h]=function(){return 7},7!=""[t](n)})),v=p?!o((function(){var n=!1,r=/a/;return r.exec=function(){return n=!0,null},"split"===t&&(r.constructor={},r.constructor[a]=function(){return r}),r[h](""),!n})):void 0;if(!p||!v||"replace"===t&&!s||"split"===t&&!l){var y=/./[h],d=r(u,h,""[t],(function(t,n,r,e,i){return n.exec===f?p&&!i?{done:!0,value:y.call(n,r,e)}:{done:!0,value:t.call(r,n,e)}:{done:!1}})),g=d[0],x=d[1];e(String.prototype,t,g),i(RegExp.prototype,h,2==n?function(t,n){return x.call(t,this,n)}:function(t){return x.call(t,this)})}}},function(t,n,r){var e=r(24),i=r(126),o=r(94),u=r(3),c=r(6),f=r(96),a={},s={};(n=t.exports=function(t,n,r,l,h){var p,v,y,d,g=h?function(){return t}:f(t),x=e(r,l,n?2:1),m=0;if("function"!=typeof g)throw TypeError(t+" is not iterable!");if(o(g)){for(p=c(t.length);p>m;m++)if((d=n?x(u(v=t[m])[0],v[1]):x(t[m]))===a||d===s)return d}else for(y=g.call(t);!(v=y.next()).done;)if((d=i(y,x,v.value,n))===a||d===s)return d}).BREAK=a,n.RETURN=s},function(t,n,r){var e=r(1).navigator;t.exports=e&&e.userAgent||""},function(t,n,r){"use strict";var e=r(1),i=r(0),o=r(15),u=r(54),c=r(36),f=r(71),a=r(53),s=r(4),l=r(2),h=r(67),p=r(49),v=r(85);t.exports=function(t,n,r,y,d,g){var x=e[t],m=x,b=d?"set":"add",S=m&&m.prototype,w={},_=function(t){var n=S[t];o(S,t,"delete"==t||"has"==t?function(t){return!(g&&!s(t))&&n.call(this,0===t?0:t)}:"get"==t?function(t){return g&&!s(t)?void 0:n.call(this,0===t?0:t)}:"add"==t?function(t){return n.call(this,0===t?0:t),this}:function(t,r){return n.call(this,0===t?0:t,r),this})};if("function"==typeof m&&(g||S.forEach&&!l((function(){(new m).entries().next()})))){var E=new m,O=E[b](g?{}:-0,1)!=E,P=l((function(){E.has(1)})),F=h((function(t){new m(t)})),M=!g&&l((function(){for(var t=new m,n=5;n--;)t[b](n,n);return!t.has(-0)}));F||((m=n((function(n,r){a(n,m,t);var e=v(new x,n,m);return null!=r&&f(r,d,e[b],e),e}))).prototype=S,S.constructor=m),(P||M)&&(_("delete"),_("has"),d&&_("get")),(M||O)&&_(b),g&&S.clear&&delete S.clear}else m=y.getConstructor(n,t,d,b),u(m.prototype,r),c.NEED=!0;return p(m,t),w[t]=m,i(i.G+i.W+i.F*(m!=x),w),g||y.setStrong(m,t,d),m}},function(t,n,r){for(var e,i=r(1),o=r(18),u=r(39),c=u("typed_array"),f=u("view"),a=!(!i.ArrayBuffer||!i.DataView),s=a,l=0,h="Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array".split(",");l<9;)(e=i[h[l++]])?(o(e.prototype,c,!0),o(e.prototype,f,!0)):s=!1;t.exports={ABV:a,CONSTR:s,TYPED:c,VIEW:f}},,,,function(t,n,r){var e=r(4),i=r(1).document,o=e(i)&&e(i.createElement);t.exports=function(t){return o?i.createElement(t):{}}},function(t,n,r){n.f=r(5)},function(t,n,r){var e=r(63)("keys"),i=r(39);t.exports=function(t){return e[t]||(e[t]=i(t))}},function(t,n){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,n,r){var e=r(1).document;t.exports=e&&e.documentElement},function(t,n,r){var e=r(4),i=r(3),o=function(t,n){if(i(t),!e(n)&&null!==n)throw TypeError(n+": can't set as prototype!")};t.exports={set:Object.setPrototypeOf||("__proto__"in{}?function(t,n,e){try{(e=r(24)(Function.call,r(27).f(Object.prototype,"__proto__").set,2))(t,[]),n=!(t instanceof Array)}catch(t){n=!0}return function(t,r){return o(t,r),n?t.__proto__=r:e(t,r),t}}({},!1):void 0),check:o}},function(t,n){t.exports="\t\n\v\f\r   ᠎              \u2028\u2029\ufeff"},function(t,n,r){var e=r(4),i=r(83).set;t.exports=function(t,n,r){var o,u=n.constructor;return u!==r&&"function"==typeof u&&(o=u.prototype)!==r.prototype&&e(o)&&i&&i(t,o),t}},function(t,n,r){"use strict";var e=r(26),i=r(32);t.exports=function(t){var n=String(i(this)),r="",o=e(t);if(o<0||o==1/0)throw RangeError("Count can't be negative");for(;o>0;(o>>>=1)&&(n+=n))1&o&&(r+=n);return r}},function(t,n){t.exports=Math.sign||function(t){return 0==(t=+t)||t!=t?t:t<0?-1:1}},function(t,n){var r=Math.expm1;t.exports=!r||r(10)>22025.465794806718||r(10)<22025.465794806718||-2e-17!=r(-2e-17)?function(t){return 0==(t=+t)?t:t>-1e-6&&t<1e-6?t+t*t/2:Math.exp(t)-1}:r},function(t,n,r){var e=r(26),i=r(32);t.exports=function(t){return function(n,r){var o,u,c=String(i(n)),f=e(r),a=c.length;return f<0||f>=a?t?"":void 0:(o=c.charCodeAt(f))<55296||o>56319||f+1===a||(u=c.charCodeAt(f+1))<56320||u>57343?t?c.charAt(f):o:t?c.slice(f,f+2):u-56320+(o-55296<<10)+65536}}},function(t,n,r){"use strict";var e=r(40),i=r(0),o=r(15),u=r(18),c=r(51),f=r(125),a=r(49),s=r(45),l=r(5)("iterator"),h=!([].keys&&"next"in[].keys()),p=function(){return this};t.exports=function(t,n,r,v,y,d,g){f(r,n,v);var x,m,b,S=function(t){if(!h&&t in O)return O[t];switch(t){case"keys":case"values":return function(){return new r(this,t)}}return function(){return new r(this,t)}},w=n+" Iterator",_="values"==y,E=!1,O=t.prototype,P=O[l]||O["@@iterator"]||y&&O[y],F=P||S(y),M=y?_?S("entries"):F:void 0,A="Array"==n&&O.entries||P;if(A&&(b=s(A.call(new t)))!==Object.prototype&&b.next&&(a(b,w,!0),e||"function"==typeof b[l]||u(b,l,p)),_&&P&&"values"!==P.name&&(E=!0,F=function(){return P.call(this)}),e&&!g||!h&&!E&&O[l]||u(O,l,F),c[n]=F,c[w]=p,y)if(x={values:_?F:S("values"),keys:d?F:S("keys"),entries:M},g)for(m in x)m in O||o(O,m,x[m]);else i(i.P+i.F*(h||E),n,x);return x}},function(t,n,r){var e=r(92),i=r(32);t.exports=function(t,n,r){if(e(n))throw TypeError("String#"+r+" doesn't accept regex!");return String(i(t))}},function(t,n,r){var e=r(4),i=r(31),o=r(5)("match");t.exports=function(t){var n;return e(t)&&(void 0!==(n=t[o])?!!n:"RegExp"==i(t))}},function(t,n,r){var e=r(5)("match");t.exports=function(t){var n=/./;try{"/./"[t](n)}catch(r){try{return n[e]=!1,!"/./"[t](n)}catch(t){}}return!0}},function(t,n,r){var e=r(51),i=r(5)("iterator"),o=Array.prototype;t.exports=function(t){return void 0!==t&&(e.Array===t||o[i]===t)}},function(t,n,r){"use strict";var e=r(9),i=r(38);t.exports=function(t,n,r){n in t?e.f(t,n,i(0,r)):t[n]=r}},function(t,n,r){var e=r(60),i=r(5)("iterator"),o=r(51);t.exports=r(7).getIteratorMethod=function(t){if(null!=t)return t[i]||t["@@iterator"]||o[e(t)]}},function(t,n,r){"use strict";var e=r(12),i=r(42),o=r(6);t.exports=function(t){for(var n=e(this),r=o(n.length),u=arguments.length,c=i(u>1?arguments[1]:void 0,r),f=u>2?arguments[2]:void 0,a=void 0===f?r:i(f,r);a>c;)n[c++]=t;return n}},function(t,n,r){"use strict";var e=r(46),i=r(130),o=r(51),u=r(19);t.exports=r(90)(Array,"Array",(function(t,n){this._t=u(t),this._i=0,this._k=n}),(function(){var t=this._t,n=this._k,r=this._i++;return!t||r>=t.length?(this._t=void 0,i(1)):i(0,"keys"==n?r:"values"==n?t[r]:[r,t[r]])}),"values"),o.Arguments=o.Array,e("keys"),e("values"),e("entries")},function(t,n,r){"use strict";var e,i,o=r(68),u=RegExp.prototype.exec,c=String.prototype.replace,f=u,a=(e=/a/,i=/b*/g,u.call(e,"a"),u.call(i,"a"),0!==e.lastIndex||0!==i.lastIndex),s=void 0!==/()??/.exec("")[1];(a||s)&&(f=function(t){var n,r,e,i,f=this;return s&&(r=new RegExp("^"+f.source+"$(?!\\s)",o.call(f))),a&&(n=f.lastIndex),e=u.call(f,t),a&&e&&(f.lastIndex=f.global?e.index+e[0].length:n),s&&e&&e.length>1&&c.call(e[0],r,(function(){for(i=1;ir;)n.push(arguments[r++]);return g[++d]=function(){c("function"==typeof t?t:Function(t),n)},e(d),d},p=function(t){delete g[t]},"process"==r(31)(l)?e=function(t){l.nextTick(u(x,t,1))}:y&&y.now?e=function(t){y.now(u(x,t,1))}:v?(o=(i=new v).port2,i.port1.onmessage=m,e=u(o.postMessage,o,1)):s.addEventListener&&"function"==typeof postMessage&&!s.importScripts?(e=function(t){s.postMessage(t+"","*")},s.addEventListener("message",m,!1)):e="onreadystatechange"in a("script")?function(t){f.appendChild(a("script")).onreadystatechange=function(){f.removeChild(this),x.call(t)}}:function(t){setTimeout(u(x,t,1),0)}),t.exports={set:h,clear:p}},function(t,n,r){"use strict";var e=r(1),i=r(8),o=r(40),u=r(74),c=r(18),f=r(54),a=r(2),s=r(53),l=r(26),h=r(6),p=r(138),v=r(44).f,y=r(9).f,d=r(97),g=r(49),x=e.ArrayBuffer,m=e.DataView,b=e.Math,S=e.RangeError,w=e.Infinity,_=x,E=b.abs,O=b.pow,P=b.floor,F=b.log,M=b.LN2,A=i?"_b":"buffer",j=i?"_l":"byteLength",I=i?"_o":"byteOffset";function N(t,n,r){var e,i,o,u=new Array(r),c=8*r-n-1,f=(1<>1,s=23===n?O(2,-24)-O(2,-77):0,l=0,h=t<0||0===t&&1/t<0?1:0;for((t=E(t))!=t||t===w?(i=t!=t?1:0,e=f):(e=P(F(t)/M),t*(o=O(2,-e))<1&&(e--,o*=2),(t+=e+a>=1?s/o:s*O(2,1-a))*o>=2&&(e++,o/=2),e+a>=f?(i=0,e=f):e+a>=1?(i=(t*o-1)*O(2,n),e+=a):(i=t*O(2,a-1)*O(2,n),e=0));n>=8;u[l++]=255&i,i/=256,n-=8);for(e=e<0;u[l++]=255&e,e/=256,c-=8);return u[--l]|=128*h,u}function T(t,n,r){var e,i=8*r-n-1,o=(1<>1,c=i-7,f=r-1,a=t[f--],s=127&a;for(a>>=7;c>0;s=256*s+t[f],f--,c-=8);for(e=s&(1<<-c)-1,s>>=-c,c+=n;c>0;e=256*e+t[f],f--,c-=8);if(0===s)s=1-u;else{if(s===o)return e?NaN:a?-w:w;e+=O(2,n),s-=u}return(a?-1:1)*e*O(2,s-n)}function L(t){return t[3]<<24|t[2]<<16|t[1]<<8|t[0]}function R(t){return[255&t]}function k(t){return[255&t,t>>8&255]}function C(t){return[255&t,t>>8&255,t>>16&255,t>>24&255]}function D(t){return N(t,52,8)}function W(t){return N(t,23,4)}function G(t,n,r){y(t.prototype,n,{get:function(){return this[r]}})}function U(t,n,r,e){var i=p(+r);if(i+n>t[j])throw S("Wrong index!");var o=t[A]._b,u=i+t[I],c=o.slice(u,u+n);return e?c:c.reverse()}function B(t,n,r,e,i,o){var u=p(+r);if(u+n>t[j])throw S("Wrong index!");for(var c=t[A]._b,f=u+t[I],a=e(+i),s=0;sq;)(V=Y[q++])in x||c(x,V,_[V]);o||(z.constructor=x)}var $=new m(new x(2)),K=m.prototype.setInt8;$.setInt8(0,2147483648),$.setInt8(1,2147483649),!$.getInt8(0)&&$.getInt8(1)||f(m.prototype,{setInt8:function(t,n){K.call(this,t,n<<24>>24)},setUint8:function(t,n){K.call(this,t,n<<24>>24)}},!0)}else x=function(t){s(this,x,"ArrayBuffer");var n=p(t);this._b=d.call(new Array(n),0),this[j]=n},m=function(t,n,r){s(this,m,"DataView"),s(t,x,"DataView");var e=t[j],i=l(n);if(i<0||i>e)throw S("Wrong offset!");if(i+(r=void 0===r?e-i:h(r))>e)throw S("Wrong length!");this[A]=t,this[I]=i,this[j]=r},i&&(G(x,"byteLength","_l"),G(m,"buffer","_b"),G(m,"byteLength","_l"),G(m,"byteOffset","_o")),f(m.prototype,{getInt8:function(t){return U(this,1,t)[0]<<24>>24},getUint8:function(t){return U(this,1,t)[0]},getInt16:function(t){var n=U(this,2,t,arguments[1]);return(n[1]<<8|n[0])<<16>>16},getUint16:function(t){var n=U(this,2,t,arguments[1]);return n[1]<<8|n[0]},getInt32:function(t){return L(U(this,4,t,arguments[1]))},getUint32:function(t){return L(U(this,4,t,arguments[1]))>>>0},getFloat32:function(t){return T(U(this,4,t,arguments[1]),23,4)},getFloat64:function(t){return T(U(this,8,t,arguments[1]),52,8)},setInt8:function(t,n){B(this,1,t,R,n)},setUint8:function(t,n){B(this,1,t,R,n)},setInt16:function(t,n){B(this,2,t,k,n,arguments[2])},setUint16:function(t,n){B(this,2,t,k,n,arguments[2])},setInt32:function(t,n){B(this,4,t,C,n,arguments[2])},setUint32:function(t,n){B(this,4,t,C,n,arguments[2])},setFloat32:function(t,n){B(this,4,t,W,n,arguments[2])},setFloat64:function(t,n){B(this,8,t,D,n,arguments[2])}});g(x,"ArrayBuffer"),g(m,"DataView"),c(m.prototype,u.VIEW,!0),n.ArrayBuffer=x,n.DataView=m},function(t,n,r){var e=function(t){"use strict";var n=Object.prototype,r=n.hasOwnProperty,e="function"==typeof Symbol?Symbol:{},i=e.iterator||"@@iterator",o=e.asyncIterator||"@@asyncIterator",u=e.toStringTag||"@@toStringTag";function c(t,n,r){return Object.defineProperty(t,n,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[n]}try{c({},"")}catch(t){c=function(t,n,r){return t[n]=r}}function f(t,n,r,e){var i=n&&n.prototype instanceof l?n:l,o=Object.create(i.prototype),u=new _(e||[]);return o._invoke=function(t,n,r){var e="suspendedStart";return function(i,o){if("executing"===e)throw new Error("Generator is already running");if("completed"===e){if("throw"===i)throw o;return{value:void 0,done:!0}}for(r.method=i,r.arg=o;;){var u=r.delegate;if(u){var c=b(u,r);if(c){if(c===s)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===e)throw e="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);e="executing";var f=a(t,n,r);if("normal"===f.type){if(e=r.done?"completed":"suspendedYield",f.arg===s)continue;return{value:f.arg,done:r.done}}"throw"===f.type&&(e="completed",r.method="throw",r.arg=f.arg)}}}(t,r,u),o}function a(t,n,r){try{return{type:"normal",arg:t.call(n,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=f;var s={};function l(){}function h(){}function p(){}var v={};v[i]=function(){return this};var y=Object.getPrototypeOf,d=y&&y(y(E([])));d&&d!==n&&r.call(d,i)&&(v=d);var g=p.prototype=l.prototype=Object.create(v);function x(t){["next","throw","return"].forEach((function(n){c(t,n,(function(t){return this._invoke(n,t)}))}))}function m(t,n){var e;this._invoke=function(i,o){function u(){return new n((function(e,u){!function e(i,o,u,c){var f=a(t[i],t,o);if("throw"!==f.type){var s=f.arg,l=s.value;return l&&"object"==typeof l&&r.call(l,"__await")?n.resolve(l.__await).then((function(t){e("next",t,u,c)}),(function(t){e("throw",t,u,c)})):n.resolve(l).then((function(t){s.value=t,u(s)}),(function(t){return e("throw",t,u,c)}))}c(f.arg)}(i,o,e,u)}))}return e=e?e.then(u,u):u()}}function b(t,n){var r=t.iterator[n.method];if(void 0===r){if(n.delegate=null,"throw"===n.method){if(t.iterator.return&&(n.method="return",n.arg=void 0,b(t,n),"throw"===n.method))return s;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return s}var e=a(r,t.iterator,n.arg);if("throw"===e.type)return n.method="throw",n.arg=e.arg,n.delegate=null,s;var i=e.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=void 0),n.delegate=null,s):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,s)}function S(t){var n={tryLoc:t[0]};1 in t&&(n.catchLoc=t[1]),2 in t&&(n.finallyLoc=t[2],n.afterLoc=t[3]),this.tryEntries.push(n)}function w(t){var n=t.completion||{};n.type="normal",delete n.arg,t.completion=n}function _(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(S,this),this.reset(!0)}function E(t){if(t){var n=t[i];if(n)return n.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var e=-1,o=function n(){for(;++e=0;--i){var o=this.tryEntries[i],u=o.completion;if("root"===o.tryLoc)return e("end");if(o.tryLoc<=this.prev){var c=r.call(o,"catchLoc"),f=r.call(o,"finallyLoc");if(c&&f){if(this.prev=0;--e){var i=this.tryEntries[e];if(i.tryLoc<=this.prev&&r.call(i,"finallyLoc")&&this.prev=0;--n){var r=this.tryEntries[n];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),w(r),s}},catch:function(t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc===t){var e=r.completion;if("throw"===e.type){var i=e.arg;w(r)}return i}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:E(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=void 0),s}},t}(t.exports);try{regeneratorRuntime=e}catch(t){Function("r","regeneratorRuntime = r")(e)}},function(t,n){var r=t.exports="undefined"!=typeof window&&window.Math==Math?window:"undefined"!=typeof self&&self.Math==Math?self:Function("return this")();"number"==typeof __g&&(__g=r)},function(t,n){t.exports=function(t){return"object"==typeof t?null!==t:"function"==typeof t}},function(t,n,r){t.exports=!r(143)((function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a}))},,,,,function(t,n,r){t.exports=!r(8)&&!r(2)((function(){return 7!=Object.defineProperty(r(78)("div"),"a",{get:function(){return 7}}).a}))},function(t,n,r){var e=r(1),i=r(7),o=r(40),u=r(79),c=r(9).f;t.exports=function(t){var n=i.Symbol||(i.Symbol=o?{}:e.Symbol||{});"_"==t.charAt(0)||t in n||c(n,t,{value:u.f(t)})}},function(t,n,r){var e=r(17),i=r(19),o=r(64)(!1),u=r(80)("IE_PROTO");t.exports=function(t,n){var r,c=i(t),f=0,a=[];for(r in c)r!=u&&e(c,r)&&a.push(r);for(;n.length>f;)e(c,r=n[f++])&&(~o(a,r)||a.push(r));return a}},function(t,n,r){var e=r(9),i=r(3),o=r(41);t.exports=r(8)?Object.defineProperties:function(t,n){i(t);for(var r,u=o(n),c=u.length,f=0;c>f;)e.f(t,r=u[f++],n[r]);return t}},function(t,n,r){var e=r(19),i=r(44).f,o={}.toString,u="object"==typeof window&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[];t.exports.f=function(t){return u&&"[object Window]"==o.call(t)?function(t){try{return i(t)}catch(t){return u.slice()}}(t):i(e(t))}},function(t,n,r){"use strict";var e=r(8),i=r(41),o=r(65),u=r(59),c=r(12),f=r(58),a=Object.assign;t.exports=!a||r(2)((function(){var t={},n={},r=Symbol(),e="abcdefghijklmnopqrst";return t[r]=7,e.split("").forEach((function(t){n[t]=t})),7!=a({},t)[r]||Object.keys(a({},n)).join("")!=e}))?function(t,n){for(var r=c(t),a=arguments.length,s=1,l=o.f,h=u.f;a>s;)for(var p,v=f(arguments[s++]),y=l?i(v).concat(l(v)):i(v),d=y.length,g=0;d>g;)p=y[g++],e&&!h.call(v,p)||(r[p]=v[p]);return r}:a},function(t,n){t.exports=Object.is||function(t,n){return t===n?0!==t||1/t==1/n:t!=t&&n!=n}},function(t,n,r){"use strict";var e=r(25),i=r(4),o=r(119),u=[].slice,c={},f=function(t,n,r){if(!(n in c)){for(var e=[],i=0;i>>0||(u.test(r)?16:10))}:e},function(t,n,r){var e=r(1).parseFloat,i=r(50).trim;t.exports=1/e(r(84)+"-0")!=-1/0?function(t){var n=i(String(t),3),r=e(n);return 0===r&&"-"==n.charAt(0)?-0:r}:e},function(t,n,r){var e=r(31);t.exports=function(t,n){if("number"!=typeof t&&"Number"!=e(t))throw TypeError(n);return+t}},function(t,n,r){var e=r(4),i=Math.floor;t.exports=function(t){return!e(t)&&isFinite(t)&&i(t)===t}},function(t,n){t.exports=Math.log1p||function(t){return(t=+t)>-1e-8&&t<1e-8?t-t*t/2:Math.log(1+t)}},function(t,n,r){"use strict";var e=r(43),i=r(38),o=r(49),u={};r(18)(u,r(5)("iterator"),(function(){return this})),t.exports=function(t,n,r){t.prototype=e(u,{next:i(1,r)}),o(t,n+" Iterator")}},function(t,n,r){var e=r(3);t.exports=function(t,n,r,i){try{return i?n(e(r)[0],r[1]):n(r)}catch(n){var o=t.return;throw void 0!==o&&e(o.call(t)),n}}},function(t,n,r){var e=r(240);t.exports=function(t,n){return new(e(t))(n)}},function(t,n,r){var e=r(25),i=r(12),o=r(58),u=r(6);t.exports=function(t,n,r,c,f){e(n);var a=i(t),s=o(a),l=u(a.length),h=f?l-1:0,p=f?-1:1;if(r<2)for(;;){if(h in s){c=s[h],h+=p;break}if(h+=p,f?h<0:l<=h)throw TypeError("Reduce of empty array with no initial value")}for(;f?h>=0:l>h;h+=p)h in s&&(c=n(c,s[h],h,a));return c}},function(t,n,r){"use strict";var e=r(12),i=r(42),o=r(6);t.exports=[].copyWithin||function(t,n){var r=e(this),u=o(r.length),c=i(t,u),f=i(n,u),a=arguments.length>2?arguments[2]:void 0,s=Math.min((void 0===a?u:i(a,u))-f,u-c),l=1;for(f0;)f in r?r[c]=r[f]:delete r[c],c+=l,f+=l;return r}},function(t,n){t.exports=function(t,n){return{value:n,done:!!t}}},function(t,n,r){"use strict";var e=r(99);r(0)({target:"RegExp",proto:!0,forced:e!==/./.exec},{exec:e})},function(t,n,r){r(8)&&"g"!=/./g.flags&&r(9).f(RegExp.prototype,"flags",{configurable:!0,get:r(68)})},function(t,n,r){"use strict";var e,i,o,u,c=r(40),f=r(1),a=r(24),s=r(60),l=r(0),h=r(4),p=r(25),v=r(53),y=r(71),d=r(61),g=r(101).set,x=r(260)(),m=r(134),b=r(261),S=r(72),w=r(135),_=f.TypeError,E=f.process,O=E&&E.versions,P=O&&O.v8||"",F=f.Promise,M="process"==s(E),A=function(){},j=i=m.f,I=!!function(){try{var t=F.resolve(1),n=(t.constructor={})[r(5)("species")]=function(t){t(A,A)};return(M||"function"==typeof PromiseRejectionEvent)&&t.then(A)instanceof n&&0!==P.indexOf("6.6")&&-1===S.indexOf("Chrome/66")}catch(t){}}(),N=function(t){var n;return!(!h(t)||"function"!=typeof(n=t.then))&&n},T=function(t,n){if(!t._n){t._n=!0;var r=t._c;x((function(){for(var e=t._v,i=1==t._s,o=0,u=function(n){var r,o,u,c=i?n.ok:n.fail,f=n.resolve,a=n.reject,s=n.domain;try{c?(i||(2==t._h&&k(t),t._h=1),!0===c?r=e:(s&&s.enter(),r=c(e),s&&(s.exit(),u=!0)),r===n.promise?a(_("Promise-chain cycle")):(o=N(r))?o.call(r,f,a):f(r)):a(e)}catch(t){s&&!u&&s.exit(),a(t)}};r.length>o;)u(r[o++]);t._c=[],t._n=!1,n&&!t._h&&L(t)}))}},L=function(t){g.call(f,(function(){var n,r,e,i=t._v,o=R(t);if(o&&(n=b((function(){M?E.emit("unhandledRejection",i,t):(r=f.onunhandledrejection)?r({promise:t,reason:i}):(e=f.console)&&e.error&&e.error("Unhandled promise rejection",i)})),t._h=M||R(t)?2:1),t._a=void 0,o&&n.e)throw n.v}))},R=function(t){return 1!==t._h&&0===(t._a||t._c).length},k=function(t){g.call(f,(function(){var n;M?E.emit("rejectionHandled",t):(n=f.onrejectionhandled)&&n({promise:t,reason:t._v})}))},C=function(t){var n=this;n._d||(n._d=!0,(n=n._w||n)._v=t,n._s=2,n._a||(n._a=n._c.slice()),T(n,!0))},D=function(t){var n,r=this;if(!r._d){r._d=!0,r=r._w||r;try{if(r===t)throw _("Promise can't be resolved itself");(n=N(t))?x((function(){var e={_w:r,_d:!1};try{n.call(t,a(D,e,1),a(C,e,1))}catch(t){C.call(e,t)}})):(r._v=t,r._s=1,T(r,!1))}catch(t){C.call({_w:r,_d:!1},t)}}};I||(F=function(t){v(this,F,"Promise","_h"),p(t),e.call(this);try{t(a(D,this,1),a(C,this,1))}catch(t){C.call(this,t)}},(e=function(t){this._c=[],this._a=void 0,this._s=0,this._d=!1,this._v=void 0,this._h=0,this._n=!1}).prototype=r(54)(F.prototype,{then:function(t,n){var r=j(d(this,F));return r.ok="function"!=typeof t||t,r.fail="function"==typeof n&&n,r.domain=M?E.domain:void 0,this._c.push(r),this._a&&this._a.push(r),this._s&&T(this,!1),r.promise},catch:function(t){return this.then(void 0,t)}}),o=function(){var t=new e;this.promise=t,this.resolve=a(D,t,1),this.reject=a(C,t,1)},m.f=j=function(t){return t===F||t===u?new o(t):i(t)}),l(l.G+l.W+l.F*!I,{Promise:F}),r(49)(F,"Promise"),r(52)("Promise"),u=r(7).Promise,l(l.S+l.F*!I,"Promise",{reject:function(t){var n=j(this);return(0,n.reject)(t),n.promise}}),l(l.S+l.F*(c||!I),"Promise",{resolve:function(t){return w(c&&this===u?F:this,t)}}),l(l.S+l.F*!(I&&r(67)((function(t){F.all(t).catch(A)}))),"Promise",{all:function(t){var n=this,r=j(n),e=r.resolve,i=r.reject,o=b((function(){var r=[],o=0,u=1;y(t,!1,(function(t){var c=o++,f=!1;r.push(void 0),u++,n.resolve(t).then((function(t){f||(f=!0,r[c]=t,--u||e(r))}),i)})),--u||e(r)}));return o.e&&i(o.v),r.promise},race:function(t){var n=this,r=j(n),e=r.reject,i=b((function(){y(t,!1,(function(t){n.resolve(t).then(r.resolve,e)}))}));return i.e&&e(i.v),r.promise}})},function(t,n,r){"use strict";var e=r(25);function i(t){var n,r;this.promise=new t((function(t,e){if(void 0!==n||void 0!==r)throw TypeError("Bad Promise constructor");n=t,r=e})),this.resolve=e(n),this.reject=e(r)}t.exports.f=function(t){return new i(t)}},function(t,n,r){var e=r(3),i=r(4),o=r(134);t.exports=function(t,n){if(e(t),i(n)&&n.constructor===t)return n;var r=o.f(t);return(0,r.resolve)(n),r.promise}},function(t,n,r){"use strict";var e=r(9).f,i=r(43),o=r(54),u=r(24),c=r(53),f=r(71),a=r(90),s=r(130),l=r(52),h=r(8),p=r(36).fastKey,v=r(47),y=h?"_s":"size",d=function(t,n){var r,e=p(n);if("F"!==e)return t._i[e];for(r=t._f;r;r=r.n)if(r.k==n)return r};t.exports={getConstructor:function(t,n,r,a){var s=t((function(t,e){c(t,s,n,"_i"),t._t=n,t._i=i(null),t._f=void 0,t._l=void 0,t[y]=0,null!=e&&f(e,r,t[a],t)}));return o(s.prototype,{clear:function(){for(var t=v(this,n),r=t._i,e=t._f;e;e=e.n)e.r=!0,e.p&&(e.p=e.p.n=void 0),delete r[e.i];t._f=t._l=void 0,t[y]=0},delete:function(t){var r=v(this,n),e=d(r,t);if(e){var i=e.n,o=e.p;delete r._i[e.i],e.r=!0,o&&(o.n=i),i&&(i.p=o),r._f==e&&(r._f=i),r._l==e&&(r._l=o),r[y]--}return!!e},forEach:function(t){v(this,n);for(var r,e=u(t,arguments.length>1?arguments[1]:void 0,3);r=r?r.n:this._f;)for(e(r.v,r.k,this);r&&r.r;)r=r.p},has:function(t){return!!d(v(this,n),t)}}),h&&e(s.prototype,"size",{get:function(){return v(this,n)[y]}}),s},def:function(t,n,r){var e,i,o=d(t,n);return o?o.v=r:(t._l=o={i:i=p(n,!0),k:n,v:r,p:e=t._l,n:void 0,r:!1},t._f||(t._f=o),e&&(e.n=o),t[y]++,"F"!==i&&(t._i[i]=o)),t},getEntry:d,setStrong:function(t,n,r){a(t,n,(function(t,r){this._t=v(t,n),this._k=r,this._l=void 0}),(function(){for(var t=this._k,n=this._l;n&&n.r;)n=n.p;return this._t&&(this._l=n=n?n.n:this._t._f)?s(0,"keys"==t?n.k:"values"==t?n.v:[n.k,n.v]):(this._t=void 0,s(1))}),r?"entries":"values",!r,!0),l(n)}}},function(t,n,r){"use strict";var e=r(54),i=r(36).getWeak,o=r(3),u=r(4),c=r(53),f=r(71),a=r(29),s=r(17),l=r(47),h=a(5),p=a(6),v=0,y=function(t){return t._l||(t._l=new d)},d=function(){this.a=[]},g=function(t,n){return h(t.a,(function(t){return t[0]===n}))};d.prototype={get:function(t){var n=g(this,t);if(n)return n[1]},has:function(t){return!!g(this,t)},set:function(t,n){var r=g(this,t);r?r[1]=n:this.a.push([t,n])},delete:function(t){var n=p(this.a,(function(n){return n[0]===t}));return~n&&this.a.splice(n,1),!!~n}},t.exports={getConstructor:function(t,n,r,o){var a=t((function(t,e){c(t,a,n,"_i"),t._t=n,t._i=v++,t._l=void 0,null!=e&&f(e,r,t[o],t)}));return e(a.prototype,{delete:function(t){if(!u(t))return!1;var r=i(t);return!0===r?y(l(this,n)).delete(t):r&&s(r,this._i)&&delete r[this._i]},has:function(t){if(!u(t))return!1;var r=i(t);return!0===r?y(l(this,n)).has(t):r&&s(r,this._i)}}),a},def:function(t,n,r){var e=i(o(n),!0);return!0===e?y(t).set(n,r):e[t._i]=r,t},ufstore:y}},function(t,n,r){var e=r(26),i=r(6);t.exports=function(t){if(void 0===t)return 0;var n=e(t),r=i(n);if(n!==r)throw RangeError("Wrong length!");return r}},function(t,n,r){var e=r(44),i=r(65),o=r(3),u=r(1).Reflect;t.exports=u&&u.ownKeys||function(t){var n=e.f(o(t)),r=i.f;return r?n.concat(r(t)):n}},function(t,n,r){var e=r(6),i=r(86),o=r(32);t.exports=function(t,n,r,u){var c=String(o(t)),f=c.length,a=void 0===r?" ":String(r),s=e(n);if(s<=f||""==a)return c;var l=s-f,h=i.call(a,Math.ceil(l/a.length));return h.length>l&&(h=h.slice(0,l)),u?h+c:c+h}},function(t,n,r){var e=r(8),i=r(41),o=r(19),u=r(59).f;t.exports=function(t){return function(n){for(var r,c=o(n),f=i(c),a=f.length,s=0,l=[];a>s;)r=f[s++],e&&!u.call(c,r)||l.push(t?[r,c[r]]:c[r]);return l}}},function(t,n){var r=t.exports={version:"2.6.12"};"number"==typeof __e&&(__e=r)},function(t,n){t.exports=function(t){try{return!!t()}catch(t){return!0}}},,,function(t,n,r){"use strict";r(147);var e,i=(e=r(318))&&e.__esModule?e:{default:e};i.default._babelPolyfill&&"undefined"!=typeof console&&console.warn&&console.warn("@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended and may have consequences if different versions of the polyfills are applied sequentially. If you do need to load the polyfill more than once, use @babel/polyfill/noConflict instead to bypass the warning."),i.default._babelPolyfill=!0},function(t,n,r){"use strict";r(148),r(291),r(293),r(296),r(298),r(300),r(302),r(304),r(306),r(308),r(310),r(312),r(314),r(103)},function(t,n,r){r(149),r(152),r(153),r(154),r(155),r(156),r(157),r(158),r(159),r(160),r(161),r(162),r(163),r(164),r(165),r(166),r(167),r(168),r(169),r(170),r(171),r(172),r(173),r(174),r(175),r(176),r(177),r(178),r(179),r(180),r(181),r(182),r(183),r(184),r(185),r(186),r(187),r(188),r(189),r(190),r(191),r(192),r(193),r(195),r(196),r(197),r(198),r(199),r(200),r(201),r(202),r(203),r(204),r(205),r(206),r(207),r(208),r(209),r(210),r(211),r(212),r(213),r(214),r(215),r(216),r(217),r(218),r(219),r(220),r(221),r(222),r(223),r(224),r(225),r(226),r(227),r(228),r(230),r(231),r(233),r(234),r(235),r(236),r(237),r(238),r(239),r(241),r(242),r(243),r(244),r(245),r(246),r(247),r(248),r(249),r(250),r(251),r(252),r(253),r(98),r(254),r(131),r(255),r(132),r(256),r(257),r(258),r(259),r(133),r(262),r(263),r(264),r(265),r(266),r(267),r(268),r(269),r(270),r(271),r(272),r(273),r(274),r(275),r(276),r(277),r(278),r(279),r(280),r(281),r(282),r(283),r(284),r(285),r(286),r(287),r(288),r(289),r(290),t.exports=r(7)},function(t,n,r){"use strict";var e=r(1),i=r(17),o=r(8),u=r(0),c=r(15),f=r(36).KEY,a=r(2),s=r(63),l=r(49),h=r(39),p=r(5),v=r(79),y=r(112),d=r(151),g=r(66),x=r(3),m=r(4),b=r(12),S=r(19),w=r(35),_=r(38),E=r(43),O=r(115),P=r(27),F=r(65),M=r(9),A=r(41),j=P.f,I=M.f,N=O.f,T=e.Symbol,L=e.JSON,R=L&&L.stringify,k=p("_hidden"),C=p("toPrimitive"),D={}.propertyIsEnumerable,W=s("symbol-registry"),G=s("symbols"),U=s("op-symbols"),B=Object.prototype,V="function"==typeof T&&!!F.f,z=e.QObject,Y=!z||!z.prototype||!z.prototype.findChild,q=o&&a((function(){return 7!=E(I({},"a",{get:function(){return I(this,"a",{value:7}).a}})).a}))?function(t,n,r){var e=j(B,n);e&&delete B[n],I(t,n,r),e&&t!==B&&I(B,n,e)}:I,$=function(t){var n=G[t]=E(T.prototype);return n._k=t,n},K=V&&"symbol"==typeof T.iterator?function(t){return"symbol"==typeof t}:function(t){return t instanceof T},J=function(t,n,r){return t===B&&J(U,n,r),x(t),n=w(n,!0),x(r),i(G,n)?(r.enumerable?(i(t,k)&&t[k][n]&&(t[k][n]=!1),r=E(r,{enumerable:_(0,!1)})):(i(t,k)||I(t,k,_(1,{})),t[k][n]=!0),q(t,n,r)):I(t,n,r)},X=function(t,n){x(t);for(var r,e=d(n=S(n)),i=0,o=e.length;o>i;)J(t,r=e[i++],n[r]);return t},H=function(t){var n=D.call(this,t=w(t,!0));return!(this===B&&i(G,t)&&!i(U,t))&&(!(n||!i(this,t)||!i(G,t)||i(this,k)&&this[k][t])||n)},Z=function(t,n){if(t=S(t),n=w(n,!0),t!==B||!i(G,n)||i(U,n)){var r=j(t,n);return!r||!i(G,n)||i(t,k)&&t[k][n]||(r.enumerable=!0),r}},Q=function(t){for(var n,r=N(S(t)),e=[],o=0;r.length>o;)i(G,n=r[o++])||n==k||n==f||e.push(n);return e},tt=function(t){for(var n,r=t===B,e=N(r?U:S(t)),o=[],u=0;e.length>u;)!i(G,n=e[u++])||r&&!i(B,n)||o.push(G[n]);return o};V||(c((T=function(){if(this instanceof T)throw TypeError("Symbol is not a constructor!");var t=h(arguments.length>0?arguments[0]:void 0),n=function(r){this===B&&n.call(U,r),i(this,k)&&i(this[k],t)&&(this[k][t]=!1),q(this,t,_(1,r))};return o&&Y&&q(B,t,{configurable:!0,set:n}),$(t)}).prototype,"toString",(function(){return this._k})),P.f=Z,M.f=J,r(44).f=O.f=Q,r(59).f=H,F.f=tt,o&&!r(40)&&c(B,"propertyIsEnumerable",H,!0),v.f=function(t){return $(p(t))}),u(u.G+u.W+u.F*!V,{Symbol:T});for(var nt="hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables".split(","),rt=0;nt.length>rt;)p(nt[rt++]);for(var et=A(p.store),it=0;et.length>it;)y(et[it++]);u(u.S+u.F*!V,"Symbol",{for:function(t){return i(W,t+="")?W[t]:W[t]=T(t)},keyFor:function(t){if(!K(t))throw TypeError(t+" is not a symbol!");for(var n in W)if(W[n]===t)return n},useSetter:function(){Y=!0},useSimple:function(){Y=!1}}),u(u.S+u.F*!V,"Object",{create:function(t,n){return void 0===n?E(t):X(E(t),n)},defineProperty:J,defineProperties:X,getOwnPropertyDescriptor:Z,getOwnPropertyNames:Q,getOwnPropertySymbols:tt});var ot=a((function(){F.f(1)}));u(u.S+u.F*ot,"Object",{getOwnPropertySymbols:function(t){return F.f(b(t))}}),L&&u(u.S+u.F*(!V||a((function(){var t=T();return"[null]"!=R([t])||"{}"!=R({a:t})||"{}"!=R(Object(t))}))),"JSON",{stringify:function(t){for(var n,r,e=[t],i=1;arguments.length>i;)e.push(arguments[i++]);if(r=n=e[1],(m(n)||void 0!==t)&&!K(t))return g(n)||(n=function(t,n){if("function"==typeof r&&(n=r.call(this,t,n)),!K(n))return n}),e[1]=n,R.apply(L,e)}}),T.prototype[C]||r(18)(T.prototype,C,T.prototype.valueOf),l(T,"Symbol"),l(Math,"Math",!0),l(e.JSON,"JSON",!0)},function(t,n,r){t.exports=r(63)("native-function-to-string",Function.toString)},function(t,n,r){var e=r(41),i=r(65),o=r(59);t.exports=function(t){var n=e(t),r=i.f;if(r)for(var u,c=r(t),f=o.f,a=0;c.length>a;)f.call(t,u=c[a++])&&n.push(u);return n}},function(t,n,r){var e=r(0);e(e.S,"Object",{create:r(43)})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperty:r(9).f})},function(t,n,r){var e=r(0);e(e.S+e.F*!r(8),"Object",{defineProperties:r(114)})},function(t,n,r){var e=r(19),i=r(27).f;r(28)("getOwnPropertyDescriptor",(function(){return function(t,n){return i(e(t),n)}}))},function(t,n,r){var e=r(12),i=r(45);r(28)("getPrototypeOf",(function(){return function(t){return i(e(t))}}))},function(t,n,r){var e=r(12),i=r(41);r(28)("keys",(function(){return function(t){return i(e(t))}}))},function(t,n,r){r(28)("getOwnPropertyNames",(function(){return r(115).f}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("freeze",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("seal",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4),i=r(36).onFreeze;r(28)("preventExtensions",(function(t){return function(n){return t&&e(n)?t(i(n)):n}}))},function(t,n,r){var e=r(4);r(28)("isFrozen",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(4);r(28)("isSealed",(function(t){return function(n){return!e(n)||!!t&&t(n)}}))},function(t,n,r){var e=r(4);r(28)("isExtensible",(function(t){return function(n){return!!e(n)&&(!t||t(n))}}))},function(t,n,r){var e=r(0);e(e.S+e.F,"Object",{assign:r(116)})},function(t,n,r){var e=r(0);e(e.S,"Object",{is:r(117)})},function(t,n,r){var e=r(0);e(e.S,"Object",{setPrototypeOf:r(83).set})},function(t,n,r){"use strict";var e=r(60),i={};i[r(5)("toStringTag")]="z",i+""!="[object z]"&&r(15)(Object.prototype,"toString",(function(){return"[object "+e(this)+"]"}),!0)},function(t,n,r){var e=r(0);e(e.P,"Function",{bind:r(118)})},function(t,n,r){var e=r(9).f,i=Function.prototype,o=/^\s*function ([^ (]*)/;"name"in i||r(8)&&e(i,"name",{configurable:!0,get:function(){try{return(""+this).match(o)[1]}catch(t){return""}}})},function(t,n,r){"use strict";var e=r(4),i=r(45),o=r(5)("hasInstance"),u=Function.prototype;o in u||r(9).f(u,o,{value:function(t){if("function"!=typeof this||!e(t))return!1;if(!e(this.prototype))return t instanceof this;for(;t=i(t);)if(this.prototype===t)return!0;return!1}})},function(t,n,r){var e=r(0),i=r(120);e(e.G+e.F*(parseInt!=i),{parseInt:i})},function(t,n,r){var e=r(0),i=r(121);e(e.G+e.F*(parseFloat!=i),{parseFloat:i})},function(t,n,r){"use strict";var e=r(1),i=r(17),o=r(31),u=r(85),c=r(35),f=r(2),a=r(44).f,s=r(27).f,l=r(9).f,h=r(50).trim,p=e.Number,v=p,y=p.prototype,d="Number"==o(r(43)(y)),g="trim"in String.prototype,x=function(t){var n=c(t,!1);if("string"==typeof n&&n.length>2){var r,e,i,o=(n=g?n.trim():h(n,3)).charCodeAt(0);if(43===o||45===o){if(88===(r=n.charCodeAt(2))||120===r)return NaN}else if(48===o){switch(n.charCodeAt(1)){case 66:case 98:e=2,i=49;break;case 79:case 111:e=8,i=55;break;default:return+n}for(var u,f=n.slice(2),a=0,s=f.length;ai)return NaN;return parseInt(f,e)}}return+n};if(!p(" 0o1")||!p("0b1")||p("+0x1")){p=function(t){var n=arguments.length<1?0:t,r=this;return r instanceof p&&(d?f((function(){y.valueOf.call(r)})):"Number"!=o(r))?u(new v(x(n)),r,p):x(n)};for(var m,b=r(8)?a(v):"MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger".split(","),S=0;b.length>S;S++)i(v,m=b[S])&&!i(p,m)&&l(p,m,s(v,m));p.prototype=y,y.constructor=p,r(15)(e,"Number",p)}},function(t,n,r){"use strict";var e=r(0),i=r(26),o=r(122),u=r(86),c=1..toFixed,f=Math.floor,a=[0,0,0,0,0,0],s="Number.toFixed: incorrect invocation!",l=function(t,n){for(var r=-1,e=n;++r<6;)e+=t*a[r],a[r]=e%1e7,e=f(e/1e7)},h=function(t){for(var n=6,r=0;--n>=0;)r+=a[n],a[n]=f(r/t),r=r%t*1e7},p=function(){for(var t=6,n="";--t>=0;)if(""!==n||0===t||0!==a[t]){var r=String(a[t]);n=""===n?r:n+u.call("0",7-r.length)+r}return n},v=function(t,n,r){return 0===n?r:n%2==1?v(t,n-1,r*t):v(t*t,n/2,r)};e(e.P+e.F*(!!c&&("0.000"!==8e-5.toFixed(3)||"1"!==.9.toFixed(0)||"1.25"!==1.255.toFixed(2)||"1000000000000000128"!==(0xde0b6b3a7640080).toFixed(0))||!r(2)((function(){c.call({})}))),"Number",{toFixed:function(t){var n,r,e,c,f=o(this,s),a=i(t),y="",d="0";if(a<0||a>20)throw RangeError(s);if(f!=f)return"NaN";if(f<=-1e21||f>=1e21)return String(f);if(f<0&&(y="-",f=-f),f>1e-21)if(r=(n=function(t){for(var n=0,r=t;r>=4096;)n+=12,r/=4096;for(;r>=2;)n+=1,r/=2;return n}(f*v(2,69,1))-69)<0?f*v(2,-n,1):f/v(2,n,1),r*=4503599627370496,(n=52-n)>0){for(l(0,r),e=a;e>=7;)l(1e7,0),e-=7;for(l(v(10,e,1),0),e=n-1;e>=23;)h(1<<23),e-=23;h(1<0?y+((c=d.length)<=a?"0."+u.call("0",a-c)+d:d.slice(0,c-a)+"."+d.slice(c-a)):y+d}})},function(t,n,r){"use strict";var e=r(0),i=r(2),o=r(122),u=1..toPrecision;e(e.P+e.F*(i((function(){return"1"!==u.call(1,void 0)}))||!i((function(){u.call({})}))),"Number",{toPrecision:function(t){var n=o(this,"Number#toPrecision: incorrect invocation!");return void 0===t?u.call(n):u.call(n,t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{EPSILON:Math.pow(2,-52)})},function(t,n,r){var e=r(0),i=r(1).isFinite;e(e.S,"Number",{isFinite:function(t){return"number"==typeof t&&i(t)}})},function(t,n,r){var e=r(0);e(e.S,"Number",{isInteger:r(123)})},function(t,n,r){var e=r(0);e(e.S,"Number",{isNaN:function(t){return t!=t}})},function(t,n,r){var e=r(0),i=r(123),o=Math.abs;e(e.S,"Number",{isSafeInteger:function(t){return i(t)&&o(t)<=9007199254740991}})},function(t,n,r){var e=r(0);e(e.S,"Number",{MAX_SAFE_INTEGER:9007199254740991})},function(t,n,r){var e=r(0);e(e.S,"Number",{MIN_SAFE_INTEGER:-9007199254740991})},function(t,n,r){var e=r(0),i=r(121);e(e.S+e.F*(Number.parseFloat!=i),"Number",{parseFloat:i})},function(t,n,r){var e=r(0),i=r(120);e(e.S+e.F*(Number.parseInt!=i),"Number",{parseInt:i})},function(t,n,r){var e=r(0),i=r(124),o=Math.sqrt,u=Math.acosh;e(e.S+e.F*!(u&&710==Math.floor(u(Number.MAX_VALUE))&&u(1/0)==1/0),"Math",{acosh:function(t){return(t=+t)<1?NaN:t>94906265.62425156?Math.log(t)+Math.LN2:i(t-1+o(t-1)*o(t+1))}})},function(t,n,r){var e=r(0),i=Math.asinh;e(e.S+e.F*!(i&&1/i(0)>0),"Math",{asinh:function t(n){return isFinite(n=+n)&&0!=n?n<0?-t(-n):Math.log(n+Math.sqrt(n*n+1)):n}})},function(t,n,r){var e=r(0),i=Math.atanh;e(e.S+e.F*!(i&&1/i(-0)<0),"Math",{atanh:function(t){return 0==(t=+t)?t:Math.log((1+t)/(1-t))/2}})},function(t,n,r){var e=r(0),i=r(87);e(e.S,"Math",{cbrt:function(t){return i(t=+t)*Math.pow(Math.abs(t),1/3)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{clz32:function(t){return(t>>>=0)?31-Math.floor(Math.log(t+.5)*Math.LOG2E):32}})},function(t,n,r){var e=r(0),i=Math.exp;e(e.S,"Math",{cosh:function(t){return(i(t=+t)+i(-t))/2}})},function(t,n,r){var e=r(0),i=r(88);e(e.S+e.F*(i!=Math.expm1),"Math",{expm1:i})},function(t,n,r){var e=r(0);e(e.S,"Math",{fround:r(194)})},function(t,n,r){var e=r(87),i=Math.pow,o=i(2,-52),u=i(2,-23),c=i(2,127)*(2-u),f=i(2,-126);t.exports=Math.fround||function(t){var n,r,i=Math.abs(t),a=e(t);return ic||r!=r?a*(1/0):a*r}},function(t,n,r){var e=r(0),i=Math.abs;e(e.S,"Math",{hypot:function(t,n){for(var r,e,o=0,u=0,c=arguments.length,f=0;u0?(e=r/f)*e:r;return f===1/0?1/0:f*Math.sqrt(o)}})},function(t,n,r){var e=r(0),i=Math.imul;e(e.S+e.F*r(2)((function(){return-5!=i(4294967295,5)||2!=i.length})),"Math",{imul:function(t,n){var r=+t,e=+n,i=65535&r,o=65535&e;return 0|i*o+((65535&r>>>16)*o+i*(65535&e>>>16)<<16>>>0)}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log10:function(t){return Math.log(t)*Math.LOG10E}})},function(t,n,r){var e=r(0);e(e.S,"Math",{log1p:r(124)})},function(t,n,r){var e=r(0);e(e.S,"Math",{log2:function(t){return Math.log(t)/Math.LN2}})},function(t,n,r){var e=r(0);e(e.S,"Math",{sign:r(87)})},function(t,n,r){var e=r(0),i=r(88),o=Math.exp;e(e.S+e.F*r(2)((function(){return-2e-17!=!Math.sinh(-2e-17)})),"Math",{sinh:function(t){return Math.abs(t=+t)<1?(i(t)-i(-t))/2:(o(t-1)-o(-t-1))*(Math.E/2)}})},function(t,n,r){var e=r(0),i=r(88),o=Math.exp;e(e.S,"Math",{tanh:function(t){var n=i(t=+t),r=i(-t);return n==1/0?1:r==1/0?-1:(n-r)/(o(t)+o(-t))}})},function(t,n,r){var e=r(0);e(e.S,"Math",{trunc:function(t){return(t>0?Math.floor:Math.ceil)(t)}})},function(t,n,r){var e=r(0),i=r(42),o=String.fromCharCode,u=String.fromCodePoint;e(e.S+e.F*(!!u&&1!=u.length),"String",{fromCodePoint:function(t){for(var n,r=[],e=arguments.length,u=0;e>u;){if(n=+arguments[u++],i(n,1114111)!==n)throw RangeError(n+" is not a valid code point");r.push(n<65536?o(n):o(55296+((n-=65536)>>10),n%1024+56320))}return r.join("")}})},function(t,n,r){var e=r(0),i=r(19),o=r(6);e(e.S,"String",{raw:function(t){for(var n=i(t.raw),r=o(n.length),e=arguments.length,u=[],c=0;r>c;)u.push(String(n[c++])),c=n.length?{value:void 0,done:!0}:(t=e(n,r),this._i+=t.length,{value:t,done:!1})}))},function(t,n,r){"use strict";var e=r(0),i=r(89)(!1);e(e.P,"String",{codePointAt:function(t){return i(this,t)}})},function(t,n,r){"use strict";var e=r(0),i=r(6),o=r(91),u="".endsWith;e(e.P+e.F*r(93)("endsWith"),"String",{endsWith:function(t){var n=o(this,t,"endsWith"),r=arguments.length>1?arguments[1]:void 0,e=i(n.length),c=void 0===r?e:Math.min(i(r),e),f=String(t);return u?u.call(n,f,c):n.slice(c-f.length,c)===f}})},function(t,n,r){"use strict";var e=r(0),i=r(91);e(e.P+e.F*r(93)("includes"),"String",{includes:function(t){return!!~i(this,t,"includes").indexOf(t,arguments.length>1?arguments[1]:void 0)}})},function(t,n,r){var e=r(0);e(e.P,"String",{repeat:r(86)})},function(t,n,r){"use strict";var e=r(0),i=r(6),o=r(91),u="".startsWith;e(e.P+e.F*r(93)("startsWith"),"String",{startsWith:function(t){var n=o(this,t,"startsWith"),r=i(Math.min(arguments.length>1?arguments[1]:void 0,n.length)),e=String(t);return u?u.call(n,e,r):n.slice(r,r+e.length)===e}})},function(t,n,r){"use strict";r(16)("anchor",(function(t){return function(n){return t(this,"a","name",n)}}))},function(t,n,r){"use strict";r(16)("big",(function(t){return function(){return t(this,"big","","")}}))},function(t,n,r){"use strict";r(16)("blink",(function(t){return function(){return t(this,"blink","","")}}))},function(t,n,r){"use strict";r(16)("bold",(function(t){return function(){return t(this,"b","","")}}))},function(t,n,r){"use strict";r(16)("fixed",(function(t){return function(){return t(this,"tt","","")}}))},function(t,n,r){"use strict";r(16)("fontcolor",(function(t){return function(n){return t(this,"font","color",n)}}))},function(t,n,r){"use strict";r(16)("fontsize",(function(t){return function(n){return t(this,"font","size",n)}}))},function(t,n,r){"use strict";r(16)("italics",(function(t){return function(){return t(this,"i","","")}}))},function(t,n,r){"use strict";r(16)("link",(function(t){return function(n){return t(this,"a","href",n)}}))},function(t,n,r){"use strict";r(16)("small",(function(t){return function(){return t(this,"small","","")}}))},function(t,n,r){"use strict";r(16)("strike",(function(t){return function(){return t(this,"strike","","")}}))},function(t,n,r){"use strict";r(16)("sub",(function(t){return function(){return t(this,"sub","","")}}))},function(t,n,r){"use strict";r(16)("sup",(function(t){return function(){return t(this,"sup","","")}}))},function(t,n,r){var e=r(0);e(e.S,"Date",{now:function(){return(new Date).getTime()}})},function(t,n,r){"use strict";var e=r(0),i=r(12),o=r(35);e(e.P+e.F*r(2)((function(){return null!==new Date(NaN).toJSON()||1!==Date.prototype.toJSON.call({toISOString:function(){return 1}})})),"Date",{toJSON:function(t){var n=i(this),r=o(n);return"number"!=typeof r||isFinite(r)?n.toISOString():null}})},function(t,n,r){var e=r(0),i=r(229);e(e.P+e.F*(Date.prototype.toISOString!==i),"Date",{toISOString:i})},function(t,n,r){"use strict";var e=r(2),i=Date.prototype.getTime,o=Date.prototype.toISOString,u=function(t){return t>9?t:"0"+t};t.exports=e((function(){return"0385-07-25T07:06:39.999Z"!=o.call(new Date(-50000000000001))}))||!e((function(){o.call(new Date(NaN))}))?function(){if(!isFinite(i.call(this)))throw RangeError("Invalid time value");var t=this,n=t.getUTCFullYear(),r=t.getUTCMilliseconds(),e=n<0?"-":n>9999?"+":"";return e+("00000"+Math.abs(n)).slice(e?-6:-4)+"-"+u(t.getUTCMonth()+1)+"-"+u(t.getUTCDate())+"T"+u(t.getUTCHours())+":"+u(t.getUTCMinutes())+":"+u(t.getUTCSeconds())+"."+(r>99?r:"0"+u(r))+"Z"}:o},function(t,n,r){var e=Date.prototype,i=e.toString,o=e.getTime;new Date(NaN)+""!="Invalid Date"&&r(15)(e,"toString",(function(){var t=o.call(this);return t==t?i.call(this):"Invalid Date"}))},function(t,n,r){var e=r(5)("toPrimitive"),i=Date.prototype;e in i||r(18)(i,e,r(232))},function(t,n,r){"use strict";var e=r(3),i=r(35);t.exports=function(t){if("string"!==t&&"number"!==t&&"default"!==t)throw TypeError("Incorrect hint");return i(e(this),"number"!=t)}},function(t,n,r){var e=r(0);e(e.S,"Array",{isArray:r(66)})},function(t,n,r){"use strict";var e=r(24),i=r(0),o=r(12),u=r(126),c=r(94),f=r(6),a=r(95),s=r(96);i(i.S+i.F*!r(67)((function(t){Array.from(t)})),"Array",{from:function(t){var n,r,i,l,h=o(t),p="function"==typeof this?this:Array,v=arguments.length,y=v>1?arguments[1]:void 0,d=void 0!==y,g=0,x=s(h);if(d&&(y=e(y,v>2?arguments[2]:void 0,2)),null==x||p==Array&&c(x))for(r=new p(n=f(h.length));n>g;g++)a(r,g,d?y(h[g],g):h[g]);else for(l=x.call(h),r=new p;!(i=l.next()).done;g++)a(r,g,d?u(l,y,[i.value,g],!0):i.value);return r.length=g,r}})},function(t,n,r){"use strict";var e=r(0),i=r(95);e(e.S+e.F*r(2)((function(){function t(){}return!(Array.of.call(t)instanceof t)})),"Array",{of:function(){for(var t=0,n=arguments.length,r=new("function"==typeof this?this:Array)(n);n>t;)i(r,t,arguments[t++]);return r.length=n,r}})},function(t,n,r){"use strict";var e=r(0),i=r(19),o=[].join;e(e.P+e.F*(r(58)!=Object||!r(22)(o)),"Array",{join:function(t){return o.call(i(this),void 0===t?",":t)}})},function(t,n,r){"use strict";var e=r(0),i=r(82),o=r(31),u=r(42),c=r(6),f=[].slice;e(e.P+e.F*r(2)((function(){i&&f.call(i)})),"Array",{slice:function(t,n){var r=c(this.length),e=o(this);if(n=void 0===n?r:n,"Array"==e)return f.call(this,t,n);for(var i=u(t,r),a=u(n,r),s=c(a-i),l=new Array(s),h=0;h1&&(e=Math.min(e,o(arguments[1]))),e<0&&(e=r+e);e>=0;e--)if(e in n&&n[e]===t)return e||0;return-1}})},function(t,n,r){var e=r(0);e(e.P,"Array",{copyWithin:r(129)}),r(46)("copyWithin")},function(t,n,r){var e=r(0);e(e.P,"Array",{fill:r(97)}),r(46)("fill")},function(t,n,r){"use strict";var e=r(0),i=r(29)(5),o=!0;"find"in[]&&Array(1).find((function(){o=!1})),e(e.P+e.F*o,"Array",{find:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)("find")},function(t,n,r){"use strict";var e=r(0),i=r(29)(6),o="findIndex",u=!0;o in[]&&Array(1)[o]((function(){u=!1})),e(e.P+e.F*u,"Array",{findIndex:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)(o)},function(t,n,r){r(52)("Array")},function(t,n,r){var e=r(1),i=r(85),o=r(9).f,u=r(44).f,c=r(92),f=r(68),a=e.RegExp,s=a,l=a.prototype,h=/a/g,p=/a/g,v=new a(h)!==h;if(r(8)&&(!v||r(2)((function(){return p[r(5)("match")]=!1,a(h)!=h||a(p)==p||"/a/i"!=a(h,"i")})))){a=function(t,n){var r=this instanceof a,e=c(t),o=void 0===n;return!r&&e&&t.constructor===a&&o?t:i(v?new s(e&&!o?t.source:t,n):s((e=t instanceof a)?t.source:t,e&&o?f.call(t):n),r?this:l,a)};for(var y=function(t){t in a||o(a,t,{configurable:!0,get:function(){return s[t]},set:function(n){s[t]=n}})},d=u(s),g=0;d.length>g;)y(d[g++]);l.constructor=a,a.prototype=l,r(15)(e,"RegExp",a)}r(52)("RegExp")},function(t,n,r){"use strict";r(132);var e=r(3),i=r(68),o=r(8),u=/./.toString,c=function(t){r(15)(RegExp.prototype,"toString",t,!0)};r(2)((function(){return"/a/b"!=u.call({source:"a",flags:"b"})}))?c((function(){var t=e(this);return"/".concat(t.source,"/","flags"in t?t.flags:!o&&t instanceof RegExp?i.call(t):void 0)})):"toString"!=u.name&&c((function(){return u.call(this)}))},function(t,n,r){"use strict";var e=r(3),i=r(6),o=r(100),u=r(69);r(70)("match",1,(function(t,n,r,c){return[function(r){var e=t(this),i=null==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=c(r,t,this);if(n.done)return n.value;var f=e(t),a=String(this);if(!f.global)return u(f,a);var s=f.unicode;f.lastIndex=0;for(var l,h=[],p=0;null!==(l=u(f,a));){var v=String(l[0]);h[p]=v,""===v&&(f.lastIndex=o(a,i(f.lastIndex),s)),p++}return 0===p?null:h}]}))},function(t,n,r){"use strict";var e=r(3),i=r(12),o=r(6),u=r(26),c=r(100),f=r(69),a=Math.max,s=Math.min,l=Math.floor,h=/\$([$&`']|\d\d?|<[^>]*>)/g,p=/\$([$&`']|\d\d?)/g;r(70)("replace",2,(function(t,n,r,v){return[function(e,i){var o=t(this),u=null==e?void 0:e[n];return void 0!==u?u.call(e,o,i):r.call(String(o),e,i)},function(t,n){var i=v(r,t,this,n);if(i.done)return i.value;var l=e(t),h=String(this),p="function"==typeof n;p||(n=String(n));var d=l.global;if(d){var g=l.unicode;l.lastIndex=0}for(var x=[];;){var m=f(l,h);if(null===m)break;if(x.push(m),!d)break;""===String(m[0])&&(l.lastIndex=c(h,o(l.lastIndex),g))}for(var b,S="",w=0,_=0;_=w&&(S+=h.slice(w,O)+j,w=O+E.length)}return S+h.slice(w)}];function y(t,n,e,o,u,c){var f=e+t.length,a=o.length,s=p;return void 0!==u&&(u=i(u),s=h),r.call(c,s,(function(r,i){var c;switch(i.charAt(0)){case"$":return"$";case"&":return t;case"`":return n.slice(0,e);case"'":return n.slice(f);case"<":c=u[i.slice(1,-1)];break;default:var s=+i;if(0===s)return r;if(s>a){var h=l(s/10);return 0===h?r:h<=a?void 0===o[h-1]?i.charAt(1):o[h-1]+i.charAt(1):r}c=o[s-1]}return void 0===c?"":c}))}}))},function(t,n,r){"use strict";var e=r(3),i=r(117),o=r(69);r(70)("search",1,(function(t,n,r,u){return[function(r){var e=t(this),i=null==r?void 0:r[n];return void 0!==i?i.call(r,e):new RegExp(r)[n](String(e))},function(t){var n=u(r,t,this);if(n.done)return n.value;var c=e(t),f=String(this),a=c.lastIndex;i(a,0)||(c.lastIndex=0);var s=o(c,f);return i(c.lastIndex,a)||(c.lastIndex=a),null===s?-1:s.index}]}))},function(t,n,r){"use strict";var e=r(92),i=r(3),o=r(61),u=r(100),c=r(6),f=r(69),a=r(99),s=r(2),l=Math.min,h=[].push,p="length",v=!s((function(){RegExp(4294967295,"y")}));r(70)("split",2,(function(t,n,r,s){var y;return y="c"=="abbc".split(/(b)*/)[1]||4!="test".split(/(?:)/,-1)[p]||2!="ab".split(/(?:ab)*/)[p]||4!=".".split(/(.?)(.?)/)[p]||".".split(/()()/)[p]>1||"".split(/.?/)[p]?function(t,n){var i=String(this);if(void 0===t&&0===n)return[];if(!e(t))return r.call(i,t,n);for(var o,u,c,f=[],s=(t.ignoreCase?"i":"")+(t.multiline?"m":"")+(t.unicode?"u":"")+(t.sticky?"y":""),l=0,v=void 0===n?4294967295:n>>>0,y=new RegExp(t.source,s+"g");(o=a.call(y,i))&&!((u=y.lastIndex)>l&&(f.push(i.slice(l,o.index)),o[p]>1&&o.index=v));)y.lastIndex===o.index&&y.lastIndex++;return l===i[p]?!c&&y.test("")||f.push(""):f.push(i.slice(l)),f[p]>v?f.slice(0,v):f}:"0".split(void 0,0)[p]?function(t,n){return void 0===t&&0===n?[]:r.call(this,t,n)}:r,[function(r,e){var i=t(this),o=null==r?void 0:r[n];return void 0!==o?o.call(r,i,e):y.call(String(i),r,e)},function(t,n){var e=s(y,t,this,n,y!==r);if(e.done)return e.value;var a=i(t),h=String(this),p=o(a,RegExp),d=a.unicode,g=(a.ignoreCase?"i":"")+(a.multiline?"m":"")+(a.unicode?"u":"")+(v?"y":"g"),x=new p(v?a:"^(?:"+a.source+")",g),m=void 0===n?4294967295:n>>>0;if(0===m)return[];if(0===h.length)return null===f(x,h)?[h]:[];for(var b=0,S=0,w=[];S0?arguments[0]:void 0)}}),{get:function(t){var n=e.getEntry(i(this,"Map"),t);return n&&n.v},set:function(t,n){return e.def(i(this,"Map"),0===t?0:t,n)}},e,!0)},function(t,n,r){"use strict";var e=r(136),i=r(47);t.exports=r(73)("Set",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(i(this,"Set"),t=0===t?0:t,t)}},e)},function(t,n,r){"use strict";var e,i=r(1),o=r(29)(0),u=r(15),c=r(36),f=r(116),a=r(137),s=r(4),l=r(47),h=r(47),p=!i.ActiveXObject&&"ActiveXObject"in i,v=c.getWeak,y=Object.isExtensible,d=a.ufstore,g=function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}},x={get:function(t){if(s(t)){var n=v(t);return!0===n?d(l(this,"WeakMap")).get(t):n?n[this._i]:void 0}},set:function(t,n){return a.def(l(this,"WeakMap"),t,n)}},m=t.exports=r(73)("WeakMap",g,x,a,!0,!0);h&&p&&(f((e=a.getConstructor(g,"WeakMap")).prototype,x),c.NEED=!0,o(["delete","has","get","set"],(function(t){var n=m.prototype,r=n[t];u(n,t,(function(n,i){if(s(n)&&!y(n)){this._f||(this._f=new e);var o=this._f[t](n,i);return"set"==t?this:o}return r.call(this,n,i)}))})))},function(t,n,r){"use strict";var e=r(137),i=r(47);r(73)("WeakSet",(function(t){return function(){return t(this,arguments.length>0?arguments[0]:void 0)}}),{add:function(t){return e.def(i(this,"WeakSet"),t,!0)}},e,!1,!0)},function(t,n,r){"use strict";var e=r(0),i=r(74),o=r(102),u=r(3),c=r(42),f=r(6),a=r(4),s=r(1).ArrayBuffer,l=r(61),h=o.ArrayBuffer,p=o.DataView,v=i.ABV&&s.isView,y=h.prototype.slice,d=i.VIEW;e(e.G+e.W+e.F*(s!==h),{ArrayBuffer:h}),e(e.S+e.F*!i.CONSTR,"ArrayBuffer",{isView:function(t){return v&&v(t)||a(t)&&d in t}}),e(e.P+e.U+e.F*r(2)((function(){return!new h(2).slice(1,void 0).byteLength})),"ArrayBuffer",{slice:function(t,n){if(void 0!==y&&void 0===n)return y.call(u(this),t);for(var r=u(this).byteLength,e=c(t,r),i=c(void 0===n?r:n,r),o=new(l(this,h))(f(i-e)),a=new p(this),s=new p(o),v=0;e=n.length)return{value:void 0,done:!0}}while(!((t=n[this._i++])in this._t));return{value:t,done:!1}})),e(e.S,"Reflect",{enumerate:function(t){return new o(t)}})},function(t,n,r){var e=r(27),i=r(45),o=r(17),u=r(0),c=r(4),f=r(3);u(u.S,"Reflect",{get:function t(n,r){var u,a,s=arguments.length<3?n:arguments[2];return f(n)===s?n[r]:(u=e.f(n,r))?o(u,"value")?u.value:void 0!==u.get?u.get.call(s):void 0:c(a=i(n))?t(a,r,s):void 0}})},function(t,n,r){var e=r(27),i=r(0),o=r(3);i(i.S,"Reflect",{getOwnPropertyDescriptor:function(t,n){return e.f(o(t),n)}})},function(t,n,r){var e=r(0),i=r(45),o=r(3);e(e.S,"Reflect",{getPrototypeOf:function(t){return i(o(t))}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{has:function(t,n){return n in t}})},function(t,n,r){var e=r(0),i=r(3),o=Object.isExtensible;e(e.S,"Reflect",{isExtensible:function(t){return i(t),!o||o(t)}})},function(t,n,r){var e=r(0);e(e.S,"Reflect",{ownKeys:r(139)})},function(t,n,r){var e=r(0),i=r(3),o=Object.preventExtensions;e(e.S,"Reflect",{preventExtensions:function(t){i(t);try{return o&&o(t),!0}catch(t){return!1}}})},function(t,n,r){var e=r(9),i=r(27),o=r(45),u=r(17),c=r(0),f=r(38),a=r(3),s=r(4);c(c.S,"Reflect",{set:function t(n,r,c){var l,h,p=arguments.length<4?n:arguments[3],v=i.f(a(n),r);if(!v){if(s(h=o(n)))return t(h,r,c,p);v=f(0)}if(u(v,"value")){if(!1===v.writable||!s(p))return!1;if(l=i.f(p,r)){if(l.get||l.set||!1===l.writable)return!1;l.value=c,e.f(p,r,l)}else e.f(p,r,f(0,c));return!0}return void 0!==v.set&&(v.set.call(p,c),!0)}})},function(t,n,r){var e=r(0),i=r(83);i&&e(e.S,"Reflect",{setPrototypeOf:function(t,n){i.check(t,n);try{return i.set(t,n),!0}catch(t){return!1}}})},function(t,n,r){r(292),t.exports=r(7).Array.includes},function(t,n,r){"use strict";var e=r(0),i=r(64)(!0);e(e.P,"Array",{includes:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0)}}),r(46)("includes")},function(t,n,r){r(294),t.exports=r(7).Array.flatMap},function(t,n,r){"use strict";var e=r(0),i=r(295),o=r(12),u=r(6),c=r(25),f=r(127);e(e.P,"Array",{flatMap:function(t){var n,r,e=o(this);return c(t),n=u(e.length),r=f(e,0),i(r,e,e,n,0,1,t,arguments[1]),r}}),r(46)("flatMap")},function(t,n,r){"use strict";var e=r(66),i=r(4),o=r(6),u=r(24),c=r(5)("isConcatSpreadable");t.exports=function t(n,r,f,a,s,l,h,p){for(var v,y,d=s,g=0,x=!!h&&u(h,p,3);g0)d=t(n,r,v,o(v.length),d,l-1)-1;else{if(d>=9007199254740991)throw TypeError();n[d]=v}d++}g++}return d}},function(t,n,r){r(297),t.exports=r(7).String.padStart},function(t,n,r){"use strict";var e=r(0),i=r(140),o=r(72),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padStart:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!0)}})},function(t,n,r){r(299),t.exports=r(7).String.padEnd},function(t,n,r){"use strict";var e=r(0),i=r(140),o=r(72),u=/Version\/10\.\d+(\.\d+)?( Mobile\/\w+)? Safari\//.test(o);e(e.P+e.F*u,"String",{padEnd:function(t){return i(this,t,arguments.length>1?arguments[1]:void 0,!1)}})},function(t,n,r){r(301),t.exports=r(7).String.trimLeft},function(t,n,r){"use strict";r(50)("trimLeft",(function(t){return function(){return t(this,1)}}),"trimStart")},function(t,n,r){r(303),t.exports=r(7).String.trimRight},function(t,n,r){"use strict";r(50)("trimRight",(function(t){return function(){return t(this,2)}}),"trimEnd")},function(t,n,r){r(305),t.exports=r(79).f("asyncIterator")},function(t,n,r){r(112)("asyncIterator")},function(t,n,r){r(307),t.exports=r(7).Object.getOwnPropertyDescriptors},function(t,n,r){var e=r(0),i=r(139),o=r(19),u=r(27),c=r(95);e(e.S,"Object",{getOwnPropertyDescriptors:function(t){for(var n,r,e=o(t),f=u.f,a=i(e),s={},l=0;a.length>l;)void 0!==(r=f(e,n=a[l++]))&&c(s,n,r);return s}})},function(t,n,r){r(309),t.exports=r(7).Object.values},function(t,n,r){var e=r(0),i=r(141)(!1);e(e.S,"Object",{values:function(t){return i(t)}})},function(t,n,r){r(311),t.exports=r(7).Object.entries},function(t,n,r){var e=r(0),i=r(141)(!0);e(e.S,"Object",{entries:function(t){return i(t)}})},function(t,n,r){"use strict";r(133),r(313),t.exports=r(7).Promise.finally},function(t,n,r){"use strict";var e=r(0),i=r(7),o=r(1),u=r(61),c=r(135);e(e.P+e.R,"Promise",{finally:function(t){var n=u(this,i.Promise||o.Promise),r="function"==typeof t;return this.then(r?function(r){return c(n,t()).then((function(){return r}))}:t,r?function(r){return c(n,t()).then((function(){throw r}))}:t)}})},function(t,n,r){r(315),r(316),r(317),t.exports=r(7)},function(t,n,r){var e=r(1),i=r(0),o=r(72),u=[].slice,c=/MSIE .\./.test(o),f=function(t){return function(n,r){var e=arguments.length>2,i=!!e&&u.call(arguments,2);return t(e?function(){("function"==typeof n?n:Function(n)).apply(this,i)}:n,r)}};i(i.G+i.B+i.F*c,{setTimeout:f(e.setTimeout),setInterval:f(e.setInterval)})},function(t,n,r){var e=r(0),i=r(101);e(e.G+e.B,{setImmediate:i.set,clearImmediate:i.clear})},function(t,n,r){for(var e=r(98),i=r(41),o=r(15),u=r(1),c=r(18),f=r(51),a=r(5),s=a("iterator"),l=a("toStringTag"),h=f.Array,p={CSSRuleList:!0,CSSStyleDeclaration:!1,CSSValueList:!1,ClientRectList:!1,DOMRectList:!1,DOMStringList:!1,DOMTokenList:!0,DataTransferItemList:!1,FileList:!1,HTMLAllCollection:!1,HTMLCollection:!1,HTMLFormElement:!1,HTMLSelectElement:!1,MediaList:!0,MimeTypeArray:!1,NamedNodeMap:!1,NodeList:!0,PaintRequestList:!1,Plugin:!1,PluginArray:!1,SVGLengthList:!1,SVGNumberList:!1,SVGPathSegList:!1,SVGPointList:!1,SVGStringList:!1,SVGTransformList:!1,SourceBufferList:!1,StyleSheetList:!0,TextTrackCueList:!1,TextTrackList:!1,TouchList:!1},v=i(p),y=0;y=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},107:function(t,e,r){var n=r(62);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},108:function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},109:function(t,e,r){var n=r(62);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},110:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},13:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return c}));var n=r(56),o=r.n(n),i=r(34),a=r.n(i);function c(_x,t){return u.apply(this,arguments)}function u(){return(u=o()(a.a.mark((function e(r,n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.ajax({data:n,method:"POST",url:"".concat(wpApiSettings.root,"wpsp/").concat(r),beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",wpApiSettings.nonce)}});case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),e.t0.responseJSON;case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}}).call(this,r(22))},145:function(t,e,r){"use strict";(function(t){var r=window.spShared,n=r.convertToDollars,o=r.formatCurrency;e.a={init:_.noop,setupCoreForm:_.noop,isStripeCheckoutForm:function(t){return void 0===t.formDisplayType||"stripe_checkout"===t.formDisplayType},setCoreFinalAmount:function(e,r){r.finalAmount=e.cart.getTotal(),t(document.body).trigger("simpayFinalizeCoreAmount",[e,r])},disableForm:function(t,e,r){var n=t.find(".simpay-payment-btn"),o=e.paymentButtonLoadingText;t.addClass("simpay-checkout-form--loading"),window.simpayApp.isStripeCheckoutForm(e)||(n=t.find(".simpay-checkout-btn"),o=e.checkoutButtonLoadingText),n.prop("disabled",!0),!0===r&&n.addClass("simpay-disabled").find("span").html(o)},enableForm:function(e,r){var i=e.cart;if(void 0!==i){var a=e.find(".simpay-payment-btn"),c=r.paymentButtonLoadingText,u=r.paymentButtonText;e.removeClass("simpay-checkout-form--loading"),window.simpayApp.isStripeCheckoutForm(r)||(a=e.find(".simpay-checkout-btn"),c=r.checkoutButtonLoadingText,u=r.checkoutButtonText),a.prop("disabled",!1).removeClass("simpay-disabled");var s=document.createElement("div");if(s.innerHTML=c,t(s).html()===a.find("span").html())if(0===i.getTotal()){var l=r.startTrial;a.find("span").text(l)}else{var f=o(i.isZeroDecimal()?i.getTotal():n(i.getTotal()),!0,i.getCurrencySymbol(),i.isZeroDecimal()),p=''.concat(f,"");u=u.replace("{{amount}}",p),a.find("span").html(u)}}},showError:function(t,e,r){return t.find(".simpay-errors").html(r)},triggerBrowserValidation:function(e,r){return t("").attr({type:"submit",style:{display:"none"}}).appendTo(e).click().remove()}}}).call(this,r(22))},19:function(t,e){var r=/^(?:submit|button|image|reset|file)$/i,n=/^(?:input|select|textarea|keygen)/i,o=/(\[[^\[\]]*\])/g;function i(t,e,r){if(e.match(o))!function t(e,r,n){if(0===r.length)return n;var o=r.shift(),i=o.match(/^\[(.+?)\]$/);if("[]"===o)return e=e||[],Array.isArray(e)?e.push(t(null,r,n)):(e._values=e._values||[],e._values.push(t(null,r,n))),e;if(i){var a=i[1],c=+a;isNaN(c)?(e=e||{})[a]=t(e[a],r,n):(e=e||[])[c]=t(e[c],r,n)}else e[o]=t(e[o],r,n);return e}(t,function(t){var e=[],r=new RegExp(o),n=/^([^\[\]]*)/.exec(t);for(n[1]&&e.push(n[1]);null!==(n=r.exec(t));)e.push(n[1]);return e}(e),r);else{var n=t[e];n?(Array.isArray(n)||(t[e]=[n]),t[e].push(r)):t[e]=r}return t}function a(t,e,r){return r=r.replace(/(\r)?\n/g,"\r\n"),r=(r=encodeURIComponent(r)).replace(/%20/g,"+"),t+(t?"&":"")+encodeURIComponent(e)+"="+r}t.exports=function(t,e){"object"!=typeof e?e={hash:!!e}:void 0===e.hash&&(e.hash=!0);for(var o=e.hash?{}:"",c=e.serializer||(e.hash?i:a),u=t&&t.elements?t.elements:[],s=Object.create(null),l=0;l3&&void 0!==arguments[3]?arguments[3]:10;if(o(e)&&n(r))if("function"==typeof i)if("number"==typeof a){var c={callback:i,priority:a,namespace:r};if(t[e]){var u,s=t[e].handlers;for(u=s.length;u>0&&!(a>=s[u-1].priority);u--);u===s.length?s[u]=c:s.splice(u,0,c),(t.__current||[]).forEach((function(t){t.name===e&&t.currentIndex>=u&&t.currentIndex++}))}else t[e]={handlers:[c],runs:0};"hookAdded"!==e&&h("hookAdded",e,r,i,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}},a=function(t,e){return function(r,i){if(o(r)&&(e||n(i))){if(!t[r])return 0;var a=0;if(e)a=t[r].handlers.length,t[r]={runs:t[r].runs,handlers:[]};else for(var c=t[r].handlers,u=function(e){c[e].namespace===i&&(c.splice(e,1),a++,(t.__current||[]).forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},s=c.length-1;s>=0;s--)u(s);return"hookRemoved"!==r&&h("hookRemoved",r,i),a}}},c=function(t){return function(e,r){return void 0!==r?e in t&&t[e].handlers.some((function(t){return t.namespace===r})):e in t}},u=function(t,e){return function(r){t[r]||(t[r]={handlers:[],runs:0}),t[r].runs++;for(var n=t[r].handlers,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/charge",y({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(y(y({},o),n)),form_id:r},t))}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/customer",g({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(g(g({},o),n)),form_id:r},t))}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/paymentintent/create",x({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(x(x({},o),n)),form_id:r},t))}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/checkout-session",j({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(j(j({},o),n)),form_id:r},t))}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function T(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state;return Object(s.a)("v2/setupintent/create",T({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(n),form_id:r},t))}function F(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function D(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/subscription",D({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(D(D({},o),n)),form_id:r},t))}function A(t,e,r,n,o){return Object(s.a)("v2/subscription/payment_method/".concat(r,"/").concat(t),{customer_nonce:e,form_values:o,form_id:n})}},338:function(t,e,r){"use strict";r.r(e),function(t){var e=r(10),n=r.n(e),o=r(20),i=r(48),a=r(30),c=r(145);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e'.concat(a,"");i.find("span").html(o.replace("{{amount}}",c))}},disable:function(t){var e=t.__unstableLegacyFormData.paymentButtonLoadingText;t.addClass("simpay-checkout-form--loading"),t.find(".simpay-payment-btn").prop("disabled",!0).addClass("simpay-disabled").find("span").html(e)},error:function(t,e){var r,n=t.enable,o=t.__unstableLegacyFormData,i=o.stripeErrorMessages,a=o.unknownError;if(e&&""===e)r="";else if(void 0!==e){var c=e.message,u=e.code;r=c||e,u&&i[u]&&(r=i[u])}else r=a;t.find(".simpay-errors").html(r),n()}}),Object(u.a)("simpaySetupPaymentForm","wpsp/paymentForm",(function(t){return(0,t.setup)()})),Object(u.a)("simpaySubmitPaymentForm","wpsp/paymentForm",(function(_x){return q.apply(this,arguments)}))},37:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},48:function(t,e,r){"use strict";r.r(e),r.d(e,"registerPaymentFormType",(function(){return a})),r.d(e,"getPaymentFormType",(function(){return c})),r.d(e,"getPaymentFormTypes",(function(){return u})),r.d(e,"registerPaymentMethod",(function(){return l})),r.d(e,"getPaymentMethod",(function(){return f})),r.d(e,"getPaymentMethods",(function(){return p})),r.d(e,"__unstableUpdatePaymentFormCart",(function(){return d}));var n=r(23),o=r.n(n),i={};function a(t,e){return"object"!==o()(e)||"string"!=typeof t||i[t]?null:(i[t]=e,e)}function c(t){return i[t]}var u=function(){return i},s={};function l(t,e){return"object"!==o()(e)||"string"!=typeof t||s[t]?null:(s[t]=e,e)}function f(t){return s[t]}var p=function(){return s};function d(t,e){var r=t.state,n=r.price,o=r.taxRates,i=n.unit_amount,a=n.currency,c=n.can_recur,u=n.recurring;return e.update({currency:a,taxRates:o}),e.addLineItem({id:"setup-fee",title:"Initial Setup Fee",amount:0,quantity:1,subscription:!1}),e.addLineItem({id:"plan-setup-fee",title:"Plan Setup Fee",amount:0,quantity:1,subscription:!1}),e.addLineItem({id:"base",price:n,title:u&&!1===c?"Subscription":"One Time",amount:i,quantity:1,subscription:!(!u||!1!==c)&&{isTrial:!!u.trial_period_days,interval:u.interval,intervalCount:u.interval_count}}),e}},55:function(t,e,r){var n=r(107),o=r(108),i=r(109),a=r(110);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},56:function(t,e){function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},57:function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},62:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),u=r.call(i,"finallyLoc");if(c&&u){if(this.prev=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),_(r),l}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;_(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:j(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),l}},t}(t.exports);try{regeneratorRuntime=n}catch(t){Function("r","regeneratorRuntime = r")(n)}},107:function(t,e,r){var n=r(62);t.exports=function(t){if(Array.isArray(t))return n(t)},t.exports.default=t.exports,t.exports.__esModule=!0},108:function(t,e){t.exports=function(t){if("undefined"!=typeof Symbol&&null!=t[Symbol.iterator]||null!=t["@@iterator"])return Array.from(t)},t.exports.default=t.exports,t.exports.__esModule=!0},109:function(t,e,r){var n=r(62);t.exports=function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}},t.exports.default=t.exports,t.exports.__esModule=!0},110:function(t,e){t.exports=function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")},t.exports.default=t.exports,t.exports.__esModule=!0},13:function(t,e,r){"use strict";(function(t){r.d(e,"a",(function(){return c}));var n=r(56),o=r.n(n),i=r(34),a=r.n(i);function c(_x,t){return u.apply(this,arguments)}function u(){return(u=o()(a.a.mark((function e(r,n){return a.a.wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,t.ajax({data:n,method:"POST",url:"".concat(wpApiSettings.root,"wpsp/").concat(r),beforeSend:function(t){t.setRequestHeader("X-WP-Nonce",wpApiSettings.nonce)}});case 3:return e.abrupt("return",e.sent);case 6:throw e.prev=6,e.t0=e.catch(0),e.t0.responseJSON;case 10:case"end":return e.stop()}}),e,null,[[0,6]])})))).apply(this,arguments)}}).call(this,r(14))},14:function(t,e){t.exports=jQuery},145:function(t,e,r){"use strict";(function(t){var r=window.spShared,n=r.convertToDollars,o=r.formatCurrency;e.a={init:_.noop,setupCoreForm:_.noop,isStripeCheckoutForm:function(t){return void 0===t.formDisplayType||"stripe_checkout"===t.formDisplayType},setCoreFinalAmount:function(e,r){r.finalAmount=e.cart.getTotal(),t(document.body).trigger("simpayFinalizeCoreAmount",[e,r])},disableForm:function(t,e,r){var n=t.find(".simpay-payment-btn"),o=e.paymentButtonLoadingText;t.addClass("simpay-checkout-form--loading"),window.simpayApp.isStripeCheckoutForm(e)||(n=t.find(".simpay-checkout-btn"),o=e.checkoutButtonLoadingText),n.prop("disabled",!0),!0===r&&n.addClass("simpay-disabled").find("span").html(o)},enableForm:function(e,r){var i=e.cart;if(void 0!==i){var a=e.find(".simpay-payment-btn"),c=r.paymentButtonLoadingText,u=r.paymentButtonText;e.removeClass("simpay-checkout-form--loading"),window.simpayApp.isStripeCheckoutForm(r)||(a=e.find(".simpay-checkout-btn"),c=r.checkoutButtonLoadingText,u=r.checkoutButtonText),a.prop("disabled",!1).removeClass("simpay-disabled");var s=document.createElement("div");if(s.innerHTML=c,t(s).html()===a.find("span").html())if(0===i.getTotal()){var l=r.startTrial;a.find("span").text(l)}else{var f=o(i.isZeroDecimal()?i.getTotal():n(i.getTotal()),!0,i.getCurrencySymbol(),i.isZeroDecimal()),p=''.concat(f,"");u=u.replace("{{amount}}",p),a.find("span").html(u)}}},showError:function(t,e,r){return t.find(".simpay-errors").html(r)},triggerBrowserValidation:function(e,r){return t("").attr({type:"submit",style:{display:"none"}}).appendTo(e).click().remove()}}}).call(this,r(14))},20:function(t,e){var r=/^(?:submit|button|image|reset|file)$/i,n=/^(?:input|select|textarea|keygen)/i,o=/(\[[^\[\]]*\])/g;function i(t,e,r){if(e.match(o))!function t(e,r,n){if(0===r.length)return n;var o=r.shift(),i=o.match(/^\[(.+?)\]$/);if("[]"===o)return e=e||[],Array.isArray(e)?e.push(t(null,r,n)):(e._values=e._values||[],e._values.push(t(null,r,n))),e;if(i){var a=i[1],c=+a;isNaN(c)?(e=e||{})[a]=t(e[a],r,n):(e=e||[])[c]=t(e[c],r,n)}else e[o]=t(e[o],r,n);return e}(t,function(t){var e=[],r=new RegExp(o),n=/^([^\[\]]*)/.exec(t);for(n[1]&&e.push(n[1]);null!==(n=r.exec(t));)e.push(n[1]);return e}(e),r);else{var n=t[e];n?(Array.isArray(n)||(t[e]=[n]),t[e].push(r)):t[e]=r}return t}function a(t,e,r){return r=r.replace(/(\r)?\n/g,"\r\n"),r=(r=encodeURIComponent(r)).replace(/%20/g,"+"),t+(t?"&":"")+encodeURIComponent(e)+"="+r}t.exports=function(t,e){"object"!=typeof e?e={hash:!!e}:void 0===e.hash&&(e.hash=!0);for(var o=e.hash?{}:"",c=e.serializer||(e.hash?i:a),u=t&&t.elements?t.elements:[],s=Object.create(null),l=0;l3&&void 0!==arguments[3]?arguments[3]:10;if(o(e)&&n(r))if("function"==typeof i)if("number"==typeof a){var c={callback:i,priority:a,namespace:r};if(t[e]){var u,s=t[e].handlers;for(u=s.length;u>0&&!(a>=s[u-1].priority);u--);u===s.length?s[u]=c:s.splice(u,0,c),(t.__current||[]).forEach((function(t){t.name===e&&t.currentIndex>=u&&t.currentIndex++}))}else t[e]={handlers:[c],runs:0};"hookAdded"!==e&&h("hookAdded",e,r,i,a)}else console.error("If specified, the hook priority must be a number.");else console.error("The hook callback must be a function.")}},a=function(t,e){return function(r,i){if(o(r)&&(e||n(i))){if(!t[r])return 0;var a=0;if(e)a=t[r].handlers.length,t[r]={runs:t[r].runs,handlers:[]};else for(var c=t[r].handlers,u=function(e){c[e].namespace===i&&(c.splice(e,1),a++,(t.__current||[]).forEach((function(t){t.name===r&&t.currentIndex>=e&&t.currentIndex--})))},s=c.length-1;s>=0;s--)u(s);return"hookRemoved"!==r&&h("hookRemoved",r,i),a}}},c=function(t){return function(e,r){return void 0!==r?e in t&&t[e].handlers.some((function(t){return t.namespace===r})):e in t}},u=function(t,e){return function(r){t[r]||(t[r]={handlers:[],runs:0}),t[r].runs++;for(var n=t[r].handlers,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/charge",y({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(y(y({},o),n)),form_id:r},t))}function v(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function g(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/customer",g({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(g(g({},o),n)),form_id:r},t))}function O(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function x(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/paymentintent/create",x({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(x(x({},o),n)),form_id:r},t))}function w(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function j(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/checkout-session",j({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(j(j({},o),n)),form_id:r},t))}function k(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function T(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state;return Object(s.a)("v2/setupintent/create",T({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(n),form_id:r},t))}function F(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function D(t){for(var e=1;e0&&void 0!==arguments[0]?arguments[0]:{},e=arguments.length>1?arguments[1]:void 0,r=e.id,n=e.state,o=e.__unstableLegacyFormData;return Object(s.a)("v2/subscription",D({form_values:d()(e[0],{hash:!0}),form_data:JSON.stringify(D(D({},o),n)),form_id:r},t))}function A(t,e,r,n,o){return Object(s.a)("v2/subscription/payment_method/".concat(r,"/").concat(t),{customer_nonce:e,form_values:o,form_id:n})}},339:function(t,e,r){"use strict";r.r(e),function(t){var e=r(10),n=r.n(e),o=r(21),i=r(48),a=r(30),c=r(145);function u(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function s(t){for(var e=1;e'.concat(a,"");i.find("span").html(o.replace("{{amount}}",c))}},disable:function(t){var e=t.__unstableLegacyFormData.paymentButtonLoadingText;t.addClass("simpay-checkout-form--loading"),t.find(".simpay-payment-btn").prop("disabled",!0).addClass("simpay-disabled").find("span").html(e)},error:function(t,e){var r,n=t.enable,o=t.__unstableLegacyFormData,i=o.stripeErrorMessages,a=o.unknownError;if(e&&""===e)r="";else if(void 0!==e){var c=e.message,u=e.code;r=c||e,u&&i[u]&&(r=i[u])}else r=a;t.find(".simpay-errors").html(r),n()}}),Object(u.a)("simpaySetupPaymentForm","wpsp/paymentForm",(function(t){return(0,t.setup)()})),Object(u.a)("simpaySubmitPaymentForm","wpsp/paymentForm",(function(_x){return q.apply(this,arguments)}))},37:function(t,e){t.exports=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},t.exports.default=t.exports,t.exports.__esModule=!0},48:function(t,e,r){"use strict";r.r(e),r.d(e,"registerPaymentFormType",(function(){return a})),r.d(e,"getPaymentFormType",(function(){return c})),r.d(e,"getPaymentFormTypes",(function(){return u})),r.d(e,"registerPaymentMethod",(function(){return l})),r.d(e,"getPaymentMethod",(function(){return f})),r.d(e,"getPaymentMethods",(function(){return p})),r.d(e,"__unstableUpdatePaymentFormCart",(function(){return d}));var n=r(23),o=r.n(n),i={};function a(t,e){return"object"!==o()(e)||"string"!=typeof t||i[t]?null:(i[t]=e,e)}function c(t){return i[t]}var u=function(){return i},s={};function l(t,e){return"object"!==o()(e)||"string"!=typeof t||s[t]?null:(s[t]=e,e)}function f(t){return s[t]}var p=function(){return s};function d(t,e){var r=t.state,n=r.price,o=r.taxRates,i=n.unit_amount,a=n.currency,c=n.can_recur,u=n.recurring;return e.update({currency:a,taxRates:o}),e.addLineItem({id:"setup-fee",title:"Initial Setup Fee",amount:0,quantity:1,subscription:!1}),e.addLineItem({id:"plan-setup-fee",title:"Plan Setup Fee",amount:0,quantity:1,subscription:!1}),e.addLineItem({id:"base",price:n,title:u&&!1===c?"Subscription":"One Time",amount:i,quantity:1,subscription:!(!u||!1!==c)&&{isTrial:!!u.trial_period_days,interval:u.interval,intervalCount:u.interval_count}}),e}},55:function(t,e,r){var n=r(107),o=r(108),i=r(109),a=r(110);t.exports=function(t){return n(t)||o(t)||i(t)||a()},t.exports.default=t.exports,t.exports.__esModule=!0},56:function(t,e){function r(t,e,r,n,o,i,a){try{var c=t[i](a),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}t.exports=function(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}},t.exports.default=t.exports,t.exports.__esModule=!0},57:function(t,e){function r(e){return t.exports=r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},t.exports.default=t.exports,t.exports.__esModule=!0,r(e)}t.exports=r,t.exports.default=t.exports,t.exports.__esModule=!0},62:function(t,e){t.exports=function(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r

'; diff --git a/includes/core/functions/countries.php b/includes/core/functions/countries.php index 14242967..5d9d15fe 100644 --- a/includes/core/functions/countries.php +++ b/includes/core/functions/countries.php @@ -3,7 +3,7 @@ * Functions: Countries * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/functions/shared.php b/includes/core/functions/shared.php index c9fde37a..602e6e2c 100644 --- a/includes/core/functions/shared.php +++ b/includes/core/functions/shared.php @@ -3,7 +3,7 @@ * Functions: Shared * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -123,6 +123,26 @@ function simpay_update_setting( $setting, $value ) { return update_option( 'simpay_settings', $new_settings ); } +/** + * Check the user's license to see if subscriptions are enabled or not + * + * @return bool + */ +function simpay_subscriptions_enabled() { + + $license_data = get_option( 'simpay_license_data' ); + + if ( ! empty( $license_data ) && 'valid' === $license_data->license ) { + $price_id = $license_data->price_id; + + if ( '1' !== $price_id ) { + return true; + } + } + + return false; +} + /** * Checks if REST API is enabled. * @@ -180,16 +200,6 @@ function simpay_get_filtered( $filter, $value, $form_id = null ) { return $value; } -/** - * Get plugin URL. - * - * @param string $url URL to retrieve. - * @return string - */ -function simpay_get_url( $url ) { - return \SimplePay\Core\SimplePay()->get_url( $url ); -} - /** * Print an error message only to those with admin privileges * @@ -802,7 +812,7 @@ function simpay_validate_statement_descriptor( $statement_descriptor ) { * @return array */ function simpay_get_currencies() { - return array( + $currencies = array( 'AED' => 'د.إ', 'AFN' => '؋', 'ALL' => 'L', @@ -1125,4 +1135,71 @@ function simpay_wp_timezone_string() { $tz_offset = sprintf( '%s%02d:%02d', $sign, $abs_hour, $abs_mins ); return $tz_offset; -} \ No newline at end of file +} + +/** + * Determine if the base country supports Payment Request Button + * + * @since 3.5.0 + * + * @return bool + */ +function simpay_can_use_payment_request_button() { + $country = strtoupper( simpay_get_setting( 'account_country', 'US' ) ); + + if ( ! $country ) { + $country = 'US'; + } + + $countries = array( + 'AT', + 'AU', + 'BE', + 'BR', + 'CA', + 'CH', + 'DE', + 'DK', + 'EE', + 'ES', + 'FI', + 'FR', + 'GB', + 'GR', + 'HK', + 'IE', + 'IN', + 'IT', + 'JP', + 'LT', + 'LU', + 'LV', + 'MX', + 'MY', + 'NL', + 'NO', + 'NZ', + 'PH', + 'PL', + 'PT', + 'RO', + 'SE', + 'SG', + 'SK', + 'US', + ); + + $can_use = in_array( $country, $countries, true ); + + /** + * Filter Payment Request Button availibility. + * + * @since 3.5.1 + * + * @param bool $can_use Can the button be used? + * @param string $country Current country. + */ + $can_use = apply_filters( 'simpay_can_use_payment_request_button', $can_use, $country ); + + return $can_use; +} diff --git a/includes/core/functions/template.php b/includes/core/functions/template.php index 455db34e..5deaf371 100644 --- a/includes/core/functions/template.php +++ b/includes/core/functions/template.php @@ -3,7 +3,7 @@ * Shared template functions/functionality. * * @package SimplePay\Core\Template - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.5.0 */ diff --git a/includes/core/i18n/countries.php b/includes/core/i18n/countries.php index b020ba01..11e9789b 100644 --- a/includes/core/i18n/countries.php +++ b/includes/core/i18n/countries.php @@ -3,7 +3,7 @@ * Internationalization: Countries * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/i18n/stripe.php b/includes/core/i18n/stripe.php index 2f079a59..cd5571e0 100644 --- a/includes/core/i18n/stripe.php +++ b/includes/core/i18n/stripe.php @@ -3,7 +3,7 @@ * Internationalization: Stripe * * @package SimplePay\Core\i18n - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.9.0 */ diff --git a/includes/core/legacy/class-payment-form.php b/includes/core/legacy/class-payment-form.php index 3fb1ee70..c1e36c0c 100644 --- a/includes/core/legacy/class-payment-form.php +++ b/includes/core/legacy/class-payment-form.php @@ -6,7 +6,7 @@ * Namespace remains the same in case someone was referencing it directly. * * @package SimplePay\Core\Payments - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/legacy/functions.php b/includes/core/legacy/functions.php index 57f98fee..08bdc5e7 100644 --- a/includes/core/legacy/functions.php +++ b/includes/core/legacy/functions.php @@ -4,7 +4,7 @@ * Legacy: functions * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/legacy/hooks.php b/includes/core/legacy/hooks.php index acc84d2d..c33c455f 100644 --- a/includes/core/legacy/hooks.php +++ b/includes/core/legacy/hooks.php @@ -4,7 +4,7 @@ * Shim legacy hooks. * * @package SimplePay\Core\Legacy\Hooks - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/payments/class-stripe-api.php b/includes/core/payments/class-stripe-api.php index 5845d0be..6f0a8e2f 100644 --- a/includes/core/payments/class-stripe-api.php +++ b/includes/core/payments/class-stripe-api.php @@ -5,7 +5,7 @@ * @link https://github.com/stripe/stripe-php * * @package SimplePay\Core\Bootstrap - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/payments/customer.php b/includes/core/payments/customer.php index 726f9395..bf4fe056 100644 --- a/includes/core/payments/customer.php +++ b/includes/core/payments/customer.php @@ -3,7 +3,7 @@ * Stripe Customer * * @package SimplePay\Core\Payments\Customer - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.5.0 */ diff --git a/includes/core/payments/payment-confirmation-template-tags.php b/includes/core/payments/payment-confirmation-template-tags.php index 24fb73f2..f9060cfd 100644 --- a/includes/core/payments/payment-confirmation-template-tags.php +++ b/includes/core/payments/payment-confirmation-template-tags.php @@ -3,7 +3,7 @@ * Payment confirmation template tags * * @package SimplePay\Core\Payments\Payment_Confirmation\Template_Tags - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/payments/payment-confirmation.php b/includes/core/payments/payment-confirmation.php index c1a0acc3..6bace196 100644 --- a/includes/core/payments/payment-confirmation.php +++ b/includes/core/payments/payment-confirmation.php @@ -3,7 +3,7 @@ * Payment confirmation * * @package SimplePay\Core\Payments\Payment_Confirmation - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/payments/paymentintent.php b/includes/core/payments/paymentintent.php index 3c1a4322..6426d7be 100644 --- a/includes/core/payments/paymentintent.php +++ b/includes/core/payments/paymentintent.php @@ -3,7 +3,7 @@ * Stripe PaymentIntent * * @package SimplePay\Core\Payments\PaymentIntent - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/payments/stripe-checkout/functions.php b/includes/core/payments/stripe-checkout/functions.php index b5c08b6a..122e0770 100644 --- a/includes/core/payments/stripe-checkout/functions.php +++ b/includes/core/payments/stripe-checkout/functions.php @@ -3,7 +3,7 @@ * Stripe Checkout * * @package SimplePay\Core\Payments\Stripe_Checkout - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/payments/stripe-checkout/session.php b/includes/core/payments/stripe-checkout/session.php index 2ec7604c..93612869 100644 --- a/includes/core/payments/stripe-checkout/session.php +++ b/includes/core/payments/stripe-checkout/session.php @@ -3,7 +3,7 @@ * Stripe Checkout: Session * * @package SimplePay\Core\Payments\Stripe_Checkout\Sesssion - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/post-types/simple-pay/actions.php b/includes/core/post-types/simple-pay/actions.php index 733f2008..8ee7d028 100644 --- a/includes/core/post-types/simple-pay/actions.php +++ b/includes/core/post-types/simple-pay/actions.php @@ -3,7 +3,7 @@ * Simple Pay: Actions * * @package SimplePay\Core\Post_Types\Simple_Pay\Actions - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/post-types/simple-pay/compat.php b/includes/core/post-types/simple-pay/compat.php index 3cb9663c..89aa707c 100644 --- a/includes/core/post-types/simple-pay/compat.php +++ b/includes/core/post-types/simple-pay/compat.php @@ -3,7 +3,7 @@ * Simple Pay: Compatibility * * @package SimplePay\Core\Post_Types\Simple_Pay\Compat - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/post-types/simple-pay/edit-form-custom-fields.php b/includes/core/post-types/simple-pay/edit-form-custom-fields.php index 1377dd69..b7b71471 100644 --- a/includes/core/post-types/simple-pay/edit-form-custom-fields.php +++ b/includes/core/post-types/simple-pay/edit-form-custom-fields.php @@ -3,7 +3,7 @@ * Simple Pay: Edit form custom fields * * @package SimplePay\Core\Post_Types\Simple_Pay\Edit_Form - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ @@ -14,6 +14,235 @@ exit; } +/** + * Get custom field option group labels. + * + * @since 3.8.0 + * + * @return array Group label names. + */ +function get_custom_field_type_groups() { + $groups = array( + 'payment' => _x( 'Payment', 'custom field group', 'stripe' ), + 'customer' => _x( 'Customer', 'custom field group', 'stripe' ), + 'standard' => _x( 'Standard', 'custom field group', 'stripe' ), + 'custom' => _x( 'Custom', 'custom field group', 'stripe' ), + ); + + /** + * Filter the labels associated with field groups. + * + * @since 3.4.0 + * + * @param array $groups optgroup/category keys and associated labels. + */ + return apply_filters( 'simpay_custom_field_group_labels', $groups ); +} + +/** + * Get the available custom field types. + * + * @since 3.8.0 + * + * @return array $fields Custom fields. + */ +function get_custom_field_types() { + $fields = array( + 'customer_name' => array( + 'label' => esc_html__( 'Name', 'stripe' ), + 'type' => 'customer_name', + 'category' => 'customer', + 'active' => true, + 'repeatable' => false, + ), + 'email' => array( + 'label' => esc_html__( 'Email Address', 'stripe' ), + 'type' => 'email', + 'category' => 'customer', + 'active' => true, + 'repeatable' => false, + ), + 'telephone' => array( + 'label' => esc_html__( 'Phone', 'stripe' ), + 'type' => 'telephone', + 'category' => 'customer', + 'active' => true, + 'repeatable' => false, + ), + 'address' => array( + 'label' => esc_html__( 'Address', 'stripe' ), + 'type' => 'address', + 'category' => 'customer', + 'active' => true, + 'repeatable' => false, + ), + 'tax_id' => array( + 'label' => esc_html__( 'Tax ID', 'stripe' ), + 'type' => 'tax_id', + 'category' => 'customer', + 'active' => true, + 'repeatable' => false, + ), + + 'plan_select' => array( + 'label' => esc_html__( 'Price Selector', 'stripe' ), + 'type' => 'plan_select', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + 'coupon' => array( + 'label' => esc_html__( 'Coupon', 'stripe' ), + 'type' => 'coupon', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + 'custom_amount' => array( + 'label' => esc_html__( 'Custom Amount Input', 'stripe' ), + 'type' => 'custom_amount', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + 'recurring_amount_toggle' => array( + 'label' => esc_html__( 'Recurring Amount Toggle', 'stripe' ), + 'type' => 'recurring_amount_toggle', + 'category' => 'payment', + 'active' => simpay_subscriptions_enabled(), + 'repeatable' => false, + ), + 'total_amount' => array( + 'label' => esc_html__( 'Amount Breakdown', 'stripe' ), + 'type' => 'total_amount', + 'category' => 'payment', + 'active' => true, + 'repeatable' => true, + ), + 'payment_request_button' => array( + 'label' => esc_html__( 'Apple Pay/Google Pay Button', 'stripe' ), + 'type' => 'payment_request_button', + 'category' => 'payment', + 'active' => simpay_can_use_payment_request_button(), + 'repeatable' => false, + ), + 'card' => array( + 'label' => esc_html__( 'Payment Methods (Card, ACH, etc)', 'stripe' ), + 'type' => 'card', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + 'checkout_button' => array( + 'label' => esc_html__( 'Checkout Button', 'stripe' ), + 'type' => 'checkout_button', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + 'payment_button' => array( + 'label' => esc_html__( 'Payment Button', 'stripe' ), + 'type' => 'payment_button', + 'category' => 'payment', + 'active' => true, + 'repeatable' => false, + ), + + 'heading' => array( + 'label' => esc_html__( 'Heading', 'stripe' ), + 'type' => 'heading', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'text' => array( + 'label' => esc_html__( 'Text', 'stripe' ), + 'type' => 'text', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'dropdown' => array( + 'label' => esc_html__( 'Dropdown', 'stripe' ), + 'type' => 'dropdown', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'radio' => array( + 'label' => esc_html__( 'Radio Select', 'stripe' ), + 'type' => 'radio', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'date' => array( + 'label' => esc_html__( 'Date', 'stripe' ), + 'type' => 'date', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'number' => array( + 'label' => esc_html__( 'Number', 'stripe' ), + 'type' => 'number', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'checkbox' => array( + 'label' => esc_html__( 'Checkbox', 'stripe' ), + 'type' => 'checkbox', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + 'hidden' => array( + 'label' => esc_html__( 'Hidden', 'stripe' ), + 'type' => 'hidden', + 'category' => 'standard', + 'active' => true, + 'repeatable' => true, + ), + ); + + /** + * Filters available custom fields. + * + * @since 3.0.0 + * + * @param array $fields Custom fields. + */ + return apply_filters( 'simpay_custom_field_options', $fields ); +} + +/** + * Get a grouped list of custom field options. + * + * @since 3.8.0 + * + * @param array $options Flat list of options. + * @return array $options Grouped list of options. + */ +function get_custom_fields_grouped( $options = array() ) { + if ( empty( $options ) ) { + $options = get_custom_field_types(); + } + + $result = array(); + $groups = get_custom_field_type_groups(); + + foreach ( $options as $key => $option ) { + if ( isset( $option['category'] ) ) { + $result[ $groups[ $option['category'] ] ][ $key ] = $option; + } else { + $result[ $groups['custom'] ][ $key ] = $option; + } + } + + return $result; +} + /** * Adds "Custom Fields" Payment Form settings tab content. * diff --git a/includes/core/post-types/simple-pay/edit-form-payment-options.php b/includes/core/post-types/simple-pay/edit-form-payment-options.php index 9aaab855..86593152 100644 --- a/includes/core/post-types/simple-pay/edit-form-payment-options.php +++ b/includes/core/post-types/simple-pay/edit-form-payment-options.php @@ -3,7 +3,7 @@ * Simple Pay: Edit form payment options * * @package SimplePay\Core\Post_Types\Simple_Pay\Edit_Form - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ @@ -341,6 +341,15 @@ class="simpay-price-currency-symbol simpay-currency-symbol simpay-currency-symbo

'inside-plugin', - 'utm_medium' => 'link', - 'utm_campaign' => defined( 'SIMPLE_PAY_ITEM_ID' ) ? 'pro-plugin' : 'lite-plugin', - 'utm_content' => 'compatibility-check', - ), - 'https://wpsimplepay.com/recommended-wordpress-hosting/' - ); - echo wp_kses( sprintf( /* translators: %1$s Opening anchor tag, do not translate. %2$s Closing anchor tag, do not translate. */ @@ -158,7 +148,7 @@ function() use ( $requirement ) { 'Many web hosts can give you instructions on how/where to upgrade your server through their control panel, or may even be able to do it for you. If you need to change hosts, please see %1$sour hosting recommendations%2$s.', 'stripe' ), - '', + '', '' ), array( diff --git a/includes/core/class-assets.php b/includes/core/class-assets.php index ff32d3e3..2cb501fa 100644 --- a/includes/core/class-assets.php +++ b/includes/core/class-assets.php @@ -3,7 +3,7 @@ * Assets * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/class-cache-helper.php b/includes/core/class-cache-helper.php index 741d0b91..021a8444 100644 --- a/includes/core/class-cache-helper.php +++ b/includes/core/class-cache-helper.php @@ -3,7 +3,7 @@ * Cache helper * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/class-cron.php b/includes/core/class-cron.php index c08b2f63..198cce25 100644 --- a/includes/core/class-cron.php +++ b/includes/core/class-cron.php @@ -3,7 +3,7 @@ * Cron * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/class-installation.php b/includes/core/class-installation.php index a6ab023e..50972484 100644 --- a/includes/core/class-installation.php +++ b/includes/core/class-installation.php @@ -3,7 +3,7 @@ * Install * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/class-objects.php b/includes/core/class-objects.php index ea68e123..57d5cc59 100644 --- a/includes/core/class-objects.php +++ b/includes/core/class-objects.php @@ -5,7 +5,7 @@ * @todo Remove this. * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.6.0 */ diff --git a/includes/core/class-rest-api.php b/includes/core/class-rest-api.php index ea674e15..7163203b 100644 --- a/includes/core/class-rest-api.php +++ b/includes/core/class-rest-api.php @@ -3,7 +3,7 @@ * REST API * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.5.0 */ diff --git a/includes/core/class-shortcodes.php b/includes/core/class-shortcodes.php index daf45851..4b48d8c4 100644 --- a/includes/core/class-shortcodes.php +++ b/includes/core/class-shortcodes.php @@ -3,7 +3,7 @@ * Shortcodes * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/class-simplepay.php b/includes/core/class-simplepay.php index 3dbfe9e4..94208c35 100644 --- a/includes/core/class-simplepay.php +++ b/includes/core/class-simplepay.php @@ -3,7 +3,7 @@ * SimplePay * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -248,31 +248,6 @@ public function load_admin() { new Admin\Menus(); new Admin\Notice_Manager(); } - - /** - * Get common URLs. - * - * @since 3.0.0 - * - * @param string $case URL case. - * @return string - */ - public function get_url( $case ) { - - switch ( $case ) { - case 'docs': - $url = 'https://docs.wpsimplepay.com/'; - break; - case 'upgrade': - $url = 'https://wpsimplepay.com/lite-vs-pro/'; - break; - case 'home': - default: - $url = SIMPLE_PAY_STORE_URL; - } - - return esc_url( apply_filters( 'simpay_get_url', $url, $case ) ); - } } /** diff --git a/includes/core/forms/class-default-form.php b/includes/core/forms/class-default-form.php index 031335ea..355cf375 100644 --- a/includes/core/forms/class-default-form.php +++ b/includes/core/forms/class-default-form.php @@ -3,7 +3,7 @@ * Form: Default * * @package SimplePay\Core\Forms - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/forms/class-preview.php b/includes/core/forms/class-preview.php index c93406bc..0d1c2be4 100644 --- a/includes/core/forms/class-preview.php +++ b/includes/core/forms/class-preview.php @@ -3,7 +3,7 @@ * Form: Preview * * @package SimplePay\Core\Forms - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/forms/fields/class-payment-button.php b/includes/core/forms/fields/class-payment-button.php index ca14326b..5866ca53 100644 --- a/includes/core/forms/fields/class-payment-button.php +++ b/includes/core/forms/fields/class-payment-button.php @@ -3,7 +3,7 @@ * Form field: Payment Button * * @package SimplePay\Core\Forms\Fields - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ diff --git a/includes/core/functions/admin.php b/includes/core/functions/admin.php index 55a84836..c5abf53b 100644 --- a/includes/core/functions/admin.php +++ b/includes/core/functions/admin.php @@ -3,7 +3,7 @@ * Functions: Admin * * @package SimplePay\Core - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.0.0 */ @@ -237,57 +237,72 @@ function simpay_is_admin_screen() { } /** - * Google Analytics campaign URL. + * Appends UTM parameters to a given URL. * - * @since 3.0.0 + * @since 3.0.0 + * @since 4.4.0 Removed $raw parameter. Update utm_source to WordPress. + * Move utm_content to utm_medium. Add support for dynamic utm_content. * - * @param string $base_url Plain URL to navigate to. - * @param string $content GA "content" tracking value. - * @param bool $raw Use esc_url_raw instead (default = false). + * @param string $base_url Base URL. + * @param string $utm_medium utm_medium parameter. + * @param string $utm_content Optional. utm_content parameter. * @return string $url Full Google Analytics campaign URL. */ -function simpay_ga_url( $base_url, $content, $raw = false ) { +function simpay_ga_url( $base_url, $utm_medium, $utm_content = false ) { + /** + * Filters the UTM campaign for generated links. + * + * @since 3.0.0 + * + * @param string $utm_campaign + */ + $utm_campaign = apply_filters( 'simpay_utm_campaign', 'lite-plugin' ); $url = add_query_arg( array( - 'utm_source' => 'inside-plugin', - 'utm_medium' => 'link', - 'utm_campaign' => apply_filters( 'simpay_utm_campaign', 'lite-plugin' ), - 'utm_content' => $content, // i.e. 'general-settings', 'form-settings', etc. + 'utm_source' => 'WordPress', + 'utm_campaign' => $utm_campaign, + 'utm_medium' => $utm_medium, + 'utm_content' => $utm_content, ), $base_url ); - if ( $raw ) { - return esc_url_raw( $url ); - } - return esc_url( $url ); } /** - * URL for upgrading to Pro used in promo links. + * URL for upgrading to Pro (or another Pro licecnse). + * + * @since 3.0.0 * - * @param string $content Upgrade URL content. + * @param string $utm_medium utm_medium parameter. * @return string */ -function simpay_pro_upgrade_url( $content ) { - return apply_filters( 'simpay_upgrade_link', simpay_ga_url( SIMPLE_PAY_STORE_URL . 'lite-vs-pro/', $content ) ); +function simpay_pro_upgrade_url( $utm_medium ) { + return apply_filters( + 'simpay_upgrade_link', + simpay_ga_url( 'https://wpsimplepay.com/lite-vs-pro', $utm_medium ), + $utm_medium + ); } /** * Link with HTML to docs site article & GA campaign values. * + * @since 3.0.0 + * @since 4.4.0 Rename $ga_content to $utm_medium to work with simpay_ga_url(). + * * @param string $text Link text. * @param string $slug Link slug. - * @param string $ga_content Google Analytics content. + * @param string $utm_medium utm_medium link parameter. * @param bool $plain If the link should have an icon. Default false. * @return string */ -function simpay_docs_link( $text, $slug, $ga_content, $plain = false ) { +function simpay_docs_link( $text, $slug, $utm_medium, $plain = false ) { // Articles on docs site currently require a base slug themselves. - $base_url = simpay_get_url( 'docs' ) . 'articles/'; + $base_url = 'https://docs.wpsimplepay.com/articles/'; // Ensure ending slash is included for consistency. $url = trailingslashit( $base_url . $slug ); @@ -296,13 +311,13 @@ function simpay_docs_link( $text, $slug, $ga_content, $plain = false ) { // Add GA campaign params in both cases. if ( $plain ) { - return simpay_ga_url( $url, $ga_content, false ); + return simpay_ga_url( $url, $utm_medium ); } else { $html = ''; $html .= '

+ + @@ -351,3 +360,72 @@ class="simpay-price-currency-symbol simpay-currency-symbol simpay-currency-symbo 'simpay_form_settings_meta_payment_options_panel', __NAMESPACE__ . '\\__unstable_add_payment_amount' ); + +/** + * Adds "Tax Rates" upgrade placeholder setting. + * + * @since 4.4.0 + * + * @return void + */ +function __add_tax_rates_upsell() { + if ( class_exists( '\SimplePay\Pro\Lite_Helper', false ) ) { + return; + } + ?> + + + + + + +
+ + + %s - ', + __( 'Disabled', 'stripe' ) + ), + array( + 'span' => array( + 'class' => true, + ) + ) + ); + + echo wp_kses( + sprintf( + __( + '%1$sUpgrade to WP Simple Pay Pro%2$s to collect taxes or additional fees on payments.', + 'stripe' + ), + '', + '' + ), + array( + 'a' => array( + 'href' => true, + 'target' => true, + 'rel' => true, + ), + 'span' => array( + 'class' => true, + ), + ) + ); + ?> +
+ + + +
@@ -352,13 +359,11 @@ function settings_tabs( $post ) { ), ); - if ( has_action( 'simpay_form_settings_meta_form_display_panel' ) ) { - $tabs['form_display'] = array( - 'label' => esc_html__( 'Payment Button', 'stripe' ), - 'target' => 'custom-form-fields-settings-panel', - 'icon' => '', - ); - } + $tabs['form_display'] = array( + 'label' => esc_html__( 'Form Fields', 'stripe' ), + 'target' => 'custom-form-fields-settings-panel', + 'icon' => '', + ); if ( has_action( 'simpay_form_settings_meta_subscription_display_panel' ) ) { $tabs['subscription_options'] = array( @@ -530,7 +535,7 @@ function add_display_options( $post_id ) { 'subtype' => 'text', 'name' => '_company_name', 'id' => '_company_name', - 'value' => false !== $company_name + 'value' => ( false !== $company_name && ! empty( $company_name ) ) ? $company_name : get_bloginfo( 'name' ), 'class' => array( @@ -542,6 +547,15 @@ function add_display_options( $post_id ) { ) ); ?> + + @@ -681,3 +695,95 @@ function _add_payment_success_page( $post_id ) { __NAMESPACE__ . '\\_add_payment_success_page', 20 ); + +/** + * Outputs markup for the "reCAPTCHA Anti-Spam" setting. + * + * @since 4.4.0 + * @access private + * + * @return void + */ +function __unstable_add_recaptcha() { + ?> + + + + + + reCAPTCHA\get_key( 'site' ), + ), + 'https://www.google.com/recaptcha/api.js' + ); + + wp_enqueue_script( 'simpay-google-recaptcha-v3', esc_url( $url ), array(), 'v3', true ); + + wp_localize_script( + 'simpay-google-recaptcha-v3', + 'simpayGoogleRecaptcha', + array( + 'siteKey' => reCAPTCHA\get_key( 'site' ), + 'i18n' => array( + 'enabled' => '' . esc_html__( 'Enabled', 'stripe' ), + 'disabled' => '' . esc_html__( 'Disabled', 'stripe' ), + ), + ) + ); + + $recaptcha = reCAPTCHA\has_keys(); + $settings_url = Settings\get_url( + array( + 'section' => 'general', + 'subsection' => 'recaptcha', + 'setting' => 'recaptcha_site_key' + ) + ); + + $description = $recaptcha + ? __( + '%1$sConfigure reCAPTCHA%2$s to adjust anti-spam protection.', + 'stripe' + ) + : __( + '%1$sEnable reCAPTCHA%2$s to add anti-spam protection.', + 'stripe' + ); + + echo wp_kses( + sprintf( + ' ', + esc_html( 'Verifying...', 'simple-pay' ), + sprintf( + $description, + '', + '' + ) + ), + array( + 'a' => array( + 'href' => true, + 'target' => true, + ), + 'span' => array( + 'class' => true, + 'style' => true, + ), + ) + ); + echo '
'; + ?> + + + + -
+

-
-
-
- - +
+ -
- - - - -
- -
- -
+
-
-
+ + + + +
diff --git a/includes/core/settings/functions.php b/includes/core/settings/functions.php index e64b5915..54ec8c6a 100644 --- a/includes/core/settings/functions.php +++ b/includes/core/settings/functions.php @@ -3,7 +3,7 @@ * Settings: Functions * * @package SimplePay\Core\Settings - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/settings/register-general.php b/includes/core/settings/register-general.php index f4699aed..e3b8a8b7 100644 --- a/includes/core/settings/register-general.php +++ b/includes/core/settings/register-general.php @@ -3,7 +3,7 @@ * Settings Registration: General * * @package SimplePay\Core\Settings - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ @@ -29,7 +29,7 @@ function register_section( $sections ) { array( 'id' => 'general', 'label' => esc_html_x( 'General', 'settings section label', 'stripe' ), - 'priority' => 20, + 'priority' => 10, ) ) ); diff --git a/includes/core/settings/register-payment-confirmations.php b/includes/core/settings/register-payment-confirmations.php index ec1ee7c6..73794a9a 100644 --- a/includes/core/settings/register-payment-confirmations.php +++ b/includes/core/settings/register-payment-confirmations.php @@ -3,7 +3,7 @@ * Settings Registration: Payment Confirmation * * @package SimplePay\Core\Settings - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 * diff --git a/includes/core/settings/register-stripe.php b/includes/core/settings/register-stripe.php index 8c04a6bd..564cbf77 100644 --- a/includes/core/settings/register-stripe.php +++ b/includes/core/settings/register-stripe.php @@ -3,7 +3,7 @@ * Settings Registration: Stripe * * @package SimplePay\Core\Settings - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 * @@ -33,7 +33,7 @@ function register_section( $sections ) { array( 'id' => 'stripe', 'label' => esc_html_x( 'Stripe', 'settings section label', 'stripe' ), - 'priority' => 10, + 'priority' => 20, ) ) ); @@ -95,6 +95,14 @@ function register_settings( $settings ) { * @param \SimplePay\Core\Settings\Setting_Collection $settings Settings collection. */ function register_account_settings( $settings ) { + // Hide submit button if there is no Stripe connection. + if ( empty( simpay_get_secret_key() ) && false === simpay_can_site_manage_stripe_keys() ) { + add_filter( + 'simpay_admin_page_settings_keys_submit', + '__return_false' + ); + } + // Account. $settings->add( new Settings\Setting( @@ -116,7 +124,7 @@ function register_account_settings( $settings ) { // Need some sort of key (from a Connect account or manual) to check status. if ( simpay_check_keys_exist() ) { - $html .= ''; + $html .= ''; } if ( false === simpay_get_account_id() || ! simpay_check_keys_exist() ) { @@ -124,24 +132,29 @@ function register_account_settings( $settings ) { } else { $html .= ''; $html .= ''; + $html .= sprintf( + '', + esc_attr__( 'Are you sure?', 'stripe' ), + esc_html__( + 'Connecting to a different Stripe account requires recreating your payment forms and tax rates. Are you sure you want to disconnect?', + 'stripe' + ), + '' . esc_html__( 'Review the documentation', 'stripe' ) . Utils\get_external_link_markup() . '' + ); + $html .= ''; @@ -179,6 +192,11 @@ function register_account_settings( $settings ) { ) ); + // Do not add additional fields until there is a connection. + if ( empty( simpay_get_secret_key() ) && false === simpay_can_site_manage_stripe_keys() ) { + return; + } + // Keys. $keys = array( 'test_publishable_key' => esc_html__( 'Test Publishable Key', 'stripe' ), @@ -254,7 +272,7 @@ function register_account_settings( $settings ) { Utils\get_external_link_markup() . '' ) . sprintf( - '', + '', $toggle_notice ) ), diff --git a/includes/core/settings/register.php b/includes/core/settings/register.php index e9895d1e..d7cf6655 100644 --- a/includes/core/settings/register.php +++ b/includes/core/settings/register.php @@ -5,7 +5,7 @@ * All main settings are stored under a single simpay_options option. * * @package SimplePay\Core\Settings - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/stripe-connect/admin.php b/includes/core/stripe-connect/admin.php index 1d934e83..6b127cee 100644 --- a/includes/core/stripe-connect/admin.php +++ b/includes/core/stripe-connect/admin.php @@ -3,7 +3,7 @@ * Stripe Connect: Admin * * @package SimplePay\Core\Stripe_Connect - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.4.0 */ @@ -377,7 +377,6 @@ function simpay_stripe_connect_account_information() { ) ); } catch ( \Exception $e ) { - var_dump( $e->getMessage() ); return wp_send_json_error( $unknown_error ); } } diff --git a/includes/core/stripe-connect/functions.php b/includes/core/stripe-connect/functions.php index aa0114e8..d434aad9 100644 --- a/includes/core/stripe-connect/functions.php +++ b/includes/core/stripe-connect/functions.php @@ -3,7 +3,7 @@ * Stripe Connect * * @package SimplePay\Core\Stripe_Connect - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.4.0 */ diff --git a/includes/core/utils/abstract-collection-prioritized.php b/includes/core/utils/abstract-collection-prioritized.php index 196c50f6..aeff006f 100644 --- a/includes/core/utils/abstract-collection-prioritized.php +++ b/includes/core/utils/abstract-collection-prioritized.php @@ -3,7 +3,7 @@ * Utils: Prioritized collection * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/abstract-collection.php b/includes/core/utils/abstract-collection.php index 5cb0c454..d2dceb9e 100644 --- a/includes/core/utils/abstract-collection.php +++ b/includes/core/utils/abstract-collection.php @@ -3,7 +3,7 @@ * Utils: Collection * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/utils/class-collections.php b/includes/core/utils/class-collections.php index 03796c28..9fa08a42 100644 --- a/includes/core/utils/class-collections.php +++ b/includes/core/utils/class-collections.php @@ -3,7 +3,7 @@ * Collections registry * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/utils/class-rate-limiting.php b/includes/core/utils/class-rate-limiting.php index 58a3e479..03602225 100644 --- a/includes/core/utils/class-rate-limiting.php +++ b/includes/core/utils/class-rate-limiting.php @@ -3,7 +3,7 @@ * Rate Limiting * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.9.5 */ diff --git a/includes/core/utils/collections.php b/includes/core/utils/collections.php index ed066d7f..1428de60 100644 --- a/includes/core/utils/collections.php +++ b/includes/core/utils/collections.php @@ -3,7 +3,7 @@ * Utils: Collections * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/utils/exceptions.php b/includes/core/utils/exceptions.php index 93a4b6d4..480ef2e8 100644 --- a/includes/core/utils/exceptions.php +++ b/includes/core/utils/exceptions.php @@ -5,7 +5,7 @@ * @link https://github.com/stripe/stripe-php * * @package SimplePay\Core\Payments - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.9.0 */ diff --git a/includes/core/utils/functions.php b/includes/core/utils/functions.php index bfae3f12..b725d811 100644 --- a/includes/core/utils/functions.php +++ b/includes/core/utils/functions.php @@ -3,7 +3,7 @@ * Utils: functions * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.9.5 */ diff --git a/includes/core/utils/interface-static-collection.php b/includes/core/utils/interface-static-collection.php index 738cf1da..42fef1db 100644 --- a/includes/core/utils/interface-static-collection.php +++ b/includes/core/utils/interface-static-collection.php @@ -3,7 +3,7 @@ * Static_Collection: interface * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 3.8.0 */ diff --git a/includes/core/utils/migrations/admin.php b/includes/core/utils/migrations/admin.php index 5e275114..903b5431 100644 --- a/includes/core/utils/migrations/admin.php +++ b/includes/core/utils/migrations/admin.php @@ -3,7 +3,7 @@ * Migrations: Admin * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/migrations/class-migration-collection.php b/includes/core/utils/migrations/class-migration-collection.php index 0c8d1706..8e6fc7a8 100644 --- a/includes/core/utils/migrations/class-migration-collection.php +++ b/includes/core/utils/migrations/class-migration-collection.php @@ -3,7 +3,7 @@ * Migrations: Collection * * @package SimplePay\Core\Utils\Migrations - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/migrations/class-migration.php b/includes/core/utils/migrations/class-migration.php index 3f3aa479..b91add60 100644 --- a/includes/core/utils/migrations/class-migration.php +++ b/includes/core/utils/migrations/class-migration.php @@ -3,7 +3,7 @@ * Migrations: Migration * * @package SimplePay\Core\Utils\Migrations - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/migrations/functions.php b/includes/core/utils/migrations/functions.php index 63fa7d6f..2947487d 100644 --- a/includes/core/utils/migrations/functions.php +++ b/includes/core/utils/migrations/functions.php @@ -3,7 +3,7 @@ * Migrations: Functions * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/migrations/register.php b/includes/core/utils/migrations/register.php index e6011f89..e5c6fe59 100644 --- a/includes/core/utils/migrations/register.php +++ b/includes/core/utils/migrations/register.php @@ -3,7 +3,7 @@ * Migrations: Register * * @package SimplePay\Core\Utils - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/includes/core/utils/migrations/routines/class-options-flattening.php b/includes/core/utils/migrations/routines/class-options-flattening.php index 2afbd347..496b2abe 100644 --- a/includes/core/utils/migrations/routines/class-options-flattening.php +++ b/includes/core/utils/migrations/routines/class-options-flattening.php @@ -3,7 +3,7 @@ * Routines: Options flattening. * * @package SimplePay\Core\Utils\Migrations - * @copyright Copyright (c) 2020, Sandhills Development, LLC + * @copyright Copyright (c) 2021, Sandhills Development, LLC * @license http://opensource.org/licenses/gpl-2.0.php GNU Public License * @since 4.0.0 */ diff --git a/lib/BerlinDB/Database/Table.php b/lib/BerlinDB/Database/Table.php index 0b1b0da6..21acbb4e 100644 --- a/lib/BerlinDB/Database/Table.php +++ b/lib/BerlinDB/Database/Table.php @@ -488,7 +488,7 @@ public function delete_all() { * * @return bool */ - public function clone( $new_table_name = '' ) { + public function _clone( $new_table_name = '' ) { // Get the database interface $db = $this->get_db(); diff --git a/lib/Interop/Container/ContainerInterface.php b/lib/Interop/Container/ContainerInterface.php new file mode 100644 index 00000000..410f58b4 --- /dev/null +++ b/lib/Interop/Container/ContainerInterface.php @@ -0,0 +1,15 @@ +getValue(); + continue; + } + + if (! is_string($arg)) { + continue; + } + + $container = $this->getContainer(); + + if (is_null($container) && $this instanceof ReflectionContainer) { + $container = $this; + } + + if (! is_null($container) && $container->has($arg)) { + $arg = $container->get($arg); + + if ($arg instanceof RawArgumentInterface) { + $arg = $arg->getValue(); + } + + continue; + } + } + + return $arguments; + } + + /** + * {@inheritdoc} + */ + public function reflectArguments(ReflectionFunctionAbstract $method, array $args = []) + { + $arguments = array_map(function (ReflectionParameter $param) use ($method, $args) { + $name = $param->getName(); + $class = $param->getClass(); + + if (array_key_exists($name, $args)) { + return $args[$name]; + } + + if (! is_null($class)) { + return $class->getName(); + } + + if ($param->isDefaultValueAvailable()) { + return $param->getDefaultValue(); + } + + throw new NotFoundException(sprintf( + 'Unable to resolve a value for parameter (%s) in the function/method (%s)', + $name, + $method->getName() + )); + }, $method->getParameters()); + + return $this->resolveArguments($arguments); + } + + /** + * @return \SimplePay\Vendor\League\Container\ContainerInterface + */ + abstract public function getContainer(); +} diff --git a/lib/League/Container/Argument/RawArgument.php b/lib/League/Container/Argument/RawArgument.php new file mode 100644 index 00000000..41a51b1e --- /dev/null +++ b/lib/League/Container/Argument/RawArgument.php @@ -0,0 +1,27 @@ +value = $value; + } + + /** + * {@inheritdoc} + */ + public function getValue() + { + return $this->value; + } +} diff --git a/lib/League/Container/Argument/RawArgumentInterface.php b/lib/League/Container/Argument/RawArgumentInterface.php new file mode 100644 index 00000000..fb563b60 --- /dev/null +++ b/lib/League/Container/Argument/RawArgumentInterface.php @@ -0,0 +1,13 @@ +providers = (is_null($providers)) + ? (new ServiceProviderAggregate)->setContainer($this) + : $providers->setContainer($this); + + $this->inflectors = (is_null($inflectors)) + ? (new InflectorAggregate)->setContainer($this) + : $inflectors->setContainer($this); + + $this->definitionFactory = (is_null($definitionFactory)) + ? (new DefinitionFactory)->setContainer($this) + : $definitionFactory->setContainer($this); + } + + /** + * {@inheritdoc} + */ + public function get($alias, array $args = []) + { + try { + return $this->getFromThisContainer($alias, $args); + } catch (NotFoundException $exception) { + if ($this->providers->provides($alias)) { + $this->providers->register($alias); + + return $this->getFromThisContainer($alias, $args); + } + + $resolved = $this->getFromDelegate($alias, $args); + + return $this->inflectors->inflect($resolved); + } + } + + /** + * {@inheritdoc} + */ + public function has($alias) + { + if (array_key_exists($alias, $this->definitions) || $this->hasShared($alias)) { + return true; + } + + if ($this->providers->provides($alias)) { + return true; + } + + return $this->hasInDelegate($alias); + } + + /** + * Returns a boolean to determine if the container has a shared instance of an alias. + * + * @param string $alias + * @param boolean $resolved + * @return boolean + */ + public function hasShared($alias, $resolved = false) + { + $shared = ($resolved === false) ? array_merge($this->shared, $this->sharedDefinitions) : $this->shared; + + return (array_key_exists($alias, $shared)); + } + + /** + * {@inheritdoc} + */ + public function add($alias, $concrete = null, $share = false) + { + unset($this->shared[$alias]); + unset($this->definitions[$alias]); + unset($this->sharedDefinitions[$alias]); + + if (is_null($concrete)) { + $concrete = $alias; + } + + $definition = $this->definitionFactory->getDefinition($alias, $concrete); + + if ($definition instanceof DefinitionInterface) { + if ($share === false) { + $this->definitions[$alias] = $definition; + } else { + $this->sharedDefinitions[$alias] = $definition; + } + + return $definition; + } + + // dealing with a value that cannot build a definition + $this->shared[$alias] = $concrete; + } + + /** + * {@inheritdoc} + */ + public function share($alias, $concrete = null) + { + return $this->add($alias, $concrete, true); + } + + /** + * {@inheritdoc} + */ + public function addServiceProvider($provider) + { + $this->providers->add($provider); + + return $this; + } + + /** + * {@inheritdoc} + */ + public function extend($alias) + { + if ($this->providers->provides($alias)) { + $this->providers->register($alias); + } + + if (array_key_exists($alias, $this->definitions)) { + return $this->definitions[$alias]; + } + + if (array_key_exists($alias, $this->sharedDefinitions)) { + return $this->sharedDefinitions[$alias]; + } + + throw new NotFoundException( + sprintf('Unable to extend alias (%s) as it is not being managed as a definition', $alias) + ); + } + + /** + * {@inheritdoc} + */ + public function inflector($type, callable $callback = null) + { + return $this->inflectors->add($type, $callback); + } + + /** + * {@inheritdoc} + */ + public function call(callable $callable, array $args = []) + { + return (new ReflectionContainer)->setContainer($this)->call($callable, $args); + } + + /** + * Delegate a backup container to be checked for services if it + * cannot be resolved via this container. + * + * @param \SimplePay\Vendor\Interop\Container\ContainerInterface $container + * @return $this + */ + public function delegate(InteropContainerInterface $container) + { + $this->delegates[] = $container; + + if ($container instanceof ImmutableContainerAwareInterface) { + $container->setContainer($this); + } + + return $this; + } + + /** + * Returns true if service is registered in one of the delegated backup containers. + * + * @param string $alias + * @return boolean + */ + public function hasInDelegate($alias) + { + foreach ($this->delegates as $container) { + if ($container->has($alias)) { + return true; + } + } + + return false; + } + + /** + * Attempt to get a service from the stack of delegated backup containers. + * + * @param string $alias + * @param array $args + * @return mixed + */ + protected function getFromDelegate($alias, array $args = []) + { + foreach ($this->delegates as $container) { + if ($container->has($alias)) { + return $container->get($alias, $args); + } + + continue; + } + + throw new NotFoundException( + sprintf('Alias (%s) is not being managed by the container', $alias) + ); + } + + /** + * Get a service that has been registered in this container. + * + * @param string $alias + * @param array $args + * @return mixed + */ + protected function getFromThisContainer($alias, array $args = []) + { + if ($this->hasShared($alias, true)) { + $shared = $this->inflectors->inflect($this->shared[$alias]); + if ($shared instanceof RawArgumentInterface) { + return $shared->getValue(); + } + return $shared; + } + + if (array_key_exists($alias, $this->sharedDefinitions)) { + $shared = $this->inflectors->inflect($this->sharedDefinitions[$alias]->build()); + $this->shared[$alias] = $shared; + return $shared; + } + + if (array_key_exists($alias, $this->definitions)) { + return $this->inflectors->inflect( + $this->definitions[$alias]->build($args) + ); + } + + throw new NotFoundException( + sprintf('Alias (%s) is not being managed by the container', $alias) + ); + } +} diff --git a/lib/League/Container/ContainerAwareInterface.php b/lib/League/Container/ContainerAwareInterface.php new file mode 100644 index 00000000..f5bc6071 --- /dev/null +++ b/lib/League/Container/ContainerAwareInterface.php @@ -0,0 +1,20 @@ +container = $container; + + return $this; + } + + /** + * Get the container. + * + * @return \SimplePay\Vendor\League\Container\ContainerInterface + */ + public function getContainer() + { + return $this->container; + } +} diff --git a/lib/League/Container/ContainerInterface.php b/lib/League/Container/ContainerInterface.php new file mode 100644 index 00000000..32c903af --- /dev/null +++ b/lib/League/Container/ContainerInterface.php @@ -0,0 +1,59 @@ +alias = $alias; + $this->concrete = $concrete; + } + + /** + * {@inheritdoc} + */ + public function withArgument($arg) + { + $this->arguments[] = $arg; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function withArguments(array $args) + { + foreach ($args as $arg) { + $this->withArgument($arg); + } + + return $this; + } +} diff --git a/lib/League/Container/Definition/CallableDefinition.php b/lib/League/Container/Definition/CallableDefinition.php new file mode 100644 index 00000000..2d6a3604 --- /dev/null +++ b/lib/League/Container/Definition/CallableDefinition.php @@ -0,0 +1,23 @@ +arguments : $args; + $resolved = $this->resolveArguments($args); + + if (is_array($this->concrete) && is_string($this->concrete[0])) { + $this->concrete[0] = ($this->getContainer()->has($this->concrete[0])) + ? $this->getContainer()->get($this->concrete[0]) + : $this->concrete[0]; + } + + return call_user_func_array($this->concrete, $resolved); + } +} diff --git a/lib/League/Container/Definition/ClassDefinition.php b/lib/League/Container/Definition/ClassDefinition.php new file mode 100644 index 00000000..066a8a1b --- /dev/null +++ b/lib/League/Container/Definition/ClassDefinition.php @@ -0,0 +1,67 @@ +methods[] = [ + 'method' => $method, + 'arguments' => $args + ]; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function withMethodCalls(array $methods = []) + { + foreach ($methods as $method => $args) { + $this->withMethodCall($method, $args); + } + + return $this; + } + + /** + * {@inheritdoc} + */ + public function build(array $args = []) + { + $args = (empty($args)) ? $this->arguments : $args; + $resolved = $this->resolveArguments($args); + $reflection = new ReflectionClass($this->concrete); + $instance = $reflection->newInstanceArgs($resolved); + + return $this->invokeMethods($instance); + } + + /** + * Invoke methods on resolved instance. + * + * @param object $instance + * @return object + */ + protected function invokeMethods($instance) + { + foreach ($this->methods as $method) { + $args = $this->resolveArguments($method['arguments']); + call_user_func_array([$instance, $method['method']], $args); + } + + return $instance; + } +} diff --git a/lib/League/Container/Definition/ClassDefinitionInterface.php b/lib/League/Container/Definition/ClassDefinitionInterface.php new file mode 100644 index 00000000..6e003560 --- /dev/null +++ b/lib/League/Container/Definition/ClassDefinitionInterface.php @@ -0,0 +1,23 @@ +setContainer($this->getContainer()); + } + + if (is_string($concrete) && class_exists($concrete)) { + return (new ClassDefinition($alias, $concrete))->setContainer($this->getContainer()); + } + + // if the item is not definable we just return the value to be stored + // in the container as an arbitrary value/instance + return $concrete; + } +} diff --git a/lib/League/Container/Definition/DefinitionFactoryInterface.php b/lib/League/Container/Definition/DefinitionFactoryInterface.php new file mode 100644 index 00000000..23f2a9d5 --- /dev/null +++ b/lib/League/Container/Definition/DefinitionFactoryInterface.php @@ -0,0 +1,17 @@ +container = $container; + + return $this; + } + + /** + * Get the container. + * + * @return \SimplePay\Vendor\League\Container\ImmutableContainerInterface + */ + public function getContainer() + { + return $this->container; + } +} diff --git a/lib/League/Container/ImmutableContainerInterface.php b/lib/League/Container/ImmutableContainerInterface.php new file mode 100644 index 00000000..a9f5e865 --- /dev/null +++ b/lib/League/Container/ImmutableContainerInterface.php @@ -0,0 +1,10 @@ +methods[$name] = $args; + + return $this; + } + + /** + * Defines multiple methods to be invoked on the subject object. + * + * @param array $methods + * @return $this + */ + public function invokeMethods(array $methods) + { + foreach ($methods as $name => $args) { + $this->invokeMethod($name, $args); + } + + return $this; + } + + /** + * Defines a property to be set on the subject object. + * + * @param string $property + * @param mixed $value + * @return $this + */ + public function setProperty($property, $value) + { + $this->properties[$property] = $value; + + return $this; + } + + /** + * Defines multiple properties to be set on the subject object. + * + * @param array $properties + * @return $this + */ + public function setProperties(array $properties) + { + foreach ($properties as $property => $value) { + $this->setProperty($property, $value); + } + + return $this; + } + + /** + * Apply inflections to an object. + * + * @param object $object + * @return void + */ + public function inflect($object) + { + $properties = $this->resolveArguments(array_values($this->properties)); + $properties = array_combine(array_keys($this->properties), $properties); + + foreach ($properties as $property => $value) { + $object->{$property} = $value; + } + + foreach ($this->methods as $method => $args) { + $args = $this->resolveArguments($args); + + call_user_func_array([$object, $method], $args); + } + } +} diff --git a/lib/League/Container/Inflector/InflectorAggregate.php b/lib/League/Container/Inflector/InflectorAggregate.php new file mode 100644 index 00000000..25d788b0 --- /dev/null +++ b/lib/League/Container/Inflector/InflectorAggregate.php @@ -0,0 +1,53 @@ +inflectors[$type] = $inflector; + + return $inflector; + } + + $this->inflectors[$type] = $callback; + } + + /** + * {@inheritdoc} + */ + public function inflect($object) + { + foreach ($this->inflectors as $type => $inflector) { + if (! $object instanceof $type) { + continue; + } + + if ($inflector instanceof Inflector) { + $inflector->setContainer($this->getContainer()); + $inflector->inflect($object); + continue; + } + + // must be dealing with a callable as the inflector + call_user_func_array($inflector, [$object]); + } + + return $object; + } +} diff --git a/lib/League/Container/Inflector/InflectorAggregateInterface.php b/lib/League/Container/Inflector/InflectorAggregateInterface.php new file mode 100644 index 00000000..fecb1a10 --- /dev/null +++ b/lib/League/Container/Inflector/InflectorAggregateInterface.php @@ -0,0 +1,25 @@ +has($alias)) { + throw new NotFoundException( + sprintf('Alias (%s) is not an existing class and therefore cannot be resolved', $alias) + ); + } + + $reflector = new ReflectionClass($alias); + $construct = $reflector->getConstructor(); + + if ($construct === null) { + return new $alias; + } + + return $reflector->newInstanceArgs( + $this->reflectArguments($construct, $args) + ); + } + + /** + * {@inheritdoc} + */ + public function has($alias) + { + return class_exists($alias); + } + + /** + * Invoke a callable via the container. + * + * @param callable $callable + * @param array $args + * @return mixed + */ + public function call(callable $callable, array $args = []) + { + if (is_string($callable) && strpos($callable, '::') !== false) { + $callable = explode('::', $callable); + } + + if (is_array($callable)) { + if (is_string($callable[0])) { + $callable[0] = $this->getContainer()->get($callable[0]); + } + + $reflection = new ReflectionMethod($callable[0], $callable[1]); + + if ($reflection->isStatic()) { + $callable[0] = null; + } + + return $reflection->invokeArgs($callable[0], $this->reflectArguments($reflection, $args)); + } + + if (is_object($callable)) { + $reflection = new ReflectionMethod($callable, '__invoke'); + + return $reflection->invokeArgs($callable, $this->reflectArguments($reflection, $args)); + } + + $reflection = new ReflectionFunction($callable); + + return $reflection->invokeArgs($this->reflectArguments($reflection, $args)); + } +} diff --git a/lib/League/Container/ServiceProvider/AbstractServiceProvider.php b/lib/League/Container/ServiceProvider/AbstractServiceProvider.php new file mode 100644 index 00000000..bf4b8edd --- /dev/null +++ b/lib/League/Container/ServiceProvider/AbstractServiceProvider.php @@ -0,0 +1,27 @@ +provides)); + } + + return $this->provides; + } +} diff --git a/lib/League/Container/ServiceProvider/AbstractSignatureServiceProvider.php b/lib/League/Container/ServiceProvider/AbstractSignatureServiceProvider.php new file mode 100644 index 00000000..00a26c58 --- /dev/null +++ b/lib/League/Container/ServiceProvider/AbstractSignatureServiceProvider.php @@ -0,0 +1,29 @@ +signature = $signature; + + return $this; + } + + /** + * {@inheritdoc} + */ + public function getSignature() + { + return (is_null($this->signature)) ? get_class($this) : $this->signature; + } +} diff --git a/lib/League/Container/ServiceProvider/BootableServiceProviderInterface.php b/lib/League/Container/ServiceProvider/BootableServiceProviderInterface.php new file mode 100644 index 00000000..8f46db5c --- /dev/null +++ b/lib/League/Container/ServiceProvider/BootableServiceProviderInterface.php @@ -0,0 +1,14 @@ +setContainer($this->getContainer()); + } + + if ($provider instanceof BootableServiceProviderInterface) { + $provider->boot(); + } + + if ($provider instanceof ServiceProviderInterface) { + foreach ($provider->provides() as $service) { + $this->providers[$service] = $provider; + } + + return $this; + } + + throw new \InvalidArgumentException( + 'A service provider must be a fully qualified class name or instance ' . + 'of (\SimplePay\Vendor\League\Container\ServiceProvider\ServiceProviderInterface)' + ); + } + + /** + * {@inheritdoc} + */ + public function provides($service) + { + return array_key_exists($service, $this->providers); + } + + /** + * {@inheritdoc} + */ + public function register($service) + { + if (! array_key_exists($service, $this->providers)) { + throw new \InvalidArgumentException( + sprintf('(%s) is not provided by a service provider', $service) + ); + } + + $provider = $this->providers[$service]; + $signature = get_class($provider); + + if ($provider instanceof SignatureServiceProviderInterface) { + $signature = $provider->getSignature(); + } + + // ensure that the provider hasn't already been invoked by any other service request + if (in_array($signature, $this->registered)) { + return; + } + + $provider->register(); + + $this->registered[] = $signature; + } +} diff --git a/lib/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php b/lib/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php new file mode 100644 index 00000000..0faa9879 --- /dev/null +++ b/lib/League/Container/ServiceProvider/ServiceProviderAggregateInterface.php @@ -0,0 +1,32 @@ +container property or the `getContainer` method + * from the ContainerAwareTrait. + * + * @return void + */ + public function register(); +} diff --git a/lib/League/Container/ServiceProvider/SignatureServiceProviderInterface.php b/lib/League/Container/ServiceProvider/SignatureServiceProviderInterface.php new file mode 100644 index 00000000..22baf00e --- /dev/null +++ b/lib/League/Container/ServiceProvider/SignatureServiceProviderInterface.php @@ -0,0 +1,24 @@ +provides property. + * + * Once we can use Container 4.x we can simply override ::provides(). + * + * @todo Remove when using Container 4.x + * @since 4.4.0 + * + * @param string $property Property name to retrieve. + * @return mixed + */ + public function __get( $property ) { + switch ( $property ) { + // Retrieves a merged list of services and subscribers. + case 'provides': + return $this->get_provides(); + default: + return $this->$property; + } + } + + /** + * Returns a list of services and subscribers that are provided. + * + * @since 4.4.0 + * + * @return string[] + */ + private function get_provides() { + return array_merge( + $this->get_services(), + $this->get_subscribers() + ); + } + + /** + * {@inheritdoc} + * + * @return bool|string[] + */ + public function provides( $id = null ) { + $provides = $this->get_provides(); + + // @todo Remove when using Container 4.x. + if ( null === $id ) { + return $provides; + } + + return in_array( $id, $provides, true ); + } + + /** + * Returns a list of services the service provider provides. + * + * @since 4.4.0 + * + * @return string[] + */ + abstract public function get_services(); + + /** + * Returns a list of subscribers the service provider provides. + * + * A subscriber is a subset of a standard service that is automatically resolved + * during each request. These are used for the WordPress plugin API. + * + * @since 4.4.0 + * + * @return string[] + */ + abstract public function get_subscribers(); + + /** + * {@inheritdoc} + */ + abstract public function register(); + +} diff --git a/src/Admin/Education/AbstractProductEducation.php b/src/Admin/Education/AbstractProductEducation.php new file mode 100644 index 00000000..31ea5f3b --- /dev/null +++ b/src/Admin/Education/AbstractProductEducation.php @@ -0,0 +1,69 @@ +license = $license; + } + + /** + * {@inheritdoc} + */ + public function get_upgrade_button_url( $utm_medium ) { + return simpay_pro_upgrade_url( $utm_medium ); + } + + /** + * {@inheritdoc} + */ + public function get_upgrade_button_text() { + if ( true === $this->license->is_lite() ) { + $text = __( 'Upgrade to WP Simple Pay Pro', 'simple-pay' ); + } else { + $text = __( 'Upgrade Now', 'simple-pay' ); + } + + return $text; + } + + /** + * {@inheritdoc} + */ + public function get_upgrade_button_subtext() { + return __( 'Special Upgrade Offer - Save 50%', 'simple-pay' ); + } + +} diff --git a/src/Admin/Education/DashboardWidget.php b/src/Admin/Education/DashboardWidget.php new file mode 100644 index 00000000..bcd6fac0 --- /dev/null +++ b/src/Admin/Education/DashboardWidget.php @@ -0,0 +1,73 @@ +widget = $widget; + } + + + /** + * {@inheritdoc} + */ + public function get_subscribed_events() { + return array( + 'wp_dashboard_setup' => 'register_widget', + ); + } + + + /** + * Registers the product education dashboard widget. + * + * @since 4.4.0 + * + * @return void + */ + public function register_widget() { + if ( false === $this->widget->can_register() ) { + return; + } + + wp_add_dashboard_widget( + $this->widget->get_id(), + $this->widget->get_name(), + array( $this->widget, 'render' ), + null, + $this->widget->get_args(), + $this->widget->get_context(), + $this->widget->get_priority() + ); + } + +} diff --git a/src/Admin/Education/EducationServiceProvider.php b/src/Admin/Education/EducationServiceProvider.php new file mode 100644 index 00000000..ad1f8ada --- /dev/null +++ b/src/Admin/Education/EducationServiceProvider.php @@ -0,0 +1,131 @@ +getContainer(); + + // Payment Forms: Stripe Connect + $container->share( + 'admin-education-payment-forms-stripe-connect', + PaymentFormsStripeConnect::class + ); + + // Payment Forms: First Form + $container->share( + 'admin-education-payment-forms-first-form', + PaymentFormsFirstForm::class + ); + + $license = $container->get( 'license' ); + + if ( $license instanceof LicenseInterface ) { + // Dashboard widget. + $widget = new ProductEducationDashboardWidget( $license ); + + $container->share( + 'admin-education-dashboard-widget', + DashboardWidget::class + ) + ->withArgument( $widget ); + + // "Email" settings teaser. + $container->share( + 'admin-education-plugin-email-settings', + PluginEmailSettings::class + ) + ->withArgument( $license ); + + // "Subscription Management" settings teaser. + $container->share( + 'admin-education-plugin-customers-settings', + PluginCustomersSettings::class + ) + ->withArgument( $license ); + + // "Taxes" settings teaser. + $container->share( + 'admin-education-plugin-taxes-settings', + PluginTaxesSettings::class + ) + ->withArgument( $license ); + + // "Coupons" menu item teaser. + $container->share( + 'admin-education-plugin-coupons', + PluginCouponMenuItem::class + ) + ->withArgument( $license ); + + // "Form Fields" payment form settings teaser. + $container->share( + 'admin-education-payment-form-settings', + PaymentFormSettings::class + ) + ->withArgument( $license ); + + // Settings upgrade promo. + $container->share( + 'admin-education-settings-upgrade', + SettingsUpgrade::class + ) + ->withArgument( $license ); + + // License settings upgrade promo. + $container->share( + 'admin-education-license-settings-upgrade', + PluginLicenseSettings::class + ) + ->withArgument( $license ); + } + } + +} diff --git a/src/Admin/Education/PaymentFormSettings.php b/src/Admin/Education/PaymentFormSettings.php new file mode 100644 index 00000000..ef0e5dc7 --- /dev/null +++ b/src/Admin/Education/PaymentFormSettings.php @@ -0,0 +1,200 @@ +license->is_lite() ) { + return array( + 'simpay_admin_after_form_display_options_rows' => + array( 'form_type', 20 ), + '__unstable_simpay_form_settings_lite_payment_amount' => + 'price_options', + 'simpay_form_settings_meta_form_display_panel' => 'form_fields', + 'simpay_admin_before_stripe_checkout_rows' => + 'payment_methods', + ); + } + + // Personal license. + if ( false === $this->license->is_pro( 'personal', '>' ) ) { + return array( + '__unstable_simpay_form_settings_pro_after_price_options' => + 'subscription_options', + ); + } + + // Non-Personal license. + return array(); + } + + /** + * Outputs the "Form Type" upsell CTA. + * + * @since 4.4.0 + * + * @return void + */ + public function form_type() { + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'simpay-form-settings-form-type-license-upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'form-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-payment-form-type-settings.php'; // @phpstan-ignore-line + } + + /** + * Outputs the "Price Options" upsell CTA. + * + * @since 4.4.0 + * + * @return void + */ + public function price_options() { + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'simpay-form-settings-payment-license-upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'form-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-payment-form-payment-settings.php'; // @phpstan-ignore-line + } + + /** + * Outputs the "Subscription Options" upsell CTA. + * + * @since 4.4.0 + * + * @return void + */ + public function subscription_options() { + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'license_subscription_upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'form-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + $activate_url = Settings\get_url( + array( + 'section' => 'license', + ) + ); + + $license_key = get_option( 'simpay_license_key', '' ); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-payment-form-subscription-settings.php'; // @phpstan-ignore-line + } + + /** + * Outputs the "Form Fields" upsell CTA. + * + * @since 4.4.0 + * + * @return void + */ + public function form_fields() { + $upgrade_url = $this->get_upgrade_button_url( 'form-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + $field_groups = Edit_Form\get_custom_fields_grouped(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-payment-form-form-field-settings.php'; // @phpstan-ignore-line + } + + /** + * Outputs the "Payment Methods" upsell CTA. + * + * @since 4.4.0 + * + * @return void + */ + public function payment_methods() { + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'simpay-form-settings-payment-methods-license-upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'form-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + $icons = array( + '', + '', + '', + '', + '', + '', + '', + '', + '', + ); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-payment-form-payment-method-settings.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Education/PaymentFormsFirstForm.php b/src/Admin/Education/PaymentFormsFirstForm.php new file mode 100644 index 00000000..b0b9daed --- /dev/null +++ b/src/Admin/Education/PaymentFormsFirstForm.php @@ -0,0 +1,69 @@ + 'maybe_show_guide', + ); + } + + /** + * Overrides the list table being loaded if there are no items. + * + * This is a relatively hacky way of doing this but removes the need + * to create a completely custom editing experience for the custom post type. + * + * `views_edit-simple-pay` is a filter that occurs before the list table is loaded. + * We can create a new instance of our custom table instance and if there are + * items available simply return the available views (post status filters, etc). + * + * If there are no items we override the global $wp_list_table with our custom + * implementation that replaces the table with onboarding information. + * + * @since 4.4.0 + * + * @param string[] $views List table views. + * @return string[] + */ + public function maybe_show_guide( $views ) { + if ( empty( simpay_get_secret_key() ) ) { + return $views; + } + + $list_table = new PaymentFormsFirstFormListTable(); + + if ( false === $list_table->has_items() ) { + global $wp_list_table; + + $wp_list_table = $list_table; + + return array(); + } + + return $views; + } + +} diff --git a/src/Admin/Education/PaymentFormsStripeConnect.php b/src/Admin/Education/PaymentFormsStripeConnect.php new file mode 100644 index 00000000..6487f047 --- /dev/null +++ b/src/Admin/Education/PaymentFormsStripeConnect.php @@ -0,0 +1,94 @@ + 'maybe_redirect_back', + 'views_edit-simple-pay' => 'maybe_setup_stripe', + ); + } + + /** + * Redirects users back to the main Payment Forms list page if there is no + * API secret key. + * + * @since 4.4.0 + * + * @return void + */ + public function maybe_redirect_back() { + global $pagenow; + + if ( + 'post-new.php' === $pagenow && + isset( $_GET['post_type'] ) && + 'simple-pay' === sanitize_key( $_GET['post_type'] ) && + empty( simpay_get_secret_key() ) + ) { + wp_safe_redirect( + add_query_arg( + array( + 'post_type' => 'simple-pay', + ), + admin_url( 'edit.php' ) + ) + ); + } + } + + /** + * Overrides the list table being loaded if there is no Stripe connection. + * + * This is a relatively hacky way of doing this but removes the need + * to create a completely custom editing experience for the custom post type. + * + * `views_edit-simple-pay` is a filter that occurs before the list table is loaded. + * We can create a new instance of our custom table instance and if there are + * items available simply return the available views (post status filters, etc). + * + * If there are no items we override the global $wp_list_table with our custom + * implementation that replaces the table with onboarding information. + * + * @since 4.4.0 + * + * @param string[] $views List table views. + * @return string[] + */ + public function maybe_setup_stripe( $views ) { + if ( ! empty( simpay_get_secret_key() ) ) { + return $views; + } + + $list_table = new PaymentFormsStripeConnectListTable(); + + global $wp_list_table; + + $wp_list_table = $list_table; + + return array(); + } + +} diff --git a/src/Admin/Education/PluginCouponMenuItem.php b/src/Admin/Education/PluginCouponMenuItem.php new file mode 100644 index 00000000..78e70495 --- /dev/null +++ b/src/Admin/Education/PluginCouponMenuItem.php @@ -0,0 +1,86 @@ +license->is_lite() ) { + return array(); + } + + return array( + 'admin_menu' => array( 'menu_item', 0 ), + ); + } + + /** + * Registers the "Coupons" menu item. + * + * @since 4.4.0 + * + * @return void + */ + public function menu_item() { + add_submenu_page( + 'edit.php?post_type=simple-pay', + __( 'Coupons', 'simple-pay' ), + __( 'Coupons', 'simple-pay' ), + 'manage_options', + 'simpay_coupons', + array( $this, 'upsell' ) + ); + } + + /** + * Outputs the "Taxes" feature upsell. + * + * @since 4.4.0 + * + * @return void + */ + public function upsell() { + // Lightweight, accessible and responsive lightbox. + wp_enqueue_style( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/css/vendor/lity/lity.min.css', // @phpstan-ignore-line + array(), + '3.0.0' + ); + + wp_enqueue_script( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/js/vendor/lity.min.js', // @phpstan-ignore-line + array( 'jquery' ), + '3.0.0', + true + ); + + $upgrade_url = $this->get_upgrade_button_url( 'coupons' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-plugin-coupons.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Education/PluginCustomersSettings.php b/src/Admin/Education/PluginCustomersSettings.php new file mode 100644 index 00000000..3be5e641 --- /dev/null +++ b/src/Admin/Education/PluginCustomersSettings.php @@ -0,0 +1,131 @@ +license->is_lite() || + false === $this->license->is_pro( 'personal', '>' ) + ) { + return array( + 'simpay_register_settings_sections' => 'register_section', + 'simpay_register_settings_subsections' => 'register_subsections', + 'simpay_admin_page_settings_customers_end' => 'upsell', + ); + } + + // Non-Personal Pro. + return array(); + } + + /** + * Registers the "Subscription Management" settings section (tab). + * + * @since 4.4.0 + * + * @param \SimplePay\Core\Settings\Section_Collection<\SimplePay\Core\Settings\Section> $sections Section collection. + * @return void + */ + function register_section( $sections ) { + $emails = new Settings\Section( + array( + 'id' => 'customers', + 'label' => esc_html_x( + 'Subscription Management', + 'settings subsection label', + 'simple-pay' + ), + 'priority' => 60, + ) + ); + + $sections->add( $emails ); + } + + /** + * Registers the "Subscription Management" settings subsections. + * + * @since 4.4.0 + * + * @param \SimplePay\Core\Settings\Subsection_Collection<\SimplePay\Core\Settings\Subsection> $subsections Subsections collection. + * @return void + */ + function register_subsections( $subsections ) { + // General. + $general = new Settings\Subsection( + array( + 'id' => 'general', + 'section' => 'emails', + 'label' => esc_html_x( + 'General', + 'settings subsection label', + 'simple-pay' + ), + ) + ); + + $subsections->add( $general ); + } + + /** + * Outputs the "Emails" feature upsell. + * + * @since 4.4.0 + * + * @return void + */ + public function upsell() { + add_filter( + 'simpay_admin_page_settings_customers_submit', + '__return_false' + ); + + // Lightweight, accessible and responsive lightbox. + wp_enqueue_style( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/css/vendor/lity/lity.min.css', // @phpstan-ignore-line + array(), + '3.0.0' + ); + + wp_enqueue_script( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/js/vendor/lity.min.js', // @phpstan-ignore-line + array( 'jquery' ), + '3.0.0', + true + ); + + $upgrade_url = $this->get_upgrade_button_url( 'global-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + $license = $this->license; + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-plugin-customers-settings.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Education/PluginEmailSettings.php b/src/Admin/Education/PluginEmailSettings.php new file mode 100644 index 00000000..1ae4b603 --- /dev/null +++ b/src/Admin/Education/PluginEmailSettings.php @@ -0,0 +1,179 @@ +license->is_lite() ) { + return array(); + } + + return array( + 'simpay_register_settings_sections' => 'register_section', + 'simpay_register_settings_subsections' => 'register_subsections', + 'simpay_admin_page_settings_emails_end' => 'upsell', + ); + } + + /** + * Registers the "Email" settings section (tab). + * + * @since 4.4.0 + * + * @param \SimplePay\Core\Settings\Section_Collection<\SimplePay\Core\Settings\Section> $sections Section collection. + * @return void + */ + function register_section( $sections ) { + $emails = new Settings\Section( + array( + 'id' => 'emails', + 'label' => esc_html_x( + 'Emails', + 'settings subsection label', + 'simple-pay' + ), + 'priority' => 60, + ) + ); + + $sections->add( $emails ); + } + + /** + * Registers the "Email" settings subsections. + * + * @since 4.4.0 + * + * @param \SimplePay\Core\Settings\Subsection_Collection<\SimplePay\Core\Settings\Subsection> $subsections Subsections collection. + * @return void + */ + function register_subsections( $subsections ) { + // General. + $general = new Settings\Subsection( + array( + 'id' => 'general', + 'section' => 'emails', + 'label' => esc_html_x( + 'General', + 'settings subsection label', + 'simple-pay' + ), + ) + ); + + $subsections->add( $general ); + + // Emails. + $emails = $this->get_registered_emails(); + + foreach ( $emails as $email_id => $email ) { + $subsection = new Settings\Subsection( + array( + 'id' => $email_id, + 'section' => 'emails', + 'label' => $email, + ) + ); + + $subsections->add( $subsection ); + } + } + + /** + * Outputs the "Emails" feature upsell. + * + * @since 4.4.0 + * + * @return void + */ + public function upsell() { + add_filter( + 'simpay_admin_page_settings_emails_submit', + '__return_false' + ); + + // Lightweight, accessible and responsive lightbox. + wp_enqueue_style( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/css/vendor/lity/lity.min.css', // @phpstan-ignore-line + array(), + '3.0.0' + ); + + wp_enqueue_script( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/js/vendor/lity.min.js', // @phpstan-ignore-line + array( 'jquery' ), + '3.0.0', + true + ); + + /** @var \SimplePay\Core\Settings\Subsection_Collection<\SimplePay\Core\Settings\Subsection> $subsections */ + $subsections = Utils\get_collection( 'settings-subsections' ); + $subsection = isset( $_GET['subsection'] ) + ? sanitize_text_field( $_GET['subsection'] ) + : 'general'; + + $title = __( '️📨 Customize Emails Receipts and More', 'simple-pay' ); + + if ( 'general' !== $subsection && $subsections->get_item( $subsection ) ) { + /** @var \SimplePay\Core\Settings\Subsection $obj */ + $obj = $subsections->get_item( $subsection ); + + if ( $obj instanceof \SimplePay\Core\Settings\Subsection ) { + $title = sprintf( + __( 'Customize the "%s" Email', 'simple-pay' ), + esc_html( $obj->label ) + ); + } + } + + $upgrade_url = $this->get_upgrade_button_url( 'global-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-plugin-email-settings.php'; // @phpstan-ignore-line + } + + /** + * Returns a list of registered emails. + * + * The true registry is not available in the Lite plugin, so we create a + * manual list here. + * + * @since 4.4.0 + * + * @return array + */ + private function get_registered_emails() { + return array( + 'payment-receipt' => __( 'Payment Confirmation', 'simple-pay' ), + 'payment-notification' => __( 'Payment Notification', 'simple-pay' ), + 'upcoming-invoice' => __( 'Upcoming Invoice', 'simple-pay' ), + ); + } + +} diff --git a/src/Admin/Education/PluginLicenseSettings.php b/src/Admin/Education/PluginLicenseSettings.php new file mode 100644 index 00000000..c81798c3 --- /dev/null +++ b/src/Admin/Education/PluginLicenseSettings.php @@ -0,0 +1,65 @@ + 'license_upgrade', + ); + } + + /** + * Outputs a license upgrade view if using Personal. + * + * @todo use a ViewLoader + * + * @since 4.4.0 + * + * @return void + */ + public function license_upgrade() { + if ( true === $this->license->is_pro( 'personal', '>' ) ) { + return; + } + + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'simpay-settings-pro-license-upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'global-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + include_once SIMPLE_PAY_DIR . 'views/admin-license-settings-upgrade.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Education/PluginTaxesSettings.php b/src/Admin/Education/PluginTaxesSettings.php new file mode 100644 index 00000000..f66cfe59 --- /dev/null +++ b/src/Admin/Education/PluginTaxesSettings.php @@ -0,0 +1,108 @@ +license->is_lite() ) { + return array(); + } + + return array( + 'simpay_register_settings_subsections' => 'register_subsections', + 'simpay_admin_page_settings_general_end' => 'upsell', + ); + } + + /** + * Registers the "Taxes" settings subsections. + * + * @since 4.4.0 + * + * @param \SimplePay\Core\Settings\Subsection_Collection<\SimplePay\Core\Settings\Subsection> $subsections Subsections collection. + * @return void + */ + function register_subsections( $subsections ) { + $taxes = new Settings\Subsection( + array( + 'id' => 'taxes', + 'section' => 'general', + 'label' => esc_html_x( + 'Taxes', + 'settings subsection label', + 'simple-pay' + ), + 'priority' => 20, + ) + ); + + $subsections->add( $taxes ); + } + + /** + * Outputs the "Taxes" feature upsell. + * + * @since 4.4.0 + * + * @return void + */ + public function upsell() { + $subsection = isset( $_GET['subsection'] ) + ? sanitize_text_field( $_GET['subsection'] ) + : false; + + if ( false === $subsection || 'taxes' !== $subsection ) { + return; + } + + add_filter( + 'simpay_admin_page_settings_general_submit', + '__return_false' + ); + + // Lightweight, accessible and responsive lightbox. + wp_enqueue_style( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/css/vendor/lity/lity.min.css', // @phpstan-ignore-line + array(), + '3.0.0' + ); + + wp_enqueue_script( + 'simpay-lity', + SIMPLE_PAY_INC_URL . 'core/assets/js/vendor/lity.min.js', // @phpstan-ignore-line + array( 'jquery' ), + '3.0.0', + true + ); + + $upgrade_url = $this->get_upgrade_button_url( 'global-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-education-plugin-taxes-settings.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Education/ProductEducationInterface.php b/src/Admin/Education/ProductEducationInterface.php new file mode 100644 index 00000000..a04ff4c7 --- /dev/null +++ b/src/Admin/Education/ProductEducationInterface.php @@ -0,0 +1,49 @@ + 'settings_upgrade', + ); + } + + /** + * Outputs a settings upgrade view if using Lite. + * + * @todo use a ViewLoader + * + * @since 4.4.0 + * + * @return void + */ + public function settings_upgrade() { + if ( false === $this->license->is_lite() ) { + return; + } + + // Dismissed temporary notice. + $dismissed_notice = (bool) Persistent_Dismissible::get( + array( + 'id' => 'simpay-settings-license-upgrade', + ) + ); + + if ( true === $dismissed_notice ) { + return; + } + + if ( false === $this->display_upgrade_notice() ) { + return; + } + + $upgrade_url = $this->get_upgrade_button_url( 'global-settings' ); + $upgrade_text = $this->get_upgrade_button_text(); + $upgrade_subtext = $this->get_upgrade_button_subtext(); + + include_once SIMPLE_PAY_DIR . 'views/admin-settings-upgrade.php'; // @phpstan-ignore-line + } + + /** + * Determines if the upgrade notice should be displayed. + * + * @since 4.4.0 + * + * @return bool + */ + private function display_upgrade_notice() { + $blocklist = $this->get_settings_display_blocklist(); + + $section = isset( $_GET['tab'] ) + ? sanitize_text_field( $_GET['tab'] ) + : 'general'; + + $subsection = isset( $_GET['subsection'] ) + ? sanitize_text_field( $_GET['subsection'] ) + : 'general'; + + // Tab (section) is in the blocklist. + if ( true === array_key_exists( $section, $blocklist ) ) { + + if ( + empty( $blocklist[ $section ] ) || // Empty subsections, block all. + in_array( $subsection, $blocklist[ $section ], true ) // Block specific subsection. + ) { + return false; + } + } + + return true; + } + + /** + * Returns a list of settings tabs (sections) and subtabs (subsections) that + * should not show the upgrade notice. These tabs already have a feature teaser/upsell. + * + * @since 4.4.0 + * + * @return array> + */ + private function get_settings_display_blocklist() { + return array( + 'general' => array( 'taxes' ), + 'emails' => array(), + 'customers' => array(), + ); + } + +} diff --git a/src/Admin/ListTable/PaymentFormsFirstFormListTable.php b/src/Admin/ListTable/PaymentFormsFirstFormListTable.php new file mode 100644 index 00000000..33392eac --- /dev/null +++ b/src/Admin/ListTable/PaymentFormsFirstFormListTable.php @@ -0,0 +1,45 @@ +has_items() ) { + parent::display(); + } else { + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-payment-forms-first-form.php'; // @phpstan-ignore-line + } + } + +} diff --git a/src/Admin/ListTable/PaymentFormsStripeConnectListTable.php b/src/Admin/ListTable/PaymentFormsStripeConnectListTable.php new file mode 100644 index 00000000..b905dc79 --- /dev/null +++ b/src/Admin/ListTable/PaymentFormsStripeConnectListTable.php @@ -0,0 +1,41 @@ + 'add_page_branding', + ); + } + + /** + * Outputs a WP Simple Pay branding bar if we are on a plugin page. + * + * @since 4.4.0 + * + * @return void + */ + public function add_page_branding() { + $current_screen = get_current_screen(); + + // Not on a WP Simple Pay page, show nothing. + if ( + false === isset( $current_screen->post_type ) || + 'simple-pay' !== $current_screen->post_type + ) { + return; + } + + // @todo use a ViewLoader + include_once SIMPLE_PAY_DIR . '/views/admin-branding-bar.php'; // @phpstan-ignore-line + } + +} diff --git a/src/Admin/Page/AdminPageServiceProvider.php b/src/Admin/Page/AdminPageServiceProvider.php new file mode 100644 index 00000000..e787c86e --- /dev/null +++ b/src/Admin/Page/AdminPageServiceProvider.php @@ -0,0 +1,49 @@ +getContainer(); + + // Admin branding. + $container->share( 'admin-branding', AdminBranding::class ); + } + +} diff --git a/src/DashboardWidget/AbstractDashboardWidget.php b/src/DashboardWidget/AbstractDashboardWidget.php new file mode 100644 index 00000000..aff8aa7d --- /dev/null +++ b/src/DashboardWidget/AbstractDashboardWidget.php @@ -0,0 +1,60 @@ + + */ + public function get_args(); + + /** + * Outputs the dashboard widget's content. + * + * @since 4.4.0 + * + * @return void + */ + public function render(); + +} diff --git a/src/DashboardWidget/ProductEducationDashboardWidget.php b/src/DashboardWidget/ProductEducationDashboardWidget.php new file mode 100644 index 00000000..bd189cc1 --- /dev/null +++ b/src/DashboardWidget/ProductEducationDashboardWidget.php @@ -0,0 +1,137 @@ +license = $license; + } + + /** + * {@inheritdoc} + */ + public function can_register() { + return ( + true === $this->should_display_stripe_connect() || + true === $this->should_display_first_form() || + true === $this->should_display_lite_upgrade() + ); + } + + /** + * {@inheritdoc} + */ + public function get_id() { + return 'simpay-product-education'; + } + + /** + * {@inheritdoc} + */ + public function get_name() { + return 'WP Simple Pay'; + } + + /** + * {@inheritdoc} + */ + public function get_args() { + return array(); + } + + /** + * Determines if the widget should display the Stripe Connect view. + * + * @since 4.4.0 + * + * @return bool + */ + public function should_display_stripe_connect() { + return empty( simpay_get_secret_key() ); + } + + /** + * Determines if the widget should display the first form view. + * + * @since 4.4.0 + * + * @return bool + */ + public function should_display_first_form() { + $forms = array_map( 'intval', (array) wp_count_posts( 'simple-pay' ) ); + + return 0 === $forms['publish']; + } + + /** + * Determines if the widget should display the Lite upgrade view. + * + * @since 4.4.0 + * + * @return bool + */ + public function should_display_lite_upgrade() { + return $this->license->is_lite(); + } + + /** + * {@inheritdoc} + * + * @todo use a ViewLoader + */ + public function render() { + // No Stripe connection. + if ( true === $this->should_display_stripe_connect() ) { + include_once SIMPLE_PAY_DIR . 'views/admin-dashboard-widget-stripe-connect.php'; // @phpstan-ignore-line + + return; + } + + // No payment forms. + if ( true === $this->should_display_first_form() ) { + include_once SIMPLE_PAY_DIR . 'views/admin-dashboard-widget-first-form.php'; // @phpstan-ignore-line + + return; + } + + // Lite upgrade. + if ( true === $this->should_display_lite_upgrade() ) { + include_once SIMPLE_PAY_DIR . 'views/admin-dashboard-widget-lite-upgrade.php'; // @phpstan-ignore-line + + return; + } + } + +} diff --git a/src/EventManagement/EventManager.php b/src/EventManagement/EventManager.php new file mode 100644 index 00000000..bb251361 --- /dev/null +++ b/src/EventManagement/EventManager.php @@ -0,0 +1,214 @@ +get_subscribed_events(); + + if ( empty( $events ) ) { + return; + } + + foreach ( $events as $hook_name => $parameters ) { + $this->add_subscriber_callback( + $subscriber, + $hook_name, + $parameters + ); + } + } + + /** + * Removes an event subscriber. + * + * @since 4.4.0 + * + * @param SubscriberInterface $subscriber SubscriberInterface implementation. + * @return void + */ + public function remove_subscriber( SubscriberInterface $subscriber ) { + $events = $subscriber->get_subscribed_events(); + + if ( empty( $events ) ) { + return; + } + + foreach ( $events as $hook_name => $parameters ) { + $this->remove_subscriber_callback( + $subscriber, + $hook_name, + $parameters + ); + } + } + + /** + * Adds a callback to a specific hook of the WordPress plugin API. + * + * @since 4.4.0 + * + * @param string $hook_name Name of the hook. + * @param callable $callback Callback function. + * @param int $priority Optional. Callback priority. Default 10. + * @param int $accepted_args Optional. Number of arguments the callback accepts. Default 1. + * @return void + */ + public function add_callback( + $hook_name, + $callback, + $priority = 10, + $accepted_args = 1 + ) { + add_filter( $hook_name, $callback, $priority, $accepted_args ); + } + + /** + * Checks the WordPress plugin API to see if the given hook has the given callback. + * + * @since 4.4.0 + * + * @param string $hook_name Hook name. + * @param callable|false $callback Optional. Callback function. + * @return int|bool If callback is omitted, returns boolean for whether the hook has anything registered. + * When checking a specific function, the priority of that hook is returned, or false + * if the function is not attached. + */ + public function has_callback( $hook_name, $callback = false ) { + return has_filter( $hook_name, $callback ); + } + + /** + * Removes the given callback from the given hook. + * + * @since 4.4.0 + * + * @param string $hook_name Hook name. + * @param callable $callback Callback. + * @param int $priority Optional. Callback priority. Default 10. + * @return bool Whether the function existed before it was removed. + */ + public function remove_callback( $hook_name, $callback, $priority = 10 ) { + return remove_filter( $hook_name, $callback, $priority ); + } + + /** + * Adds the given subscriber's callback to a specific hook. + * + * @since 4.4.0 + * + * @param SubscriberInterface $subscriber Subscriber_Interface implementation. + * @param string $hook_name Hook name. + * @param mixed $parameters Event parameters. Accepts a string, array, or a multidimensional array. + * @return void + */ + private function add_subscriber_callback( + SubscriberInterface $subscriber, + $hook_name, + $parameters + ) { + if ( is_string( $parameters ) ) { + $callback = array( $subscriber, $parameters ); + + if ( is_callable( $callback ) ) { + $this->add_callback( $hook_name, $callback ); + } + } elseif ( + is_array( $parameters ) && + count( $parameters ) !== count( $parameters, COUNT_RECURSIVE ) + ) { + foreach ( $parameters as $parameter ) { + $this->add_subscriber_callback( + $subscriber, + $hook_name, + $parameter + ); + } + } elseif ( is_array( $parameters ) && isset( $parameters[0] ) ) { + $callback = array( $subscriber, $parameters[0] ); + + if ( is_callable( $callback ) ) { + $this->add_callback( + $hook_name, + $callback, + isset( $parameters[1] ) + ? $parameters[1] + : 10, + isset( $parameters[2] ) + ? $parameters[2] + : 1 + ); + } + } + } + + /** + * Removes the given subscriber's callback to a specific hook. + * + * @since 4.4.0 + * + * @param SubscriberInterface $subscriber SubscriberInterface implementation. + * @param string $hook_name Hook name. + * @param mixed $parameters Event parameters. Accepts a string, array, or a multidimensional array. + * @return void + */ + private function remove_subscriber_callback( + SubscriberInterface $subscriber, + $hook_name, + $parameters + ) { + if ( is_string( $parameters ) ) { + $callback = array( $subscriber, $parameters ); + + if ( is_callable( $callback ) ) { + $this->remove_callback( $hook_name, $callback ); + } + } elseif ( + is_array( $parameters ) && + count( $parameters ) !== count( $parameters, COUNT_RECURSIVE ) + ) { + foreach ( $parameters as $parameter ) { + $this->remove_subscriber_callback( + $subscriber, + $hook_name, + $parameter + ); + } + } elseif ( is_array( $parameters ) && isset( $parameters[0] ) ) { + $callback = array( $subscriber, $parameters[0] ); + + if ( is_callable( $callback ) ) { + $this->remove_callback( + $hook_name, + $callback, + isset( $parameters[1] ) + ? $parameters[1] + : 10 + ); + } + } + } +} diff --git a/src/EventManagement/SubscriberInterface.php b/src/EventManagement/SubscriberInterface.php new file mode 100644 index 00000000..d7baa4c7 --- /dev/null +++ b/src/EventManagement/SubscriberInterface.php @@ -0,0 +1,47 @@ + 'method_name' ) + * * array( 'hook_name' => array( 'method_name', $priority ) ) + * * array( 'hook_name' => array( 'method_name', $priority, $accepted_args ) ) + * * array( 'hook_name' => array( + * array( 'method_name_1', $priority_1, $accepted_args_1 ) ), + * array( 'method_name_2', $priority_2, $accepted_args_2 ) ) + * ) + * + * @since 4.4.0 + * + * @return array> + */ + public function get_subscribed_events(); + +} diff --git a/src/License/AbstractLicense.php b/src/License/AbstractLicense.php new file mode 100644 index 00000000..a00e976e --- /dev/null +++ b/src/License/AbstractLicense.php @@ -0,0 +1,98 @@ +get_status(); + } + + /** + * {@inheritdoc} + */ + public function is_lite() { + return ! class_exists( '\SimplePay\Pro\SimplePayPro', false ); + } + + /** + * {@inheritdoc} + */ + public function is_pro( $tier = 'personal', $comparison = '>=' ) { + // Lite. + if ( $this->is_lite() ) { + return false; + } + + $price_id = $this->get_price_id(); + + // No price ID is found, assume Personal. + if ( null === $price_id ) { + return false; + } + + $price_id = (string) $price_id; + + switch ( $tier ) { + case 'personal': + return version_compare( $price_id, '1', $comparison ); + case 'plus': + return version_compare( $price_id, '2', $comparison ); + case 'professional': + return version_compare( $price_id, '3', $comparison ); + case 'ultimate': + return version_compare( $price_id, '4', $comparison ); + default: + return false; + } + } +} diff --git a/src/License/License.php b/src/License/License.php new file mode 100644 index 00000000..9775cc24 --- /dev/null +++ b/src/License/License.php @@ -0,0 +1,218 @@ +key = $key; + } + + /** + * {@inheritdoc} + */ + public function get_customer_email() { + if ( $this->email ) { + return $this->email; + } + + $data = $this->get_license_data(); + + if ( isset( $data->customer_email ) ) { + $this->email = $data->customer_email; + } + + return $this->email; + } + + /** + * {@inheritdoc} + */ + public function get_customer_name() { + if ( $this->name ) { + return $this->name; + } + + $data = $this->get_license_data(); + + if ( isset( $data->customer_name ) ) { + $this->name = $data->customer_name; + } + + return $this->name; + } + + /** + * {@inheritdoc} + */ + public function get_item_id() { + if ( $this->item_id ) { + return $this->item_id; + } + + $data = $this->get_license_data(); + + if ( isset( $data->item_id ) ) { + $this->item_id = (int) $data->item_id; + } + + return $this->item_id; + } + + /** + * {@inheritdoc} + */ + public function get_price_id() { + if ( $this->price_id ) { + return $this->price_id; + } + + $data = $this->get_license_data(); + + if ( isset( $data->price_id ) ) { + $this->price_id = (int) $data->price_id; + } + + return $this->price_id; + } + + /** + * {@inheritdoc} + */ + public function get_expiration() { + if ( $this->expiration ) { + return $this->expiration; + } + + $data = $this->get_license_data(); + + if ( isset( $data->expiration ) ) { + $this->expiration = $data->expiration; + } + + return $this->expiration; + } + + /** + * {@inheritdoc} + */ + public function get_status() { + if ( $this->status ) { + return $this->status; + } + + $data = $this->get_license_data(); + + if ( isset( $data->license ) ) { + $this->status = $data->license; + } + + return $this->status; + } + + /** + * Returns the license data from the cache or remote response. + * + * @since 4.4.0 + * + * @return object + */ + private function get_license_data() { + $license_data = get_option( 'simpay_license_data', '' ); + + if ( empty( $license_data ) ) { + return new stdClass; + } + + /** @var object $license_data */ + return $license_data; + } + +} diff --git a/src/License/LicenseInterface.php b/src/License/LicenseInterface.php new file mode 100644 index 00000000..615aaaa6 --- /dev/null +++ b/src/License/LicenseInterface.php @@ -0,0 +1,104 @@ +'|'>=' $comparison Tier comparision. Default greater or equal to. + * @return bool + */ + public function is_pro( $tier = 'personal', $comparison = '>=' ); + +} diff --git a/src/License/LicenseServiceProvider.php b/src/License/LicenseServiceProvider.php new file mode 100644 index 00000000..ac30d256 --- /dev/null +++ b/src/License/LicenseServiceProvider.php @@ -0,0 +1,68 @@ +getContainer(); + + // License. + $container->share( 'license', License::class ) + ->withArgument( $this->get_license_key() ); + } + + /** + * Returns the install's license key; set via constant or option. + * + * @since 4.4.0 + * + * @return string + */ + private function get_license_key() { + if ( true === defined( 'SIMPLE_PAY_LICENSE_KEY' ) ) { + $key = SIMPLE_PAY_LICENSE_KEY; + } else { + $key = get_option( 'simpay_license_key', '' ); + } + + /** @var string $key */ + return trim( $key ); + } + +} diff --git a/src/Plugin.php b/src/Plugin.php new file mode 100644 index 00000000..3898abb0 --- /dev/null +++ b/src/Plugin.php @@ -0,0 +1,155 @@ +file = $file; + } + + /** + * Loads the plugin on the plugins_loaded hook. + * + * @since 4.4.0 + * + * @return void + */ + public function load() { + // Run slightly early to gain access to legacy registries. + add_action( 'plugins_loaded', array( $this, 'register' ), 5 ); + } + + /** + * Sets up and returns the basic container instance. + * + * This is separate from the registration of service providers and subscribers + * to allow modifications to the container to be made before said items are executed. + * + * @since 4.4.0 + * + * @return \SimplePay\Core\PluginContainer + */ + public function setup_container() { + $this->container = new PluginContainer; + + // Event management. + $this->container->share( + 'event-manager', + EventManagement\EventManager::class + ); + + return $this->container; + } + + /** + * Registers the plugin's service providers and subscribers. + * + * @since 4.4.0 + * + * @return \SimplePay\Core\PluginContainer + */ + public function register() { + if ( ! $this->container instanceof PluginContainer ) { + $this->container = $this->setup_container(); + } + + // Register service providers. + foreach ( $this->get_service_providers() as $service_provider ) { + $this->container->addServiceProvider( $service_provider ); + } + + // Find event manager. + $events = $this->container->get( 'event-manager' ); + + if ( ! $events instanceof EventManager ) { + return $this->container; + } + + // Attach service provider subscribers to the event manager. + foreach ( $this->get_service_providers() as $service_provider ) { + if ( ! $service_provider instanceof AbstractPluginServiceProvider ) { + continue; + } + + /** @var \SimplePay\Core\AbstractPluginServiceProvider $service_provider */ + $subscribers = $service_provider->get_subscribers(); + + foreach ( $subscribers as $subscriber_id ) { + $subscriber = $this->container->get( $subscriber_id ); + + if ( $subscriber instanceof SubscriberInterface ) { + $events->add_subscriber( $subscriber ); + } + } + } + + return $this->container; + } + + /** + * Retrieves service providers for the derived context. + * + * @since 4.4.0 + * + * @return \SimplePay\Vendor\League\Container\ServiceProvider\ServiceProviderInterface[] + */ + private function get_service_providers() { + $service_providers = array( + new License\LicenseServiceProvider, + ); + + if ( is_admin() ) { + $admin_service_providers = array( + new Admin\Education\EducationServiceProvider, + new Admin\Page\AdminPageServiceProvider, + new License\LicenseServiceProvider, + ); + + return array_merge( $admin_service_providers, $service_providers ); + } + + return $service_providers; + } + +} diff --git a/src/PluginContainer.php b/src/PluginContainer.php new file mode 100644 index 00000000..509f65bd --- /dev/null +++ b/src/PluginContainer.php @@ -0,0 +1,23 @@ +load(); } else { - SimplePay\Core\Bootstrap\Compatibility\show_admin_notices(); + Compatibility\show_admin_notices(); } } else { diff --git a/vendor/autoload.php b/vendor/autoload.php index 741b000c..5412db1d 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInit7f9f7659b1399c1ab86af601b8831ccb::getLoader(); +return ComposerAutoloaderInit9ac30b47f82bedb0e5541d9fa58e089e::getLoader(); diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 1ae184c4..673094b6 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -6,6 +6,12 @@ $baseDir = dirname($vendorDir); return array( + 'Stripe\\' => array($vendorDir . '/stripe/stripe-php/lib'), 'SimplePay\\Vendor\\Stripe\\' => array($baseDir . '/lib/Stripe/lib'), 'SimplePay\\Vendor\\' => array($baseDir . '/lib'), + 'SimplePay\\Core\\' => array($baseDir . '/src'), + 'Psr\\Container\\' => array($vendorDir . '/psr/container/src'), + 'League\\Container\\' => array($vendorDir . '/league/container/src'), + 'Interop\\Container\\' => array($vendorDir . '/container-interop/container-interop/src/Interop/Container'), + 'BerlinDB\\' => array($vendorDir . '/berlindb/core/src'), ); diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index abb59032..6c28547a 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInit7f9f7659b1399c1ab86af601b8831ccb +class ComposerAutoloaderInit9ac30b47f82bedb0e5541d9fa58e089e { private static $loader; @@ -22,15 +22,15 @@ public static function getLoader() return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInit7f9f7659b1399c1ab86af601b8831ccb', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInit9ac30b47f82bedb0e5541d9fa58e089e', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInit7f9f7659b1399c1ab86af601b8831ccb', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInit9ac30b47f82bedb0e5541d9fa58e089e', 'loadClassLoader')); $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded()); if ($useStaticLoader) { require __DIR__ . '/autoload_static.php'; - call_user_func(\Composer\Autoload\ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInit9ac30b47f82bedb0e5541d9fa58e089e::getInitializer($loader)); } else { $map = require __DIR__ . '/autoload_namespaces.php'; foreach ($map as $namespace => $path) { diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 9cae1458..ce9b5015 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,17 +4,39 @@ namespace Composer\Autoload; -class ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb +class ComposerStaticInit9ac30b47f82bedb0e5541d9fa58e089e { public static $prefixLengthsPsr4 = array ( 'S' => array ( + 'Stripe\\' => 7, 'SimplePay\\Vendor\\Stripe\\' => 24, 'SimplePay\\Vendor\\' => 17, + 'SimplePay\\Core\\' => 15, + ), + 'P' => + array ( + 'Psr\\Container\\' => 14, + ), + 'L' => + array ( + 'League\\Container\\' => 17, + ), + 'I' => + array ( + 'Interop\\Container\\' => 18, + ), + 'B' => + array ( + 'BerlinDB\\' => 9, ), ); public static $prefixDirsPsr4 = array ( + 'Stripe\\' => + array ( + 0 => __DIR__ . '/..' . '/stripe/stripe-php/lib', + ), 'SimplePay\\Vendor\\Stripe\\' => array ( 0 => __DIR__ . '/../..' . '/lib/Stripe/lib', @@ -23,6 +45,26 @@ class ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb array ( 0 => __DIR__ . '/../..' . '/lib', ), + 'SimplePay\\Core\\' => + array ( + 0 => __DIR__ . '/../..' . '/src', + ), + 'Psr\\Container\\' => + array ( + 0 => __DIR__ . '/..' . '/psr/container/src', + ), + 'League\\Container\\' => + array ( + 0 => __DIR__ . '/..' . '/league/container/src', + ), + 'Interop\\Container\\' => + array ( + 0 => __DIR__ . '/..' . '/container-interop/container-interop/src/Interop/Container', + ), + 'BerlinDB\\' => + array ( + 0 => __DIR__ . '/..' . '/berlindb/core/src', + ), ); public static $classMap = array ( @@ -32,9 +74,9 @@ class ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInit7f9f7659b1399c1ab86af601b8831ccb::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInit9ac30b47f82bedb0e5541d9fa58e089e::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInit9ac30b47f82bedb0e5541d9fa58e089e::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInit9ac30b47f82bedb0e5541d9fa58e089e::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index 183dbd64..c38cbabe 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -33,6 +33,181 @@ }, "install-path": "../berlindb/core" }, + { + "name": "container-interop/container-interop", + "version": "1.2.0", + "version_normalized": "1.2.0.0", + "source": { + "type": "git", + "url": "https://github.com/container-interop/container-interop.git", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/container-interop/container-interop/zipball/79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "reference": "79cbf1341c22ec75643d841642dd5d6acd83bdb8", + "shasum": "" + }, + "require": { + "psr/container": "^1.0" + }, + "time": "2017-02-14T19:40:03+00:00", + "type": "library", + "installation-source": "dist", + "autoload": { + "psr-4": { + "Interop\\Container\\": "src/Interop/Container/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "description": "Promoting the interoperability of container objects (DIC, SL, etc.)", + "homepage": "https://github.com/container-interop/container-interop", + "support": { + "issues": "https://github.com/container-interop/container-interop/issues", + "source": "https://github.com/container-interop/container-interop/tree/master" + }, + "abandoned": "psr/container", + "install-path": "../container-interop/container-interop" + }, + { + "name": "league/container", + "version": "2.5.0", + "version_normalized": "2.5.0.0", + "source": { + "type": "git", + "url": "https://github.com/thephpleague/container.git", + "reference": "8438dc47a0674e3378bcce893a0a04d79a2c22b3" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/thephpleague/container/zipball/8438dc47a0674e3378bcce893a0a04d79a2c22b3", + "reference": "8438dc47a0674e3378bcce893a0a04d79a2c22b3", + "shasum": "" + }, + "require": { + "container-interop/container-interop": "^1.2", + "php": "^5.4 || ^7.0 || ^8.0" + }, + "provide": { + "container-interop/container-interop-implementation": "^1.2", + "psr/container-implementation": "^1.0" + }, + "replace": { + "orno/di": "~2.0" + }, + "require-dev": { + "phpunit/phpunit": "^4.8.36", + "scrutinizer/ocular": "^1.3", + "squizlabs/php_codesniffer": "^3.5" + }, + "time": "2021-02-22T09:20:06+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-2.x": "2.x-dev", + "dev-1.x": "1.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "League\\Container\\": "src" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "Phil Bennett", + "email": "philipobenito@gmail.com", + "homepage": "http://www.philipobenito.com", + "role": "Developer" + } + ], + "description": "A fast and intuitive dependency injection container.", + "homepage": "https://github.com/thephpleague/container", + "keywords": [ + "container", + "dependency", + "di", + "injection", + "league", + "provider", + "service" + ], + "support": { + "issues": "https://github.com/thephpleague/container/issues", + "source": "https://github.com/thephpleague/container/tree/2.5.0" + }, + "funding": [ + { + "url": "https://github.com/philipobenito", + "type": "github" + } + ], + "install-path": "../league/container" + }, + { + "name": "psr/container", + "version": "1.0.0", + "version_normalized": "1.0.0.0", + "source": { + "type": "git", + "url": "https://github.com/php-fig/container.git", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f" + }, + "dist": { + "type": "zip", + "url": "https://api.github.com/repos/php-fig/container/zipball/b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "reference": "b7ce3b176482dbbc1245ebf52b181af44c2cf55f", + "shasum": "" + }, + "require": { + "php": ">=5.3.0" + }, + "time": "2017-02-14T16:28:37+00:00", + "type": "library", + "extra": { + "branch-alias": { + "dev-master": "1.0.x-dev" + } + }, + "installation-source": "dist", + "autoload": { + "psr-4": { + "Psr\\Container\\": "src/" + } + }, + "notification-url": "https://packagist.org/downloads/", + "license": [ + "MIT" + ], + "authors": [ + { + "name": "PHP-FIG", + "homepage": "http://www.php-fig.org/" + } + ], + "description": "Common Container Interface (PHP FIG PSR-11)", + "homepage": "https://github.com/php-fig/container", + "keywords": [ + "PSR-11", + "container", + "container-interface", + "container-interop", + "psr" + ], + "support": { + "issues": "https://github.com/php-fig/container/issues", + "source": "https://github.com/php-fig/container/tree/master" + }, + "install-path": "../psr/container" + }, { "name": "stripe/stripe-php", "version": "v7.97.0", @@ -98,6 +273,6 @@ "install-path": "../stripe/stripe-php" } ], - "dev": false, + "dev": true, "dev-package-names": [] } diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 3671348b..508aaa14 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -5,9 +5,9 @@ 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '5ccd1dd72a5b782633260fe83ca59a14d32d3a60', + 'reference' => '7874c73e0c72fbd2ce3ccb04ddedae38c36e397d', 'name' => 'wpsimplepay/wp-simple-pay-lite', - 'dev' => false, + 'dev' => true, ), 'versions' => array( 'berlindb/core' => array( @@ -19,6 +19,51 @@ 'reference' => '52f07e192b484d201d668daef0ba290df5836ecb', 'dev_requirement' => false, ), + 'container-interop/container-interop' => array( + 'pretty_version' => '1.2.0', + 'version' => '1.2.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../container-interop/container-interop', + 'aliases' => array(), + 'reference' => '79cbf1341c22ec75643d841642dd5d6acd83bdb8', + 'dev_requirement' => false, + ), + 'container-interop/container-interop-implementation' => array( + 'dev_requirement' => false, + 'provided' => array( + 0 => '^1.2', + ), + ), + 'league/container' => array( + 'pretty_version' => '2.5.0', + 'version' => '2.5.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../league/container', + 'aliases' => array(), + 'reference' => '8438dc47a0674e3378bcce893a0a04d79a2c22b3', + 'dev_requirement' => false, + ), + 'orno/di' => array( + 'dev_requirement' => false, + 'replaced' => array( + 0 => '~2.0', + ), + ), + 'psr/container' => array( + 'pretty_version' => '1.0.0', + 'version' => '1.0.0.0', + 'type' => 'library', + 'install_path' => __DIR__ . '/../psr/container', + 'aliases' => array(), + 'reference' => 'b7ce3b176482dbbc1245ebf52b181af44c2cf55f', + 'dev_requirement' => false, + ), + 'psr/container-implementation' => array( + 'dev_requirement' => false, + 'provided' => array( + 0 => '^1.0', + ), + ), 'stripe/stripe-php' => array( 'pretty_version' => 'v7.97.0', 'version' => '7.97.0.0', @@ -34,7 +79,7 @@ 'type' => 'wordpress-plugin', 'install_path' => __DIR__ . '/../../', 'aliases' => array(), - 'reference' => '5ccd1dd72a5b782633260fe83ca59a14d32d3a60', + 'reference' => '7874c73e0c72fbd2ce3ccb04ddedae38c36e397d', 'dev_requirement' => false, ), ), diff --git a/views/admin-branding-bar.php b/views/admin-branding-bar.php new file mode 100644 index 00000000..9c2ec926 --- /dev/null +++ b/views/admin-branding-bar.php @@ -0,0 +1,55 @@ + + +
+
+ + / +
+
+ + diff --git a/views/admin-dashboard-widget-first-form.php b/views/admin-dashboard-widget-first-form.php new file mode 100644 index 00000000..5ff0acaf --- /dev/null +++ b/views/admin-dashboard-widget-first-form.php @@ -0,0 +1,69 @@ + 'simple-pay', + ), + admin_url( 'post-new.php' ) +); +?> + +
+ +

+ +

+ +

+ +

+ +

+ + + + + + + +

+ +
diff --git a/views/admin-dashboard-widget-lite-upgrade.php b/views/admin-dashboard-widget-lite-upgrade.php new file mode 100644 index 00000000..9a546991 --- /dev/null +++ b/views/admin-dashboard-widget-lite-upgrade.php @@ -0,0 +1,46 @@ + + +
+ +

+ +

+ +

+ +

+ +

+ + + +

+ +
diff --git a/views/admin-dashboard-widget-stripe-connect.php b/views/admin-dashboard-widget-stripe-connect.php new file mode 100644 index 00000000..cb46cd83 --- /dev/null +++ b/views/admin-dashboard-widget-stripe-connect.php @@ -0,0 +1,57 @@ + + +
+ +

+ +

+ +

+ +

+ +

+ + + + + + + + + +

+ +
diff --git a/views/admin-education-payment-form-form-field-settings.php b/views/admin-education-payment-form-form-field-settings.php new file mode 100644 index 00000000..1851b595 --- /dev/null +++ b/views/admin-education-payment-form-form-field-settings.php @@ -0,0 +1,67 @@ +>> $field_groups List of grouped fields. + */ + +?> + +
+
+

+ +

+ +

+ tag, do not translate. %2$s Closing tag, do not translate. */ + __( + 'Collect as little or as much data as you need on your payment forms. Add a variety of field types to capture more data for each payment record: %1$snumbers, dates, checkboxes, drop-downs and more%2$s.', + 'simple-pay' + ), + '', + '' + ), + array( + 'strong' => array(), + ) + ); + ?> +

+ + + + + + + + +
+ +
+ +
+
diff --git a/views/admin-education-payment-form-payment-method-settings.php b/views/admin-education-payment-form-payment-method-settings.php new file mode 100644 index 00000000..1a6267bf --- /dev/null +++ b/views/admin-education-payment-form-payment-method-settings.php @@ -0,0 +1,75 @@ + + + + +
+
+

+ +

+ +

+ tag, do not translate. %2$s Closing tag, do not translate. */ + __( + 'Increase conversions by offering customers the ability to pay in multiple payment methods such as %1$sACH Debit, iDEAL, Alipay, SEPA Direct Debit, Bancontact, giropay and more.%2$s', + 'simple-pay' + ), + '', + '' + ), + array( + 'strong' => array(), + ) + ); + ?> +

+ +
+ +
+ +
+ +
+ + + + + + +
+ +
+ + + +
+
+ + diff --git a/views/admin-education-payment-form-payment-settings.php b/views/admin-education-payment-form-payment-settings.php new file mode 100644 index 00000000..75077d02 --- /dev/null +++ b/views/admin-education-payment-form-payment-settings.php @@ -0,0 +1,64 @@ + + +
+
+
+

+ +

+ +

+ tag, do not translate. %2$s Closing tag, do not translate. */ + __( + 'Allow customers to choose between multiple price options, currencies, and more. Accept %1$srecurring payments%2$s, create installment plans, charge setup fees, and include free trials.', + 'simple-pay' + ), + '', + '' + ), + array( + 'strong' => array(), + ) + ); + ?> +

+ + + + + + +
+ +
+ + + +
+
+
diff --git a/views/admin-education-payment-form-subscription-settings.php b/views/admin-education-payment-form-subscription-settings.php new file mode 100644 index 00000000..0523da14 --- /dev/null +++ b/views/admin-education-payment-form-subscription-settings.php @@ -0,0 +1,109 @@ + + +
+
+
+ +

+ +

+ +

+ ', + esc_url( $upgrade_url ) + ), + '' + ), + array( + 'a' => array( + 'href' => true, + 'rel' => true, + 'target' => true, + ), + ) + ); + ?> +

+ +
+ + + + + +
+ +
+ +
+ + +

+ + ', + esc_url( $activate_url ) + ), + '' + ), + array( + 'a' => array( + 'href' => true, + ), + ) + ); + ?> + +

+ + + +
+
+
diff --git a/views/admin-education-payment-form-type-settings.php b/views/admin-education-payment-form-type-settings.php new file mode 100644 index 00000000..16ba2365 --- /dev/null +++ b/views/admin-education-payment-form-type-settings.php @@ -0,0 +1,68 @@ + + + + +
+
+
+

+ +

+ +

+ tag, do not translate. %2$s Closing tag, do not translate. */ + __( + 'Keep customers on-site with payment forms %1$sembedded%2$s directly on your website or inside of an %1$soverlay%2$s.', + 'simple-pay' + ), + '', + '' + ), + array( + 'strong' => array(), + ) + ); + ?> +

+ + + + + + +
+ +
+ + + +
+
+
+ + diff --git a/views/admin-education-plugin-coupons.php b/views/admin-education-plugin-coupons.php new file mode 100644 index 00000000..ebb163f1 --- /dev/null +++ b/views/admin-education-plugin-coupons.php @@ -0,0 +1,75 @@ + + +
+

+ +

+
+ +
+ +

+ +

+ +

+ +

+ +
+
+ <?php echo esc_attr( 'Add new coupon', 'simple-pay' ); ?> + +
+ +
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ +
diff --git a/views/admin-education-plugin-customers-settings.php b/views/admin-education-plugin-customers-settings.php new file mode 100644 index 00000000..eff330a7 --- /dev/null +++ b/views/admin-education-plugin-customers-settings.php @@ -0,0 +1,123 @@ + + +
+ +

+ +

+ +

+ ', + Utils\get_external_link_markup() . '' + ), + array( + 'sup' => array(), + 'a' => array( + 'href' => true, + 'class' => true, + 'target' => true, + 'rel' => true, + ), + 'span' => array( + 'class' => 'screen-reader-text', + ), + ) + ); + ?> +

+ +
+
+ <?php echo esc_attr( 'Payment Receipt settings', 'simple-pay' ); ?> + +
+ +
    +
  • + ', + Utils\get_external_link_markup() . '' + ), + array( + 'a' => array( + 'href' => true, + 'class' => true, + 'target' => true, + 'rel' => true, + ), + 'span' => array( + 'class' => 'screen-reader-text', + ), + ) + ); + ?> +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+ +
+ + + + + +
+ +
+ +
+ +
+ +
+
+
+ +
diff --git a/views/admin-education-plugin-email-settings.php b/views/admin-education-plugin-email-settings.php new file mode 100644 index 00000000..97b7727b --- /dev/null +++ b/views/admin-education-plugin-email-settings.php @@ -0,0 +1,68 @@ + + +
+ +

+ +

+ +

+ +

+ +
+
+ <?php echo esc_attr( 'Payment Receipt settings', 'simple-pay' ); ?> + +
+ +
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+ +
+ + + + + +
+ +
+ +
+ +
diff --git a/views/admin-education-plugin-taxes-settings.php b/views/admin-education-plugin-taxes-settings.php new file mode 100644 index 00000000..dda64879 --- /dev/null +++ b/views/admin-education-plugin-taxes-settings.php @@ -0,0 +1,67 @@ + + +
+ +

+ +

+ +

+ +

+ +
+
+ <?php echo esc_attr( 'Tax settings', 'simple-pay' ); ?> + +
+ +
    +
  • + +
  • +
  • + +
  • +
  • + +
  • +
  • + +
  • +
+
+ +
+ + + + + +
+ +
+ +
+ +
diff --git a/views/admin-license-settings-upgrade.php b/views/admin-license-settings-upgrade.php new file mode 100644 index 00000000..1363cb63 --- /dev/null +++ b/views/admin-license-settings-upgrade.php @@ -0,0 +1,85 @@ + + +
+
+ +

+ +

+ + +

+ +

+ +
    +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
+ + + + +
+ + +
diff --git a/views/admin-payment-forms-first-form.php b/views/admin-payment-forms-first-form.php new file mode 100644 index 00000000..474c1f4c --- /dev/null +++ b/views/admin-payment-forms-first-form.php @@ -0,0 +1,95 @@ + 'simple-pay', + ), + admin_url( 'post-new.php' ) +); +?> + + + +
+ +

+ +

+ +

+ + + +

+ +

+ +

+ +
+ +
+ +
+ + + +
+ +
+ + ', + Utils\get_external_link_markup() . '' + ), + array( + 'a' => array( + 'href' => true, + 'class' => true, + 'target' => true, + 'rel' => true, + ), + 'span' => array( + 'class' => true, + ), + ) + ); + ?> +
+ +
diff --git a/views/admin-payment-forms-stripe-connect.php b/views/admin-payment-forms-stripe-connect.php new file mode 100644 index 00000000..b6384a3b --- /dev/null +++ b/views/admin-payment-forms-stripe-connect.php @@ -0,0 +1,86 @@ + + + + +
+ +

+ +

+ +

+ + + +

+ +

+ +

+ +
+ + + + + +
+ +
+ + ', + Utils\get_external_link_markup() . '' + ), + array( + 'a' => array( + 'href' => true, + 'class' => true, + 'target' => true, + 'rel' => true, + ), + 'span' => array( + 'class' => true, + ), + ) + ); + ?> +
+ +
diff --git a/views/admin-settings-upgrade.php b/views/admin-settings-upgrade.php new file mode 100644 index 00000000..5ed45ea3 --- /dev/null +++ b/views/admin-settings-upgrade.php @@ -0,0 +1,91 @@ + + +
+
+ +

+ +

+ + +

+ +

+ +
    +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
  • +
    + +
  • +
+ + + + +
+ + +