Plugin Directory

Changeset 3219088


Ignore:
Timestamp:
01/08/2025 02:36:19 PM (14 months ago)
Author:
speedify
Message:

Version 4.5.0 release

Location:
auto-install-free-ssl
Files:
301 added
24 edited

Legend:

Unmodified
Added
Removed
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/AcmeV2.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    7070    private $accountKeyDetails;
    7171
     72    public $key_size;
     73
     74    public $certificatesDir;
     75
    7276    /**
    7377     * Initiates the Let's Encrypt main class.
     
    102106        $this->factory = $factory;
    103107        $this->certificatesDir = $factory->getCertificatesDir();
    104         $this->accountKeyPath = $this->certificatesDir . DS . '_account' . DS . 'private.pem';
    105         $this->kid = ( is_file( \dirname( $this->accountKeyPath ) . DS . 'kid.txt' ) ? file_get_contents( \dirname( $this->accountKeyPath ) . DS . 'kid.txt' ) : '' );
     108        $this->accountKeyPath = $this->certificatesDir . AIFS_DS . '_account' . AIFS_DS . 'private.pem';
     109        $this->kid = ( is_file( \dirname( $this->accountKeyPath ) . AIFS_DS . 'kid.txt' ) ? file_get_contents( \dirname( $this->accountKeyPath ) . AIFS_DS . 'kid.txt' ) : '' );
    106110        $this->dns_provider = $dns_provider;
    107111        $this->cPanel = $cPanel;
     
    293297        json_encode( $challenge );
    294298        $payload = $value['http-01']['payload'];
    295         $uri = "http://{$domain}/.well-known/acme-challenge/" . $challenge['token'];
     299        $uri = "http://" . $domain . "/.well-known/acme-challenge/" . $challenge['token'];
    296300        $web_root_dir = $this->get_web_root_dir( $domain );
    297301        if ( !$this->factory->verify_internally_http_wp( $payload, $uri ) ) {
    298302            $this->logger->log( __( "1st Internal Validation:", 'auto-install-free-ssl' ) . " " . __( "Payload content does not match the challenge URI's content.", 'auto-install-free-ssl' ) );
    299303            //Create htaccess rules in .well-known directory to fix the issue
    300             if ( $this->factory->fix_htaccess_challenge_dir( $web_root_dir . DS . '.well-known' ) ) {
     304            if ( $this->factory->fix_htaccess_challenge_dir( $web_root_dir . AIFS_DS . '.well-known' ) ) {
    301305                $this->logger->log( __( ".htaccess rules have been created successfully in the '.well-known' directory.", 'auto-install-free-ssl' ) );
    302306            } else {
     
    353357        }
    354358        //Loop to check TXT propagation status
    355         if ( $dns_provider['dns_provider_takes_longer_to_propagate'] ) {
     359        if ( $dns_provider !== false && is_array( $dns_provider ) && $dns_provider['dns_provider_takes_longer_to_propagate'] ) {
     360            // @since 4.5.0
    356361            $this->logger->log( __( "Now check whether the TXT record has been propagated.", 'auto-install-free-ssl' ) );
    357362            $propagated = false;
     
    489494                if ( !aifs_is_free_version() && 'http-01' === $challenge_type ) {
    490495                    $web_root_dir = $this->get_web_root_dir( $domain );
    491                     $directory = $web_root_dir . DS . '.well-known' . DS . 'acme-challenge';
    492                     $tokenPath = $directory . DS . $challenge['token'];
     496                    $directory = $web_root_dir . AIFS_DS . '.well-known' . AIFS_DS . 'acme-challenge';
     497                    $tokenPath = $directory . AIFS_DS . $challenge['token'];
    493498                    if ( @unlink( $tokenPath ) ) {
    494499                        $this->logger->log( __( "Deleted challenge file", 'auto-install-free-ssl' ) . ": " . $tokenPath );
     
    533538        $this->factory->generateKey( $domainPath, $this->key_size );
    534539        // load domain key
    535         $privateDomainKey = $this->factory->readPrivateKey( $domainPath . DS . 'private.pem' );
    536         $csr = ( $reuseCsr && is_file( $domainPath . DS . 'csr_last.csr' ) ? $this->factory->getCsrContent( $domainPath . DS . 'csr_last.csr' ) : $this->factory->generateCSR( $privateDomainKey, $domains, $this->key_size ) );
     540        $privateDomainKey = $this->factory->readPrivateKey( $domainPath . AIFS_DS . 'private.pem' );
     541        $csr = ( $reuseCsr && is_file( $domainPath . AIFS_DS . 'csr_last.csr' ) ? $this->factory->getCsrContent( $domainPath . AIFS_DS . 'csr_last.csr' ) : $this->factory->generateCSR( $privateDomainKey, $domains, $this->key_size ) );
    537542        // request certificates creation
    538543        $result = $this->signedRequestV2( $return_array_step1['response']['finalize'], [
     
    585590            } else {
    586591                $this->logger->log( __( "Saving Certificate (CRT) certificate.pem", 'auto-install-free-ssl' ) );
    587                 file_put_contents( $domainPath . DS . 'certificate.pem', $certificates[0] );
     592                file_put_contents( $domainPath . AIFS_DS . 'certificate.pem', $certificates[0] );
    588593                $this->logger->log( __( "Saving (CABUNDLE) cabundle.pem", 'auto-install-free-ssl' ) );
    589594                //unset($certificates[0]);
    590                 //file_put_contents($domainPath.DS.'cabundle.pem', implode( "\n\n", $certificates ));
    591                 file_put_contents( $domainPath . DS . 'cabundle.pem', $certificates[1] );
     595                //file_put_contents($domainPath.AIFS_DS.'cabundle.pem', implode( "\n\n", $certificates ));
     596                file_put_contents( $domainPath . AIFS_DS . 'cabundle.pem', $certificates[1] );
    592597                //this method doesn't include the 3rd certificate, if any
    593598                $this->logger->log( __( "Saving fullchain.pem", 'auto-install-free-ssl' ) );
    594                 file_put_contents( $domainPath . DS . 'fullchain.pem', $result );
     599                file_put_contents( $domainPath . AIFS_DS . 'fullchain.pem', $result );
    595600                /* translators: "Let's Encrypt" is a nonprofit SSL certificate authority. */
    596601                $this->logger->log_v2( 'SUCCESS', __( "Done!!!! Let's Encrypt™ ACME V2 SSL certificate successfully issued!!", 'auto-install-free-ssl' ), [
     
    754759     *
    755760     *
    756      * @return type
     761     * @return string
    757762     */
    758763    private function getLastNonce() {
    759         if ( preg_match( '~Replay\\-Nonce: (.+)~i', $this->client->lastHeader, $matches ) ) {
     764        if ( !is_null( $this->client->lastHeader ) && preg_match( '~Replay\\-Nonce: (.+)~i', $this->client->lastHeader, $matches ) ) {
    760765            return trim( $matches[1] );
    761766        }
     
    771776    public function registerNewAcmeAccount() {
    772777        //check if the account key exist
    773         if ( !is_file( $this->accountKeyPath ) || strlen( $this->kid ) < 10 || !is_file( \dirname( $this->accountKeyPath ) . DS . 'public.pem' ) ) {
     778        if ( !is_file( $this->accountKeyPath ) || strlen( $this->kid ) < 10 || !is_file( \dirname( $this->accountKeyPath ) . AIFS_DS . 'public.pem' ) ) {
    774779            // generate and save new private key for the account
    775780            $this->logger->log( __( "Starting new account registration", 'auto-install-free-ssl' ) );
     
    781786                $this->logger->log( 'kid: ' . $this->kid );
    782787                //Save the kid in a text file
    783                 if ( file_put_contents( \dirname( $this->accountKeyPath ) . DS . 'kid.txt', $this->kid ) !== false ) {
     788                if ( file_put_contents( \dirname( $this->accountKeyPath ) . AIFS_DS . 'kid.txt', $this->kid ) !== false ) {
    784789                    $this->logger->log( __( "Congrats! A new account has been registered successfully.", 'auto-install-free-ssl' ) );
    785790                    $return_array['proceed'] = true;
     
    804809                //Delete the key files as the registration failed
    805810                if ( is_file( $this->accountKeyPath ) ) {
    806                     unlink( \dirname( $this->accountKeyPath ) . DS . 'private.pem' );
    807                     unlink( \dirname( $this->accountKeyPath ) . DS . 'public.pem' );
     811                    unlink( \dirname( $this->accountKeyPath ) . AIFS_DS . 'private.pem' );
     812                    unlink( \dirname( $this->accountKeyPath ) . AIFS_DS . 'public.pem' );
    808813                }
    809814                if ( $this->logger->is_cli() ) {
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/Base64UrlSafeEncoder.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/Client.php

    r3162795 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    188188     */
    189189    public function getLastLocation() {
    190         if ( preg_match( '~Location: (.+)~i', $this->lastHeader, $matches ) ) {
     190        if ( !is_null( $this->lastHeader ) && preg_match( '~Location: (.+)~i', $this->lastHeader, $matches ) ) {
    191191            return trim( $matches[1] );
    192192        }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/ClientInterface.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Acme/Factory.php

    r3129566 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    123123    public function getCertificatesDir() {
    124124        $acme_dir_name = 'acme_v' . $this->acme_version;
    125         return ( $this->is_staging ? $this->certificatesBase . DS . $acme_dir_name . DS . 'staging' : $this->certificatesBase . DS . $acme_dir_name . DS . 'live' );
     125        return ( $this->is_staging ? $this->certificatesBase . AIFS_DS . $acme_dir_name . AIFS_DS . 'staging' : $this->certificatesBase . AIFS_DS . $acme_dir_name . AIFS_DS . 'live' );
    126126    }
    127127
     
    140140            $domain = substr( $domain, 4 );
    141141        }
    142         return $this->getCertificatesDir() . DS . $domain . DS;
     142        return $this->getCertificatesDir() . AIFS_DS . $domain . AIFS_DS;
    143143    }
    144144
     
    155155        $verified_dir = false;
    156156        foreach ( $domains_array as $domain ) {
    157             if ( is_file( $certificates_directory . DS . $domain . DS . 'certificate.pem' ) ) {
    158                 $verified_dir = $certificates_directory . DS . $domain . DS;
     157            if ( is_file( $certificates_directory . AIFS_DS . $domain . AIFS_DS . 'certificate.pem' ) ) {
     158                $verified_dir = $certificates_directory . AIFS_DS . $domain . AIFS_DS;
    159159                break;
    160160            }
     
    194194        ];
    195195        if ( aifs_is_os_windows() ) {
    196             $config['config'] = __DIR__ . DS . 'openssl.cnf';
     196            $config['config'] = __DIR__ . AIFS_DS . 'openssl.cnf';
    197197        }
    198198        $res = openssl_pkey_new( $config );
     
    233233            //since 3.6.1, Don't translate exception message.
    234234        }
    235         file_put_contents( $outputDirectory . DS . 'private.pem', $privateKey );
    236         file_put_contents( $outputDirectory . DS . 'public.pem', $details['key'] );
     235        file_put_contents( $outputDirectory . AIFS_DS . 'private.pem', $privateKey );
     236        file_put_contents( $outputDirectory . AIFS_DS . 'public.pem', $details['key'] );
    237237    }
    238238
     
    279279            'CN' => $domain,
    280280        ];
    281         if ( \strlen( $this->countryCode ) > 0 ) {
     281        if ( !is_null( $this->countryCode ) && \strlen( $this->countryCode ) > 0 ) {
    282282            $dn['C'] = $this->countryCode;
    283283        }
    284         if ( \strlen( $this->state ) > 0 ) {
     284        if ( !is_null( $this->state ) && \strlen( $this->state ) > 0 ) {
    285285            $dn['ST'] = $this->state;
    286286        }
    287         if ( \strlen( $this->organization ) > 0 ) {
     287        if ( !is_null( $this->organization ) && \strlen( $this->organization ) > 0 ) {
    288288            $dn['O'] = $this->organization;
    289289        }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/AdminNotice.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    3333 */
    3434class AdminNotice {
     35    private static $instance;
     36
     37    // @since 4.5.0, to keep track of its initialization
    3538    public $factory;
    3639
     
    4548    /**
    4649     * Start up
    47      */
    48     public function __construct() {
     50     * Private constructor to prevent multiple instantiations @since 4.5.0
     51     */
     52    private function __construct() {
    4953        if ( !defined( 'ABSPATH' ) ) {
    5054            die( __( "Access denied", 'auto-install-free-ssl' ) );
     
    121125
    122126    /**
     127     * This method ensures that only one instance of the class is created.
     128     * @since 4.5.0
     129     * @return AdminNotice
     130     */
     131    public static function getInstance() {
     132        if ( !isset( self::$instance ) ) {
     133            self::$instance = new self();
     134        }
     135        return self::$instance;
     136    }
     137
     138    /**
    123139     * Display Admin notice.
    124140     * Improved since 3.6.0
     
    127143     */
    128144    public function aifs_display_admin_notice() {
     145        if ( isset( $_GET['action'] ) && $_GET['action'] == "upload-plugin" ) {
     146            return;
     147        }
    129148        $admin_notice_text = get_option( 'aifs_admin_notice_if_cpanel_connection_fails' );
    130149        if ( !empty( trim( $admin_notice_text ) ) ) {
     
    215234                $renew_url = menu_page_url( 'aifs_generate_ssl_manually', false );
    216235                $remind_later = wp_nonce_url( $this->page_url, 'aifs_renew_ssl_later', 'aifsrenewssllater' );
    217                 $generate_ssl = new GenerateSSLmanually();
     236                //$generate_ssl = new GenerateSSLmanually();
     237                $generate_ssl = GenerateSSLmanually::getInstance();
    218238                $renew_button_text = __( "Renew SSL Now", 'auto-install-free-ssl' );
    219239                /* translators: %s: A date, e.g., December 30, 2023. */
     
    444464            update_option( 'aifs_display_review', 0 );
    445465            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsrated'] ) );
     466            exit;
    446467        } else {
    447468            if ( isset( $_GET['aifslater'] ) ) {
     
    452473                wp_schedule_single_event( strtotime( "+5 days", time() ), 'aifs_display_review_init' );
    453474                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifslater'] ) );
     475                exit;
    454476            }
    455477        }
     
    461483            update_option( 'aifs_display_free_premium_offer', 0 );
    462484            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsannouncementdone'] ) );
     485            exit;
    463486        } else {
    464487            if ( isset( $_GET['aifsannouncementlater'] ) ) {
     
    469492                wp_schedule_single_event( strtotime( "+3 days", time() ), 'aifs_display_announcement_init' );
    470493                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsannouncementlater'] ) );
     494                exit;
    471495            }
    472496        }
     
    478502            update_option( 'aifs_renew_ssl_later_requested_timestamp', time() );
    479503            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsrenewssllater'] ) );
     504            exit;
    480505        }
    481506        //Discount offer to existing users
     
    486511            update_option( 'aifs_display_discount_offer_existing_users', 0 );
    487512            wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsdiscountofferdone'] ) );
     513            exit;
    488514        } else {
    489515            if ( isset( $_GET['aifsdiscountofferlater'] ) ) {
     
    494520                wp_schedule_single_event( strtotime( "+3 days", time() ), 'aifs_display_discount_offer_init' );
    495521                wp_redirect( $this->factory->aifs_remove_parameters_from_url( $this->page_url, ['aifsdiscountofferlater'] ) );
     522                exit;
    496523            }
    497524        }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/Factory.php

    r3137635 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    9292            $domain = basename( $dir );
    9393            if ( '_account' !== $domain ) {
    94                 //@todo add ->  && is_file($dir . DS . 'certificate.pem')
     94                //@todo add ->  && is_file($dir . AIFS_DS . 'certificate.pem')
    9595                $ssl_domains[] = $domain;
    9696            }
     
    114114        }
    115115        if ( !function_exists( 'aifs_findRegisteredDomain' ) && !function_exists( 'aifs_getRegisteredDomain' ) && !function_exists( 'aifs_validDomainPart' ) ) {
    116             require_once AIFS_DIR . DS . 'vendor' . DS . 'usrflo' . DS . 'registered-domain-libs' . DS . 'PHP' . DS . 'effectiveTLDs.inc.php';
    117             require_once AIFS_DIR . DS . 'vendor' . DS . 'usrflo' . DS . 'registered-domain-libs' . DS . 'PHP' . DS . 'regDomain.inc.php';
     116            require_once AIFS_DIR . AIFS_DS . 'vendor' . AIFS_DS . 'usrflo' . AIFS_DS . 'registered-domain-libs' . AIFS_DS . 'PHP' . AIFS_DS . 'effectiveTLDs.inc.php';
     117            require_once AIFS_DIR . AIFS_DS . 'vendor' . AIFS_DS . 'usrflo' . AIFS_DS . 'registered-domain-libs' . AIFS_DS . 'PHP' . AIFS_DS . 'regDomain.inc.php';
    118118        }
    119119        $app_settings = aifs_get_app_settings();
     
    634634     */
    635635    public function set_ssl_parent_directory() {
    636         $pos_public_html = strpos( AIFS_DIR, DS . 'public_html' );
     636        $pos_public_html = strpos( AIFS_DIR, AIFS_DS . 'public_html' );
    637637        if ( isset( $_SERVER['HOME'] ) && is_writable( $_SERVER['HOME'] ) ) {
    638638            return $_SERVER['HOME'];
     
    655655        } elseif ( is_writable( $this->document_root_wp() ) ) {
    656656            $document_root = $this->document_root_wp();
    657             $pos_public_html = strpos( $document_root, DS . 'public_html' );
     657            $pos_public_html = strpos( $document_root, AIFS_DS . 'public_html' );
    658658            if ( $pos_public_html !== false && is_writable( substr( $document_root, 0, $pos_public_html ) ) ) {
    659659                return substr( $document_root, 0, $pos_public_html );
     
    686686        $home_path = get_home_path();
    687687        $last_character = substr( $home_path, strlen( $home_path ) - 1 );
    688         if ( $last_character == "/" || $last_character == DS ) {
     688        if ( $last_character == "/" || $last_character == AIFS_DS ) {
    689689            return substr( $home_path, 0, strlen( $home_path ) - 1 );
    690690            //remove last character
     
    719719    public function create_htaccess_file( $dir_path, $data ) {
    720720        $file = ".htaccess";
    721         if ( !file_exists( $dir_path . DS . $file ) && (aifs_server_software() == "apache" || aifs_server_software() === false) ) {
    722             if ( !file_put_contents( $dir_path . DS . $file, $data ) ) {
     721        if ( !file_exists( $dir_path . AIFS_DS . $file ) && (aifs_server_software() == "apache" || aifs_server_software() === false) ) {
     722            if ( !file_put_contents( $dir_path . AIFS_DS . $file, $data ) ) {
    723723                //echo "<pre>$data</pre>";
    724724                //throw new \RuntimeException("Can't create .htaccess file in the directory '".$dir_path."'. Please manually create it, and paste the above code in it.");
     
    749749    public function create_web_dot_config_file( $dir_path, $data ) {
    750750        $file = "web.config";
    751         if ( !file_exists( $dir_path . DS . $file ) && (aifs_server_software() == "ms-iis" || aifs_server_software() === false) ) {
    752             if ( !file_put_contents( $dir_path . DS . $file, $data ) ) {
     751        if ( !file_exists( $dir_path . AIFS_DS . $file ) && (aifs_server_software() == "ms-iis" || aifs_server_software() === false) ) {
     752            if ( !file_put_contents( $dir_path . AIFS_DS . $file, $data ) ) {
    753753                //echo "<pre>$data</pre>";
    754754                //throw new \RuntimeException("Can't create .htaccess file in the directory '".$dir_path."'. Please manually create it, and paste the above code in it.");
     
    10011001    /**
    10021002     * Get the SSL file's path for this website.
    1003      * Renamed and improved since 4.0.0
     1003     * Renamed and improved since 4.0.0 and 4.5.0
    10041004     * @return false|string
    10051005     */
    10061006    public function this_domain_get_ssl_file_path() {
     1007        $certificate = false;
    10071008        $app_settings = aifs_get_app_settings();
    1008         $domain = aifs_get_domain( true );
    1009         $serveralias = 'www.' . $domain;
    1010         //initialize the Acme Factory class
    1011         $acmeFactory = new AcmeFactory($app_settings['homedir'] . '/' . $app_settings['certificate_directory'], $app_settings['acme_version'], $app_settings['is_staging']);
    1012         $certificate = false;
    1013         $possible_domains = [];
    1014         //if(aifs_is_free_version() || !aifs_use_wildcard()){ // include these even if wildcard
    1015         $possible_domains[] = $domain;
    1016         $possible_domains[] = $serveralias;
    1017         //}
    1018         if ( $acmeFactory->getConfirmedSslDir( $possible_domains ) ) {
    1019             $certificate = $acmeFactory->getConfirmedSslDir( $possible_domains ) . 'certificate.pem';
     1009        if ( is_array( $app_settings ) && isset( $app_settings['homedir'] ) && isset( $app_settings['certificate_directory'] ) && isset( $app_settings['acme_version'] ) && isset( $app_settings['is_staging'] ) ) {
     1010            //initialize the Acme Factory class
     1011            $acmeFactory = new AcmeFactory($app_settings['homedir'] . '/' . $app_settings['certificate_directory'], $app_settings['acme_version'], $app_settings['is_staging']);
     1012            $possible_domains = [];
     1013            $domain = aifs_get_domain( true );
     1014            $serveralias = 'www.' . $domain;
     1015            //if(aifs_is_free_version() || !aifs_use_wildcard()){ // include these even if wildcard
     1016            $possible_domains[] = $domain;
     1017            $possible_domains[] = $serveralias;
     1018            //}
     1019            if ( $acmeFactory->getConfirmedSslDir( $possible_domains ) ) {
     1020                $certificate = $acmeFactory->getConfirmedSslDir( $possible_domains ) . 'certificate.pem';
     1021            }
    10201022        }
    10211023        return $certificate;
     
    11481150            $installed_ssl = $this->get_installed_ssl_details();
    11491151            //Assuming User will install the generated SSL in 2 days (if Cloudflare)
    1150             if ( $using_cloudflare && time() > $generated_ssl['validFrom_time_t'] + 2 * 24 * 60 * 60 || !$using_cloudflare && strcasecmp( $generated_ssl['serialNumberHex'], $installed_ssl['Serial Number'] ) === 0 ) {
    1151                 return true;
     1152            if ( $generated_ssl !== false && is_array( $generated_ssl ) ) {
     1153                // @since 4.5.0
     1154                if ( $using_cloudflare && time() > $generated_ssl['validFrom_time_t'] + 2 * 24 * 60 * 60 || $installed_ssl !== false && is_array( $installed_ssl ) && !$using_cloudflare && strcasecmp( $generated_ssl['serialNumberHex'], $installed_ssl['Serial Number'] ) === 0 ) {
     1155                    return true;
     1156                }
    11521157            }
    11531158        }
     
    12521257    public function get_offer_details( $comparison_table = false ) {
    12531258        $offer_end_time = get_option( 'aifs_comparison_table_promo_start_time' ) + AIFS_COUNTDOWN_DURATION;
    1254         if ( time() > strtotime( "June 1, 2024" ) && time() < strtotime( "July 3, 2024" ) ) {
    1255             $offer_name = "<strong>Summer Kickoff Sale</strong><br /><br />";
     1259        $coupon_code = false;
     1260        if ( time() > strtotime( "January 5, 2025" ) && time() < strtotime( "January 31, 2025" ) ) {
     1261            $offer_name = "<strong>New Year Sale!!</strong><br /><br />";
    12561262            if ( $comparison_table ) {
    12571263                if ( $this->is_cpanel() ) {
    1258                     $coupon_code = "20SUMMER";
    1259                     //id: 50301
     1264                    $coupon_code = "2025NY";
     1265                    //id: 55119
    12601266                } else {
    1261                     $coupon_code = "20SUMMERTIME";
    1262                     //id: 50302
     1267                    $coupon_code = "2025HNY";
     1268                    //id: 55120
    12631269                }
    12641270            } else {
    12651271                if ( $this->is_cpanel() ) {
    1266                     $coupon_code = "SUMMER20";
    1267                     //id: 50303
     1272                    $coupon_code = "NY2025";
     1273                    //id: 55121
    12681274                } else {
    1269                     $coupon_code = "SUMMER";
    1270                     //id: 50304
     1275                    $coupon_code = "HNY2025";
     1276                    //id: 55122
    12711277                }
    12721278            }
     
    12751281            $offer_name = "";
    12761282            if ( $comparison_table ) {
    1277                 $coupon_code = "20AutoInstall";
     1283                if ( $this->is_cpanel() ) {
     1284                    $coupon_code = "20AutoInstall";
     1285                }
    12781286            } else {
    1279                 $coupon_code = "AutoInstall20";
     1287                if ( $this->is_cpanel() ) {
     1288                    $coupon_code = "AutoInstall20";
     1289                }
    12801290            }
    12811291            $discount_percentage = __( "20%", 'auto-install-free-ssl' );
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/ForceHttpsPage.php

    r2921218 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    3535class ForceHttpsPage
    3636{
    37    
     37    private static $instance; // @since 4.5.0, to keep track of its initialization
    3838    public  $factory;
    3939
    4040    /**
    4141     * Start up
     42     * Private constructor to prevent multiple instantiations @since 4.5.0
    4243     */
    43     public function __construct()
     44    private function __construct()
    4445    {
    4546        if (!defined('ABSPATH')) {
    4647            die(__( "Access denied", 'auto-install-free-ssl' ));
    4748        }
    48        
     49
    4950        $this->factory =  new Factory();
    50        
     51
    5152        add_action('admin_menu', array($this, 'force_https_page_menu' ));
    5253    }
    53    
    54    
     54
     55    /**
     56     * This method ensures that only one instance of the class is created.
     57     * @since 4.5.0
     58     * @return ForceHttpsPage
     59     */
     60    public static function getInstance() {
     61        if (!isset(self::$instance)) {
     62            self::$instance = new self();
     63        }
     64        return self::$instance;
     65    }
     66
     67
    5568    /**
    5669     *
     
    7184        }
    7285    }
    73        
    74    
     86
     87
    7588    /**
    7689     *
     
    7992    public function force_https_admin_page()
    8093    {
    81         $forcehttps = new ForceSSL();
     94        //$forcehttps = new ForceSSL();
     95        $forcehttps = ForceSSL::getInstance();
    8296
    8397        $override = isset($_GET['aifsaction']) && $_GET['aifsaction'] == "aifs_force_https_override" && isset($_GET['checked_ssl_manually']) && $_GET['checked_ssl_manually'] == "done" && isset($_GET['valid_ssl_installed']) && $_GET['valid_ssl_installed'] == "yes";
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/ForceSSL.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    4444     *
    4545     */
     46    private static $instance;
     47
     48    // @since 4.5.0, to keep track of its initialization
    4649    private $logger;
    4750
     
    5356    private $factory;
    5457
    55     public function __construct() {
     58    // Private constructor to prevent multiple instantiations @since 4.5.0
     59    private function __construct() {
    5660        if ( !defined( 'ABSPATH' ) ) {
    5761            die( __( "Access denied", 'auto-install-free-ssl' ) );
     
    7579        $this->factory = new Factory();
    7680        $this->logger = new Logger();
     81    }
     82
     83    /**
     84     * This method ensures that only one instance of the class is created.
     85     * @since 4.5.0
     86     * @return ForceSSL
     87     */
     88    public static function getInstance() {
     89        if ( !isset( self::$instance ) ) {
     90            self::$instance = new self();
     91        }
     92        return self::$instance;
    7793    }
    7894
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/GenerateSSLmanually.php

    r3162795 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    4545     * Holds the values to be used in the fields callbacks
    4646     */
     47    private static $instance; // @since 4.5.0, to keep track of its initialization
    4748    private $options;
    4849    private $save_button_text;
     
    5859    /**
    5960     * Start up
     61     * Private constructor to prevent multiple instantiations @since 4.5.0
    6062     */
    61     public function __construct()
     63    private function __construct()
    6264    {
    6365        if (!defined('ABSPATH')) {
     
    99101        }*/
    100102    }
     103
     104    /**
     105     * This method ensures that only one instance of the class is created.
     106     * @since 4.5.0
     107     * @return GenerateSSLmanually
     108     */
     109    public static function getInstance() {
     110        if (!isset(self::$instance)) {
     111            self::$instance = new self();
     112        }
     113        return self::$instance;
     114    }
    101115   
    102116    /**
     
    121135            update_option( 'aifs_return_array_step1_manually', $this->return_array_step1 );
    122136            wp_redirect(menu_page_url('aifs_generate_ssl_manually'), 301);
     137            exit;
    123138        }
    124139
     
    336351                <tr>
    337352                    <?php
    338                     $forcehttps = new ForceSSL();
     353                    //$forcehttps = new ForceSSL();
     354                    $forcehttps = ForceSSL::getInstance();
    339355                    echo $forcehttps->force_ssl_ui();
    340356                    ?>
     
    439455            }*/
    440456
    441             if($this->factory->is_cpanel() || (time() > strtotime("June 1, 2024") && time() < strtotime("July 3, 2024"))){
     457            //if($this->factory->is_cpanel() || (time() > strtotime("June 1, 2024") && time() < strtotime("July 3, 2024"))){
     458            if($offer_details['coupon_code']){
    442459                $coupon_code = $offer_details['coupon_code'];
    443460                $query_string = "hide_coupon=true&checkout=true";
     
    855872            }*/
    856873
    857             $freessl = new AcmeV2( $homedir . DS . $this->appConfig['certificate_directory'], $this->appConfig['admin_email'], $this->appConfig['is_staging'], $this->appConfig['dns_provider'], $this->appConfig['key_size'], $cPanel, $this->appConfig['server_ip'] );
     874            $freessl = new AcmeV2( $homedir . AIFS_DS . $this->appConfig['certificate_directory'], $this->appConfig['admin_email'], $this->appConfig['is_staging'], $this->appConfig['dns_provider'], $this->appConfig['key_size'], $cPanel, $this->appConfig['server_ip'] );
    858875
    859876            if ( count( $domains_array ) > 0 ) {
     
    11381155            $file_content = $this->return_array_step1['domain_data'][$domain]['http-01']['payload'];
    11391156            $domain_path = $acmeFactory->getDomainPath($domain);
    1140             $file_path = $domain_path . DS . $file_name;
     1157            $file_path = $domain_path . AIFS_DS . $file_name;
    11411158
    11421159            if (!is_dir($domain_path)) {
     
    11971214                    'is_cpanel' => false
    11981215                ];
    1199                 $freessl = new AcmeV2( $homedir . DS . $this->appConfig['certificate_directory'], $this->appConfig['admin_email'], $this->appConfig['is_staging'], $this->appConfig['dns_provider'], $this->appConfig['key_size'], $cPanel, $this->appConfig['server_ip'] );
     1216                $freessl = new AcmeV2( $homedir . AIFS_DS . $this->appConfig['certificate_directory'], $this->appConfig['admin_email'], $this->appConfig['is_staging'], $this->appConfig['dns_provider'], $this->appConfig['key_size'], $cPanel, $this->appConfig['server_ip'] );
    12001217
    12011218                $number_of_validated_domains_internal = 0;
     
    14031420                //reset option
    14041421                unset($this->return_array_step1);
    1405                 update_option( 'aifs_return_array_step1_manually', $this->return_array_step1 );
     1422                update_option( 'aifs_return_array_step1_manually', "" ); // @since 4.5.0, as $this->return_array_step1 is Undefined
     1423                //update_option( 'aifs_return_array_step1_manually', $this->return_array_step1 );
    14061424                //delete_option( 'aifs_is_generated_ssl_installed' ); //Moved to step3GenerateSSL() in AcmeV2.php
    14071425                wp_redirect(menu_page_url('aifs_generate_ssl_manually'), 301);
     1426                exit;
    14081427            }
    14091428        }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/HomeOptions.php

    r3129566 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    130130            $button_text .= ' (<a href="' . $this->factory->upgrade_url() . '" title="' . __( "Premium Feature", 'auto-install-free-ssl' ) . '">' . __( "Premium", 'auto-install-free-ssl' ) . '</a>)';
    131131            $text_display .= '  <label>' . $button_text . '</label>
    132                                 <label class="aifs-toggle-switch-container disabled">
     132                                <label class="aifs-toggle-switch-container disabled" title="' . __( "Premium Feature", 'auto-install-free-ssl' ) . '">
    133133                                    <input type="checkbox" name="" disabled>
    134134                                    <span class="aifs-toggle-switch-slider"></span>
     
    292292        }
    293293        $offer_details = $this->factory->get_offer_details( true );
    294         //if($this->factory->is_cpanel() && (time() < $offer_details['offer_end_time']) && ((get_option('aifs_premium_plan_selected') >= 1 && time() < strtotime("January 1, 2025")) || (time() > strtotime("November 1, 2022") && time() < strtotime("January 1, 2025")))){
    295         if ( ($this->factory->is_cpanel() || time() > strtotime( "June 1, 2024" ) && time() < strtotime( "July 3, 2024" )) && time() < $offer_details['offer_end_time'] && (get_option( 'aifs_premium_plan_selected' ) >= 1 || time() < strtotime( "January 1, 2025" )) ) {
     294        //if(($this->factory->is_cpanel() || (time() > strtotime("June 1, 2024") && time() < strtotime("July 3, 2024"))) && time() < $offer_details['offer_end_time'] && (get_option('aifs_premium_plan_selected') >= 1 || time() < strtotime("January 1, 2026"))){
     295        if ( $offer_details['coupon_code'] && time() < $offer_details['offer_end_time'] ) {
    296296            echo '<div id="aifs-promo" class="aifs-promo"><p style="font-size: medium; margin: 0;">';
    297297            echo '<span class="dashicons dashicons-arrow-down-alt" style="font-size: xx-large; color: #5F97FB;"></span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;';
     
    793793            update_option( 'aifs_free_plan_selected', 1 );
    794794            wp_redirect( admin_url( 'admin.php?page=aifs_generate_ssl_manually' ) );
     795            exit;
    795796        } else {
    796797            if ( isset( $_GET['aifspro'] ) ) {
     
    802803                //wp_redirect(admin_url('admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19386&currency=usd'));
    803804                wp_redirect( $this->factory->upgrade_url( $coupon_code, "checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19386" . (( $coupon_code ? "&hide_coupon=true&currency=usd" : "&currency=usd" )) ) );
     805                exit;
    804806            } else {
    805807                if ( isset( $_GET['aifsprounlimited'] ) ) {
     
    811813                    //wp_redirect(admin_url('admin.php?page=auto_install_free_ssl-pricing&checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19771&currency=usd'));
    812814                    wp_redirect( $this->factory->upgrade_url( $coupon_code, "checkout=true&plan_id=17218&plan_name=pro&billing_cycle=annual&pricing_id=19771" . (( $coupon_code ? "&hide_coupon=true&currency=usd" : "&currency=usd" )) ) );
     815                    exit;
    813816                }
    814817            }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Admin/Log.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    3636class Log
    3737{
    38    
     38    private static $instance; // @since 4.5.0, to keep track of its initialization
    3939    public $factory;
    4040    public $page_url;
     
    4242    /**
    4343     * Start up
     44     * Private constructor to prevent multiple instantiations @since 4.5.0
    4445     */
    45     public function __construct()
     46    private function __construct()
    4647    {
    4748        if (!defined('ABSPATH')) {
     
    5657        $this->page_url = $site_url['scheme'] . "://" . $site_url['host'] . $_SERVER['REQUEST_URI'];
    5758    }
     59
     60    /**
     61     * This method ensures that only one instance of the class is created.
     62     * @since 4.5.0
     63     * @return Log
     64     */
     65    public static function getInstance() {
     66        if (!isset(self::$instance)) {
     67            self::$instance = new self();
     68        }
     69        return self::$instance;
     70    }
    5871   
    5972   
     
    87100            echo aifs_header();
    88101
    89             $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
     102            $log_directory = AIFS_UPLOAD_DIR . AIFS_DS . 'log' . AIFS_DS;
    90103
    91104            $files = glob($log_directory.'*', GLOB_MARK);
     
    136149                                        }
    137150                                        else {
    138                                             $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
     151                                            $log_directory = AIFS_UPLOAD_DIR . AIFS_DS . 'log' . AIFS_DS;
    139152                                            $file_path = $log_directory . trim($_GET['date']) . '.log';
    140153                                        }
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Controller.php

    r3162795 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    3434//Common actions, even if the control panel is not cPanel
    3535class Controller {
     36    /**
     37     * @var Logger
     38     */
     39    public $logger;
     40
    3641    /**
    3742     * Initiates the Controller class.
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Email.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
  • auto-install-free-ssl/trunk/FreeSSLAuto/src/Logger.php

    r3096222 r3219088  
    66 *
    77 * @author Free SSL Dot Tech <[email protected]>
    8  * @copyright  Copyright (C) 2019-2020, Anindya Sundar Mandal
     8 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal
    99 * @license    http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License, version 3
    1010 * @link       https://freessl.tech
     
    7878    public function write_log( $level, $message, $context ) {
    7979        //get log file name as per date
    80         $log_directory = AIFS_UPLOAD_DIR . DS . 'log';
     80        $log_directory = AIFS_UPLOAD_DIR . AIFS_DS . 'log';
    8181        if ( !is_dir( $log_directory ) ) {
    8282            @mkdir( $log_directory, 0700, true );
     
    100100            //since 3.6.1, Don't translate exception message.
    101101        }
    102         /*if(!file_exists($log_directory . DS . ".htaccess")){
    103               if(!file_put_contents($log_directory . DS . ".htaccess", "Order deny,allow\nDeny from all")){
     102        /*if(!file_exists($log_directory . AIFS_DS . ".htaccess")){
     103              if(!file_put_contents($log_directory . AIFS_DS . ".htaccess", "Order deny,allow\nDeny from all")){
    104104                  $exp_text = "Can't create a .htaccess file in the directory '".$log_directory."'. Please manually create it, and paste the following code in it. \n\nOrder deny,allow\nDeny from all";
    105105                  //throw new \RuntimeException("Can't create a .htaccess file in the directory '".$log_directory."'. Please manually create it, and paste the following code in it. \n\nOrder deny,allow\nDeny from all \n\n");
     
    110110        $factory->create_security_files( $log_directory );
    111111        $filename = ( function_exists( 'wp_date' ) ? wp_date( 'Y-m-d' ) . '.log' : date( 'Y-m-d' ) . '.log' );
    112         $handle = fopen( $log_directory . DS . $filename, 'a' );
     112        $handle = fopen( $log_directory . AIFS_DS . $filename, 'a' );
    113113        $log_text = wp_kses_post( current_time( 'mysql' ) . " [{$level}] {$message}" ) . "\n\n";
    114114        if ( $context['event'] == 'exit' ) {
     
    163163    /*public function clean_log_directory_v0(){
    164164   
    165             $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
     165            $log_directory = AIFS_UPLOAD_DIR . AIFS_DS . 'log' . AIFS_DS;
    166166            $retain_files = 90; //Previous value was 45
    167167   
     
    185185     */
    186186    public function clean_log_directory() {
    187         $log_directory = AIFS_UPLOAD_DIR . DS . 'log' . DS;
     187        $log_directory = AIFS_UPLOAD_DIR . AIFS_DS . 'log' . AIFS_DS;
    188188        $retain_files = 90;
    189189        $files = glob( $log_directory . '*.log' );
  • auto-install-free-ssl/trunk/auto-install-free-ssl.php

    r3183220 r3219088  
    77 * Plugin URI:  https://freessl.tech
    88 * Description: Generate & install Free SSL Certificates, activate force HTTPS redirect with one click to fix insecure links & mixed content warnings, and get automatic Renewal Reminders.
    9  * Version:     4.4.0
     9 * Version:     4.5.0
    1010 * Requires at least: 4.1
    1111 * Requires PHP:      5.6
     
    2222 * @license     http://www.gnu.org/licenses/gpl-3.0.html GNU General Public License version 3 or higher
    2323 *
    24  * @copyright  Copyright (C) 2019-2022, Anindya Sundar Mandal - [email protected]
     24 * @copyright  Copyright (C) 2019-2024, Anindya Sundar Mandal - [email protected]
    2525 *
    2626 *
     
    4242/* Deny direct access */
    4343if ( !defined( 'ABSPATH' ) ) {
    44     die( __( "Access denied", 'auto-install-free-ssl' ) );
     44    die( "Access denied" );
    4545}
     46use AutoInstallFreeSSL\FreeSSLAuto\Acme\Factory as AcmeFactory;
     47use AutoInstallFreeSSL\FreeSSLAuto\Admin\ForceSSL;
     48use AutoInstallFreeSSL\FreeSSLAuto\Admin\HomeOptions;
     49use AutoInstallFreeSSL\FreeSSLAuto\Admin\AdminNotice;
     50use AutoInstallFreeSSL\FreeSSLAuto\Admin\GenerateSSLmanually;
     51use AutoInstallFreeSSL\FreeSSLAuto\Admin\Factory;
     52use AutoInstallFreeSSL\FreeSSLAuto\Admin\ForceHttpsPage;
     53use AutoInstallFreeSSL\FreeSSLAuto\Admin\Log;
     54use AutoInstallFreeSSL\FreeSSLAuto\Email;
     55use AutoInstallFreeSSL\FreeSSLAuto\Acme\Client;
    4656if ( function_exists( 'aifssl_fs' ) ) {
    4757    aifssl_fs()->set_basename( false, __FILE__ );
     
    5666                require_once dirname( __FILE__ ) . '/freemius/start.php';
    5767                $aifssl_fs = fs_dynamic_init( array(
    58                     'id'              => '10204',
    59                     'slug'            => 'auto-install-free-ssl',
    60                     'type'            => 'plugin',
    61                     'public_key'      => 'pk_8e6c4ffc369c2a116adf5dd4fc982',
    62                     'is_premium'      => false,
    63                     'has_addons'      => false,
    64                     'has_paid_plans'  => true,
    65                     'has_affiliation' => 'selected',
    66                     'menu'            => array(
     68                    'id'                  => '10204',
     69                    'slug'                => 'auto-install-free-ssl',
     70                    'type'                => 'plugin',
     71                    'public_key'          => 'pk_8e6c4ffc369c2a116adf5dd4fc982',
     72                    'is_premium'          => false,
     73                    'has_addons'          => false,
     74                    'has_paid_plans'      => true,
     75                    'has_affiliation'     => 'selected',
     76                    'menu'                => array(
    6777                        'slug'       => 'auto_install_free_ssl',
    6878                        'first-path' => 'admin.php?page=auto_install_free_ssl',
    6979                    ),
    70                     'is_live'         => true,
     80                    'parallel_activation' => array(
     81                        'enabled'                  => true,
     82                        'premium_version_basename' => 'auto-install-free-ssl-premium/auto-install-free-ssl.php',
     83                    ),
     84                    'is_live'             => true,
    7185                ) );
    7286            }
     
    8094    }
    8195    /* END Freemius*/
     96    //}
     97    $log_msg = "";
     98    if ( !defined( 'PHP_VERSION_ID' ) || PHP_VERSION_ID < 50400 ) {
     99        $log_msg .= __( "You need at least PHP 5.4.0", 'auto-install-free-ssl' ) . "<br />";
     100    }
     101    if ( !extension_loaded( 'openssl' ) ) {
     102        $log_msg .= __( "You need OpenSSL extension enabled with PHP", 'auto-install-free-ssl' ) . "<br />";
     103    }
     104    if ( !extension_loaded( 'curl' ) ) {
     105        $log_msg .= __( "You need Curl extension enabled with PHP", 'auto-install-free-ssl' ) . "<br />";
     106    }
     107    if ( !ini_get( 'allow_url_fopen' ) ) {
     108        $log_msg .= __( "You need to set PHP directive allow_url_fopen = On. Please contact your web hosting company for help.", 'auto-install-free-ssl' ) . "<br />";
     109    }
     110    if ( strlen( $log_msg ) > 10 ) {
     111        $log_msg .= '<br />Please <a href="' . admin_url( 'plugins.php' ) . '">click here</a> to return to the plugins page.';
     112        wp_die( $log_msg );
     113    }
     114    // Define Directory Separator to make the default DIRECTORY_SEPARATOR short
     115    if ( !defined( 'AIFS_DS' ) ) {
     116        //formerly 'DS'; renamed @since 4.5.0
     117        define( 'AIFS_DS', DIRECTORY_SEPARATOR );
     118    }
     119    require_once ABSPATH . 'wp-admin/includes/plugin.php';
     120    $plugin_data = get_plugin_data( __FILE__, true, false );
     121    // @since 4.5.0 to fix the PHP notice "Function _load_textdomain_just_in_time was called incorrectly"
     122    define( 'AIFS_VERSION', $plugin_data['Version'] );
     123    define( 'AIFS_DIR', plugin_dir_path( __FILE__ ) );
     124    define( 'AIFS_URL', plugin_dir_url( __FILE__ ) );
     125    define( 'AIFS_NAME', $plugin_data['Name'] );
     126    $wp_upload_directory = wp_upload_dir();
     127    define( 'AIFS_UPLOAD_DIR', $wp_upload_directory['basedir'] . AIFS_DS . 'auto-install-free-ssl' );
     128    define( 'AIFS_DEFAULT_LE_ACME_VERSION', 2 );
     129    define( 'AIFS_LE_ACME_V2_LIVE', 'https://acme-v02.api.letsencrypt.org' );
     130    define( 'AIFS_LE_ACME_V2_STAGING', 'https://acme-staging-v02.api.letsencrypt.org' );
     131    //@since 4.5.0
     132    define( 'AIFS_FREE_PLUGIN_BASENAME', aifssl_fs()->get_slug() . AIFS_DS . basename( __FILE__ ) );
     133    define( 'AIFS_PREMIUM_PLUGIN_BASENAME', aifssl_fs()->get_premium_slug() . AIFS_DS . basename( __FILE__ ) );
     134    if ( file_exists( __DIR__ . AIFS_DS . 'aifs-config.php' ) ) {
     135        require_once __DIR__ . AIFS_DS . 'aifs-config.php';
     136    }
     137    //if ( aifssl_fs()->can_use_premium_code__premium_only() ) {
     138    if ( !defined( 'AIFS_ENC_KEY' ) ) {
     139        define( 'AIFS_ENC_KEY', SECURE_AUTH_KEY );
     140        //@since 2.1.1
     141    }
     142    //}
     143    if ( !function_exists( 'aifs_findRegisteredDomain' ) && !function_exists( 'aifs_getRegisteredDomain' ) && !function_exists( 'aifs_validDomainPart' ) ) {
     144        require_once AIFS_DIR . AIFS_DS . 'vendor' . AIFS_DS . 'usrflo' . AIFS_DS . 'registered-domain-libs' . AIFS_DS . 'PHP' . AIFS_DS . 'effectiveTLDs.inc.php';
     145        require_once AIFS_DIR . AIFS_DS . 'vendor' . AIFS_DS . 'usrflo' . AIFS_DS . 'registered-domain-libs' . AIFS_DS . 'PHP' . AIFS_DS . 'regDomain.inc.php';
     146    }
     147    if ( version_compare( phpversion(), '5.3.0' ) >= 0 && !class_exists( 'AutoInstallFreeSSL\\FreeSSLAuto\\FreeSSLAuto' ) ) {
     148        if ( file_exists( __DIR__ . AIFS_DS . 'vendor' . AIFS_DS . 'autoload.php' ) ) {
     149            require_once __DIR__ . AIFS_DS . 'vendor' . AIFS_DS . 'autoload.php';
     150        }
     151    }
     152    /**
     153     * Force SSL on frontend and backend
     154     */
     155    //new ForceSSL();
     156    ForceSSL::getInstance();
    82157}
    83 $log_msg = "";
    84 if ( !defined( 'PHP_VERSION_ID' ) || PHP_VERSION_ID < 50400 ) {
    85     //wp_die( __( "You need at least PHP 5.4.0", 'auto-install-free-ssl' ) );
    86     $log_msg .= __( "You need at least PHP 5.4.0", 'auto-install-free-ssl' ) . "<br />";
     158if ( !function_exists( 'aifs_home_menu' ) ) {
     159    /** Create the menu */
     160    function aifs_home_menu() {
     161        /** Top level menu */
     162        add_menu_page(
     163            __( "Auto-Install SSL Dashboard", 'auto-install-free-ssl' ),
     164            __( "Auto-Install Free SSL", 'auto-install-free-ssl' ),
     165            'manage_options',
     166            'auto_install_free_ssl',
     167            'aifs_home_options',
     168            'dashicons-lock',
     169            65
     170        );
     171    }
     172
     173    /** Register the above function using the admin_menu action hook and attach all other options  */
     174    /** Add 'Settings' option */
     175    function aifs_add_settings_option_in_plugins_page(  $links  ) {
     176        $links[] = '<a href="' . admin_url( 'admin.php?page=auto_install_free_ssl' ) . '">' . __( "Settings", 'auto-install-free-ssl' ) . '</a>';
     177        return $links;
     178    }
     179
     180    /** Attach the home page */
     181    function aifs_home_options() {
     182        if ( !current_user_can( 'manage_options' ) ) {
     183            wp_die( __( "You do not have sufficient permissions to access this page.", 'auto-install-free-ssl' ) );
     184        }
     185        $home_options = new HomeOptions();
     186        $home_options->display();
     187    }
     188
     189    /** Implementing Translations - load textdomain */
     190    function aifs_load_textdomain() {
     191        load_plugin_textdomain( 'auto-install-free-ssl', false, basename( dirname( __FILE__ ) ) . '/languages/' );
     192    }
     193
     194    /**
     195     * This function will be called during the plugin activation.
     196     * Improved since 4.0.0
     197     * */
     198    function activate_auto_install_free_ssl() {
     199        if ( !get_option( 'aifs_user_since_free_only_version' ) ) {
     200            //add_option( 'aifs_user_since_free_only_version', 0 ); //If this value is not set (or was set 0), it's an NEW user
     201            add_option( 'aifs_user_since_free_only_version', (int) aifs_user_since_free_only_version() );
     202        }
     203        //$app_settings = aifs_get_app_settings();
     204        $basic_settings = get_option( 'basic_settings_auto_install_free_ssl' );
     205        /**
     206         * if already basic settings etc exists, don't run next code block
     207         */
     208        //if ( !isset( $app_settings['acme_version'] ) || !isset( $app_settings['key_size'] ) || !isset($app_settings['all_domains']) || count($app_settings['all_domains']) == 0 ) { //This will over-right already entered data with version 2
     209        if ( $basic_settings === false || !isset( $basic_settings['acme_version'] ) && !isset( $basic_settings['key_size'] ) ) {
     210            $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
     211            $data->data_entry();
     212        }
     213        // Schedule daily Cron Job Event (if not done already) - moved here since 4.0.0
     214        if ( !wp_next_scheduled( 'aifs_do_this_daily' ) ) {
     215            wp_schedule_event( current_time( 'timestamp' ), 'daily', 'aifs_do_this_daily' );
     216        }
     217    }
     218
     219    /**
     220     * This function will be called during the plugin deactivation
     221     * Improved since 4.0.0
     222     * */
     223    function deactivate_auto_install_free_ssl() {
     224        if ( !get_option( 'aifs_user_since_free_only_version' ) ) {
     225            add_option( 'aifs_user_since_free_only_version', 1 );
     226        }
     227        /*
     228         * Moved Delete plugin data on deactivation logic to aifs_uninstall_cleanup(),
     229         * which will be called by Freemius after uninstall action.
     230         * @since 4.0.0
     231         */
     232        /*
     233         * Remove the cron job
     234         * @since 3.2.7
     235         * Improved since 4.5.0
     236         */
     237        if ( aifs_this_plugin_activation_count() <= 1 ) {
     238            if ( wp_next_scheduled( 'aifs_do_this_daily' ) ) {
     239                wp_unschedule_event( wp_next_scheduled( 'aifs_do_this_daily' ), 'aifs_do_this_daily' );
     240            }
     241            //Freemius after uninstall action
     242            //aifssl_fs()->add_action('after_uninstall', 'aifs_uninstall_cleanup');
     243        }
     244        //register_uninstall_hook(__FILE__, 'aifs_uninstall_cleanup'); //@since 4.5.0
     245    }
     246
     247    /**
     248     * Delete plugin data on plugin deletion (i.e., uninstallation).
     249     * This function will be called by Freemius after uninstall action.
     250     * @since 4.0.0
     251     */
     252    function aifs_uninstall_cleanup() {
     253        if ( is_plugin_inactive( AIFS_FREE_PLUGIN_BASENAME ) && is_plugin_inactive( AIFS_PREMIUM_PLUGIN_BASENAME ) && aifs_this_plugin_installation_count() <= 1 ) {
     254            //@since 4.5.0
     255            if ( wp_next_scheduled( 'aifs_do_this_daily' ) ) {
     256                //@since 4.5.0
     257                wp_unschedule_event( wp_next_scheduled( 'aifs_do_this_daily' ), 'aifs_do_this_daily' );
     258                error_log( 'Scheduled event unscheduled.' );
     259            }
     260            // The free and premium versions are not active.
     261            if ( get_option( 'aifs_free_plan_selected' ) ) {
     262                delete_option( 'aifs_free_plan_selected' );
     263            }
     264            if ( get_option( 'aifs_comparison_table_promo_start_time' ) ) {
     265                // @since 4.0.0
     266                delete_option( 'aifs_comparison_table_promo_start_time' );
     267            }
     268            /*
     269             * Removed 'aifs_user_since_free_only_version' since 3.5.1
     270             * @since 3.2.7
     271             */
     272            if ( get_option( 'aifs_delete_plugin_data_on_deactivation' ) ) {
     273                $options = [
     274                    'basic_settings_auto_install_free_ssl',
     275                    'all_domains_auto_install_free_ssl',
     276                    'cpanel_settings_auto_install_free_ssl',
     277                    'exclude_domains_auto_install_free_ssl',
     278                    'dns_provider_auto_install_free_ssl',
     279                    'add_cron_job_auto_install_free_ssl',
     280                    'aifs_display_announcement',
     281                    'aifs_generate_ssl_manually',
     282                    'aifs_return_array_step1_manually',
     283                    'aifs_free_plan_selected',
     284                    'aifs_domains_to_revoke_cert',
     285                    'aifs_ssl_installed_on_this_website',
     286                    'aifs_force_ssl',
     287                    'aifs_revert_http_nonce',
     288                    'aifs_display_free_premium_offer',
     289                    'aifs_is_multi_domain',
     290                    'aifs_multi_domain',
     291                    'aifs_display_review',
     292                    'aifs_admin_notice_display_counter',
     293                    'aifs_renew_ssl_later_requested_timestamp',
     294                    'aifs_ssl_renewal_reminder_email_last_sent_timestamp',
     295                    'aifs_display_discount_offer_existing_users',
     296                    'aifs_is_generated_ssl_installed',
     297                    'aifs_number_of_ssl_generated',
     298                    'aifs_ca_terms_of_service_url',
     299                    'aifs_delete_plugin_data_on_deactivation',
     300                    'aifs_enable_ssl_renewal_reminder'
     301                ];
     302                // aifs_is_admin_email_invalid
     303                foreach ( $options as $opt ) {
     304                    delete_option( $opt );
     305                }
     306            }
     307        }
     308    }
     309
     310    /**
     311     * Detects if the OS Windows
     312     * @return bool
     313     * @since 3.2.0
     314     */
     315    function aifs_is_os_windows() {
     316        if ( strtoupper( substr( PHP_OS, 0, 3 ) ) === 'WIN' ) {
     317            return true;
     318        } else {
     319            return false;
     320        }
     321    }
     322
     323    /**
     324     * Detects the Server Software and returns it in lower case (apache | nginx | ms-iis). Returns FALSE if unable to detect.
     325     * @return false|string
     326     * @since 3.2.0
     327     */
     328    function aifs_server_software() {
     329        $ss = strtolower( $_SERVER['SERVER_SOFTWARE'] );
     330        if ( strpos( $ss, 'apache' ) !== false ) {
     331            return "apache";
     332        }
     333        if ( strpos( $ss, 'nginx' ) !== false ) {
     334            return "nginx";
     335        }
     336        if ( strpos( $ss, 'microsoft-iis' ) !== false || strpos( $ss, 'iis' ) !== false ) {
     337            return "ms-iis";
     338        }
     339        return false;
     340    }
     341
     342    /**
     343     * Detects if the user using the plugin since the free only version
     344     * @return false|mixed|void
     345     */
     346    function aifs_is_existing_user() {
     347        return get_option( 'aifs_user_since_free_only_version', true );
     348    }
     349
     350    /**
     351     * Detects, if the user installed the plugin since free only version
     352     * @since 3.0.6
     353     */
     354    function aifs_user_since_free_only_version() {
     355        if ( get_option( 'basic_settings_auto_install_free_ssl' ) ) {
     356            $basic_settings_existing = get_option( 'basic_settings_auto_install_free_ssl' );
     357            /*if(empty($basic_settings_existing)){
     358                        return true;
     359                    }*/
     360            if ( is_array( $basic_settings_existing ) ) {
     361                $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
     362                $basic_settings_default_v3 = $data->basic_settings_default_v3();
     363                if ( $basic_settings_existing['use_wildcard'] != $basic_settings_default_v3['use_wildcard'] ) {
     364                    return true;
     365                } elseif ( $basic_settings_existing['is_staging'] != $basic_settings_default_v3['is_staging'] ) {
     366                    return true;
     367                } elseif ( $basic_settings_existing['country_code'] != $basic_settings_default_v3['country_code'] ) {
     368                    return true;
     369                } elseif ( $basic_settings_existing['state'] != $basic_settings_default_v3['state'] ) {
     370                    return true;
     371                } elseif ( $basic_settings_existing['organization'] != $basic_settings_default_v3['organization'] ) {
     372                    return true;
     373                } elseif ( $basic_settings_existing['certificate_directory'] != $basic_settings_default_v3['certificate_directory'] ) {
     374                    return true;
     375                } elseif ( $basic_settings_existing['days_before_expiry_to_renew_ssl'] != $basic_settings_default_v3['days_before_expiry_to_renew_ssl'] ) {
     376                    return true;
     377                } elseif ( $basic_settings_existing['using_cdn'] != $basic_settings_default_v3['using_cdn'] ) {
     378                    return true;
     379                } elseif ( $basic_settings_existing['key_size'] != $basic_settings_default_v3['key_size'] ) {
     380                    return true;
     381                } else {
     382                    return false;
     383                }
     384            }
     385            /*else{
     386                        return true; //User didn't configured, but installed v2
     387                    }*/
     388        }
     389        return false;
     390    }
     391
     392    /**
     393     * required for successful redirect
     394     */
     395    function aifs_do_output_buffer() {
     396        ob_start();
     397    }
     398
     399    /**
     400     * Set 1 for the user who is using this plugin since free-only version (V 1 or 2)
     401     */
     402    /*if(!get_option('aifs_user_since_free_only_version')){
     403            add_option('aifs_user_since_free_only_version', 1);
     404        }*/
     405    //$app_settings = aifs_get_app_settings();
     406    //if ( aifssl_fs()->can_use_premium_code__premium_only() ) {
     407    /**
     408     * if already basic settings etc exists, don't run next two lines
     409     */
     410    //if ( !isset( $app_settings['acme_version'] ) || !isset( $app_settings['key_size'] ) || !isset($app_settings['all_domains']) || count($app_settings['all_domains']) == 0 ) { //This will over-right already entered data with version 2
     411    /*if ( !isset( $app_settings['acme_version'] ) && !isset( $app_settings['key_size'] ) ) {
     412                $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
     413                $data->data_entry();
     414            }*/
     415    //}
     416    /*
     417     * Fires just after activation - redirect to the plugin dashboard
     418     *
     419     * If a plugin is silently activated (such as during an update), this hook does not fire.
     420     *
     421     * @param $plugin
     422     */
     423    /*function aifs_activation_redirect( $plugin ) {
     424            if ( $plugin == plugin_basename( __FILE__ ) ) {
     425   
     426                //$redirect_url = "admin.php?page=auto_install_free_ssl";
     427                $redirect_url = menu_page_url( 'auto_install_free_ssl' );
     428   
     429                /* This is throwing access issue with freemius
     430   
     431                if ( aifs_is_free_version() ) {
     432                    $redirect_url = "admin.php?page=aifs_generate_ssl_manually";
     433                } else {
     434                    $redirect_url = "admin.php?page=auto_install_free_ssl";
     435                } */
     436    /*
     437                //exit( wp_redirect( admin_url( $redirect_url ) ) );
     438                wp_redirect( $redirect_url, 301 );
     439            }
     440        }*/
     441    //add_action( 'activated_plugin', 'aifs_activation_redirect' );
     442    /**
     443     * Merge all the options in a single array.
     444     * Improved since 3.5.1
     445     * */
     446    function aifs_get_app_settings() {
     447        $basic_settings = get_option( 'basic_settings_auto_install_free_ssl' );
     448        if ( $basic_settings && is_array( $basic_settings ) ) {
     449            $app_settings = $basic_settings;
     450        } else {
     451            //return false;
     452            return [];
     453            // @todo - not tested - to fix this error: [30-Dec-2024 14:29:10 UTC] PHP Warning:  Trying to access array offset on value of type bool in /home/USERNAME/public_html/DIRECTORY_NAME/wp-content/plugins/auto-install-free-ssl-premium/FreeSSLAuto/src/Admin/Factory.php on line 1486
     454        }
     455        $cpanel_settings = get_option( 'cpanel_settings_auto_install_free_ssl' );
     456        if ( $cpanel_settings && is_array( $cpanel_settings ) ) {
     457            $app_settings = array_merge( $app_settings, $cpanel_settings );
     458        }
     459        $exclude_domains = get_option( 'exclude_domains_auto_install_free_ssl' );
     460        if ( $exclude_domains && is_array( $exclude_domains ) ) {
     461            $app_settings = array_merge( $app_settings, $exclude_domains );
     462        }
     463        $dns_provider = get_option( 'dns_provider_auto_install_free_ssl' );
     464        if ( $dns_provider && is_array( $dns_provider ) ) {
     465            $app_settings = array_merge( $app_settings, $dns_provider );
     466        }
     467        $all_domains = get_option( 'all_domains_auto_install_free_ssl' );
     468        if ( $all_domains && is_array( $all_domains ) ) {
     469            $app_settings = array_merge( $app_settings, $all_domains );
     470        }
     471        /*if ( get_option( 'domains_to_revoke_cert_auto_install_free_ssl' ) ) {
     472                    $app_settings = array_merge( $app_settings, get_option( 'domains_to_revoke_cert_auto_install_free_ssl' ) );
     473                }*/
     474        $domains_revoke_cert = get_option( 'aifs_domains_to_revoke_cert' );
     475        if ( $domains_revoke_cert && is_array( $domains_revoke_cert ) ) {
     476            $app_settings = array_merge( $app_settings, $domains_revoke_cert );
     477        }
     478        return $app_settings;
     479    }
     480
     481    /**
     482     * Get the domain of this WordPress website
     483     *
     484     * @param bool $remove_www
     485     *
     486     * @return string
     487     *
     488     * @since 1.0.0
     489     */
     490    /* function aifs_get_domain(bool $remove_www = true){
     491     *  Removing parameter type hint to make compatible with PHP 5.6. Using scalar type hints like string is supported since PHP 7. */
     492    function aifs_get_domain(  $remove_www = true  ) {
     493        $site_url = get_site_url();
     494        $site_url = parse_url( $site_url );
     495        $domain = $site_url['host'];
     496        if ( $remove_www && strpos( $domain, 'www.' ) !== false && strpos( $domain, 'www.' ) === 0 ) {
     497            //If www. found at the beginning
     498            $domain = substr( $domain, 4 );
     499        }
     500        return $domain;
     501    }
     502
     503    /**
     504     * Get IPv4 or IPv6 of this server
     505     * improved since 4.1.0
     506     * @return mixed|string
     507     * @since 3.6.0
     508     */
     509    function aifs_ip_of_this_server() {
     510        $serverIP = false;
     511        if ( isset( $_SERVER['SERVER_ADDR'] ) ) {
     512            $serverIP = $_SERVER['SERVER_ADDR'];
     513        } else {
     514            // Get the website address (domain name)
     515            $websiteAddress = aifs_get_domain( false );
     516            // Try getting IP using gethostbyname
     517            $ip = gethostbyname( $websiteAddress );
     518            // Check if gethostbyname returned a valid IP
     519            if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) {
     520                $serverIP = $ip;
     521            } else {
     522                if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 ) ) {
     523                    $serverIP = $ip;
     524                } else {
     525                    // Fallback to dns_get_record if gethostbyname didn't return a valid IP
     526                    $records = dns_get_record( $websiteAddress, DNS_A );
     527                    $serverIP = ( isset( $records[0]['ip'] ) ? $records[0]['ip'] : '' );
     528                }
     529            }
     530        }
     531        if ( $serverIP && (filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) || filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 )) ) {
     532            return $serverIP;
     533        } else {
     534            return false;
     535        }
     536    }
     537
     538    //Attach the JS
     539    function aifs_add_js_enqueue(  $hook  ) {
     540        // Only add to this admin.php admin page -> page=aifs_add_dns_service_provider
     541        if ( !(aifs_is_free_version() && aifs_is_existing_user() && isset( $_GET['page'] ) && ($_GET['page'] === 'auto_install_free_ssl' || $_GET['page'] !== 'aifs_generate_ssl_manually' || $_GET['page'] !== 'aifs_force_https')) ) {
     542            if ( !isset( $_GET['page'] ) || 'admin.php' !== $hook && $_GET['page'] !== 'aifs_add_dns_service_provider' && $_GET['page'] !== 'aifs_basic_settings' && $_GET['page'] !== 'auto_install_free_ssl' && $_GET['page'] !== 'aifs_cpanel_settings' && $_GET['page'] !== 'aifs_generate_ssl_manually' && $_GET['page'] !== 'aifs_force_https' ) {
     543                return;
     544            }
     545        }
     546        wp_register_script( 'aifs_script_1', AIFS_URL . 'assets/js/script.js', array('jquery') );
     547        /* translators: "Let's Encrypt" is a nonprofit SSL certificate authority. */
     548        $agree_to_le_terms = __( "Please read and agree to the Let's Encrypt™ Subscriber Agreement", 'auto-install-free-ssl' );
     549        // Localize the script with new data
     550        $translation_array = array(
     551            'password_or_api_token' => __( "Please provide either a Password or an API Token", 'auto-install-free-ssl' ),
     552            'admin_email'           => __( "Please provide the Admin Email id", 'auto-install-free-ssl' ),
     553            'le_terms'              => $agree_to_le_terms,
     554            'freessl_tech_tos_pp'   => __( "Please read and agree to FreeSSL.tech Terms of Service and Privacy Policy", 'auto-install-free-ssl' ),
     555        );
     556        wp_localize_script( 'aifs_script_1', 'aifs_js_variable', $translation_array );
     557        wp_enqueue_script( 'aifs_script_1' );
     558        //wp_enqueue_script( 'aifs_script_1', AIFS_URL . 'assets/js/script.js', array( 'jquery' ) );
     559    }
     560
     561    /**
     562     * Enqueue admin CSS and JS
     563     *
     564     * @since 1.1.0
     565     */
     566    function aifs_admin_styles() {
     567        wp_enqueue_style(
     568            'aifs_style_1',
     569            AIFS_URL . 'assets/css/aifs-admin.css',
     570            false,
     571            AIFS_VERSION,
     572            'all'
     573        );
     574    }
     575
     576    /**
     577     * Set review option to 1 to display the review request
     578     *
     579     * @since 1.1.0
     580     */
     581    function aifs_set_display_review_option() {
     582        update_option( 'aifs_display_review', 1 );
     583    }
     584
     585    add_action( 'aifs_display_review_init', 'aifs_set_display_review_option' );
     586    /**
     587     * Set announcement option to 1 to display the announcement request again
     588     *
     589     * @since 2.2.2
     590     */
     591    function aifs_set_display_announcement_option() {
     592        update_option( 'aifs_display_free_premium_offer', 1 );
     593    }
     594
     595    add_action( 'aifs_display_announcement_init', 'aifs_set_display_announcement_option' );
     596    /**
     597     * Set discount offer option to 1 to display the discount offer again
     598     *
     599     * @since 3.2.13
     600     */
     601    function aifs_set_display_discount_offer_option() {
     602        update_option( 'aifs_display_discount_offer_existing_users', 1 );
     603    }
     604
     605    add_action( 'aifs_display_discount_offer_init', 'aifs_set_display_discount_offer_option' );
     606    /**
     607     * If there are admin notices in the option table, display them and remove from the option table to prevent them being displayed forever
     608     *
     609     * @since 2.0.0
     610     */
     611    function aifs_display_flash_notices() {
     612        $notices = get_option( 'aifs_flash_notices' );
     613        if ( $notices != false && count( $notices ) > 0 ) {
     614            // Iterate through the notices to display them, if exist in option table
     615            foreach ( $notices as $notice ) {
     616                $style = ( $notice['type'] == "success" ? 'style="color: #46b450;"' : '' );
     617                printf(
     618                    '<div class="notice notice-%1$s %2$s" %3$s><p>%4$s</p></div>',
     619                    $notice['type'],
     620                    $notice['dismissible'],
     621                    $style,
     622                    $notice['notice']
     623                );
     624            }
     625            // Now delete the option
     626            delete_option( 'aifs_flash_notices' );
     627        }
     628    }
     629
     630    // Add the above function to admin_notices
     631    add_action( 'admin_notices', 'aifs_display_flash_notices', 12 );
     632    /**
     633     * @param string $notice (The notice text)
     634     * @param string $type (This can be "success", "info", "warning", "error". "success" is default.)
     635     * @param boolean $is_dismissible (Set this TRUE to add is-dismissible functionality)
     636     *
     637     *
     638     * Add a flash notice to the options table which will be displayed upon page refresh or redirect
     639     *
     640     * @since 2.0.0
     641     */
     642    /* function aifs_add_flash_notice(string $notice, string $type = "success", bool $is_dismissible = true ) {
     643     * Removing parameter type hint to make compatible with PHP 5.6. Using scalar type hints like string is supported since PHP 7. */
     644    function aifs_add_flash_notice(  $notice, $type = "success", $is_dismissible = true  ) {
     645        // Get the notices already saved in the option table, if any, or return an empty array
     646        $notices = get_option( 'aifs_flash_notices', array() );
     647        $dismissible_text = ( $is_dismissible ? "is-dismissible" : "" );
     648        // Add the new notice
     649        array_push( $notices, array(
     650            "notice"      => $notice,
     651            "type"        => $type,
     652            "dismissible" => $dismissible_text,
     653        ) );
     654        // Now update the option with the notices
     655        update_option( 'aifs_flash_notices', $notices );
     656    }
     657
     658    /*// Schedule Cron Job Event (if not done already)
     659        function aifs_custom_cron_job() {
     660            if ( ! wp_next_scheduled( 'aifs_do_this_daily' ) ) {
     661                wp_schedule_event( current_time( 'timestamp' ), 'daily', 'aifs_do_this_daily' );
     662            }
     663        }
     664   
     665        add_action( 'wp', 'aifs_custom_cron_job' );*/
     666    // Scheduled Action Hook
     667    // Daily cron
     668    function aifs_do_this_daily() {
     669        if ( aifs_is_free_version() ) {
     670            //Send renewal reminder email
     671            $email = new Email();
     672            $email->send_ssl_renewal_reminder_email();
     673            //Clean the log directory
     674            $logger = new AutoInstallFreeSSL\FreeSSLAuto\Logger();
     675            $logger->clean_log_directory();
     676        }
     677    }
     678
     679    add_action( 'aifs_do_this_daily', 'aifs_do_this_daily' );
     680    // AJAX action to update option
     681    // @since 4.0.0
     682    add_action( 'wp_ajax_aifs_update_option', array(new HomeOptions(), 'aifs_update_option') );
     683    /**
     684     * Download file handler
     685     */
     686    function aifs_download_file_handler() {
     687        if ( isset( $_GET['aifsdownloadssl'] ) ) {
     688            if ( !wp_verify_nonce( $_GET['aifsdownloadssl'], 'aifs_download_ssl' ) ) {
     689                wp_die( __( "Access denied", 'auto-install-free-ssl' ) );
     690            }
     691            $app_settings = aifs_get_app_settings();
     692            //initialize the Acme Factory class
     693            $acmeFactory = new AcmeFactory($app_settings['homedir'] . '/' . $app_settings['certificate_directory'], $app_settings['acme_version'], $app_settings['is_staging']);
     694            //get the path of SSL files
     695            /*$certificates_directory = $acmeFactory->getCertificatesDir();
     696           
     697                        $file_path = $certificates_directory . AIFS_DS . $_GET['domain'] . AIFS_DS . $_GET['file'];*/
     698            $domain_path = $acmeFactory->getDomainPath( $_GET['domain'] );
     699            $file_path = $domain_path . AIFS_DS . $_GET['file'];
     700            $factory = new Factory();
     701            $factory->download_file( $file_path );
     702            //wp_redirect($this->aifs_remove_parameters_from_url(get_site_url().$_SERVER['REQUEST_URI'], ['aifsrated']));
     703        }
     704    }
     705
     706    /**
     707     * Return first name of the WordPress Admin
     708     * @return string
     709     * @since 3.0.0
     710     */
     711    function aifs_admin_first_name() {
     712        $admin_email = get_option( 'admin_email' );
     713        $admin = get_user_by( 'email', $admin_email );
     714        if ( $admin !== false ) {
     715            return $admin->first_name;
     716        } else {
     717            return "";
     718        }
     719    }
     720
     721    /**
     722     * Return last name of the WordPress Admin
     723     * @return string
     724     * @since 3.2.14
     725     */
     726    function aifs_admin_last_name() {
     727        $admin_email = get_option( 'admin_email' );
     728        $admin = get_user_by( 'email', $admin_email );
     729        if ( $admin !== false ) {
     730            return $admin->last_name;
     731        } else {
     732            return "";
     733        }
     734    }
     735
     736    /**
     737     * Check if the plugin is free version
     738     * @return bool
     739     * @since 3.0.0
     740     */
     741    function aifs_is_free_version() {
     742        return aifssl_fs()->is_free_plan();
     743    }
     744
     745    /**
     746     * Check if licensed for unlimited domains (pro_unlimited plan) and user has set aifs_is_multi_domain = 1
     747     * @return bool
     748     * @since 3.0.0
     749     */
     750    function aifs_can_manage_multi_domain() {
     751        //For free version always return false
     752        return false;
     753    }
     754
     755    /**
     756     * Check if the user can use wildcard SSL
     757     * @return bool
     758     * @since 3.2.15
     759     */
     760    function aifs_use_wildcard() {
     761        //For free version always return false
     762        return false;
     763    }
     764
     765    /**
     766     * Check if the premium license is for unlimited websites
     767     * @return bool
     768     * @since 3.0.0
     769     */
     770    function aifs_license_is_unlimited() {
     771        //For free version always return false
     772        return false;
     773    }
     774
     775    /**
     776     * CSS style for Powered by text
     777     * @return string
     778     * @since 3.0.0
     779     */
     780    function aifs_powered_by_css_style() {
     781        global $wp_version;
     782        $version_parts = explode( ".", $wp_version );
     783        $version_base = (int) $version_parts[0];
     784        if ( $version_base === 5 || $version_base === 6 ) {
     785            $style = 'class="header-footer"';
     786        } else {
     787            $style = 'id="message" class="updated below-h2 header-footer"';
     788        }
     789        return $style;
     790    }
     791
     792    /**
     793     * Returns the header
     794     * @return string
     795     * @since 3.0.6
     796     */
     797    function aifs_header() {
     798        return '<h1 class="aifs-header" style=\'background-image: url("' . AIFS_URL . 'assets/img/icon.jpg"); background-color: #ffffff; margin: -3% -1.9% 3% -2%; padding: 2.1% 0; \'>
     799                    <span style="margin-left: 14%; color: green;">' . AIFS_NAME . ' <sub style="color: gray; font-size: 0.65em;">' . AIFS_VERSION . '</sub></span> <span style="float: right; margin-right: 2%;"><a href="' . menu_page_url( 'aifs_force_https', false ) . '" class="button">' . __( "Force HTTPS", 'auto-install-free-ssl' ) . '</a></span>
     800                </h1>';
     801    }
     802
     803    /**
     804     * Returns Powered by text
     805     * @return string
     806     * @since 3.0.0
     807     */
     808    function aifs_powered_by() {
     809        if ( aifssl_fs()->can_use_premium_code() ) {
     810            $help_link = aifssl_fs()->contact_url();
     811        } else {
     812            $help_link = "https://freessl.tech/free-ssl-certificate-for-wordpress-website/#help";
     813        }
     814        if ( aifs_is_free_version() ) {
     815            $documentation_link = "https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=footer";
     816        } else {
     817            $documentation_link = "https://freessl.tech/free-ssl-certificate-for-wordpress-website/#documentation";
     818        }
     819        $review_link = "https://wordpress.org/support/plugin/auto-install-free-ssl/reviews/?filter=5#new-post";
     820        $html = '<div ' . aifs_powered_by_css_style() . ' style="margin-top: 4%;">
     821            <p>' . __( "Need Help?", 'auto-install-free-ssl' ) . ' <a href="' . $help_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a> <span style="margin-left: 15%;">' . __( "For documentation", 'auto-install-free-ssl' ) . ', <a href="' . $documentation_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a>.</span> ';
     822        if ( get_option( 'aifs_display_review' ) !== false ) {
     823            /* translators: %1$s: Opening HTML 'a' tag; %2$s: Closing 'a' tag; (Opening and closing 'a' tags create a hyperlink with the enclosed text.) */
     824            $html .= '<span style="float: right; margin-right: 2%;">' . sprintf( __( 'Please rate us %1$s★★★★★%2$s on %1$sWordPress.org%2$s to help us spread the word.', 'auto-install-free-ssl' ), '<a href="' . $review_link . '" target="_blank">', '</a>' ) . '</span>';
     825        }
     826        $html .= '</p>
     827            </div>';
     828        return $html;
     829    }
     830
     831    /**
     832     * Show the contact submenu item only when the user have a valid non-expired license.
     833     *
     834     * @param $is_visible The filtered value. Whether the submenu item should be visible or not.
     835     * @param $menu_id    The ID of the submenu item.
     836     *
     837     * @return bool If true, the menu item should be visible.
     838     */
     839    function aifs_is_submenu_visible(  $is_visible, $menu_id  ) {
     840        if ( 'contact' != $menu_id ) {
     841            return $is_visible;
     842        }
     843        return aifssl_fs()->can_use_premium_code();
     844    }
     845
     846    aifssl_fs()->add_filter(
     847        'is_submenu_visible',
     848        'aifs_is_submenu_visible',
     849        10,
     850        2
     851    );
     852    function aifs_deactivation_text(  $uninstall_reasons  ) {
     853        $html = '<div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">';
     854        if ( aifs_is_free_version() ) {
     855            $documentation_link = "https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=deactivation_promo";
     856            $html .= '<p><a href="' . $documentation_link . '" style="text-decoration: none;"><strong style="color: red;">' . __( "Invest 5 minutes now & save \$\$\$", 'auto-install-free-ssl' ) . '</strong></a><a class="aifs-review-now aifs-review-button" style="margin-left: 5%;" href="' . $documentation_link . '">' . __( "Click here for Documentation", 'auto-install-free-ssl' ) . '</a></p>
     857             <a href="' . $documentation_link . '" style="text-decoration: none;">
     858             <p><span class="dashicons dashicons-video-alt"></span> &nbsp;&nbsp;' . __( "Are you experiencing challenges? Our Free SSL plugin can lead to significant cost savings if you invest just a few minutes in our VIDEO and written Documentation.", 'auto-install-free-ssl' ) . '</p>
     859             </a>';
     860            /*$html .= '<p><a href="' . $documentation_link . '" style="text-decoration: none;"><strong>' . __( "WAIT, did you read our documentation?", 'auto-install-free-ssl' ) . '</strong></a><a class="aifs-review-now aifs-review-button" style="margin-left: 5%;" href="' . $documentation_link . '">' . __( "Click here & Read it", 'auto-install-free-ssl' ) . '</a></p>
     861              <a href="' . $documentation_link . '" style="text-decoration: none;">
     862              <p>' . __( "Experiencing challenges? By investing just a few minutes in our VIDEO and written documentation and successfully implementing it, our free SSL plugin can lead to significant cost savings for you.", 'auto-install-free-ssl' ) . '</p>
     863              </a>';*/
     864        } else {
     865        }
     866        $html .= '</div>';
     867        if ( !(aifssl_fs()->is_paying() && !aifssl_fs()->is_premium()) ) {
     868            $uninstall_reasons['long-term'][] = $uninstall_reasons['short-term'][] = $uninstall_reasons['non-registered-and-non-anonymous-short-term'][] = array(
     869                'id'                => 200,
     870                'text'              => $html,
     871                'input_type'        => '',
     872                'input_placeholder' => 'aifsdeactivationpromo',
     873            );
     874        }
     875        return $uninstall_reasons;
     876    }
     877
     878    aifssl_fs()->add_filter( 'uninstall_reasons', 'aifs_deactivation_text' );
     879    /**
     880     * Get the CA termsOfService URL
     881     * @return mixed|string
     882     * @since 4.3.0
     883     */
     884    function aifs_get_ca_terms_of_service_url() {
     885        // Fetch the option from the WordPress database
     886        $tos = get_option( 'aifs_ca_terms_of_service_url' );
     887        $current_time = time();
     888        $two_days_ago = $current_time - 2 * 24 * 60 * 60;
     889        // 2 days ago in seconds
     890        // Check if the option exists and 'last_updated' is greater than two days ago
     891        if ( $tos && is_array( $tos ) && isset( $tos['url'] ) && isset( $tos['last_updated'] ) && $tos['last_updated'] >= $two_days_ago ) {
     892            return $tos['url'];
     893        } else {
     894            // If no option exists or it's older than 2 days, update the option
     895            $client = new Client(AIFS_LE_ACME_V2_LIVE);
     896            $terms_url = $client->getTermsOfService();
     897            // Update the option in the database
     898            $tos_data = array(
     899                'url'          => $terms_url,
     900                'last_updated' => $current_time,
     901            );
     902            update_option( 'aifs_ca_terms_of_service_url', $tos_data, false );
     903            // Return the updated URL
     904            return $terms_url;
     905        }
     906    }
     907
     908    /**
     909     * Get this plugin's activation count (free and premium version) to find out whether both version is active.
     910     * @return int
     911     * @since 4.5.0
     912     */
     913    function aifs_this_plugin_activation_count() {
     914        $count = 0;
     915        if ( is_plugin_active( AIFS_FREE_PLUGIN_BASENAME ) ) {
     916            $count++;
     917        }
     918        if ( is_plugin_active( AIFS_PREMIUM_PLUGIN_BASENAME ) ) {
     919            $count++;
     920        }
     921        return $count;
     922    }
     923
     924    /**
     925     * Get this plugin's installation count (free and premium version) to find out whether both version is installed (both active and inactive).
     926     * @return int
     927     * @since 4.5.0
     928     */
     929    function aifs_this_plugin_installation_count() {
     930        $count = 0;
     931        // Get the list of all installed plugins (both active and inactive)
     932        $installed_plugins = get_plugins();
     933        if ( isset( $installed_plugins[AIFS_FREE_PLUGIN_BASENAME] ) ) {
     934            $count++;
     935        }
     936        if ( isset( $installed_plugins[AIFS_PREMIUM_PLUGIN_BASENAME] ) ) {
     937            $count++;
     938        }
     939        return $count;
     940    }
     941
    87942}
    88 if ( !extension_loaded( 'openssl' ) ) {
    89     //wp_die( __( "You need OpenSSL extension enabled with PHP", 'auto-install-free-ssl' ) );
    90     $log_msg .= __( "You need OpenSSL extension enabled with PHP", 'auto-install-free-ssl' ) . "<br />";
    91 }
    92 if ( !extension_loaded( 'curl' ) ) {
    93     //wp_die( __( "You need Curl extension enabled with PHP", 'auto-install-free-ssl' ) );
    94     $log_msg .= __( "You need Curl extension enabled with PHP", 'auto-install-free-ssl' ) . "<br />";
    95 }
    96 if ( !ini_get( 'allow_url_fopen' ) ) {
    97     //wp_die( __( "You need to set PHP directive allow_url_fopen = On. Please contact your web hosting company for help.", 'auto-install-free-ssl' ) );
    98     $log_msg .= __( "You need to set PHP directive allow_url_fopen = On. Please contact your web hosting company for help.", 'auto-install-free-ssl' ) . "<br />";
    99 }
    100 if ( strlen( $log_msg ) > 10 ) {
    101     $log_msg .= '<br />Please <a href="' . admin_url( 'plugins.php' ) . '">click here</a> to return to the plugins page.';
    102     wp_die( $log_msg );
    103 }
    104 // Define Directory Separator to make the default DIRECTORY_SEPARATOR short
    105 if ( !defined( 'DS' ) ) {
    106     define( 'DS', DIRECTORY_SEPARATOR );
    107 }
    108 require_once ABSPATH . 'wp-admin/includes/plugin.php';
    109 $plugin_data = get_plugin_data( __FILE__ );
    110 define( 'AIFS_VERSION', $plugin_data['Version'] );
    111 define( 'AIFS_DIR', plugin_dir_path( __FILE__ ) );
    112 define( 'AIFS_URL', plugin_dir_url( __FILE__ ) );
    113 define( 'AIFS_NAME', $plugin_data['Name'] );
    114 $wp_upload_directory = wp_upload_dir();
    115 define( 'AIFS_UPLOAD_DIR', $wp_upload_directory['basedir'] . DS . 'auto-install-free-ssl' );
    116 define( 'AIFS_DEFAULT_LE_ACME_VERSION', 2 );
    117 define( 'AIFS_LE_ACME_V2_LIVE', 'https://acme-v02.api.letsencrypt.org' );
    118 define( 'AIFS_LE_ACME_V2_STAGING', 'https://acme-staging-v02.api.letsencrypt.org' );
    119 if ( file_exists( __DIR__ . DS . 'aifs-config.php' ) ) {
    120     require_once __DIR__ . DS . 'aifs-config.php';
    121 }
    122 //if ( aifssl_fs()->can_use_premium_code__premium_only() ) {
    123 if ( !defined( 'AIFS_ENC_KEY' ) ) {
    124     define( 'AIFS_ENC_KEY', SECURE_AUTH_KEY );
    125     //@since 2.1.1
    126 }
    127 //}
    128 if ( !function_exists( 'aifs_findRegisteredDomain' ) && !function_exists( 'aifs_getRegisteredDomain' ) && !function_exists( 'aifs_validDomainPart' ) ) {
    129     require_once AIFS_DIR . DS . 'vendor' . DS . 'usrflo' . DS . 'registered-domain-libs' . DS . 'PHP' . DS . 'effectiveTLDs.inc.php';
    130     require_once AIFS_DIR . DS . 'vendor' . DS . 'usrflo' . DS . 'registered-domain-libs' . DS . 'PHP' . DS . 'regDomain.inc.php';
    131 }
    132 if ( version_compare( phpversion(), '5.3.0' ) >= 0 && !class_exists( 'AutoInstallFreeSSL\\FreeSSLAuto\\FreeSSLAuto' ) ) {
    133     if ( file_exists( __DIR__ . DS . 'vendor' . DS . 'autoload.php' ) ) {
    134         require_once __DIR__ . DS . 'vendor' . DS . 'autoload.php';
    135     }
    136 }
    137 use AutoInstallFreeSSL\FreeSSLAuto\Acme\Factory as AcmeFactory;
    138 use AutoInstallFreeSSL\FreeSSLAuto\Admin\ForceSSL;
    139 use AutoInstallFreeSSL\FreeSSLAuto\Admin\HomeOptions;
    140 use AutoInstallFreeSSL\FreeSSLAuto\Admin\AdminNotice;
    141 use AutoInstallFreeSSL\FreeSSLAuto\Admin\GenerateSSLmanually;
    142 use AutoInstallFreeSSL\FreeSSLAuto\Admin\Factory;
    143 use AutoInstallFreeSSL\FreeSSLAuto\Admin\ForceHttpsPage;
    144 use AutoInstallFreeSSL\FreeSSLAuto\Admin\Log;
    145 use AutoInstallFreeSSL\FreeSSLAuto\Email;
    146 use AutoInstallFreeSSL\FreeSSLAuto\Acme\Client;
    147 /**
    148  * Force SSL on frontend and backend
    149  */
    150 new ForceSSL();
    151 /** Create the menu */
    152 function aifs_home_menu() {
    153     /** Top level menu */
    154     add_menu_page(
    155         __( "Auto-Install SSL Dashboard", 'auto-install-free-ssl' ),
    156         __( "Auto-Install Free SSL", 'auto-install-free-ssl' ),
    157         'manage_options',
    158         'auto_install_free_ssl',
    159         'aifs_home_options',
    160         'dashicons-lock',
    161         65
    162     );
    163 }
    164 
    165 /** Register the above function using the admin_menu action hook and attach all other options  */
    166943if ( is_admin() ) {
    167944    // activation hook
     
    169946    // Deactivation hook
    170947    register_deactivation_hook( __FILE__, 'deactivate_auto_install_free_ssl' );
    171     //Freemius after uninstall action
    172     aifssl_fs()->add_action( 'after_uninstall', 'aifs_uninstall_cleanup' );
     948    if ( aifs_this_plugin_activation_count() <= 1 ) {
     949        // @since 4.5.0
     950        //Freemius after uninstall action
     951        aifssl_fs()->add_action( 'after_uninstall', 'aifs_uninstall_cleanup' );
     952    }
    173953    /** Add 'Settings' option */
    174954    add_action( 'plugin_action_links_' . plugin_basename( __FILE__ ), 'aifs_add_settings_option_in_plugins_page' );
     
    180960    add_action( 'init', 'aifs_load_textdomain' );
    181961    /** Display Admin Notice */
    182     new AdminNotice();
     962    //new AdminNotice();
     963    AdminNotice::getInstance();
    183964    /** Generate SSL manually */
    184     new GenerateSSLmanually();
     965    //new GenerateSSLmanually();
     966    GenerateSSLmanually::getInstance();
    185967    //Add the JS
    186968    add_action( 'admin_enqueue_scripts', 'aifs_add_js_enqueue' );
     
    188970    add_action( 'admin_init', 'aifs_download_file_handler' );
    189971    /** Force HTTPS page */
    190     new ForceHttpsPage();
     972    //new ForceHttpsPage();
     973    ForceHttpsPage::getInstance();
    191974    /** Log page */
    192     new Log();
     975    //new Log();
     976    Log::getInstance();
    193977}
    194 /** Add 'Settings' option */
    195 function aifs_add_settings_option_in_plugins_page(  $links  ) {
    196     $links[] = '<a href="' . admin_url( 'admin.php?page=auto_install_free_ssl' ) . '">' . __( "Settings", 'auto-install-free-ssl' ) . '</a>';
    197     return $links;
    198 }
    199 
    200 /** Attach the home page */
    201 function aifs_home_options() {
    202     if ( !current_user_can( 'manage_options' ) ) {
    203         wp_die( __( "You do not have sufficient permissions to access this page.", 'auto-install-free-ssl' ) );
    204     }
    205     $home_options = new HomeOptions();
    206     $home_options->display();
    207 }
    208 
    209 /** Implementing Translations - load textdomain */
    210 function aifs_load_textdomain() {
    211     load_plugin_textdomain( 'auto-install-free-ssl', false, basename( dirname( __FILE__ ) ) . '/languages/' );
    212 }
    213 
    214 /**
    215  * This function will be called during the plugin activation.
    216  * Improved since 4.0.0
    217  * */
    218 function activate_auto_install_free_ssl() {
    219     if ( !get_option( 'aifs_user_since_free_only_version' ) ) {
    220         //add_option( 'aifs_user_since_free_only_version', 0 ); //If this value is not set (or was set 0), it's an NEW user
    221         add_option( 'aifs_user_since_free_only_version', (int) aifs_user_since_free_only_version() );
    222     }
    223     //$app_settings = aifs_get_app_settings();
    224     $basic_settings = get_option( 'basic_settings_auto_install_free_ssl' );
    225     /**
    226      * if already basic settings etc exists, don't run next code block
    227      */
    228     //if ( !isset( $app_settings['acme_version'] ) || !isset( $app_settings['key_size'] ) || !isset($app_settings['all_domains']) || count($app_settings['all_domains']) == 0 ) { //This will over-right already entered data with version 2
    229     if ( $basic_settings === false || !isset( $basic_settings['acme_version'] ) && !isset( $basic_settings['key_size'] ) ) {
    230         $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
    231         $data->data_entry();
    232     }
    233     // Schedule daily Cron Job Event (if not done already) - moved here since 4.0.0
    234     if ( !wp_next_scheduled( 'aifs_do_this_daily' ) ) {
    235         wp_schedule_event( current_time( 'timestamp' ), 'daily', 'aifs_do_this_daily' );
    236     }
    237 }
    238 
    239 /**
    240  * This function will be called during the plugin deactivation
    241  * Improved since 4.0.0
    242  * */
    243 function deactivate_auto_install_free_ssl() {
    244     if ( !get_option( 'aifs_user_since_free_only_version' ) ) {
    245         add_option( 'aifs_user_since_free_only_version', 1 );
    246     }
    247     /*
    248      * Moved Delete plugin data on deactivation logic to aifs_uninstall_cleanup(),
    249      * which will be called by Freemius after uninstall action.
    250      * @since 4.0.0
    251      */
    252     /*
    253      * Remove the cron job
    254      * @since 3.2.7
    255      */
    256     if ( wp_next_scheduled( 'aifs_do_this_daily' ) ) {
    257         wp_unschedule_event( wp_next_scheduled( 'aifs_do_this_daily' ), 'aifs_do_this_daily' );
    258     }
    259 }
    260 
    261 /**
    262  * Delete plugin data on plugin deletion (i.e., uninstallation).
    263  * This function will be called by Freemius after uninstall action.
    264  * @since 4.0.0
    265  */
    266 function aifs_uninstall_cleanup() {
    267     if ( get_option( 'aifs_free_plan_selected' ) ) {
    268         delete_option( 'aifs_free_plan_selected' );
    269     }
    270     if ( get_option( 'aifs_comparison_table_promo_start_time' ) ) {
    271         // @since 4.0.0
    272         delete_option( 'aifs_comparison_table_promo_start_time' );
    273     }
    274     /*
    275      * Removed 'aifs_user_since_free_only_version' since 3.5.1
    276      * @since 3.2.7
    277      */
    278     if ( get_option( 'aifs_delete_plugin_data_on_deactivation' ) ) {
    279         $options = [
    280             'basic_settings_auto_install_free_ssl',
    281             'all_domains_auto_install_free_ssl',
    282             'cpanel_settings_auto_install_free_ssl',
    283             'exclude_domains_auto_install_free_ssl',
    284             'dns_provider_auto_install_free_ssl',
    285             'add_cron_job_auto_install_free_ssl',
    286             'aifs_display_announcement',
    287             'aifs_generate_ssl_manually',
    288             'aifs_return_array_step1_manually',
    289             'aifs_free_plan_selected',
    290             'aifs_domains_to_revoke_cert',
    291             'aifs_ssl_installed_on_this_website',
    292             'aifs_force_ssl',
    293             'aifs_revert_http_nonce',
    294             'aifs_display_free_premium_offer',
    295             'aifs_is_multi_domain',
    296             'aifs_multi_domain',
    297             'aifs_display_review',
    298             'aifs_admin_notice_display_counter',
    299             'aifs_renew_ssl_later_requested_timestamp',
    300             'aifs_ssl_renewal_reminder_email_last_sent_timestamp',
    301             'aifs_display_discount_offer_existing_users',
    302             'aifs_is_generated_ssl_installed',
    303             'aifs_number_of_ssl_generated',
    304             'aifs_ca_terms_of_service_url',
    305             'aifs_delete_plugin_data_on_deactivation'
    306         ];
    307         // aifs_is_admin_email_invalid
    308         foreach ( $options as $opt ) {
    309             delete_option( $opt );
    310         }
    311     }
    312 }
    313 
    314 /**
    315  * Detects if the OS Windows
    316  * @return bool
    317  * @since 3.2.0
    318  */
    319 function aifs_is_os_windows() {
    320     if ( strtoupper( substr( PHP_OS, 0, 3 ) ) === 'WIN' ) {
    321         return true;
    322     } else {
    323         return false;
    324     }
    325 }
    326 
    327 /**
    328  * Detects the Server Software and returns it in lower case (apache | nginx | ms-iis). Returns FALSE if unable to detect.
    329  * @return false|string
    330  * @since 3.2.0
    331  */
    332 function aifs_server_software() {
    333     $ss = strtolower( $_SERVER['SERVER_SOFTWARE'] );
    334     if ( strpos( $ss, 'apache' ) !== false ) {
    335         return "apache";
    336     }
    337     if ( strpos( $ss, 'nginx' ) !== false ) {
    338         return "nginx";
    339     }
    340     if ( strpos( $ss, 'microsoft-iis' ) !== false || strpos( $ss, 'iis' ) !== false ) {
    341         return "ms-iis";
    342     }
    343     return false;
    344 }
    345 
    346 /**
    347  * Detects if the user using the plugin since the free only version
    348  * @return false|mixed|void
    349  */
    350 function aifs_is_existing_user() {
    351     return get_option( 'aifs_user_since_free_only_version', true );
    352 }
    353 
    354 /**
    355  * Detects, if the user installed the plugin since free only version
    356  * @since 3.0.6
    357  */
    358 function aifs_user_since_free_only_version() {
    359     if ( get_option( 'basic_settings_auto_install_free_ssl' ) ) {
    360         $basic_settings_existing = get_option( 'basic_settings_auto_install_free_ssl' );
    361         /*if(empty($basic_settings_existing)){
    362                     return true;
    363                 }*/
    364         if ( is_array( $basic_settings_existing ) ) {
    365             $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
    366             $basic_settings_default_v3 = $data->basic_settings_default_v3();
    367             if ( $basic_settings_existing['use_wildcard'] != $basic_settings_default_v3['use_wildcard'] ) {
    368                 return true;
    369             } elseif ( $basic_settings_existing['is_staging'] != $basic_settings_default_v3['is_staging'] ) {
    370                 return true;
    371             } elseif ( $basic_settings_existing['country_code'] != $basic_settings_default_v3['country_code'] ) {
    372                 return true;
    373             } elseif ( $basic_settings_existing['state'] != $basic_settings_default_v3['state'] ) {
    374                 return true;
    375             } elseif ( $basic_settings_existing['organization'] != $basic_settings_default_v3['organization'] ) {
    376                 return true;
    377             } elseif ( $basic_settings_existing['certificate_directory'] != $basic_settings_default_v3['certificate_directory'] ) {
    378                 return true;
    379             } elseif ( $basic_settings_existing['days_before_expiry_to_renew_ssl'] != $basic_settings_default_v3['days_before_expiry_to_renew_ssl'] ) {
    380                 return true;
    381             } elseif ( $basic_settings_existing['using_cdn'] != $basic_settings_default_v3['using_cdn'] ) {
    382                 return true;
    383             } elseif ( $basic_settings_existing['key_size'] != $basic_settings_default_v3['key_size'] ) {
    384                 return true;
    385             } else {
    386                 return false;
    387             }
    388         }
    389         /*else{
    390                     return true; //User didn't configured, but installed v2
    391                 }*/
    392     }
    393     return false;
    394 }
    395 
    396 /**
    397  * required for successful redirect
    398  */
    399 function aifs_do_output_buffer() {
    400     ob_start();
    401 }
    402 
    403 /**
    404  * Set 1 for the user who is using this plugin since free-only version (V 1 or 2)
    405  */
    406 /*if(!get_option('aifs_user_since_free_only_version')){
    407         add_option('aifs_user_since_free_only_version', 1);
    408     }*/
    409 //$app_settings = aifs_get_app_settings();
    410 //if ( aifssl_fs()->can_use_premium_code__premium_only() ) {
    411 /**
    412  * if already basic settings etc exists, don't run next two lines
    413  */
    414 //if ( !isset( $app_settings['acme_version'] ) || !isset( $app_settings['key_size'] ) || !isset($app_settings['all_domains']) || count($app_settings['all_domains']) == 0 ) { //This will over-right already entered data with version 2
    415 /*if ( !isset( $app_settings['acme_version'] ) && !isset( $app_settings['key_size'] ) ) {
    416             $data = new AutoInstallFreeSSL\FreeSSLAuto\Admin\AutoDataEntry();
    417             $data->data_entry();
    418         }*/
    419 //}
    420 /**
    421  * Fires just after activation - redirect to the plugin dashboard
    422  *
    423  * If a plugin is silently activated (such as during an update), this hook does not fire.
    424  *
    425  * @param $plugin
    426  */
    427 /*function aifs_activation_redirect( $plugin ) {
    428         if ( $plugin == plugin_basename( __FILE__ ) ) {
    429 
    430             //$redirect_url = "admin.php?page=auto_install_free_ssl";
    431             $redirect_url = menu_page_url( 'auto_install_free_ssl' );
    432 
    433             /* This is throwing access issue with freemius
    434 
    435             if ( aifs_is_free_version() ) {
    436                 $redirect_url = "admin.php?page=aifs_generate_ssl_manually";
    437             } else {
    438                 $redirect_url = "admin.php?page=auto_install_free_ssl";
    439             } */
    440 /*
    441             //exit( wp_redirect( admin_url( $redirect_url ) ) );
    442             wp_redirect( $redirect_url, 301 );
    443         }
    444     }*/
    445 //add_action( 'activated_plugin', 'aifs_activation_redirect' );
    446 /**
    447  * Merge all the options in a single array.
    448  * Improved since 3.5.1
    449  * */
    450 function aifs_get_app_settings() {
    451     $basic_settings = get_option( 'basic_settings_auto_install_free_ssl' );
    452     if ( $basic_settings && is_array( $basic_settings ) ) {
    453         $app_settings = $basic_settings;
    454     } else {
    455         return false;
    456     }
    457     $cpanel_settings = get_option( 'cpanel_settings_auto_install_free_ssl' );
    458     if ( $cpanel_settings && is_array( $cpanel_settings ) ) {
    459         $app_settings = array_merge( $app_settings, $cpanel_settings );
    460     }
    461     $exclude_domains = get_option( 'exclude_domains_auto_install_free_ssl' );
    462     if ( $exclude_domains && is_array( $exclude_domains ) ) {
    463         $app_settings = array_merge( $app_settings, $exclude_domains );
    464     }
    465     $dns_provider = get_option( 'dns_provider_auto_install_free_ssl' );
    466     if ( $dns_provider && is_array( $dns_provider ) ) {
    467         $app_settings = array_merge( $app_settings, $dns_provider );
    468     }
    469     $all_domains = get_option( 'all_domains_auto_install_free_ssl' );
    470     if ( $all_domains && is_array( $all_domains ) ) {
    471         $app_settings = array_merge( $app_settings, $all_domains );
    472     }
    473     /*if ( get_option( 'domains_to_revoke_cert_auto_install_free_ssl' ) ) {
    474                 $app_settings = array_merge( $app_settings, get_option( 'domains_to_revoke_cert_auto_install_free_ssl' ) );
    475             }*/
    476     $domains_revoke_cert = get_option( 'aifs_domains_to_revoke_cert' );
    477     if ( $domains_revoke_cert && is_array( $domains_revoke_cert ) ) {
    478         $app_settings = array_merge( $app_settings, $domains_revoke_cert );
    479     }
    480     return $app_settings;
    481 }
    482 
    483 /**
    484  * Get the domain of this WordPress website
    485  *
    486  * @param bool $remove_www
    487  *
    488  * @return string
    489  *
    490  * @since 1.0.0
    491  */
    492 /* function aifs_get_domain(bool $remove_www = true){
    493  *  Removing parameter type hint to make compatible with PHP 5.6. Using scalar type hints like string is supported since PHP 7. */
    494 function aifs_get_domain(  $remove_www = true  ) {
    495     $site_url = get_site_url();
    496     $site_url = parse_url( $site_url );
    497     $domain = $site_url['host'];
    498     if ( $remove_www && strpos( $domain, 'www.' ) !== false && strpos( $domain, 'www.' ) === 0 ) {
    499         //If www. found at the beginning
    500         $domain = substr( $domain, 4 );
    501     }
    502     return $domain;
    503 }
    504 
    505 /**
    506  * Get IPv4 or IPv6 of this server
    507  * improved since 4.1.0
    508  * @return mixed|string
    509  * @since 3.6.0
    510  */
    511 function aifs_ip_of_this_server() {
    512     $serverIP = false;
    513     if ( isset( $_SERVER['SERVER_ADDR'] ) ) {
    514         $serverIP = $_SERVER['SERVER_ADDR'];
    515     } else {
    516         // Get the website address (domain name)
    517         $websiteAddress = aifs_get_domain( false );
    518         // Try getting IP using gethostbyname
    519         $ip = gethostbyname( $websiteAddress );
    520         // Check if gethostbyname returned a valid IP
    521         if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) ) {
    522             $serverIP = $ip;
    523         } else {
    524             if ( filter_var( $ip, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 ) ) {
    525                 $serverIP = $ip;
    526             } else {
    527                 // Fallback to dns_get_record if gethostbyname didn't return a valid IP
    528                 $records = dns_get_record( $websiteAddress, DNS_A );
    529                 $serverIP = ( isset( $records[0]['ip'] ) ? $records[0]['ip'] : '' );
    530             }
    531         }
    532     }
    533     if ( $serverIP && (filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV4 ) || filter_var( $serverIP, FILTER_VALIDATE_IP, FILTER_FLAG_IPV6 )) ) {
    534         return $serverIP;
    535     } else {
    536         return false;
    537     }
    538 }
    539 
    540 //Attach the JS
    541 function aifs_add_js_enqueue(  $hook  ) {
    542     // Only add to this admin.php admin page -> page=aifs_add_dns_service_provider
    543     if ( !(aifs_is_free_version() && aifs_is_existing_user() && isset( $_GET['page'] ) && ($_GET['page'] === 'auto_install_free_ssl' || $_GET['page'] !== 'aifs_generate_ssl_manually' || $_GET['page'] !== 'aifs_force_https')) ) {
    544         if ( !isset( $_GET['page'] ) || 'admin.php' !== $hook && $_GET['page'] !== 'aifs_add_dns_service_provider' && $_GET['page'] !== 'aifs_basic_settings' && $_GET['page'] !== 'auto_install_free_ssl' && $_GET['page'] !== 'aifs_cpanel_settings' && $_GET['page'] !== 'aifs_generate_ssl_manually' && $_GET['page'] !== 'aifs_force_https' ) {
    545             return;
    546         }
    547     }
    548     wp_register_script( 'aifs_script_1', AIFS_URL . 'assets/js/script.js', array('jquery') );
    549     /* translators: "Let's Encrypt" is a nonprofit SSL certificate authority. */
    550     $agree_to_le_terms = __( "Please read and agree to the Let's Encrypt™ Subscriber Agreement", 'auto-install-free-ssl' );
    551     // Localize the script with new data
    552     $translation_array = array(
    553         'password_or_api_token' => __( "Please provide either a Password or an API Token", 'auto-install-free-ssl' ),
    554         'admin_email'           => __( "Please provide the Admin Email id", 'auto-install-free-ssl' ),
    555         'le_terms'              => $agree_to_le_terms,
    556         'freessl_tech_tos_pp'   => __( "Please read and agree to FreeSSL.tech Terms of Service and Privacy Policy", 'auto-install-free-ssl' ),
    557     );
    558     wp_localize_script( 'aifs_script_1', 'aifs_js_variable', $translation_array );
    559     wp_enqueue_script( 'aifs_script_1' );
    560     //wp_enqueue_script( 'aifs_script_1', AIFS_URL . 'assets/js/script.js', array( 'jquery' ) );
    561 }
    562 
    563 /**
    564  * Enqueue admin CSS and JS
    565  *
    566  * @since 1.1.0
    567  */
    568 function aifs_admin_styles() {
    569     wp_enqueue_style(
    570         'aifs_style_1',
    571         AIFS_URL . 'assets/css/aifs-admin.css',
    572         false,
    573         AIFS_VERSION,
    574         'all'
    575     );
    576 }
    577 
    578 /**
    579  * Set review option to 1 to display the review request
    580  *
    581  * @since 1.1.0
    582  */
    583 function aifs_set_display_review_option() {
    584     update_option( 'aifs_display_review', 1 );
    585 }
    586 
    587 add_action( 'aifs_display_review_init', 'aifs_set_display_review_option' );
    588 /**
    589  * Set announcement option to 1 to display the announcement request again
    590  *
    591  * @since 2.2.2
    592  */
    593 function aifs_set_display_announcement_option() {
    594     update_option( 'aifs_display_free_premium_offer', 1 );
    595 }
    596 
    597 add_action( 'aifs_display_announcement_init', 'aifs_set_display_announcement_option' );
    598 /**
    599  * Set discount offer option to 1 to display the discount offer again
    600  *
    601  * @since 3.2.13
    602  */
    603 function aifs_set_display_discount_offer_option() {
    604     update_option( 'aifs_display_discount_offer_existing_users', 1 );
    605 }
    606 
    607 add_action( 'aifs_display_discount_offer_init', 'aifs_set_display_discount_offer_option' );
    608 /**
    609  * If there are admin notices in the option table, display them and remove from the option table to prevent them being displayed forever
    610  *
    611  * @since 2.0.0
    612  */
    613 function aifs_display_flash_notices() {
    614     $notices = get_option( 'aifs_flash_notices' );
    615     if ( $notices != false && count( $notices ) > 0 ) {
    616         // Iterate through the notices to display them, if exist in option table
    617         foreach ( $notices as $notice ) {
    618             $style = ( $notice['type'] == "success" ? 'style="color: #46b450;"' : '' );
    619             printf(
    620                 '<div class="notice notice-%1$s %2$s" %3$s><p>%4$s</p></div>',
    621                 $notice['type'],
    622                 $notice['dismissible'],
    623                 $style,
    624                 $notice['notice']
    625             );
    626         }
    627         // Now delete the option
    628         delete_option( 'aifs_flash_notices' );
    629     }
    630 }
    631 
    632 // Add the above function to admin_notices
    633 add_action( 'admin_notices', 'aifs_display_flash_notices', 12 );
    634 /**
    635  * @param string $notice (The notice text)
    636  * @param string $type (This can be "success", "info", "warning", "error". "success" is default.)
    637  * @param boolean $is_dismissible (Set this TRUE to add is-dismissible functionality)
    638  *
    639  *
    640  * Add a flash notice to the options table which will be displayed upon page refresh or redirect
    641  *
    642  * @since 2.0.0
    643  */
    644 /* function aifs_add_flash_notice(string $notice, string $type = "success", bool $is_dismissible = true ) {
    645  * Removing parameter type hint to make compatible with PHP 5.6. Using scalar type hints like string is supported since PHP 7. */
    646 function aifs_add_flash_notice(  $notice, $type = "success", $is_dismissible = true  ) {
    647     // Get the notices already saved in the option table, if any, or return an empty array
    648     $notices = get_option( 'aifs_flash_notices', array() );
    649     $dismissible_text = ( $is_dismissible ? "is-dismissible" : "" );
    650     // Add the new notice
    651     array_push( $notices, array(
    652         "notice"      => $notice,
    653         "type"        => $type,
    654         "dismissible" => $dismissible_text,
    655     ) );
    656     // Now update the option with the notices
    657     update_option( 'aifs_flash_notices', $notices );
    658 }
    659 
    660 /*// Schedule Cron Job Event (if not done already)
    661     function aifs_custom_cron_job() {
    662         if ( ! wp_next_scheduled( 'aifs_do_this_daily' ) ) {
    663             wp_schedule_event( current_time( 'timestamp' ), 'daily', 'aifs_do_this_daily' );
    664         }
    665     }
    666 
    667     add_action( 'wp', 'aifs_custom_cron_job' );*/
    668 // Scheduled Action Hook
    669 // Daily cron
    670 function aifs_do_this_daily() {
    671     if ( aifs_is_free_version() ) {
    672         //Send renewal reminder email
    673         $email = new Email();
    674         $email->send_ssl_renewal_reminder_email();
    675         //Clean the log directory
    676         $logger = new AutoInstallFreeSSL\FreeSSLAuto\Logger();
    677         $logger->clean_log_directory();
    678     }
    679 }
    680 
    681 add_action( 'aifs_do_this_daily', 'aifs_do_this_daily' );
    682 // AJAX action to update option
    683 // @since 4.0.0
    684 add_action( 'wp_ajax_aifs_update_option', array(new HomeOptions(), 'aifs_update_option') );
    685 /**
    686  * Download file handler
    687  */
    688 function aifs_download_file_handler() {
    689     if ( isset( $_GET['aifsdownloadssl'] ) ) {
    690         if ( !wp_verify_nonce( $_GET['aifsdownloadssl'], 'aifs_download_ssl' ) ) {
    691             wp_die( __( "Access denied", 'auto-install-free-ssl' ) );
    692         }
    693         $app_settings = aifs_get_app_settings();
    694         //initialize the Acme Factory class
    695         $acmeFactory = new AcmeFactory($app_settings['homedir'] . '/' . $app_settings['certificate_directory'], $app_settings['acme_version'], $app_settings['is_staging']);
    696         //get the path of SSL files
    697         /*$certificates_directory = $acmeFactory->getCertificatesDir();
    698        
    699                     $file_path = $certificates_directory . DS . $_GET['domain'] . DS . $_GET['file'];*/
    700         $domain_path = $acmeFactory->getDomainPath( $_GET['domain'] );
    701         $file_path = $domain_path . DS . $_GET['file'];
    702         $factory = new Factory();
    703         $factory->download_file( $file_path );
    704         //wp_redirect($this->aifs_remove_parameters_from_url(get_site_url().$_SERVER['REQUEST_URI'], ['aifsrated']));
    705     }
    706 }
    707 
    708 /**
    709  * Return first name of the WordPress Admin
    710  * @return string
    711  * @since 3.0.0
    712  */
    713 function aifs_admin_first_name() {
    714     $admin_email = get_option( 'admin_email' );
    715     $admin = get_user_by( 'email', $admin_email );
    716     if ( $admin !== false ) {
    717         return $admin->first_name;
    718     } else {
    719         return "";
    720     }
    721 }
    722 
    723 /**
    724  * Return last name of the WordPress Admin
    725  * @return string
    726  * @since 3.2.14
    727  */
    728 function aifs_admin_last_name() {
    729     $admin_email = get_option( 'admin_email' );
    730     $admin = get_user_by( 'email', $admin_email );
    731     if ( $admin !== false ) {
    732         return $admin->last_name;
    733     } else {
    734         return "";
    735     }
    736 }
    737 
    738 /**
    739  * Check if the plugin is free version
    740  * @return bool
    741  * @since 3.0.0
    742  */
    743 function aifs_is_free_version() {
    744     return aifssl_fs()->is_free_plan();
    745 }
    746 
    747 /**
    748  * Check if licensed for unlimited domains (pro_unlimited plan) and user has set aifs_is_multi_domain = 1
    749  * @return bool
    750  * @since 3.0.0
    751  */
    752 function aifs_can_manage_multi_domain() {
    753     //For free version always return false
    754     return false;
    755 }
    756 
    757 /**
    758  * Check if the user can use wildcard SSL
    759  * @return bool
    760  * @since 3.2.15
    761  */
    762 function aifs_use_wildcard() {
    763     //For free version always return false
    764     return false;
    765 }
    766 
    767 /**
    768  * Check if the premium license is for unlimited websites
    769  * @return bool
    770  * @since 3.0.0
    771  */
    772 function aifs_license_is_unlimited() {
    773     //For free version always return false
    774     return false;
    775 }
    776 
    777 /**
    778  * CSS style for Powered by text
    779  * @return string
    780  * @since 3.0.0
    781  */
    782 function aifs_powered_by_css_style() {
    783     global $wp_version;
    784     $version_parts = explode( ".", $wp_version );
    785     $version_base = (int) $version_parts[0];
    786     if ( $version_base === 5 || $version_base === 6 ) {
    787         $style = 'class="header-footer"';
    788     } else {
    789         $style = 'id="message" class="updated below-h2 header-footer"';
    790     }
    791     return $style;
    792 }
    793 
    794 /**
    795  * Returns the header
    796  * @return string
    797  * @since 3.0.6
    798  */
    799 function aifs_header() {
    800     return '<h1 class="aifs-header" style=\'background-image: url("' . AIFS_URL . 'assets/img/icon.jpg"); background-color: #ffffff; margin: -3% -1.9% 3% -2%; padding: 2.1% 0; \'>
    801                     <span style="margin-left: 14%; color: green;">' . AIFS_NAME . ' <sub style="color: gray; font-size: 0.65em;">' . AIFS_VERSION . '</sub></span> <span style="float: right; margin-right: 2%;"><a href="' . menu_page_url( 'aifs_force_https', false ) . '" class="button">' . __( "Force HTTPS", 'auto-install-free-ssl' ) . '</a></span>
    802                 </h1>';
    803 }
    804 
    805 /**
    806  * Returns Powered by text
    807  * @return string
    808  * @since 3.0.0
    809  */
    810 function aifs_powered_by() {
    811     if ( aifssl_fs()->can_use_premium_code() ) {
    812         $help_link = aifssl_fs()->contact_url();
    813     } else {
    814         $help_link = "https://freessl.tech/free-ssl-certificate-for-wordpress-website/#help";
    815     }
    816     if ( aifs_is_free_version() ) {
    817         $documentation_link = "https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=footer";
    818     } else {
    819         $documentation_link = "https://freessl.tech/free-ssl-certificate-for-wordpress-website/#documentation";
    820     }
    821     $review_link = "https://wordpress.org/support/plugin/auto-install-free-ssl/reviews/?filter=5#new-post";
    822     $html = '<div ' . aifs_powered_by_css_style() . ' style="margin-top: 4%;">
    823             <p>' . __( "Need Help?", 'auto-install-free-ssl' ) . ' <a href="' . $help_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a> <span style="margin-left: 15%;">' . __( "For documentation", 'auto-install-free-ssl' ) . ', <a href="' . $documentation_link . '" target="_blank">' . __( "click here", 'auto-install-free-ssl' ) . '</a>.</span> ';
    824     if ( get_option( 'aifs_display_review' ) !== false ) {
    825         /* translators: %1$s: Opening HTML 'a' tag; %2$s: Closing 'a' tag; (Opening and closing 'a' tags create a hyperlink with the enclosed text.) */
    826         $html .= '<span style="float: right; margin-right: 2%;">' . sprintf( __( 'Please rate us %1$s★★★★★%2$s on %1$sWordPress.org%2$s to help us spread the word.', 'auto-install-free-ssl' ), '<a href="' . $review_link . '" target="_blank">', '</a>' ) . '</span>';
    827     }
    828     $html .= '</p>
    829             </div>';
    830     return $html;
    831 }
    832 
    833 /**
    834  * Show the contact submenu item only when the user have a valid non-expired license.
    835  *
    836  * @param $is_visible The filtered value. Whether the submenu item should be visible or not.
    837  * @param $menu_id    The ID of the submenu item.
    838  *
    839  * @return bool If true, the menu item should be visible.
    840  */
    841 function aifs_is_submenu_visible(  $is_visible, $menu_id  ) {
    842     if ( 'contact' != $menu_id ) {
    843         return $is_visible;
    844     }
    845     return aifssl_fs()->can_use_premium_code();
    846 }
    847 
    848 aifssl_fs()->add_filter(
    849     'is_submenu_visible',
    850     'aifs_is_submenu_visible',
    851     10,
    852     2
    853 );
    854 function aifs_deactivation_text(  $uninstall_reasons  ) {
    855     $html = '<div class="card block-body" style="width: 100%; padding-left: 2%; margin-left: -1%; margin-top: -3.5%;">';
    856     if ( aifs_is_free_version() ) {
    857         $documentation_link = "https://freessl.tech/wordpress-letsencrypt-free-ssl-certificate-documentation/?utm_source=users_website&utm_medium=dashboard&utm_campaign=aifs_free&utm_content=deactivation_promo";
    858         $html .= '<p><a href="' . $documentation_link . '" style="text-decoration: none;"><strong>' . __( "WAIT, did you read our documentation?", 'auto-install-free-ssl' ) . '</strong></a><a class="aifs-review-now aifs-review-button" style="margin-left: 5%;" href="' . $documentation_link . '">' . __( "Click here & Read it", 'auto-install-free-ssl' ) . '</a></p>
    859              <a href="' . $documentation_link . '" style="text-decoration: none;">
    860              <p>' . __( "Experiencing challenges? By investing just a few minutes in our VIDEO and written documentation and successfully implementing it, our free SSL plugin can lead to significant cost savings for you.", 'auto-install-free-ssl' ) . '</p>
    861              </a>';
    862     } else {
    863     }
    864     $html .= '</div>';
    865     if ( !(aifssl_fs()->is_paying() && !aifssl_fs()->is_premium()) ) {
    866         $uninstall_reasons['long-term'][] = $uninstall_reasons['short-term'][] = $uninstall_reasons['non-registered-and-non-anonymous-short-term'][] = array(
    867             'id'                => 200,
    868             'text'              => $html,
    869             'input_type'        => '',
    870             'input_placeholder' => 'aifsdeactivationpromo',
    871         );
    872     }
    873     return $uninstall_reasons;
    874 }
    875 
    876 aifssl_fs()->add_filter( 'uninstall_reasons', 'aifs_deactivation_text' );
    877 /**
    878  * Get the CA termsOfService URL
    879  * @return mixed|string
    880  * @since 4.3.0
    881  */
    882 function aifs_get_ca_terms_of_service_url() {
    883     // Fetch the option from the WordPress database
    884     $tos = get_option( 'aifs_ca_terms_of_service_url' );
    885     $current_time = time();
    886     $two_days_ago = $current_time - 2 * 24 * 60 * 60;
    887     // 2 days ago in seconds
    888     // Check if the option exists and 'last_updated' is greater than two days ago
    889     if ( $tos && is_array( $tos ) && isset( $tos['url'] ) && isset( $tos['last_updated'] ) && $tos['last_updated'] >= $two_days_ago ) {
    890         return $tos['url'];
    891     } else {
    892         // If no option exists or it's older than 2 days, update the option
    893         $client = new Client(AIFS_LE_ACME_V2_LIVE);
    894         $terms_url = $client->getTermsOfService();
    895         // Update the option in the database
    896         $tos_data = array(
    897             'url'          => $terms_url,
    898             'last_updated' => $current_time,
    899         );
    900         update_option( 'aifs_ca_terms_of_service_url', $tos_data, false );
    901         // Return the updated URL
    902         return $terms_url;
    903     }
    904 }
  • auto-install-free-ssl/trunk/freemius/assets/js/pricing/freemius-pricing.js

    r3183220 r3219088  
    11/*! For license information please see freemius-pricing.js.LICENSE.txt */
    2 !function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Freemius=t():e.Freemius=t()}(self,(function(){return(()=>{var e={487:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},12:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,a=0;n<e.length;n++,a+=8)t[a>>>5]|=e[n]<<24-a%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],a=0;a<e.length;a+=3)for(var r=e[a]<<16|e[a+1]<<8|e[a+2],i=0;i<4;i++)8*a+6*i<=8*e.length?n.push(t.charAt(r>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],a=0,r=0;a<e.length;r=++a%4)0!=r&&n.push((t.indexOf(e.charAt(a-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(a))>>>6-2*r);return n}},e.exports=n},477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,':root{--fs-ds-blue-10: #f0f6fc;--fs-ds-blue-50: #c5d9ed;--fs-ds-blue-100: #9ec2e6;--fs-ds-blue-200: #72aee6;--fs-ds-blue-300: #4f94d4;--fs-ds-blue-400: #3582c4;--fs-ds-blue-500: #2271b1;--fs-ds-blue-600: #135e96;--fs-ds-blue-700: #0a4b78;--fs-ds-blue-800: #043959;--fs-ds-blue-900: #01263a;--fs-ds-neutral-10: #f0f0f1;--fs-ds-neutral-50: #dcdcde;--fs-ds-neutral-100: #c3c4c7;--fs-ds-neutral-200: #a7aaad;--fs-ds-neutral-300: #8c8f94;--fs-ds-neutral-400: #787c82;--fs-ds-neutral-500: #646970;--fs-ds-neutral-600: #50575e;--fs-ds-neutral-700: #3c434a;--fs-ds-neutral-800: #2c3338;--fs-ds-neutral-900: #1d2327;--fs-ds-neutral-900-fade-60: rgba(29, 35, 39, .6);--fs-ds-neutral-900-fade-92: rgba(29, 35, 39, .08);--fs-ds-green-10: #b8e6bf;--fs-ds-green-100: #68de7c;--fs-ds-green-200: #1ed14b;--fs-ds-green-300: #00ba37;--fs-ds-green-400: #00a32a;--fs-ds-green-500: #008a20;--fs-ds-green-600: #007017;--fs-ds-green-700: #005c12;--fs-ds-green-800: #00450c;--fs-ds-green-900: #003008;--fs-ds-red-10: #facfd2;--fs-ds-red-100: #ffabaf;--fs-ds-red-200: #ff8085;--fs-ds-red-300: #f86368;--fs-ds-red-400: #e65054;--fs-ds-red-500: #d63638;--fs-ds-red-600: #b32d2e;--fs-ds-red-700: #8a2424;--fs-ds-red-800: #691c1c;--fs-ds-red-900: #451313;--fs-ds-yellow-10: #fcf9e8;--fs-ds-yellow-100: #f2d675;--fs-ds-yellow-200: #f0c33c;--fs-ds-yellow-300: #dba617;--fs-ds-yellow-400: #bd8600;--fs-ds-yellow-500: #996800;--fs-ds-yellow-600: #755100;--fs-ds-yellow-700: #614200;--fs-ds-yellow-800: #4a3200;--fs-ds-yellow-900: #362400;--fs-ds-white-10: #ffffff}#fs_pricing_app,#fs_pricing_wrapper{--fs-ds-theme-primary-accent-color: var(--fs-ds-blue-500);--fs-ds-theme-primary-accent-color-hover: var(--fs-ds-blue-600);--fs-ds-theme-primary-green-color: var(--fs-ds-green-500);--fs-ds-theme-primary-red-color: var(--fs-ds-red-500);--fs-ds-theme-primary-yellow-color: var(--fs-ds-yellow-500);--fs-ds-theme-error-color: var(--fs-ds-theme-primary-red-color);--fs-ds-theme-success-color: var(--fs-ds-theme-primary-green-color);--fs-ds-theme-warn-color: var(--fs-ds-theme-primary-yellow-color);--fs-ds-theme-background-color: var(--fs-ds-white-10);--fs-ds-theme-background-shade: var(--fs-ds-neutral-10);--fs-ds-theme-background-accented: var(--fs-ds-neutral-50);--fs-ds-theme-background-hover: var(--fs-ds-neutral-200);--fs-ds-theme-background-overlay: var(--fs-ds-neutral-900-fade-60);--fs-ds-theme-background-dark: var(--fs-ds-neutral-800);--fs-ds-theme-background-darkest: var(--fs-ds-neutral-900);--fs-ds-theme-text-color: var(--fs-ds-neutral-900);--fs-ds-theme-heading-text-color: var(--fs-ds-neutral-800);--fs-ds-theme-muted-text-color: var(--fs-ds-neutral-600);--fs-ds-theme-dark-background-text-color: var(--fs-ds-white-10);--fs-ds-theme-dark-background-muted-text-color: var(--fs-ds-neutral-300);--fs-ds-theme-divider-color: var(--fs-ds-theme-background-accented);--fs-ds-theme-border-color: var(--fs-ds-neutral-100);--fs-ds-theme-button-background-color: var(--fs-ds-neutral-50);--fs-ds-theme-button-background-hover-color: var(--fs-ds-neutral-200);--fs-ds-theme-button-text-color: var(--fs-ds-theme-heading-text-color);--fs-ds-theme-button-border-color: var(--fs-ds-neutral-300);--fs-ds-theme-button-border-hover-color: var(--fs-ds-neutral-600);--fs-ds-theme-button-border-focus-color: var(--fs-ds-blue-400);--fs-ds-theme-button-primary-background-color: var(--fs-ds-theme-primary-accent-color);--fs-ds-theme-button-primary-background-hover-color: var(--fs-ds-theme-primary-accent-color-hover);--fs-ds-theme-button-primary-text-color: var(--fs-ds-white-10);--fs-ds-theme-button-primary-border-color: var(--fs-ds-blue-800);--fs-ds-theme-button-primary-border-hover-color: var(--fs-ds-blue-900);--fs-ds-theme-button-primary-border-focus-color: var(--fs-ds-blue-100);--fs-ds-theme-button-disabled-border-color: var(--fs-ds-neutral-100);--fs-ds-theme-button-disabled-background-color: var(--fs-ds-neutral-50);--fs-ds-theme-button-disabled-text-color: var(--fs-ds-neutral-300);--fs-ds-theme-notice-warn-background: var(--fs-ds-yellow-10);--fs-ds-theme-notice-warn-color: var(--fs-ds-yellow-900);--fs-ds-theme-notice-warn-border: var(--fs-ds-theme-warn-color);--fs-ds-theme-notice-info-background: var(--fs-ds-theme-background-shade);--fs-ds-theme-notice-info-color: var(--fs-ds-theme-primary-accent-color-hover);--fs-ds-theme-notice-info-border: var(--fs-ds-theme-primary-accent-color);--fs-ds-theme-package-popular-background: var(--fs-ds-blue-200);--fs-ds-theme-testimonial-star-color: var(--fs-ds-yellow-300)}#fs_pricing.fs-full-size-wrapper{margin-top:0}#root,#fs_pricing_app{background:var(--fs-ds-theme-background-shade);color:var(--fs-ds-theme-text-color);height:auto;line-height:normal;font-size:13px;margin:0}#root h1,#root h2,#root h3,#root h4,#root ul,#root blockquote,#fs_pricing_app h1,#fs_pricing_app h2,#fs_pricing_app h3,#fs_pricing_app h4,#fs_pricing_app ul,#fs_pricing_app blockquote{margin:0;padding:0;text-align:center;color:var(--fs-ds-theme-heading-text-color)}#root h1,#fs_pricing_app h1{font-size:2.5em}#root h2,#fs_pricing_app h2{font-size:1.5em}#root h3,#fs_pricing_app h3{font-size:1.2em}#root ul,#fs_pricing_app ul{list-style-type:none}#root p,#fs_pricing_app p{font-size:.9em}#root p,#root blockquote,#fs_pricing_app p,#fs_pricing_app blockquote{color:var(--fs-ds-theme-text-color)}#root strong,#fs_pricing_app strong{font-weight:700}#root li,#root dd,#fs_pricing_app li,#fs_pricing_app dd{margin:0}#root .fs-app-header .fs-page-title,#fs_pricing_app .fs-app-header .fs-page-title{margin:0 0 15px;text-align:left;display:flex;flex-flow:row wrap;gap:10px;align-items:center;padding:20px 15px 10px}#root .fs-app-header .fs-page-title h1,#fs_pricing_app .fs-app-header .fs-page-title h1{font-size:18px;margin:0}#root .fs-app-header .fs-page-title h3,#fs_pricing_app .fs-app-header .fs-page-title h3{margin:0;font-size:14px;padding:4px 8px;font-weight:400;border-radius:4px;background-color:var(--fs-ds-theme-background-accented);color:var(--fs-ds-theme-muted-text-color)}#root .fs-app-header .fs-plugin-title-and-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo{margin:0 15px;background:var(--fs-ds-theme-background-color);padding:12px 0;border:1px solid var(--fs-ds-theme-divider-color);border-radius:4px;text-align:center}#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#root .fs-app-header .fs-plugin-title-and-logo h1,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo h1{display:inline-block;vertical-align:middle;margin:0 10px}#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo{width:48px;height:48px;border-radius:4px}@media screen and (min-width: 601px){#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo{width:64px;height:64px}}#root .fs-trial-message,#fs_pricing_app .fs-trial-message{padding:20px;background:var(--fs-ds-theme-notice-warn-background);color:var(--fs-ds-theme-notice-warn-color);font-weight:700;text-align:center;border-top:1px solid var(--fs-ds-theme-notice-warn-border);border-bottom:1px solid var(--fs-ds-theme-notice-warn-border);font-size:1.2em;box-sizing:border-box;margin:0 0 5px}#root .fs-app-main,#fs_pricing_app .fs-app-main{text-align:center}#root .fs-app-main .fs-section,#fs_pricing_app .fs-app-main .fs-section{margin:auto;display:block}#root .fs-app-main .fs-section .fs-section-header,#fs_pricing_app .fs-app-main .fs-section .fs-section-header{font-weight:700}#root .fs-app-main>.fs-section,#fs_pricing_app .fs-app-main>.fs-section{padding:20px;margin:4em auto 0}#root .fs-app-main>.fs-section:nth-child(even),#fs_pricing_app .fs-app-main>.fs-section:nth-child(even){background:var(--fs-ds-theme-background-color)}#root .fs-app-main>.fs-section>header,#fs_pricing_app .fs-app-main>.fs-section>header{margin:0 0 3em}#root .fs-app-main>.fs-section>header h2,#fs_pricing_app .fs-app-main>.fs-section>header h2{margin:0;font-size:2.5em}#root .fs-app-main .fs-section--plans-and-pricing,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing{padding:20px;margin-top:0}#root .fs-app-main .fs-section--plans-and-pricing>.fs-section,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing>.fs-section{margin:1.5em auto 0}#root .fs-app-main .fs-section--plans-and-pricing>.fs-section:first-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing>.fs-section:first-child{margin-top:0}#root .fs-app-main .fs-section--plans-and-pricing .fs-annual-discount,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-annual-discount{font-weight:700;font-size:small}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header{text-align:center;background:var(--fs-ds-theme-background-color);padding:20px;border-radius:5px;box-sizing:border-box;max-width:945px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h2,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h2{margin-bottom:10px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h4,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h4{font-weight:400}#root .fs-app-main .fs-section--plans-and-pricing .fs-currencies,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-currencies{border-color:var(--fs-ds-theme-button-border-color)}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles{display:inline-block;vertical-align:middle;padding:0 10px;width:auto}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles{overflow:hidden}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li{border:1px solid var(--fs-ds-theme-border-color);border-right-width:0;display:inline-block;font-weight:700;margin:0;padding:10px;cursor:pointer}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:first-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:first-child{border-radius:20px 0 0 20px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:last-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:last-child{border-radius:0 20px 20px 0;border-right-width:1px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li.fs-selected-billing-cycle,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li.fs-selected-billing-cycle{background:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color-hover)}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation{padding:15px;background:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-divider-color);border-radius:4px;box-sizing:border-box;max-width:945px;margin:0 auto}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation h2,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation h2{margin-bottom:10px;font-weight:700}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation p,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation p{font-size:small;margin:0}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee{max-width:857px;margin:30px auto;position:relative}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-title,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-title{color:var(--fs-ds-theme-heading-text-color);font-weight:700;margin-bottom:15px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-message,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-message{font-size:small;line-height:20px;margin-bottom:15px;padding:0 15px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee img,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee img{position:absolute;width:90px;top:50%;right:0;margin-top:-45px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge{display:inline-block;vertical-align:middle;position:relative;box-shadow:none;background:transparent}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge+.fs-badge,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge+.fs-badge{margin-left:20px;margin-top:13px}#root .fs-app-main .fs-section--testimonials,#fs_pricing_app .fs-app-main .fs-section--testimonials{border-top:1px solid var(--fs-ds-theme-border-color);border-bottom:1px solid var(--fs-ds-theme-border-color);padding:3em 4em 4em}#root .fs-app-main .fs-section--testimonials .fs-section-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-section-header{margin-left:-30px;margin-right:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav{margin:auto;display:block;width:auto;position:relative}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next{top:50%;border:1px solid var(--fs-ds-theme-border-color);border-radius:14px;cursor:pointer;margin-top:11px;position:absolute}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev .fs-icon,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next .fs-icon,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev .fs-icon,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next .fs-icon{display:inline-block;height:1em;width:1em;line-height:1em;color:var(--fs-ds-theme-muted-text-color);padding:5px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev{margin-left:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next{right:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials-track,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials-track{margin:auto;overflow:hidden;position:relative;display:block;padding-top:45px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials{width:10000px;display:block;position:relative;transition:left .5s ease,right .5s ease}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{float:left;font-size:small;position:relative;width:340px;box-sizing:border-box;margin:0}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{box-sizing:border-box}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-rating,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-rating{color:var(--fs-ds-theme-testimonial-star-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{background:var(--fs-ds-theme-background-color);padding:10px;margin:0 2em;border:1px solid var(--fs-ds-theme-divider-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{border-radius:0 0 8px 8px;border-top:0 none}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header{border-bottom:0 none;border-radius:8px 8px 0 0}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo{border:1px solid var(--fs-ds-theme-divider-color);border-radius:44px;padding:5px;background:var(--fs-ds-theme-background-color);width:76px;height:76px;position:relative;margin-top:-54px;left:50%;margin-left:-44px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo object,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo img,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo object,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo img{max-width:100%;border-radius:40px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header h4,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header h4{margin:15px 0 6px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-icon-quote,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-icon-quote{color:var(--fs-ds-theme-muted-text-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-message,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-message{line-height:18px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author{margin-top:30px;margin-bottom:10px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author .fs-testimonial-author-name,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author .fs-testimonial-author-name{font-weight:700;margin-bottom:2px;color:var(--fs-ds-theme-text-color)}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination{margin:4em 0 0;position:relative}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li{position:relative;display:inline-block;margin:0 8px}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button{cursor:pointer;border:1px solid var(--fs-ds-theme-border-color);vertical-align:middle;display:inline-block;line-height:0;width:8px;height:8px;padding:0;color:transparent;outline:none;border-radius:4px;overflow:hidden}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button span,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button span{display:inline-block;width:100%;height:100%;background:var(--fs-ds-theme-background-shade)}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button{border:0 none}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button.fs-round-button span,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button.fs-round-button span{background:var(--fs-ds-theme-background-accented)}#root .fs-app-main .fs-section--faq,#fs_pricing_app .fs-app-main .fs-section--faq{background:var(--fs-ds-theme-background-shade)}#root .fs-app-main .fs-section--faq .fs-section--faq-items,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items{max-width:945px;margin:0 auto;box-sizing:border-box;text-align:left;columns:2;column-gap:20px}@media only screen and (max-width: 600px){#root .fs-app-main .fs-section--faq .fs-section--faq-items,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items{columns:1}}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item{width:100%;display:inline-block;vertical-align:top;margin:0 0 20px;overflow:hidden}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p{margin:0;text-align:left}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3{background:var(--fs-ds-theme-background-dark);color:var(--fs-ds-theme-dark-background-text-color);padding:15px;font-weight:700;border:1px solid var(--fs-ds-theme-background-darkest);border-bottom:0 none;border-radius:4px 4px 0 0}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p{background:var(--fs-ds-theme-background-color);font-size:small;padding:15px;line-height:20px;border:1px solid var(--fs-ds-theme-border-color);border-top:0 none;border-radius:0 0 4px 4px}#root .fs-button,#fs_pricing_app .fs-button{background:var(--fs-ds-theme-button-background-color);color:var(--fs-ds-theme-button-text-color);padding:12px 10px;display:inline-block;text-transform:uppercase;font-weight:700;font-size:18px;width:100%;border-radius:4px;border:0 none;cursor:pointer;transition:background .2s ease-out,border-bottom-color .2s ease-out}#root .fs-button:focus:not(:disabled),#fs_pricing_app .fs-button:focus:not(:disabled){box-shadow:0 0 0 1px var(--fs-ds-theme-button-border-focus-color)}#root .fs-button:hover:not(:disabled),#root .fs-button:focus:not(:disabled),#root .fs-button:active:not(:disabled),#fs_pricing_app .fs-button:hover:not(:disabled),#fs_pricing_app .fs-button:focus:not(:disabled),#fs_pricing_app .fs-button:active:not(:disabled){will-change:background,border;background:var(--fs-ds-theme-button-background-hover-color)}#root .fs-button.fs-button--outline,#fs_pricing_app .fs-button.fs-button--outline{padding-top:11px;padding-bottom:11px;background:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-button-border-color)}#root .fs-button.fs-button--outline:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:focus:not(:disabled){background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-button-border-focus-color)}#root .fs-button.fs-button--outline:hover:not(:disabled),#root .fs-button.fs-button--outline:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:active:not(:disabled){background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-button-border-hover-color)}#root .fs-button.fs-button--type-primary,#fs_pricing_app .fs-button.fs-button--type-primary{background-color:var(--fs-ds-theme-button-primary-background-color);color:var(--fs-ds-theme-button-primary-text-color);border-color:var(--fs-ds-theme-button-primary-border-color)}#root .fs-button.fs-button--type-primary:focus:not(:disabled),#root .fs-button.fs-button--type-primary:hover:not(:disabled),#root .fs-button.fs-button--type-primary:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:active:not(:disabled){background-color:var(--fs-ds-theme-button-primary-background-hover-color);border-color:var(--fs-ds-theme-button-primary-border-hover-color)}#root .fs-button.fs-button--type-primary.fs-button--outline,#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline{background-color:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color);border:1px solid var(--fs-ds-theme-button-primary-border-color)}#root .fs-button.fs-button--type-primary.fs-button--outline:focus:not(:disabled),#root .fs-button.fs-button--type-primary.fs-button--outline:hover:not(:disabled),#root .fs-button.fs-button--type-primary.fs-button--outline:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:active:not(:disabled){background-color:var(--fs-ds-theme-background-shade);color:var(--fs-ds-theme-button-primary-background-hover-color);border-color:var(--fs-ds-theme-primary-accent-color-hover)}#root .fs-button:disabled,#fs_pricing_app .fs-button:disabled{cursor:not-allowed;background-color:var(--fs-ds-theme-button-disabled-background-color);color:var(--fs-ds-theme-button-disabled-text-color);border-color:var(--fs-ds-theme-button-disabled-border-color)}#root .fs-button.fs-button--size-small,#fs_pricing_app .fs-button.fs-button--size-small{font-size:14px;width:auto}#root .fs-placeholder:before,#fs_pricing_app .fs-placeholder:before{content:"";display:inline-block}@media only screen and (max-width: 768px){#root .fs-app-main .fs-section--testimonials .fs-nav-pagination,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination{display:none!important}#root .fs-app-main .fs-section>header h2,#fs_pricing_app .fs-app-main .fs-section>header h2{font-size:1.5em}}@media only screen and (max-width: 455px){#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{width:auto}#root .fs-app-main .fs-section--billing-cycles .fs-billing-cycles li.fs-period--annual span,#fs_pricing_app .fs-app-main .fs-section--billing-cycles .fs-billing-cycles li.fs-period--annual span{display:none}}@media only screen and (max-width: 375px){#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{width:auto}}\n',""]);const s=o},333:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,"#fs_pricing_app .fs-modal,#fs_pricing_wrapper .fs-modal,#fs_pricing_wrapper #fs_pricing_app .fs-modal{position:fixed;inset:0;z-index:1000;zoom:1;text-align:left;display:block!important}#fs_pricing_app .fs-modal .fs-modal-content-container,#fs_pricing_wrapper .fs-modal .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container{display:block;position:absolute;left:50%;background:var(--fs-ds-theme-background-color);box-shadow:0 0 8px 2px #0000004d}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header{background:var(--fs-ds-theme-primary-accent-color);padding:15px}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close{color:var(--fs-ds-theme-background-color)}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-content{font-size:1.2em}#fs_pricing_app .fs-modal--loading,#fs_pricing_wrapper .fs-modal--loading,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading{background-color:#0000004d}#fs_pricing_app .fs-modal--loading .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container{width:220px;margin-left:-126px;padding:15px;border:1px solid var(--fs-ds-theme-divider-color);text-align:center;top:50%}#fs_pricing_app .fs-modal--loading .fs-modal-content-container span,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container span,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container span{display:block;font-weight:700;font-size:16px;text-align:center;color:var(--fs-ds-theme-primary-accent-color);margin-bottom:10px}#fs_pricing_app .fs-modal--loading .fs-modal-content-container .fs-ajax-loader,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container .fs-ajax-loader,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container .fs-ajax-loader{width:160px}#fs_pricing_app .fs-modal--loading .fs-modal-content-container i,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container i,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container i{display:block;width:128px;margin:0 auto;height:15px;background:url(//img.freemius.com/blue-loader.gif)}#fs_pricing_app .fs-modal--refund-policy,#fs_pricing_app .fs-modal--trial-confirmation,#fs_pricing_wrapper .fs-modal--refund-policy,#fs_pricing_wrapper .fs-modal--trial-confirmation,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation{background:rgba(0,0,0,.7)}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container{width:510px;margin-left:-255px;top:20%}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close{line-height:24px;font-size:24px;position:absolute;top:-12px;right:-12px;cursor:pointer}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content{height:100%;padding:1px 15px}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer{padding:10px;text-align:right;border-top:1px solid var(--fs-ds-theme-border-color);background:var(--fs-ds-theme-background-shade)}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial{margin:0 7px}#fs_pricing_app .fs-modal--trial-confirmation .fs-button,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-button,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-button{width:auto;font-size:13px}\n",""]);const s=o},267:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-package,#fs_pricing_app .fs-package{display:inline-block;vertical-align:top;background:var(--fs-ds-theme-dark-background-text-color);border-bottom:3px solid var(--fs-ds-theme-border-color);width:315px;box-sizing:border-box}#root .fs-package:first-child,#root .fs-package+.fs-package,#fs_pricing_app .fs-package:first-child,#fs_pricing_app .fs-package+.fs-package{border-left:1px solid var(--fs-ds-theme-divider-color)}#root .fs-package:last-child,#fs_pricing_app .fs-package:last-child{border-right:1px solid var(--fs-ds-theme-divider-color)}#root .fs-package:not(.fs-featured-plan):first-child,#fs_pricing_app .fs-package:not(.fs-featured-plan):first-child{border-top-left-radius:10px}#root .fs-package:not(.fs-featured-plan):first-child .fs-plan-title,#fs_pricing_app .fs-package:not(.fs-featured-plan):first-child .fs-plan-title{border-top-left-radius:9px}#root .fs-package:not(.fs-featured-plan):last-child,#fs_pricing_app .fs-package:not(.fs-featured-plan):last-child{border-top-right-radius:10px}#root .fs-package:not(.fs-featured-plan):last-child .fs-plan-title,#fs_pricing_app .fs-package:not(.fs-featured-plan):last-child .fs-plan-title{border-top-right-radius:9px}#root .fs-package .fs-package-content,#fs_pricing_app .fs-package .fs-package-content{vertical-align:middle;padding-bottom:30px}#root .fs-package .fs-plan-title,#fs_pricing_app .fs-package .fs-plan-title{padding:10px 0;background:var(--fs-ds-theme-background-shade);text-transform:uppercase;border-bottom:1px solid var(--fs-ds-theme-divider-color);border-top:1px solid var(--fs-ds-theme-divider-color);width:100%;text-align:center}#root .fs-package .fs-plan-title:last-child,#fs_pricing_app .fs-package .fs-plan-title:last-child{border-right:none}#root .fs-package .fs-plan-description,#root .fs-package .fs-undiscounted-price,#root .fs-package .fs-licenses,#root .fs-package .fs-upgrade-button,#root .fs-package .fs-plan-features,#fs_pricing_app .fs-package .fs-plan-description,#fs_pricing_app .fs-package .fs-undiscounted-price,#fs_pricing_app .fs-package .fs-licenses,#fs_pricing_app .fs-package .fs-upgrade-button,#fs_pricing_app .fs-package .fs-plan-features{margin-top:10px}#root .fs-package .fs-plan-description,#fs_pricing_app .fs-package .fs-plan-description{text-transform:uppercase}#root .fs-package .fs-undiscounted-price,#fs_pricing_app .fs-package .fs-undiscounted-price{margin:auto;position:relative;display:inline-block;color:var(--fs-ds-theme-muted-text-color);top:6px}#root .fs-package .fs-undiscounted-price:after,#fs_pricing_app .fs-package .fs-undiscounted-price:after{display:block;content:"";position:absolute;height:1px;background-color:var(--fs-ds-theme-error-color);left:-4px;right:-4px;top:50%;transform:translateY(-50%) skewY(1deg)}#root .fs-package .fs-selected-pricing-amount,#fs_pricing_app .fs-package .fs-selected-pricing-amount{margin:5px 0}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol{font-size:39px}#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer{font-size:58px;margin:0 5px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container{display:inline-block;vertical-align:middle}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol:not(.fs-selected-pricing-amount-integer),#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer:not(.fs-selected-pricing-amount-integer),#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container:not(.fs-selected-pricing-amount-integer){line-height:18px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle{display:block;font-size:12px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction{vertical-align:top}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle{vertical-align:bottom}#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-amount-free,#fs_pricing_app .fs-package .fs-selected-pricing-amount-free{font-size:48px}#root .fs-package .fs-selected-pricing-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-cycle{margin-bottom:5px;text-transform:uppercase;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-license-quantity,#fs_pricing_app .fs-package .fs-selected-pricing-license-quantity{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-license-quantity .fs-tooltip,#fs_pricing_app .fs-package .fs-selected-pricing-license-quantity .fs-tooltip{margin-left:5px}#root .fs-package .fs-upgrade-button-container,#fs_pricing_app .fs-package .fs-upgrade-button-container{padding:0 13px;display:block}#root .fs-package .fs-upgrade-button-container .fs-upgrade-button,#fs_pricing_app .fs-package .fs-upgrade-button-container .fs-upgrade-button{margin-top:20px;margin-bottom:5px}#root .fs-package .fs-plan-features,#fs_pricing_app .fs-package .fs-plan-features{text-align:left;margin-left:13px}#root .fs-package .fs-plan-features li,#fs_pricing_app .fs-package .fs-plan-features li{font-size:16px;display:flex;margin-bottom:8px}#root .fs-package .fs-plan-features li:not(:first-child),#fs_pricing_app .fs-package .fs-plan-features li:not(:first-child){margin-top:8px}#root .fs-package .fs-plan-features li>span,#root .fs-package .fs-plan-features li .fs-tooltip,#fs_pricing_app .fs-package .fs-plan-features li>span,#fs_pricing_app .fs-package .fs-plan-features li .fs-tooltip{font-size:small;vertical-align:middle;display:inline-block}#root .fs-package .fs-plan-features li .fs-feature-title,#fs_pricing_app .fs-package .fs-plan-features li .fs-feature-title{margin:0 5px;color:var(--fs-ds-theme-muted-text-color);max-width:260px;overflow-wrap:break-word}#root .fs-package .fs-support-and-main-features,#fs_pricing_app .fs-package .fs-support-and-main-features{margin-top:12px;padding-top:18px;padding-bottom:18px;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-support-and-main-features .fs-plan-support,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-support{margin-bottom:15px}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li{font-size:small}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li .fs-feature-title,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li .fs-feature-title{margin:0 2px}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li:not(:first-child),#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li:not(:first-child){margin-top:5px}#root .fs-package .fs-plan-features-with-value,#fs_pricing_app .fs-package .fs-plan-features-with-value{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-license-quantities,#fs_pricing_app .fs-package .fs-license-quantities{border-collapse:collapse;position:relative;width:100%}#root .fs-package .fs-license-quantities,#root .fs-package .fs-license-quantities input,#fs_pricing_app .fs-package .fs-license-quantities,#fs_pricing_app .fs-package .fs-license-quantities input{cursor:pointer}#root .fs-package .fs-license-quantities .fs-license-quantity-discount span,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount span{background-color:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-primary-accent-color);display:inline;padding:4px 8px;border-radius:4px;font-weight:700;margin:0 5px;white-space:nowrap}#root .fs-package .fs-license-quantities .fs-license-quantity-discount span.fs-license-quantity-no-discount,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount span.fs-license-quantity-no-discount{visibility:hidden}#root .fs-package .fs-license-quantities .fs-license-quantity-container,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container{line-height:30px;border-top:1px solid var(--fs-ds-theme-background-shade);font-size:small;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container:last-child,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container:last-child{border-bottom:1px solid var(--fs-ds-theme-background-shade)}#root .fs-package .fs-license-quantities .fs-license-quantity-container:last-child.fs-license-quantity-selected,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container:last-child.fs-license-quantity-selected{border-bottom-color:var(--fs-ds-theme-divider-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected{background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-divider-color);color:var(--fs-ds-theme-text-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected+.fs-license-quantity-container,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected+.fs-license-quantity-container{border-top-color:var(--fs-ds-theme-divider-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container>td:not(.fs-license-quantity-discount):not(.fs-license-quantity-price),#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container>td:not(.fs-license-quantity-discount):not(.fs-license-quantity-price){text-align:left}#root .fs-package .fs-license-quantities .fs-license-quantity,#root .fs-package .fs-license-quantities .fs-license-quantity-discount,#root .fs-package .fs-license-quantities .fs-license-quantity-price,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-price{vertical-align:middle}#root .fs-package .fs-license-quantities .fs-license-quantity,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity{position:relative;white-space:nowrap}#root .fs-package .fs-license-quantities .fs-license-quantity input,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity input{position:relative;margin-top:-1px;margin-left:7px;margin-right:7px}#root .fs-package .fs-license-quantities .fs-license-quantity-price,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-price{position:relative;margin-right:auto;padding-right:7px;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}#root .fs-package.fs-free-plan .fs-license-quantity-container:not(:last-child),#fs_pricing_app .fs-package.fs-free-plan .fs-license-quantity-container:not(:last-child){border-color:transparent}#root .fs-package .fs-most-popular,#fs_pricing_app .fs-package .fs-most-popular{display:none}#root .fs-package.fs-featured-plan .fs-most-popular,#fs_pricing_app .fs-package.fs-featured-plan .fs-most-popular{display:block;line-height:2.8em;margin-top:-2.8em;border-radius:10px 10px 0 0;color:var(--fs-ds-theme-text-color);background:var(--fs-ds-theme-package-popular-background);text-transform:uppercase;font-size:14px}#root .fs-package.fs-featured-plan .fs-plan-title,#fs_pricing_app .fs-package.fs-featured-plan .fs-plan-title{color:var(--fs-ds-theme-dark-background-text-color);background:var(--fs-ds-theme-primary-accent-color);border-top-color:var(--fs-ds-theme-primary-accent-color);border-bottom-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-selected-pricing-license-quantity,#fs_pricing_app .fs-package.fs-featured-plan .fs-selected-pricing-license-quantity{color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantity-discount span,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantity-discount span{background:var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-dark-background-text-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected{background:var(--fs-ds-theme-primary-accent-color);border-color:var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-dark-background-text-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected+.fs-license-quantity-container,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected+.fs-license-quantity-container{border-top-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected:last-child,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected:last-child{border-bottom-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected .fs-license-quantity-discount span,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected .fs-license-quantity-discount span{background:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color-hover)}\n',""]);const s=o},700:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-section--packages,#fs_pricing_app .fs-section--packages{display:inline-block;width:100%;position:relative}#root .fs-section--packages .fs-packages-menu,#fs_pricing_app .fs-section--packages .fs-packages-menu{display:none;flex-wrap:wrap;justify-content:center}#root .fs-section--packages .fs-packages-tab,#fs_pricing_app .fs-section--packages .fs-packages-tab{display:none}#root .fs-section--packages .fs-package-tab,#fs_pricing_app .fs-section--packages .fs-package-tab{display:inline-block;flex:1}#root .fs-section--packages .fs-package-tab a,#fs_pricing_app .fs-section--packages .fs-package-tab a{display:block;padding:4px 10px 7px;border-bottom:2px solid transparent;color:#000;text-align:center;text-decoration:none}#root .fs-section--packages .fs-package-tab.fs-package-tab--selected a,#fs_pricing_app .fs-section--packages .fs-package-tab.fs-package-tab--selected a{border-color:#0085ba}#root .fs-section--packages .fs-packages-nav,#fs_pricing_app .fs-section--packages .fs-packages-nav{position:relative;overflow:hidden;margin:auto}#root .fs-section--packages .fs-packages-nav:before,#root .fs-section--packages .fs-packages-nav:after,#fs_pricing_app .fs-section--packages .fs-packages-nav:before,#fs_pricing_app .fs-section--packages .fs-packages-nav:after{position:absolute;top:0;bottom:0;width:60px;margin-bottom:32px}#root .fs-section--packages .fs-packages-nav:before,#fs_pricing_app .fs-section--packages .fs-packages-nav:before{z-index:1}#root .fs-section--packages .fs-packages-nav.fs-has-previous-plan:before,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-previous-plan:before{content:"";left:0;background:linear-gradient(to right,#cccccc96,transparent)}#root .fs-section--packages .fs-packages-nav.fs-has-next-plan:after,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-next-plan:after{content:"";right:0;background:linear-gradient(to left,#cccccc96,transparent)}#root .fs-section--packages .fs-packages-nav.fs-has-featured-plan:before,#root .fs-section--packages .fs-packages-nav.fs-has-featured-plan:after,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-featured-plan:before,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-featured-plan:after{top:2.8em}#root .fs-section--packages .fs-prev-package,#root .fs-section--packages .fs-next-package,#fs_pricing_app .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--packages .fs-next-package{position:absolute;top:50%;margin-top:-11px;cursor:pointer;font-size:48px;z-index:1}#root .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--packages .fs-prev-package{visibility:hidden;z-index:2}#root .fs-section--packages .fs-has-featured-plan .fs-packages,#fs_pricing_app .fs-section--packages .fs-has-featured-plan .fs-packages{margin-top:2.8em}#root .fs-section--packages .fs-packages,#fs_pricing_app .fs-section--packages .fs-packages{width:auto;display:flex;flex-direction:row;margin-left:auto;margin-right:auto;margin-bottom:30px;border-top-right-radius:10px;position:relative;transition:left .5s ease,right .5s ease;padding-top:5px}#root .fs-section--packages .fs-packages:before,#fs_pricing_app .fs-section--packages .fs-packages:before{content:"";position:absolute;top:0;right:0;bottom:0;width:100px;height:100px}@media only screen and (max-width: 768px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-next-package,#root .fs-section--plans-and-pricing .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-next-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-prev-package{display:none}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages-menu,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages-menu{display:block;font-size:24px;margin:0 auto 10px}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages-tab,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages-tab{display:flex;font-size:18px;margin:0 auto 10px}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-most-popular,#root .fs-section--plans-and-pricing .fs-section--packages .fs-package .fs-most-popular,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-most-popular,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-package .fs-most-popular{display:none}#root .fs-section--plans-and-pricing .fs-section--packages .fs-has-featured-plan .fs-packages,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-has-featured-plan .fs-packages{margin-top:0}}@media only screen and (max-width: 455px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package{width:100%}#root .fs-section--plans-and-pricing,#fs_pricing_app .fs-section--plans-and-pricing{padding:10px}}@media only screen and (max-width: 375px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package{width:100%}}\n',""]);const s=o},302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-tooltip,#fs_pricing_app .fs-tooltip{cursor:help;position:relative;color:inherit}#root .fs-tooltip .fs-tooltip-message,#fs_pricing_app .fs-tooltip .fs-tooltip-message{position:absolute;width:200px;background:var(--fs-ds-theme-background-darkest);z-index:1;display:none;border-radius:4px;color:var(--fs-ds-theme-dark-background-text-color);padding:8px;text-align:left;line-height:18px}#root .fs-tooltip .fs-tooltip-message:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message:before{content:"";position:absolute;z-index:1}#root .fs-tooltip .fs-tooltip-message:not(.fs-tooltip-message--position-none),#fs_pricing_app .fs-tooltip .fs-tooltip-message:not(.fs-tooltip-message--position-none){display:block}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right{transform:translateY(-50%);left:30px;top:8px}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right:before{left:-8px;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:8px solid var(--fs-ds-theme-background-darkest)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top{left:50%;bottom:30px;transform:translate(-50%)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top:before{left:50%;bottom:-8px;margin-left:-6px;border-right:6px solid transparent;border-left:6px solid transparent;border-top:8px solid var(--fs-ds-theme-background-darkest)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right{right:-10px;bottom:30px}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right:before{right:10px;bottom:-8px;margin-left:-6px;border-right:6px solid transparent;border-left:6px solid transparent;border-top:8px solid var(--fs-ds-theme-background-darkest)}\n',""]);const s=o},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&o[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},867:(e,t,n)=>{let a=document.getElementById("fs_pricing_wrapper");a&&a.dataset&&a.dataset.publicUrl&&(n.p=a.dataset.publicUrl)},738:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:(e,t,n)=>{var a,r,i,o,s;a=n(12),r=n(487).utf8,i=n(738),o=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,f=-1732584194,p=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var m=s._ff,g=s._gg,h=s._hh,b=s._ii;for(d=0;d<n.length;d+=16){var y=c,v=u,k=f,_=p;c=m(c,u,f,p,n[d+0],7,-680876936),p=m(p,c,u,f,n[d+1],12,-389564586),f=m(f,p,c,u,n[d+2],17,606105819),u=m(u,f,p,c,n[d+3],22,-1044525330),c=m(c,u,f,p,n[d+4],7,-176418897),p=m(p,c,u,f,n[d+5],12,1200080426),f=m(f,p,c,u,n[d+6],17,-1473231341),u=m(u,f,p,c,n[d+7],22,-45705983),c=m(c,u,f,p,n[d+8],7,1770035416),p=m(p,c,u,f,n[d+9],12,-1958414417),f=m(f,p,c,u,n[d+10],17,-42063),u=m(u,f,p,c,n[d+11],22,-1990404162),c=m(c,u,f,p,n[d+12],7,1804603682),p=m(p,c,u,f,n[d+13],12,-40341101),f=m(f,p,c,u,n[d+14],17,-1502002290),c=g(c,u=m(u,f,p,c,n[d+15],22,1236535329),f,p,n[d+1],5,-165796510),p=g(p,c,u,f,n[d+6],9,-1069501632),f=g(f,p,c,u,n[d+11],14,643717713),u=g(u,f,p,c,n[d+0],20,-373897302),c=g(c,u,f,p,n[d+5],5,-701558691),p=g(p,c,u,f,n[d+10],9,38016083),f=g(f,p,c,u,n[d+15],14,-660478335),u=g(u,f,p,c,n[d+4],20,-405537848),c=g(c,u,f,p,n[d+9],5,568446438),p=g(p,c,u,f,n[d+14],9,-1019803690),f=g(f,p,c,u,n[d+3],14,-187363961),u=g(u,f,p,c,n[d+8],20,1163531501),c=g(c,u,f,p,n[d+13],5,-1444681467),p=g(p,c,u,f,n[d+2],9,-51403784),f=g(f,p,c,u,n[d+7],14,1735328473),c=h(c,u=g(u,f,p,c,n[d+12],20,-1926607734),f,p,n[d+5],4,-378558),p=h(p,c,u,f,n[d+8],11,-2022574463),f=h(f,p,c,u,n[d+11],16,1839030562),u=h(u,f,p,c,n[d+14],23,-35309556),c=h(c,u,f,p,n[d+1],4,-1530992060),p=h(p,c,u,f,n[d+4],11,1272893353),f=h(f,p,c,u,n[d+7],16,-155497632),u=h(u,f,p,c,n[d+10],23,-1094730640),c=h(c,u,f,p,n[d+13],4,681279174),p=h(p,c,u,f,n[d+0],11,-358537222),f=h(f,p,c,u,n[d+3],16,-722521979),u=h(u,f,p,c,n[d+6],23,76029189),c=h(c,u,f,p,n[d+9],4,-640364487),p=h(p,c,u,f,n[d+12],11,-421815835),f=h(f,p,c,u,n[d+15],16,530742520),c=b(c,u=h(u,f,p,c,n[d+2],23,-995338651),f,p,n[d+0],6,-198630844),p=b(p,c,u,f,n[d+7],10,1126891415),f=b(f,p,c,u,n[d+14],15,-1416354905),u=b(u,f,p,c,n[d+5],21,-57434055),c=b(c,u,f,p,n[d+12],6,1700485571),p=b(p,c,u,f,n[d+3],10,-1894986606),f=b(f,p,c,u,n[d+10],15,-1051523),u=b(u,f,p,c,n[d+1],21,-2054922799),c=b(c,u,f,p,n[d+8],6,1873313359),p=b(p,c,u,f,n[d+15],10,-30611744),f=b(f,p,c,u,n[d+6],15,-1560198380),u=b(u,f,p,c,n[d+13],21,1309151649),c=b(c,u,f,p,n[d+4],6,-145523070),p=b(p,c,u,f,n[d+11],10,-1120210379),f=b(f,p,c,u,n[d+2],15,718787259),u=b(u,f,p,c,n[d+9],21,-343485551),c=c+y>>>0,u=u+v>>>0,f=f+k>>>0,p=p+_>>>0}return a.endian([c,u,f,p])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,s,l=r(e),c=1;c<arguments.length;c++){for(var u in o=Object(arguments[c]))n.call(o,u)&&(l[u]=o[u]);if(t){s=t(o);for(var f=0;f<s.length;f++)a.call(o,s[f])&&(l[s[f]]=o[s[f]])}}return l}},703:(e,t,n)=>{"use strict";var a=n(414);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,o){if(o!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},448:(e,t,n)=>{"use strict";var a=n(294),r=n(418),i=n(840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!a)throw Error(o(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d=Object.prototype.hasOwnProperty,m={},g={};function h(e,t,n,a,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function k(e,t,n,a){var r=b.hasOwnProperty(t)?b[t]:null;(null!==r?0===r.type:!a&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,a){if(null==t||function(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,a)&&(n=null),a||null===r?function(e){return!!d.call(g,e)||!d.call(m,e)&&(p.test(e)?g[e]=!0:(m[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=60103,x=60106,E=60107,S=60108,P=60114,C=60109,N=60110,O=60112,T=60113,M=60120,L=60115,z=60116,A=60121,I=60128,q=60129,j=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var D=Symbol.for;w=D("react.element"),x=D("react.portal"),E=D("react.fragment"),S=D("react.strict_mode"),P=D("react.profiler"),C=D("react.provider"),N=D("react.context"),O=D("react.forward_ref"),T=D("react.suspense"),M=D("react.suspense_list"),L=D("react.memo"),z=D("react.lazy"),A=D("react.block"),D("react.scope"),I=D("react.opaque.id"),q=D("react.debug_trace_mode"),j=D("react.offscreen"),F=D("react.legacy_hidden")}var R,B="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}function W(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var H=!1;function $(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var a=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){a=e}e.call(t.prototype)}else{try{throw Error()}catch(e){a=e}e()}}catch(e){if(e&&a&&"string"==typeof e.stack){for(var r=e.stack.split("\n"),i=a.stack.split("\n"),o=r.length-1,s=i.length-1;1<=o&&0<=s&&r[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(r[o]!==i[s]){if(1!==o||1!==s)do{if(o--,0>--s||r[o]!==i[s])return"\n"+r[o].replace(" at new "," at ")}while(1<=o&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function V(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 22:return $(e.type._render,!1);case 1:return $(e.type,!0);default:return""}}function Q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case x:return"Portal";case P:return"Profiler";case S:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case L:return Q(e.type);case A:return Q(e._render);case z:t=e._payload,e=e._init;try{return Q(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=K(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),a=t.type;if(null!=n)"number"===a?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===a||"reset"===a)return void e.removeAttribute("value");t.hasOwnProperty("value")?re(e,t.type,n):t.hasOwnProperty("defaultValue")&&re(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ae(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!("submit"!==a&&"reset"!==a||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function re(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return a.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ce(e,t){var n=Y(t.value),a=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=a&&(e.defaultValue=""+a)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function de(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge,he=(ge=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function _e(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=ke(n,t[n],a);"float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}Object.keys(ye).forEach((function(e){ve.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var we=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(we[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Ce=null,Ne=null;function Oe(e){if(e=nr(e)){if("function"!=typeof Pe)throw Error(o(280));var t=e.stateNode;t&&(t=rr(t),Pe(e.stateNode,e.type,t))}}function Te(e){Ce?Ne?Ne.push(e):Ne=[e]:Ce=e}function Me(){if(Ce){var e=Ce,t=Ne;if(Ne=Ce=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function Le(e,t){return e(t)}function ze(e,t,n,a,r){return e(t,n,a,r)}function Ae(){}var Ie=Le,qe=!1,je=!1;function Fe(){null===Ce&&null===Ne||(Ae(),Me())}function De(e,t){var n=e.stateNode;if(null===n)return null;var a=rr(n);if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Re=!1;if(f)try{var Be={};Object.defineProperty(Be,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Be,Be),window.removeEventListener("test",Be,Be)}catch(ge){Re=!1}function Ue(e,t,n,a,r,i,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var We=!1,He=null,$e=!1,Ve=null,Qe={onError:function(e){We=!0,He=e}};function Ye(e,t,n,a,r,i,o,s,l){We=!1,He=null,Ue.apply(Qe,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Xe(e){if(Ke(e)!==e)throw Error(o(188))}function Ge(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(null===r)break;var i=r.alternate;if(null===i){if(null!==(a=r.return)){n=a;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===n)return Xe(r),e;if(i===a)return Xe(r),t;i=i.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=i;else{for(var s=!1,l=r.child;l;){if(l===n){s=!0,n=r,a=i;break}if(l===a){s=!0,a=r,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,a=r;break}if(l===a){s=!0,a=i,n=r;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,at,rt=!1,it=[],ot=null,st=null,lt=null,ct=new Map,ut=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function dt(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:r,targetContainers:[a]}}function mt(e,t){switch(e){case"focusin":case"focusout":ot=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function gt(e,t,n,a,r,i){return null===e||e.nativeEvent!==i?(e=dt(t,n,a,r,i),null!==t&&null!==(t=nr(t))&&tt(t),e):(e.eventSystemFlags|=a,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function ht(e){var t=tr(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=nr(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){bt(e)&&n.delete(t)}function vt(){for(rt=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=nr(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==ot&&bt(ot)&&(ot=null),null!==st&&bt(st)&&(st=null),null!==lt&&bt(lt)&&(lt=null),ct.forEach(yt),ut.forEach(yt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,rt||(rt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,vt)))}function _t(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var a=it[n];a.blockedOn===e&&(a.blockedOn=null)}}for(null!==ot&&kt(ot,e),null!==st&&kt(st,e),null!==lt&&kt(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<ft.length;n++)(a=ft[n]).blockedOn===e&&(a.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)ht(n),null===n.blockedOn&&ft.shift()}function wt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:wt("Animation","AnimationEnd"),animationiteration:wt("Animation","AnimationIteration"),animationstart:wt("Animation","AnimationStart"),transitionend:wt("Transition","TransitionEnd")},Et={},St={};function Pt(e){if(Et[e])return Et[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in St)return Et[e]=n[t];return e}f&&(St=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Ct=Pt("animationend"),Nt=Pt("animationiteration"),Ot=Pt("animationstart"),Tt=Pt("transitionend"),Mt=new Map,Lt=new Map,zt=["abort","abort",Ct,"animationEnd",Nt,"animationIteration",Ot,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tt,"transitionEnd","waiting","waiting"];function At(e,t){for(var n=0;n<e.length;n+=2){var a=e[n],r=e[n+1];r="on"+(r[0].toUpperCase()+r.slice(1)),Lt.set(a,t),Mt.set(a,r),c(r,[a])}}(0,i.unstable_now)();var It=8;function qt(e){if(0!=(1&e))return It=15,1;if(0!=(2&e))return It=14,2;if(0!=(4&e))return It=13,4;var t=24&e;return 0!==t?(It=12,t):0!=(32&e)?(It=11,32):0!=(t=192&e)?(It=10,t):0!=(256&e)?(It=9,256):0!=(t=3584&e)?(It=8,t):0!=(4096&e)?(It=7,4096):0!=(t=4186112&e)?(It=6,t):0!=(t=62914560&e)?(It=5,t):67108864&e?(It=4,67108864):0!=(134217728&e)?(It=3,134217728):0!=(t=805306368&e)?(It=2,t):0!=(1073741824&e)?(It=1,1073741824):(It=8,e)}function jt(e,t){var n=e.pendingLanes;if(0===n)return It=0;var a=0,r=0,i=e.expiredLanes,o=e.suspendedLanes,s=e.pingedLanes;if(0!==i)a=i,r=It=15;else if(0!=(i=134217727&n)){var l=i&~o;0!==l?(a=qt(l),r=It):0!=(s&=i)&&(a=qt(s),r=It)}else 0!=(i=n&~o)?(a=qt(i),r=It):0!==s&&(a=qt(s),r=It);if(0===a)return 0;if(a=n&((0>(a=31-Wt(a))?0:1<<a)<<1)-1,0!==t&&t!==a&&0==(t&o)){if(qt(t),r<=It)return t;It=r}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=a;0<t;)r=1<<(n=31-Wt(t)),a|=e[n],t&=~r;return a}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Dt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Rt(24&~t))?Dt(10,t):e;case 10:return 0===(e=Rt(192&~t))?Dt(8,t):e;case 8:return 0===(e=Rt(3584&~t))&&0===(e=Rt(4186112&~t))&&(e=512),e;case 2:return 0===(t=Rt(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Rt(e){return e&-e}function Bt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var a=t-1;e.suspendedLanes&=a,e.pingedLanes&=a,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/$t|0)|0},Ht=Math.log,$t=Math.LN2,Vt=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,Yt=!0;function Kt(e,t,n,a){qe||Ae();var r=Xt,i=qe;qe=!0;try{ze(r,e,t,n,a)}finally{(qe=i)||Fe()}}function Zt(e,t,n,a){Qt(Vt,Xt.bind(null,e,t,n,a))}function Xt(e,t,n,a){var r;if(Yt)if((r=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=dt(null,e,t,n,a),it.push(e);else{var i=Gt(e,t,n,a);if(null===i)r&&mt(e,a);else{if(r){if(-1<pt.indexOf(e))return e=dt(i,e,t,n,a),void it.push(e);if(function(e,t,n,a,r){switch(t){case"focusin":return ot=gt(ot,e,t,n,a,r),!0;case"dragenter":return st=gt(st,e,t,n,a,r),!0;case"mouseover":return lt=gt(lt,e,t,n,a,r),!0;case"pointerover":var i=r.pointerId;return ct.set(i,gt(ct.get(i)||null,e,t,n,a,r)),!0;case"gotpointercapture":return i=r.pointerId,ut.set(i,gt(ut.get(i)||null,e,t,n,a,r)),!0}return!1}(i,e,t,n,a))return;mt(e,a)}Aa(e,t,a,null,n)}}}function Gt(e,t,n,a){var r=Se(a);if(null!==(r=tr(r))){var i=Ke(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=Ze(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return Aa(e,t,a,r,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,a=n.length,r="value"in Jt?Jt.value:Jt.textContent,i=r.length;for(e=0;e<a&&n[e]===r[e];e++);var o=a-e;for(t=1;t<=o&&n[a-t]===r[i-t];t++);return tn=r.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rn(){return!0}function on(){return!1}function sn(e){function t(t,n,a,r,i){for(var o in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(r):r[o]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?rn:on,this.isPropagationStopped=on,this}return r(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var ln,cn,un,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(fn),dn=r({},fn,{view:0,detail:0}),mn=sn(dn),gn=r({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),hn=sn(gn),bn=sn(r({},gn,{dataTransfer:0})),yn=sn(r({},dn,{relatedTarget:0})),vn=sn(r({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=r({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_n=sn(kn),wn=sn(r({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return Pn}var Nn=r({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=sn(Nn),Tn=sn(r({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=sn(r({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Ln=sn(r({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),zn=r({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=sn(zn),In=[9,13,27,32],qn=f&&"CompositionEvent"in window,jn=null;f&&"documentMode"in document&&(jn=document.documentMode);var Fn=f&&"TextEvent"in window&&!jn,Dn=f&&(!qn||jn&&8<jn&&11>=jn),Rn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Qn(e,t,n,a){Te(a),0<(t=qa(t,"onChange")).length&&(n=new pn("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Yn=null,Kn=null;function Zn(e){Na(e,0)}function Xn(e){if(X(ar(e)))return e}function Gn(e,t){if("change"===e)return t}var Jn=!1;if(f){var ea;if(f){var ta="oninput"in document;if(!ta){var na=document.createElement("div");na.setAttribute("oninput","return;"),ta="function"==typeof na.oninput}ea=ta}else ea=!1;Jn=ea&&(!document.documentMode||9<document.documentMode)}function aa(){Yn&&(Yn.detachEvent("onpropertychange",ra),Kn=Yn=null)}function ra(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];if(Qn(t,Kn,e,Se(e)),e=Zn,qe)e(t);else{qe=!0;try{Le(e,t)}finally{qe=!1,Fe()}}}}function ia(e,t,n){"focusin"===e?(aa(),Kn=n,(Yn=t).attachEvent("onpropertychange",ra)):"focusout"===e&&aa()}function oa(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function sa(e,t){if("click"===e)return Xn(t)}function la(e,t){if("input"===e||"change"===e)return Xn(t)}var ca="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ua=Object.prototype.hasOwnProperty;function fa(e,t){if(ca(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++)if(!ua.call(t,n[a])||!ca(e[n[a]],t[n[a]]))return!1;return!0}function pa(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function da(e,t){var n,a=pa(e);for(e=0;a;){if(3===a.nodeType){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=pa(a)}}function ma(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ma(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ga(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function ha(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ba=f&&"documentMode"in document&&11>=document.documentMode,ya=null,va=null,ka=null,_a=!1;function wa(e,t,n){var a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_a||null==ya||ya!==G(a)||(a="selectionStart"in(a=ya)&&ha(a)?{start:a.selectionStart,end:a.selectionEnd}:{anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},ka&&fa(ka,a)||(ka=a,0<(a=qa(va,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=ya)))}At("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),At("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),At(zt,2);for(var xa="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ea=0;Ea<xa.length;Ea++)Lt.set(xa[Ea],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pa=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sa));function Ca(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,r,i,s,l,c){if(Ye.apply(this,arguments),We){if(!We)throw Error(o(198));var u=He;We=!1,He=null,$e||($e=!0,Ve=u)}}(a,t,void 0,e),e.currentTarget=null}function Na(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var o=a.length-1;0<=o;o--){var s=a[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&r.isPropagationStopped())break e;Ca(r,s,c),i=l}else for(o=0;o<a.length;o++){if(l=(s=a[o]).instance,c=s.currentTarget,s=s.listener,l!==i&&r.isPropagationStopped())break e;Ca(r,s,c),i=l}}}if($e)throw e=Ve,$e=!1,Ve=null,e}function Oa(e,t){var n=ir(t),a=e+"__bubble";n.has(a)||(za(t,e,2,!1),n.add(a))}var Ta="_reactListening"+Math.random().toString(36).slice(2);function Ma(e){e[Ta]||(e[Ta]=!0,s.forEach((function(t){Pa.has(t)||La(t,!1,e,null),La(t,!0,e,null)})))}function La(e,t,n,a){var r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==a&&!t&&Pa.has(e)){if("scroll"!==e)return;r|=2,i=a}var o=ir(i),s=e+"__"+(t?"capture":"bubble");o.has(s)||(t&&(r|=4),za(i,e,r,t),o.add(s))}function za(e,t,n,a){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=Kt;break;case 1:r=Zt;break;default:r=Xt}n=r.bind(null,t,n,e),r=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),a?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Aa(e,t,n,a,r){var i=a;if(0==(1&t)&&0==(2&t)&&null!==a)e:for(;;){if(null===a)return;var o=a.tag;if(3===o||4===o){var s=a.stateNode.containerInfo;if(s===r||8===s.nodeType&&s.parentNode===r)break;if(4===o)for(o=a.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===r||8===l.nodeType&&l.parentNode===r))return;o=o.return}for(;null!==s;){if(null===(o=tr(s)))return;if(5===(l=o.tag)||6===l){a=i=o;continue e}s=s.parentNode}}a=a.return}!function(e,t,n){if(je)return e();je=!0;try{Ie(e,t,n)}finally{je=!1,Fe()}}((function(){var a=i,r=Se(n),o=[];e:{var s=Mt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":l=On;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=bn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Mn;break;case Ct:case Nt:case Ot:l=vn;break;case Tt:l=Ln;break;case"scroll":l=mn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=_n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!=(4&t),f=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var d,m=a;null!==m;){var g=(d=m).stateNode;if(5===d.tag&&null!==g&&(d=g,null!==p&&null!=(g=De(m,p))&&u.push(Ia(m,g,d))),f)break;m=m.return}0<u.length&&(s=new l(s,c,null,n,r),o.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!tr(c)&&!c[Ja])&&(l||s)&&(s=r.window===r?r:(s=r.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=a,null!==(c=(c=n.relatedTarget||n.toElement)?tr(c):null)&&(c!==(f=Ke(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=a),l!==c)){if(u=hn,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?s:ar(l),d=null==c?s:ar(c),(s=new u(g,m+"leave",l,n,r)).target=f,s.relatedTarget=d,g=null,tr(r)===a&&((u=new u(p,m+"enter",c,n,r)).target=d,u.relatedTarget=f,g=u),f=g,l&&c)e:{for(p=c,m=0,d=u=l;d;d=ja(d))m++;for(d=0,g=p;g;g=ja(g))d++;for(;0<m-d;)u=ja(u),m--;for(;0<d-m;)p=ja(p),d--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=ja(u),p=ja(p)}u=null}else u=null;null!==l&&Fa(o,s,l,u,!1),null!==c&&null!==f&&Fa(o,f,c,u,!0)}if("select"===(l=(s=a?ar(a):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var h=Gn;else if(Vn(s))if(Jn)h=la;else{h=oa;var b=ia}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(h=sa);switch(h&&(h=h(e,a))?Qn(o,h,n,r):(b&&b(e,s,a),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&re(s,"number",s.value)),b=a?ar(a):window,e){case"focusin":(Vn(b)||"true"===b.contentEditable)&&(ya=b,va=a,ka=null);break;case"focusout":ka=va=ya=null;break;case"mousedown":_a=!0;break;case"contextmenu":case"mouseup":case"dragend":_a=!1,wa(o,n,r);break;case"selectionchange":if(ba)break;case"keydown":case"keyup":wa(o,n,r)}var y;if(qn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Hn?Un(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Dn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Hn&&(y=nn()):(en="value"in(Jt=r)?Jt.value:Jt.textContent,Hn=!0)),0<(b=qa(a,v)).length&&(v=new wn(v,e,null,n,r),o.push({event:v,listeners:b}),(y||null!==(y=Wn(n)))&&(v.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Rn);case"textInput":return(e=t.data)===Rn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!qn&&Un(e,t)?(e=nn(),tn=en=Jt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(a=qa(a,"onBeforeInput")).length&&(r=new wn("onBeforeInput","beforeinput",null,n,r),o.push({event:r,listeners:a}),r.data=y)}Na(o,t)}))}function Ia(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qa(e,t){for(var n=t+"Capture",a=[];null!==e;){var r=e,i=r.stateNode;5===r.tag&&null!==i&&(r=i,null!=(i=De(e,n))&&a.unshift(Ia(e,i,r)),null!=(i=De(e,t))&&a.push(Ia(e,i,r))),e=e.return}return a}function ja(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fa(e,t,n,a,r){for(var i=t._reactName,o=[];null!==n&&n!==a;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===a)break;5===s.tag&&null!==c&&(s=c,r?null!=(l=De(n,i))&&o.unshift(Ia(n,l,s)):r||null!=(l=De(n,i))&&o.push(Ia(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function Da(){}var Ra=null,Ba=null;function Ua(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wa(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ha="function"==typeof setTimeout?setTimeout:void 0,$a="function"==typeof clearTimeout?clearTimeout:void 0;function Va(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Qa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Ya(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Ka=0,Za=Math.random().toString(36).slice(2),Xa="__reactFiber$"+Za,Ga="__reactProps$"+Za,Ja="__reactContainer$"+Za,er="__reactEvents$"+Za;function tr(e){var t=e[Xa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ja]||n[Xa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ya(e);null!==e;){if(n=e[Xa])return n;e=Ya(e)}return t}n=(e=n).parentNode}return null}function nr(e){return!(e=e[Xa]||e[Ja])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ar(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function rr(e){return e[Ga]||null}function ir(e){var t=e[er];return void 0===t&&(t=e[er]=new Set),t}var or=[],sr=-1;function lr(e){return{current:e}}function cr(e){0>sr||(e.current=or[sr],or[sr]=null,sr--)}function ur(e,t){sr++,or[sr]=e.current,e.current=t}var fr={},pr=lr(fr),dr=lr(!1),mr=fr;function gr(e,t){var n=e.type.contextTypes;if(!n)return fr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function hr(e){return null!=e.childContextTypes}function br(){cr(dr),cr(pr)}function yr(e,t,n){if(pr.current!==fr)throw Error(o(168));ur(pr,t),ur(dr,n)}function vr(e,t,n){var a=e.stateNode;if(e=t.childContextTypes,"function"!=typeof a.getChildContext)return n;for(var i in a=a.getChildContext())if(!(i in e))throw Error(o(108,Q(t)||"Unknown",i));return r({},n,a)}function kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fr,mr=pr.current,ur(pr,e),ur(dr,dr.current),!0}function _r(e,t,n){var a=e.stateNode;if(!a)throw Error(o(169));n?(e=vr(e,t,mr),a.__reactInternalMemoizedMergedChildContext=e,cr(dr),cr(pr),ur(pr,e)):cr(dr),ur(dr,n)}var wr=null,xr=null,Er=i.unstable_runWithPriority,Sr=i.unstable_scheduleCallback,Pr=i.unstable_cancelCallback,Cr=i.unstable_shouldYield,Nr=i.unstable_requestPaint,Or=i.unstable_now,Tr=i.unstable_getCurrentPriorityLevel,Mr=i.unstable_ImmediatePriority,Lr=i.unstable_UserBlockingPriority,zr=i.unstable_NormalPriority,Ar=i.unstable_LowPriority,Ir=i.unstable_IdlePriority,qr={},jr=void 0!==Nr?Nr:function(){},Fr=null,Dr=null,Rr=!1,Br=Or(),Ur=1e4>Br?Or:function(){return Or()-Br};function Wr(){switch(Tr()){case Mr:return 99;case Lr:return 98;case zr:return 97;case Ar:return 96;case Ir:return 95;default:throw Error(o(332))}}function Hr(e){switch(e){case 99:return Mr;case 98:return Lr;case 97:return zr;case 96:return Ar;case 95:return Ir;default:throw Error(o(332))}}function $r(e,t){return e=Hr(e),Er(e,t)}function Vr(e,t,n){return e=Hr(e),Sr(e,t,n)}function Qr(){if(null!==Dr){var e=Dr;Dr=null,Pr(e)}Yr()}function Yr(){if(!Rr&&null!==Fr){Rr=!0;var e=0;try{var t=Fr;$r(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fr=null}catch(t){throw null!==Fr&&(Fr=Fr.slice(e+1)),Sr(Mr,Qr),t}finally{Rr=!1}}}var Kr=_.ReactCurrentBatchConfig;function Zr(e,t){if(e&&e.defaultProps){for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xr=lr(null),Gr=null,Jr=null,ei=null;function ti(){ei=Jr=Gr=null}function ni(e){var t=Xr.current;cr(Xr),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ri(e,t){Gr=e,ei=Jr=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(qo=!0),e.firstContext=null)}function ii(e,t){if(ei!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ei=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jr){if(null===Gr)throw Error(o(308));Jr=t,Gr.dependencies={lanes:0,firstContext:t,responders:null}}else Jr=Jr.next=t;return e._currentValue}var oi=!1;function si(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ui(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fi(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a&&n===(a=a.updateQueue)){var r=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?r=i=o:i=i.next=o,n=n.next}while(null!==n);null===i?r=i=t:i=i.next=t}else r=i=t;return n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:a.shared,effects:a.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pi(e,t,n,a){var i=e.updateQueue;oi=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?o=u:s.next=u,s=c;var f=e.alternate;if(null!==f){var p=(f=f.updateQueue).lastBaseUpdate;p!==s&&(null===p?f.firstBaseUpdate=u:p.next=u,f.lastBaseUpdate=c)}}if(null!==o){for(p=i.baseState,s=0,f=u=c=null;;){l=o.lane;var d=o.eventTime;if((a&l)===l){null!==f&&(f=f.next={eventTime:d,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,g=o;switch(l=t,d=n,g.tag){case 1:if("function"==typeof(m=g.payload)){p=m.call(d,p,l);break e}p=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(l="function"==typeof(m=g.payload)?m.call(d,p,l):m))break e;p=r({},p,l);break e;case 2:oi=!0}}null!==o.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[o]:l.push(o))}else d={eventTime:d,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===f?(u=f=d,c=p):f=f.next=d,s|=l;if(null===(o=o.next)){if(null===(l=i.shared.pending))break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===f&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=f,Fs|=s,e.lanes=s,e.memoizedState=p}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],r=a.callback;if(null!==r){if(a.callback=null,a=n,"function"!=typeof r)throw Error(o(191,r));r.call(a)}}}var mi=(new a.Component).refs;function gi(e,t,n,a){n=null==(n=n(a,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var hi={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=cl(),r=ul(e),i=ci(a,r);i.payload=t,null!=n&&(i.callback=n),ui(e,i),fl(e,r,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=cl(),r=ul(e),i=ci(a,r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),ui(e,i),fl(e,r,a)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),a=ul(e),r=ci(n,a);r.tag=2,null!=t&&(r.callback=t),ui(e,r),fl(e,a,n)}};function bi(e,t,n,a,r,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,i,o):!(t.prototype&&t.prototype.isPureReactComponent&&fa(n,a)&&fa(r,i))}function yi(e,t,n){var a=!1,r=fr,i=t.contextType;return"object"==typeof i&&null!==i?i=ii(i):(r=hr(t)?mr:pr.current,i=(a=null!=(a=t.contextTypes))?gr(e,r):fr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=hi,e.stateNode=t,t._reactInternals=e,a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function vi(e,t,n,a){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&hi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,a){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=mi,si(e);var i=t.contextType;"object"==typeof i&&null!==i?r.context=ii(i):(i=hr(t)?mr:pr.current,r.context=gr(e,i)),pi(e,n,r,a),r.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&hi.enqueueReplaceState(r,r.state,null),pi(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4)}var _i=Array.isArray;function wi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var a=n.stateNode}if(!a)throw Error(o(147,e));var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:(t=function(e){var t=a.refs;t===mi&&(t=a.refs={}),null===e?delete t[r]:t[r]=e},t._stringRef=r,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ei(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function a(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t){return(e=Wl(e,t)).index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index)<n?(t.flags=2,n):a:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,a){return null===t||6!==t.tag?((t=Ql(n,e.mode,a)).return=e,t):((t=r(t,n)).return=e,t)}function c(e,t,n,a){return null!==t&&t.elementType===n.type?((a=r(t,n.props)).ref=wi(e,t,n),a.return=e,a):((a=Hl(n.type,n.key,n.props,null,e.mode,a)).ref=wi(e,t,n),a.return=e,a)}function u(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,a)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function f(e,t,n,a,i){return null===t||7!==t.tag?((t=$l(n,e.mode,a,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ql(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Hl(t.type,t.key,t.props,null,e.mode,n)).ref=wi(e,null,t),n.return=e,n;case x:return(t=Yl(t,e.mode,n)).return=e,t}if(_i(t)||U(t))return(t=$l(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function d(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:l(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===r?n.type===E?f(e,t,n.props.children,a,r):c(e,t,n,a):null;case x:return n.key===r?u(e,t,n,a):null}if(_i(n)||U(n))return null!==r?null:f(e,t,n,a,null);xi(e,n)}return null}function m(e,t,n,a,r){if("string"==typeof a||"number"==typeof a)return l(t,e=e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case w:return e=e.get(null===a.key?n:a.key)||null,a.type===E?f(t,e,a.props.children,r,a.key):c(t,e,a,r);case x:return u(t,e=e.get(null===a.key?n:a.key)||null,a,r)}if(_i(a)||U(a))return f(t,e=e.get(n)||null,a,r,null);xi(t,a)}return null}function g(r,o,s,l){for(var c=null,u=null,f=o,g=o=0,h=null;null!==f&&g<s.length;g++){f.index>g?(h=f,f=null):h=f.sibling;var b=d(r,f,s[g],l);if(null===b){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(r,f),o=i(b,o,g),null===u?c=b:u.sibling=b,u=b,f=h}if(g===s.length)return n(r,f),c;if(null===f){for(;g<s.length;g++)null!==(f=p(r,s[g],l))&&(o=i(f,o,g),null===u?c=f:u.sibling=f,u=f);return c}for(f=a(r,f);g<s.length;g++)null!==(h=m(f,r,g,s[g],l))&&(e&&null!==h.alternate&&f.delete(null===h.key?g:h.key),o=i(h,o,g),null===u?c=h:u.sibling=h,u=h);return e&&f.forEach((function(e){return t(r,e)})),c}function h(r,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var f=u=null,g=s,h=s=0,b=null,y=l.next();null!==g&&!y.done;h++,y=l.next()){g.index>h?(b=g,g=null):b=g.sibling;var v=d(r,g,y.value,c);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(r,g),s=i(v,s,h),null===f?u=v:f.sibling=v,f=v,g=b}if(y.done)return n(r,g),u;if(null===g){for(;!y.done;h++,y=l.next())null!==(y=p(r,y.value,c))&&(s=i(y,s,h),null===f?u=y:f.sibling=y,f=y);return u}for(g=a(r,g);!y.done;h++,y=l.next())null!==(y=m(g,r,h,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?h:y.key),s=i(y,s,h),null===f?u=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(r,e)})),u}return function(e,a,i,l){var c="object"==typeof i&&null!==i&&i.type===E&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case w:e:{for(u=i.key,c=a;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===E){n(e,c.sibling),(a=r(c,i.props.children)).return=e,e=a;break e}}else if(c.elementType===i.type){n(e,c.sibling),(a=r(c,i.props)).ref=wi(e,c,i),a.return=e,e=a;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===E?((a=$l(i.props.children,e.mode,l,i.key)).return=e,e=a):((l=Hl(i.type,i.key,i.props,null,e.mode,l)).ref=wi(e,a,i),l.return=e,e=l)}return s(e);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(e,a.sibling),(a=r(a,i.children||[])).return=e,e=a;break e}n(e,a);break}t(e,a),a=a.sibling}(a=Yl(i,e.mode,l)).return=e,e=a}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==a&&6===a.tag?(n(e,a.sibling),(a=r(a,i)).return=e,e=a):(n(e,a),(a=Ql(i,e.mode,l)).return=e,e=a),s(e);if(_i(i))return g(e,a,i,l);if(U(i))return h(e,a,i,l);if(u&&xi(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,Q(e.type)||"Component"))}return n(e,a)}}var Si=Ei(!0),Pi=Ei(!1),Ci={},Ni=lr(Ci),Oi=lr(Ci),Ti=lr(Ci);function Mi(e){if(e===Ci)throw Error(o(174));return e}function Li(e,t){switch(ur(Ti,t),ur(Oi,e),ur(Ni,Ci),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:de(null,"");break;default:t=de(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}cr(Ni),ur(Ni,t)}function zi(){cr(Ni),cr(Oi),cr(Ti)}function Ai(e){Mi(Ti.current);var t=Mi(Ni.current),n=de(t,e.type);t!==n&&(ur(Oi,e),ur(Ni,n))}function Ii(e){Oi.current===e&&(cr(Ni),cr(Oi))}var qi=lr(0);function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fi=null,Di=null,Ri=!1;function Bi(e,t){var n=Bl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wi(e){if(Ri){var t=Di;if(t){var n=t;if(!Ui(e,t)){if(!(t=Qa(n.nextSibling))||!Ui(e,t))return e.flags=-1025&e.flags|2,Ri=!1,void(Fi=e);Bi(Fi,n)}Fi=e,Di=Qa(t.firstChild)}else e.flags=-1025&e.flags|2,Ri=!1,Fi=e}}function Hi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fi=e}function $i(e){if(e!==Fi)return!1;if(!Ri)return Hi(e),Ri=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wa(t,e.memoizedProps))for(t=Di;t;)Bi(e,t),t=Qa(t.nextSibling);if(Hi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Di=Qa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Di=null}}else Di=Fi?Qa(e.stateNode.nextSibling):null;return!0}function Vi(){Di=Fi=null,Ri=!1}var Qi=[];function Yi(){for(var e=0;e<Qi.length;e++)Qi[e]._workInProgressVersionPrimary=null;Qi.length=0}var Ki=_.ReactCurrentDispatcher,Zi=_.ReactCurrentBatchConfig,Xi=0,Gi=null,Ji=null,eo=null,to=!1,no=!1;function ao(){throw Error(o(321))}function ro(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ca(e[n],t[n]))return!1;return!0}function io(e,t,n,a,r,i){if(Xi=i,Gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Lo:zo,e=n(a,r),no){i=0;do{if(no=!1,!(25>i))throw Error(o(301));i+=1,eo=Ji=null,t.updateQueue=null,Ki.current=Ao,e=n(a,r)}while(no)}if(Ki.current=Mo,t=null!==Ji&&null!==Ji.next,Xi=0,eo=Ji=Gi=null,to=!1,t)throw Error(o(300));return e}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===eo?Gi.memoizedState=eo=e:eo=eo.next=e,eo}function so(){if(null===Ji){var e=Gi.alternate;e=null!==e?e.memoizedState:null}else e=Ji.next;var t=null===eo?Gi.memoizedState:eo.next;if(null!==t)eo=t,Ji=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Ji=e).memoizedState,baseState:Ji.baseState,baseQueue:Ji.baseQueue,queue:Ji.queue,next:null},null===eo?Gi.memoizedState=eo=e:eo=eo.next=e}return eo}function lo(e,t){return"function"==typeof t?t(e):t}function co(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var a=Ji,r=a.baseQueue,i=n.pending;if(null!==i){if(null!==r){var s=r.next;r.next=i.next,i.next=s}a.baseQueue=r=i,n.pending=null}if(null!==r){r=r.next,a=a.baseState;var l=s=i=null,c=r;do{var u=c.lane;if((Xi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),a=c.eagerReducer===e?c.eagerState:e(a,c.action);else{var f={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=f,i=a):l=l.next=f,Gi.lanes|=u,Fs|=u}c=c.next}while(null!==c&&c!==r);null===l?i=a:l.next=s,ca(a,t.memoizedState)||(qo=!0),t.memoizedState=a,t.baseState=i,t.baseQueue=l,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function uo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,i=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{i=e(i,s.action),s=s.next}while(s!==r);ca(i,t.memoizedState)||(qo=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function fo(e,t,n){var a=t._getVersion;a=a(t._source);var r=t._workInProgressVersionPrimary;if(null!==r?e=r===a:(e=e.mutableReadLanes,(e=(Xi&e)===e)&&(t._workInProgressVersionPrimary=a,Qi.push(t))),e)return n(t._source);throw Qi.push(t),Error(o(350))}function po(e,t,n,a){var r=Ts;if(null===r)throw Error(o(349));var i=t._getVersion,s=i(t._source),l=Ki.current,c=l.useState((function(){return fo(r,t,n)})),u=c[1],f=c[0];c=eo;var p=e.memoizedState,d=p.refs,m=d.getSnapshot,g=p.source;p=p.subscribe;var h=Gi;return e.memoizedState={refs:d,source:t,subscribe:a},l.useEffect((function(){d.getSnapshot=n,d.setSnapshot=u;var e=i(t._source);if(!ca(s,e)){e=n(t._source),ca(f,e)||(u(e),e=ul(h),r.mutableReadLanes|=e&r.pendingLanes),e=r.mutableReadLanes,r.entangledLanes|=e;for(var a=r.entanglements,o=e;0<o;){var l=31-Wt(o),c=1<<l;a[l]|=e,o&=~c}}}),[n,t,a]),l.useEffect((function(){return a(t._source,(function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var a=ul(h);r.mutableReadLanes|=a&r.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,a]),ca(m,n)&&ca(g,t)&&ca(p,a)||((e={pending:null,dispatch:null,lastRenderedReducer:lo,lastRenderedState:f}).dispatch=u=To.bind(null,Gi,e),c.queue=e,c.baseQueue=null,f=fo(r,t,n),c.memoizedState=c.baseState=f),f}function mo(e,t,n){return po(so(),e,t,n)}function go(e){var t=oo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:lo,lastRenderedState:e}).dispatch=To.bind(null,Gi,e),[t.memoizedState,e]}function ho(e,t,n,a){return e={tag:e,create:t,destroy:n,deps:a,next:null},null===(t=Gi.updateQueue)?(t={lastEffect:null},Gi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function bo(e){return e={current:e},oo().memoizedState=e}function yo(){return so().memoizedState}function vo(e,t,n,a){var r=oo();Gi.flags|=e,r.memoizedState=ho(1|t,n,void 0,void 0===a?null:a)}function ko(e,t,n,a){var r=so();a=void 0===a?null:a;var i=void 0;if(null!==Ji){var o=Ji.memoizedState;if(i=o.destroy,null!==a&&ro(a,o.deps))return void ho(t,n,i,a)}Gi.flags|=e,r.memoizedState=ho(1|t,n,i,a)}function _o(e,t){return vo(516,4,e,t)}function wo(e,t){return ko(516,4,e,t)}function xo(e,t){return ko(4,2,e,t)}function Eo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function So(e,t,n){return n=null!=n?n.concat([e]):null,ko(4,2,Eo.bind(null,t,e),n)}function Po(){}function Co(e,t){var n=so();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&ro(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function No(e,t){var n=so();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&ro(t,a[1])?a[0]:(e=e(),n.memoizedState=[e,t],e)}function Oo(e,t){var n=Wr();$r(98>n?98:n,(function(){e(!0)})),$r(97<n?97:n,(function(){var n=Zi.transition;Zi.transition=1;try{e(!1),t()}finally{Zi.transition=n}}))}function To(e,t,n){var a=cl(),r=ul(e),i={lane:r,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Gi||null!==o&&o===Gi)no=to=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=o(s,n);if(i.eagerReducer=o,i.eagerState=l,ca(l,s))return}catch(e){}fl(e,r,a)}}var Mo={readContext:ii,useCallback:ao,useContext:ao,useEffect:ao,useImperativeHandle:ao,useLayoutEffect:ao,useMemo:ao,useReducer:ao,useRef:ao,useState:ao,useDebugValue:ao,useDeferredValue:ao,useTransition:ao,useMutableSource:ao,useOpaqueIdentifier:ao,unstable_isNewReconciler:!1},Lo={readContext:ii,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:ii,useEffect:_o,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,vo(4,2,Eo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vo(4,2,e,t)},useMemo:function(e,t){var n=oo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=oo();return t=void 0!==n?n(t):t,a.memoizedState=a.baseState=t,e=(e=a.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=To.bind(null,Gi,e),[a.memoizedState,e]},useRef:bo,useState:go,useDebugValue:Po,useDeferredValue:function(e){var t=go(e),n=t[0],a=t[1];return _o((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=go(!1),t=e[0];return bo(e=Oo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var a=oo();return a.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},po(a,e,t,n)},useOpaqueIdentifier:function(){if(Ri){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Ka++).toString(36))),Error(o(355))})),n=go(t)[1];return 0==(2&Gi.mode)&&(Gi.flags|=516,ho(5,(function(){n("r:"+(Ka++).toString(36))}),void 0,null)),t}return go(t="r:"+(Ka++).toString(36)),t},unstable_isNewReconciler:!1},zo={readContext:ii,useCallback:Co,useContext:ii,useEffect:wo,useImperativeHandle:So,useLayoutEffect:xo,useMemo:No,useReducer:co,useRef:yo,useState:function(){return co(lo)},useDebugValue:Po,useDeferredValue:function(e){var t=co(lo),n=t[0],a=t[1];return wo((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=co(lo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return co(lo)[0]},unstable_isNewReconciler:!1},Ao={readContext:ii,useCallback:Co,useContext:ii,useEffect:wo,useImperativeHandle:So,useLayoutEffect:xo,useMemo:No,useReducer:uo,useRef:yo,useState:function(){return uo(lo)},useDebugValue:Po,useDeferredValue:function(e){var t=uo(lo),n=t[0],a=t[1];return wo((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=uo(lo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return uo(lo)[0]},unstable_isNewReconciler:!1},Io=_.ReactCurrentOwner,qo=!1;function jo(e,t,n,a){t.child=null===e?Pi(t,null,n,a):Si(t,e.child,n,a)}function Fo(e,t,n,a,r){n=n.render;var i=t.ref;return ri(t,r),a=io(e,t,n,a,i,r),null===e||qo?(t.flags|=1,jo(e,t,a,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~r,ns(e,t,r))}function Do(e,t,n,a,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Ul(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hl(n.type,null,a,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ro(e,t,o,a,r,i))}return o=e.child,0==(r&i)&&(r=o.memoizedProps,(n=null!==(n=n.compare)?n:fa)(r,a)&&e.ref===t.ref)?ns(e,t,i):(t.flags|=1,(e=Wl(o,a)).ref=t.ref,e.return=t,t.child=e)}function Ro(e,t,n,a,r,i){if(null!==e&&fa(e.memoizedProps,a)&&e.ref===t.ref){if(qo=!1,0==(i&r))return t.lanes=e.lanes,ns(e,t,i);0!=(16384&e.flags)&&(qo=!0)}return Wo(e,t,n,a,i)}function Bo(e,t,n){var a=t.pendingProps,r=a.children,i=null!==e?e.memoizedState:null;if("hidden"===a.mode||"unstable-defer-without-hiding"===a.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},vl(0,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vl(0,e),null;t.memoizedState={baseLanes:0},vl(0,null!==i?i.baseLanes:n)}else null!==i?(a=i.baseLanes|n,t.memoizedState=null):a=n,vl(0,a);return jo(e,t,r,n),t.child}function Uo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Wo(e,t,n,a,r){var i=hr(n)?mr:pr.current;return i=gr(t,i),ri(t,r),n=io(e,t,n,a,i,r),null===e||qo?(t.flags|=1,jo(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~r,ns(e,t,r))}function Ho(e,t,n,a,r){if(hr(n)){var i=!0;kr(t)}else i=!1;if(ri(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,n,a),ki(t,n,a,r),a=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;c="object"==typeof c&&null!==c?ii(c):gr(t,c=hr(n)?mr:pr.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==a||l!==c)&&vi(t,o,a,c),oi=!1;var p=t.memoizedState;o.state=p,pi(t,a,o,r),l=t.memoizedState,s!==a||p!==l||dr.current||oi?("function"==typeof u&&(gi(t,n,u,a),l=t.memoizedState),(s=oi||bi(t,n,s,a,p,l,c))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4)):("function"==typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=a,t.memoizedState=l),o.props=a,o.state=l,o.context=c,a=s):("function"==typeof o.componentDidMount&&(t.flags|=4),a=!1)}else{o=t.stateNode,li(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Zr(t.type,s),o.props=c,f=t.pendingProps,p=o.context,l="object"==typeof(l=n.contextType)&&null!==l?ii(l):gr(t,l=hr(n)?mr:pr.current);var d=n.getDerivedStateFromProps;(u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==f||p!==l)&&vi(t,o,a,l),oi=!1,p=t.memoizedState,o.state=p,pi(t,a,o,r);var m=t.memoizedState;s!==f||p!==m||dr.current||oi?("function"==typeof d&&(gi(t,n,d,a),m=t.memoizedState),(c=oi||bi(t,n,c,a,p,m,l))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,m,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,m,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=a,t.memoizedState=m),o.props=a,o.state=m,o.context=l,a=c):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),a=!1)}return $o(e,t,n,a,i,r)}function $o(e,t,n,a,r,i){Uo(e,t);var o=0!=(64&t.flags);if(!a&&!o)return r&&_r(t,n,!1),ns(e,t,i);a=t.stateNode,Io.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:a.render();return t.flags|=1,null!==e&&o?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):jo(e,t,s,i),t.memoizedState=a.state,r&&_r(t,n,!0),t.child}function Vo(e){var t=e.stateNode;t.pendingContext?yr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yr(0,t.context,!1),Li(e,t.containerInfo)}var Qo,Yo,Ko,Zo={dehydrated:null,retryLane:0};function Xo(e,t,n){var a,r=t.pendingProps,i=qi.current,o=!1;return(a=0!=(64&t.flags))||(a=(null===e||null!==e.memoizedState)&&0!=(2&i)),a?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===r.fallback||!0===r.unstable_avoidThisFallback||(i|=1),ur(qi,1&i),null===e?(void 0!==r.fallback&&Wi(t),e=r.children,i=r.fallback,o?(e=Go(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zo,e):"number"==typeof r.unstable_expectedLoadTime?(e=Go(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zo,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(r=function(e,t,n,a,r){var i=t.mode,o=e.child;e=o.sibling;var s={mode:"hidden",children:n};return 0==(2&i)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=s,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Wl(o,s),null!==e?a=Wl(e,a):(a=$l(a,i,r,null)).flags|=2,a.return=t,n.return=t,n.sibling=a,t.child=n,a}(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Zo,r):(n=function(e,t,n,a){var r=e.child;return e=r.sibling,n=Wl(r,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=a),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,r.children,n),t.memoizedState=null,n))}function Go(e,t,n,a){var r=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&r)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Vl(t,r,0,null),n=$l(n,r,a,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function Jo(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ai(e.return,t)}function es(e,t,n,a,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,lastEffect:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r,o.lastEffect=i)}function ts(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail;if(jo(e,t,a.children,n),0!=(2&(a=qi.current)))a=1&a|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Jo(e,n);else if(19===e.tag)Jo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(ur(qi,a),0==(2&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),es(t,!1,r,n,i,t.lastEffect);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ji(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}es(t,!0,n,null,i,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function as(e,t){if(!Ri)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function rs(e,t,n){var a=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return hr(t.type)&&br(),null;case 3:return zi(),cr(dr),cr(pr),Yi(),(a=t.stateNode).pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:a.hydrate||(t.flags|=256)),null;case 5:Ii(t);var i=Mi(Ti.current);if(n=t.type,null!==e&&null!=t.stateNode)Yo(e,t,n,a),e.ref!==t.ref&&(t.flags|=128);else{if(!a){if(null===t.stateNode)throw Error(o(166));return null}if(e=Mi(Ni.current),$i(t)){a=t.stateNode,n=t.type;var s=t.memoizedProps;switch(a[Xa]=t,a[Ga]=s,n){case"dialog":Oa("cancel",a),Oa("close",a);break;case"iframe":case"object":case"embed":Oa("load",a);break;case"video":case"audio":for(e=0;e<Sa.length;e++)Oa(Sa[e],a);break;case"source":Oa("error",a);break;case"img":case"image":case"link":Oa("error",a),Oa("load",a);break;case"details":Oa("toggle",a);break;case"input":ee(a,s),Oa("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!s.multiple},Oa("invalid",a);break;case"textarea":le(a,s),Oa("invalid",a)}for(var c in xe(n,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?a.textContent!==i&&(e=["children",i]):"number"==typeof i&&a.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Oa("scroll",a));switch(n){case"input":Z(a),ae(a,s,!0);break;case"textarea":Z(a),ue(a);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(a.onclick=Da)}a=e,t.updateQueue=a,null!==a&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=c.createElement(n,{is:a.is}):(e=c.createElement(n),"select"===n&&(c=e,a.multiple?c.multiple=!0:a.size&&(c.size=a.size))):e=c.createElementNS(e,n),e[Xa]=t,e[Ga]=a,Qo(e,t),t.stateNode=e,c=Ee(n,a),n){case"dialog":Oa("cancel",e),Oa("close",e),i=a;break;case"iframe":case"object":case"embed":Oa("load",e),i=a;break;case"video":case"audio":for(i=0;i<Sa.length;i++)Oa(Sa[i],e);i=a;break;case"source":Oa("error",e),i=a;break;case"img":case"image":case"link":Oa("error",e),Oa("load",e),i=a;break;case"details":Oa("toggle",e),i=a;break;case"input":ee(e,a),i=J(e,a),Oa("invalid",e);break;case"option":i=ie(e,a);break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=r({},a,{value:void 0}),Oa("invalid",e);break;case"textarea":le(e,a),i=se(e,a),Oa("invalid",e);break;default:i=a}xe(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var f=u[s];"style"===s?_e(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&he(e,f):"children"===s?"string"==typeof f?("textarea"!==n||""!==f)&&be(e,f):"number"==typeof f&&be(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=f&&"onScroll"===s&&Oa("scroll",e):null!=f&&k(e,s,f,c))}switch(n){case"input":Z(e),ae(e,a,!1);break;case"textarea":Z(e),ue(e);break;case"option":null!=a.value&&e.setAttribute("value",""+Y(a.value));break;case"select":e.multiple=!!a.multiple,null!=(s=a.value)?oe(e,!!a.multiple,s,!1):null!=a.defaultValue&&oe(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Da)}Ua(n,a)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ko(0,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(o(166));n=Mi(Ti.current),Mi(Ni.current),$i(t)?(a=t.stateNode,n=t.memoizedProps,a[Xa]=t,a.nodeValue!==n&&(t.flags|=4)):((a=(9===n.nodeType?n:n.ownerDocument).createTextNode(a))[Xa]=t,t.stateNode=a)}return null;case 13:return cr(qi),a=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(a=null!==a,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,a&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&qi.current)?0===Is&&(Is=3):(0!==Is&&3!==Is||(Is=4),null===Ts||0==(134217727&Fs)&&0==(134217727&Ds)||gl(Ts,Ls))),(a||n)&&(t.flags|=4),null);case 4:return zi(),null===e&&Ma(t.stateNode.containerInfo),null;case 10:return ni(t),null;case 19:if(cr(qi),null===(a=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=a.rendering))if(s)as(a,!1);else{if(0!==Is||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=ji(e))){for(t.flags|=64,as(a,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===a.lastEffect&&(t.firstEffect=null),t.lastEffect=a.lastEffect,a=n,n=t.child;null!==n;)e=a,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ur(qi,1&qi.current|2),t.child}e=e.sibling}null!==a.tail&&Ur()>Ws&&(t.flags|=64,s=!0,as(a,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=ji(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),as(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!Ri)return null!==(t=t.lastEffect=a.lastEffect)&&(t.nextEffect=null),null}else 2*Ur()-a.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=64,s=!0,as(a,!1),t.lanes=33554432);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(n=a.tail,a.rendering=n,a.tail=n.sibling,a.lastEffect=t.lastEffect,a.renderingStartTime=Ur(),n.sibling=null,t=qi.current,ur(qi,s?1&t|2:1&t),n):null;case 23:case 24:return kl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==a.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function is(e){switch(e.tag){case 1:hr(e.type)&&br();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(zi(),cr(dr),cr(pr),Yi(),0!=(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Ii(e),null;case 13:return cr(qi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return cr(qi),null;case 4:return zi(),null;case 10:return ni(e),null;case 23:case 24:return kl(),null;default:return null}}function os(e,t){try{var n="",a=t;do{n+=V(a),a=a.return}while(a);var r=n}catch(e){r="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:r}}function ss(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Qo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yo=function(e,t,n,a){var i=e.memoizedProps;if(i!==a){e=t.stateNode,Mi(Ni.current);var o,s=null;switch(n){case"input":i=J(e,i),a=J(e,a),s=[];break;case"option":i=ie(e,i),a=ie(e,a),s=[];break;case"select":i=r({},i,{value:void 0}),a=r({},a,{value:void 0}),s=[];break;case"textarea":i=se(e,i),a=se(e,a),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof a.onClick&&(e.onclick=Da)}for(f in xe(n,a),n=null,i)if(!a.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var c=i[f];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in a){var u=a[f];if(c=null!=i?i[f]:void 0,a.hasOwnProperty(f)&&u!==c&&(null!=u||null!=c))if("style"===f)if(c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(s||(s=[]),s.push(f,n)),n=u;else"dangerouslySetInnerHTML"===f?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(f,u)):"children"===f?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(f,""+u):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=u&&"onScroll"===f&&Oa("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===I?u.toString():(s=s||[]).push(f,u))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Ko=function(e,t,n,a){n!==a&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){Qs||(Qs=!0,Ys=a),ss(0,t)},n}function us(e,t,n){(n=ci(-1,n)).tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var r=t.value;n.payload=function(){return ss(0,t),a(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof a&&(null===Ks?Ks=new Set([this]):Ks.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var fs="function"==typeof WeakSet?WeakSet:Set;function ps(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){jl(e,t)}else t.current=null}function ds(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,a=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zr(t.type,n),a),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Va(t.stateNode.containerInfo))}throw Error(o(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var a=e.create;e.destroy=a()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var r=e;a=r.next,0!=(4&(r=r.tag))&&0!=(1&r)&&(Al(n,e),zl(n,e)),e=a}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(a=n.elementType===n.type?t.memoizedProps:Zr(n.type,t.memoizedProps),e.componentDidUpdate(a,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ua(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&_t(n)))))}throw Error(o(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var a=n.stateNode;if(t)"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none";else{a=n.stateNode;var r=n.memoizedProps.style;r=null!=r&&r.hasOwnProperty("display")?r.display:null,a.style.display=ke("display",r)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function hs(e,t){if(xr&&"function"==typeof xr.onCommitFiberUnmount)try{xr.onCommitFiberUnmount(wr,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var a=n,r=a.destroy;if(a=a.tag,void 0!==r)if(0!=(4&a))Al(t,n);else{a=t;try{r()}catch(e){jl(a,e)}}n=n.next}while(n!==e)}break;case 1:if(ps(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){jl(t,e)}break;case 5:ps(t);break;case 4:ws(e,t)}}function bs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ys(e){return 5===e.tag||3===e.tag||4===e.tag}function vs(e){e:{for(var t=e.return;null!==t;){if(ys(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var a=!1;break;case 3:case 4:t=t.containerInfo,a=!0;break;default:throw Error(o(161))}16&n.flags&&(be(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ys(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}a?ks(e,n,t):_s(e,n,t)}function ks(e,t,n){var a=e.tag,r=5===a||6===a;if(r)e=r?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Da));else if(4!==a&&null!==(e=e.child))for(ks(e,t,n),e=e.sibling;null!==e;)ks(e,t,n),e=e.sibling}function _s(e,t,n){var a=e.tag,r=5===a||6===a;if(r)e=r?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==a&&null!==(e=e.child))for(_s(e,t,n),e=e.sibling;null!==e;)_s(e,t,n),e=e.sibling}function ws(e,t){for(var n,a,r=t,i=!1;;){if(!i){i=r.return;e:for(;;){if(null===i)throw Error(o(160));switch(n=i.stateNode,i.tag){case 5:a=!1;break e;case 3:case 4:n=n.containerInfo,a=!0;break e}i=i.return}i=!0}if(5===r.tag||6===r.tag){e:for(var s=e,l=r,c=l;;)if(hs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}a?(s=n,l=r.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(r.stateNode)}else if(4===r.tag){if(null!==r.child){n=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(hs(e,r),null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;4===(r=r.return).tag&&(i=!1)}r.sibling.return=r.return,r=r.sibling}}function xs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{3==(3&a.tag)&&(e=a.destroy,a.destroy=void 0,void 0!==e&&e()),a=a.next}while(a!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){a=t.memoizedProps;var r=null!==e?e.memoizedProps:a;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Ga]=a,"input"===e&&"radio"===a.type&&null!=a.name&&te(n,a),Ee(e,r),t=Ee(e,a),r=0;r<i.length;r+=2){var s=i[r],l=i[r+1];"style"===s?_e(n,l):"dangerouslySetInnerHTML"===s?he(n,l):"children"===s?be(n,l):k(n,s,l,t)}switch(e){case"input":ne(n,a);break;case"textarea":ce(n,a);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!a.multiple,null!=(i=a.value)?oe(n,!!a.multiple,i,!1):e!==!!a.multiple&&(null!=a.defaultValue?oe(n,!!a.multiple,a.defaultValue,!0):oe(n,!!a.multiple,a.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,_t(n.containerInfo)));case 13:return null!==t.memoizedState&&(Us=Ur(),gs(t.child,!0)),void Es(t);case 19:return void Es(t);case 23:case 24:return void gs(t,null!==t.memoizedState)}throw Error(o(163))}function Es(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new fs),t.forEach((function(t){var a=Dl.bind(null,e,t);n.has(t)||(n.add(t),t.then(a,a))}))}}function Ss(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Ps=Math.ceil,Cs=_.ReactCurrentDispatcher,Ns=_.ReactCurrentOwner,Os=0,Ts=null,Ms=null,Ls=0,zs=0,As=lr(0),Is=0,qs=null,js=0,Fs=0,Ds=0,Rs=0,Bs=null,Us=0,Ws=1/0;function Hs(){Ws=Ur()+500}var $s,Vs=null,Qs=!1,Ys=null,Ks=null,Zs=!1,Xs=null,Gs=90,Js=[],el=[],tl=null,nl=0,al=null,rl=-1,il=0,ol=0,sl=null,ll=!1;function cl(){return 0!=(48&Os)?Ur():-1!==rl?rl:rl=Ur()}function ul(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wr()?1:2;if(0===il&&(il=js),0!==Kr.transition){0!==ol&&(ol=null!==Bs?Bs.pendingLanes:0),e=il;var t=4186112&~ol;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Wr(),e=Dt(0!=(4&Os)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),il)}function fl(e,t,n){if(50<nl)throw nl=0,al=null,Error(o(185));if(null===(e=pl(e,t)))return null;Ut(e,t,n),e===Ts&&(Ds|=t,4===Is&&gl(e,Ls));var a=Wr();1===t?0!=(8&Os)&&0==(48&Os)?hl(e):(dl(e,n),0===Os&&(Hs(),Qr())):(0==(4&Os)||98!==a&&99!==a||(null===tl?tl=new Set([e]):tl.add(e)),dl(e,n)),Bs=e}function pl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function dl(e,t){for(var n=e.callbackNode,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Wt(s),c=1<<l,u=i[l];if(-1===u){if(0==(c&a)||0!=(c&r)){u=t,qt(c);var f=It;i[l]=10<=f?u+250:6<=f?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(a=jt(e,e===Ts?Ls:0),t=It,0===a)null!==n&&(n!==qr&&Pr(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==qr&&Pr(n)}15===t?(n=hl.bind(null,e),null===Fr?(Fr=[n],Dr=Sr(Mr,Yr)):Fr.push(n),n=qr):14===t?n=Vr(99,hl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,e))}}(t),n=Vr(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(rl=-1,ol=il=0,0!=(48&Os))throw Error(o(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=jt(e,e===Ts?Ls:0);if(0===n)return null;var a=n,r=Os;Os|=16;var i=xl();for(Ts===e&&Ls===a||(Hs(),_l(e,a));;)try{Pl();break}catch(t){wl(e,t)}if(ti(),Cs.current=i,Os=r,null!==Ms?a=0:(Ts=null,Ls=0,a=Is),0!=(js&Ds))_l(e,0);else if(0!==a){if(2===a&&(Os|=64,e.hydrate&&(e.hydrate=!1,Va(e.containerInfo)),0!==(n=Ft(e))&&(a=El(e,n))),1===a)throw t=qs,_l(e,0),gl(e,n),dl(e,Ur()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,a){case 0:case 1:throw Error(o(345));case 2:case 5:Ol(e);break;case 3:if(gl(e,n),(62914560&n)===n&&10<(a=Us+500-Ur())){if(0!==jt(e,0))break;if(((r=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Ha(Ol.bind(null,e),a);break}Ol(e);break;case 4:if(gl(e,n),(4186112&n)===n)break;for(a=e.eventTimes,r=-1;0<n;){var s=31-Wt(n);i=1<<s,(s=a[s])>r&&(r=s),n&=~i}if(n=r,10<(n=(120>(n=Ur()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ps(n/1960))-n)){e.timeoutHandle=Ha(Ol.bind(null,e),n);break}Ol(e);break;default:throw Error(o(329))}}return dl(e,Ur()),e.callbackNode===t?ml.bind(null,e):null}function gl(e,t){for(t&=~Rs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),a=1<<n;e[n]=-1,t&=~a}}function hl(e){if(0!=(48&Os))throw Error(o(327));if(Ll(),e===Ts&&0!=(e.expiredLanes&Ls)){var t=Ls,n=El(e,t);0!=(js&Ds)&&(n=El(e,t=jt(e,t)))}else n=El(e,t=jt(e,0));if(0!==e.tag&&2===n&&(Os|=64,e.hydrate&&(e.hydrate=!1,Va(e.containerInfo)),0!==(t=Ft(e))&&(n=El(e,t))),1===n)throw n=qs,_l(e,0),gl(e,t),dl(e,Ur()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ol(e),dl(e,Ur()),null}function bl(e,t){var n=Os;Os|=1;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}}function yl(e,t){var n=Os;Os&=-2,Os|=8;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}}function vl(e,t){ur(As,zs),zs|=t,js|=t}function kl(){zs=As.current,cr(As)}function _l(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$a(n)),null!==Ms)for(n=Ms.return;null!==n;){var a=n;switch(a.tag){case 1:null!=(a=a.type.childContextTypes)&&br();break;case 3:zi(),cr(dr),cr(pr),Yi();break;case 5:Ii(a);break;case 4:zi();break;case 13:case 19:cr(qi);break;case 10:ni(a);break;case 23:case 24:kl()}n=n.return}Ts=e,Ms=Wl(e.current,null),Ls=zs=js=t,Is=0,qs=null,Rs=Ds=Fs=0}function wl(e,t){for(;;){var n=Ms;try{if(ti(),Ki.current=Mo,to){for(var a=Gi.memoizedState;null!==a;){var r=a.queue;null!==r&&(r.pending=null),a=a.next}to=!1}if(Xi=0,eo=Ji=Gi=null,no=!1,Ns.current=null,null===n||null===n.return){Is=1,qs=t,Ms=null;break}e:{var i=e,o=n.return,s=n,l=t;if(t=Ls,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!=(1&qi.current),p=o;do{var d;if(d=13===p.tag){var m=p.memoizedState;if(null!==m)d=null!==m.dehydrated;else{var g=p.memoizedProps;d=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(d){var h=p.updateQueue;if(null===h){var b=new Set;b.add(c),p.updateQueue=b}else h.add(c);if(0==(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ci(-1,1);y.tag=2,ui(s,y)}s.lanes|=1;break e}l=void 0,s=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new ls,l=new Set,v.set(c,l)):void 0===(l=v.get(c))&&(l=new Set,v.set(c,l)),!l.has(s)){l.add(s);var k=Fl.bind(null,i,c,s);c.then(k,k)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((Q(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Is&&(Is=2),l=os(l,s),p=o;do{switch(p.tag){case 3:i=l,p.flags|=4096,t&=-t,p.lanes|=t,fi(p,cs(0,i,t));break e;case 1:i=l;var _=p.type,w=p.stateNode;if(0==(64&p.flags)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Ks||!Ks.has(w)))){p.flags|=4096,t&=-t,p.lanes|=t,fi(p,us(p,i,t));break e}}p=p.return}while(null!==p)}Nl(n)}catch(e){t=e,Ms===n&&null!==n&&(Ms=n=n.return);continue}break}}function xl(){var e=Cs.current;return Cs.current=Mo,null===e?Mo:e}function El(e,t){var n=Os;Os|=16;var a=xl();for(Ts===e&&Ls===t||_l(e,t);;)try{Sl();break}catch(t){wl(e,t)}if(ti(),Os=n,Cs.current=a,null!==Ms)throw Error(o(261));return Ts=null,Ls=0,Is}function Sl(){for(;null!==Ms;)Cl(Ms)}function Pl(){for(;null!==Ms&&!Cr();)Cl(Ms)}function Cl(e){var t=$s(e.alternate,e,zs);e.memoizedProps=e.pendingProps,null===t?Nl(e):Ms=t,Ns.current=null}function Nl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=rs(n,t,zs)))return void(Ms=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&zs)||0==(4&n.mode)){for(var a=0,r=n.child;null!==r;)a|=r.lanes|r.childLanes,r=r.sibling;n.childLanes=a}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=is(t)))return n.flags&=2047,void(Ms=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ms=t);Ms=t=e}while(null!==t);0===Is&&(Is=5)}function Ol(e){var t=Wr();return $r(99,Tl.bind(null,e,t)),null}function Tl(e,t){do{Ll()}while(null!==Xs);if(0!=(48&Os))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var a=n.lanes|n.childLanes,r=a,i=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Wt(i),u=1<<c;r[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==tl&&0==(24&a)&&tl.has(e)&&tl.delete(e),e===Ts&&(Ms=Ts=null,Ls=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){if(r=Os,Os|=32,Ns.current=null,Ra=Yt,ha(s=ga())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var f=0,p=-1,d=-1,m=0,g=0,h=s,b=null;t:for(;;){for(var y;h!==l||0!==i&&3!==h.nodeType||(p=f+i),h!==c||0!==u&&3!==h.nodeType||(d=f+u),3===h.nodeType&&(f+=h.nodeValue.length),null!==(y=h.firstChild);)b=h,h=y;for(;;){if(h===s)break t;if(b===l&&++m===i&&(p=f),b===c&&++g===u&&(d=f),null!==(y=h.nextSibling))break;b=(h=b).parentNode}h=y}l=-1===p||-1===d?null:{start:p,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Ba={focusedElem:s,selectionRange:l},Yt=!1,sl=null,ll=!1,Vs=a;do{try{Ml()}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);sl=null,Vs=a;do{try{for(s=e;null!==Vs;){var v=Vs.flags;if(16&v&&be(Vs.stateNode,""),128&v){var k=Vs.alternate;if(null!==k){var _=k.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(1038&v){case 2:vs(Vs),Vs.flags&=-3;break;case 6:vs(Vs),Vs.flags&=-3,xs(Vs.alternate,Vs);break;case 1024:Vs.flags&=-1025;break;case 1028:Vs.flags&=-1025,xs(Vs.alternate,Vs);break;case 4:xs(Vs.alternate,Vs);break;case 8:ws(s,l=Vs);var w=l.alternate;bs(l),null!==w&&bs(w)}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);if(_=Ba,k=ga(),v=_.focusedElem,s=_.selectionRange,k!==v&&v&&v.ownerDocument&&ma(v.ownerDocument.documentElement,v)){null!==s&&ha(v)&&(k=s.start,void 0===(_=s.end)&&(_=k),"selectionStart"in v?(v.selectionStart=k,v.selectionEnd=Math.min(_,v.value.length)):(_=(k=v.ownerDocument||document)&&k.defaultView||window).getSelection&&(_=_.getSelection(),l=v.textContent.length,w=Math.min(s.start,l),s=void 0===s.end?w:Math.min(s.end,l),!_.extend&&w>s&&(l=s,s=w,w=l),l=da(v,w),i=da(v,s),l&&i&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==i.node||_.focusOffset!==i.offset)&&((k=k.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),w>s?(_.addRange(k),_.extend(i.node,i.offset)):(k.setEnd(i.node,i.offset),_.addRange(k))))),k=[];for(_=v;_=_.parentNode;)1===_.nodeType&&k.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<k.length;v++)(_=k[v]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Yt=!!Ra,Ba=Ra=null,e.current=n,Vs=a;do{try{for(v=e;null!==Vs;){var x=Vs.flags;if(36&x&&ms(v,Vs.alternate,Vs),128&x){k=void 0;var E=Vs.ref;if(null!==E){var S=Vs.stateNode;Vs.tag,k=S,"function"==typeof E?E(k):E.current=k}}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);Vs=null,jr(),Os=r}else e.current=n;if(Zs)Zs=!1,Xs=e,Gs=t;else for(Vs=a;null!==Vs;)t=Vs.nextEffect,Vs.nextEffect=null,8&Vs.flags&&((x=Vs).sibling=null,x.stateNode=null),Vs=t;if(0===(a=e.pendingLanes)&&(Ks=null),1===a?e===al?nl++:(nl=0,al=e):nl=0,n=n.stateNode,xr&&"function"==typeof xr.onCommitFiberRoot)try{xr.onCommitFiberRoot(wr,n,void 0,64==(64&n.current.flags))}catch(e){}if(dl(e,Ur()),Qs)throw Qs=!1,e=Ys,Ys=null,e;return 0!=(8&Os)||Qr(),null}function Ml(){for(;null!==Vs;){var e=Vs.alternate;ll||null===sl||(0!=(8&Vs.flags)?Je(Vs,sl)&&(ll=!0):13===Vs.tag&&Ss(e,Vs)&&Je(Vs,sl)&&(ll=!0));var t=Vs.flags;0!=(256&t)&&ds(e,Vs),0==(512&t)||Zs||(Zs=!0,Vr(97,(function(){return Ll(),null}))),Vs=Vs.nextEffect}}function Ll(){if(90!==Gs){var e=97<Gs?97:Gs;return Gs=90,$r(e,Il)}return!1}function zl(e,t){Js.push(t,e),Zs||(Zs=!0,Vr(97,(function(){return Ll(),null})))}function Al(e,t){el.push(t,e),Zs||(Zs=!0,Vr(97,(function(){return Ll(),null})))}function Il(){if(null===Xs)return!1;var e=Xs;if(Xs=null,0!=(48&Os))throw Error(o(331));var t=Os;Os|=32;var n=el;el=[];for(var a=0;a<n.length;a+=2){var r=n[a],i=n[a+1],s=r.destroy;if(r.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(o(330));jl(i,e)}}for(n=Js,Js=[],a=0;a<n.length;a+=2){r=n[a],i=n[a+1];try{var l=r.create;r.destroy=l()}catch(e){if(null===i)throw Error(o(330));jl(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Os=t,Qr(),!0}function ql(e,t,n){ui(e,t=cs(0,t=os(n,t),1)),t=cl(),null!==(e=pl(e,1))&&(Ut(e,1,t),dl(e,t))}function jl(e,t){if(3===e.tag)ql(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){ql(n,e,t);break}if(1===n.tag){var a=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===Ks||!Ks.has(a))){var r=us(n,e=os(t,e),1);if(ui(n,r),r=cl(),null!==(n=pl(n,1)))Ut(n,1,r),dl(n,r);else if("function"==typeof a.componentDidCatch&&(null===Ks||!Ks.has(a)))try{a.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fl(e,t,n){var a=e.pingCache;null!==a&&a.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Ls&n)===n&&(4===Is||3===Is&&(62914560&Ls)===Ls&&500>Ur()-Us?_l(e,0):Rs|=n),dl(e,t)}function Dl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Wr()?1:2:(0===il&&(il=js),0===(t=Rt(62914560&~il))&&(t=4194304))),n=cl(),null!==(e=pl(e,t))&&(Ut(e,t,n),dl(e,n))}function Rl(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Bl(e,t,n,a){return new Rl(e,t,n,a)}function Ul(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wl(e,t){var n=e.alternate;return null===n?((n=Bl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,a,r,i){var s=2;if(a=e,"function"==typeof e)Ul(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return $l(n.children,r,i,t);case q:s=8,r|=16;break;case S:s=8,r|=1;break;case P:return(e=Bl(12,n,t,8|r)).elementType=P,e.type=P,e.lanes=i,e;case T:return(e=Bl(13,n,t,r)).type=T,e.elementType=T,e.lanes=i,e;case M:return(e=Bl(19,n,t,r)).elementType=M,e.lanes=i,e;case j:return Vl(n,r,i,t);case F:return(e=Bl(24,n,t,r)).elementType=F,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case N:s=9;break e;case O:s=11;break e;case L:s=14;break e;case z:s=16,a=null;break e;case A:s=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Bl(s,n,t,r)).elementType=e,t.type=a,t.lanes=i,t}function $l(e,t,n,a){return(e=Bl(7,e,a,t)).lanes=n,e}function Vl(e,t,n,a){return(e=Bl(23,e,a,t)).elementType=j,e.lanes=n,e}function Ql(e,t,n){return(e=Bl(6,e,null,t)).lanes=n,e}function Yl(e,t,n){return(t=Bl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Kl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.mutableSourceEagerHydrationData=null}function Zl(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function Xl(e,t,n,a){var r=t.current,i=cl(),s=ul(r);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(hr(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var c=n.type;if(hr(c)){n=vr(n,c,l);break e}}n=l}else n=fr;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,s)).payload={element:e},null!==(a=void 0===a?null:a)&&(t.callback=a),ui(r,t),fl(r,s,i),s}function Gl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tc(e,t,n){var a=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Kl(e,t,null!=n&&!0===n.hydrate),t=Bl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,si(t),e[Ja]=n.current,Ma(8===e.nodeType?e.parentNode:e),a)for(e=0;e<a.length;e++){var r=(t=a[e])._getVersion;r=r(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,r]:n.mutableSourceEagerHydrationData.push(t,r)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,a,r){var i=n._reactRootContainer;if(i){var o=i._internalRoot;if("function"==typeof r){var s=r;r=function(){var e=Gl(o);s.call(e)}}Xl(t,o,e,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,a),o=i._internalRoot,"function"==typeof r){var l=r;r=function(){var e=Gl(o);l.call(e)}}yl((function(){Xl(t,o,e,r)}))}return Gl(o)}function rc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(o(200));return Zl(e,t,null,n)}$s=function(e,t,n){var a=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||dr.current)qo=!0;else{if(0==(n&a)){switch(qo=!1,t.tag){case 3:Vo(t),Vi();break;case 5:Ai(t);break;case 1:hr(t.type)&&kr(t);break;case 4:Li(t,t.stateNode.containerInfo);break;case 10:a=t.memoizedProps.value;var r=t.type._context;ur(Xr,r._currentValue),r._currentValue=a;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Xo(e,t,n):(ur(qi,1&qi.current),null!==(t=ns(e,t,n))?t.sibling:null);ur(qi,1&qi.current);break;case 19:if(a=0!=(n&t.childLanes),0!=(64&e.flags)){if(a)return ts(e,t,n);t.flags|=64}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),ur(qi,qi.current),a)break;return null;case 23:case 24:return t.lanes=0,Bo(e,t,n)}return ns(e,t,n)}qo=0!=(16384&e.flags)}else qo=!1;switch(t.lanes=0,t.tag){case 2:if(a=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=gr(t,pr.current),ri(t,n),r=io(null,t,a,e,r,n),t.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hr(a)){var i=!0;kr(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,si(t);var s=a.getDerivedStateFromProps;"function"==typeof s&&gi(t,a,s,e),r.updater=hi,t.stateNode=r,r._reactInternals=t,ki(t,a,e,n),t=$o(null,t,a,!0,i,n)}else t.tag=0,jo(null,t,r,n),t=t.child;return t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Ul(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===L)return 14}return 2}(r),e=Zr(r,e),i){case 0:t=Wo(null,t,r,e,n);break e;case 1:t=Ho(null,t,r,e,n);break e;case 11:t=Fo(null,t,r,e,n);break e;case 14:t=Do(null,t,r,Zr(r.type,e),a,n);break e}throw Error(o(306,r,""))}return t;case 0:return a=t.type,r=t.pendingProps,Wo(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 1:return a=t.type,r=t.pendingProps,Ho(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 3:if(Vo(t),a=t.updateQueue,null===e||null===a)throw Error(o(282));if(a=t.pendingProps,r=null!==(r=t.memoizedState)?r.element:null,li(e,t),pi(t,a,null,n),(a=t.memoizedState.element)===r)Vi(),t=ns(e,t,n);else{if((i=(r=t.stateNode).hydrate)&&(Di=Qa(t.stateNode.containerInfo.firstChild),Fi=t,i=Ri=!0),i){if(null!=(e=r.mutableSourceEagerHydrationData))for(r=0;r<e.length;r+=2)(i=e[r])._workInProgressVersionPrimary=e[r+1],Qi.push(i);for(n=Pi(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else jo(e,t,a,n),Vi();t=t.child}return t;case 5:return Ai(t),null===e&&Wi(t),a=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,s=r.children,Wa(a,r)?s=null:null!==i&&Wa(a,i)&&(t.flags|=16),Uo(e,t),jo(e,t,s,n),t.child;case 6:return null===e&&Wi(t),null;case 13:return Xo(e,t,n);case 4:return Li(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=Si(t,null,a,n):jo(e,t,a,n),t.child;case 11:return a=t.type,r=t.pendingProps,Fo(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 7:return jo(e,t,t.pendingProps,n),t.child;case 8:case 12:return jo(e,t,t.pendingProps.children,n),t.child;case 10:e:{a=t.type._context,r=t.pendingProps,s=t.memoizedProps,i=r.value;var l=t.type._context;if(ur(Xr,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0==(i=ca(l,i)?0:0|("function"==typeof a._calculateChangedBits?a._calculateChangedBits(l,i):1073741823))){if(s.children===r.children&&!dr.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===a&&0!=(u.observedBits&i)){1===l.tag&&((u=ci(-1,n&-n)).tag=2,ui(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ai(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}jo(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,a=(i=t.pendingProps).children,ri(t,n),a=a(r=ii(r,i.unstable_observedBits)),t.flags|=1,jo(e,t,a,n),t.child;case 14:return i=Zr(r=t.type,t.pendingProps),Do(e,t,r,i=Zr(r.type,i),a,n);case 15:return Ro(e,t,t.type,t.pendingProps,a,n);case 17:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Zr(a,r),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,hr(a)?(e=!0,kr(t)):e=!1,ri(t,n),yi(t,a,r),ki(t,a,r,n),$o(null,t,a,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return Bo(e,t,n)}throw Error(o(156,t.tag))},tc.prototype.render=function(e){Xl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xl(null,e,null,(function(){t[Ja]=null}))},et=function(e){13===e.tag&&(fl(e,4,cl()),ec(e,4))},tt=function(e){13===e.tag&&(fl(e,67108864,cl()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=cl(),n=ul(e);fl(e,n,t),ec(e,n)}},at=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=rr(a);if(!r)throw Error(o(90));X(a),ne(a,r)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},Le=bl,ze=function(e,t,n,a,r){var i=Os;Os|=4;try{return $r(98,e.bind(null,t,n,a,r))}finally{0===(Os=i)&&(Hs(),Qr())}},Ae=function(){0==(49&Os)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,dl(e,Ur())}))}Qr()}(),Ll())},Ie=function(e,t){var n=Os;Os|=2;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}};var ic={Events:[nr,ar,rr,Te,Me,Ll,{current:!1}]},oc={findFiberByHostInstance:tr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{wr=lc.inject(sc),xr=lc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ic,t.createPortal=rc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Os;if(0!=(48&n))return e(t);Os|=1;try{if(e)return $r(99,e.bind(null,t))}finally{Os=n,Qr()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(o(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(o(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(o(40));return!!e._reactRootContainer&&(yl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ja]=null}))})),!0)},t.unstable_batchedUpdates=bl,t.unstable_createPortal=function(e,t){return rc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!nc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ac(e,t,n,!1,a)},t.version="17.0.2"},935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(448)},408:(e,t,n)=>{"use strict";var a=n(418),r=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;r=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),s=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),u=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function h(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=h.prototype;var v=y.prototype=new b;v.constructor=y,a(v,h.prototype),v.isPureReactComponent=!0;var k={current:null},_=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var a,i={},o=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)_.call(t,a)&&!w.hasOwnProperty(a)&&(i[a]=t[a]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===i[a]&&(i[a]=l[a]);return{$$typeof:r,type:e,key:o,ref:s,props:i,_owner:k.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var S=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function C(e,t,n,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case i:l=!0}}if(l)return o=o(l=e),e=""===a?"."+P(l,0):a,Array.isArray(o)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),C(o,t,n,"",(function(e){return e}))):null!=o&&(E(o)&&(o=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(S,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=a+P(s=e[c],c);l+=C(s,t,n,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=C(s=s.value,t,n,u=a+P(s,c++),o);else if("object"===s)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function N(e,t,n){if(null==e)return e;var a=[],r=0;return C(e,a,"","",(function(e){return t.call(n,e,r++)})),a}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function M(){var e=T.current;if(null===e)throw Error(d(321));return e}var L={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:a};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(d(143));return e}},t.Component=h,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(d(267,e));var i=a({},e.props),o=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)_.call(t,u)&&!w.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:r,type:e.type,key:o,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return M().useCallback(e,t)},t.useContext=function(e,t){return M().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return M().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return M().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return M().useLayoutEffect(e,t)},t.useMemo=function(e,t){return M().useMemo(e,t)},t.useReducer=function(e,t,n){return M().useReducer(e,t,n)},t.useRef=function(e){return M().useRef(e)},t.useState=function(e){return M().useState(e)},t.version="17.0.2"},294:(e,t,n)=>{"use strict";e.exports=n(408)},53:(e,t)=>{"use strict";var n,a,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},a=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,h=null,b=-1,y=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,_=k.port2;k.port1.onmessage=function(){if(null!==h){var e=t.unstable_now();v=e+y;try{h(!0,e)?_.postMessage(null):(g=!1,h=null)}catch(e){throw _.postMessage(null),e}}else g=!1},n=function(e){h=e,g||(g=!0,_.postMessage(null))},a=function(e,n){b=p((function(){e(t.unstable_now())}),n)},r=function(){d(b),b=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var a=n-1>>>1,r=e[a];if(!(void 0!==r&&0<S(r,t)))break e;e[a]=t,e[n]=r,n=a}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length;a<r;){var i=2*(a+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>S(o,n))void 0!==l&&0>S(l,o)?(e[a]=l,e[s]=n,a=s):(e[a]=o,e[i]=n,a=i);else{if(!(void 0!==l&&0>S(l,n)))break e;e[a]=l,e[s]=n,a=s}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],C=[],N=1,O=null,T=3,M=!1,L=!1,z=!1;function A(e){for(var t=x(C);null!==t;){if(null===t.callback)E(C);else{if(!(t.startTime<=e))break;E(C),t.sortIndex=t.expirationTime,w(P,t)}t=x(C)}}function I(e){if(z=!1,A(e),!L)if(null!==x(P))L=!0,n(q);else{var t=x(C);null!==t&&a(I,t.startTime-e)}}function q(e,n){L=!1,z&&(z=!1,r()),M=!0;var i=T;try{for(A(n),O=x(P);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=O.callback;if("function"==typeof o){O.callback=null,T=O.priorityLevel;var s=o(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?O.callback=s:O===x(P)&&E(P),A(n)}else E(P);O=x(P)}if(null!==O)var l=!0;else{var c=x(C);null!==c&&a(I,c.startTime-n),l=!1}return l}finally{O=null,T=i,M=!1}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||M||(L=!0,n(q))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:N++,callback:i,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>s?(e.sortIndex=o,w(C,e),null===x(P)&&e===x(C)&&(z?r():z=!0,a(I,o-s))):(e.sortIndex=l,w(P,e),L||M||(L=!0,n(q))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},840:(e,t,n)=>{"use strict";e.exports=n(53)},379:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=i[c]||0,f="".concat(c," ").concat(u);i[c]=u+1;var p=n(f),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var m=r(d,a);a.byIndex=s,t.splice(s,0,{identifier:f,updater:m,references:1})}o.push(f)}return o}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var l=a(e,r),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");a.length&&(e=a[a.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var a={};return(()=>{"use strict";n.r(a),n.d(a,{FSConfig:()=>Xr,pricing:()=>Gr}),n(867);var e=n(294),t=n(935),r=n(379),i=n.n(r),o=n(795),s=n.n(o),l=n(569),c=n.n(l),u=n(565),f=n.n(u),p=n(216),d=n.n(p),m=n(589),g=n.n(m),h=n(477),b={};b.styleTagTransform=g(),b.setAttributes=f(),b.insert=c().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=d(),i()(h.Z,b),h.Z&&h.Z.locals&&h.Z.locals;const y=n.p+"b4f3b958f4a019862d81b15f3f8eee3a.svg",v=n.p+"e366d70661d8ad2493bd6afbd779f125.png",k=n.p+"5480ed23b199531a8cbc05924f26952b.png",_=n.p+"dd89563360f0272635c8f0ab7d7f1402.png",w=n.p+"4375c4a3ddc6f637c2ab9a2d7220f91e.png",x=n.p+"fde48e4609a6ddc11d639fc2421f2afd.png",E=function(e,t){return-1!==t.indexOf(e)},S=function(e){return null!=e&&!isNaN(parseFloat(e))&&""!==e},P=function(e){return("string"==typeof e||e instanceof String)&&e.trim().length>0},C=function(e){return null==e},N=function(e,t){return e.toLocaleString(t||void 0,{maximumFractionDigits:2})},O=function(e){return""!=e?e.charAt(0).toUpperCase()+e.slice(1):e},T=function(e){return e?e.toString().length>=2?e:e+"0":"00"};var M=Object.defineProperty,L=(e,t,n)=>(((e,t,n)=>{t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class z{constructor(e=null){if(L(this,"is_block_features",!0),L(this,"is_block_features_monthly",!0),L(this,"is_require_subscription",!0),L(this,"is_success_manager",!1),L(this,"support_email",""),L(this,"support_forum",""),L(this,"support_phone",""),L(this,"support_skype",""),L(this,"trial_period",0),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}hasAnySupport(){return this.hasEmailSupport()||this.hasForumSupport()||this.hasPhoneSupport()||this.hasSkypeSupport()||this.hasSuccessManagerSupport()}hasEmailSupport(){return P(this.support_email)}hasForumSupport(){return P(this.support_forum)}hasKnowledgeBaseSupport(){return P(this.support_kb)}hasPhoneSupport(){return P(this.support_phone)}hasSkypeSupport(){return P(this.support_skype)}hasSuccessManagerSupport(){return 1==this.is_success_manager}hasTrial(){return S(this.trial_period)&&this.trial_period>0}isBlockingMonthly(){return 1==this.is_block_features_monthly}isBlockingAnnually(){return 1==this.is_block_features}requiresSubscription(){return this.is_require_subscription}}var A=Object.defineProperty,I=(e,t,n)=>(((e,t,n)=>{t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const q=Object.freeze({USD:"$",GBP:"£",EUR:"€"}),j=12,F="monthly",D="annual",R="lifetime",B=99999;class U{constructor(e=null){if(I(this,"plan_id",null),I(this,"licenses",1),I(this,"monthly_price",null),I(this,"annual_price",null),I(this,"lifetime_price",null),I(this,"currency","usd"),I(this,"is_hidden",!1),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}static getBillingCyclePeriod(e){if(!S(e))return P(e)&&E(e,[F,D,R])||(e=D),e;switch(e=parseInt(e)){case 1:return F;case 0:return R;default:return D}}static getBillingCycleInMonths(e){if(S(e))return e=parseInt(e),E(e,[1,j,0])||(e=j),e;if(!P(e))return j;switch(e){case F:return 1;case R:return 0;default:return j}}getAmount(e,t,n){let a=0;switch(e){case 1:a=this.monthly_price;break;case j:a=this.annual_price;break;case 0:a=this.lifetime_price}return a=parseFloat(a),t&&(a=N(a,n)),a}getMonthlyAmount(e,t,n){let a=0;switch(e){case 1:a=this.hasMonthlyPrice()?this.monthly_price:this.annual_price/12;break;case j:a=this.hasAnnualPrice()?this.annual_price/12:this.monthly_price}return a=parseFloat(a),t&&(a=N(a,n)),a}getLicenses(){return this.isUnlimited()?B:this.licenses}hasAnnualPrice(){return S(this.annual_price)&&this.annual_price>0}hasLifetimePrice(){return S(this.lifetime_price)&&this.lifetime_price>0}hasMonthlyPrice(){return S(this.monthly_price)&&this.monthly_price>0}isFree(){return!this.hasMonthlyPrice()&&!this.hasAnnualPrice()&&!this.hasLifetimePrice()}isSingleSite(){return 1==this.licenses}isUnlimited(){return null==this.licenses}sitesLabel(){let e="";return e=this.isSingleSite()?"Single":this.isUnlimited()?"Unlimited":this.licenses,e+" Site"+(this.isSingleSite()?"":"s")}supportsBillingCycle(e){return null!==this[`${e}_price`]}}var W=Object.defineProperty,H=(e,t,n)=>(((e,t,n)=>{t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const $=Object.freeze({DOLLAR:"dollar",PERCENTAGE:"percentage"}),V=Object.freeze({FLEXIBLE:"flexible",MODERATE:"moderate",STRICT:"strict"});class Q{constructor(e=null){if(H(this,"is_wp_org_compliant",!0),H(this,"money_back_period",0),H(this,"parent_plugin_id",null),H(this,"refund_policy",null),H(this,"renewals_discount_type",null),H(this,"type","plugin"),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}getFormattedRenewalsDiscount(e,t){let n=this.getRenewalsDiscount(e);return this.renewals_discount_type===$.DOLLAR?t+N(n):`${n}%`}getRenewalsDiscount(e){return this.hasRenewalsDiscount(e)?this[U.getBillingCyclePeriod(e)+"_renewals_discount"]:0}hasMoneyBackPeriod(){return S(this.money_back_period)&&this.money_back_period>0}hasRefundPolicy(){return this.hasMoneyBackPeriod()&&null!==this.refund_policy}hasRenewalsDiscount(e){let t=U.getBillingCyclePeriod(e)+"_renewals_discount";return null!==this[t]&&S(this[t])&&this[t]>0}hasWordPressOrgVersion(){return null!==this.is_wp_org_compliant}isAddOn(){return S(this.parent_plugin_id)&&this.parent_plugin_id>0}moduleLabel(){return this.isAddOn()?"add-on":this.type}}let Y=null,K=[],Z=[];const X=function(e){return function(e){return null!==Y||(K=e,Z=function(e){let t=[];for(let n of e)n.pricing&&(t=t.concat(n.pricing));if(t.length>0){for(let e=0;e<t.length;e++)t[e]=new U(t[e]);t.sort((function(e,t){return e.licenses==t.licenses?0:t.isUnlimited()||!e.isUnlimited()&&e.licenses<t.licenses?-1:e.isUnlimited()||!t.isUnlimited()&&e.licenses>t.licenses?1:void 0}))}return t}(e),Y={calculateMultiSiteDiscount:function(e,t,n){if(e.isUnlimited()||1==e.licenses)return 0;let a=U.getBillingCycleInMonths(t),r=a,i=0,o=e[t+"_price"];e.hasMonthlyPrice()&&j===a?(o=e.getMonthlyAmount(a),i=this.tryCalcSingleSitePrice(e,j)/12,r=1):i=this.tryCalcSingleSitePrice(e,a);const s=i*e.licenses;return Math.floor((s-o)/("relative"===n?s:this.tryCalcSingleSitePrice(e,r)*e.licenses)*100)},getPlanByID:function(e){for(let t of K)if(t.id==e)return t;return null},comparePlanByIDs:function(e,t){const n=K.findIndex((t=>t.id==e)),a=K.findIndex((e=>e.id==t));return n<0||a<0?0:n-a},tryCalcSingleSitePrice:function(e,t,n,a){return this.tryCalcSingleSitePrices(e,t,n,a)},tryCalcSingleSitePrices:function(e,t,n,a){return 0!==t?this.tryCalcSingleSiteSubscriptionPrice(e,t,n,a):this.tryCalcSingleSiteLifetimePrice(e,n,a)},tryCalcSingleSiteSubscriptionPrice(e,t,n,a){let r=1===t,i=0;for(let o of Z)if(e.plan_id===o.plan_id&&e.currency===o.currency&&(o.hasMonthlyPrice()||o.hasAnnualPrice())){i=r?o.getMonthlyAmount(t):o.hasAnnualPrice()?parseFloat(o.annual_price):12*o.monthly_price,!e.isUnlimited()&&!o.isUnlimited()&&o.licenses>1&&(i/=o.licenses),n&&(i=N(i,a));break}return i},tryCalcSingleSiteLifetimePrice(e,t,n){let a=0;for(let r of Z)if(e.plan_id===r.plan_id&&e.currency===r.currency){a=r.getAmount(0),!r.isUnlimited()&&r.licenses>1&&(a/=r.licenses),t&&(a=N(a,n));break}return a},annualDiscountPercentage(e){return Math.round(this.annualSavings(e)/(12*e.getMonthlyAmount(1)*(e.isUnlimited()?1:e.licenses))*100)},annualSavings(e){let t=0;if(e.isUnlimited())t=12*e.getMonthlyAmount(1)-this.annual_price;else{let n=this.tryCalcSingleSitePrice(e,1,!1);n>0&&(t=(12*n-this.tryCalcSingleSitePrice(e,j,!1))*e.licenses)}return Math.max(t,0)},largestAnnualDiscount(e){let t=0;for(let n of e)n.isSingleSite()&&(t=Math.max(t,this.annualDiscountPercentage(n)));return Math.round(t)},getSingleSitePricing(e,t){let n=e.length;if(!e||0===n)return!1;for(let a=0;a<n;a++){let n=e[a];if(t===n.currency&&n.isSingleSite())return n}return null},isFreePlan(e){if(C(e))return!0;if(0===e.length)return!0;for(let t=0;t<e.length;t++)if(!e[t].isFree())return!1;return!0},isHiddenOrFreePlan(e){return e.is_hidden||this.isFreePlan(e.pricing)},isPaidPlan(e){return!this.isFreePlan(e)}}),Y}(e)},G=e.createContext({});class J extends e.Component{constructor(e){super(e)}render(){return e.createElement("section",{className:`fs-section fs-section--${this.props["fs-section"]}`+(this.props.className?" "+this.props.className:"")},this.props.children)}}const ee=J;var te,ne=Object.defineProperty;class ae extends e.Component{constructor(e){super(e)}annualDiscountLabel(){return this.context.annualDiscount>0?`(up to ${this.context.annualDiscount}% off)`:""}render(){return e.createElement("ul",{className:"fs-billing-cycles"},this.context.billingCycles.map((t=>{let n=D===t?"Annual":O(t);return e.createElement("li",{className:`fs-period--${t}`+(this.context.selectedBillingCycle===t?" fs-selected-billing-cycle":""),key:t,"data-billing-cycle":t,onClick:this.props.handler},n," ",D===t&&e.createElement("span",null,this.annualDiscountLabel()))})))}}((e,t,n)=>{t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(ae,"symbol"!=typeof(te="contextType")?te+"":te,G);const re=ae;var ie=Object.defineProperty;class oe extends e.Component{constructor(e){super(e)}render(){return e.createElement("select",{className:"fs-currencies",onChange:this.props.handler,value:this.context.selectedCurrency},this.context.currencies.map((t=>e.createElement("option",{key:t,value:t},this.context.currencySymbols[t]," -"," ",t.toUpperCase()))))}}((e,t,n)=>{((e,t,n)=>{t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(oe,"contextType",G);const se=oe;function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(e)}function fe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return i}}(e,t)||ge(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e){return function(e){if(Array.isArray(e))return he(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ge(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){if(e){if("string"==typeof e)return he(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)?he(e,t):void 0}}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var be=function(){},ye={},ve={},ke=null,_e={mark:be,measure:be};try{"undefined"!=typeof window&&(ye=window),"undefined"!=typeof document&&(ve=document),"undefined"!=typeof MutationObserver&&(ke=MutationObserver),"undefined"!=typeof performance&&(_e=performance)}catch(e){}var we=(ye.navigator||{}).userAgent,xe=void 0===we?"":we,Ee=ye,Se=ve,Pe=ke,Ce=_e,Ne=(Ee.document,!!Se.documentElement&&!!Se.head&&"function"==typeof Se.addEventListener&&"function"==typeof Se.createElement),Oe=~xe.indexOf("MSIE")||~xe.indexOf("Trident/"),Te="svg-inline--fa",Me="data-fa-i2svg",Le="data-fa-pseudo-element",ze="data-prefix",Ae="data-icon",Ie="fontawesome-i2svg",qe=["HTML","HEAD","STYLE","SCRIPT"],je=function(){try{return!0}catch(e){return!1}}(),Fe={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},De={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Re={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Be={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ue=/fa[srltdbk\-\ ]/,We="fa-layers-text",He=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,$e={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ve=[1,2,3,4,5,6,7,8,9,10],Qe=Ve.concat([11,12,13,14,15,16,17,18,19,20]),Ye=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ke="duotone-group",Ze="primary",Xe="secondary",Ge=[].concat(me(Object.keys(De)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ke,"swap-opacity",Ze,Xe]).concat(Ve.map((function(e){return"".concat(e,"x")}))).concat(Qe.map((function(e){return"w-".concat(e)}))),Je=Ee.FontAwesomeConfig||{};Se&&"function"==typeof Se.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=de(e,2),n=t[0],a=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Se.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=r&&(Je[a]=r)}));var et=ce(ce({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Te,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Je);et.autoReplaceSvg||(et.observeMutations=!1);var tt={};Object.keys(et).forEach((function(e){Object.defineProperty(tt,e,{enumerable:!0,set:function(t){et[e]=t,nt.forEach((function(e){return e(tt)}))},get:function(){return et[e]}})})),Ee.FontAwesomeConfig=tt;var nt=[],at=16,rt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function it(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ot(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function st(e){return e.classList?ot(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function lt(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ct(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ut(e){return e.size!==rt.size||e.x!==rt.x||e.y!==rt.y||e.rotate!==rt.rotate||e.flipX||e.flipY}function ft(){var e="fa",t=Te,n=tt.familyPrefix,a=tt.replacementClass,r=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||a!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");r=r.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(a))}return r}var pt=!1;function dt(){tt.autoAddCss&&!pt&&(function(e){if(e&&Ne){var t=Se.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Se.head.childNodes,a=null,r=n.length-1;r>-1;r--){var i=n[r],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(a=i)}Se.head.insertBefore(t,a)}}(ft()),pt=!0)}var mt={mixout:function(){return{dom:{css:ft,insertCss:dt}}},hooks:function(){return{beforeDOMElementCreation:function(){dt()},beforeI2svg:function(){dt()}}}},gt=Ee||{};gt.___FONT_AWESOME___||(gt.___FONT_AWESOME___={}),gt.___FONT_AWESOME___.styles||(gt.___FONT_AWESOME___.styles={}),gt.___FONT_AWESOME___.hooks||(gt.___FONT_AWESOME___.hooks={}),gt.___FONT_AWESOME___.shims||(gt.___FONT_AWESOME___.shims=[]);var ht=gt.___FONT_AWESOME___,bt=[],yt=!1;function vt(e){Ne&&(yt?setTimeout(e,0):bt.push(e))}function kt(e){var t=e.tag,n=e.attributes,a=void 0===n?{}:n,r=e.children,i=void 0===r?[]:r;return"string"==typeof e?lt(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(lt(e[n]),'" ')}),"").trim()}(a),">").concat(i.map(kt).join(""),"</").concat(t,">")}function _t(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Ne&&((yt=(Se.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Se.readyState))||Se.addEventListener("DOMContentLoaded",(function e(){Se.removeEventListener("DOMContentLoaded",e),yt=1,bt.map((function(e){return e()}))})));var wt=function(e,t,n,a){var r,i,o,s=Object.keys(e),l=s.length,c=void 0!==a?function(e,t){return function(n,a,r,i){return e.call(t,n,a,r,i)}}(t,a):t;for(void 0===n?(r=1,o=e[s[0]]):(r=0,o=n);r<l;r++)o=c(o,e[i=s[r]],i,e);return o};function xt(e){var t=function(e){for(var t=[],n=0,a=e.length;n<a;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<a){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t}(e);return 1===t.length?t[0].toString(16):null}function Et(e){return Object.keys(e).reduce((function(t,n){var a=e[n];return a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{})}function St(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.skipHooks,r=void 0!==a&&a,i=Et(t);"function"!=typeof ht.hooks.addPack||r?ht.styles[e]=ce(ce({},ht.styles[e]||{}),i):ht.hooks.addPack(e,Et(t)),"fas"===e&&St("fa",t)}var Pt=ht.styles,Ct=ht.shims,Nt=Object.values(Re),Ot=null,Tt={},Mt={},Lt={},zt={},At={},It=Object.keys(Fe);function qt(e,t){var n,a=t.split("-"),r=a[0],i=a.slice(1).join("-");return r!==e||""===i||(n=i,~Ge.indexOf(n))?null:i}var jt,Ft=function(){var e=function(e){return wt(Pt,(function(t,n,a){return t[a]=wt(n,e,{}),t}),{})};Tt=e((function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n})),e})),Mt=e((function(e,t,n){return e[n]=n,t[2]&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n})),e})),At=e((function(e,t,n){var a=t[2];return e[n]=n,a.forEach((function(t){e[t]=n})),e}));var t="far"in Pt||tt.autoFetchSvg,n=wt(Ct,(function(e,n){var a=n[0],r=n[1],i=n[2];return"far"!==r||t||(r="fas"),"string"==typeof a&&(e.names[a]={prefix:r,iconName:i}),"number"==typeof a&&(e.unicodes[a.toString(16)]={prefix:r,iconName:i}),e}),{names:{},unicodes:{}});Lt=n.names,zt=n.unicodes,Ot=Wt(tt.styleDefault)};function Dt(e,t){return(Tt[e]||{})[t]}function Rt(e,t){return(At[e]||{})[t]}function Bt(e){return Lt[e]||{prefix:null,iconName:null}}function Ut(){return Ot}function Wt(e){var t=De[e]||De[Fe[e]],n=e in ht.styles?e:null;return t||n||null}function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,a=void 0!==n&&n,r=null,i=e.reduce((function(e,t){var n=qt(tt.familyPrefix,t);if(Pt[t]?(t=Nt.includes(t)?Be[t]:t,r=t,e.prefix=t):It.indexOf(t)>-1?(r=t,e.prefix=Wt(t)):n?e.iconName=n:t!==tt.replacementClass&&e.rest.push(t),!a&&e.prefix&&e.iconName){var i="fa"===r?Bt(e.iconName):{},o=Rt(e.prefix,e.iconName);i.prefix&&(r=null),e.iconName=i.iconName||o||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Pt.far||!Pt.fas||tt.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Ut()||"fas"),i}jt=function(e){Ot=Wt(e.styleDefault)},nt.push(jt),Ft();var $t=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){e.definitions[t]=ce(ce({},e.definitions[t]||{}),r[t]),St(t,r[t]);var n=Re[t];n&&St(n,r[t]),Ft()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var a=n[t],r=a.prefix,i=a.iconName,o=a.icon,s=o[2];e[r]||(e[r]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}}],n&&fe(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Vt=[],Qt={},Yt={},Kt=Object.keys(Yt);function Zt(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];var i=Qt[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(a))})),t}function Xt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=Qt[e]||[];r.forEach((function(e){e.apply(null,n)}))}function Gt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yt[e]?Yt[e].apply(null,t):void 0}function Jt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Ut();if(t)return t=Rt(n,t)||t,_t(en.definitions,n,t)||_t(ht.styles,n,t)}var en=new $t,tn={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ne?(Xt("beforeI2svg",e),Gt("pseudoElements2svg",e),Gt("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===tt.autoReplaceSvg&&(tt.autoReplaceSvg=!0),tt.observeMutations=!0,vt((function(){an({autoReplaceSvgRoot:t}),Xt("watch",e)}))}},nn={noAuto:function(){tt.autoReplaceSvg=!1,tt.observeMutations=!1,Xt("noAuto")},config:tt,dom:tn,parse:{icon:function(e){if(null===e)return null;if("object"===ue(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Rt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Wt(e[0]);return{prefix:n,iconName:Rt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(tt.familyPrefix,"-"))>-1||e.match(Ue))){var a=Ht(e.split(" "),{skipLookups:!0});return{prefix:a.prefix||Ut(),iconName:Rt(a.prefix,a.iconName)||a.iconName}}if("string"==typeof e){var r=Ut();return{prefix:r,iconName:Rt(r,e)||e}}}},library:en,findIconDefinition:Jt,toHtml:kt},an=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Se:t;(Object.keys(ht.styles).length>0||tt.autoFetchSvg)&&Ne&&tt.autoReplaceSvg&&nn.dom.i2svg({node:n})};function rn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return kt(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Ne){var t=Se.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function on(e){var t=e.icons,n=t.main,a=t.mask,r=e.prefix,i=e.iconName,o=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,f=e.extra,p=e.watchable,d=void 0!==p&&p,m=a.found?a:n,g=m.width,h=m.height,b="fak"===r,y=[tt.replacementClass,i?"".concat(tt.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:ce(ce({},f.attributes),{},{"data-prefix":r,"data-icon":i,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},k=b&&!~f.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};d&&(v.attributes[Me]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||it())},children:[l]}),delete v.attributes.title);var _=ce(ce({},v),{},{prefix:r,iconName:i,main:n,mask:a,maskId:c,transform:o,symbol:s,styles:ce(ce({},k),f.styles)}),w=a.found&&n.found?Gt("generateAbstractMask",_)||{children:[],attributes:{}}:Gt("generateAbstractIcon",_)||{children:[],attributes:{}},x=w.children,E=w.attributes;return _.children=x,_.attributes=E,s?function(e){var t=e.prefix,n=e.iconName,a=e.children,r=e.attributes,i=e.symbol,o=!0===i?"".concat(t,"-").concat(tt.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ce(ce({},r),{},{id:o}),children:a}]}]}(_):function(e){var t=e.children,n=e.main,a=e.mask,r=e.attributes,i=e.styles,o=e.transform;if(ut(o)&&n.found&&!a.found){var s={x:n.width/n.height/2,y:.5};r.style=ct(ce(ce({},i),{},{"transform-origin":"".concat(s.x+o.x/16,"em ").concat(s.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(_)}function sn(e){var t=e.content,n=e.width,a=e.height,r=e.transform,i=e.title,o=e.extra,s=e.watchable,l=void 0!==s&&s,c=ce(ce(ce({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});l&&(c[Me]="");var u=ce({},o.styles);ut(r)&&(u.transform=function(e){var t=e.transform,n=e.width,a=void 0===n?16:n,r=e.height,i=void 0===r?16:r,o=e.startCentered,s=void 0!==o&&o,l="";return l+=s&&Oe?"translate(".concat(t.x/at-a/2,"em, ").concat(t.y/at-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/at,"em), calc(-50% + ").concat(t.y/at,"em)) "):"translate(".concat(t.x/at,"em, ").concat(t.y/at,"em) "),(l+="scale(".concat(t.size/at*(t.flipX?-1:1),", ").concat(t.size/at*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:a}),u["-webkit-transform"]=u.transform);var f=ct(u);f.length>0&&(c.style=f);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),i&&p.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),p}function ln(e){var t=e.content,n=e.title,a=e.extra,r=ce(ce(ce({},a.attributes),n?{title:n}:{}),{},{class:a.classes.join(" ")}),i=ct(a.styles);i.length>0&&(r.style=i);var o=[];return o.push({tag:"span",attributes:r,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var cn=ht.styles;function un(e){var t=e[0],n=e[1],a=de(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Ke)},children:[{tag:"path",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Xe),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Ze),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}var fn={found:!1,width:512,height:512};function pn(e,t){var n=t;return"fa"===t&&null!==tt.styleDefault&&(t=Ut()),new Promise((function(a,r){if(Gt("missingIconAbstract"),"fa"===n){var i=Bt(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&cn[t]&&cn[t][e])return a(un(cn[t][e]));!function(e,t){je||tt.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),a(ce(ce({},fn),{},{icon:tt.showMissingIcons&&e&&Gt("missingIconAbstract")||{}}))}))}var dn=function(){},mn=tt.measurePerformance&&Ce&&Ce.mark&&Ce.measure?Ce:{mark:dn,measure:dn},gn='FA "6.0.0"',hn=function(e){return mn.mark("".concat(gn," ").concat(e," begins")),function(){return function(e){mn.mark("".concat(gn," ").concat(e," ends")),mn.measure("".concat(gn," ").concat(e),"".concat(gn," ").concat(e," begins"),"".concat(gn," ").concat(e," ends"))}(e)}},bn=function(){};function yn(e){return"string"==typeof(e.getAttribute?e.getAttribute(Me):null)}function vn(e){return Se.createElementNS("http://www.w3.org/2000/svg",e)}function kn(e){return Se.createElement(e)}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,a=void 0===n?"svg"===e.tag?vn:kn:n;if("string"==typeof e)return Se.createTextNode(e);var r=a(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){r.appendChild(_n(e,{ceFn:a}))})),r}var wn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(_n(e),t)})),null===t.getAttribute(Me)&&tt.keepOriginalSource){var n=Se.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~st(t).indexOf(tt.replacementClass))return wn.replace(e);var a=new RegExp("".concat(tt.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce((function(e,t){return t===tt.replacementClass||t.match(a)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var i=n.map((function(e){return kt(e)})).join("\n");t.setAttribute(Me,""),t.innerHTML=i}};function xn(e){e()}function En(e,t){var n="function"==typeof t?t:bn;if(0===e.length)n();else{var a=xn;"async"===tt.mutateApproach&&(a=Ee.requestAnimationFrame||xn),a((function(){var t=!0===tt.autoReplaceSvg?wn.replace:wn[tt.autoReplaceSvg]||wn.replace,a=hn("mutate");e.map(t),a(),n()}))}}var Sn=!1;function Pn(){Sn=!0}function Cn(){Sn=!1}var Nn=null;function On(e){if(Pe&&tt.observeMutations){var t=e.treeCallback,n=void 0===t?bn:t,a=e.nodeCallback,r=void 0===a?bn:a,i=e.pseudoElementsCallback,o=void 0===i?bn:i,s=e.observeMutationsRoot,l=void 0===s?Se:s;Nn=new Pe((function(e){if(!Sn){var t=Ut();ot(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!yn(e.addedNodes[0])&&(tt.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&tt.searchPseudoElements&&o(e.target.parentNode),"attributes"===e.type&&yn(e.target)&&~Ye.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(ze):null,n=e.getAttribute?e.getAttribute(Ae):null;return t&&n}(e.target)){var a=Ht(st(e.target)),i=a.prefix,s=a.iconName;e.target.setAttribute(ze,i||t),s&&e.target.setAttribute(Ae,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(tt.replacementClass)&&r(e.target);var l}))}})),Ne&&Nn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Tn(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),a=n[0],r=n.slice(1);return a&&r.length>0&&(e[a]=r.join(":").trim()),e}),{})),n}function Mn(e){var t,n,a=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",o=Ht(st(e));return o.prefix||(o.prefix=Ut()),a&&r&&(o.prefix=a,o.iconName=r),o.iconName&&o.prefix||o.prefix&&i.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(Mt[t]||{})[n]||Dt(o.prefix,xt(e.innerText)))),o}function Ln(e){var t=ot(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return tt.autoA11y&&(n?t["aria-labelledby"]="".concat(tt.replacementClass,"-title-").concat(a||it()):(t["aria-hidden"]="true",t.focusable="false")),t}function zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Mn(e),a=n.iconName,r=n.prefix,i=n.rest,o=Ln(e),s=Zt("parseNodeAttributes",{},e),l=t.styleParser?Tn(e):[];return ce({iconName:a,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:rt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},s)}var An=ht.styles;function In(e){var t="nest"===tt.autoReplaceSvg?zn(e,{styleParser:!1}):zn(e);return~t.extra.classes.indexOf(We)?Gt("generateLayersText",e,t):Gt("generateSvgReplacementMutation",e,t)}function qn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ne)return Promise.resolve();var n=Se.documentElement.classList,a=function(e){return n.add("".concat(Ie,"-").concat(e))},r=function(e){return n.remove("".concat(Ie,"-").concat(e))},i=tt.autoFetchSvg?Object.keys(Fe):Object.keys(An),o=[".".concat(We,":not([").concat(Me,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(Me,"])")}))).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=ot(e.querySelectorAll(o))}catch(e){}if(!(s.length>0))return Promise.resolve();a("pending"),r("complete");var l=hn("onTree"),c=s.reduce((function(e,t){try{var n=In(t);n&&e.push(n)}catch(e){je||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){En(n,(function(){a("active"),a("complete"),r("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;In(e).then((function(e){e&&En([e],t)}))}var Fn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?rt:n,r=t.symbol,i=void 0!==r&&r,o=t.mask,s=void 0===o?null:o,l=t.maskId,c=void 0===l?null:l,u=t.title,f=void 0===u?null:u,p=t.titleId,d=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,b=void 0===h?{}:h,y=t.styles,v=void 0===y?{}:y;if(e){var k=e.prefix,_=e.iconName,w=e.icon;return rn(ce({type:"icon"},e),(function(){return Xt("beforeDOMElementCreation",{iconDefinition:e,params:t}),tt.autoA11y&&(f?b["aria-labelledby"]="".concat(tt.replacementClass,"-title-").concat(d||it()):(b["aria-hidden"]="true",b.focusable="false")),on({icons:{main:un(w),mask:s?un(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:_,transform:ce(ce({},rt),a),symbol:i,title:f,maskId:c,titleId:d,extra:{attributes:b,styles:v,classes:g}})}))}},Dn={mixout:function(){return{icon:(e=Fn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(t||{}).icon?t:Jt(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:Jt(r||{})),e(a,ce(ce({},n),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=qn,e.nodeCallback=jn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Se:t,a=e.callback;return qn(n,void 0===a?function(){}:a)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,a=t.title,r=t.titleId,i=t.prefix,o=t.transform,s=t.symbol,l=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,f){Promise.all([pn(n,i),l.iconName?pn(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var f=de(l,2),p=f[0],d=f[1];t([e,on({icons:{main:p,mask:d},prefix:i,iconName:n,transform:o,symbol:s,maskId:c,title:a,titleId:r,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,a=e.attributes,r=e.main,i=e.transform,o=ct(e.styles);return o.length>0&&(a.style=o),ut(i)&&(t=Gt("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),n.push(t||r.icon),{children:n,attributes:a}}}},Rn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,a=void 0===n?[]:n;return rn({type:"layer"},(function(){Xt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(tt.familyPrefix,"-layers")].concat(me(a)).join(" ")},children:n}]}))}}}},Bn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,a=void 0===n?null:n,r=t.classes,i=void 0===r?[]:r,o=t.attributes,s=void 0===o?{}:o,l=t.styles,c=void 0===l?{}:l;return rn({type:"counter",content:e},(function(){return Xt("beforeDOMElementCreation",{content:e,params:t}),ln({content:e.toString(),title:a,extra:{attributes:s,styles:c,classes:["".concat(tt.familyPrefix,"-layers-counter")].concat(me(i))}})}))}}}},Un={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?rt:n,r=t.title,i=void 0===r?null:r,o=t.classes,s=void 0===o?[]:o,l=t.attributes,c=void 0===l?{}:l,u=t.styles,f=void 0===u?{}:u;return rn({type:"text",content:e},(function(){return Xt("beforeDOMElementCreation",{content:e,params:t}),sn({content:e,transform:ce(ce({},rt),a),title:i,extra:{attributes:c,styles:f,classes:["".concat(tt.familyPrefix,"-layers-text")].concat(me(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,a=t.transform,r=t.extra,i=null,o=null;if(Oe){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/s,o=l.height/s}return tt.autoA11y&&!n&&(r.attributes["aria-hidden"]="true"),Promise.resolve([e,sn({content:e.innerHTML,width:i,height:o,transform:a,title:n,extra:r,watchable:!0})])}}},Wn=new RegExp('"',"ug"),Hn=[1105920,1112319];function $n(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(a,r){if(null!==e.getAttribute(n))return a();var i,o,s,l=ot(e.children).filter((function(e){return e.getAttribute(Le)===t}))[0],c=Ee.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(He),f=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(l&&!u)return e.removeChild(l),a();if(u&&"none"!==p&&""!==p){var d=c.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?De[u[2].toLowerCase()]:$e[f],g=function(e){var t,n,a,r,i=e.replace(Wn,""),o=(0,a=(t=i).length,(r=t.charCodeAt(0))>=55296&&r<=56319&&a>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r),s=o>=Hn[0]&&o<=Hn[1],l=2===i.length&&i[0]===i[1];return{value:xt(l?i[0]:i),isSecondary:s||l}}(d),h=g.value,b=g.isSecondary,y=u[0].startsWith("FontAwesome"),v=Dt(m,h),k=v;if(y){var _=(o=zt[i=h],s=Dt("fas",i),o||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(v=_.iconName,m=_.prefix)}if(!v||b||l&&l.getAttribute(ze)===m&&l.getAttribute(Ae)===k)a();else{e.setAttribute(n,k),l&&e.removeChild(l);var w={iconName:null,title:null,titleId:null,prefix:null,transform:rt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=w.extra;x.attributes[Le]=t,pn(v,m).then((function(r){var i=on(ce(ce({},w),{},{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:k,extra:x,watchable:!0})),o=Se.createElement("svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=i.map((function(e){return kt(e)})).join("\n"),e.removeAttribute(n),a()})).catch(r)}}else a()}))}function Vn(e){return Promise.all([$n(e,"::before"),$n(e,"::after")])}function Qn(e){return!(e.parentNode===document.head||~qe.indexOf(e.tagName.toUpperCase())||e.getAttribute(Le)||e.parentNode&&"svg"===e.parentNode.tagName)}function Yn(e){if(Ne)return new Promise((function(t,n){var a=ot(e.querySelectorAll("*")).filter(Qn).map(Vn),r=hn("searchPseudoElements");Pn(),Promise.all(a).then((function(){r(),Cn(),t()})).catch((function(){r(),Cn(),n()}))}))}var Kn=!1,Zn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return e.flipX=!0,e;if(a&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(a){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xn={mixout:function(){return{parse:{transform:function(e){return Zn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Zn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,a=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:ce({},c.outer),children:[{tag:"g",attributes:ce({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:ce(ce({},t.icon.attributes),c.path)}]}]}}}},Gn={x:0,y:0,width:"100%",height:"100%"};function Jn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ea,ta={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),a=n?Ht(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return a.prefix||(a.prefix=Ut()),e.mask=a,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,a=e.attributes,r=e.main,i=e.mask,o=e.maskId,s=e.transform,l=r.width,c=r.icon,u=i.width,f=i.icon,p=function(e){var t=e.transform,n=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},r="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(r," ").concat(i," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),d={tag:"rect",attributes:ce(ce({},Gn),{},{fill:"white"})},m=c.children?{children:c.children.map(Jn)}:{},g={tag:"g",attributes:ce({},p.inner),children:[Jn(ce({tag:c.tag,attributes:ce(ce({},c.attributes),p.path)},m))]},h={tag:"g",attributes:ce({},p.outer),children:[g]},b="mask-".concat(o||it()),y="clip-".concat(o||it()),v={tag:"mask",attributes:ce(ce({},Gn),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,h]},k={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},v]};return n.push(k,{tag:"rect",attributes:ce({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},Gn)}),{children:n,attributes:a}}}},na={provides:function(e){var t=!1;Ee.matchMedia&&(t=Ee.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ce(ce({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=ce(ce({},a),{},{attributeName:"opacity"}),i={tag:"circle",attributes:ce(ce({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:ce(ce({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ce(ce({},r),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:ce(ce({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ce(ce({},r),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:ce(ce({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ce(ce({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};ea={mixoutsTo:nn}.mixoutsTo,Vt=[mt,Dn,Rn,Bn,Un,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Yn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Se:t;tt.searchPseudoElements&&Yn(n)}}},{mixout:function(){return{dom:{unwatch:function(){Pn(),Kn=!0}}}},hooks:function(){return{bootstrap:function(){On(Zt("mutationObserverCallbacks",{}))},noAuto:function(){Nn&&Nn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Kn?Cn():On(Zt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Xn,ta,na,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),a=null!==n&&(""===n||n);return e.symbol=a,e}}}}],Qt={},Object.keys(Yt).forEach((function(e){-1===Kt.indexOf(e)&&delete Yt[e]})),Vt.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(ea[e]=t[e]),"object"===ue(t[e])&&Object.keys(t[e]).forEach((function(n){ea[e]||(ea[e]={}),ea[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Qt[e]||(Qt[e]=[]),Qt[e].push(n[e])}))}e.provides&&e.provides(Yt)}));var aa=nn.library,ra=nn.parse,ia=nn.icon,oa=n(697),sa=n.n(oa);function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?la(Object(n),!0).forEach((function(t){fa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):la(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ua(e){return ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ua(e)}function fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function da(e){return function(e){if(Array.isArray(e))return ma(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ma(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)?ma(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function ga(e){return function(e){return(e-=0)==e}(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1)}var ha=["style"];function ba(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,a=t.indexOf(":"),r=ga(t.slice(0,a)),i=t.slice(a+1).trim();return r.startsWith("webkit")?e[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[r]=i,e}),{})}var ya=!1;try{ya=!0}catch(e){}function va(e){return e&&"object"===ua(e)&&e.prefix&&e.iconName&&e.icon?e:ra.icon?ra.icon(e):null===e?null:e&&"object"===ua(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ka(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?fa({},e,t):{}}var _a=["forwardedRef"];function wa(e){var t=e.forwardedRef,n=pa(e,_a),a=n.icon,r=n.mask,i=n.symbol,o=n.className,s=n.title,l=n.titleId,c=va(a),u=ka("classes",[].concat(da(function(e){var t,n=e.beat,a=e.fade,r=e.flash,i=e.spin,o=e.spinPulse,s=e.spinReverse,l=e.pulse,c=e.fixedWidth,u=e.inverse,f=e.border,p=e.listItem,d=e.flip,m=e.size,g=e.rotation,h=e.pull,b=(fa(t={"fa-beat":n,"fa-fade":a,"fa-flash":r,"fa-spin":i,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":l,"fa-fw":c,"fa-inverse":u,"fa-border":f,"fa-li":p,"fa-flip-horizontal":"horizontal"===d||"both"===d,"fa-flip-vertical":"vertical"===d||"both"===d},"fa-".concat(m),null!=m),fa(t,"fa-rotate-".concat(g),null!=g&&0!==g),fa(t,"fa-pull-".concat(h),null!=h),fa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(n)),da(o.split(" ")))),f=ka("transform","string"==typeof n.transform?ra.transform(n.transform):n.transform),p=ka("mask",va(r)),d=ia(c,ca(ca(ca(ca({},u),f),p),{},{symbol:i,title:s,titleId:l}));if(!d)return function(){var e;!ya&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=d.abstract,g={ref:t};return Object.keys(n).forEach((function(e){wa.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),xa(m[0],g)}wa.displayName="FontAwesomeIcon",wa.propTypes={beat:sa().bool,border:sa().bool,className:sa().string,fade:sa().bool,flash:sa().bool,mask:sa().oneOfType([sa().object,sa().array,sa().string]),fixedWidth:sa().bool,inverse:sa().bool,flip:sa().oneOf(["horizontal","vertical","both"]),icon:sa().oneOfType([sa().object,sa().array,sa().string]),listItem:sa().bool,pull:sa().oneOf(["right","left"]),pulse:sa().bool,rotation:sa().oneOf([0,90,180,270]),size:sa().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:sa().bool,spinPulse:sa().bool,spinReverse:sa().bool,symbol:sa().oneOfType([sa().bool,sa().string]),title:sa().string,transform:sa().oneOfType([sa().string,sa().object]),swapOpacity:sa().bool},wa.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var xa=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var a=n.attributes[t];switch(t){case"class":e.attrs.className=a,delete n.attributes.class;break;case"style":e.attrs.style=ba(a);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=a:e.attrs[ga(t)]=a}return e}),{attrs:{}}),o=a.style,s=void 0===o?{}:o,l=pa(a,ha);return i.attrs.style=ca(ca({},i.attrs.style),s),t.apply(void 0,[n.tag,ca(ca({},i.attrs),l)].concat(da(r)))}.bind(null,e.createElement),Ea=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Na=(e,t,n)=>t in e?Ea(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class Oa extends e.Component{constructor(e){super(e)}render(){return e.createElement("span",{className:"fs-icon"},e.createElement(wa,((e,t)=>{for(var n in t||(t={}))Pa.call(t,n)&&Na(e,n,t[n]);if(Sa)for(var n of Sa(t))Ca.call(t,n)&&Na(e,n,t[n]);return e})({},this.props)))}}const Ta=Oa;var Ma=n(302),La={};function za({children:t}){const[n,a]=(0,e.useState)("none"),r=(0,e.useRef)(null),i=()=>{r.current&&a((e=>{if("none"!==e)return e;const t=r.current.getBoundingClientRect();let n=r.current.closest(".fs-packages-nav").getBoundingClientRect().right-t.right,a=250,i="right";return a>n&&(i="top",a=150,a>n&&(i="top-right")),i}))},o=()=>{a("none")};return(0,e.useEffect)((()=>{if("none"===n)return()=>{};const e=e=>{e.target===r.current||r.current.contains(e.target)||a("none")};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[n]),e.createElement("span",{className:"fs-tooltip",onMouseEnter:i,onMouseLeave:o,ref:r,onClick:i,onFocus:i,onBlur:o,tabIndex:0},e.createElement(Ta,{icon:"question-circle"}),e.createElement("span",{className:`fs-tooltip-message fs-tooltip-message--position-${n}`},t))}La.styleTagTransform=g(),La.setAttributes=f(),La.insert=c().bind(null,"head"),La.domAPI=s(),La.insertStyleElement=d(),i()(Ma.Z,La),Ma.Z&&Ma.Z.locals&&Ma.Z.locals;class Aa extends e.Component{constructor(e){super(e)}render(){return e.createElement("div",{className:"fs-placeholder"})}}const Ia=Aa;var qa=n(267),ja={};ja.styleTagTransform=g(),ja.setAttributes=f(),ja.insert=c().bind(null,"head"),ja.domAPI=s(),ja.insertStyleElement=d(),i()(qa.Z,ja),qa.Z&&qa.Z.locals&&qa.Z.locals;var Fa=Object.defineProperty,Da=(e,t,n)=>(((e,t,n)=>{t in e?Fa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const Ra=class extends e.Component{constructor(e){super(e),Da(this,"previouslySelectedPricingByPlan",{})}billingCycleLabel(){let e="Billed ";return D===this.context.selectedBillingCycle?e+="Annually":R===this.context.selectedBillingCycle?e+="Once":e+="Monthly",e}changeLicenses(e){let t=e.currentTarget;"tr"!==t.tagName.toLowerCase()&&(t=t.closest("tr"));let n=t.dataset.pricingId;document.getElementById(`pricing_${n}`).click()}getContextPlan(){return C(this.context.install)||C(this.context.install.plan_id)?null:X().getPlanByID(this.context.install.plan_id)}getPlanChangeType(){var e,t,n;const a=this.props.planPackage,r=this.getContextPlan();if(!r)return"upgrade";if(X().isFreePlan(r.pricing))return"upgrade";if(X().isFreePlan(a.pricing))return"downgrade";const i=X().comparePlanByIDs(a.id,r.id);if(i>0)return"upgrade";if(i<0)return"downgrade";const o=null!=(e=this.props.installPlanLicensesCount)?e:B,s=null!=(n=this.props.isSinglePlan?null==(t=a.selectedPricing)?void 0:t.licenses:this.context.selectedLicenseQuantity)?n:B;return o<s?"upgrade":o>s?"downgrade":"none"}getCtaButtonLabel(t){const n=this.props.planPackage;if(this.context.isActivatingTrial&&this.context.upgradingToPlanID==n.id)return"Activating...";if(this.context.isTrial&&n.hasTrial())return e.createElement(e.Fragment,null,"Start my free ",e.createElement("nobr",null,n.trial_period," days"));const a=this.getContextPlan(),r=!this.context.isTrial&&a&&!this.isInstallInTrial(this.context.install)&&X().isPaidPlan(a.pricing);switch(t){case"downgrade":return"Downgrade";case"none":return"Your Plan";default:return"Upgrade"+(r?"":" Now")}}getUndiscountedPrice(t,n){return D===this.context.selectedBillingCycle&&this.context.annualDiscount>0?t.is_free_plan||null===n?e.createElement(Ia,{className:"fs-undiscounted-price"}):e.createElement("div",{className:"fs-undiscounted-price"},"Normally ",this.context.currencySymbols[this.context.selectedCurrency],n.getMonthlyAmount(1,!0,Ra.locale)," ","/ mo"):e.createElement(Ia,{className:"fs-undiscounted-price"})}getSitesLabel(t,n,a){return t.is_free_plan?e.createElement(Ia,null):e.createElement("div",{className:"fs-selected-pricing-license-quantity"},n.sitesLabel(),!t.is_free_plan&&e.createElement(za,null,e.createElement(e.Fragment,null,"If you are running a multi-site network, each site in the network requires a license.",a.length>0?"Therefore, if you need to use it on multiple sites, check out our multi-site prices.":"")))}priceLabel(e,t){let n=this.context,a="",r=e[n.selectedBillingCycle+"_price"];return a+=n.currencySymbols[n.selectedCurrency],a+=N(r,t),F===n.selectedBillingCycle?a+=" / mo":D===n.selectedBillingCycle&&(a+=" / year"),a}isInstallInTrial(e){return!(!S(e.trial_plan_id)||C(e.trial_ends))&&Date.parse(e.trial_ends)>(new Date).getTime()}render(){let t=this.props.isSinglePlan,n=this.props.planPackage,a=this.props.currentLicenseQuantities,r=null,i=this.context.selectedLicenseQuantity,o={},s=null,l=null,c=null;if(this.props.isFirstPlanPackage&&(Ra.contextInstallPlanFound=!1),n.is_free_plan||(o=n.pricingCollection,r=n.pricingLicenses,s=n.selectedPricing,s||(this.previouslySelectedPricingByPlan[n.id]&&this.context.selectedCurrency===this.previouslySelectedPricingByPlan[n.id].currency&&this.previouslySelectedPricingByPlan[n.id].supportsBillingCycle(this.context.selectedBillingCycle)||(this.previouslySelectedPricingByPlan[n.id]=o[r[0]]),s=this.previouslySelectedPricingByPlan[n.id],i=s.getLicenses()),this.previouslySelectedPricingByPlan[n.id]=s,l=(D===this.context.selectedBillingCycle?N(s.getMonthlyAmount(j),"en-US"):s[`${this.context.selectedBillingCycle}_price`]).toString()),n.hasAnySupport())if(n.hasSuccessManagerSupport())c="Priority Phone, Email & Chat Support";else{let e=[];n.hasPhoneSupport()&&e.push("Phone"),n.hasSkypeSupport()&&e.push("Skype"),n.hasEmailSupport()&&e.push((this.context.priorityEmailSupportPlanID==n.id?"Priority ":"")+"Email"),n.hasForumSupport()&&e.push("Forum"),n.hasKnowledgeBaseSupport()&&e.push("Help Center"),c=1===e.length?`${e[0]} Support`:e.slice(0,e.length-1).join(", ")+" & "+e[e.length-1]+" Support"}else c="No Support";let u="fs-package",f=!1;n.is_free_plan?u+=" fs-free-plan":!t&&n.is_featured&&(u+=" fs-featured-plan",f=!0);const p=N(.1,Ra.locale)[1];let d,m;if(l){const e=l.split(".");d=N(parseInt(e[0],10)),m=T(e[1])}const g=this.getPlanChangeType();return e.createElement("li",{key:n.id,className:u},e.createElement("div",{className:"fs-most-popular"},e.createElement("h4",null,e.createElement("strong",null,"Most Popular"))),e.createElement("div",{className:"fs-package-content"},e.createElement("h2",{className:"fs-plan-title"},e.createElement("strong",null,t?s.sitesLabel():n.title)),e.createElement("h3",{className:"fs-plan-description"},e.createElement("strong",null,n.description_lines)),this.getUndiscountedPrice(n,s),e.createElement("div",{className:"fs-selected-pricing-amount"},e.createElement("strong",{className:"fs-currency-symbol"},n.is_free_plan?"":this.context.currencySymbols[this.context.selectedCurrency]),e.createElement("span",{className:"fs-selected-pricing-amount-integer"},e.createElement("strong",null,n.is_free_plan?"Free":d)),e.createElement("span",{className:"fs-selected-pricing-amount-fraction-container"},e.createElement("strong",{className:"fs-selected-pricing-amount-fraction"},n.is_free_plan?"":p+m),!n.is_free_plan&&R!==this.context.selectedBillingCycle&&e.createElement("sub",{className:"fs-selected-pricing-amount-cycle"},"/ mo"))),e.createElement("div",{className:"fs-selected-pricing-cycle"},n.is_free_plan?e.createElement(Ia,null):e.createElement("strong",null,this.billingCycleLabel())),this.getSitesLabel(n,s,r),e.createElement("div",{className:"fs-support-and-main-features"},null!==c&&e.createElement("div",{className:"fs-plan-support"},e.createElement("strong",null,c)),e.createElement("ul",{className:"fs-plan-features-with-value"},n.highlighted_features.map((t=>P(t.title)?e.createElement("li",{key:t.id},e.createElement("span",{className:"fs-feature-title"},e.createElement("span",null,e.createElement("strong",null,t.value)),e.createElement("span",{className:"fs-feature-title"},t.title)),P(t.description)&&e.createElement(za,null,e.createElement(e.Fragment,null,t.description))):e.createElement("li",{key:t.id},e.createElement(Ia,null)))))),!t&&e.createElement("table",{className:"fs-license-quantities"},e.createElement("tbody",null,Object.keys(a).map((a=>{let r=o[a];if(C(r))return e.createElement("tr",{className:"fs-license-quantity-container",key:a},e.createElement("td",null,e.createElement(Ia,null)),e.createElement("td",null),e.createElement("td",null));let l=i==a,c=X().calculateMultiSiteDiscount(r,this.context.selectedBillingCycle,this.context.discountsModel);return e.createElement("tr",{key:r.id,"data-pricing-id":r.id,className:"fs-license-quantity-container"+(l?" fs-license-quantity-selected":""),onClick:this.changeLicenses},e.createElement("td",{className:"fs-license-quantity"},e.createElement("input",{type:"radio",id:`pricing_${r.id}`,name:"fs_plan_"+n.id+"_licenses"+(t?s.id:""),value:r.id,checked:l||t,onChange:this.props.changeLicensesHandler}),r.sitesLabel()),c>0?e.createElement("td",{className:"fs-license-quantity-discount"},e.createElement("span",null,"Save ",c,"%")):e.createElement("td",null),e.createElement("td",{className:"fs-license-quantity-price"},this.priceLabel(r,Ra.locale)))})))),e.createElement("div",{className:"fs-upgrade-button-container"},e.createElement("button",{disabled:"none"===g,className:"fs-button fs-button--size-large fs-upgrade-button "+("upgrade"===g?"fs-button--type-primary "+(f?"":"fs-button--outline"):"fs-button--outline"),onClick:()=>{this.props.upgradeHandler(n,s)}},this.getCtaButtonLabel(g))),e.createElement("ul",{className:"fs-plan-features"},n.nonhighlighted_features.map((t=>{if(!P(t.title))return e.createElement("li",{key:t.id},e.createElement(Ia,null));const n=0===t.id.indexOf("all_plan_")?e.createElement("strong",null,t.title):t.title;return e.createElement("li",{key:t.id},e.createElement(Ta,{icon:["fas","check"]}),e.createElement("span",{className:"fs-feature-title"},n),P(t.description)&&e.createElement(za,null,e.createElement(e.Fragment,null,t.description)))})))))}};let Ba=Ra;Da(Ba,"contextType",G),Da(Ba,"contextInstallPlanFound",!1),Da(Ba,"locale","en-US");const Ua=Ba;var Wa=n(700),Ha={};Ha.styleTagTransform=g(),Ha.setAttributes=f(),Ha.insert=c().bind(null,"head"),Ha.domAPI=s(),Ha.insertStyleElement=d(),i()(Wa.Z,Ha),Wa.Z&&Wa.Z.locals&&Wa.Z.locals;var $a=Object.defineProperty,Va=(e,t,n)=>(((e,t,n)=>{t in e?$a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class Qa extends e.Component{constructor(e){super(e),Va(this,"slider",null)}billingCycleLabel(){let e="Billed ";return D===this.context.selectedBillingCycle?e+="Annually":R===this.context.selectedBillingCycle?e+="Once":e+="Monthly",e}priceLabel(e){let t=this.context,n="",a=e[t.selectedBillingCycle+"_price"];return n+=t.currencySymbols[t.selectedCurrency],n+=N(a),F===t.selectedBillingCycle?n+=" / mo":D===t.selectedBillingCycle&&(n+=" / year"),n}componentDidMount(){this.slider=function(){let e,t,n,a,r,i,o,s,l,c,u,f,p,d,m,g,h;const b=function(){const e=window.getComputedStyle(t);return parseFloat(e.width)<2*u-h};let y=function(e,t){let n=-1*e*p+(t||0)-1;r.style.left=n+"px"},v=function(){e++;let t=0;!b()&&m>f&&(t=c,e+g>=a.length&&(i.style.visibility="hidden",r.parentNode.classList.remove("fs-has-next-plan"),e-1>0&&(t*=2)),e>0&&(o.style.visibility="visible",r.parentNode.classList.add("fs-has-previous-plan"))),y(e,t)},k=function(){e--;let t=0;!b()&&m>f&&(e-1<0&&(o.style.visibility="hidden",r.parentNode.classList.remove("fs-has-previous-plan")),e+g<=a.length&&(i.style.visibility="visible",r.parentNode.classList.add("fs-has-next-plan"),e>0&&(t=c))),y(e,t)},_=function(){r.parentNode.classList.remove("fs-has-previous-plan"),r.parentNode.classList.remove("fs-has-next-plan"),m=window.outerWidth;let n=window.getComputedStyle(t),h=parseFloat(n.width),y=m<=f||b();if(d=c,y?(g=1,p=h):(g=Math.floor(h/u),g===a.length?d=0:g<a.length&&(g=Math.floor((h-d)/u),g+1<a.length&&(d*=2,g=Math.floor((h-d)/u))),p=u),r.style.width=p*a.length+"px",h=g*p+(y?0:d),r.parentNode.style.width=h+"px",r.style.left="0px",!y&&g<a.length){i.style.visibility="visible";let e=parseFloat(window.getComputedStyle(r.parentNode).marginLeft),t=parseFloat(n.paddingLeft),a=-t,s=h+e,l=parseFloat(window.getComputedStyle(i).width);o.style.left=a+(t+e-l)/2+"px",i.style.left=s+(t+e-l)/2+"px",r.parentNode.classList.add("fs-has-next-plan")}else o.style.visibility="hidden",i.style.visibility="hidden";for(let e of a)e.style.width=p+"px";if(s)e=s.selectedIndex;else if(l){let t=l.querySelectorAll("li");for(let n=0;n<t.length;n++)if(t[n].classList.contains("fs-package-tab--selected")){e=n;break}}e>0&&(e--,v())};e=0,t=document.querySelector(".fs-section--plans-and-pricing"),n=t.querySelector(".fs-section--packages"),a=n.querySelectorAll(".fs-package"),r=n.querySelector(".fs-packages"),i=t.querySelector(".fs-next-package"),o=t.querySelector(".fs-prev-package"),s=t.querySelector(".fs-packages-menu"),l=t.querySelector(".fs-packages-tab"),c=60,u=315,f=768,h=20,_();const w=t=>{e=t.target.selectedIndex-1,v()};s&&s.addEventListener("change",w);const x=function(e,t,n){let a;return function(){let t=this,r=arguments,i=function(){a=null,e.apply(t,r)},o=n;clearTimeout(a),a=setTimeout(i,250),o&&e.apply(t,r)}}(_);return i.addEventListener("click",v),o.addEventListener("click",k),window.addEventListener("resize",x),{adjustPackages:_,clearEventListeners(){i.removeEventListener("click",v),o.removeEventListener("click",k),window.removeEventListener("resize",x),s&&s.removeEventListener("change",w)}}}()}componentWillUnmount(){var e;null==(e=this.slider)||e.clearEventListeners()}componentDidUpdate(e,t,n){var a;null==(a=this.slider)||a.adjustPackages()}render(){let t=null,n=this.context.licenseQuantities[this.context.selectedCurrency],a=Object.keys(n).length,r={},i=!1;if(this.context.paidPlansCount>1||1===a)t=this.context.plans;else{t=[];let e=null;for(e of this.context.plans)if(!X().isHiddenOrFreePlan(e))break;for(let n of e.pricing){if(n.is_hidden||this.context.selectedCurrency!==n.currency||!n.supportsBillingCycle(this.context.selectedBillingCycle))continue;let a=Object.assign(new z,e);a.pricing=[n],t.push(a)}i=!0}let o=[],s=0,l=0,c={},u=0,f=null,p=0;for(let n of t){if(n.is_hidden)continue;let t=X().isFreePlan(n.pricing);if(t){if(this.context.paidPlansCount>=3)continue;n.is_free_plan=t}else{n.pricingCollection={},n.pricing.map((e=>{let t=e.getLicenses();e.is_hidden||this.context.selectedCurrency!==e.currency||e.supportsBillingCycle(this.context.selectedBillingCycle)&&(n.pricingCollection[t]=e,(i||this.context.selectedLicenseQuantity==t)&&(n.selectedPricing=e),this.context.license&&this.context.license.pricing_id==e.id&&(p=e.licenses))}));let e=Object.keys(n.pricingCollection);if(0===e.length)continue;n.pricingLicenses=e}if(n.highlighted_features=[],n.nonhighlighted_features=[],null!==f&&n.nonhighlighted_features.push({id:`all_plan_${f.id}_features`,title:`All ${f.title} Features`}),n.hasSuccessManagerSupport()&&n.nonhighlighted_features.push({id:`plan_${n.id}_personal_success_manager`,title:"Personal Success Manager"}),P(n.description)?n.description_lines=n.description.split("\n").map(((t,n)=>e.createElement(e.Fragment,{key:n},t,e.createElement("br",null)))):n.description_lines=[],u=Math.max(u,n.description_lines.length),o.push(n),!C(n.features)){for(let e of n.features)e.is_featured&&(P(e.value)||S(e.value)?n.highlighted_features.push(e):(i||C(c[`f_${e.id}`]))&&(n.nonhighlighted_features.push(e),c[`f_${e.id}`]=!0));if(s=Math.max(s,n.highlighted_features.length),l=Math.max(l,n.nonhighlighted_features.length),!t)for(let e of n.pricing)!e.is_hidden&&this.context.selectedCurrency===e.currency&&e.supportsBillingCycle(this.context.selectedBillingCycle)&&(r[e.getLicenses()]=!0);i||(f=n)}}let d=[],m=!0,g=!1,h=[],b=[],y=this.context.selectedPlanID;for(let t of o){if(t.highlighted_features.length<s){const e=s-t.highlighted_features.length;for(let n=0;n<e;n++)t.highlighted_features.push({id:`filler_${n}`})}if(t.nonhighlighted_features.length<l){const e=l-t.nonhighlighted_features.length;for(let n=0;n<e;n++)t.nonhighlighted_features.push({id:`filler_${n}`})}if(t.description_lines.length<u){const n=u-t.description_lines.length;for(let a=0;a<n;a++)t.description_lines.push(e.createElement(Ia,{key:`filler_${a}`}))}t.is_featured&&!i&&this.context.paidPlansCount>1&&(g=!0);const a=i?t.pricing[0].id:t.id;!y&&m&&(y=a),h.push(e.createElement("li",{key:a,className:"fs-package-tab"+(a==y?" fs-package-tab--selected":""),"data-plan-id":a,onClick:this.props.changePlanHandler},e.createElement("a",{href:"#"},i?t.pricing[0].sitesLabel():t.title))),b.push(e.createElement("option",{key:a,className:"fs-package-option",id:`fs_package_${a}_option`,value:a},(a!=y&&y?"":"Selected Plan: ")+t.title)),d.push(e.createElement(Ua,{key:a,isFirstPlanPackage:m,installPlanLicensesCount:p,isSinglePlan:i,maxHighlightedFeaturesCount:s,maxNonHighlightedFeaturesCount:l,licenseQuantities:n,currentLicenseQuantities:r,planPackage:t,changeLicensesHandler:this.props.changeLicensesHandler,upgradeHandler:this.props.upgradeHandler})),m&&(m=!1)}return e.createElement(e.Fragment,null,e.createElement("nav",{className:"fs-prev-package"},e.createElement(Ta,{icon:["fas","chevron-left"]})),e.createElement("section",{className:"fs-packages-nav"+(g?" fs-has-featured-plan":"")},d.length>3&&e.createElement("select",{className:"fs-packages-menu",onChange:this.props.changePlanHandler,value:y},b),d.length<=3&&e.createElement("ul",{className:"fs-packages-tab"},h),e.createElement("ul",{className:"fs-packages"},d)),e.createElement("nav",{className:"fs-next-package"},e.createElement(Ta,{icon:["fas","chevron-right"]})))}}Va(Qa,"contextType",G);const Ya=Qa;class Ka extends e.Component{constructor(e){super(e)}render(){return e.createElement("ul",null,this.props.badges.map((t=>{let n=e.createElement("img",{src:t.src,alt:t.alt});return P(t.link)&&(n=e.createElement("a",{href:t.link,target:"_blank"},n)),e.createElement("li",{key:t.key,className:"fs-badge"},n)})))}}const Za=Ka;var Xa=n(568),Ga=n.n(Xa);class Ja extends e.Component{constructor(e){super(e)}render(){return e.createElement("button",{className:"fs-round-button",type:"button",role:"button",tabIndex:"0"},e.createElement("span",null))}}const er=Ja,tr=n.p+"27b5a722a5553d9de0170325267fccec.png",nr=n.p+"c03f665db27af43971565560adfba594.png",ar=n.p+"cb5fc4f6ec7ada72e986f6e7dde365bf.png",rr=n.p+"f3aac72a8e63997d6bb888f816457e9b.png",ir=n.p+"178afa6030e76635dbe835e111d2c507.png";var or=Object.defineProperty;class sr extends e.Component{constructor(e){super(e),this.getReviewRating=this.getReviewRating.bind(this),this.defaultProfilePics=[tr,nr,ar,rr,ir]}getReviewRating(t){let n=Math.ceil(t.rate/100*5),a=[];for(let t=0;t<n;t++)a.push(e.createElement(Ta,{key:t,icon:["fas","star"]}));return a}stripHtml(e){return(new DOMParser).parseFromString(e,"text/html").body.textContent}render(){let t=this.context;setTimeout((function(){let e,t,n,a=null,r=0,i=document.querySelector(".fs-section--testimonials"),o=i.querySelector(".fs-testimonials-track"),s=o.querySelectorAll(".fs-testimonial"),l=o.querySelectorAll(".fs-testimonial.clone"),c=s.length-l.length,u=o.querySelector(".fs-testimonials"),f=250,p=!1,d=function(e,a){(a=a||!1)&&i.classList.remove("ready");let o=3+e,l=(e%c+c)%c;i.querySelector(".slick-dots li.selected").classList.remove("selected"),Array.from(i.querySelectorAll(".slick-dots li")).forEach((e=>{l==e.getAttribute("data-index")&&e.classList.add("selected")})),u.style.left=o*n*-1+"px";for(let e of s)e.setAttribute("aria-hidden","true");for(let e=0;e<t;e++)s[e+o].setAttribute("aria-hidden","false");a&&setTimeout((function(){i.classList.add("ready")}),500),e==c&&(r=0,setTimeout((function(){d(r,!0)}),1e3)),e==-t&&(r=e+c,setTimeout((function(){d(r,!0)}),1e3))},m=function(){a&&(clearInterval(a),a=null)},g=function(){r++,d(r)},h=function(){p&&t<s.length&&(a=setInterval((function(){g()}),1e4))},b=function(){m(),i.classList.remove("ready"),e=parseFloat(window.getComputedStyle(o).width),e<f&&(f=e),t=Math.min(3,Math.floor(e/f)),n=Math.floor(e/t),u.style.width=s.length*n+"px";for(let e of s)e.style.width=n+"px";let a=0,l=0;for(let e=0;e<s.length;e++){let t=s[e],n=t.querySelector("header"),r=t.querySelector("section");n.style.height="100%",r.style.height="100%",a=Math.max(a,parseFloat(window.getComputedStyle(n).height)),l=Math.max(l,parseFloat(window.getComputedStyle(r).height))}for(let e=0;e<s.length;e++){let t=s[e],n=t.querySelector("header"),r=t.querySelector("section");n.style.height=a+"px",r.style.height=l+"px"}u.style.left=(r+3)*n*-1+"px",i.classList.add("ready"),p=c>t,Array.from(i.querySelectorAll(".slick-arrow, .slick-dots")).forEach((e=>{e.style.display=p?"block":"none"}))};b(),h(),i.querySelector(".fs-nav-next").addEventListener("click",(function(){m(),g(),h()})),i.querySelector(".fs-nav-prev").addEventListener("click",(function(){m(),r--,d(r),h()})),Array.from(i.querySelectorAll(".slick-dots li")).forEach((e=>{e.addEventListener("click",(function(e){let t=null;t="span"===e.target.tagName.toLowerCase()?e.target.parentNode.parentNode:"button"===e.target.tagName.toLowerCase()?e.target.parentNode:e.target,t.classList.contains("selected")||(m(),r=parseInt(t.getAttribute("data-index")),d(r),h())}))})),window.addEventListener("resize",(function(){b(),h()}))}),10);let n=[],a=t.reviews.length,r=[];for(let r=-3;r<a+3;r++){let i=t.reviews[(r%a+a)%a],o=i.email?(i.email.charAt(0).toLowerCase().charCodeAt(0)-"a".charCodeAt(0))%5:Math.floor(4*Math.random()),s=this.defaultProfilePics[o];n.push(e.createElement("section",{className:"fs-testimonial"+(r<0||r>=a?" clone":""),"data-index":r,"data-id":i.id,key:r},e.createElement("header",{className:"fs-testimonial-header"},e.createElement("div",{className:"fs-testimonial-logo"},e.createElement("object",{data:i.email?"//gravatar.com/avatar/"+Ga()(i.email)+"?s=80&d="+encodeURIComponent(s):s,type:"image/png"},e.createElement("img",{src:s}))),e.createElement("h4",null,i.title),e.createElement("div",{className:"fs-testimonial-rating"},this.getReviewRating(i))),e.createElement("section",null,e.createElement(Ta,{icon:["fas","quote-left"],className:"fs-icon-quote"}),e.createElement("blockquote",{className:"fs-testimonial-message"},this.stripHtml(i.text)),e.createElement("section",{className:"fs-testimonial-author"},e.createElement("div",{className:"fs-testimonial-author-name"},i.name),e.createElement("div",null,i.job_title?i.job_title+", ":"",i.company)))))}for(let t=0;t<a;t++)r.push(e.createElement("li",{className:0==t?"selected":"",key:t,"data-index":t,"aria-hidden":"true",role:"presentation","aria-selected":0==t?"true":"false","aria-controls":"navigation"+t},e.createElement(er,{type:"button",role:"button",tabIndex:"0"})));return e.createElement(e.Fragment,null,t.active_installs>1e3&&e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Trusted by More than"," ",N(1e3*Math.ceil(t.active_installs/1e3))," ","Blogs, Online Shops & Websites!")),t.active_installs<=1e3&&t.downloads>1e3?e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Downloaded More than"," ",N(1e3*Math.ceil(t.downloads/1e3))," ","Times!")):null,e.createElement("section",{className:"fs-testimonials-nav"},e.createElement("nav",{className:"fs-nav fs-nav-prev"},e.createElement(Ta,{icon:["fas","arrow-left"]})),e.createElement("div",{className:"fs-testimonials-track"},e.createElement("section",{className:"fs-testimonials"},n)),e.createElement("nav",{className:"fs-nav fs-nav-next"},e.createElement(Ta,{icon:["fas","arrow-right"]}))),e.createElement("ul",{className:"fs-nav fs-nav-pagination slick-dots",role:"tablist"},r))}}((e,t,n)=>{((e,t,n)=>{t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(sr,"contextType",G);const lr=sr;var cr=Object.defineProperty,ur=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,dr=(e,t,n)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mr=(e,t)=>{for(var n in t||(t={}))fr.call(t,n)&&dr(e,n,t[n]);if(ur)for(var n of ur(t))pr.call(t,n)&&dr(e,n,t[n]);return e};let gr=null;const hr=function(){return null!==gr||(gr={buildQueryString:function(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},request:function(e,t){return t=mr(mr({},t),Xr),fetch(kr.getInstance().addQueryArgs(e,t),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>{let t=e.json();return t.success&&P(t.next_page)&&(window.location.href=t.next_page),t}))}}),gr};let br=null;!function(e){let t=this||{};t.FS=t.FS||{},br=t.FS,null==t.FS.PostMessage&&(t.FS.PostMessage=function(){let e,t,n,a=!1,r=!1,i=new NoJQueryPostMessageMixin("postMessage","receiveMessage"),o={},s=!1,l=function(e){t=e,n=e.substring(0,e.indexOf("/","https://"===e.substring(0,"https://".length)?8:7)),s=""!==e},c=-1,u=!0;try{u=window.self!==window.top}catch(e){}return u&&l(decodeURIComponent(document.location.hash.replace(/^#/,""))),{init:function(t,n){e=t,i.receiveMessage((function(e){let t;try{if(null!=e&&e.origin&&(e.origin.indexOf("js.stripe.com")>0||e.origin.indexOf("www.paypal.com")>0))return;if(t=P(e.data)?JSON.parse(e.data):e.data,o[t.type])for(let e=0;e<o[t.type].length;e++)o[t.type][e](t.data)}catch(t){console.error("FS.PostMessage.receiveMessage",t.message),console.log(e.data)}}),e),yr.PostMessage.receiveOnce("forward",(function(e){window.location=e.url})),(n=n||[]).length>0&&window.addEventListener("scroll",(function(){for(var e=0;e<n.length;e++)yr.PostMessage.postScroll(n[e])}))},init_child:function(e){e&&l(e),this.init(n),a=!0,r=!0,window.addEventListener("load",(function(){yr.PostMessage.postHeight(),yr.PostMessage.post("loaded")})),window.addEventListener("resize",(function(){yr.PostMessage.postHeight(),yr.PostMessage.post("resize")}))},hasParent:function(){return s},getElementAbsoluteHeight:function(e){let t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+n)},postHeight:function(e,t){e=e||0,(t=document.getElementById(t||"fs_pricing_page_container"))||(t=document.getElementsByTagName("html")[0]);var n=e+this.getElementAbsoluteHeight(t);return n!=c&&(this.post("height",{height:n}),c=n,!0)},postScroll:function(e){let t=window.getComputedStyle(document.getElementsByTagName("html")[0]);var n=document.documentElement,a=(window.pageXOffset||n.scrollLeft,n.clientLeft,(window.pageYOffset||n.scrollTop)-(n.clientTop||0));this.post("scroll",{top:a,height:window.innerHeight-parseFloat(t.getPropertyValue("padding-top"))-parseFloat(t.getPropertyValue("margin-top"))},e)},post:function(e,n,a){console.debug("PostMessage.post",e),a?i.postMessage(JSON.stringify({type:e,data:n}),a.src,a.contentWindow):i.postMessage(JSON.stringify({type:e,data:n}),t,window.parent)},receive:function(e,t){console.debug("PostMessage.receive",e),null==o[e]&&(o[e]=[]),o[e].push(t)},receiveOnce:function(e,t,n){(n=void 0!==n&&n)&&this.unset(e),this.is_set(e)||this.receive(e,t)},is_set:function(e){return null!=o[e]},unset:function(e){o[e]=null},parent_url:function(){return t},parent_subdomain:function(){return n},isChildInitialized:function(){return r}}}())}();const yr=br;let vr=null;const kr={getInstance:function(){return null!==vr||(vr={addQueryArgs:function(e,t){return P(e)?(t&&(-1===e.indexOf("?")?e+="?":e+="&",e+=hr().buildQueryString(t)),e):e},getContactUrl(e,t){let n=P(Xr.contact_url)?Xr.contact_url:yr.PostMessage.parent_url();return P(n)||(n=(-1===["3000","8080"].indexOf(window.location.port)?"https://wp.freemius.com":"http://wp.freemius:8080")+`/contact/?page=${e.slug}-contact&plugin_id=${e.id}&plugin_public_key=${e.public_key}`),this.addQueryArgs(n,{topic:t})},getQuerystringParam:function(e,t){let n="",a=e.indexOf("#");-1<a&&(e.substr(a),e=e.substr(0,a));let r="",i=e.indexOf("?");if(-1<i&&(r=e.substr(i+1),e=e.substr(0,i)),""!==r){let e=r.split("&");for(let n=0,a=e.length;n<a;n++){let a=e[n].split("=",2);if(a.length>0&&t==a[0])return a[1]}}return null},redirect:function(e,t){window.location.href=this.addQueryArgs(e,t)}}),vr}};var _r=Object.defineProperty;class wr extends e.Component{constructor(e){super(e)}render(){let t=this.context;if(!t||!t.plugin||!S(t.plugin.id))return null;let n=[],a="",r=!1,i=!1,o=t.hasAnnualCycle,s=t.hasLifetimePricing,l=t.hasMonthlyCycle,c=t.plugin.moduleLabel();t.hasEmailSupportForAllPlans?a="Yes! Top-notch customer support is key for a quality product, so we'll do our very best to resolve any issues you encounter via our support page.":t.hasEmailSupportForAllPaidPlans?a="Yes! Top-notch customer support for our paid customers is key for a quality product, so we'll do our very best to resolve any issues you encounter via our support page.":t.hasAnyPlanWithSupport?a="Yes! Top-notch customer support is key for a quality product, so we'll do our very best to resolve any issues you encounter. Note, each plan provides a different level of support.":t.plugin.hasWordPressOrgVersion()&&(a=e.createElement(e.Fragment,null,"You can post your questions in our"," ",e.createElement("a",{href:"https://wordpress.org/support/plugin/"+t.plugin.slug,target:"_blank"},"WordPress Support Forum")," ","to get help from the community. Unfortunately extra support is currently not provided.")),t.hasPremiumVersion&&n.push({q:"Is there a setup fee?",a:"No. There are no setup fees on any of our plans."}),null!==t.firstPaidPlan&&(i=t.firstPaidPlan.isBlockingMonthly(),r=t.firstPaidPlan.isBlockingAnnually());let u=i&&r,f=!i&&!r;if(n.push({q:"Can I cancel my account at any time?",a:`Yes, if you ever decide that ${t.plugin.title} isn't the best ${c} for your business, simply cancel your account from your Account panel.`+(u?"":(f?" You'll":" If you cancel "+(r?"a monthly":"an annual")+" subscription, you'll")+` still be able to use the ${c} without updates or support.`)}),l||o){let e="";l&&o&&s?e="All plans are month-to-month unless you subscribe for an annual or lifetime plan.":l&&o?e="All plans are month-to-month unless you subscribe for an annual plan.":l&&s?e="All plans are month to month unless you purchase a lifetime plan.":o&&s?e="All plans are year-to-year unless you purchase a lifetime plan.":l?e="All plans are month-to-month.":o&&(e="All plans are year-to-year."),n.push({q:"What's the time span for your contracts?",a:e})}t.annualDiscount>0&&n.push({q:"Do you offer any discounted plans?",a:`Yes, we offer up to ${t.annualDiscount}% discount on an annual plans, when they are paid upfront.`}),o&&t.plugin.hasRenewalsDiscount(j)&&n.push({q:"Do you offer a renewals discount?",a:`Yes, you get ${t.plugin.getFormattedRenewalsDiscount(j)} discount for all annual plan automatic renewals. The renewal price will never be increased so long as the subscription is not cancelled.`}),t.plansCount>1&&n.push({q:"Can I change my plan later on?",a:"Absolutely! You can upgrade or downgrade your plan at any time."}),n.push({q:"What payment methods are accepted?",a:t.isPayPalSupported?"We accept all major credit cards including Visa, Mastercard, American Express, as well as PayPal payments.":e.createElement(e.Fragment,null,"We accept all major credit cards including Visa, Mastercard and American Express.",e.createElement("br",null),"Unfortunately, due to regulations in your country related to PayPal’s subscriptions, we won’t be able to accept payments via PayPal.")});let p=`We don't offer refunds, but we do offer a free version of the ${c} (the one you are using right now).`;t.plugin.hasRefundPolicy()&&(p=V.STRICT!==t.plugin.refund_policy?e.createElement(e.Fragment,null,e.createElement("a",{className:"message-trigger",onClick:e=>this.props.toggleRefundPolicyModal(e),href:"#"},"Yes we do!")," ","We stand behind the quality of our product and will refund 100% of your money if you are unhappy with the plugin."):e.createElement(e.Fragment,null,e.createElement("a",{className:"message-trigger",onClick:e=>this.props.toggleRefundPolicyModal(e),href:"#"},"Yes we do!")," ","We stand behind the quality of our product and will refund 100% of your money if you experience an issue that makes the plugin unusable and we are unable to resolve it.")),n.push({q:"Do you offer refunds?",a:p}),t.hasPremiumVersion&&n.push({q:`Do I get updates for the premium ${c}?`,a:`Yes! Automatic updates to our premium ${c} are available free of charge as long as you stay our paying customer.`+(u?"":" If you cancel your "+(f?"subscription":r?"monthly subscription":"annual subscription")+`, you'll still be able to use our ${c} without updates or support.`)}),""!==a&&n.push({q:"Do you offer support if I need help?",a}),n.push({q:"I have other pre-sale questions, can you help?",a:e.createElement(e.Fragment,null,"Yes! You can ask us any question through our"," ",e.createElement("a",{className:"contact-link",href:kr.getInstance().getContactUrl(this.context.plugin,"pre_sale_question"),target:"_blank",rel:"noopener noreferrer"},"support page"),".")});let d=[];for(let t=0;t<n.length;t++)d.push(e.createElement(ee,{key:t,"fs-section":"faq-item"},e.createElement("h3",null,n[t].q),e.createElement("p",null,n[t].a)));return e.createElement(e.Fragment,null,e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Frequently Asked Questions")),e.createElement(ee,{"fs-section":"faq-items"},d))}}((e,t,n)=>{((e,t,n)=>{t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(wr,"contextType",G);const xr=wr,Er=n.p+"14fb1bd5b7c41648488b06147f50a0dc.svg";var Sr=Object.defineProperty;class Pr extends e.Component{constructor(e){super(e)}render(){let t=this.context;if(!t||!t.plugin||!S(t.plugin.id))return null;let n=t.plugin,a="",r="";switch(n.refund_policy){case V.FLEXIBLE:a="Double Guarantee",r=e.createElement(e.Fragment,null,"You are fully protected by our 100% No-Risk Double Guarantee. If you don't like our ",n.moduleLabel()," over the next"," ",n.money_back_period," days, we'll happily refund 100% of your money. ",e.createElement("b",null,"No questions asked."));break;case V.MODERATE:a="Satisfaction Guarantee",r=`You are fully protected by our 100% Satisfaction Guarantee. If over the next ${n.money_back_period} days you are unhappy with our ${n.moduleLabel()} or have an issue that we are unable to resolve, we'll happily consider offering a 100% refund of your money.`;break;case V.STRICT:default:a="Money Back Guarantee",r=`You are fully protected by our 100% Money Back Guarantee. If during the next ${n.money_back_period} days you experience an issue that makes the ${n.moduleLabel()} unusable and we are unable to resolve it, we'll happily consider offering a full refund of your money.`}return e.createElement(e.Fragment,null,e.createElement("h2",{className:"fs-money-back-guarantee-title"},n.money_back_period,"-day ",a),e.createElement("p",{className:"fs-money-back-guarantee-message"},r),e.createElement("button",{className:"fs-button fs-button--size-small",onClick:e=>this.props.toggleRefundPolicyModal(e)},"Learn More"),e.createElement("img",{src:Er}),this.context.showRefundPolicyModal&&e.createElement("div",{className:"fs-modal fs-modal--refund-policy"},e.createElement("section",{className:"fs-modal-content-container"},e.createElement("header",{className:"fs-modal-header"},e.createElement("h3",null,"Refund Policy"),e.createElement("i",{className:"fs-modal-close"},e.createElement(Ta,{icon:["fas","times-circle"],onClick:e=>this.props.toggleRefundPolicyModal(e)}))),e.createElement("div",{className:"fs-modal-content"},e.createElement("p",null,r),e.createElement("p",null,"Just start a refund ticket through the \"Contact Us\" in the plugin's admin settings and we'll process a refund."),e.createElement("p",null,"To submit a refund request, please open a"," ",e.createElement("a",{className:"fs-contact-link",href:kr.getInstance().getContactUrl(this.context.plugin,"refund")},"refund support ticket"),".")))))}}((e,t,n)=>{((e,t,n)=>{t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(Pr,"contextType",G);const Cr=Pr;let Nr=null,Or=[],Tr=null;var Mr=n(333),Lr={};Lr.styleTagTransform=g(),Lr.setAttributes=f(),Lr.insert=c().bind(null,"head"),Lr.domAPI=s(),Lr.insertStyleElement=d(),i()(Mr.Z,Lr),Mr.Z&&Mr.Z.locals&&Mr.Z.locals;var zr=Object.defineProperty,Ar=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,jr=(e,t,n)=>t in e?zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class Fr extends e.Component{constructor(e){super(e)}getFSSdkLoaderBar(){return e.createElement("div",{className:"fs-ajax-loader"},Array.from({length:8}).map(((t,n)=>e.createElement("div",{key:n,className:`fs-ajax-loader-bar fs-ajax-loader-bar-${n+1}`}))))}render(){const t=this.props,{isEmbeddedDashboardMode:n}=t,a=((e,t)=>{var n={};for(var a in e)Ir.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&Ar)for(var a of Ar(e))t.indexOf(a)<0&&qr.call(e,a)&&(n[a]=e[a]);return n})(t,["isEmbeddedDashboardMode"]);return e.createElement("div",((e,t)=>{for(var n in t||(t={}))Ir.call(t,n)&&jr(e,n,t[n]);if(Ar)for(var n of Ar(t))qr.call(t,n)&&jr(e,n,t[n]);return e})({className:"fs-modal fs-modal--loading"},a),e.createElement("section",{className:"fs-modal-content-container"},e.createElement("div",{className:"fs-modal-content"},P(this.props.title)&&e.createElement("span",null,this.props.title),n?this.getFSSdkLoaderBar():e.createElement("i",null))))}}const Dr=Fr;var Rr=Object.defineProperty;class Br extends e.Component{constructor(e){super(e)}render(){let t=this.context.pendingConfirmationTrialPlan,n=this.context.plugin;return e.createElement("div",{className:"fs-modal fs-modal--trial-confirmation"},e.createElement("section",{className:"fs-modal-content-container"},e.createElement("header",{className:"fs-modal-header"},e.createElement("h3",null,"Start Free Trial")),e.createElement("div",{className:"fs-modal-content"},e.createElement("p",null,e.createElement("strong",null,"You are 1-click away from starting your ",t.trial_period,"-day free trial of the ",t.title," plan.")),e.createElement("p",null,"For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the ",n.type," to periodically send data to"," ",e.createElement("a",{href:"https://freemius.com",target:"_blank"},"freemius.com")," ","to check for version updates and to validate your trial.")),e.createElement("div",{className:"fs-modal-footer"},e.createElement("button",{className:"fs-button fs-button--close",onClick:this.props.cancelTrialHandler},"Cancel"),e.createElement("button",{className:"fs-button fs-button--type-primary fs-button--approve-trial",onClick:()=>this.props.startTrialHandler(t.id)},"Approve & Start Trial"))))}}((e,t,n)=>{((e,t,n)=>{t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(Br,"contextType",G);const Ur=Br;var Wr=Object.defineProperty,Hr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable,Qr=(e,t,n)=>t in e?Wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yr=(e,t)=>{for(var n in t||(t={}))$r.call(t,n)&&Qr(e,n,t[n]);if(Hr)for(var n of Hr(t))Vr.call(t,n)&&Qr(e,n,t[n]);return e};class Kr extends e.Component{constructor(e){super(e),this.state={active_installs:0,annualDiscount:0,billingCycles:[],currencies:[],downloads:0,faq:[],firstPaidPlan:null,featuredPlan:null,isActivatingTrial:!1,isPayPalSupported:!1,isNetworkTrial:!1,isTrial:"true"===Xr.trial||!0===Xr.trial,pendingConfirmationTrialPlan:null,plugin:{},plans:[],selectedPlanID:null,reviews:[],selectedBillingCycle:U.getBillingCyclePeriod(Xr.billing_cycle),selectedCurrency:this.getDefaultCurrency(),selectedLicenseQuantity:this.getDefaultLicenseQuantity(),upgradingToPlanID:null,license:Xr.license},this.changeBillingCycle=this.changeBillingCycle.bind(this),this.changeCurrency=this.changeCurrency.bind(this),this.changeLicenses=this.changeLicenses.bind(this),this.changePlan=this.changePlan.bind(this),this.getModuleIcon=this.getModuleIcon.bind(this),this.startTrial=this.startTrial.bind(this),this.toggleRefundPolicyModal=this.toggleRefundPolicyModal.bind(this),this.upgrade=this.upgrade.bind(this)}appendScripts(){let e=null;var t,n,a,r,i;this.hasInstallContext()||(e=document.createElement("script"),e.src=(this.isProduction()?"https://checkout.freemius.com":"http://checkout.freemius-local.com:8080")+"/checkout.js",e.async=!0,document.body.appendChild(e)),this.isSandboxPaymentsMode()||(t=window,n=document,a="script","ga",t.GoogleAnalyticsObject="ga",t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,r=n.createElement(a),i=n.getElementsByTagName(a)[0],r.async=1,r.src="//www.google-analytics.com/analytics.js",i.parentNode.insertBefore(r,i))}changeBillingCycle(e){this.setState({selectedBillingCycle:e.currentTarget.dataset.billingCycle})}changeCurrency(e){this.setState({selectedCurrency:e.currentTarget.value})}changeLicenses(e){let t=e.currentTarget.value,n=this.state.selectedLicenseQuantity;for(let e of this.state.plans)if(!C(e.pricing))for(let a of e.pricing)if(t==a.id){n=a.getLicenses();break}this.setState({selectedLicenseQuantity:n})}changePlan(e){let t=e.target.value?e.target.value:e.target.dataset.planId?e.target.dataset.planId:e.target.parentNode.dataset.planId;e.preventDefault(),this.setState({selectedPlanID:t})}getModuleIcon(){let t="theme"===this.state.plugin.type?x:w;return e.createElement("object",{data:this.state.plugin.icon,className:"fs-plugin-logo",type:"image/png"},e.createElement("img",{src:t,className:"fs-plugin-logo",alt:`${this.state.plugin.type}-logo`}))}componentDidMount(){this.fetchPricingData()}getDefaultCurrency(){return P(Xr.currency)||q[Xr.currency]?Xr.currency:"usd"}getDefaultLicenseQuantity(){return"unlimited"===Xr.licenses?0:S(Xr.licenses)?Xr.licenses:1}getSelectedPlanPricing(e){for(let t of this.state.plans)if(e==t.id)for(let e of t.pricing)if(e.getLicenses()==this.state.selectedLicenseQuantity&&e.currency===this.state.selectedCurrency)return e;return null}hasInstallContext(){return!C(this.state.install)}isDashboardMode(){return"dashboard"===Xr.mode}isEmbeddedDashboardMode(){return!!this.isDashboardMode()&&C(yr.PostMessage.parent_url())}isProduction(){return C(Xr.is_production)?-1===["3000","8080"].indexOf(window.location.port):Xr.is_production}isSandboxPaymentsMode(){return P(Xr.sandbox)&&S(Xr.s_ctx_ts)}startTrial(e){this.setState({isActivatingTrial:!0,upgradingToPlanID:e});let t=this.isEmbeddedDashboardMode()?Xr.request_handler_url:Xr.fs_wp_endpoint_url+"/action/service/subscribe/trial/";hr().request(t,{prev_url:window.location.href,pricing_action:"start_trial",plan_id:e}).then((e=>{if(e.success){this.trackingManager.track("started");const e=yr.PostMessage.parent_url(),t=this.state.plugin.menu_slug+(this.hasInstallContext()?"-account":"");if(P(e))yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(e,{page:t,fs_action:this.state.plugin.unique_affix+"_sync_license",plugin_id:this.state.plugin.id})});else if(P(Xr.next)){let e=Xr.next;this.hasInstallContext()||(e=e.replace(/page=[^&]+/,`page=${t}`)),kr.getInstance().redirect(e)}}this.setState({isActivatingTrial:!1,pendingConfirmationTrialPlan:null,upgradingToPlanID:null})}))}toggleRefundPolicyModal(e){e.preventDefault(),this.setState({showRefundPolicyModal:!this.state.showRefundPolicyModal})}upgrade(e,t){if(!X().isFreePlan(e.pricing)){if(!this.isEmbeddedDashboardMode()){let n=window.FS.Checkout.configure({plugin_id:this.state.plugin.id,public_key:this.state.plugin.public_key,sandbox_token:P(Xr.sandbox_token)?Xr.sandbox_token:null,timestamp:P(Xr.sandbox_token)?Xr.timestamp:null}),a={name:this.state.plugin.title,plan_id:e.id,success:function(e){console.log(e)}};return null!==t?a.pricing_id=t.id:a.licenses=B==this.state.selectedLicenseQuantity?null:this.state.selectedLicenseQuantity,void n.open(a)}if(this.state.isTrial&&!e.requiresSubscription())this.hasInstallContext()?this.startTrial(e.id):C(yr.PostMessage.parent_url())?this.setState({pendingConfirmationTrialPlan:e}):yr.PostMessage.post("start_trial",{plugin_id:this.state.plugin.id,plan_id:e.id,plan_name:e.name,plan_title:e.title,trial_period:e.trial_period});else{null===t&&(t=this.getSelectedPlanPricing(e.id));let n=yr.PostMessage.parent_url(),a=P(n),r=this.state.selectedBillingCycle;if(this.state.skipDirectlyToPayPal){let n={},i=e.trial_period;i>0&&(n.trial_period=i,this.hasInstallContext()&&(n.user_id=this.state.install.user_id));let o={plan_id:e.id,pricing_id:t.id,billing_cycle:r};a?yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(Xr.fs_wp_endpoint_url+"/action/service/paypal/express-checkout/",o)}):(o.prev_url=window.location.href,kr.getInstance().redirect(Xr.fs_wp_endpoint_url+"/action/service/paypal/express-checkout/",o))}else{let i={checkout:"true",plan_id:e.id,plan_name:e.name,billing_cycle:r,pricing_id:t.id,currency:this.state.selectedCurrency};this.state.isTrial&&(i.trial="true"),a?yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(n,Yr(Yr({},i),{page:this.state.plugin.menu_slug+"-pricing"}))}):kr.getInstance().redirect(window.location.href,i)}}}}fetchPricingData(){let e={pricing_action:"fetch_pricing_data",trial:this.state.isTrial,is_sandbox:this.isSandboxPaymentsMode()};hr().request(Xr.request_handler_url,e).then((e=>{var t,n;if(e.data&&(e=e.data),!e.plans)return;let a={},r={},i=!1,o=!1,s=!0,l=!0,c=null,u=null,f=!1,p=!1,d={},m=0,g=X(e.plans),h=0,b=[],y=null,v=this.state.selectedBillingCycle,k=null,_=!1,w="true"===e.trial_mode||!0===e.trial_mode,x="true"===e.trial_utilized||!0===e.trial_utilized;for(let t=0;t<e.plans.length;t++){if(!e.plans.hasOwnProperty(t))continue;if(e.plans[t].is_hidden){e.plans.splice(t,1),t--;continue}h++,e.plans[t]=new z(e.plans[t]);let n=e.plans[t];n.is_featured&&(c=n),C(n.features)&&(n.features=[]);let i=n.pricing;if(C(i))continue;for(let e=0;e<i.length;e++){if(!i.hasOwnProperty(e))continue;i[e]=new U(i[e]);let t=i[e];null!=t.monthly_price&&(a.monthly=!0),null!=t.annual_price&&(a.annual=!0),null!=t.lifetime_price&&(a.lifetime=!0),r[t.currency]=!0;let n=t.getLicenses();d[t.currency]||(d[t.currency]={}),d[t.currency][n]=!0}let f=g.isPaidPlan(i);if(f&&null===u&&(u=n),n.hasEmailSupport()?n.hasSuccessManagerSupport()||(y=n.id):(l=!1,f&&(s=!1)),!o&&n.hasAnySupport()&&(o=!0),f){m++;let e=g.getSingleSitePricing(i,this.state.selectedCurrency);null!==e&&b.push(e)}}if(!w||C(Xr.is_network_admin)||"true"!==Xr.is_network_admin&&!0!==Xr.is_network_admin||(_=!0,w=!1),w){for(let t of e.plans)if(!t.is_hidden&&t.pricing&&!g.isFreePlan(t.pricing)&&t.hasTrial()){k=t;break}null===k&&(w=!1)}null!=a.annual&&(i=!0),null!=a.monthly&&(p=!0),null!=a.lifetime&&(f=!0),C(a[v])&&(v=i?D:p?F:R);let E=new Q(e.plugin),N=yr.PostMessage.parent_url();if(P(Xr.menu_slug))E.menu_slug=Xr.menu_slug;else if(P(N)){let e=kr.getInstance().getQuerystringParam(N,"page");E.menu_slug=e.substring(0,e.length-"-pricing".length)}E.unique_affix=C(Xr.unique_affix)?E.slug+("theme"===E.type?"-theme":""):Xr.unique_affix,this.setState({active_installs:e.active_installs,allPlansSingleSitePrices:e.all_plans_single_site_pricing,annualDiscount:i&&p?g.largestAnnualDiscount(b):0,billingCycles:Object.keys(a),currencies:Object.keys(r),currencySymbols:{usd:"$",eur:"€",gbp:"£"},discountsModel:null!=(n=null==(t=Xr)?void 0:t.discounts_model)?n:"absolute",downloads:e.downloads,hasAnnualCycle:i,hasEmailSupportForAllPaidPlans:s,hasEmailSupportForAllPlans:l,featuredPlan:c,firstPaidPlan:u,hasLifetimePricing:f,hasMonthlyCycle:p,hasPremiumVersion:"true"===e.plugin.has_premium_version||!0===e.plugin.has_premium_version,install:e.install,isPayPalSupported:"true"===e.is_paypal_supported||!0===e.is_paypal_supported,licenseQuantities:d,paidPlansCount:m,paidPlanWithTrial:k,plans:e.plans,plansCount:h,plugin:E,priorityEmailSupportPlanID:y,reviews:e.reviews,selectedBillingCycle:v,skipDirectlyToPayPal:"true"===e.skip_directly_to_paypal||!0===e.skip_directly_to_paypal,isNetworkTrial:_,isTrial:w,trialUtilized:x,showRefundPolicyModal:!1}),this.appendScripts(),this.trackingManager=function(e){return function(e){return null!==Nr||(Or=e,Nr={getTrackingPath:function(e){let t="/"+(Or.isProduction?"":"local/")+"pricing/"+Or.pageMode+"/"+Or.type+"/"+Or.pluginID+"/"+(Or.isTrialMode&&!Or.isPaidTrial?"":"plan/all/billing/"+Or.billingCycle+"/licenses/all/");return Or.isTrialMode?t+=(Or.isPaidTrial?"paid-trial":"trial")+"/":t+="buy/",t+e+".html"},track:function(e){if(!C(window.ga)){null===Tr&&(Tr=window.ga,Tr("create","UA-59907393-2","auto"),null!==Or.uid&&Tr("set","&uid",Or.uid.toString()));try{S(Or.userID)&&Tr("set","userId",Or.userID),Tr("send",{hitType:"pageview",page:this.getTrackingPath(e)})}catch(e){console.log(e)}}}}),Nr}(e)}({billingCycle:U.getBillingCyclePeriod(this.state.selectedBillingCycle),isTrialMode:this.state.isTrial,isSandbox:this.isSandboxPaymentsMode(),isPaidTrial:!1,isProduction:this.isProduction(),pageMode:this.isDashboardMode()?"dashboard":"page",pluginID:this.state.plugin.id,type:this.state.plugin.type,uid:this.hasInstallContext()?this.state.install.id:null,userID:this.hasInstallContext()?this.state.install.user_id:null}),yr.PostMessage.init_child(),yr.PostMessage.postHeight()}))}render(){let t=this.state;if(!t.plugin.id){const t=document.querySelector(Xr.selector).getBoundingClientRect().left;return e.createElement(Dr,{style:{left:t+"px"},isEmbeddedDashboardMode:this.isEmbeddedDashboardMode()})}let n=t.featuredPlan;if(null!==n){let e=!1;for(let a of n.pricing)if(!a.is_hidden&&a.getLicenses()==t.selectedLicenseQuantity&&a.currency==t.selectedCurrency&&a.supportsBillingCycle(t.selectedBillingCycle)){e=!0;break}e||(n=null)}let a=null;if(t.trialUtilized||t.isNetworkTrial){if(t.isNetworkTrial)a="Multisite network level trials are currently not supported. Apologies for the inconvenience.";else if(t.isTrial)a="Trial was already utilized for this site and only enabled for testing purposes since you are running in a sandbox mode.";else{let t=this.state.plugin.main_support_email_address;a=e.createElement(e.Fragment,null,"Sorry, but you have already utilized a trial. Please"," ",e.createElement("a",{href:`mailto:${t}`},"contact us")," if you still want to test the paid version.")}a=e.createElement("div",{className:"fs-trial-message"},a)}return e.createElement(G.Provider,{value:this.state},e.createElement("div",{id:"fs_pricing_app"},a,e.createElement("header",{className:"fs-app-header"},e.createElement("section",{className:"fs-page-title"},e.createElement("h1",null,"Plans and Pricing"),e.createElement("h3",null,"Choose your plan and upgrade in minutes!")),e.createElement("section",{className:"fs-plugin-title-and-logo"},this.getModuleIcon(),e.createElement("h1",null,e.createElement("strong",null,t.plugin.title)))),e.createElement("main",{className:"fs-app-main"},e.createElement(ee,{"fs-section":"plans-and-pricing"},t.annualDiscount>0&&e.createElement(ee,{"fs-section":"annual-discount"},e.createElement("div",{className:"fs-annual-discount"},"Save up to ",t.annualDiscount,"% on Yearly Pricing!")),this.state.isTrial&&e.createElement(ee,{"fs-section":"trial-header"},e.createElement("h2",null,"Start your ",t.paidPlanWithTrial.trial_period,"-day free trial"),e.createElement("h4",null,t.paidPlanWithTrial.requiresSubscription()?`No commitment for ${t.paidPlanWithTrial.trial_period} days - cancel anytime!`:"No credit card required, includes all available features.")),t.billingCycles.length>1&&(!this.state.isTrial||t.paidPlanWithTrial.requiresSubscription())&&e.createElement(ee,{"fs-section":"billing-cycles"},e.createElement(re,{handler:this.changeBillingCycle,billingCycleDescription:this.billingCycleDescription})),t.currencies.length>1&&e.createElement(ee,{"fs-section":"currencies"},e.createElement(se,{handler:this.changeCurrency})),e.createElement(ee,{"fs-section":"packages"},e.createElement(Ya,{changeLicensesHandler:this.changeLicenses,changePlanHandler:this.changePlan,upgradeHandler:this.upgrade})),e.createElement(ee,{"fs-section":"custom-implementation"},e.createElement("h2",null,"Need more sites, custom implementation and dedicated support?"),e.createElement("p",null,"We got you covered!"," ",e.createElement("a",{href:kr.getInstance().getContactUrl(this.state.plugin,"pre_sale_question"),target:"_blank",rel:"noopener noreferrer"},"Click here to contact us")," ","and we'll scope a plan that's tailored to your needs.")),t.plugin.hasRefundPolicy()&&(!this.state.isTrial||!1)&&e.createElement(ee,{"fs-section":"money-back-guarantee"},e.createElement(Cr,{toggleRefundPolicyModal:this.toggleRefundPolicyModal})),e.createElement(ee,{"fs-section":"badges"},e.createElement(Za,{badges:[{key:"fs-badges",src:y,alt:"Secure payments by Freemius - Sell and market freemium and premium WordPress plugins & themes",link:"https://freemius.com/?badge=secure_payments&version=light#utm_source=wpadmin&utm_medium=payments_badge&utm_campaign=pricing_page"},{key:"mcafee",src:v,alt:"McAfee Badge",link:"https://www.mcafeesecure.com/verify?host=freemius.com"},{key:"paypal",src:k,alt:"PayPal Verified Badge"},{key:"comodo",src:_,alt:"Comodo Secure SSL Badge"}]}))),!C(this.state.reviews)&&this.state.reviews.length>0&&e.createElement(ee,{"fs-section":"testimonials"},e.createElement(lr,null)),e.createElement(ee,{"fs-section":"faq"},e.createElement(xr,{toggleRefundPolicyModal:this.toggleRefundPolicyModal}))),t.isActivatingTrial&&e.createElement(Dr,{title:"Activating trial..."}),!t.isActivatingTrial&&null!==t.pendingConfirmationTrialPlan&&e.createElement(Ur,{cancelTrialHandler:()=>this.setState({pendingConfirmationTrialPlan:null}),startTrialHandler:this.startTrial})))}}((e,t,n)=>{Qr(e,t+"",n)})(Kr,"contextType",G);const Zr=Kr;aa.add({prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},{prefix:"fas",iconName:"chevron-left",icon:[320,512,[],"f053","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[],"f061","M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"]},{prefix:"fas",iconName:"chevron-right",icon:[320,512,[],"f054","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]},{prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},{prefix:"far",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"]},{prefix:"fas",iconName:"question-circle",icon:[512,512,[],"f059","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"]},{prefix:"fas",iconName:"quote-left",icon:[512,512,[],"f10d","M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"]},{prefix:"fas",iconName:"star",icon:[576,512,[],"f005","M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"]},{prefix:"fas",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"]});let Xr=null,Gr={new:n=>{Xr=n,t.render(e.createElement(Zr,null),document.querySelector(n.selector))}}})(),a})()}));
     2!function(e,t){"object"==typeof exports&&"object"==typeof module?module.exports=t():"function"==typeof define&&define.amd?define([],t):"object"==typeof exports?exports.Freemius=t():e.Freemius=t()}(self,(function(){return(()=>{var e={487:e=>{var t={utf8:{stringToBytes:function(e){return t.bin.stringToBytes(unescape(encodeURIComponent(e)))},bytesToString:function(e){return decodeURIComponent(escape(t.bin.bytesToString(e)))}},bin:{stringToBytes:function(e){for(var t=[],n=0;n<e.length;n++)t.push(255&e.charCodeAt(n));return t},bytesToString:function(e){for(var t=[],n=0;n<e.length;n++)t.push(String.fromCharCode(e[n]));return t.join("")}}};e.exports=t},12:e=>{var t,n;t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",n={rotl:function(e,t){return e<<t|e>>>32-t},rotr:function(e,t){return e<<32-t|e>>>t},endian:function(e){if(e.constructor==Number)return 16711935&n.rotl(e,8)|4278255360&n.rotl(e,24);for(var t=0;t<e.length;t++)e[t]=n.endian(e[t]);return e},randomBytes:function(e){for(var t=[];e>0;e--)t.push(Math.floor(256*Math.random()));return t},bytesToWords:function(e){for(var t=[],n=0,a=0;n<e.length;n++,a+=8)t[a>>>5]|=e[n]<<24-a%32;return t},wordsToBytes:function(e){for(var t=[],n=0;n<32*e.length;n+=8)t.push(e[n>>>5]>>>24-n%32&255);return t},bytesToHex:function(e){for(var t=[],n=0;n<e.length;n++)t.push((e[n]>>>4).toString(16)),t.push((15&e[n]).toString(16));return t.join("")},hexToBytes:function(e){for(var t=[],n=0;n<e.length;n+=2)t.push(parseInt(e.substr(n,2),16));return t},bytesToBase64:function(e){for(var n=[],a=0;a<e.length;a+=3)for(var r=e[a]<<16|e[a+1]<<8|e[a+2],i=0;i<4;i++)8*a+6*i<=8*e.length?n.push(t.charAt(r>>>6*(3-i)&63)):n.push("=");return n.join("")},base64ToBytes:function(e){e=e.replace(/[^A-Z0-9+\/]/gi,"");for(var n=[],a=0,r=0;a<e.length;r=++a%4)0!=r&&n.push((t.indexOf(e.charAt(a-1))&Math.pow(2,-2*r+8)-1)<<2*r|t.indexOf(e.charAt(a))>>>6-2*r);return n}},e.exports=n},477:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,':root{--fs-ds-blue-10: #f0f6fc;--fs-ds-blue-50: #c5d9ed;--fs-ds-blue-100: #9ec2e6;--fs-ds-blue-200: #72aee6;--fs-ds-blue-300: #4f94d4;--fs-ds-blue-400: #3582c4;--fs-ds-blue-500: #2271b1;--fs-ds-blue-600: #135e96;--fs-ds-blue-700: #0a4b78;--fs-ds-blue-800: #043959;--fs-ds-blue-900: #01263a;--fs-ds-neutral-10: #f0f0f1;--fs-ds-neutral-50: #dcdcde;--fs-ds-neutral-100: #c3c4c7;--fs-ds-neutral-200: #a7aaad;--fs-ds-neutral-300: #8c8f94;--fs-ds-neutral-400: #787c82;--fs-ds-neutral-500: #646970;--fs-ds-neutral-600: #50575e;--fs-ds-neutral-700: #3c434a;--fs-ds-neutral-800: #2c3338;--fs-ds-neutral-900: #1d2327;--fs-ds-neutral-900-fade-60: rgba(29, 35, 39, .6);--fs-ds-neutral-900-fade-92: rgba(29, 35, 39, .08);--fs-ds-green-10: #b8e6bf;--fs-ds-green-100: #68de7c;--fs-ds-green-200: #1ed14b;--fs-ds-green-300: #00ba37;--fs-ds-green-400: #00a32a;--fs-ds-green-500: #008a20;--fs-ds-green-600: #007017;--fs-ds-green-700: #005c12;--fs-ds-green-800: #00450c;--fs-ds-green-900: #003008;--fs-ds-red-10: #facfd2;--fs-ds-red-100: #ffabaf;--fs-ds-red-200: #ff8085;--fs-ds-red-300: #f86368;--fs-ds-red-400: #e65054;--fs-ds-red-500: #d63638;--fs-ds-red-600: #b32d2e;--fs-ds-red-700: #8a2424;--fs-ds-red-800: #691c1c;--fs-ds-red-900: #451313;--fs-ds-yellow-10: #fcf9e8;--fs-ds-yellow-100: #f2d675;--fs-ds-yellow-200: #f0c33c;--fs-ds-yellow-300: #dba617;--fs-ds-yellow-400: #bd8600;--fs-ds-yellow-500: #996800;--fs-ds-yellow-600: #755100;--fs-ds-yellow-700: #614200;--fs-ds-yellow-800: #4a3200;--fs-ds-yellow-900: #362400;--fs-ds-white-10: #ffffff}#fs_pricing_app,#fs_pricing_wrapper{--fs-ds-theme-primary-accent-color: var(--fs-ds-blue-500);--fs-ds-theme-primary-accent-color-hover: var(--fs-ds-blue-600);--fs-ds-theme-primary-green-color: var(--fs-ds-green-500);--fs-ds-theme-primary-red-color: var(--fs-ds-red-500);--fs-ds-theme-primary-yellow-color: var(--fs-ds-yellow-500);--fs-ds-theme-error-color: var(--fs-ds-theme-primary-red-color);--fs-ds-theme-success-color: var(--fs-ds-theme-primary-green-color);--fs-ds-theme-warn-color: var(--fs-ds-theme-primary-yellow-color);--fs-ds-theme-background-color: var(--fs-ds-white-10);--fs-ds-theme-background-shade: var(--fs-ds-neutral-10);--fs-ds-theme-background-accented: var(--fs-ds-neutral-50);--fs-ds-theme-background-hover: var(--fs-ds-neutral-200);--fs-ds-theme-background-overlay: var(--fs-ds-neutral-900-fade-60);--fs-ds-theme-background-dark: var(--fs-ds-neutral-800);--fs-ds-theme-background-darkest: var(--fs-ds-neutral-900);--fs-ds-theme-text-color: var(--fs-ds-neutral-900);--fs-ds-theme-heading-text-color: var(--fs-ds-neutral-800);--fs-ds-theme-muted-text-color: var(--fs-ds-neutral-600);--fs-ds-theme-dark-background-text-color: var(--fs-ds-white-10);--fs-ds-theme-dark-background-muted-text-color: var(--fs-ds-neutral-300);--fs-ds-theme-divider-color: var(--fs-ds-theme-background-accented);--fs-ds-theme-border-color: var(--fs-ds-neutral-100);--fs-ds-theme-button-background-color: var(--fs-ds-neutral-50);--fs-ds-theme-button-background-hover-color: var(--fs-ds-neutral-200);--fs-ds-theme-button-text-color: var(--fs-ds-theme-heading-text-color);--fs-ds-theme-button-border-color: var(--fs-ds-neutral-300);--fs-ds-theme-button-border-hover-color: var(--fs-ds-neutral-600);--fs-ds-theme-button-border-focus-color: var(--fs-ds-blue-400);--fs-ds-theme-button-primary-background-color: var(--fs-ds-theme-primary-accent-color);--fs-ds-theme-button-primary-background-hover-color: var(--fs-ds-theme-primary-accent-color-hover);--fs-ds-theme-button-primary-text-color: var(--fs-ds-white-10);--fs-ds-theme-button-primary-border-color: var(--fs-ds-blue-800);--fs-ds-theme-button-primary-border-hover-color: var(--fs-ds-blue-900);--fs-ds-theme-button-primary-border-focus-color: var(--fs-ds-blue-100);--fs-ds-theme-button-disabled-border-color: var(--fs-ds-neutral-100);--fs-ds-theme-button-disabled-background-color: var(--fs-ds-neutral-50);--fs-ds-theme-button-disabled-text-color: var(--fs-ds-neutral-300);--fs-ds-theme-notice-warn-background: var(--fs-ds-yellow-10);--fs-ds-theme-notice-warn-color: var(--fs-ds-yellow-900);--fs-ds-theme-notice-warn-border: var(--fs-ds-theme-warn-color);--fs-ds-theme-notice-info-background: var(--fs-ds-theme-background-shade);--fs-ds-theme-notice-info-color: var(--fs-ds-theme-primary-accent-color-hover);--fs-ds-theme-notice-info-border: var(--fs-ds-theme-primary-accent-color);--fs-ds-theme-package-popular-background: var(--fs-ds-blue-200);--fs-ds-theme-testimonial-star-color: var(--fs-ds-yellow-300)}#fs_pricing.fs-full-size-wrapper{margin-top:0}#root,#fs_pricing_app{background:var(--fs-ds-theme-background-shade);color:var(--fs-ds-theme-text-color);height:auto;line-height:normal;font-size:13px;margin:0}#root h1,#root h2,#root h3,#root h4,#root ul,#root blockquote,#fs_pricing_app h1,#fs_pricing_app h2,#fs_pricing_app h3,#fs_pricing_app h4,#fs_pricing_app ul,#fs_pricing_app blockquote{margin:0;padding:0;text-align:center;color:var(--fs-ds-theme-heading-text-color)}#root h1,#fs_pricing_app h1{font-size:2.5em}#root h2,#fs_pricing_app h2{font-size:1.5em}#root h3,#fs_pricing_app h3{font-size:1.2em}#root ul,#fs_pricing_app ul{list-style-type:none}#root p,#fs_pricing_app p{font-size:.9em}#root p,#root blockquote,#fs_pricing_app p,#fs_pricing_app blockquote{color:var(--fs-ds-theme-text-color)}#root strong,#fs_pricing_app strong{font-weight:700}#root li,#root dd,#fs_pricing_app li,#fs_pricing_app dd{margin:0}#root .fs-app-header .fs-page-title,#fs_pricing_app .fs-app-header .fs-page-title{margin:0 0 15px;text-align:left;display:flex;flex-flow:row wrap;gap:10px;align-items:center;padding:20px 15px 10px}#root .fs-app-header .fs-page-title h1,#fs_pricing_app .fs-app-header .fs-page-title h1{font-size:18px;margin:0}#root .fs-app-header .fs-page-title h3,#fs_pricing_app .fs-app-header .fs-page-title h3{margin:0;font-size:14px;padding:4px 8px;font-weight:400;border-radius:4px;background-color:var(--fs-ds-theme-background-accented);color:var(--fs-ds-theme-muted-text-color)}#root .fs-app-header .fs-plugin-title-and-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo{margin:0 15px;background:var(--fs-ds-theme-background-color);padding:12px 0;border:1px solid var(--fs-ds-theme-divider-color);border-radius:4px;text-align:center}#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#root .fs-app-header .fs-plugin-title-and-logo h1,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo h1{display:inline-block;vertical-align:middle;margin:0 10px}#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo{width:48px;height:48px;border-radius:4px}@media screen and (min-width: 601px){#root .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo,#fs_pricing_app .fs-app-header .fs-plugin-title-and-logo .fs-plugin-logo{width:64px;height:64px}}#root .fs-trial-message,#fs_pricing_app .fs-trial-message{padding:20px;background:var(--fs-ds-theme-notice-warn-background);color:var(--fs-ds-theme-notice-warn-color);font-weight:700;text-align:center;border-top:1px solid var(--fs-ds-theme-notice-warn-border);border-bottom:1px solid var(--fs-ds-theme-notice-warn-border);font-size:1.2em;box-sizing:border-box;margin:0 0 5px}#root .fs-app-main,#fs_pricing_app .fs-app-main{text-align:center}#root .fs-app-main .fs-section,#fs_pricing_app .fs-app-main .fs-section{margin:auto;display:block}#root .fs-app-main .fs-section .fs-section-header,#fs_pricing_app .fs-app-main .fs-section .fs-section-header{font-weight:700}#root .fs-app-main>.fs-section,#fs_pricing_app .fs-app-main>.fs-section{padding:20px;margin:4em auto 0}#root .fs-app-main>.fs-section:nth-child(even),#fs_pricing_app .fs-app-main>.fs-section:nth-child(even){background:var(--fs-ds-theme-background-color)}#root .fs-app-main>.fs-section>header,#fs_pricing_app .fs-app-main>.fs-section>header{margin:0 0 3em}#root .fs-app-main>.fs-section>header h2,#fs_pricing_app .fs-app-main>.fs-section>header h2{margin:0;font-size:2.5em}#root .fs-app-main .fs-section--plans-and-pricing,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing{padding:20px;margin-top:0}#root .fs-app-main .fs-section--plans-and-pricing>.fs-section,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing>.fs-section{margin:1.5em auto 0}#root .fs-app-main .fs-section--plans-and-pricing>.fs-section:first-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing>.fs-section:first-child{margin-top:0}#root .fs-app-main .fs-section--plans-and-pricing .fs-annual-discount,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-annual-discount{font-weight:700;font-size:small}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header{text-align:center;background:var(--fs-ds-theme-background-color);padding:20px;border-radius:5px;box-sizing:border-box;max-width:945px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h2,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h2{margin-bottom:10px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h4,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--trial-header h4{font-weight:400}#root .fs-app-main .fs-section--plans-and-pricing .fs-currencies,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-currencies{border-color:var(--fs-ds-theme-button-border-color)}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles{display:inline-block;vertical-align:middle;padding:0 10px;width:auto}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles{overflow:hidden}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li{border:1px solid var(--fs-ds-theme-border-color);border-right-width:0;display:inline-block;font-weight:700;margin:0;padding:10px;cursor:pointer}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:first-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:first-child{border-radius:20px 0 0 20px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:last-child,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li:last-child{border-radius:0 20px 20px 0;border-right-width:1px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li.fs-selected-billing-cycle,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--billing-cycles .fs-billing-cycles li.fs-selected-billing-cycle{background:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color-hover)}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation{padding:15px;background:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-divider-color);border-radius:4px;box-sizing:border-box;max-width:945px;margin:0 auto}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation h2,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation h2{margin-bottom:10px;font-weight:700}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation p,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--custom-implementation p{font-size:small;margin:0}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee{max-width:857px;margin:30px auto;position:relative}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-title,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-title{color:var(--fs-ds-theme-heading-text-color);font-weight:700;margin-bottom:15px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-message,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee .fs-money-back-guarantee-message{font-size:small;line-height:20px;margin-bottom:15px;padding:0 15px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee img,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--money-back-guarantee img{position:absolute;width:90px;top:50%;right:0;margin-top:-45px}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge{display:inline-block;vertical-align:middle;position:relative;box-shadow:none;background:transparent}#root .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge+.fs-badge,#fs_pricing_app .fs-app-main .fs-section--plans-and-pricing .fs-section--badges .fs-badge+.fs-badge{margin-left:20px;margin-top:13px}#root .fs-app-main .fs-section--testimonials,#fs_pricing_app .fs-app-main .fs-section--testimonials{border-top:1px solid var(--fs-ds-theme-border-color);border-bottom:1px solid var(--fs-ds-theme-border-color);padding:3em 4em 4em}#root .fs-app-main .fs-section--testimonials .fs-section-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-section-header{margin-left:-30px;margin-right:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav{margin:auto;display:block;width:auto;position:relative}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next{top:50%;border:1px solid var(--fs-ds-theme-border-color);border-radius:14px;cursor:pointer;margin-top:11px;position:absolute}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev .fs-icon,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next .fs-icon,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev .fs-icon,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next .fs-icon{display:inline-block;height:1em;width:1em;line-height:1em;color:var(--fs-ds-theme-muted-text-color);padding:5px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-prev{margin-left:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-nav.fs-nav-next{right:-30px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials-track,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials-track{margin:auto;overflow:hidden;position:relative;display:block;padding-top:45px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials{width:10000px;display:block;position:relative;transition:left .5s ease,right .5s ease}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{float:left;font-size:small;position:relative;width:340px;box-sizing:border-box;margin:0}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{box-sizing:border-box}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-rating,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-rating{color:var(--fs-ds-theme-testimonial-star-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{background:var(--fs-ds-theme-background-color);padding:10px;margin:0 2em;border:1px solid var(--fs-ds-theme-divider-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial>section{border-radius:0 0 8px 8px;border-top:0 none}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header{border-bottom:0 none;border-radius:8px 8px 0 0}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo{border:1px solid var(--fs-ds-theme-divider-color);border-radius:44px;padding:5px;background:var(--fs-ds-theme-background-color);width:76px;height:76px;position:relative;margin-top:-54px;left:50%;margin-left:-44px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo object,#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo img,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo object,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header .fs-testimonial-logo img{max-width:100%;border-radius:40px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header h4,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-header h4{margin:15px 0 6px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-icon-quote,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-icon-quote{color:var(--fs-ds-theme-muted-text-color)}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-message,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-message{line-height:18px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author{margin-top:30px;margin-bottom:10px}#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author .fs-testimonial-author-name,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial .fs-testimonial-author .fs-testimonial-author-name{font-weight:700;margin-bottom:2px;color:var(--fs-ds-theme-text-color)}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination{margin:4em 0 0;position:relative}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li{position:relative;display:inline-block;margin:0 8px}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button{cursor:pointer;border:1px solid var(--fs-ds-theme-border-color);vertical-align:middle;display:inline-block;line-height:0;width:8px;height:8px;padding:0;color:transparent;outline:none;border-radius:4px;overflow:hidden}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button span,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li button.fs-round-button span{display:inline-block;width:100%;height:100%;background:var(--fs-ds-theme-background-shade)}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button{border:0 none}#root .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button.fs-round-button span,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination li.selected button.fs-round-button span{background:var(--fs-ds-theme-background-accented)}#root .fs-app-main .fs-section--faq,#fs_pricing_app .fs-app-main .fs-section--faq{background:var(--fs-ds-theme-background-shade)}#root .fs-app-main .fs-section--faq .fs-section--faq-items,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items{max-width:945px;margin:0 auto;box-sizing:border-box;text-align:left;columns:2;column-gap:20px}@media only screen and (max-width: 600px){#root .fs-app-main .fs-section--faq .fs-section--faq-items,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items{columns:1}}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item{width:100%;display:inline-block;vertical-align:top;margin:0 0 20px;overflow:hidden}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p{margin:0;text-align:left}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item h3{background:var(--fs-ds-theme-background-dark);color:var(--fs-ds-theme-dark-background-text-color);padding:15px;font-weight:700;border:1px solid var(--fs-ds-theme-background-darkest);border-bottom:0 none;border-radius:4px 4px 0 0}#root .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p,#fs_pricing_app .fs-app-main .fs-section--faq .fs-section--faq-items .fs-section--faq-item p{background:var(--fs-ds-theme-background-color);font-size:small;padding:15px;line-height:20px;border:1px solid var(--fs-ds-theme-border-color);border-top:0 none;border-radius:0 0 4px 4px}#root .fs-button,#fs_pricing_app .fs-button{background:var(--fs-ds-theme-button-background-color);color:var(--fs-ds-theme-button-text-color);padding:12px 10px;display:inline-block;text-transform:uppercase;font-weight:700;font-size:18px;width:100%;border-radius:4px;border:0 none;cursor:pointer;transition:background .2s ease-out,border-bottom-color .2s ease-out}#root .fs-button:focus:not(:disabled),#fs_pricing_app .fs-button:focus:not(:disabled){box-shadow:0 0 0 1px var(--fs-ds-theme-button-border-focus-color)}#root .fs-button:hover:not(:disabled),#root .fs-button:focus:not(:disabled),#root .fs-button:active:not(:disabled),#fs_pricing_app .fs-button:hover:not(:disabled),#fs_pricing_app .fs-button:focus:not(:disabled),#fs_pricing_app .fs-button:active:not(:disabled){will-change:background,border;background:var(--fs-ds-theme-button-background-hover-color)}#root .fs-button.fs-button--outline,#fs_pricing_app .fs-button.fs-button--outline{padding-top:11px;padding-bottom:11px;background:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-button-border-color)}#root .fs-button.fs-button--outline:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:focus:not(:disabled){background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-button-border-focus-color)}#root .fs-button.fs-button--outline:hover:not(:disabled),#root .fs-button.fs-button--outline:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--outline:active:not(:disabled){background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-button-border-hover-color)}#root .fs-button.fs-button--type-primary,#fs_pricing_app .fs-button.fs-button--type-primary{background-color:var(--fs-ds-theme-button-primary-background-color);color:var(--fs-ds-theme-button-primary-text-color);border-color:var(--fs-ds-theme-button-primary-border-color)}#root .fs-button.fs-button--type-primary:focus:not(:disabled),#root .fs-button.fs-button--type-primary:hover:not(:disabled),#root .fs-button.fs-button--type-primary:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary:active:not(:disabled){background-color:var(--fs-ds-theme-button-primary-background-hover-color);border-color:var(--fs-ds-theme-button-primary-border-hover-color)}#root .fs-button.fs-button--type-primary.fs-button--outline,#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline{background-color:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color);border:1px solid var(--fs-ds-theme-button-primary-border-color)}#root .fs-button.fs-button--type-primary.fs-button--outline:focus:not(:disabled),#root .fs-button.fs-button--type-primary.fs-button--outline:hover:not(:disabled),#root .fs-button.fs-button--type-primary.fs-button--outline:active:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:focus:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:hover:not(:disabled),#fs_pricing_app .fs-button.fs-button--type-primary.fs-button--outline:active:not(:disabled){background-color:var(--fs-ds-theme-background-shade);color:var(--fs-ds-theme-button-primary-background-hover-color);border-color:var(--fs-ds-theme-primary-accent-color-hover)}#root .fs-button:disabled,#fs_pricing_app .fs-button:disabled{cursor:not-allowed;background-color:var(--fs-ds-theme-button-disabled-background-color);color:var(--fs-ds-theme-button-disabled-text-color);border-color:var(--fs-ds-theme-button-disabled-border-color)}#root .fs-button.fs-button--size-small,#fs_pricing_app .fs-button.fs-button--size-small{font-size:14px;width:auto}#root .fs-placeholder:before,#fs_pricing_app .fs-placeholder:before{content:"";display:inline-block}@media only screen and (max-width: 768px){#root .fs-app-main .fs-section--testimonials .fs-nav-pagination,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-nav-pagination{display:none!important}#root .fs-app-main .fs-section>header h2,#fs_pricing_app .fs-app-main .fs-section>header h2{font-size:1.5em}}@media only screen and (max-width: 455px){#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{width:auto}#root .fs-app-main .fs-section--billing-cycles .fs-billing-cycles li.fs-period--annual span,#fs_pricing_app .fs-app-main .fs-section--billing-cycles .fs-billing-cycles li.fs-period--annual span{display:none}}@media only screen and (max-width: 375px){#root .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial,#fs_pricing_app .fs-app-main .fs-section--testimonials .fs-testimonials-nav .fs-testimonials .fs-testimonial{width:auto}}\n',""]);const s=o},333:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,"#fs_pricing_app .fs-modal,#fs_pricing_wrapper .fs-modal,#fs_pricing_wrapper #fs_pricing_app .fs-modal{position:fixed;inset:0;z-index:1000;zoom:1;text-align:left;display:block!important}#fs_pricing_app .fs-modal .fs-modal-content-container,#fs_pricing_wrapper .fs-modal .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container{display:block;position:absolute;left:50%;background:var(--fs-ds-theme-background-color);box-shadow:0 0 8px 2px #0000004d}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header{background:var(--fs-ds-theme-primary-accent-color);padding:15px}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header h3,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-header .fs-modal-close{color:var(--fs-ds-theme-background-color)}#fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal .fs-modal-content-container .fs-modal-content{font-size:1.2em}#fs_pricing_app .fs-modal--loading,#fs_pricing_wrapper .fs-modal--loading,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading{background-color:#0000004d}#fs_pricing_app .fs-modal--loading .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container{width:220px;margin-left:-126px;padding:15px;border:1px solid var(--fs-ds-theme-divider-color);text-align:center;top:50%}#fs_pricing_app .fs-modal--loading .fs-modal-content-container span,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container span,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container span{display:block;font-weight:700;font-size:16px;text-align:center;color:var(--fs-ds-theme-primary-accent-color);margin-bottom:10px}#fs_pricing_app .fs-modal--loading .fs-modal-content-container .fs-ajax-loader,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container .fs-ajax-loader,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container .fs-ajax-loader{width:160px}#fs_pricing_app .fs-modal--loading .fs-modal-content-container i,#fs_pricing_wrapper .fs-modal--loading .fs-modal-content-container i,#fs_pricing_wrapper #fs_pricing_app .fs-modal--loading .fs-modal-content-container i{display:block;width:128px;margin:0 auto;height:15px;background:url(//img.freemius.com/blue-loader.gif)}#fs_pricing_app .fs-modal--refund-policy,#fs_pricing_app .fs-modal--trial-confirmation,#fs_pricing_wrapper .fs-modal--refund-policy,#fs_pricing_wrapper .fs-modal--trial-confirmation,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation{background:rgba(0,0,0,.7)}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container{width:510px;margin-left:-255px;top:20%}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-header .fs-modal-close,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-header .fs-modal-close{line-height:24px;font-size:24px;position:absolute;top:-12px;right:-12px;cursor:pointer}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-content,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-content{height:100%;padding:1px 15px}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer{padding:10px;text-align:right;border-top:1px solid var(--fs-ds-theme-border-color);background:var(--fs-ds-theme-background-shade)}#fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper #fs_pricing_app .fs-modal--refund-policy .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-modal-content-container .fs-modal-footer .fs-button--approve-trial{margin:0 7px}#fs_pricing_app .fs-modal--trial-confirmation .fs-button,#fs_pricing_wrapper .fs-modal--trial-confirmation .fs-button,#fs_pricing_wrapper #fs_pricing_app .fs-modal--trial-confirmation .fs-button{width:auto;font-size:13px}\n",""]);const s=o},267:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-package,#fs_pricing_app .fs-package{display:inline-block;vertical-align:top;background:var(--fs-ds-theme-dark-background-text-color);border-bottom:3px solid var(--fs-ds-theme-border-color);width:315px;box-sizing:border-box}#root .fs-package:first-child,#root .fs-package+.fs-package,#fs_pricing_app .fs-package:first-child,#fs_pricing_app .fs-package+.fs-package{border-left:1px solid var(--fs-ds-theme-divider-color)}#root .fs-package:last-child,#fs_pricing_app .fs-package:last-child{border-right:1px solid var(--fs-ds-theme-divider-color)}#root .fs-package:not(.fs-featured-plan):first-child,#fs_pricing_app .fs-package:not(.fs-featured-plan):first-child{border-top-left-radius:10px}#root .fs-package:not(.fs-featured-plan):first-child .fs-plan-title,#fs_pricing_app .fs-package:not(.fs-featured-plan):first-child .fs-plan-title{border-top-left-radius:9px}#root .fs-package:not(.fs-featured-plan):last-child,#fs_pricing_app .fs-package:not(.fs-featured-plan):last-child{border-top-right-radius:10px}#root .fs-package:not(.fs-featured-plan):last-child .fs-plan-title,#fs_pricing_app .fs-package:not(.fs-featured-plan):last-child .fs-plan-title{border-top-right-radius:9px}#root .fs-package .fs-package-content,#fs_pricing_app .fs-package .fs-package-content{vertical-align:middle;padding-bottom:30px}#root .fs-package .fs-plan-title,#fs_pricing_app .fs-package .fs-plan-title{padding:10px 0;background:var(--fs-ds-theme-background-shade);text-transform:uppercase;border-bottom:1px solid var(--fs-ds-theme-divider-color);border-top:1px solid var(--fs-ds-theme-divider-color);width:100%;text-align:center}#root .fs-package .fs-plan-title:last-child,#fs_pricing_app .fs-package .fs-plan-title:last-child{border-right:none}#root .fs-package .fs-plan-description,#root .fs-package .fs-undiscounted-price,#root .fs-package .fs-licenses,#root .fs-package .fs-upgrade-button,#root .fs-package .fs-plan-features,#fs_pricing_app .fs-package .fs-plan-description,#fs_pricing_app .fs-package .fs-undiscounted-price,#fs_pricing_app .fs-package .fs-licenses,#fs_pricing_app .fs-package .fs-upgrade-button,#fs_pricing_app .fs-package .fs-plan-features{margin-top:10px}#root .fs-package .fs-plan-description,#fs_pricing_app .fs-package .fs-plan-description{text-transform:uppercase}#root .fs-package .fs-undiscounted-price,#fs_pricing_app .fs-package .fs-undiscounted-price{margin:auto;position:relative;display:inline-block;color:var(--fs-ds-theme-muted-text-color);top:6px}#root .fs-package .fs-undiscounted-price:after,#fs_pricing_app .fs-package .fs-undiscounted-price:after{display:block;content:"";position:absolute;height:1px;background-color:var(--fs-ds-theme-error-color);left:-4px;right:-4px;top:50%;transform:translateY(-50%) skewY(1deg)}#root .fs-package .fs-selected-pricing-amount,#fs_pricing_app .fs-package .fs-selected-pricing-amount{margin:5px 0}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol{font-size:39px}#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer{font-size:58px;margin:0 5px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container{display:inline-block;vertical-align:middle}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol:not(.fs-selected-pricing-amount-integer),#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer:not(.fs-selected-pricing-amount-integer),#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer:not(.fs-selected-pricing-amount-integer),#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container:not(.fs-selected-pricing-amount-integer){line-height:18px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle{display:block;font-size:12px}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-fraction,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-fraction{vertical-align:top}#root .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-currency-symbol .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-integer .fs-selected-pricing-amount-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container .fs-selected-pricing-amount-cycle{vertical-align:bottom}#root .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container,#fs_pricing_app .fs-package .fs-selected-pricing-amount .fs-selected-pricing-amount-fraction-container{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-amount-free,#fs_pricing_app .fs-package .fs-selected-pricing-amount-free{font-size:48px}#root .fs-package .fs-selected-pricing-cycle,#fs_pricing_app .fs-package .fs-selected-pricing-cycle{margin-bottom:5px;text-transform:uppercase;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-license-quantity,#fs_pricing_app .fs-package .fs-selected-pricing-license-quantity{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-selected-pricing-license-quantity .fs-tooltip,#fs_pricing_app .fs-package .fs-selected-pricing-license-quantity .fs-tooltip{margin-left:5px}#root .fs-package .fs-upgrade-button-container,#fs_pricing_app .fs-package .fs-upgrade-button-container{padding:0 13px;display:block}#root .fs-package .fs-upgrade-button-container .fs-upgrade-button,#fs_pricing_app .fs-package .fs-upgrade-button-container .fs-upgrade-button{margin-top:20px;margin-bottom:5px}#root .fs-package .fs-plan-features,#fs_pricing_app .fs-package .fs-plan-features{text-align:left;margin-left:13px}#root .fs-package .fs-plan-features li,#fs_pricing_app .fs-package .fs-plan-features li{font-size:16px;display:flex;margin-bottom:8px}#root .fs-package .fs-plan-features li:not(:first-child),#fs_pricing_app .fs-package .fs-plan-features li:not(:first-child){margin-top:8px}#root .fs-package .fs-plan-features li>span,#root .fs-package .fs-plan-features li .fs-tooltip,#fs_pricing_app .fs-package .fs-plan-features li>span,#fs_pricing_app .fs-package .fs-plan-features li .fs-tooltip{font-size:small;vertical-align:middle;display:inline-block}#root .fs-package .fs-plan-features li .fs-feature-title,#fs_pricing_app .fs-package .fs-plan-features li .fs-feature-title{margin:0 5px;color:var(--fs-ds-theme-muted-text-color);max-width:260px;overflow-wrap:break-word}#root .fs-package .fs-support-and-main-features,#fs_pricing_app .fs-package .fs-support-and-main-features{margin-top:12px;padding-top:18px;padding-bottom:18px;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-support-and-main-features .fs-plan-support,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-support{margin-bottom:15px}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li{font-size:small}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li .fs-feature-title,#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li .fs-feature-title{margin:0 2px}#root .fs-package .fs-support-and-main-features .fs-plan-features-with-value li:not(:first-child),#fs_pricing_app .fs-package .fs-support-and-main-features .fs-plan-features-with-value li:not(:first-child){margin-top:5px}#root .fs-package .fs-plan-features-with-value,#fs_pricing_app .fs-package .fs-plan-features-with-value{color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-license-quantities,#fs_pricing_app .fs-package .fs-license-quantities{border-collapse:collapse;position:relative;width:100%}#root .fs-package .fs-license-quantities,#root .fs-package .fs-license-quantities input,#fs_pricing_app .fs-package .fs-license-quantities,#fs_pricing_app .fs-package .fs-license-quantities input{cursor:pointer}#root .fs-package .fs-license-quantities .fs-license-quantity-discount span,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount span{background-color:var(--fs-ds-theme-background-color);border:1px solid var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-primary-accent-color);display:inline;padding:4px 8px;border-radius:4px;font-weight:700;margin:0 5px;white-space:nowrap}#root .fs-package .fs-license-quantities .fs-license-quantity-discount span.fs-license-quantity-no-discount,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount span.fs-license-quantity-no-discount{visibility:hidden}#root .fs-package .fs-license-quantities .fs-license-quantity-container,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container{line-height:30px;border-top:1px solid var(--fs-ds-theme-background-shade);font-size:small;color:var(--fs-ds-theme-muted-text-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container:last-child,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container:last-child{border-bottom:1px solid var(--fs-ds-theme-background-shade)}#root .fs-package .fs-license-quantities .fs-license-quantity-container:last-child.fs-license-quantity-selected,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container:last-child.fs-license-quantity-selected{border-bottom-color:var(--fs-ds-theme-divider-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected{background:var(--fs-ds-theme-background-shade);border-color:var(--fs-ds-theme-divider-color);color:var(--fs-ds-theme-text-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected+.fs-license-quantity-container,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container.fs-license-quantity-selected+.fs-license-quantity-container{border-top-color:var(--fs-ds-theme-divider-color)}#root .fs-package .fs-license-quantities .fs-license-quantity-container>td:not(.fs-license-quantity-discount):not(.fs-license-quantity-price),#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-container>td:not(.fs-license-quantity-discount):not(.fs-license-quantity-price){text-align:left}#root .fs-package .fs-license-quantities .fs-license-quantity,#root .fs-package .fs-license-quantities .fs-license-quantity-discount,#root .fs-package .fs-license-quantities .fs-license-quantity-price,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-discount,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-price{vertical-align:middle}#root .fs-package .fs-license-quantities .fs-license-quantity,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity{position:relative;white-space:nowrap}#root .fs-package .fs-license-quantities .fs-license-quantity input,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity input{position:relative;margin-top:-1px;margin-left:7px;margin-right:7px}#root .fs-package .fs-license-quantities .fs-license-quantity-price,#fs_pricing_app .fs-package .fs-license-quantities .fs-license-quantity-price{position:relative;margin-right:auto;padding-right:7px;white-space:nowrap;font-variant-numeric:tabular-nums;text-align:right}#root .fs-package.fs-free-plan .fs-license-quantity-container:not(:last-child),#fs_pricing_app .fs-package.fs-free-plan .fs-license-quantity-container:not(:last-child){border-color:transparent}#root .fs-package .fs-most-popular,#fs_pricing_app .fs-package .fs-most-popular{display:none}#root .fs-package.fs-featured-plan .fs-most-popular,#fs_pricing_app .fs-package.fs-featured-plan .fs-most-popular{display:block;line-height:2.8em;margin-top:-2.8em;border-radius:10px 10px 0 0;color:var(--fs-ds-theme-text-color);background:var(--fs-ds-theme-package-popular-background);text-transform:uppercase;font-size:14px}#root .fs-package.fs-featured-plan .fs-plan-title,#fs_pricing_app .fs-package.fs-featured-plan .fs-plan-title{color:var(--fs-ds-theme-dark-background-text-color);background:var(--fs-ds-theme-primary-accent-color);border-top-color:var(--fs-ds-theme-primary-accent-color);border-bottom-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-selected-pricing-license-quantity,#fs_pricing_app .fs-package.fs-featured-plan .fs-selected-pricing-license-quantity{color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantity-discount span,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantity-discount span{background:var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-dark-background-text-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected{background:var(--fs-ds-theme-primary-accent-color);border-color:var(--fs-ds-theme-primary-accent-color);color:var(--fs-ds-theme-dark-background-text-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected+.fs-license-quantity-container,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected+.fs-license-quantity-container{border-top-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected:last-child,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected:last-child{border-bottom-color:var(--fs-ds-theme-primary-accent-color)}#root .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected .fs-license-quantity-discount span,#fs_pricing_app .fs-package.fs-featured-plan .fs-license-quantities .fs-license-quantity-selected .fs-license-quantity-discount span{background:var(--fs-ds-theme-background-color);color:var(--fs-ds-theme-primary-accent-color-hover)}\n',""]);const s=o},700:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-section--packages,#fs_pricing_app .fs-section--packages{display:inline-block;width:100%;position:relative}#root .fs-section--packages .fs-packages-menu,#fs_pricing_app .fs-section--packages .fs-packages-menu{display:none;flex-wrap:wrap;justify-content:center}#root .fs-section--packages .fs-packages-tab,#fs_pricing_app .fs-section--packages .fs-packages-tab{display:none}#root .fs-section--packages .fs-package-tab,#fs_pricing_app .fs-section--packages .fs-package-tab{display:inline-block;flex:1}#root .fs-section--packages .fs-package-tab a,#fs_pricing_app .fs-section--packages .fs-package-tab a{display:block;padding:4px 10px 7px;border-bottom:2px solid transparent;color:#000;text-align:center;text-decoration:none}#root .fs-section--packages .fs-package-tab.fs-package-tab--selected a,#fs_pricing_app .fs-section--packages .fs-package-tab.fs-package-tab--selected a{border-color:#0085ba}#root .fs-section--packages .fs-packages-nav,#fs_pricing_app .fs-section--packages .fs-packages-nav{position:relative;overflow:hidden;margin:auto}#root .fs-section--packages .fs-packages-nav:before,#root .fs-section--packages .fs-packages-nav:after,#fs_pricing_app .fs-section--packages .fs-packages-nav:before,#fs_pricing_app .fs-section--packages .fs-packages-nav:after{position:absolute;top:0;bottom:0;width:60px;margin-bottom:32px}#root .fs-section--packages .fs-packages-nav:before,#fs_pricing_app .fs-section--packages .fs-packages-nav:before{z-index:1}#root .fs-section--packages .fs-packages-nav.fs-has-previous-plan:before,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-previous-plan:before{content:"";left:0;background:linear-gradient(to right,#cccccc96,transparent)}#root .fs-section--packages .fs-packages-nav.fs-has-next-plan:after,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-next-plan:after{content:"";right:0;background:linear-gradient(to left,#cccccc96,transparent)}#root .fs-section--packages .fs-packages-nav.fs-has-featured-plan:before,#root .fs-section--packages .fs-packages-nav.fs-has-featured-plan:after,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-featured-plan:before,#fs_pricing_app .fs-section--packages .fs-packages-nav.fs-has-featured-plan:after{top:2.8em}#root .fs-section--packages .fs-prev-package,#root .fs-section--packages .fs-next-package,#fs_pricing_app .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--packages .fs-next-package{position:absolute;top:50%;margin-top:-11px;cursor:pointer;font-size:48px;z-index:1}#root .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--packages .fs-prev-package{visibility:hidden;z-index:2}#root .fs-section--packages .fs-has-featured-plan .fs-packages,#fs_pricing_app .fs-section--packages .fs-has-featured-plan .fs-packages{margin-top:2.8em}#root .fs-section--packages .fs-packages,#fs_pricing_app .fs-section--packages .fs-packages{width:auto;display:flex;flex-direction:row;margin-left:auto;margin-right:auto;margin-bottom:30px;border-top-right-radius:10px;position:relative;transition:left .5s ease,right .5s ease;padding-top:5px}#root .fs-section--packages .fs-packages:before,#fs_pricing_app .fs-section--packages .fs-packages:before{content:"";position:absolute;top:0;right:0;bottom:0;width:100px;height:100px}@media only screen and (max-width: 768px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-next-package,#root .fs-section--plans-and-pricing .fs-section--packages .fs-prev-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-next-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-prev-package{display:none}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages-menu,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages-menu{display:block;font-size:24px;margin:0 auto 10px}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages-tab,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages-tab{display:flex;font-size:18px;margin:0 auto 10px}#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-most-popular,#root .fs-section--plans-and-pricing .fs-section--packages .fs-package .fs-most-popular,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-most-popular,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-package .fs-most-popular{display:none}#root .fs-section--plans-and-pricing .fs-section--packages .fs-has-featured-plan .fs-packages,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-has-featured-plan .fs-packages{margin-top:0}}@media only screen and (max-width: 455px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package{width:100%}#root .fs-section--plans-and-pricing,#fs_pricing_app .fs-section--plans-and-pricing{padding:10px}}@media only screen and (max-width: 375px){#root .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package,#fs_pricing_app .fs-section--plans-and-pricing .fs-section--packages .fs-packages .fs-package{width:100%}}\n',""]);const s=o},302:(e,t,n)=>{"use strict";n.d(t,{Z:()=>s});var a=n(81),r=n.n(a),i=n(645),o=n.n(i)()(r());o.push([e.id,'#root .fs-tooltip,#fs_pricing_app .fs-tooltip{cursor:help;position:relative;color:inherit}#root .fs-tooltip .fs-tooltip-message,#fs_pricing_app .fs-tooltip .fs-tooltip-message{position:absolute;width:200px;background:var(--fs-ds-theme-background-darkest);z-index:1;display:none;border-radius:4px;color:var(--fs-ds-theme-dark-background-text-color);padding:8px;text-align:left;line-height:18px}#root .fs-tooltip .fs-tooltip-message:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message:before{content:"";position:absolute;z-index:1}#root .fs-tooltip .fs-tooltip-message:not(.fs-tooltip-message--position-none),#fs_pricing_app .fs-tooltip .fs-tooltip-message:not(.fs-tooltip-message--position-none){display:block}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right{transform:translateY(-50%);left:30px;top:8px}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-right:before{left:-8px;top:50%;margin-top:-6px;border-top:6px solid transparent;border-bottom:6px solid transparent;border-right:8px solid var(--fs-ds-theme-background-darkest)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top{left:50%;bottom:30px;transform:translate(-50%)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top:before{left:50%;bottom:-8px;margin-left:-6px;border-right:6px solid transparent;border-left:6px solid transparent;border-top:8px solid var(--fs-ds-theme-background-darkest)}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right{right:-10px;bottom:30px}#root .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right:before,#fs_pricing_app .fs-tooltip .fs-tooltip-message.fs-tooltip-message--position-top-right:before{right:10px;bottom:-8px;margin-left:-6px;border-right:6px solid transparent;border-left:6px solid transparent;border-top:8px solid var(--fs-ds-theme-background-darkest)}\n',""]);const s=o},645:e=>{"use strict";e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",a=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),a&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),a&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,a,r,i){"string"==typeof e&&(e=[[null,e,void 0]]);var o={};if(a)for(var s=0;s<this.length;s++){var l=this[s][0];null!=l&&(o[l]=!0)}for(var c=0;c<e.length;c++){var u=[].concat(e[c]);a&&o[u[0]]||(void 0!==i&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=i),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),r&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=r):u[4]="".concat(r)),t.push(u))}},t}},81:e=>{"use strict";e.exports=function(e){return e[1]}},867:(e,t,n)=>{let a=document.getElementById("fs_pricing_wrapper");a&&a.dataset&&a.dataset.publicUrl&&(n.p=a.dataset.publicUrl)},738:e=>{function t(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}e.exports=function(e){return null!=e&&(t(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&t(e.slice(0,0))}(e)||!!e._isBuffer)}},568:(e,t,n)=>{var a,r,i,o,s;a=n(12),r=n(487).utf8,i=n(738),o=n(487).bin,(s=function(e,t){e.constructor==String?e=t&&"binary"===t.encoding?o.stringToBytes(e):r.stringToBytes(e):i(e)?e=Array.prototype.slice.call(e,0):Array.isArray(e)||e.constructor===Uint8Array||(e=e.toString());for(var n=a.bytesToWords(e),l=8*e.length,c=1732584193,u=-271733879,f=-1732584194,p=271733878,d=0;d<n.length;d++)n[d]=16711935&(n[d]<<8|n[d]>>>24)|4278255360&(n[d]<<24|n[d]>>>8);n[l>>>5]|=128<<l%32,n[14+(l+64>>>9<<4)]=l;var m=s._ff,g=s._gg,h=s._hh,b=s._ii;for(d=0;d<n.length;d+=16){var y=c,v=u,k=f,_=p;c=m(c,u,f,p,n[d+0],7,-680876936),p=m(p,c,u,f,n[d+1],12,-389564586),f=m(f,p,c,u,n[d+2],17,606105819),u=m(u,f,p,c,n[d+3],22,-1044525330),c=m(c,u,f,p,n[d+4],7,-176418897),p=m(p,c,u,f,n[d+5],12,1200080426),f=m(f,p,c,u,n[d+6],17,-1473231341),u=m(u,f,p,c,n[d+7],22,-45705983),c=m(c,u,f,p,n[d+8],7,1770035416),p=m(p,c,u,f,n[d+9],12,-1958414417),f=m(f,p,c,u,n[d+10],17,-42063),u=m(u,f,p,c,n[d+11],22,-1990404162),c=m(c,u,f,p,n[d+12],7,1804603682),p=m(p,c,u,f,n[d+13],12,-40341101),f=m(f,p,c,u,n[d+14],17,-1502002290),c=g(c,u=m(u,f,p,c,n[d+15],22,1236535329),f,p,n[d+1],5,-165796510),p=g(p,c,u,f,n[d+6],9,-1069501632),f=g(f,p,c,u,n[d+11],14,643717713),u=g(u,f,p,c,n[d+0],20,-373897302),c=g(c,u,f,p,n[d+5],5,-701558691),p=g(p,c,u,f,n[d+10],9,38016083),f=g(f,p,c,u,n[d+15],14,-660478335),u=g(u,f,p,c,n[d+4],20,-405537848),c=g(c,u,f,p,n[d+9],5,568446438),p=g(p,c,u,f,n[d+14],9,-1019803690),f=g(f,p,c,u,n[d+3],14,-187363961),u=g(u,f,p,c,n[d+8],20,1163531501),c=g(c,u,f,p,n[d+13],5,-1444681467),p=g(p,c,u,f,n[d+2],9,-51403784),f=g(f,p,c,u,n[d+7],14,1735328473),c=h(c,u=g(u,f,p,c,n[d+12],20,-1926607734),f,p,n[d+5],4,-378558),p=h(p,c,u,f,n[d+8],11,-2022574463),f=h(f,p,c,u,n[d+11],16,1839030562),u=h(u,f,p,c,n[d+14],23,-35309556),c=h(c,u,f,p,n[d+1],4,-1530992060),p=h(p,c,u,f,n[d+4],11,1272893353),f=h(f,p,c,u,n[d+7],16,-155497632),u=h(u,f,p,c,n[d+10],23,-1094730640),c=h(c,u,f,p,n[d+13],4,681279174),p=h(p,c,u,f,n[d+0],11,-358537222),f=h(f,p,c,u,n[d+3],16,-722521979),u=h(u,f,p,c,n[d+6],23,76029189),c=h(c,u,f,p,n[d+9],4,-640364487),p=h(p,c,u,f,n[d+12],11,-421815835),f=h(f,p,c,u,n[d+15],16,530742520),c=b(c,u=h(u,f,p,c,n[d+2],23,-995338651),f,p,n[d+0],6,-198630844),p=b(p,c,u,f,n[d+7],10,1126891415),f=b(f,p,c,u,n[d+14],15,-1416354905),u=b(u,f,p,c,n[d+5],21,-57434055),c=b(c,u,f,p,n[d+12],6,1700485571),p=b(p,c,u,f,n[d+3],10,-1894986606),f=b(f,p,c,u,n[d+10],15,-1051523),u=b(u,f,p,c,n[d+1],21,-2054922799),c=b(c,u,f,p,n[d+8],6,1873313359),p=b(p,c,u,f,n[d+15],10,-30611744),f=b(f,p,c,u,n[d+6],15,-1560198380),u=b(u,f,p,c,n[d+13],21,1309151649),c=b(c,u,f,p,n[d+4],6,-145523070),p=b(p,c,u,f,n[d+11],10,-1120210379),f=b(f,p,c,u,n[d+2],15,718787259),u=b(u,f,p,c,n[d+9],21,-343485551),c=c+y>>>0,u=u+v>>>0,f=f+k>>>0,p=p+_>>>0}return a.endian([c,u,f,p])})._ff=function(e,t,n,a,r,i,o){var s=e+(t&n|~t&a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._gg=function(e,t,n,a,r,i,o){var s=e+(t&a|n&~a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._hh=function(e,t,n,a,r,i,o){var s=e+(t^n^a)+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._ii=function(e,t,n,a,r,i,o){var s=e+(n^(t|~a))+(r>>>0)+o;return(s<<i|s>>>32-i)+t},s._blocksize=16,s._digestsize=16,e.exports=function(e,t){if(null==e)throw new Error("Illegal argument "+e);var n=a.wordsToBytes(s(e,t));return t&&t.asBytes?n:t&&t.asString?o.bytesToString(n):a.bytesToHex(n)}},418:e=>{"use strict";var t=Object.getOwnPropertySymbols,n=Object.prototype.hasOwnProperty,a=Object.prototype.propertyIsEnumerable;function r(e){if(null==e)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(e)}e.exports=function(){try{if(!Object.assign)return!1;var e=new String("abc");if(e[5]="de","5"===Object.getOwnPropertyNames(e)[0])return!1;for(var t={},n=0;n<10;n++)t["_"+String.fromCharCode(n)]=n;if("0123456789"!==Object.getOwnPropertyNames(t).map((function(e){return t[e]})).join(""))return!1;var a={};return"abcdefghijklmnopqrst".split("").forEach((function(e){a[e]=e})),"abcdefghijklmnopqrst"===Object.keys(Object.assign({},a)).join("")}catch(e){return!1}}()?Object.assign:function(e,i){for(var o,s,l=r(e),c=1;c<arguments.length;c++){for(var u in o=Object(arguments[c]))n.call(o,u)&&(l[u]=o[u]);if(t){s=t(o);for(var f=0;f<s.length;f++)a.call(o,s[f])&&(l[s[f]]=o[s[f]])}}return l}},703:(e,t,n)=>{"use strict";var a=n(414);function r(){}function i(){}i.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,i,o){if(o!==a){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:r};return n.PropTypes=n,n}},697:(e,t,n)=>{e.exports=n(703)()},414:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},448:(e,t,n)=>{"use strict";var a=n(294),r=n(418),i=n(840);function o(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}if(!a)throw Error(o(227));var s=new Set,l={};function c(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(l[e]=t,e=0;e<t.length;e++)s.add(t[e])}var f=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),p=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d=Object.prototype.hasOwnProperty,m={},g={};function h(e,t,n,a,r,i,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=a,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=o}var b={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){b[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];b[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){b[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){b[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){b[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){b[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){b[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){b[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){b[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var y=/[\-:]([a-z])/g;function v(e){return e[1].toUpperCase()}function k(e,t,n,a){var r=b.hasOwnProperty(t)?b[t]:null;(null!==r?0===r.type:!a&&2<t.length&&("o"===t[0]||"O"===t[0])&&("n"===t[1]||"N"===t[1]))||(function(e,t,n,a){if(null==t||function(e,t,n,a){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!a&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,a))return!0;if(a)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,r,a)&&(n=null),a||null===r?function(e){return!!d.call(g,e)||!d.call(m,e)&&(p.test(e)?g[e]=!0:(m[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):r.mustUseProperty?e[r.propertyName]=null===n?3!==r.type&&"":n:(t=r.attributeName,a=r.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(r=r.type)||4===r&&!0===n?"":""+n,a?e.setAttributeNS(a,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(y,v);b[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),b.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){b[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var _=a.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,w=60103,x=60106,E=60107,S=60108,P=60114,C=60109,N=60110,O=60112,T=60113,M=60120,L=60115,z=60116,A=60121,I=60128,q=60129,j=60130,F=60131;if("function"==typeof Symbol&&Symbol.for){var D=Symbol.for;w=D("react.element"),x=D("react.portal"),E=D("react.fragment"),S=D("react.strict_mode"),P=D("react.profiler"),C=D("react.provider"),N=D("react.context"),O=D("react.forward_ref"),T=D("react.suspense"),M=D("react.suspense_list"),L=D("react.memo"),z=D("react.lazy"),A=D("react.block"),D("react.scope"),I=D("react.opaque.id"),q=D("react.debug_trace_mode"),j=D("react.offscreen"),F=D("react.legacy_hidden")}var R,B="function"==typeof Symbol&&Symbol.iterator;function U(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=B&&e[B]||e["@@iterator"])?e:null}function W(e){if(void 0===R)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);R=t&&t[1]||""}return"\n"+R+e}var H=!1;function $(e,t){if(!e||H)return"";H=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var a=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){a=e}e.call(t.prototype)}else{try{throw Error()}catch(e){a=e}e()}}catch(e){if(e&&a&&"string"==typeof e.stack){for(var r=e.stack.split("\n"),i=a.stack.split("\n"),o=r.length-1,s=i.length-1;1<=o&&0<=s&&r[o]!==i[s];)s--;for(;1<=o&&0<=s;o--,s--)if(r[o]!==i[s]){if(1!==o||1!==s)do{if(o--,0>--s||r[o]!==i[s])return"\n"+r[o].replace(" at new "," at ")}while(1<=o&&0<=s);break}}}finally{H=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?W(e):""}function V(e){switch(e.tag){case 5:return W(e.type);case 16:return W("Lazy");case 13:return W("Suspense");case 19:return W("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 22:return $(e.type._render,!1);case 1:return $(e.type,!0);default:return""}}function Q(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case E:return"Fragment";case x:return"Portal";case P:return"Profiler";case S:return"StrictMode";case T:return"Suspense";case M:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case N:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return t=t.displayName||t.name||"",e.displayName||(""!==t?"ForwardRef("+t+")":"ForwardRef");case L:return Q(e.type);case A:return Q(e._render);case z:t=e._payload,e=e._init;try{return Q(e(t))}catch(e){}}return null}function Y(e){switch(typeof e){case"boolean":case"number":case"object":case"string":case"undefined":return e;default:return""}}function K(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=K(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),a=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var r=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return r.call(this)},set:function(e){a=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(e){a=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function X(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),a="";return e&&(a=K(e)?e.checked?"true":"false":e.value),(e=a)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function J(e,t){var n=t.checked;return r({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function ee(e,t){var n=null==t.defaultValue?"":t.defaultValue,a=null!=t.checked?t.checked:t.defaultChecked;n=Y(null!=t.value?t.value:n),e._wrapperState={initialChecked:a,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function te(e,t){null!=(t=t.checked)&&k(e,"checked",t,!1)}function ne(e,t){te(e,t);var n=Y(t.value),a=t.type;if(null!=n)"number"===a?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===a||"reset"===a)return void e.removeAttribute("value");t.hasOwnProperty("value")?re(e,t.type,n):t.hasOwnProperty("defaultValue")&&re(e,t.type,Y(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function ae(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var a=t.type;if(!("submit"!==a&&"reset"!==a||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function re(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}function ie(e,t){return e=r({children:void 0},t),(t=function(e){var t="";return a.Children.forEach(e,(function(e){null!=e&&(t+=e)})),t}(t.children))&&(e.children=t),e}function oe(e,t,n,a){if(e=e.options,t){t={};for(var r=0;r<n.length;r++)t["$"+n[r]]=!0;for(n=0;n<e.length;n++)r=t.hasOwnProperty("$"+e[n].value),e[n].selected!==r&&(e[n].selected=r),r&&a&&(e[n].defaultSelected=!0)}else{for(n=""+Y(n),t=null,r=0;r<e.length;r++){if(e[r].value===n)return e[r].selected=!0,void(a&&(e[r].defaultSelected=!0));null!==t||e[r].disabled||(t=e[r])}null!==t&&(t.selected=!0)}}function se(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(o(91));return r({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function le(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(o(92));if(Array.isArray(n)){if(!(1>=n.length))throw Error(o(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:Y(n)}}function ce(e,t){var n=Y(t.value),a=Y(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=a&&(e.defaultValue=""+a)}function ue(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}var fe="http://www.w3.org/1999/xhtml";function pe(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function de(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?pe(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var me,ge,he=(ge=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((me=me||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=me.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,a){MSApp.execUnsafeLocalFunction((function(){return ge(e,t)}))}:ge);function be(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var ye={animationIterationCount:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},ve=["Webkit","ms","Moz","O"];function ke(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||ye.hasOwnProperty(e)&&ye[e]?(""+t).trim():t+"px"}function _e(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var a=0===n.indexOf("--"),r=ke(n,t[n],a);"float"===n&&(n="cssFloat"),a?e.setProperty(n,r):e[n]=r}}Object.keys(ye).forEach((function(e){ve.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),ye[t]=ye[e]}))}));var we=r({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function xe(e,t){if(t){if(we[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(o(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(o(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(o(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(o(62))}}function Ee(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}function Se(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var Pe=null,Ce=null,Ne=null;function Oe(e){if(e=nr(e)){if("function"!=typeof Pe)throw Error(o(280));var t=e.stateNode;t&&(t=rr(t),Pe(e.stateNode,e.type,t))}}function Te(e){Ce?Ne?Ne.push(e):Ne=[e]:Ce=e}function Me(){if(Ce){var e=Ce,t=Ne;if(Ne=Ce=null,Oe(e),t)for(e=0;e<t.length;e++)Oe(t[e])}}function Le(e,t){return e(t)}function ze(e,t,n,a,r){return e(t,n,a,r)}function Ae(){}var Ie=Le,qe=!1,je=!1;function Fe(){null===Ce&&null===Ne||(Ae(),Me())}function De(e,t){var n=e.stateNode;if(null===n)return null;var a=rr(n);if(null===a)return null;n=a[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(a=!a.disabled)||(a=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!a;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(o(231,t,typeof n));return n}var Re=!1;if(f)try{var Be={};Object.defineProperty(Be,"passive",{get:function(){Re=!0}}),window.addEventListener("test",Be,Be),window.removeEventListener("test",Be,Be)}catch(ge){Re=!1}function Ue(e,t,n,a,r,i,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var We=!1,He=null,$e=!1,Ve=null,Qe={onError:function(e){We=!0,He=e}};function Ye(e,t,n,a,r,i,o,s,l){We=!1,He=null,Ue.apply(Qe,arguments)}function Ke(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(1026&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ze(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Xe(e){if(Ke(e)!==e)throw Error(o(188))}function Ge(e){if(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ke(e)))throw Error(o(188));return t!==e?null:e}for(var n=e,a=t;;){var r=n.return;if(null===r)break;var i=r.alternate;if(null===i){if(null!==(a=r.return)){n=a;continue}break}if(r.child===i.child){for(i=r.child;i;){if(i===n)return Xe(r),e;if(i===a)return Xe(r),t;i=i.sibling}throw Error(o(188))}if(n.return!==a.return)n=r,a=i;else{for(var s=!1,l=r.child;l;){if(l===n){s=!0,n=r,a=i;break}if(l===a){s=!0,a=r,n=i;break}l=l.sibling}if(!s){for(l=i.child;l;){if(l===n){s=!0,n=i,a=r;break}if(l===a){s=!0,a=i,n=r;break}l=l.sibling}if(!s)throw Error(o(189))}}if(n.alternate!==a)throw Error(o(190))}if(3!==n.tag)throw Error(o(188));return n.stateNode.current===n?e:t}(e),!e)return null;for(var t=e;;){if(5===t.tag||6===t.tag)return t;if(t.child)t.child.return=t,t=t.child;else{if(t===e)break;for(;!t.sibling;){if(!t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}}return null}function Je(e,t){for(var n=e.alternate;null!==t;){if(t===e||t===n)return!0;t=t.return}return!1}var et,tt,nt,at,rt=!1,it=[],ot=null,st=null,lt=null,ct=new Map,ut=new Map,ft=[],pt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function dt(e,t,n,a,r){return{blockedOn:e,domEventName:t,eventSystemFlags:16|n,nativeEvent:r,targetContainers:[a]}}function mt(e,t){switch(e){case"focusin":case"focusout":ot=null;break;case"dragenter":case"dragleave":st=null;break;case"mouseover":case"mouseout":lt=null;break;case"pointerover":case"pointerout":ct.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":ut.delete(t.pointerId)}}function gt(e,t,n,a,r,i){return null===e||e.nativeEvent!==i?(e=dt(t,n,a,r,i),null!==t&&null!==(t=nr(t))&&tt(t),e):(e.eventSystemFlags|=a,t=e.targetContainers,null!==r&&-1===t.indexOf(r)&&t.push(r),e)}function ht(e){var t=tr(e.target);if(null!==t){var n=Ke(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ze(n)))return e.blockedOn=t,void at(e.lanePriority,(function(){i.unstable_runWithPriority(e.priority,(function(){nt(n)}))}))}else if(3===t&&n.stateNode.hydrate)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function bt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=nr(n))&&tt(t),e.blockedOn=n,!1;t.shift()}return!0}function yt(e,t,n){bt(e)&&n.delete(t)}function vt(){for(rt=!1;0<it.length;){var e=it[0];if(null!==e.blockedOn){null!==(e=nr(e.blockedOn))&&et(e);break}for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n){e.blockedOn=n;break}t.shift()}null===e.blockedOn&&it.shift()}null!==ot&&bt(ot)&&(ot=null),null!==st&&bt(st)&&(st=null),null!==lt&&bt(lt)&&(lt=null),ct.forEach(yt),ut.forEach(yt)}function kt(e,t){e.blockedOn===t&&(e.blockedOn=null,rt||(rt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,vt)))}function _t(e){function t(t){return kt(t,e)}if(0<it.length){kt(it[0],e);for(var n=1;n<it.length;n++){var a=it[n];a.blockedOn===e&&(a.blockedOn=null)}}for(null!==ot&&kt(ot,e),null!==st&&kt(st,e),null!==lt&&kt(lt,e),ct.forEach(t),ut.forEach(t),n=0;n<ft.length;n++)(a=ft[n]).blockedOn===e&&(a.blockedOn=null);for(;0<ft.length&&null===(n=ft[0]).blockedOn;)ht(n),null===n.blockedOn&&ft.shift()}function wt(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xt={animationend:wt("Animation","AnimationEnd"),animationiteration:wt("Animation","AnimationIteration"),animationstart:wt("Animation","AnimationStart"),transitionend:wt("Transition","TransitionEnd")},Et={},St={};function Pt(e){if(Et[e])return Et[e];if(!xt[e])return e;var t,n=xt[e];for(t in n)if(n.hasOwnProperty(t)&&t in St)return Et[e]=n[t];return e}f&&(St=document.createElement("div").style,"AnimationEvent"in window||(delete xt.animationend.animation,delete xt.animationiteration.animation,delete xt.animationstart.animation),"TransitionEvent"in window||delete xt.transitionend.transition);var Ct=Pt("animationend"),Nt=Pt("animationiteration"),Ot=Pt("animationstart"),Tt=Pt("transitionend"),Mt=new Map,Lt=new Map,zt=["abort","abort",Ct,"animationEnd",Nt,"animationIteration",Ot,"animationStart","canplay","canPlay","canplaythrough","canPlayThrough","durationchange","durationChange","emptied","emptied","encrypted","encrypted","ended","ended","error","error","gotpointercapture","gotPointerCapture","load","load","loadeddata","loadedData","loadedmetadata","loadedMetadata","loadstart","loadStart","lostpointercapture","lostPointerCapture","playing","playing","progress","progress","seeking","seeking","stalled","stalled","suspend","suspend","timeupdate","timeUpdate",Tt,"transitionEnd","waiting","waiting"];function At(e,t){for(var n=0;n<e.length;n+=2){var a=e[n],r=e[n+1];r="on"+(r[0].toUpperCase()+r.slice(1)),Lt.set(a,t),Mt.set(a,r),c(r,[a])}}(0,i.unstable_now)();var It=8;function qt(e){if(0!=(1&e))return It=15,1;if(0!=(2&e))return It=14,2;if(0!=(4&e))return It=13,4;var t=24&e;return 0!==t?(It=12,t):0!=(32&e)?(It=11,32):0!=(t=192&e)?(It=10,t):0!=(256&e)?(It=9,256):0!=(t=3584&e)?(It=8,t):0!=(4096&e)?(It=7,4096):0!=(t=4186112&e)?(It=6,t):0!=(t=62914560&e)?(It=5,t):67108864&e?(It=4,67108864):0!=(134217728&e)?(It=3,134217728):0!=(t=805306368&e)?(It=2,t):0!=(1073741824&e)?(It=1,1073741824):(It=8,e)}function jt(e,t){var n=e.pendingLanes;if(0===n)return It=0;var a=0,r=0,i=e.expiredLanes,o=e.suspendedLanes,s=e.pingedLanes;if(0!==i)a=i,r=It=15;else if(0!=(i=134217727&n)){var l=i&~o;0!==l?(a=qt(l),r=It):0!=(s&=i)&&(a=qt(s),r=It)}else 0!=(i=n&~o)?(a=qt(i),r=It):0!==s&&(a=qt(s),r=It);if(0===a)return 0;if(a=n&((0>(a=31-Wt(a))?0:1<<a)<<1)-1,0!==t&&t!==a&&0==(t&o)){if(qt(t),r<=It)return t;It=r}if(0!==(t=e.entangledLanes))for(e=e.entanglements,t&=a;0<t;)r=1<<(n=31-Wt(t)),a|=e[n],t&=~r;return a}function Ft(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function Dt(e,t){switch(e){case 15:return 1;case 14:return 2;case 12:return 0===(e=Rt(24&~t))?Dt(10,t):e;case 10:return 0===(e=Rt(192&~t))?Dt(8,t):e;case 8:return 0===(e=Rt(3584&~t))&&0===(e=Rt(4186112&~t))&&(e=512),e;case 2:return 0===(t=Rt(805306368&~t))&&(t=268435456),t}throw Error(o(358,e))}function Rt(e){return e&-e}function Bt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function Ut(e,t,n){e.pendingLanes|=t;var a=t-1;e.suspendedLanes&=a,e.pingedLanes&=a,(e=e.eventTimes)[t=31-Wt(t)]=n}var Wt=Math.clz32?Math.clz32:function(e){return 0===e?32:31-(Ht(e)/$t|0)|0},Ht=Math.log,$t=Math.LN2,Vt=i.unstable_UserBlockingPriority,Qt=i.unstable_runWithPriority,Yt=!0;function Kt(e,t,n,a){qe||Ae();var r=Xt,i=qe;qe=!0;try{ze(r,e,t,n,a)}finally{(qe=i)||Fe()}}function Zt(e,t,n,a){Qt(Vt,Xt.bind(null,e,t,n,a))}function Xt(e,t,n,a){var r;if(Yt)if((r=0==(4&t))&&0<it.length&&-1<pt.indexOf(e))e=dt(null,e,t,n,a),it.push(e);else{var i=Gt(e,t,n,a);if(null===i)r&&mt(e,a);else{if(r){if(-1<pt.indexOf(e))return e=dt(i,e,t,n,a),void it.push(e);if(function(e,t,n,a,r){switch(t){case"focusin":return ot=gt(ot,e,t,n,a,r),!0;case"dragenter":return st=gt(st,e,t,n,a,r),!0;case"mouseover":return lt=gt(lt,e,t,n,a,r),!0;case"pointerover":var i=r.pointerId;return ct.set(i,gt(ct.get(i)||null,e,t,n,a,r)),!0;case"gotpointercapture":return i=r.pointerId,ut.set(i,gt(ut.get(i)||null,e,t,n,a,r)),!0}return!1}(i,e,t,n,a))return;mt(e,a)}Aa(e,t,a,null,n)}}}function Gt(e,t,n,a){var r=Se(a);if(null!==(r=tr(r))){var i=Ke(r);if(null===i)r=null;else{var o=i.tag;if(13===o){if(null!==(r=Ze(i)))return r;r=null}else if(3===o){if(i.stateNode.hydrate)return 3===i.tag?i.stateNode.containerInfo:null;r=null}else i!==r&&(r=null)}}return Aa(e,t,a,r,n),null}var Jt=null,en=null,tn=null;function nn(){if(tn)return tn;var e,t,n=en,a=n.length,r="value"in Jt?Jt.value:Jt.textContent,i=r.length;for(e=0;e<a&&n[e]===r[e];e++);var o=a-e;for(t=1;t<=o&&n[a-t]===r[i-t];t++);return tn=r.slice(e,1<t?1-t:void 0)}function an(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function rn(){return!0}function on(){return!1}function sn(e){function t(t,n,a,r,i){for(var o in this._reactName=t,this._targetInst=a,this.type=n,this.nativeEvent=r,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(r):r[o]);return this.isDefaultPrevented=(null!=r.defaultPrevented?r.defaultPrevented:!1===r.returnValue)?rn:on,this.isPropagationStopped=on,this}return r(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=rn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=rn)},persist:function(){},isPersistent:rn}),t}var ln,cn,un,fn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},pn=sn(fn),dn=r({},fn,{view:0,detail:0}),mn=sn(dn),gn=r({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(ln=e.screenX-un.screenX,cn=e.screenY-un.screenY):cn=ln=0,un=e),ln)},movementY:function(e){return"movementY"in e?e.movementY:cn}}),hn=sn(gn),bn=sn(r({},gn,{dataTransfer:0})),yn=sn(r({},dn,{relatedTarget:0})),vn=sn(r({},fn,{animationName:0,elapsedTime:0,pseudoElement:0})),kn=r({},fn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),_n=sn(kn),wn=sn(r({},fn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},En={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Pn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return Pn}var Nn=r({},dn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=an(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?En[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?an(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?an(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=sn(Nn),Tn=sn(r({},gn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Mn=sn(r({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Ln=sn(r({},fn,{propertyName:0,elapsedTime:0,pseudoElement:0})),zn=r({},gn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=sn(zn),In=[9,13,27,32],qn=f&&"CompositionEvent"in window,jn=null;f&&"documentMode"in document&&(jn=document.documentMode);var Fn=f&&"TextEvent"in window&&!jn,Dn=f&&(!qn||jn&&8<jn&&11>=jn),Rn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==In.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Wn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,$n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Vn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Qn(e,t,n,a){Te(a),0<(t=qa(t,"onChange")).length&&(n=new pn("onChange","change",null,n,a),e.push({event:n,listeners:t}))}var Yn=null,Kn=null;function Zn(e){Na(e,0)}function Xn(e){if(X(ar(e)))return e}function Gn(e,t){if("change"===e)return t}var Jn=!1;if(f){var ea;if(f){var ta="oninput"in document;if(!ta){var na=document.createElement("div");na.setAttribute("oninput","return;"),ta="function"==typeof na.oninput}ea=ta}else ea=!1;Jn=ea&&(!document.documentMode||9<document.documentMode)}function aa(){Yn&&(Yn.detachEvent("onpropertychange",ra),Kn=Yn=null)}function ra(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];if(Qn(t,Kn,e,Se(e)),e=Zn,qe)e(t);else{qe=!0;try{Le(e,t)}finally{qe=!1,Fe()}}}}function ia(e,t,n){"focusin"===e?(aa(),Kn=n,(Yn=t).attachEvent("onpropertychange",ra)):"focusout"===e&&aa()}function oa(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function sa(e,t){if("click"===e)return Xn(t)}function la(e,t){if("input"===e||"change"===e)return Xn(t)}var ca="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},ua=Object.prototype.hasOwnProperty;function fa(e,t){if(ca(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),a=Object.keys(t);if(n.length!==a.length)return!1;for(a=0;a<n.length;a++)if(!ua.call(t,n[a])||!ca(e[n[a]],t[n[a]]))return!1;return!0}function pa(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function da(e,t){var n,a=pa(e);for(e=0;a;){if(3===a.nodeType){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=pa(a)}}function ma(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?ma(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function ga(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function ha(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}var ba=f&&"documentMode"in document&&11>=document.documentMode,ya=null,va=null,ka=null,_a=!1;function wa(e,t,n){var a=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;_a||null==ya||ya!==G(a)||(a="selectionStart"in(a=ya)&&ha(a)?{start:a.selectionStart,end:a.selectionEnd}:{anchorNode:(a=(a.ownerDocument&&a.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:a.anchorOffset,focusNode:a.focusNode,focusOffset:a.focusOffset},ka&&fa(ka,a)||(ka=a,0<(a=qa(va,"onSelect")).length&&(t=new pn("onSelect","select",null,t,n),e.push({event:t,listeners:a}),t.target=ya)))}At("cancel cancel click click close close contextmenu contextMenu copy copy cut cut auxclick auxClick dblclick doubleClick dragend dragEnd dragstart dragStart drop drop focusin focus focusout blur input input invalid invalid keydown keyDown keypress keyPress keyup keyUp mousedown mouseDown mouseup mouseUp paste paste pause pause play play pointercancel pointerCancel pointerdown pointerDown pointerup pointerUp ratechange rateChange reset reset seeked seeked submit submit touchcancel touchCancel touchend touchEnd touchstart touchStart volumechange volumeChange".split(" "),0),At("drag drag dragenter dragEnter dragexit dragExit dragleave dragLeave dragover dragOver mousemove mouseMove mouseout mouseOut mouseover mouseOver pointermove pointerMove pointerout pointerOut pointerover pointerOver scroll scroll toggle toggle touchmove touchMove wheel wheel".split(" "),1),At(zt,2);for(var xa="change selectionchange textInput compositionstart compositionend compositionupdate".split(" "),Ea=0;Ea<xa.length;Ea++)Lt.set(xa[Ea],0);u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),c("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),c("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),c("onBeforeInput",["compositionend","keypress","textInput","paste"]),c("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),c("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Sa="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Pa=new Set("cancel close invalid load scroll toggle".split(" ").concat(Sa));function Ca(e,t,n){var a=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,a,r,i,s,l,c){if(Ye.apply(this,arguments),We){if(!We)throw Error(o(198));var u=He;We=!1,He=null,$e||($e=!0,Ve=u)}}(a,t,void 0,e),e.currentTarget=null}function Na(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var a=e[n],r=a.event;a=a.listeners;e:{var i=void 0;if(t)for(var o=a.length-1;0<=o;o--){var s=a[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==i&&r.isPropagationStopped())break e;Ca(r,s,c),i=l}else for(o=0;o<a.length;o++){if(l=(s=a[o]).instance,c=s.currentTarget,s=s.listener,l!==i&&r.isPropagationStopped())break e;Ca(r,s,c),i=l}}}if($e)throw e=Ve,$e=!1,Ve=null,e}function Oa(e,t){var n=ir(t),a=e+"__bubble";n.has(a)||(za(t,e,2,!1),n.add(a))}var Ta="_reactListening"+Math.random().toString(36).slice(2);function Ma(e){e[Ta]||(e[Ta]=!0,s.forEach((function(t){Pa.has(t)||La(t,!1,e,null),La(t,!0,e,null)})))}function La(e,t,n,a){var r=4<arguments.length&&void 0!==arguments[4]?arguments[4]:0,i=n;if("selectionchange"===e&&9!==n.nodeType&&(i=n.ownerDocument),null!==a&&!t&&Pa.has(e)){if("scroll"!==e)return;r|=2,i=a}var o=ir(i),s=e+"__"+(t?"capture":"bubble");o.has(s)||(t&&(r|=4),za(i,e,r,t),o.add(s))}function za(e,t,n,a){var r=Lt.get(t);switch(void 0===r?2:r){case 0:r=Kt;break;case 1:r=Zt;break;default:r=Xt}n=r.bind(null,t,n,e),r=void 0,!Re||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(r=!0),a?void 0!==r?e.addEventListener(t,n,{capture:!0,passive:r}):e.addEventListener(t,n,!0):void 0!==r?e.addEventListener(t,n,{passive:r}):e.addEventListener(t,n,!1)}function Aa(e,t,n,a,r){var i=a;if(0==(1&t)&&0==(2&t)&&null!==a)e:for(;;){if(null===a)return;var o=a.tag;if(3===o||4===o){var s=a.stateNode.containerInfo;if(s===r||8===s.nodeType&&s.parentNode===r)break;if(4===o)for(o=a.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===r||8===l.nodeType&&l.parentNode===r))return;o=o.return}for(;null!==s;){if(null===(o=tr(s)))return;if(5===(l=o.tag)||6===l){a=i=o;continue e}s=s.parentNode}}a=a.return}!function(e,t,n){if(je)return e();je=!0;try{Ie(e,t,n)}finally{je=!1,Fe()}}((function(){var a=i,r=Se(n),o=[];e:{var s=Mt.get(e);if(void 0!==s){var l=pn,c=e;switch(e){case"keypress":if(0===an(n))break e;case"keydown":case"keyup":l=On;break;case"focusin":c="focus",l=yn;break;case"focusout":c="blur",l=yn;break;case"beforeblur":case"afterblur":l=yn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=bn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=Mn;break;case Ct:case Nt:case Ot:l=vn;break;case Tt:l=Ln;break;case"scroll":l=mn;break;case"wheel":l=An;break;case"copy":case"cut":case"paste":l=_n;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Tn}var u=0!=(4&t),f=!u&&"scroll"===e,p=u?null!==s?s+"Capture":null:s;u=[];for(var d,m=a;null!==m;){var g=(d=m).stateNode;if(5===d.tag&&null!==g&&(d=g,null!==p&&null!=(g=De(m,p))&&u.push(Ia(m,g,d))),f)break;m=m.return}0<u.length&&(s=new l(s,c,null,n,r),o.push({event:s,listeners:u}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||0!=(16&t)||!(c=n.relatedTarget||n.fromElement)||!tr(c)&&!c[Ja])&&(l||s)&&(s=r.window===r?r:(s=r.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=a,null!==(c=(c=n.relatedTarget||n.toElement)?tr(c):null)&&(c!==(f=Ke(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=a),l!==c)){if(u=hn,g="onMouseLeave",p="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(u=Tn,g="onPointerLeave",p="onPointerEnter",m="pointer"),f=null==l?s:ar(l),d=null==c?s:ar(c),(s=new u(g,m+"leave",l,n,r)).target=f,s.relatedTarget=d,g=null,tr(r)===a&&((u=new u(p,m+"enter",c,n,r)).target=d,u.relatedTarget=f,g=u),f=g,l&&c)e:{for(p=c,m=0,d=u=l;d;d=ja(d))m++;for(d=0,g=p;g;g=ja(g))d++;for(;0<m-d;)u=ja(u),m--;for(;0<d-m;)p=ja(p),d--;for(;m--;){if(u===p||null!==p&&u===p.alternate)break e;u=ja(u),p=ja(p)}u=null}else u=null;null!==l&&Fa(o,s,l,u,!1),null!==c&&null!==f&&Fa(o,f,c,u,!0)}if("select"===(l=(s=a?ar(a):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var h=Gn;else if(Vn(s))if(Jn)h=la;else{h=oa;var b=ia}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(h=sa);switch(h&&(h=h(e,a))?Qn(o,h,n,r):(b&&b(e,s,a),"focusout"===e&&(b=s._wrapperState)&&b.controlled&&"number"===s.type&&re(s,"number",s.value)),b=a?ar(a):window,e){case"focusin":(Vn(b)||"true"===b.contentEditable)&&(ya=b,va=a,ka=null);break;case"focusout":ka=va=ya=null;break;case"mousedown":_a=!0;break;case"contextmenu":case"mouseup":case"dragend":_a=!1,wa(o,n,r);break;case"selectionchange":if(ba)break;case"keydown":case"keyup":wa(o,n,r)}var y;if(qn)e:{switch(e){case"compositionstart":var v="onCompositionStart";break e;case"compositionend":v="onCompositionEnd";break e;case"compositionupdate":v="onCompositionUpdate";break e}v=void 0}else Hn?Un(e,n)&&(v="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(v="onCompositionStart");v&&(Dn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==v?"onCompositionEnd"===v&&Hn&&(y=nn()):(en="value"in(Jt=r)?Jt.value:Jt.textContent,Hn=!0)),0<(b=qa(a,v)).length&&(v=new wn(v,e,null,n,r),o.push({event:v,listeners:b}),(y||null!==(y=Wn(n)))&&(v.data=y))),(y=Fn?function(e,t){switch(e){case"compositionend":return Wn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Rn);case"textInput":return(e=t.data)===Rn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!qn&&Un(e,t)?(e=nn(),tn=en=Jt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Dn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(a=qa(a,"onBeforeInput")).length&&(r=new wn("onBeforeInput","beforeinput",null,n,r),o.push({event:r,listeners:a}),r.data=y)}Na(o,t)}))}function Ia(e,t,n){return{instance:e,listener:t,currentTarget:n}}function qa(e,t){for(var n=t+"Capture",a=[];null!==e;){var r=e,i=r.stateNode;5===r.tag&&null!==i&&(r=i,null!=(i=De(e,n))&&a.unshift(Ia(e,i,r)),null!=(i=De(e,t))&&a.push(Ia(e,i,r))),e=e.return}return a}function ja(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Fa(e,t,n,a,r){for(var i=t._reactName,o=[];null!==n&&n!==a;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===a)break;5===s.tag&&null!==c&&(s=c,r?null!=(l=De(n,i))&&o.unshift(Ia(n,l,s)):r||null!=(l=De(n,i))&&o.push(Ia(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}function Da(){}var Ra=null,Ba=null;function Ua(e,t){switch(e){case"button":case"input":case"select":case"textarea":return!!t.autoFocus}return!1}function Wa(e,t){return"textarea"===e||"option"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var Ha="function"==typeof setTimeout?setTimeout:void 0,$a="function"==typeof clearTimeout?clearTimeout:void 0;function Va(e){(1===e.nodeType||9===e.nodeType&&null!=(e=e.body))&&(e.textContent="")}function Qa(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break}return e}function Ya(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var Ka=0,Za=Math.random().toString(36).slice(2),Xa="__reactFiber$"+Za,Ga="__reactProps$"+Za,Ja="__reactContainer$"+Za,er="__reactEvents$"+Za;function tr(e){var t=e[Xa];if(t)return t;for(var n=e.parentNode;n;){if(t=n[Ja]||n[Xa]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=Ya(e);null!==e;){if(n=e[Xa])return n;e=Ya(e)}return t}n=(e=n).parentNode}return null}function nr(e){return!(e=e[Xa]||e[Ja])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ar(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(o(33))}function rr(e){return e[Ga]||null}function ir(e){var t=e[er];return void 0===t&&(t=e[er]=new Set),t}var or=[],sr=-1;function lr(e){return{current:e}}function cr(e){0>sr||(e.current=or[sr],or[sr]=null,sr--)}function ur(e,t){sr++,or[sr]=e.current,e.current=t}var fr={},pr=lr(fr),dr=lr(!1),mr=fr;function gr(e,t){var n=e.type.contextTypes;if(!n)return fr;var a=e.stateNode;if(a&&a.__reactInternalMemoizedUnmaskedChildContext===t)return a.__reactInternalMemoizedMaskedChildContext;var r,i={};for(r in n)i[r]=t[r];return a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function hr(e){return null!=e.childContextTypes}function br(){cr(dr),cr(pr)}function yr(e,t,n){if(pr.current!==fr)throw Error(o(168));ur(pr,t),ur(dr,n)}function vr(e,t,n){var a=e.stateNode;if(e=t.childContextTypes,"function"!=typeof a.getChildContext)return n;for(var i in a=a.getChildContext())if(!(i in e))throw Error(o(108,Q(t)||"Unknown",i));return r({},n,a)}function kr(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||fr,mr=pr.current,ur(pr,e),ur(dr,dr.current),!0}function _r(e,t,n){var a=e.stateNode;if(!a)throw Error(o(169));n?(e=vr(e,t,mr),a.__reactInternalMemoizedMergedChildContext=e,cr(dr),cr(pr),ur(pr,e)):cr(dr),ur(dr,n)}var wr=null,xr=null,Er=i.unstable_runWithPriority,Sr=i.unstable_scheduleCallback,Pr=i.unstable_cancelCallback,Cr=i.unstable_shouldYield,Nr=i.unstable_requestPaint,Or=i.unstable_now,Tr=i.unstable_getCurrentPriorityLevel,Mr=i.unstable_ImmediatePriority,Lr=i.unstable_UserBlockingPriority,zr=i.unstable_NormalPriority,Ar=i.unstable_LowPriority,Ir=i.unstable_IdlePriority,qr={},jr=void 0!==Nr?Nr:function(){},Fr=null,Dr=null,Rr=!1,Br=Or(),Ur=1e4>Br?Or:function(){return Or()-Br};function Wr(){switch(Tr()){case Mr:return 99;case Lr:return 98;case zr:return 97;case Ar:return 96;case Ir:return 95;default:throw Error(o(332))}}function Hr(e){switch(e){case 99:return Mr;case 98:return Lr;case 97:return zr;case 96:return Ar;case 95:return Ir;default:throw Error(o(332))}}function $r(e,t){return e=Hr(e),Er(e,t)}function Vr(e,t,n){return e=Hr(e),Sr(e,t,n)}function Qr(){if(null!==Dr){var e=Dr;Dr=null,Pr(e)}Yr()}function Yr(){if(!Rr&&null!==Fr){Rr=!0;var e=0;try{var t=Fr;$r(99,(function(){for(;e<t.length;e++){var n=t[e];do{n=n(!0)}while(null!==n)}})),Fr=null}catch(t){throw null!==Fr&&(Fr=Fr.slice(e+1)),Sr(Mr,Qr),t}finally{Rr=!1}}}var Kr=_.ReactCurrentBatchConfig;function Zr(e,t){if(e&&e.defaultProps){for(var n in t=r({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var Xr=lr(null),Gr=null,Jr=null,ei=null;function ti(){ei=Jr=Gr=null}function ni(e){var t=Xr.current;cr(Xr),e.type._context._currentValue=t}function ai(e,t){for(;null!==e;){var n=e.alternate;if((e.childLanes&t)===t){if(null===n||(n.childLanes&t)===t)break;n.childLanes|=t}else e.childLanes|=t,null!==n&&(n.childLanes|=t);e=e.return}}function ri(e,t){Gr=e,ei=Jr=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(qo=!0),e.firstContext=null)}function ii(e,t){if(ei!==e&&!1!==t&&0!==t)if("number"==typeof t&&1073741823!==t||(ei=e,t=1073741823),t={context:e,observedBits:t,next:null},null===Jr){if(null===Gr)throw Error(o(308));Jr=t,Gr.dependencies={lanes:0,firstContext:t,responders:null}}else Jr=Jr.next=t;return e._currentValue}var oi=!1;function si(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null},effects:null}}function li(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function ci(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function ui(e,t){if(null!==(e=e.updateQueue)){var n=(e=e.shared).pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}}function fi(e,t){var n=e.updateQueue,a=e.alternate;if(null!==a&&n===(a=a.updateQueue)){var r=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?r=i=o:i=i.next=o,n=n.next}while(null!==n);null===i?r=i=t:i=i.next=t}else r=i=t;return n={baseState:a.baseState,firstBaseUpdate:r,lastBaseUpdate:i,shared:a.shared,effects:a.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function pi(e,t,n,a){var i=e.updateQueue;oi=!1;var o=i.firstBaseUpdate,s=i.lastBaseUpdate,l=i.shared.pending;if(null!==l){i.shared.pending=null;var c=l,u=c.next;c.next=null,null===s?o=u:s.next=u,s=c;var f=e.alternate;if(null!==f){var p=(f=f.updateQueue).lastBaseUpdate;p!==s&&(null===p?f.firstBaseUpdate=u:p.next=u,f.lastBaseUpdate=c)}}if(null!==o){for(p=i.baseState,s=0,f=u=c=null;;){l=o.lane;var d=o.eventTime;if((a&l)===l){null!==f&&(f=f.next={eventTime:d,lane:0,tag:o.tag,payload:o.payload,callback:o.callback,next:null});e:{var m=e,g=o;switch(l=t,d=n,g.tag){case 1:if("function"==typeof(m=g.payload)){p=m.call(d,p,l);break e}p=m;break e;case 3:m.flags=-4097&m.flags|64;case 0:if(null==(l="function"==typeof(m=g.payload)?m.call(d,p,l):m))break e;p=r({},p,l);break e;case 2:oi=!0}}null!==o.callback&&(e.flags|=32,null===(l=i.effects)?i.effects=[o]:l.push(o))}else d={eventTime:d,lane:l,tag:o.tag,payload:o.payload,callback:o.callback,next:null},null===f?(u=f=d,c=p):f=f.next=d,s|=l;if(null===(o=o.next)){if(null===(l=i.shared.pending))break;o=l.next,l.next=null,i.lastBaseUpdate=l,i.shared.pending=null}}null===f&&(c=p),i.baseState=c,i.firstBaseUpdate=u,i.lastBaseUpdate=f,Fs|=s,e.lanes=s,e.memoizedState=p}}function di(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var a=e[t],r=a.callback;if(null!==r){if(a.callback=null,a=n,"function"!=typeof r)throw Error(o(191,r));r.call(a)}}}var mi=(new a.Component).refs;function gi(e,t,n,a){n=null==(n=n(a,t=e.memoizedState))?t:r({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var hi={isMounted:function(e){return!!(e=e._reactInternals)&&Ke(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var a=cl(),r=ul(e),i=ci(a,r);i.payload=t,null!=n&&(i.callback=n),ui(e,i),fl(e,r,a)},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var a=cl(),r=ul(e),i=ci(a,r);i.tag=1,i.payload=t,null!=n&&(i.callback=n),ui(e,i),fl(e,r,a)},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=cl(),a=ul(e),r=ci(n,a);r.tag=2,null!=t&&(r.callback=t),ui(e,r),fl(e,a,n)}};function bi(e,t,n,a,r,i,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(a,i,o):!(t.prototype&&t.prototype.isPureReactComponent&&fa(n,a)&&fa(r,i))}function yi(e,t,n){var a=!1,r=fr,i=t.contextType;return"object"==typeof i&&null!==i?i=ii(i):(r=hr(t)?mr:pr.current,i=(a=null!=(a=t.contextTypes))?gr(e,r):fr),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=hi,e.stateNode=t,t._reactInternals=e,a&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=r,e.__reactInternalMemoizedMaskedChildContext=i),t}function vi(e,t,n,a){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,a),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,a),t.state!==e&&hi.enqueueReplaceState(t,t.state,null)}function ki(e,t,n,a){var r=e.stateNode;r.props=n,r.state=e.memoizedState,r.refs=mi,si(e);var i=t.contextType;"object"==typeof i&&null!==i?r.context=ii(i):(i=hr(t)?mr:pr.current,r.context=gr(e,i)),pi(e,n,r,a),r.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(gi(e,t,i,n),r.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof r.getSnapshotBeforeUpdate||"function"!=typeof r.UNSAFE_componentWillMount&&"function"!=typeof r.componentWillMount||(t=r.state,"function"==typeof r.componentWillMount&&r.componentWillMount(),"function"==typeof r.UNSAFE_componentWillMount&&r.UNSAFE_componentWillMount(),t!==r.state&&hi.enqueueReplaceState(r,r.state,null),pi(e,n,r,a),r.state=e.memoizedState),"function"==typeof r.componentDidMount&&(e.flags|=4)}var _i=Array.isArray;function wi(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(o(309));var a=n.stateNode}if(!a)throw Error(o(147,e));var r=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===r?t.ref:(t=function(e){var t=a.refs;t===mi&&(t=a.refs={}),null===e?delete t[r]:t[r]=e},t._stringRef=r,t)}if("string"!=typeof e)throw Error(o(284));if(!n._owner)throw Error(o(290,e))}return e}function xi(e,t){if("textarea"!==e.type)throw Error(o(31,"[object Object]"===Object.prototype.toString.call(t)?"object with keys {"+Object.keys(t).join(", ")+"}":t))}function Ei(e){function t(t,n){if(e){var a=t.lastEffect;null!==a?(a.nextEffect=n,t.lastEffect=n):t.firstEffect=t.lastEffect=n,n.nextEffect=null,n.flags=8}}function n(n,a){if(!e)return null;for(;null!==a;)t(n,a),a=a.sibling;return null}function a(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function r(e,t){return(e=Wl(e,t)).index=0,e.sibling=null,e}function i(t,n,a){return t.index=a,e?null!==(a=t.alternate)?(a=a.index)<n?(t.flags=2,n):a:(t.flags=2,n):n}function s(t){return e&&null===t.alternate&&(t.flags=2),t}function l(e,t,n,a){return null===t||6!==t.tag?((t=Ql(n,e.mode,a)).return=e,t):((t=r(t,n)).return=e,t)}function c(e,t,n,a){return null!==t&&t.elementType===n.type?((a=r(t,n.props)).ref=wi(e,t,n),a.return=e,a):((a=Hl(n.type,n.key,n.props,null,e.mode,a)).ref=wi(e,t,n),a.return=e,a)}function u(e,t,n,a){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Yl(n,e.mode,a)).return=e,t):((t=r(t,n.children||[])).return=e,t)}function f(e,t,n,a,i){return null===t||7!==t.tag?((t=$l(n,e.mode,a,i)).return=e,t):((t=r(t,n)).return=e,t)}function p(e,t,n){if("string"==typeof t||"number"==typeof t)return(t=Ql(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case w:return(n=Hl(t.type,t.key,t.props,null,e.mode,n)).ref=wi(e,null,t),n.return=e,n;case x:return(t=Yl(t,e.mode,n)).return=e,t}if(_i(t)||U(t))return(t=$l(t,e.mode,n,null)).return=e,t;xi(e,t)}return null}function d(e,t,n,a){var r=null!==t?t.key:null;if("string"==typeof n||"number"==typeof n)return null!==r?null:l(e,t,""+n,a);if("object"==typeof n&&null!==n){switch(n.$$typeof){case w:return n.key===r?n.type===E?f(e,t,n.props.children,a,r):c(e,t,n,a):null;case x:return n.key===r?u(e,t,n,a):null}if(_i(n)||U(n))return null!==r?null:f(e,t,n,a,null);xi(e,n)}return null}function m(e,t,n,a,r){if("string"==typeof a||"number"==typeof a)return l(t,e=e.get(n)||null,""+a,r);if("object"==typeof a&&null!==a){switch(a.$$typeof){case w:return e=e.get(null===a.key?n:a.key)||null,a.type===E?f(t,e,a.props.children,r,a.key):c(t,e,a,r);case x:return u(t,e=e.get(null===a.key?n:a.key)||null,a,r)}if(_i(a)||U(a))return f(t,e=e.get(n)||null,a,r,null);xi(t,a)}return null}function g(r,o,s,l){for(var c=null,u=null,f=o,g=o=0,h=null;null!==f&&g<s.length;g++){f.index>g?(h=f,f=null):h=f.sibling;var b=d(r,f,s[g],l);if(null===b){null===f&&(f=h);break}e&&f&&null===b.alternate&&t(r,f),o=i(b,o,g),null===u?c=b:u.sibling=b,u=b,f=h}if(g===s.length)return n(r,f),c;if(null===f){for(;g<s.length;g++)null!==(f=p(r,s[g],l))&&(o=i(f,o,g),null===u?c=f:u.sibling=f,u=f);return c}for(f=a(r,f);g<s.length;g++)null!==(h=m(f,r,g,s[g],l))&&(e&&null!==h.alternate&&f.delete(null===h.key?g:h.key),o=i(h,o,g),null===u?c=h:u.sibling=h,u=h);return e&&f.forEach((function(e){return t(r,e)})),c}function h(r,s,l,c){var u=U(l);if("function"!=typeof u)throw Error(o(150));if(null==(l=u.call(l)))throw Error(o(151));for(var f=u=null,g=s,h=s=0,b=null,y=l.next();null!==g&&!y.done;h++,y=l.next()){g.index>h?(b=g,g=null):b=g.sibling;var v=d(r,g,y.value,c);if(null===v){null===g&&(g=b);break}e&&g&&null===v.alternate&&t(r,g),s=i(v,s,h),null===f?u=v:f.sibling=v,f=v,g=b}if(y.done)return n(r,g),u;if(null===g){for(;!y.done;h++,y=l.next())null!==(y=p(r,y.value,c))&&(s=i(y,s,h),null===f?u=y:f.sibling=y,f=y);return u}for(g=a(r,g);!y.done;h++,y=l.next())null!==(y=m(g,r,h,y.value,c))&&(e&&null!==y.alternate&&g.delete(null===y.key?h:y.key),s=i(y,s,h),null===f?u=y:f.sibling=y,f=y);return e&&g.forEach((function(e){return t(r,e)})),u}return function(e,a,i,l){var c="object"==typeof i&&null!==i&&i.type===E&&null===i.key;c&&(i=i.props.children);var u="object"==typeof i&&null!==i;if(u)switch(i.$$typeof){case w:e:{for(u=i.key,c=a;null!==c;){if(c.key===u){if(7===c.tag){if(i.type===E){n(e,c.sibling),(a=r(c,i.props.children)).return=e,e=a;break e}}else if(c.elementType===i.type){n(e,c.sibling),(a=r(c,i.props)).ref=wi(e,c,i),a.return=e,e=a;break e}n(e,c);break}t(e,c),c=c.sibling}i.type===E?((a=$l(i.props.children,e.mode,l,i.key)).return=e,e=a):((l=Hl(i.type,i.key,i.props,null,e.mode,l)).ref=wi(e,a,i),l.return=e,e=l)}return s(e);case x:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(e,a.sibling),(a=r(a,i.children||[])).return=e,e=a;break e}n(e,a);break}t(e,a),a=a.sibling}(a=Yl(i,e.mode,l)).return=e,e=a}return s(e)}if("string"==typeof i||"number"==typeof i)return i=""+i,null!==a&&6===a.tag?(n(e,a.sibling),(a=r(a,i)).return=e,e=a):(n(e,a),(a=Ql(i,e.mode,l)).return=e,e=a),s(e);if(_i(i))return g(e,a,i,l);if(U(i))return h(e,a,i,l);if(u&&xi(e,i),void 0===i&&!c)switch(e.tag){case 1:case 22:case 0:case 11:case 15:throw Error(o(152,Q(e.type)||"Component"))}return n(e,a)}}var Si=Ei(!0),Pi=Ei(!1),Ci={},Ni=lr(Ci),Oi=lr(Ci),Ti=lr(Ci);function Mi(e){if(e===Ci)throw Error(o(174));return e}function Li(e,t){switch(ur(Ti,t),ur(Oi,e),ur(Ni,Ci),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:de(null,"");break;default:t=de(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}cr(Ni),ur(Ni,t)}function zi(){cr(Ni),cr(Oi),cr(Ti)}function Ai(e){Mi(Ti.current);var t=Mi(Ni.current),n=de(t,e.type);t!==n&&(ur(Oi,e),ur(Ni,n))}function Ii(e){Oi.current===e&&(cr(Ni),cr(Oi))}var qi=lr(0);function ji(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(64&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var Fi=null,Di=null,Ri=!1;function Bi(e,t){var n=Bl(5,null,null,0);n.elementType="DELETED",n.type="DELETED",n.stateNode=t,n.return=e,n.flags=8,null!==e.lastEffect?(e.lastEffect.nextEffect=n,e.lastEffect=n):e.firstEffect=e.lastEffect=n}function Ui(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,!0);default:return!1}}function Wi(e){if(Ri){var t=Di;if(t){var n=t;if(!Ui(e,t)){if(!(t=Qa(n.nextSibling))||!Ui(e,t))return e.flags=-1025&e.flags|2,Ri=!1,void(Fi=e);Bi(Fi,n)}Fi=e,Di=Qa(t.firstChild)}else e.flags=-1025&e.flags|2,Ri=!1,Fi=e}}function Hi(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;Fi=e}function $i(e){if(e!==Fi)return!1;if(!Ri)return Hi(e),Ri=!0,!1;var t=e.type;if(5!==e.tag||"head"!==t&&"body"!==t&&!Wa(t,e.memoizedProps))for(t=Di;t;)Bi(e,t),t=Qa(t.nextSibling);if(Hi(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(o(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){Di=Qa(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}Di=null}}else Di=Fi?Qa(e.stateNode.nextSibling):null;return!0}function Vi(){Di=Fi=null,Ri=!1}var Qi=[];function Yi(){for(var e=0;e<Qi.length;e++)Qi[e]._workInProgressVersionPrimary=null;Qi.length=0}var Ki=_.ReactCurrentDispatcher,Zi=_.ReactCurrentBatchConfig,Xi=0,Gi=null,Ji=null,eo=null,to=!1,no=!1;function ao(){throw Error(o(321))}function ro(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ca(e[n],t[n]))return!1;return!0}function io(e,t,n,a,r,i){if(Xi=i,Gi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,Ki.current=null===e||null===e.memoizedState?Lo:zo,e=n(a,r),no){i=0;do{if(no=!1,!(25>i))throw Error(o(301));i+=1,eo=Ji=null,t.updateQueue=null,Ki.current=Ao,e=n(a,r)}while(no)}if(Ki.current=Mo,t=null!==Ji&&null!==Ji.next,Xi=0,eo=Ji=Gi=null,to=!1,t)throw Error(o(300));return e}function oo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===eo?Gi.memoizedState=eo=e:eo=eo.next=e,eo}function so(){if(null===Ji){var e=Gi.alternate;e=null!==e?e.memoizedState:null}else e=Ji.next;var t=null===eo?Gi.memoizedState:eo.next;if(null!==t)eo=t,Ji=e;else{if(null===e)throw Error(o(310));e={memoizedState:(Ji=e).memoizedState,baseState:Ji.baseState,baseQueue:Ji.baseQueue,queue:Ji.queue,next:null},null===eo?Gi.memoizedState=eo=e:eo=eo.next=e}return eo}function lo(e,t){return"function"==typeof t?t(e):t}function co(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var a=Ji,r=a.baseQueue,i=n.pending;if(null!==i){if(null!==r){var s=r.next;r.next=i.next,i.next=s}a.baseQueue=r=i,n.pending=null}if(null!==r){r=r.next,a=a.baseState;var l=s=i=null,c=r;do{var u=c.lane;if((Xi&u)===u)null!==l&&(l=l.next={lane:0,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null}),a=c.eagerReducer===e?c.eagerState:e(a,c.action);else{var f={lane:u,action:c.action,eagerReducer:c.eagerReducer,eagerState:c.eagerState,next:null};null===l?(s=l=f,i=a):l=l.next=f,Gi.lanes|=u,Fs|=u}c=c.next}while(null!==c&&c!==r);null===l?i=a:l.next=s,ca(a,t.memoizedState)||(qo=!0),t.memoizedState=a,t.baseState=i,t.baseQueue=l,n.lastRenderedState=a}return[t.memoizedState,n.dispatch]}function uo(e){var t=so(),n=t.queue;if(null===n)throw Error(o(311));n.lastRenderedReducer=e;var a=n.dispatch,r=n.pending,i=t.memoizedState;if(null!==r){n.pending=null;var s=r=r.next;do{i=e(i,s.action),s=s.next}while(s!==r);ca(i,t.memoizedState)||(qo=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,a]}function fo(e,t,n){var a=t._getVersion;a=a(t._source);var r=t._workInProgressVersionPrimary;if(null!==r?e=r===a:(e=e.mutableReadLanes,(e=(Xi&e)===e)&&(t._workInProgressVersionPrimary=a,Qi.push(t))),e)return n(t._source);throw Qi.push(t),Error(o(350))}function po(e,t,n,a){var r=Ts;if(null===r)throw Error(o(349));var i=t._getVersion,s=i(t._source),l=Ki.current,c=l.useState((function(){return fo(r,t,n)})),u=c[1],f=c[0];c=eo;var p=e.memoizedState,d=p.refs,m=d.getSnapshot,g=p.source;p=p.subscribe;var h=Gi;return e.memoizedState={refs:d,source:t,subscribe:a},l.useEffect((function(){d.getSnapshot=n,d.setSnapshot=u;var e=i(t._source);if(!ca(s,e)){e=n(t._source),ca(f,e)||(u(e),e=ul(h),r.mutableReadLanes|=e&r.pendingLanes),e=r.mutableReadLanes,r.entangledLanes|=e;for(var a=r.entanglements,o=e;0<o;){var l=31-Wt(o),c=1<<l;a[l]|=e,o&=~c}}}),[n,t,a]),l.useEffect((function(){return a(t._source,(function(){var e=d.getSnapshot,n=d.setSnapshot;try{n(e(t._source));var a=ul(h);r.mutableReadLanes|=a&r.pendingLanes}catch(e){n((function(){throw e}))}}))}),[t,a]),ca(m,n)&&ca(g,t)&&ca(p,a)||((e={pending:null,dispatch:null,lastRenderedReducer:lo,lastRenderedState:f}).dispatch=u=To.bind(null,Gi,e),c.queue=e,c.baseQueue=null,f=fo(r,t,n),c.memoizedState=c.baseState=f),f}function mo(e,t,n){return po(so(),e,t,n)}function go(e){var t=oo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e=(e=t.queue={pending:null,dispatch:null,lastRenderedReducer:lo,lastRenderedState:e}).dispatch=To.bind(null,Gi,e),[t.memoizedState,e]}function ho(e,t,n,a){return e={tag:e,create:t,destroy:n,deps:a,next:null},null===(t=Gi.updateQueue)?(t={lastEffect:null},Gi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(a=n.next,n.next=e,e.next=a,t.lastEffect=e),e}function bo(e){return e={current:e},oo().memoizedState=e}function yo(){return so().memoizedState}function vo(e,t,n,a){var r=oo();Gi.flags|=e,r.memoizedState=ho(1|t,n,void 0,void 0===a?null:a)}function ko(e,t,n,a){var r=so();a=void 0===a?null:a;var i=void 0;if(null!==Ji){var o=Ji.memoizedState;if(i=o.destroy,null!==a&&ro(a,o.deps))return void ho(t,n,i,a)}Gi.flags|=e,r.memoizedState=ho(1|t,n,i,a)}function _o(e,t){return vo(516,4,e,t)}function wo(e,t){return ko(516,4,e,t)}function xo(e,t){return ko(4,2,e,t)}function Eo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function So(e,t,n){return n=null!=n?n.concat([e]):null,ko(4,2,Eo.bind(null,t,e),n)}function Po(){}function Co(e,t){var n=so();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&ro(t,a[1])?a[0]:(n.memoizedState=[e,t],e)}function No(e,t){var n=so();t=void 0===t?null:t;var a=n.memoizedState;return null!==a&&null!==t&&ro(t,a[1])?a[0]:(e=e(),n.memoizedState=[e,t],e)}function Oo(e,t){var n=Wr();$r(98>n?98:n,(function(){e(!0)})),$r(97<n?97:n,(function(){var n=Zi.transition;Zi.transition=1;try{e(!1),t()}finally{Zi.transition=n}}))}function To(e,t,n){var a=cl(),r=ul(e),i={lane:r,action:n,eagerReducer:null,eagerState:null,next:null},o=t.pending;if(null===o?i.next=i:(i.next=o.next,o.next=i),t.pending=i,o=e.alternate,e===Gi||null!==o&&o===Gi)no=to=!0;else{if(0===e.lanes&&(null===o||0===o.lanes)&&null!==(o=t.lastRenderedReducer))try{var s=t.lastRenderedState,l=o(s,n);if(i.eagerReducer=o,i.eagerState=l,ca(l,s))return}catch(e){}fl(e,r,a)}}var Mo={readContext:ii,useCallback:ao,useContext:ao,useEffect:ao,useImperativeHandle:ao,useLayoutEffect:ao,useMemo:ao,useReducer:ao,useRef:ao,useState:ao,useDebugValue:ao,useDeferredValue:ao,useTransition:ao,useMutableSource:ao,useOpaqueIdentifier:ao,unstable_isNewReconciler:!1},Lo={readContext:ii,useCallback:function(e,t){return oo().memoizedState=[e,void 0===t?null:t],e},useContext:ii,useEffect:_o,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,vo(4,2,Eo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return vo(4,2,e,t)},useMemo:function(e,t){var n=oo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var a=oo();return t=void 0!==n?n(t):t,a.memoizedState=a.baseState=t,e=(e=a.queue={pending:null,dispatch:null,lastRenderedReducer:e,lastRenderedState:t}).dispatch=To.bind(null,Gi,e),[a.memoizedState,e]},useRef:bo,useState:go,useDebugValue:Po,useDeferredValue:function(e){var t=go(e),n=t[0],a=t[1];return _o((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=go(!1),t=e[0];return bo(e=Oo.bind(null,e[1])),[e,t]},useMutableSource:function(e,t,n){var a=oo();return a.memoizedState={refs:{getSnapshot:t,setSnapshot:null},source:e,subscribe:n},po(a,e,t,n)},useOpaqueIdentifier:function(){if(Ri){var e=!1,t=function(e){return{$$typeof:I,toString:e,valueOf:e}}((function(){throw e||(e=!0,n("r:"+(Ka++).toString(36))),Error(o(355))})),n=go(t)[1];return 0==(2&Gi.mode)&&(Gi.flags|=516,ho(5,(function(){n("r:"+(Ka++).toString(36))}),void 0,null)),t}return go(t="r:"+(Ka++).toString(36)),t},unstable_isNewReconciler:!1},zo={readContext:ii,useCallback:Co,useContext:ii,useEffect:wo,useImperativeHandle:So,useLayoutEffect:xo,useMemo:No,useReducer:co,useRef:yo,useState:function(){return co(lo)},useDebugValue:Po,useDeferredValue:function(e){var t=co(lo),n=t[0],a=t[1];return wo((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=co(lo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return co(lo)[0]},unstable_isNewReconciler:!1},Ao={readContext:ii,useCallback:Co,useContext:ii,useEffect:wo,useImperativeHandle:So,useLayoutEffect:xo,useMemo:No,useReducer:uo,useRef:yo,useState:function(){return uo(lo)},useDebugValue:Po,useDeferredValue:function(e){var t=uo(lo),n=t[0],a=t[1];return wo((function(){var t=Zi.transition;Zi.transition=1;try{a(e)}finally{Zi.transition=t}}),[e]),n},useTransition:function(){var e=uo(lo)[0];return[yo().current,e]},useMutableSource:mo,useOpaqueIdentifier:function(){return uo(lo)[0]},unstable_isNewReconciler:!1},Io=_.ReactCurrentOwner,qo=!1;function jo(e,t,n,a){t.child=null===e?Pi(t,null,n,a):Si(t,e.child,n,a)}function Fo(e,t,n,a,r){n=n.render;var i=t.ref;return ri(t,r),a=io(e,t,n,a,i,r),null===e||qo?(t.flags|=1,jo(e,t,a,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~r,ns(e,t,r))}function Do(e,t,n,a,r,i){if(null===e){var o=n.type;return"function"!=typeof o||Ul(o)||void 0!==o.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Hl(n.type,null,a,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=o,Ro(e,t,o,a,r,i))}return o=e.child,0==(r&i)&&(r=o.memoizedProps,(n=null!==(n=n.compare)?n:fa)(r,a)&&e.ref===t.ref)?ns(e,t,i):(t.flags|=1,(e=Wl(o,a)).ref=t.ref,e.return=t,t.child=e)}function Ro(e,t,n,a,r,i){if(null!==e&&fa(e.memoizedProps,a)&&e.ref===t.ref){if(qo=!1,0==(i&r))return t.lanes=e.lanes,ns(e,t,i);0!=(16384&e.flags)&&(qo=!0)}return Wo(e,t,n,a,i)}function Bo(e,t,n){var a=t.pendingProps,r=a.children,i=null!==e?e.memoizedState:null;if("hidden"===a.mode||"unstable-defer-without-hiding"===a.mode)if(0==(4&t.mode))t.memoizedState={baseLanes:0},vl(0,n);else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e},vl(0,e),null;t.memoizedState={baseLanes:0},vl(0,null!==i?i.baseLanes:n)}else null!==i?(a=i.baseLanes|n,t.memoizedState=null):a=n,vl(0,a);return jo(e,t,r,n),t.child}function Uo(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=128)}function Wo(e,t,n,a,r){var i=hr(n)?mr:pr.current;return i=gr(t,i),ri(t,r),n=io(e,t,n,a,i,r),null===e||qo?(t.flags|=1,jo(e,t,n,r),t.child):(t.updateQueue=e.updateQueue,t.flags&=-517,e.lanes&=~r,ns(e,t,r))}function Ho(e,t,n,a,r){if(hr(n)){var i=!0;kr(t)}else i=!1;if(ri(t,r),null===t.stateNode)null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),yi(t,n,a),ki(t,n,a,r),a=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;c="object"==typeof c&&null!==c?ii(c):gr(t,c=hr(n)?mr:pr.current);var u=n.getDerivedStateFromProps,f="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;f||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==a||l!==c)&&vi(t,o,a,c),oi=!1;var p=t.memoizedState;o.state=p,pi(t,a,o,r),l=t.memoizedState,s!==a||p!==l||dr.current||oi?("function"==typeof u&&(gi(t,n,u,a),l=t.memoizedState),(s=oi||bi(t,n,s,a,p,l,c))?(f||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4)):("function"==typeof o.componentDidMount&&(t.flags|=4),t.memoizedProps=a,t.memoizedState=l),o.props=a,o.state=l,o.context=c,a=s):("function"==typeof o.componentDidMount&&(t.flags|=4),a=!1)}else{o=t.stateNode,li(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:Zr(t.type,s),o.props=c,f=t.pendingProps,p=o.context,l="object"==typeof(l=n.contextType)&&null!==l?ii(l):gr(t,l=hr(n)?mr:pr.current);var d=n.getDerivedStateFromProps;(u="function"==typeof d||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==f||p!==l)&&vi(t,o,a,l),oi=!1,p=t.memoizedState,o.state=p,pi(t,a,o,r);var m=t.memoizedState;s!==f||p!==m||dr.current||oi?("function"==typeof d&&(gi(t,n,d,a),m=t.memoizedState),(c=oi||bi(t,n,c,a,p,m,l))?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(a,m,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(a,m,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=256)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),t.memoizedProps=a,t.memoizedState=m),o.props=a,o.state=m,o.context=l,a=c):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&p===e.memoizedState||(t.flags|=256),a=!1)}return $o(e,t,n,a,i,r)}function $o(e,t,n,a,r,i){Uo(e,t);var o=0!=(64&t.flags);if(!a&&!o)return r&&_r(t,n,!1),ns(e,t,i);a=t.stateNode,Io.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:a.render();return t.flags|=1,null!==e&&o?(t.child=Si(t,e.child,null,i),t.child=Si(t,null,s,i)):jo(e,t,s,i),t.memoizedState=a.state,r&&_r(t,n,!0),t.child}function Vo(e){var t=e.stateNode;t.pendingContext?yr(0,t.pendingContext,t.pendingContext!==t.context):t.context&&yr(0,t.context,!1),Li(e,t.containerInfo)}var Qo,Yo,Ko,Zo={dehydrated:null,retryLane:0};function Xo(e,t,n){var a,r=t.pendingProps,i=qi.current,o=!1;return(a=0!=(64&t.flags))||(a=(null===e||null!==e.memoizedState)&&0!=(2&i)),a?(o=!0,t.flags&=-65):null!==e&&null===e.memoizedState||void 0===r.fallback||!0===r.unstable_avoidThisFallback||(i|=1),ur(qi,1&i),null===e?(void 0!==r.fallback&&Wi(t),e=r.children,i=r.fallback,o?(e=Go(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zo,e):"number"==typeof r.unstable_expectedLoadTime?(e=Go(t,e,i,n),t.child.memoizedState={baseLanes:n},t.memoizedState=Zo,t.lanes=33554432,e):((n=Vl({mode:"visible",children:e},t.mode,n,null)).return=t,t.child=n)):(e.memoizedState,o?(r=function(e,t,n,a,r){var i=t.mode,o=e.child;e=o.sibling;var s={mode:"hidden",children:n};return 0==(2&i)&&t.child!==o?((n=t.child).childLanes=0,n.pendingProps=s,null!==(o=n.lastEffect)?(t.firstEffect=n.firstEffect,t.lastEffect=o,o.nextEffect=null):t.firstEffect=t.lastEffect=null):n=Wl(o,s),null!==e?a=Wl(e,a):(a=$l(a,i,r,null)).flags|=2,a.return=t,n.return=t,n.sibling=a,t.child=n,a}(e,t,r.children,r.fallback,n),o=t.child,i=e.child.memoizedState,o.memoizedState=null===i?{baseLanes:n}:{baseLanes:i.baseLanes|n},o.childLanes=e.childLanes&~n,t.memoizedState=Zo,r):(n=function(e,t,n,a){var r=e.child;return e=r.sibling,n=Wl(r,{mode:"visible",children:n}),0==(2&t.mode)&&(n.lanes=a),n.return=t,n.sibling=null,null!==e&&(e.nextEffect=null,e.flags=8,t.firstEffect=t.lastEffect=e),t.child=n}(e,t,r.children,n),t.memoizedState=null,n))}function Go(e,t,n,a){var r=e.mode,i=e.child;return t={mode:"hidden",children:t},0==(2&r)&&null!==i?(i.childLanes=0,i.pendingProps=t):i=Vl(t,r,0,null),n=$l(n,r,a,null),i.return=e,n.return=e,i.sibling=n,e.child=i,n}function Jo(e,t){e.lanes|=t;var n=e.alternate;null!==n&&(n.lanes|=t),ai(e.return,t)}function es(e,t,n,a,r,i){var o=e.memoizedState;null===o?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:a,tail:n,tailMode:r,lastEffect:i}:(o.isBackwards=t,o.rendering=null,o.renderingStartTime=0,o.last=a,o.tail=n,o.tailMode=r,o.lastEffect=i)}function ts(e,t,n){var a=t.pendingProps,r=a.revealOrder,i=a.tail;if(jo(e,t,a.children,n),0!=(2&(a=qi.current)))a=1&a|2,t.flags|=64;else{if(null!==e&&0!=(64&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Jo(e,n);else if(19===e.tag)Jo(e,n);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}a&=1}if(ur(qi,a),0==(2&t.mode))t.memoizedState=null;else switch(r){case"forwards":for(n=t.child,r=null;null!==n;)null!==(e=n.alternate)&&null===ji(e)&&(r=n),n=n.sibling;null===(n=r)?(r=t.child,t.child=null):(r=n.sibling,n.sibling=null),es(t,!1,r,n,i,t.lastEffect);break;case"backwards":for(n=null,r=t.child,t.child=null;null!==r;){if(null!==(e=r.alternate)&&null===ji(e)){t.child=r;break}e=r.sibling,r.sibling=n,n=r,r=e}es(t,!0,n,null,i,t.lastEffect);break;case"together":es(t,!1,null,null,void 0,t.lastEffect);break;default:t.memoizedState=null}return t.child}function ns(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fs|=t.lanes,0!=(n&t.childLanes)){if(null!==e&&t.child!==e.child)throw Error(o(153));if(null!==t.child){for(n=Wl(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Wl(e,e.pendingProps)).return=t;n.sibling=null}return t.child}return null}function as(e,t){if(!Ri)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var a=null;null!==n;)null!==n.alternate&&(a=n),n=n.sibling;null===a?t||null===e.tail?e.tail=null:e.tail.sibling=null:a.sibling=null}}function rs(e,t,n){var a=t.pendingProps;switch(t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return null;case 1:case 17:return hr(t.type)&&br(),null;case 3:return zi(),cr(dr),cr(pr),Yi(),(a=t.stateNode).pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),null!==e&&null!==e.child||($i(t)?t.flags|=4:a.hydrate||(t.flags|=256)),null;case 5:Ii(t);var i=Mi(Ti.current);if(n=t.type,null!==e&&null!=t.stateNode)Yo(e,t,n,a),e.ref!==t.ref&&(t.flags|=128);else{if(!a){if(null===t.stateNode)throw Error(o(166));return null}if(e=Mi(Ni.current),$i(t)){a=t.stateNode,n=t.type;var s=t.memoizedProps;switch(a[Xa]=t,a[Ga]=s,n){case"dialog":Oa("cancel",a),Oa("close",a);break;case"iframe":case"object":case"embed":Oa("load",a);break;case"video":case"audio":for(e=0;e<Sa.length;e++)Oa(Sa[e],a);break;case"source":Oa("error",a);break;case"img":case"image":case"link":Oa("error",a),Oa("load",a);break;case"details":Oa("toggle",a);break;case"input":ee(a,s),Oa("invalid",a);break;case"select":a._wrapperState={wasMultiple:!!s.multiple},Oa("invalid",a);break;case"textarea":le(a,s),Oa("invalid",a)}for(var c in xe(n,s),e=null,s)s.hasOwnProperty(c)&&(i=s[c],"children"===c?"string"==typeof i?a.textContent!==i&&(e=["children",i]):"number"==typeof i&&a.textContent!==""+i&&(e=["children",""+i]):l.hasOwnProperty(c)&&null!=i&&"onScroll"===c&&Oa("scroll",a));switch(n){case"input":Z(a),ae(a,s,!0);break;case"textarea":Z(a),ue(a);break;case"select":case"option":break;default:"function"==typeof s.onClick&&(a.onclick=Da)}a=e,t.updateQueue=a,null!==a&&(t.flags|=4)}else{switch(c=9===i.nodeType?i:i.ownerDocument,e===fe&&(e=pe(n)),e===fe?"script"===n?((e=c.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof a.is?e=c.createElement(n,{is:a.is}):(e=c.createElement(n),"select"===n&&(c=e,a.multiple?c.multiple=!0:a.size&&(c.size=a.size))):e=c.createElementNS(e,n),e[Xa]=t,e[Ga]=a,Qo(e,t),t.stateNode=e,c=Ee(n,a),n){case"dialog":Oa("cancel",e),Oa("close",e),i=a;break;case"iframe":case"object":case"embed":Oa("load",e),i=a;break;case"video":case"audio":for(i=0;i<Sa.length;i++)Oa(Sa[i],e);i=a;break;case"source":Oa("error",e),i=a;break;case"img":case"image":case"link":Oa("error",e),Oa("load",e),i=a;break;case"details":Oa("toggle",e),i=a;break;case"input":ee(e,a),i=J(e,a),Oa("invalid",e);break;case"option":i=ie(e,a);break;case"select":e._wrapperState={wasMultiple:!!a.multiple},i=r({},a,{value:void 0}),Oa("invalid",e);break;case"textarea":le(e,a),i=se(e,a),Oa("invalid",e);break;default:i=a}xe(n,i);var u=i;for(s in u)if(u.hasOwnProperty(s)){var f=u[s];"style"===s?_e(e,f):"dangerouslySetInnerHTML"===s?null!=(f=f?f.__html:void 0)&&he(e,f):"children"===s?"string"==typeof f?("textarea"!==n||""!==f)&&be(e,f):"number"==typeof f&&be(e,""+f):"suppressContentEditableWarning"!==s&&"suppressHydrationWarning"!==s&&"autoFocus"!==s&&(l.hasOwnProperty(s)?null!=f&&"onScroll"===s&&Oa("scroll",e):null!=f&&k(e,s,f,c))}switch(n){case"input":Z(e),ae(e,a,!1);break;case"textarea":Z(e),ue(e);break;case"option":null!=a.value&&e.setAttribute("value",""+Y(a.value));break;case"select":e.multiple=!!a.multiple,null!=(s=a.value)?oe(e,!!a.multiple,s,!1):null!=a.defaultValue&&oe(e,!!a.multiple,a.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Da)}Ua(n,a)&&(t.flags|=4)}null!==t.ref&&(t.flags|=128)}return null;case 6:if(e&&null!=t.stateNode)Ko(0,t,e.memoizedProps,a);else{if("string"!=typeof a&&null===t.stateNode)throw Error(o(166));n=Mi(Ti.current),Mi(Ni.current),$i(t)?(a=t.stateNode,n=t.memoizedProps,a[Xa]=t,a.nodeValue!==n&&(t.flags|=4)):((a=(9===n.nodeType?n:n.ownerDocument).createTextNode(a))[Xa]=t,t.stateNode=a)}return null;case 13:return cr(qi),a=t.memoizedState,0!=(64&t.flags)?(t.lanes=n,t):(a=null!==a,n=!1,null===e?void 0!==t.memoizedProps.fallback&&$i(t):n=null!==e.memoizedState,a&&!n&&0!=(2&t.mode)&&(null===e&&!0!==t.memoizedProps.unstable_avoidThisFallback||0!=(1&qi.current)?0===Is&&(Is=3):(0!==Is&&3!==Is||(Is=4),null===Ts||0==(134217727&Fs)&&0==(134217727&Ds)||gl(Ts,Ls))),(a||n)&&(t.flags|=4),null);case 4:return zi(),null===e&&Ma(t.stateNode.containerInfo),null;case 10:return ni(t),null;case 19:if(cr(qi),null===(a=t.memoizedState))return null;if(s=0!=(64&t.flags),null===(c=a.rendering))if(s)as(a,!1);else{if(0!==Is||null!==e&&0!=(64&e.flags))for(e=t.child;null!==e;){if(null!==(c=ji(e))){for(t.flags|=64,as(a,!1),null!==(s=c.updateQueue)&&(t.updateQueue=s,t.flags|=4),null===a.lastEffect&&(t.firstEffect=null),t.lastEffect=a.lastEffect,a=n,n=t.child;null!==n;)e=a,(s=n).flags&=2,s.nextEffect=null,s.firstEffect=null,s.lastEffect=null,null===(c=s.alternate)?(s.childLanes=0,s.lanes=e,s.child=null,s.memoizedProps=null,s.memoizedState=null,s.updateQueue=null,s.dependencies=null,s.stateNode=null):(s.childLanes=c.childLanes,s.lanes=c.lanes,s.child=c.child,s.memoizedProps=c.memoizedProps,s.memoizedState=c.memoizedState,s.updateQueue=c.updateQueue,s.type=c.type,e=c.dependencies,s.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ur(qi,1&qi.current|2),t.child}e=e.sibling}null!==a.tail&&Ur()>Ws&&(t.flags|=64,s=!0,as(a,!1),t.lanes=33554432)}else{if(!s)if(null!==(e=ji(c))){if(t.flags|=64,s=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),as(a,!0),null===a.tail&&"hidden"===a.tailMode&&!c.alternate&&!Ri)return null!==(t=t.lastEffect=a.lastEffect)&&(t.nextEffect=null),null}else 2*Ur()-a.renderingStartTime>Ws&&1073741824!==n&&(t.flags|=64,s=!0,as(a,!1),t.lanes=33554432);a.isBackwards?(c.sibling=t.child,t.child=c):(null!==(n=a.last)?n.sibling=c:t.child=c,a.last=c)}return null!==a.tail?(n=a.tail,a.rendering=n,a.tail=n.sibling,a.lastEffect=t.lastEffect,a.renderingStartTime=Ur(),n.sibling=null,t=qi.current,ur(qi,s?1&t|2:1&t),n):null;case 23:case 24:return kl(),null!==e&&null!==e.memoizedState!=(null!==t.memoizedState)&&"unstable-defer-without-hiding"!==a.mode&&(t.flags|=4),null}throw Error(o(156,t.tag))}function is(e){switch(e.tag){case 1:hr(e.type)&&br();var t=e.flags;return 4096&t?(e.flags=-4097&t|64,e):null;case 3:if(zi(),cr(dr),cr(pr),Yi(),0!=(64&(t=e.flags)))throw Error(o(285));return e.flags=-4097&t|64,e;case 5:return Ii(e),null;case 13:return cr(qi),4096&(t=e.flags)?(e.flags=-4097&t|64,e):null;case 19:return cr(qi),null;case 4:return zi(),null;case 10:return ni(e),null;case 23:case 24:return kl(),null;default:return null}}function os(e,t){try{var n="",a=t;do{n+=V(a),a=a.return}while(a);var r=n}catch(e){r="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:r}}function ss(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}Qo=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Yo=function(e,t,n,a){var i=e.memoizedProps;if(i!==a){e=t.stateNode,Mi(Ni.current);var o,s=null;switch(n){case"input":i=J(e,i),a=J(e,a),s=[];break;case"option":i=ie(e,i),a=ie(e,a),s=[];break;case"select":i=r({},i,{value:void 0}),a=r({},a,{value:void 0}),s=[];break;case"textarea":i=se(e,i),a=se(e,a),s=[];break;default:"function"!=typeof i.onClick&&"function"==typeof a.onClick&&(e.onclick=Da)}for(f in xe(n,a),n=null,i)if(!a.hasOwnProperty(f)&&i.hasOwnProperty(f)&&null!=i[f])if("style"===f){var c=i[f];for(o in c)c.hasOwnProperty(o)&&(n||(n={}),n[o]="")}else"dangerouslySetInnerHTML"!==f&&"children"!==f&&"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&"autoFocus"!==f&&(l.hasOwnProperty(f)?s||(s=[]):(s=s||[]).push(f,null));for(f in a){var u=a[f];if(c=null!=i?i[f]:void 0,a.hasOwnProperty(f)&&u!==c&&(null!=u||null!=c))if("style"===f)if(c){for(o in c)!c.hasOwnProperty(o)||u&&u.hasOwnProperty(o)||(n||(n={}),n[o]="");for(o in u)u.hasOwnProperty(o)&&c[o]!==u[o]&&(n||(n={}),n[o]=u[o])}else n||(s||(s=[]),s.push(f,n)),n=u;else"dangerouslySetInnerHTML"===f?(u=u?u.__html:void 0,c=c?c.__html:void 0,null!=u&&c!==u&&(s=s||[]).push(f,u)):"children"===f?"string"!=typeof u&&"number"!=typeof u||(s=s||[]).push(f,""+u):"suppressContentEditableWarning"!==f&&"suppressHydrationWarning"!==f&&(l.hasOwnProperty(f)?(null!=u&&"onScroll"===f&&Oa("scroll",e),s||c===u||(s=[])):"object"==typeof u&&null!==u&&u.$$typeof===I?u.toString():(s=s||[]).push(f,u))}n&&(s=s||[]).push("style",n);var f=s;(t.updateQueue=f)&&(t.flags|=4)}},Ko=function(e,t,n,a){n!==a&&(t.flags|=4)};var ls="function"==typeof WeakMap?WeakMap:Map;function cs(e,t,n){(n=ci(-1,n)).tag=3,n.payload={element:null};var a=t.value;return n.callback=function(){Qs||(Qs=!0,Ys=a),ss(0,t)},n}function us(e,t,n){(n=ci(-1,n)).tag=3;var a=e.type.getDerivedStateFromError;if("function"==typeof a){var r=t.value;n.payload=function(){return ss(0,t),a(r)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){"function"!=typeof a&&(null===Ks?Ks=new Set([this]):Ks.add(this),ss(0,t));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}var fs="function"==typeof WeakSet?WeakSet:Set;function ps(e){var t=e.ref;if(null!==t)if("function"==typeof t)try{t(null)}catch(t){jl(e,t)}else t.current=null}function ds(e,t){switch(t.tag){case 0:case 11:case 15:case 22:case 5:case 6:case 4:case 17:return;case 1:if(256&t.flags&&null!==e){var n=e.memoizedProps,a=e.memoizedState;t=(e=t.stateNode).getSnapshotBeforeUpdate(t.elementType===t.type?n:Zr(t.type,n),a),e.__reactInternalSnapshotBeforeUpdate=t}return;case 3:return void(256&t.flags&&Va(t.stateNode.containerInfo))}throw Error(o(163))}function ms(e,t,n){switch(n.tag){case 0:case 11:case 15:case 22:if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{if(3==(3&e.tag)){var a=e.create;e.destroy=a()}e=e.next}while(e!==t)}if(null!==(t=null!==(t=n.updateQueue)?t.lastEffect:null)){e=t=t.next;do{var r=e;a=r.next,0!=(4&(r=r.tag))&&0!=(1&r)&&(Al(n,e),zl(n,e)),e=a}while(e!==t)}return;case 1:return e=n.stateNode,4&n.flags&&(null===t?e.componentDidMount():(a=n.elementType===n.type?t.memoizedProps:Zr(n.type,t.memoizedProps),e.componentDidUpdate(a,t.memoizedState,e.__reactInternalSnapshotBeforeUpdate))),void(null!==(t=n.updateQueue)&&di(n,t,e));case 3:if(null!==(t=n.updateQueue)){if(e=null,null!==n.child)switch(n.child.tag){case 5:case 1:e=n.child.stateNode}di(n,t,e)}return;case 5:return e=n.stateNode,void(null===t&&4&n.flags&&Ua(n.type,n.memoizedProps)&&e.focus());case 6:case 4:case 12:case 19:case 17:case 20:case 21:case 23:case 24:return;case 13:return void(null===n.memoizedState&&(n=n.alternate,null!==n&&(n=n.memoizedState,null!==n&&(n=n.dehydrated,null!==n&&_t(n)))))}throw Error(o(163))}function gs(e,t){for(var n=e;;){if(5===n.tag){var a=n.stateNode;if(t)"function"==typeof(a=a.style).setProperty?a.setProperty("display","none","important"):a.display="none";else{a=n.stateNode;var r=n.memoizedProps.style;r=null!=r&&r.hasOwnProperty("display")?r.display:null,a.style.display=ke("display",r)}}else if(6===n.tag)n.stateNode.nodeValue=t?"":n.memoizedProps;else if((23!==n.tag&&24!==n.tag||null===n.memoizedState||n===e)&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===e)break;for(;null===n.sibling;){if(null===n.return||n.return===e)return;n=n.return}n.sibling.return=n.return,n=n.sibling}}function hs(e,t){if(xr&&"function"==typeof xr.onCommitFiberUnmount)try{xr.onCommitFiberUnmount(wr,t)}catch(e){}switch(t.tag){case 0:case 11:case 14:case 15:case 22:if(null!==(e=t.updateQueue)&&null!==(e=e.lastEffect)){var n=e=e.next;do{var a=n,r=a.destroy;if(a=a.tag,void 0!==r)if(0!=(4&a))Al(t,n);else{a=t;try{r()}catch(e){jl(a,e)}}n=n.next}while(n!==e)}break;case 1:if(ps(t),"function"==typeof(e=t.stateNode).componentWillUnmount)try{e.props=t.memoizedProps,e.state=t.memoizedState,e.componentWillUnmount()}catch(e){jl(t,e)}break;case 5:ps(t);break;case 4:ws(e,t)}}function bs(e){e.alternate=null,e.child=null,e.dependencies=null,e.firstEffect=null,e.lastEffect=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.return=null,e.updateQueue=null}function ys(e){return 5===e.tag||3===e.tag||4===e.tag}function vs(e){e:{for(var t=e.return;null!==t;){if(ys(t))break e;t=t.return}throw Error(o(160))}var n=t;switch(t=n.stateNode,n.tag){case 5:var a=!1;break;case 3:case 4:t=t.containerInfo,a=!0;break;default:throw Error(o(161))}16&n.flags&&(be(t,""),n.flags&=-17);e:t:for(n=e;;){for(;null===n.sibling;){if(null===n.return||ys(n.return)){n=null;break e}n=n.return}for(n.sibling.return=n.return,n=n.sibling;5!==n.tag&&6!==n.tag&&18!==n.tag;){if(2&n.flags)continue t;if(null===n.child||4===n.tag)continue t;n.child.return=n,n=n.child}if(!(2&n.flags)){n=n.stateNode;break e}}a?ks(e,n,t):_s(e,n,t)}function ks(e,t,n){var a=e.tag,r=5===a||6===a;if(r)e=r?e.stateNode:e.stateNode.instance,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Da));else if(4!==a&&null!==(e=e.child))for(ks(e,t,n),e=e.sibling;null!==e;)ks(e,t,n),e=e.sibling}function _s(e,t,n){var a=e.tag,r=5===a||6===a;if(r)e=r?e.stateNode:e.stateNode.instance,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==a&&null!==(e=e.child))for(_s(e,t,n),e=e.sibling;null!==e;)_s(e,t,n),e=e.sibling}function ws(e,t){for(var n,a,r=t,i=!1;;){if(!i){i=r.return;e:for(;;){if(null===i)throw Error(o(160));switch(n=i.stateNode,i.tag){case 5:a=!1;break e;case 3:case 4:n=n.containerInfo,a=!0;break e}i=i.return}i=!0}if(5===r.tag||6===r.tag){e:for(var s=e,l=r,c=l;;)if(hs(s,c),null!==c.child&&4!==c.tag)c.child.return=c,c=c.child;else{if(c===l)break e;for(;null===c.sibling;){if(null===c.return||c.return===l)break e;c=c.return}c.sibling.return=c.return,c=c.sibling}a?(s=n,l=r.stateNode,8===s.nodeType?s.parentNode.removeChild(l):s.removeChild(l)):n.removeChild(r.stateNode)}else if(4===r.tag){if(null!==r.child){n=r.stateNode.containerInfo,a=!0,r.child.return=r,r=r.child;continue}}else if(hs(e,r),null!==r.child){r.child.return=r,r=r.child;continue}if(r===t)break;for(;null===r.sibling;){if(null===r.return||r.return===t)return;4===(r=r.return).tag&&(i=!1)}r.sibling.return=r.return,r=r.sibling}}function xs(e,t){switch(t.tag){case 0:case 11:case 14:case 15:case 22:var n=t.updateQueue;if(null!==(n=null!==n?n.lastEffect:null)){var a=n=n.next;do{3==(3&a.tag)&&(e=a.destroy,a.destroy=void 0,void 0!==e&&e()),a=a.next}while(a!==n)}return;case 1:case 12:case 17:return;case 5:if(null!=(n=t.stateNode)){a=t.memoizedProps;var r=null!==e?e.memoizedProps:a;e=t.type;var i=t.updateQueue;if(t.updateQueue=null,null!==i){for(n[Ga]=a,"input"===e&&"radio"===a.type&&null!=a.name&&te(n,a),Ee(e,r),t=Ee(e,a),r=0;r<i.length;r+=2){var s=i[r],l=i[r+1];"style"===s?_e(n,l):"dangerouslySetInnerHTML"===s?he(n,l):"children"===s?be(n,l):k(n,s,l,t)}switch(e){case"input":ne(n,a);break;case"textarea":ce(n,a);break;case"select":e=n._wrapperState.wasMultiple,n._wrapperState.wasMultiple=!!a.multiple,null!=(i=a.value)?oe(n,!!a.multiple,i,!1):e!==!!a.multiple&&(null!=a.defaultValue?oe(n,!!a.multiple,a.defaultValue,!0):oe(n,!!a.multiple,a.multiple?[]:"",!1))}}}return;case 6:if(null===t.stateNode)throw Error(o(162));return void(t.stateNode.nodeValue=t.memoizedProps);case 3:return void((n=t.stateNode).hydrate&&(n.hydrate=!1,_t(n.containerInfo)));case 13:return null!==t.memoizedState&&(Us=Ur(),gs(t.child,!0)),void Es(t);case 19:return void Es(t);case 23:case 24:return void gs(t,null!==t.memoizedState)}throw Error(o(163))}function Es(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new fs),t.forEach((function(t){var a=Dl.bind(null,e,t);n.has(t)||(n.add(t),t.then(a,a))}))}}function Ss(e,t){return null!==e&&(null===(e=e.memoizedState)||null!==e.dehydrated)&&null!==(t=t.memoizedState)&&null===t.dehydrated}var Ps=Math.ceil,Cs=_.ReactCurrentDispatcher,Ns=_.ReactCurrentOwner,Os=0,Ts=null,Ms=null,Ls=0,zs=0,As=lr(0),Is=0,qs=null,js=0,Fs=0,Ds=0,Rs=0,Bs=null,Us=0,Ws=1/0;function Hs(){Ws=Ur()+500}var $s,Vs=null,Qs=!1,Ys=null,Ks=null,Zs=!1,Xs=null,Gs=90,Js=[],el=[],tl=null,nl=0,al=null,rl=-1,il=0,ol=0,sl=null,ll=!1;function cl(){return 0!=(48&Os)?Ur():-1!==rl?rl:rl=Ur()}function ul(e){if(0==(2&(e=e.mode)))return 1;if(0==(4&e))return 99===Wr()?1:2;if(0===il&&(il=js),0!==Kr.transition){0!==ol&&(ol=null!==Bs?Bs.pendingLanes:0),e=il;var t=4186112&~ol;return 0==(t&=-t)&&0==(t=(e=4186112&~e)&-e)&&(t=8192),t}return e=Wr(),e=Dt(0!=(4&Os)&&98===e?12:e=function(e){switch(e){case 99:return 15;case 98:return 10;case 97:case 96:return 8;case 95:return 2;default:return 0}}(e),il)}function fl(e,t,n){if(50<nl)throw nl=0,al=null,Error(o(185));if(null===(e=pl(e,t)))return null;Ut(e,t,n),e===Ts&&(Ds|=t,4===Is&&gl(e,Ls));var a=Wr();1===t?0!=(8&Os)&&0==(48&Os)?hl(e):(dl(e,n),0===Os&&(Hs(),Qr())):(0==(4&Os)||98!==a&&99!==a||(null===tl?tl=new Set([e]):tl.add(e)),dl(e,n)),Bs=e}function pl(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}function dl(e,t){for(var n=e.callbackNode,a=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,s=e.pendingLanes;0<s;){var l=31-Wt(s),c=1<<l,u=i[l];if(-1===u){if(0==(c&a)||0!=(c&r)){u=t,qt(c);var f=It;i[l]=10<=f?u+250:6<=f?u+5e3:-1}}else u<=t&&(e.expiredLanes|=c);s&=~c}if(a=jt(e,e===Ts?Ls:0),t=It,0===a)null!==n&&(n!==qr&&Pr(n),e.callbackNode=null,e.callbackPriority=0);else{if(null!==n){if(e.callbackPriority===t)return;n!==qr&&Pr(n)}15===t?(n=hl.bind(null,e),null===Fr?(Fr=[n],Dr=Sr(Mr,Yr)):Fr.push(n),n=qr):14===t?n=Vr(99,hl.bind(null,e)):(n=function(e){switch(e){case 15:case 14:return 99;case 13:case 12:case 11:case 10:return 98;case 9:case 8:case 7:case 6:case 4:case 5:return 97;case 3:case 2:case 1:return 95;case 0:return 90;default:throw Error(o(358,e))}}(t),n=Vr(n,ml.bind(null,e))),e.callbackPriority=t,e.callbackNode=n}}function ml(e){if(rl=-1,ol=il=0,0!=(48&Os))throw Error(o(327));var t=e.callbackNode;if(Ll()&&e.callbackNode!==t)return null;var n=jt(e,e===Ts?Ls:0);if(0===n)return null;var a=n,r=Os;Os|=16;var i=xl();for(Ts===e&&Ls===a||(Hs(),_l(e,a));;)try{Pl();break}catch(t){wl(e,t)}if(ti(),Cs.current=i,Os=r,null!==Ms?a=0:(Ts=null,Ls=0,a=Is),0!=(js&Ds))_l(e,0);else if(0!==a){if(2===a&&(Os|=64,e.hydrate&&(e.hydrate=!1,Va(e.containerInfo)),0!==(n=Ft(e))&&(a=El(e,n))),1===a)throw t=qs,_l(e,0),gl(e,n),dl(e,Ur()),t;switch(e.finishedWork=e.current.alternate,e.finishedLanes=n,a){case 0:case 1:throw Error(o(345));case 2:case 5:Ol(e);break;case 3:if(gl(e,n),(62914560&n)===n&&10<(a=Us+500-Ur())){if(0!==jt(e,0))break;if(((r=e.suspendedLanes)&n)!==n){cl(),e.pingedLanes|=e.suspendedLanes&r;break}e.timeoutHandle=Ha(Ol.bind(null,e),a);break}Ol(e);break;case 4:if(gl(e,n),(4186112&n)===n)break;for(a=e.eventTimes,r=-1;0<n;){var s=31-Wt(n);i=1<<s,(s=a[s])>r&&(r=s),n&=~i}if(n=r,10<(n=(120>(n=Ur()-n)?120:480>n?480:1080>n?1080:1920>n?1920:3e3>n?3e3:4320>n?4320:1960*Ps(n/1960))-n)){e.timeoutHandle=Ha(Ol.bind(null,e),n);break}Ol(e);break;default:throw Error(o(329))}}return dl(e,Ur()),e.callbackNode===t?ml.bind(null,e):null}function gl(e,t){for(t&=~Rs,t&=~Ds,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-Wt(t),a=1<<n;e[n]=-1,t&=~a}}function hl(e){if(0!=(48&Os))throw Error(o(327));if(Ll(),e===Ts&&0!=(e.expiredLanes&Ls)){var t=Ls,n=El(e,t);0!=(js&Ds)&&(n=El(e,t=jt(e,t)))}else n=El(e,t=jt(e,0));if(0!==e.tag&&2===n&&(Os|=64,e.hydrate&&(e.hydrate=!1,Va(e.containerInfo)),0!==(t=Ft(e))&&(n=El(e,t))),1===n)throw n=qs,_l(e,0),gl(e,t),dl(e,Ur()),n;return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ol(e),dl(e,Ur()),null}function bl(e,t){var n=Os;Os|=1;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}}function yl(e,t){var n=Os;Os&=-2,Os|=8;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}}function vl(e,t){ur(As,zs),zs|=t,js|=t}function kl(){zs=As.current,cr(As)}function _l(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,$a(n)),null!==Ms)for(n=Ms.return;null!==n;){var a=n;switch(a.tag){case 1:null!=(a=a.type.childContextTypes)&&br();break;case 3:zi(),cr(dr),cr(pr),Yi();break;case 5:Ii(a);break;case 4:zi();break;case 13:case 19:cr(qi);break;case 10:ni(a);break;case 23:case 24:kl()}n=n.return}Ts=e,Ms=Wl(e.current,null),Ls=zs=js=t,Is=0,qs=null,Rs=Ds=Fs=0}function wl(e,t){for(;;){var n=Ms;try{if(ti(),Ki.current=Mo,to){for(var a=Gi.memoizedState;null!==a;){var r=a.queue;null!==r&&(r.pending=null),a=a.next}to=!1}if(Xi=0,eo=Ji=Gi=null,no=!1,Ns.current=null,null===n||null===n.return){Is=1,qs=t,Ms=null;break}e:{var i=e,o=n.return,s=n,l=t;if(t=Ls,s.flags|=2048,s.firstEffect=s.lastEffect=null,null!==l&&"object"==typeof l&&"function"==typeof l.then){var c=l;if(0==(2&s.mode)){var u=s.alternate;u?(s.updateQueue=u.updateQueue,s.memoizedState=u.memoizedState,s.lanes=u.lanes):(s.updateQueue=null,s.memoizedState=null)}var f=0!=(1&qi.current),p=o;do{var d;if(d=13===p.tag){var m=p.memoizedState;if(null!==m)d=null!==m.dehydrated;else{var g=p.memoizedProps;d=void 0!==g.fallback&&(!0!==g.unstable_avoidThisFallback||!f)}}if(d){var h=p.updateQueue;if(null===h){var b=new Set;b.add(c),p.updateQueue=b}else h.add(c);if(0==(2&p.mode)){if(p.flags|=64,s.flags|=16384,s.flags&=-2981,1===s.tag)if(null===s.alternate)s.tag=17;else{var y=ci(-1,1);y.tag=2,ui(s,y)}s.lanes|=1;break e}l=void 0,s=t;var v=i.pingCache;if(null===v?(v=i.pingCache=new ls,l=new Set,v.set(c,l)):void 0===(l=v.get(c))&&(l=new Set,v.set(c,l)),!l.has(s)){l.add(s);var k=Fl.bind(null,i,c,s);c.then(k,k)}p.flags|=4096,p.lanes=t;break e}p=p.return}while(null!==p);l=Error((Q(s.type)||"A React component")+" suspended while rendering, but no fallback UI was specified.\n\nAdd a <Suspense fallback=...> component higher in the tree to provide a loading indicator or placeholder to display.")}5!==Is&&(Is=2),l=os(l,s),p=o;do{switch(p.tag){case 3:i=l,p.flags|=4096,t&=-t,p.lanes|=t,fi(p,cs(0,i,t));break e;case 1:i=l;var _=p.type,w=p.stateNode;if(0==(64&p.flags)&&("function"==typeof _.getDerivedStateFromError||null!==w&&"function"==typeof w.componentDidCatch&&(null===Ks||!Ks.has(w)))){p.flags|=4096,t&=-t,p.lanes|=t,fi(p,us(p,i,t));break e}}p=p.return}while(null!==p)}Nl(n)}catch(e){t=e,Ms===n&&null!==n&&(Ms=n=n.return);continue}break}}function xl(){var e=Cs.current;return Cs.current=Mo,null===e?Mo:e}function El(e,t){var n=Os;Os|=16;var a=xl();for(Ts===e&&Ls===t||_l(e,t);;)try{Sl();break}catch(t){wl(e,t)}if(ti(),Os=n,Cs.current=a,null!==Ms)throw Error(o(261));return Ts=null,Ls=0,Is}function Sl(){for(;null!==Ms;)Cl(Ms)}function Pl(){for(;null!==Ms&&!Cr();)Cl(Ms)}function Cl(e){var t=$s(e.alternate,e,zs);e.memoizedProps=e.pendingProps,null===t?Nl(e):Ms=t,Ns.current=null}function Nl(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(2048&t.flags)){if(null!==(n=rs(n,t,zs)))return void(Ms=n);if(24!==(n=t).tag&&23!==n.tag||null===n.memoizedState||0!=(1073741824&zs)||0==(4&n.mode)){for(var a=0,r=n.child;null!==r;)a|=r.lanes|r.childLanes,r=r.sibling;n.childLanes=a}null!==e&&0==(2048&e.flags)&&(null===e.firstEffect&&(e.firstEffect=t.firstEffect),null!==t.lastEffect&&(null!==e.lastEffect&&(e.lastEffect.nextEffect=t.firstEffect),e.lastEffect=t.lastEffect),1<t.flags&&(null!==e.lastEffect?e.lastEffect.nextEffect=t:e.firstEffect=t,e.lastEffect=t))}else{if(null!==(n=is(t)))return n.flags&=2047,void(Ms=n);null!==e&&(e.firstEffect=e.lastEffect=null,e.flags|=2048)}if(null!==(t=t.sibling))return void(Ms=t);Ms=t=e}while(null!==t);0===Is&&(Is=5)}function Ol(e){var t=Wr();return $r(99,Tl.bind(null,e,t)),null}function Tl(e,t){do{Ll()}while(null!==Xs);if(0!=(48&Os))throw Error(o(327));var n=e.finishedWork;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(o(177));e.callbackNode=null;var a=n.lanes|n.childLanes,r=a,i=e.pendingLanes&~r;e.pendingLanes=r,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=r,e.mutableReadLanes&=r,e.entangledLanes&=r,r=e.entanglements;for(var s=e.eventTimes,l=e.expirationTimes;0<i;){var c=31-Wt(i),u=1<<c;r[c]=0,s[c]=-1,l[c]=-1,i&=~u}if(null!==tl&&0==(24&a)&&tl.has(e)&&tl.delete(e),e===Ts&&(Ms=Ts=null,Ls=0),1<n.flags?null!==n.lastEffect?(n.lastEffect.nextEffect=n,a=n.firstEffect):a=n:a=n.firstEffect,null!==a){if(r=Os,Os|=32,Ns.current=null,Ra=Yt,ha(s=ga())){if("selectionStart"in s)l={start:s.selectionStart,end:s.selectionEnd};else e:if(l=(l=s.ownerDocument)&&l.defaultView||window,(u=l.getSelection&&l.getSelection())&&0!==u.rangeCount){l=u.anchorNode,i=u.anchorOffset,c=u.focusNode,u=u.focusOffset;try{l.nodeType,c.nodeType}catch(e){l=null;break e}var f=0,p=-1,d=-1,m=0,g=0,h=s,b=null;t:for(;;){for(var y;h!==l||0!==i&&3!==h.nodeType||(p=f+i),h!==c||0!==u&&3!==h.nodeType||(d=f+u),3===h.nodeType&&(f+=h.nodeValue.length),null!==(y=h.firstChild);)b=h,h=y;for(;;){if(h===s)break t;if(b===l&&++m===i&&(p=f),b===c&&++g===u&&(d=f),null!==(y=h.nextSibling))break;b=(h=b).parentNode}h=y}l=-1===p||-1===d?null:{start:p,end:d}}else l=null;l=l||{start:0,end:0}}else l=null;Ba={focusedElem:s,selectionRange:l},Yt=!1,sl=null,ll=!1,Vs=a;do{try{Ml()}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);sl=null,Vs=a;do{try{for(s=e;null!==Vs;){var v=Vs.flags;if(16&v&&be(Vs.stateNode,""),128&v){var k=Vs.alternate;if(null!==k){var _=k.ref;null!==_&&("function"==typeof _?_(null):_.current=null)}}switch(1038&v){case 2:vs(Vs),Vs.flags&=-3;break;case 6:vs(Vs),Vs.flags&=-3,xs(Vs.alternate,Vs);break;case 1024:Vs.flags&=-1025;break;case 1028:Vs.flags&=-1025,xs(Vs.alternate,Vs);break;case 4:xs(Vs.alternate,Vs);break;case 8:ws(s,l=Vs);var w=l.alternate;bs(l),null!==w&&bs(w)}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);if(_=Ba,k=ga(),v=_.focusedElem,s=_.selectionRange,k!==v&&v&&v.ownerDocument&&ma(v.ownerDocument.documentElement,v)){null!==s&&ha(v)&&(k=s.start,void 0===(_=s.end)&&(_=k),"selectionStart"in v?(v.selectionStart=k,v.selectionEnd=Math.min(_,v.value.length)):(_=(k=v.ownerDocument||document)&&k.defaultView||window).getSelection&&(_=_.getSelection(),l=v.textContent.length,w=Math.min(s.start,l),s=void 0===s.end?w:Math.min(s.end,l),!_.extend&&w>s&&(l=s,s=w,w=l),l=da(v,w),i=da(v,s),l&&i&&(1!==_.rangeCount||_.anchorNode!==l.node||_.anchorOffset!==l.offset||_.focusNode!==i.node||_.focusOffset!==i.offset)&&((k=k.createRange()).setStart(l.node,l.offset),_.removeAllRanges(),w>s?(_.addRange(k),_.extend(i.node,i.offset)):(k.setEnd(i.node,i.offset),_.addRange(k))))),k=[];for(_=v;_=_.parentNode;)1===_.nodeType&&k.push({element:_,left:_.scrollLeft,top:_.scrollTop});for("function"==typeof v.focus&&v.focus(),v=0;v<k.length;v++)(_=k[v]).element.scrollLeft=_.left,_.element.scrollTop=_.top}Yt=!!Ra,Ba=Ra=null,e.current=n,Vs=a;do{try{for(v=e;null!==Vs;){var x=Vs.flags;if(36&x&&ms(v,Vs.alternate,Vs),128&x){k=void 0;var E=Vs.ref;if(null!==E){var S=Vs.stateNode;Vs.tag,k=S,"function"==typeof E?E(k):E.current=k}}Vs=Vs.nextEffect}}catch(e){if(null===Vs)throw Error(o(330));jl(Vs,e),Vs=Vs.nextEffect}}while(null!==Vs);Vs=null,jr(),Os=r}else e.current=n;if(Zs)Zs=!1,Xs=e,Gs=t;else for(Vs=a;null!==Vs;)t=Vs.nextEffect,Vs.nextEffect=null,8&Vs.flags&&((x=Vs).sibling=null,x.stateNode=null),Vs=t;if(0===(a=e.pendingLanes)&&(Ks=null),1===a?e===al?nl++:(nl=0,al=e):nl=0,n=n.stateNode,xr&&"function"==typeof xr.onCommitFiberRoot)try{xr.onCommitFiberRoot(wr,n,void 0,64==(64&n.current.flags))}catch(e){}if(dl(e,Ur()),Qs)throw Qs=!1,e=Ys,Ys=null,e;return 0!=(8&Os)||Qr(),null}function Ml(){for(;null!==Vs;){var e=Vs.alternate;ll||null===sl||(0!=(8&Vs.flags)?Je(Vs,sl)&&(ll=!0):13===Vs.tag&&Ss(e,Vs)&&Je(Vs,sl)&&(ll=!0));var t=Vs.flags;0!=(256&t)&&ds(e,Vs),0==(512&t)||Zs||(Zs=!0,Vr(97,(function(){return Ll(),null}))),Vs=Vs.nextEffect}}function Ll(){if(90!==Gs){var e=97<Gs?97:Gs;return Gs=90,$r(e,Il)}return!1}function zl(e,t){Js.push(t,e),Zs||(Zs=!0,Vr(97,(function(){return Ll(),null})))}function Al(e,t){el.push(t,e),Zs||(Zs=!0,Vr(97,(function(){return Ll(),null})))}function Il(){if(null===Xs)return!1;var e=Xs;if(Xs=null,0!=(48&Os))throw Error(o(331));var t=Os;Os|=32;var n=el;el=[];for(var a=0;a<n.length;a+=2){var r=n[a],i=n[a+1],s=r.destroy;if(r.destroy=void 0,"function"==typeof s)try{s()}catch(e){if(null===i)throw Error(o(330));jl(i,e)}}for(n=Js,Js=[],a=0;a<n.length;a+=2){r=n[a],i=n[a+1];try{var l=r.create;r.destroy=l()}catch(e){if(null===i)throw Error(o(330));jl(i,e)}}for(l=e.current.firstEffect;null!==l;)e=l.nextEffect,l.nextEffect=null,8&l.flags&&(l.sibling=null,l.stateNode=null),l=e;return Os=t,Qr(),!0}function ql(e,t,n){ui(e,t=cs(0,t=os(n,t),1)),t=cl(),null!==(e=pl(e,1))&&(Ut(e,1,t),dl(e,t))}function jl(e,t){if(3===e.tag)ql(e,e,t);else for(var n=e.return;null!==n;){if(3===n.tag){ql(n,e,t);break}if(1===n.tag){var a=n.stateNode;if("function"==typeof n.type.getDerivedStateFromError||"function"==typeof a.componentDidCatch&&(null===Ks||!Ks.has(a))){var r=us(n,e=os(t,e),1);if(ui(n,r),r=cl(),null!==(n=pl(n,1)))Ut(n,1,r),dl(n,r);else if("function"==typeof a.componentDidCatch&&(null===Ks||!Ks.has(a)))try{a.componentDidCatch(t,e)}catch(e){}break}}n=n.return}}function Fl(e,t,n){var a=e.pingCache;null!==a&&a.delete(t),t=cl(),e.pingedLanes|=e.suspendedLanes&n,Ts===e&&(Ls&n)===n&&(4===Is||3===Is&&(62914560&Ls)===Ls&&500>Ur()-Us?_l(e,0):Rs|=n),dl(e,t)}function Dl(e,t){var n=e.stateNode;null!==n&&n.delete(t),0==(t=0)&&(0==(2&(t=e.mode))?t=1:0==(4&t)?t=99===Wr()?1:2:(0===il&&(il=js),0===(t=Rt(62914560&~il))&&(t=4194304))),n=cl(),null!==(e=pl(e,t))&&(Ut(e,t,n),dl(e,n))}function Rl(e,t,n,a){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=a,this.flags=0,this.lastEffect=this.firstEffect=this.nextEffect=null,this.childLanes=this.lanes=0,this.alternate=null}function Bl(e,t,n,a){return new Rl(e,t,n,a)}function Ul(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Wl(e,t){var n=e.alternate;return null===n?((n=Bl(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.nextEffect=null,n.firstEffect=null,n.lastEffect=null),n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Hl(e,t,n,a,r,i){var s=2;if(a=e,"function"==typeof e)Ul(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case E:return $l(n.children,r,i,t);case q:s=8,r|=16;break;case S:s=8,r|=1;break;case P:return(e=Bl(12,n,t,8|r)).elementType=P,e.type=P,e.lanes=i,e;case T:return(e=Bl(13,n,t,r)).type=T,e.elementType=T,e.lanes=i,e;case M:return(e=Bl(19,n,t,r)).elementType=M,e.lanes=i,e;case j:return Vl(n,r,i,t);case F:return(e=Bl(24,n,t,r)).elementType=F,e.lanes=i,e;default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:s=10;break e;case N:s=9;break e;case O:s=11;break e;case L:s=14;break e;case z:s=16,a=null;break e;case A:s=22;break e}throw Error(o(130,null==e?e:typeof e,""))}return(t=Bl(s,n,t,r)).elementType=e,t.type=a,t.lanes=i,t}function $l(e,t,n,a){return(e=Bl(7,e,a,t)).lanes=n,e}function Vl(e,t,n,a){return(e=Bl(23,e,a,t)).elementType=j,e.lanes=n,e}function Ql(e,t,n){return(e=Bl(6,e,null,t)).lanes=n,e}function Yl(e,t,n){return(t=Bl(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Kl(e,t,n){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.pendingContext=this.context=null,this.hydrate=n,this.callbackNode=null,this.callbackPriority=0,this.eventTimes=Bt(0),this.expirationTimes=Bt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Bt(0),this.mutableSourceEagerHydrationData=null}function Zl(e,t,n){var a=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==a?null:""+a,children:e,containerInfo:t,implementation:n}}function Xl(e,t,n,a){var r=t.current,i=cl(),s=ul(r);e:if(n){t:{if(Ke(n=n._reactInternals)!==n||1!==n.tag)throw Error(o(170));var l=n;do{switch(l.tag){case 3:l=l.stateNode.context;break t;case 1:if(hr(l.type)){l=l.stateNode.__reactInternalMemoizedMergedChildContext;break t}}l=l.return}while(null!==l);throw Error(o(171))}if(1===n.tag){var c=n.type;if(hr(c)){n=vr(n,c,l);break e}}n=l}else n=fr;return null===t.context?t.context=n:t.pendingContext=n,(t=ci(i,s)).payload={element:e},null!==(a=void 0===a?null:a)&&(t.callback=a),ui(r,t),fl(r,s,i),s}function Gl(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Jl(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function ec(e,t){Jl(e,t),(e=e.alternate)&&Jl(e,t)}function tc(e,t,n){var a=null!=n&&null!=n.hydrationOptions&&n.hydrationOptions.mutableSources||null;if(n=new Kl(e,t,null!=n&&!0===n.hydrate),t=Bl(3,null,null,2===t?7:1===t?3:0),n.current=t,t.stateNode=n,si(t),e[Ja]=n.current,Ma(8===e.nodeType?e.parentNode:e),a)for(e=0;e<a.length;e++){var r=(t=a[e])._getVersion;r=r(t._source),null==n.mutableSourceEagerHydrationData?n.mutableSourceEagerHydrationData=[t,r]:n.mutableSourceEagerHydrationData.push(t,r)}this._internalRoot=n}function nc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ac(e,t,n,a,r){var i=n._reactRootContainer;if(i){var o=i._internalRoot;if("function"==typeof r){var s=r;r=function(){var e=Gl(o);s.call(e)}}Xl(t,o,e,r)}else{if(i=n._reactRootContainer=function(e,t){if(t||(t=!(!(t=e?9===e.nodeType?e.documentElement:e.firstChild:null)||1!==t.nodeType||!t.hasAttribute("data-reactroot"))),!t)for(var n;n=e.lastChild;)e.removeChild(n);return new tc(e,0,t?{hydrate:!0}:void 0)}(n,a),o=i._internalRoot,"function"==typeof r){var l=r;r=function(){var e=Gl(o);l.call(e)}}yl((function(){Xl(t,o,e,r)}))}return Gl(o)}function rc(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!nc(t))throw Error(o(200));return Zl(e,t,null,n)}$s=function(e,t,n){var a=t.lanes;if(null!==e)if(e.memoizedProps!==t.pendingProps||dr.current)qo=!0;else{if(0==(n&a)){switch(qo=!1,t.tag){case 3:Vo(t),Vi();break;case 5:Ai(t);break;case 1:hr(t.type)&&kr(t);break;case 4:Li(t,t.stateNode.containerInfo);break;case 10:a=t.memoizedProps.value;var r=t.type._context;ur(Xr,r._currentValue),r._currentValue=a;break;case 13:if(null!==t.memoizedState)return 0!=(n&t.child.childLanes)?Xo(e,t,n):(ur(qi,1&qi.current),null!==(t=ns(e,t,n))?t.sibling:null);ur(qi,1&qi.current);break;case 19:if(a=0!=(n&t.childLanes),0!=(64&e.flags)){if(a)return ts(e,t,n);t.flags|=64}if(null!==(r=t.memoizedState)&&(r.rendering=null,r.tail=null,r.lastEffect=null),ur(qi,qi.current),a)break;return null;case 23:case 24:return t.lanes=0,Bo(e,t,n)}return ns(e,t,n)}qo=0!=(16384&e.flags)}else qo=!1;switch(t.lanes=0,t.tag){case 2:if(a=t.type,null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=gr(t,pr.current),ri(t,n),r=io(null,t,a,e,r,n),t.flags|=1,"object"==typeof r&&null!==r&&"function"==typeof r.render&&void 0===r.$$typeof){if(t.tag=1,t.memoizedState=null,t.updateQueue=null,hr(a)){var i=!0;kr(t)}else i=!1;t.memoizedState=null!==r.state&&void 0!==r.state?r.state:null,si(t);var s=a.getDerivedStateFromProps;"function"==typeof s&&gi(t,a,s,e),r.updater=hi,t.stateNode=r,r._reactInternals=t,ki(t,a,e,n),t=$o(null,t,a,!0,i,n)}else t.tag=0,jo(null,t,r,n),t=t.child;return t;case 16:r=t.elementType;e:{switch(null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Ul(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===L)return 14}return 2}(r),e=Zr(r,e),i){case 0:t=Wo(null,t,r,e,n);break e;case 1:t=Ho(null,t,r,e,n);break e;case 11:t=Fo(null,t,r,e,n);break e;case 14:t=Do(null,t,r,Zr(r.type,e),a,n);break e}throw Error(o(306,r,""))}return t;case 0:return a=t.type,r=t.pendingProps,Wo(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 1:return a=t.type,r=t.pendingProps,Ho(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 3:if(Vo(t),a=t.updateQueue,null===e||null===a)throw Error(o(282));if(a=t.pendingProps,r=null!==(r=t.memoizedState)?r.element:null,li(e,t),pi(t,a,null,n),(a=t.memoizedState.element)===r)Vi(),t=ns(e,t,n);else{if((i=(r=t.stateNode).hydrate)&&(Di=Qa(t.stateNode.containerInfo.firstChild),Fi=t,i=Ri=!0),i){if(null!=(e=r.mutableSourceEagerHydrationData))for(r=0;r<e.length;r+=2)(i=e[r])._workInProgressVersionPrimary=e[r+1],Qi.push(i);for(n=Pi(t,null,a,n),t.child=n;n;)n.flags=-3&n.flags|1024,n=n.sibling}else jo(e,t,a,n),Vi();t=t.child}return t;case 5:return Ai(t),null===e&&Wi(t),a=t.type,r=t.pendingProps,i=null!==e?e.memoizedProps:null,s=r.children,Wa(a,r)?s=null:null!==i&&Wa(a,i)&&(t.flags|=16),Uo(e,t),jo(e,t,s,n),t.child;case 6:return null===e&&Wi(t),null;case 13:return Xo(e,t,n);case 4:return Li(t,t.stateNode.containerInfo),a=t.pendingProps,null===e?t.child=Si(t,null,a,n):jo(e,t,a,n),t.child;case 11:return a=t.type,r=t.pendingProps,Fo(e,t,a,r=t.elementType===a?r:Zr(a,r),n);case 7:return jo(e,t,t.pendingProps,n),t.child;case 8:case 12:return jo(e,t,t.pendingProps.children,n),t.child;case 10:e:{a=t.type._context,r=t.pendingProps,s=t.memoizedProps,i=r.value;var l=t.type._context;if(ur(Xr,l._currentValue),l._currentValue=i,null!==s)if(l=s.value,0==(i=ca(l,i)?0:0|("function"==typeof a._calculateChangedBits?a._calculateChangedBits(l,i):1073741823))){if(s.children===r.children&&!dr.current){t=ns(e,t,n);break e}}else for(null!==(l=t.child)&&(l.return=t);null!==l;){var c=l.dependencies;if(null!==c){s=l.child;for(var u=c.firstContext;null!==u;){if(u.context===a&&0!=(u.observedBits&i)){1===l.tag&&((u=ci(-1,n&-n)).tag=2,ui(l,u)),l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),ai(l.return,n),c.lanes|=n;break}u=u.next}}else s=10===l.tag&&l.type===t.type?null:l.child;if(null!==s)s.return=l;else for(s=l;null!==s;){if(s===t){s=null;break}if(null!==(l=s.sibling)){l.return=s.return,s=l;break}s=s.return}l=s}jo(e,t,r.children,n),t=t.child}return t;case 9:return r=t.type,a=(i=t.pendingProps).children,ri(t,n),a=a(r=ii(r,i.unstable_observedBits)),t.flags|=1,jo(e,t,a,n),t.child;case 14:return i=Zr(r=t.type,t.pendingProps),Do(e,t,r,i=Zr(r.type,i),a,n);case 15:return Ro(e,t,t.type,t.pendingProps,a,n);case 17:return a=t.type,r=t.pendingProps,r=t.elementType===a?r:Zr(a,r),null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2),t.tag=1,hr(a)?(e=!0,kr(t)):e=!1,ri(t,n),yi(t,a,r),ki(t,a,r,n),$o(null,t,a,!0,e,n);case 19:return ts(e,t,n);case 23:case 24:return Bo(e,t,n)}throw Error(o(156,t.tag))},tc.prototype.render=function(e){Xl(e,this._internalRoot,null,null)},tc.prototype.unmount=function(){var e=this._internalRoot,t=e.containerInfo;Xl(null,e,null,(function(){t[Ja]=null}))},et=function(e){13===e.tag&&(fl(e,4,cl()),ec(e,4))},tt=function(e){13===e.tag&&(fl(e,67108864,cl()),ec(e,67108864))},nt=function(e){if(13===e.tag){var t=cl(),n=ul(e);fl(e,n,t),ec(e,n)}},at=function(e,t){return t()},Pe=function(e,t,n){switch(t){case"input":if(ne(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var a=n[t];if(a!==e&&a.form===e.form){var r=rr(a);if(!r)throw Error(o(90));X(a),ne(a,r)}}}break;case"textarea":ce(e,n);break;case"select":null!=(t=n.value)&&oe(e,!!n.multiple,t,!1)}},Le=bl,ze=function(e,t,n,a,r){var i=Os;Os|=4;try{return $r(98,e.bind(null,t,n,a,r))}finally{0===(Os=i)&&(Hs(),Qr())}},Ae=function(){0==(49&Os)&&(function(){if(null!==tl){var e=tl;tl=null,e.forEach((function(e){e.expiredLanes|=24&e.pendingLanes,dl(e,Ur())}))}Qr()}(),Ll())},Ie=function(e,t){var n=Os;Os|=2;try{return e(t)}finally{0===(Os=n)&&(Hs(),Qr())}};var ic={Events:[nr,ar,rr,Te,Me,Ll,{current:!1}]},oc={findFiberByHostInstance:tr,bundleType:0,version:"17.0.2",rendererPackageName:"react-dom"},sc={bundleType:oc.bundleType,version:oc.version,rendererPackageName:oc.rendererPackageName,rendererConfig:oc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:_.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=Ge(e))?null:e.stateNode},findFiberByHostInstance:oc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var lc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!lc.isDisabled&&lc.supportsFiber)try{wr=lc.inject(sc),xr=lc}catch(ge){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=ic,t.createPortal=rc,t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(o(188));throw Error(o(268,Object.keys(e)))}return null===(e=Ge(t))?null:e.stateNode},t.flushSync=function(e,t){var n=Os;if(0!=(48&n))return e(t);Os|=1;try{if(e)return $r(99,e.bind(null,t))}finally{Os=n,Qr()}},t.hydrate=function(e,t,n){if(!nc(t))throw Error(o(200));return ac(null,e,t,!0,n)},t.render=function(e,t,n){if(!nc(t))throw Error(o(200));return ac(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!nc(e))throw Error(o(40));return!!e._reactRootContainer&&(yl((function(){ac(null,null,e,!1,(function(){e._reactRootContainer=null,e[Ja]=null}))})),!0)},t.unstable_batchedUpdates=bl,t.unstable_createPortal=function(e,t){return rc(e,t,2<arguments.length&&void 0!==arguments[2]?arguments[2]:null)},t.unstable_renderSubtreeIntoContainer=function(e,t,n,a){if(!nc(n))throw Error(o(200));if(null==e||void 0===e._reactInternals)throw Error(o(38));return ac(e,t,n,!1,a)},t.version="17.0.2"},935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(448)},408:(e,t,n)=>{"use strict";var a=n(418),r=60103,i=60106;t.Fragment=60107,t.StrictMode=60108,t.Profiler=60114;var o=60109,s=60110,l=60112;t.Suspense=60113;var c=60115,u=60116;if("function"==typeof Symbol&&Symbol.for){var f=Symbol.for;r=f("react.element"),i=f("react.portal"),t.Fragment=f("react.fragment"),t.StrictMode=f("react.strict_mode"),t.Profiler=f("react.profiler"),o=f("react.provider"),s=f("react.context"),l=f("react.forward_ref"),t.Suspense=f("react.suspense"),c=f("react.memo"),u=f("react.lazy")}var p="function"==typeof Symbol&&Symbol.iterator;function d(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},g={};function h(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||m}h.prototype.isReactComponent={},h.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error(d(85));this.updater.enqueueSetState(this,e,t,"setState")},h.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=h.prototype;var v=y.prototype=new b;v.constructor=y,a(v,h.prototype),v.isPureReactComponent=!0;var k={current:null},_=Object.prototype.hasOwnProperty,w={key:!0,ref:!0,__self:!0,__source:!0};function x(e,t,n){var a,i={},o=null,s=null;if(null!=t)for(a in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)_.call(t,a)&&!w.hasOwnProperty(a)&&(i[a]=t[a]);var l=arguments.length-2;if(1===l)i.children=n;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];i.children=c}if(e&&e.defaultProps)for(a in l=e.defaultProps)void 0===i[a]&&(i[a]=l[a]);return{$$typeof:r,type:e,key:o,ref:s,props:i,_owner:k.current}}function E(e){return"object"==typeof e&&null!==e&&e.$$typeof===r}var S=/\/+/g;function P(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function C(e,t,n,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case r:case i:l=!0}}if(l)return o=o(l=e),e=""===a?"."+P(l,0):a,Array.isArray(o)?(n="",null!=e&&(n=e.replace(S,"$&/")+"/"),C(o,t,n,"",(function(e){return e}))):null!=o&&(E(o)&&(o=function(e,t){return{$$typeof:r,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,n+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(S,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",Array.isArray(e))for(var c=0;c<e.length;c++){var u=a+P(s=e[c],c);l+=C(s,t,n,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=C(s=s.value,t,n,u=a+P(s,c++),o);else if("object"===s)throw t=""+e,Error(d(31,"[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t));return l}function N(e,t,n){if(null==e)return e;var a=[],r=0;return C(e,a,"","",(function(e){return t.call(n,e,r++)})),a}function O(e){if(-1===e._status){var t=e._result;t=t(),e._status=0,e._result=t,t.then((function(t){0===e._status&&(t=t.default,e._status=1,e._result=t)}),(function(t){0===e._status&&(e._status=2,e._result=t)}))}if(1===e._status)return e._result;throw e._result}var T={current:null};function M(){var e=T.current;if(null===e)throw Error(d(321));return e}var L={ReactCurrentDispatcher:T,ReactCurrentBatchConfig:{transition:0},ReactCurrentOwner:k,IsSomeRendererActing:{current:!1},assign:a};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!E(e))throw Error(d(143));return e}},t.Component=h,t.PureComponent=y,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.cloneElement=function(e,t,n){if(null==e)throw Error(d(267,e));var i=a({},e.props),o=e.key,s=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(s=t.ref,l=k.current),void 0!==t.key&&(o=""+t.key),e.type&&e.type.defaultProps)var c=e.type.defaultProps;for(u in t)_.call(t,u)&&!w.hasOwnProperty(u)&&(i[u]=void 0===t[u]&&void 0!==c?c[u]:t[u])}var u=arguments.length-2;if(1===u)i.children=n;else if(1<u){c=Array(u);for(var f=0;f<u;f++)c[f]=arguments[f+2];i.children=c}return{$$typeof:r,type:e.type,key:o,ref:s,props:i,_owner:l}},t.createContext=function(e,t){return void 0===t&&(t=null),(e={$$typeof:s,_calculateChangedBits:t,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null}).Provider={$$typeof:o,_context:e},e.Consumer=e},t.createElement=x,t.createFactory=function(e){var t=x.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:l,render:e}},t.isValidElement=E,t.lazy=function(e){return{$$typeof:u,_payload:{_status:-1,_result:e},_init:O}},t.memo=function(e,t){return{$$typeof:c,type:e,compare:void 0===t?null:t}},t.useCallback=function(e,t){return M().useCallback(e,t)},t.useContext=function(e,t){return M().useContext(e,t)},t.useDebugValue=function(){},t.useEffect=function(e,t){return M().useEffect(e,t)},t.useImperativeHandle=function(e,t,n){return M().useImperativeHandle(e,t,n)},t.useLayoutEffect=function(e,t){return M().useLayoutEffect(e,t)},t.useMemo=function(e,t){return M().useMemo(e,t)},t.useReducer=function(e,t,n){return M().useReducer(e,t,n)},t.useRef=function(e){return M().useRef(e)},t.useState=function(e){return M().useState(e)},t.version="17.0.2"},294:(e,t,n)=>{"use strict";e.exports=n(408)},53:(e,t)=>{"use strict";var n,a,r,i;if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}if("undefined"==typeof window||"function"!=typeof MessageChannel){var c=null,u=null,f=function(){if(null!==c)try{var e=t.unstable_now();c(!0,e),c=null}catch(e){throw setTimeout(f,0),e}};n=function(e){null!==c?setTimeout(n,0,e):(c=e,setTimeout(f,0))},a=function(e,t){u=setTimeout(e,t)},r=function(){clearTimeout(u)},t.unstable_shouldYield=function(){return!1},i=t.unstable_forceFrameRate=function(){}}else{var p=window.setTimeout,d=window.clearTimeout;if("undefined"!=typeof console){var m=window.cancelAnimationFrame;"function"!=typeof window.requestAnimationFrame&&console.error("This browser doesn't support requestAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills"),"function"!=typeof m&&console.error("This browser doesn't support cancelAnimationFrame. Make sure that you load a polyfill in older browsers. https://reactjs.org/link/react-polyfills")}var g=!1,h=null,b=-1,y=5,v=0;t.unstable_shouldYield=function(){return t.unstable_now()>=v},i=function(){},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):y=0<e?Math.floor(1e3/e):5};var k=new MessageChannel,_=k.port2;k.port1.onmessage=function(){if(null!==h){var e=t.unstable_now();v=e+y;try{h(!0,e)?_.postMessage(null):(g=!1,h=null)}catch(e){throw _.postMessage(null),e}}else g=!1},n=function(e){h=e,g||(g=!0,_.postMessage(null))},a=function(e,n){b=p((function(){e(t.unstable_now())}),n)},r=function(){d(b),b=-1}}function w(e,t){var n=e.length;e.push(t);e:for(;;){var a=n-1>>>1,r=e[a];if(!(void 0!==r&&0<S(r,t)))break e;e[a]=t,e[n]=r,n=a}}function x(e){return void 0===(e=e[0])?null:e}function E(e){var t=e[0];if(void 0!==t){var n=e.pop();if(n!==t){e[0]=n;e:for(var a=0,r=e.length;a<r;){var i=2*(a+1)-1,o=e[i],s=i+1,l=e[s];if(void 0!==o&&0>S(o,n))void 0!==l&&0>S(l,o)?(e[a]=l,e[s]=n,a=s):(e[a]=o,e[i]=n,a=i);else{if(!(void 0!==l&&0>S(l,n)))break e;e[a]=l,e[s]=n,a=s}}}return t}return null}function S(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}var P=[],C=[],N=1,O=null,T=3,M=!1,L=!1,z=!1;function A(e){for(var t=x(C);null!==t;){if(null===t.callback)E(C);else{if(!(t.startTime<=e))break;E(C),t.sortIndex=t.expirationTime,w(P,t)}t=x(C)}}function I(e){if(z=!1,A(e),!L)if(null!==x(P))L=!0,n(q);else{var t=x(C);null!==t&&a(I,t.startTime-e)}}function q(e,n){L=!1,z&&(z=!1,r()),M=!0;var i=T;try{for(A(n),O=x(P);null!==O&&(!(O.expirationTime>n)||e&&!t.unstable_shouldYield());){var o=O.callback;if("function"==typeof o){O.callback=null,T=O.priorityLevel;var s=o(O.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?O.callback=s:O===x(P)&&E(P),A(n)}else E(P);O=x(P)}if(null!==O)var l=!0;else{var c=x(C);null!==c&&a(I,c.startTime-n),l=!1}return l}finally{O=null,T=i,M=!1}}var j=i;t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){L||M||(L=!0,n(q))},t.unstable_getCurrentPriorityLevel=function(){return T},t.unstable_getFirstCallbackNode=function(){return x(P)},t.unstable_next=function(e){switch(T){case 1:case 2:case 3:var t=3;break;default:t=T}var n=T;T=t;try{return e()}finally{T=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=j,t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=T;T=e;try{return t()}finally{T=n}},t.unstable_scheduleCallback=function(e,i,o){var s=t.unstable_now();switch(o="object"==typeof o&&null!==o&&"number"==typeof(o=o.delay)&&0<o?s+o:s,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:N++,callback:i,priorityLevel:e,startTime:o,expirationTime:l=o+l,sortIndex:-1},o>s?(e.sortIndex=o,w(C,e),null===x(P)&&e===x(C)&&(z?r():z=!0,a(I,o-s))):(e.sortIndex=l,w(P,e),L||M||(L=!0,n(q))),e},t.unstable_wrapCallback=function(e){var t=T;return function(){var n=T;T=t;try{return e.apply(this,arguments)}finally{T=n}}}},840:(e,t,n)=>{"use strict";e.exports=n(53)},379:e=>{"use strict";var t=[];function n(e){for(var n=-1,a=0;a<t.length;a++)if(t[a].identifier===e){n=a;break}return n}function a(e,a){for(var i={},o=[],s=0;s<e.length;s++){var l=e[s],c=a.base?l[0]+a.base:l[0],u=i[c]||0,f="".concat(c," ").concat(u);i[c]=u+1;var p=n(f),d={css:l[1],media:l[2],sourceMap:l[3],supports:l[4],layer:l[5]};if(-1!==p)t[p].references++,t[p].updater(d);else{var m=r(d,a);a.byIndex=s,t.splice(s,0,{identifier:f,updater:m,references:1})}o.push(f)}return o}function r(e,t){var n=t.domAPI(t);return n.update(e),function(t){if(t){if(t.css===e.css&&t.media===e.media&&t.sourceMap===e.sourceMap&&t.supports===e.supports&&t.layer===e.layer)return;n.update(e=t)}else n.remove()}}e.exports=function(e,r){var i=a(e=e||[],r=r||{});return function(e){e=e||[];for(var o=0;o<i.length;o++){var s=n(i[o]);t[s].references--}for(var l=a(e,r),c=0;c<i.length;c++){var u=n(i[c]);0===t[u].references&&(t[u].updater(),t.splice(u,1))}i=l}}},569:e=>{"use strict";var t={};e.exports=function(e,n){var a=function(e){if(void 0===t[e]){var n=document.querySelector(e);if(window.HTMLIFrameElement&&n instanceof window.HTMLIFrameElement)try{n=n.contentDocument.head}catch(e){n=null}t[e]=n}return t[e]}(e);if(!a)throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");a.appendChild(n)}},216:e=>{"use strict";e.exports=function(e){var t=document.createElement("style");return e.setAttributes(t,e.attributes),e.insert(t,e.options),t}},565:(e,t,n)=>{"use strict";e.exports=function(e){var t=n.nc;t&&e.setAttribute("nonce",t)}},795:e=>{"use strict";e.exports=function(e){var t=e.insertStyleElement(e);return{update:function(n){!function(e,t,n){var a="";n.supports&&(a+="@supports (".concat(n.supports,") {")),n.media&&(a+="@media ".concat(n.media," {"));var r=void 0!==n.layer;r&&(a+="@layer".concat(n.layer.length>0?" ".concat(n.layer):""," {")),a+=n.css,r&&(a+="}"),n.media&&(a+="}"),n.supports&&(a+="}");var i=n.sourceMap;i&&"undefined"!=typeof btoa&&(a+="\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(i))))," */")),t.styleTagTransform(a,e,t.options)}(t,e,n)},remove:function(){!function(e){if(null===e.parentNode)return!1;e.parentNode.removeChild(e)}(t)}}}},589:e=>{"use strict";e.exports=function(e,t){if(t.styleSheet)t.styleSheet.cssText=e;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(e))}}}},t={};function n(a){var r=t[a];if(void 0!==r)return r.exports;var i=t[a]={id:a,exports:{}};return e[a](i,i.exports,n),i.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var a in t)n.o(t,a)&&!n.o(e,a)&&Object.defineProperty(e,a,{enumerable:!0,get:t[a]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&(e=t.currentScript.src),!e)){var a=t.getElementsByTagName("script");a.length&&(e=a[a.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e})();var a={};return(()=>{"use strict";n.r(a),n.d(a,{FSConfig:()=>Xr,pricing:()=>Gr}),n(867);var e=n(294),t=n(935),r=n(379),i=n.n(r),o=n(795),s=n.n(o),l=n(569),c=n.n(l),u=n(565),f=n.n(u),p=n(216),d=n.n(p),m=n(589),g=n.n(m),h=n(477),b={};b.styleTagTransform=g(),b.setAttributes=f(),b.insert=c().bind(null,"head"),b.domAPI=s(),b.insertStyleElement=d(),i()(h.Z,b),h.Z&&h.Z.locals&&h.Z.locals;const y=n.p+"b4f3b958f4a019862d81b15f3f8eee3a.svg",v=n.p+"e366d70661d8ad2493bd6afbd779f125.png",k=n.p+"5480ed23b199531a8cbc05924f26952b.png",_=n.p+"dd89563360f0272635c8f0ab7d7f1402.png",w=n.p+"4375c4a3ddc6f637c2ab9a2d7220f91e.png",x=n.p+"fde48e4609a6ddc11d639fc2421f2afd.png",E=function(e,t){return-1!==t.indexOf(e)},S=function(e){return null!=e&&!isNaN(parseFloat(e))&&""!==e},P=function(e){return("string"==typeof e||e instanceof String)&&e.trim().length>0},C=function(e){return null==e},N=function(e,t){return e.toLocaleString(t||void 0,{maximumFractionDigits:2})},O=function(e){return""!=e?e.charAt(0).toUpperCase()+e.slice(1):e},T=function(e){return e?e.toString().length>=2?e:e+"0":"00"};var M=Object.defineProperty,L=(e,t,n)=>(((e,t,n)=>{t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class z{constructor(e=null){if(L(this,"is_block_features",!0),L(this,"is_block_features_monthly",!0),L(this,"is_require_subscription",!0),L(this,"is_success_manager",!1),L(this,"support_email",""),L(this,"support_forum",""),L(this,"support_phone",""),L(this,"support_skype",""),L(this,"trial_period",0),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}hasAnySupport(){return this.hasEmailSupport()||this.hasForumSupport()||this.hasPhoneSupport()||this.hasSkypeSupport()||this.hasSuccessManagerSupport()}hasEmailSupport(){return P(this.support_email)}hasForumSupport(){return P(this.support_forum)}hasKnowledgeBaseSupport(){return P(this.support_kb)}hasPhoneSupport(){return P(this.support_phone)}hasSkypeSupport(){return P(this.support_skype)}hasSuccessManagerSupport(){return 1==this.is_success_manager}hasTrial(){return S(this.trial_period)&&this.trial_period>0}isBlockingMonthly(){return 1==this.is_block_features_monthly}isBlockingAnnually(){return 1==this.is_block_features}requiresSubscription(){return this.is_require_subscription}}var A=Object.defineProperty,I=(e,t,n)=>(((e,t,n)=>{t in e?A(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const q=Object.freeze({USD:"$",GBP:"£",EUR:"€"}),j=12,F="monthly",D="annual",R="lifetime",B=99999;class U{constructor(e=null){if(I(this,"plan_id",null),I(this,"licenses",1),I(this,"monthly_price",null),I(this,"annual_price",null),I(this,"lifetime_price",null),I(this,"currency","usd"),I(this,"is_hidden",!1),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}static getBillingCyclePeriod(e){if(!S(e))return P(e)&&E(e,[F,D,R])||(e=D),e;switch(e=parseInt(e)){case 1:return F;case 0:return R;default:return D}}static getBillingCycleInMonths(e){if(S(e))return e=parseInt(e),E(e,[1,j,0])||(e=j),e;if(!P(e))return j;switch(e){case F:return 1;case R:return 0;default:return j}}getAmount(e,t,n){let a=0;switch(e){case 1:a=this.monthly_price;break;case j:a=this.annual_price;break;case 0:a=this.lifetime_price}return a=parseFloat(a),t&&(a=N(a,n)),a}getMonthlyAmount(e,t,n){let a=0;switch(e){case 1:a=this.hasMonthlyPrice()?this.monthly_price:this.annual_price/12;break;case j:a=this.hasAnnualPrice()?this.annual_price/12:this.monthly_price}return a=parseFloat(a),t&&(a=N(a,n)),a}getYearlyAmount(e,t,n){let a=0;switch(e){case 1:a=this.hasMonthlyPrice()?12*this.monthly_price:this.annual_price;break;case j:a=this.hasAnnualPrice()?this.annual_price:12*this.monthly_price}return a=parseFloat(a),t&&(a=N(a,n)),a}getLicenses(){return this.isUnlimited()?B:this.licenses}hasAnnualPrice(){return S(this.annual_price)&&this.annual_price>0}hasLifetimePrice(){return S(this.lifetime_price)&&this.lifetime_price>0}hasMonthlyPrice(){return S(this.monthly_price)&&this.monthly_price>0}isFree(){return!this.hasMonthlyPrice()&&!this.hasAnnualPrice()&&!this.hasLifetimePrice()}isSingleSite(){return 1==this.licenses}isUnlimited(){return null==this.licenses}sitesLabel(){let e="";return e=this.isSingleSite()?"Single":this.isUnlimited()?"Unlimited":this.licenses,e+" Site"+(this.isSingleSite()?"":"s")}supportsBillingCycle(e){return null!==this[`${e}_price`]}}var W=Object.defineProperty,H=(e,t,n)=>(((e,t,n)=>{t in e?W(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const $=Object.freeze({DOLLAR:"dollar",PERCENTAGE:"percentage"}),V=Object.freeze({FLEXIBLE:"flexible",MODERATE:"moderate",STRICT:"strict"});class Q{constructor(e=null){if(H(this,"is_wp_org_compliant",!0),H(this,"money_back_period",0),H(this,"parent_plugin_id",null),H(this,"refund_policy",null),H(this,"renewals_discount_type",null),H(this,"type","plugin"),null!=e)for(const t in e)e.hasOwnProperty(t)&&(this[t]=e[t])}getFormattedRenewalsDiscount(e,t){let n=this.getRenewalsDiscount(e);return this.renewals_discount_type===$.DOLLAR?t+N(n):`${n}%`}getRenewalsDiscount(e){return this.hasRenewalsDiscount(e)?this[U.getBillingCyclePeriod(e)+"_renewals_discount"]:0}hasMoneyBackPeriod(){return S(this.money_back_period)&&this.money_back_period>0}hasRefundPolicy(){return this.hasMoneyBackPeriod()&&null!==this.refund_policy}hasRenewalsDiscount(e){let t=U.getBillingCyclePeriod(e)+"_renewals_discount";return null!==this[t]&&S(this[t])&&this[t]>0}hasWordPressOrgVersion(){return null!==this.is_wp_org_compliant}isAddOn(){return S(this.parent_plugin_id)&&this.parent_plugin_id>0}moduleLabel(){return this.isAddOn()?"add-on":this.type}}let Y=null,K=[],Z=[];const X=function(e){return function(e){return null!==Y||(K=e,Z=function(e){let t=[];for(let n of e)n.pricing&&(t=t.concat(n.pricing));if(t.length>0){for(let e=0;e<t.length;e++)t[e]=new U(t[e]);t.sort((function(e,t){return e.licenses==t.licenses?0:t.isUnlimited()||!e.isUnlimited()&&e.licenses<t.licenses?-1:e.isUnlimited()||!t.isUnlimited()&&e.licenses>t.licenses?1:void 0}))}return t}(e),Y={calculateMultiSiteDiscount:function(e,t,n){if(e.isUnlimited()||1==e.licenses)return 0;let a=U.getBillingCycleInMonths(t),r=a,i=0,o=e[t+"_price"];e.hasMonthlyPrice()&&j===a?(o=e.getMonthlyAmount(a),i=this.tryCalcSingleSitePrice(e,j)/12,r=1):i=this.tryCalcSingleSitePrice(e,a);const s=i*e.licenses;return Math.floor((s-o)/("relative"===n?s:this.tryCalcSingleSitePrice(e,r)*e.licenses)*100)},getPlanByID:function(e){for(let t of K)if(t.id==e)return t;return null},comparePlanByIDs:function(e,t){const n=K.findIndex((t=>t.id==e)),a=K.findIndex((e=>e.id==t));return n<0||a<0?0:n-a},tryCalcSingleSitePrice:function(e,t,n,a){return this.tryCalcSingleSitePrices(e,t,n,a)},tryCalcSingleSitePrices:function(e,t,n,a){return 0!==t?this.tryCalcSingleSiteSubscriptionPrice(e,t,n,a):this.tryCalcSingleSiteLifetimePrice(e,n,a)},tryCalcSingleSiteSubscriptionPrice(e,t,n,a){let r=1===t,i=0;for(let o of Z)if(e.plan_id===o.plan_id&&e.currency===o.currency&&(o.hasMonthlyPrice()||o.hasAnnualPrice())){i=r?o.getMonthlyAmount(t):o.hasAnnualPrice()?parseFloat(o.annual_price):12*o.monthly_price,!e.isUnlimited()&&!o.isUnlimited()&&o.licenses>1&&(i/=o.licenses),n&&(i=N(i,a));break}return i},tryCalcSingleSiteLifetimePrice(e,t,n){let a=0;for(let r of Z)if(e.plan_id===r.plan_id&&e.currency===r.currency){a=r.getAmount(0),!r.isUnlimited()&&r.licenses>1&&(a/=r.licenses),t&&(a=N(a,n));break}return a},annualDiscountPercentage(e){return Math.round(this.annualSavings(e)/(12*e.getMonthlyAmount(1)*(e.isUnlimited()?1:e.licenses))*100)},annualSavings(e){let t=0;if(e.isUnlimited())t=12*e.getMonthlyAmount(1)-this.annual_price;else{let n=this.tryCalcSingleSitePrice(e,1,!1);n>0&&(t=(12*n-this.tryCalcSingleSitePrice(e,j,!1))*e.licenses)}return Math.max(t,0)},largestAnnualDiscount(e){let t=0;for(let n of e)n.isSingleSite()&&(t=Math.max(t,this.annualDiscountPercentage(n)));return Math.round(t)},getSingleSitePricing(e,t){let n=e.length;if(!e||0===n)return!1;for(let a=0;a<n;a++){let n=e[a];if(t===n.currency&&n.isSingleSite())return n}return null},isFreePlan(e){if(C(e))return!0;if(0===e.length)return!0;for(let t=0;t<e.length;t++)if(!e[t].isFree())return!1;return!0},isHiddenOrFreePlan(e){return e.is_hidden||this.isFreePlan(e.pricing)},isPaidPlan(e){return!this.isFreePlan(e)}}),Y}(e)},G=e.createContext({});class J extends e.Component{constructor(e){super(e)}render(){return e.createElement("section",{className:`fs-section fs-section--${this.props["fs-section"]}`+(this.props.className?" "+this.props.className:"")},this.props.children)}}const ee=J;var te,ne=Object.defineProperty;class ae extends e.Component{constructor(e){super(e)}annualDiscountLabel(){return this.context.annualDiscount>0?`(up to ${this.context.annualDiscount}% off)`:""}render(){return e.createElement("ul",{className:"fs-billing-cycles"},this.context.billingCycles.map((t=>{let n=D===t?"Annual":O(t);return e.createElement("li",{className:`fs-period--${t}`+(this.context.selectedBillingCycle===t?" fs-selected-billing-cycle":""),key:t,"data-billing-cycle":t,onClick:this.props.handler},n," ",D===t&&e.createElement("span",null,this.annualDiscountLabel()))})))}}((e,t,n)=>{t in e?ne(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(ae,"symbol"!=typeof(te="contextType")?te+"":te,G);const re=ae;var ie=Object.defineProperty;class oe extends e.Component{constructor(e){super(e)}render(){return e.createElement("select",{className:"fs-currencies",onChange:this.props.handler,value:this.context.selectedCurrency},this.context.currencies.map((t=>e.createElement("option",{key:t,value:t},this.context.currencySymbols[t]," -"," ",t.toUpperCase()))))}}((e,t,n)=>{((e,t,n)=>{t in e?ie(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(oe,"contextType",G);const se=oe;function le(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ce(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?le(Object(n),!0).forEach((function(t){pe(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):le(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ue(e){return ue="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ue(e)}function fe(e,t){for(var n=0;n<t.length;n++){var a=t[n];a.enumerable=a.enumerable||!1,a.configurable=!0,"value"in a&&(a.writable=!0),Object.defineProperty(e,a.key,a)}}function pe(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function de(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var a,r,i=[],o=!0,s=!1;try{for(n=n.call(e);!(o=(a=n.next()).done)&&(i.push(a.value),!t||i.length!==t);o=!0);}catch(e){s=!0,r=e}finally{try{o||null==n.return||n.return()}finally{if(s)throw r}}return i}}(e,t)||ge(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function me(e){return function(e){if(Array.isArray(e))return he(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ge(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ge(e,t){if(e){if("string"==typeof e)return he(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)?he(e,t):void 0}}function he(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}var be=function(){},ye={},ve={},ke=null,_e={mark:be,measure:be};try{"undefined"!=typeof window&&(ye=window),"undefined"!=typeof document&&(ve=document),"undefined"!=typeof MutationObserver&&(ke=MutationObserver),"undefined"!=typeof performance&&(_e=performance)}catch(e){}var we=(ye.navigator||{}).userAgent,xe=void 0===we?"":we,Ee=ye,Se=ve,Pe=ke,Ce=_e,Ne=(Ee.document,!!Se.documentElement&&!!Se.head&&"function"==typeof Se.addEventListener&&"function"==typeof Se.createElement),Oe=~xe.indexOf("MSIE")||~xe.indexOf("Trident/"),Te="svg-inline--fa",Me="data-fa-i2svg",Le="data-fa-pseudo-element",ze="data-prefix",Ae="data-icon",Ie="fontawesome-i2svg",qe=["HTML","HEAD","STYLE","SCRIPT"],je=function(){try{return!0}catch(e){return!1}}(),Fe={fas:"solid","fa-solid":"solid",far:"regular","fa-regular":"regular",fal:"light","fa-light":"light",fat:"thin","fa-thin":"thin",fad:"duotone","fa-duotone":"duotone",fab:"brands","fa-brands":"brands",fak:"kit","fa-kit":"kit",fa:"solid"},De={solid:"fas",regular:"far",light:"fal",thin:"fat",duotone:"fad",brands:"fab",kit:"fak"},Re={fab:"fa-brands",fad:"fa-duotone",fak:"fa-kit",fal:"fa-light",far:"fa-regular",fas:"fa-solid",fat:"fa-thin"},Be={"fa-brands":"fab","fa-duotone":"fad","fa-kit":"fak","fa-light":"fal","fa-regular":"far","fa-solid":"fas","fa-thin":"fat"},Ue=/fa[srltdbk\-\ ]/,We="fa-layers-text",He=/Font ?Awesome ?([56 ]*)(Solid|Regular|Light|Thin|Duotone|Brands|Free|Pro|Kit)?.*/i,$e={900:"fas",400:"far",normal:"far",300:"fal",100:"fat"},Ve=[1,2,3,4,5,6,7,8,9,10],Qe=Ve.concat([11,12,13,14,15,16,17,18,19,20]),Ye=["class","data-prefix","data-icon","data-fa-transform","data-fa-mask"],Ke="duotone-group",Ze="primary",Xe="secondary",Ge=[].concat(me(Object.keys(De)),["2xs","xs","sm","lg","xl","2xl","beat","border","fade","beat-fade","bounce","flip-both","flip-horizontal","flip-vertical","flip","fw","inverse","layers-counter","layers-text","layers","li","pull-left","pull-right","pulse","rotate-180","rotate-270","rotate-90","rotate-by","shake","spin-pulse","spin-reverse","spin","stack-1x","stack-2x","stack","ul",Ke,"swap-opacity",Ze,Xe]).concat(Ve.map((function(e){return"".concat(e,"x")}))).concat(Qe.map((function(e){return"w-".concat(e)}))),Je=Ee.FontAwesomeConfig||{};Se&&"function"==typeof Se.querySelector&&[["data-family-prefix","familyPrefix"],["data-style-default","styleDefault"],["data-replacement-class","replacementClass"],["data-auto-replace-svg","autoReplaceSvg"],["data-auto-add-css","autoAddCss"],["data-auto-a11y","autoA11y"],["data-search-pseudo-elements","searchPseudoElements"],["data-observe-mutations","observeMutations"],["data-mutate-approach","mutateApproach"],["data-keep-original-source","keepOriginalSource"],["data-measure-performance","measurePerformance"],["data-show-missing-icons","showMissingIcons"]].forEach((function(e){var t=de(e,2),n=t[0],a=t[1],r=function(e){return""===e||"false"!==e&&("true"===e||e)}(function(e){var t=Se.querySelector("script["+e+"]");if(t)return t.getAttribute(e)}(n));null!=r&&(Je[a]=r)}));var et=ce(ce({},{familyPrefix:"fa",styleDefault:"solid",replacementClass:Te,autoReplaceSvg:!0,autoAddCss:!0,autoA11y:!0,searchPseudoElements:!1,observeMutations:!0,mutateApproach:"async",keepOriginalSource:!0,measurePerformance:!1,showMissingIcons:!0}),Je);et.autoReplaceSvg||(et.observeMutations=!1);var tt={};Object.keys(et).forEach((function(e){Object.defineProperty(tt,e,{enumerable:!0,set:function(t){et[e]=t,nt.forEach((function(e){return e(tt)}))},get:function(){return et[e]}})})),Ee.FontAwesomeConfig=tt;var nt=[],at=16,rt={size:16,x:0,y:0,rotate:0,flipX:!1,flipY:!1};function it(){for(var e=12,t="";e-- >0;)t+="0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ"[62*Math.random()|0];return t}function ot(e){for(var t=[],n=(e||[]).length>>>0;n--;)t[n]=e[n];return t}function st(e){return e.classList?ot(e.classList):(e.getAttribute("class")||"").split(" ").filter((function(e){return e}))}function lt(e){return"".concat(e).replace(/&/g,"&amp;").replace(/"/g,"&quot;").replace(/'/g,"&#39;").replace(/</g,"&lt;").replace(/>/g,"&gt;")}function ct(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,": ").concat(e[n].trim(),";")}),"")}function ut(e){return e.size!==rt.size||e.x!==rt.x||e.y!==rt.y||e.rotate!==rt.rotate||e.flipX||e.flipY}function ft(){var e="fa",t=Te,n=tt.familyPrefix,a=tt.replacementClass,r=':root, :host {\n  --fa-font-solid: normal 900 1em/1 "Font Awesome 6 Solid";\n  --fa-font-regular: normal 400 1em/1 "Font Awesome 6 Regular";\n  --fa-font-light: normal 300 1em/1 "Font Awesome 6 Light";\n  --fa-font-thin: normal 100 1em/1 "Font Awesome 6 Thin";\n  --fa-font-duotone: normal 900 1em/1 "Font Awesome 6 Duotone";\n  --fa-font-brands: normal 400 1em/1 "Font Awesome 6 Brands";\n}\n\nsvg:not(:root).svg-inline--fa, svg:not(:host).svg-inline--fa {\n  overflow: visible;\n  box-sizing: content-box;\n}\n\n.svg-inline--fa {\n  display: var(--fa-display, inline-block);\n  height: 1em;\n  overflow: visible;\n  vertical-align: -0.125em;\n}\n.svg-inline--fa.fa-2xs {\n  vertical-align: 0.1em;\n}\n.svg-inline--fa.fa-xs {\n  vertical-align: 0em;\n}\n.svg-inline--fa.fa-sm {\n  vertical-align: -0.0714285705em;\n}\n.svg-inline--fa.fa-lg {\n  vertical-align: -0.2em;\n}\n.svg-inline--fa.fa-xl {\n  vertical-align: -0.25em;\n}\n.svg-inline--fa.fa-2xl {\n  vertical-align: -0.3125em;\n}\n.svg-inline--fa.fa-pull-left {\n  margin-right: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-pull-right {\n  margin-left: var(--fa-pull-margin, 0.3em);\n  width: auto;\n}\n.svg-inline--fa.fa-li {\n  width: var(--fa-li-width, 2em);\n  top: 0.25em;\n}\n.svg-inline--fa.fa-fw {\n  width: var(--fa-fw-width, 1.25em);\n}\n\n.fa-layers svg.svg-inline--fa {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n}\n\n.fa-layers-counter, .fa-layers-text {\n  display: inline-block;\n  position: absolute;\n  text-align: center;\n}\n\n.fa-layers {\n  display: inline-block;\n  height: 1em;\n  position: relative;\n  text-align: center;\n  vertical-align: -0.125em;\n  width: 1em;\n}\n.fa-layers svg.svg-inline--fa {\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-text {\n  left: 50%;\n  top: 50%;\n  -webkit-transform: translate(-50%, -50%);\n          transform: translate(-50%, -50%);\n  -webkit-transform-origin: center center;\n          transform-origin: center center;\n}\n\n.fa-layers-counter {\n  background-color: var(--fa-counter-background-color, #ff253a);\n  border-radius: var(--fa-counter-border-radius, 1em);\n  box-sizing: border-box;\n  color: var(--fa-inverse, #fff);\n  line-height: var(--fa-counter-line-height, 1);\n  max-width: var(--fa-counter-max-width, 5em);\n  min-width: var(--fa-counter-min-width, 1.5em);\n  overflow: hidden;\n  padding: var(--fa-counter-padding, 0.25em 0.5em);\n  right: var(--fa-right, 0);\n  text-overflow: ellipsis;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-counter-scale, 0.25));\n          transform: scale(var(--fa-counter-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-bottom-right {\n  bottom: var(--fa-bottom, 0);\n  right: var(--fa-right, 0);\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom right;\n          transform-origin: bottom right;\n}\n\n.fa-layers-bottom-left {\n  bottom: var(--fa-bottom, 0);\n  left: var(--fa-left, 0);\n  right: auto;\n  top: auto;\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: bottom left;\n          transform-origin: bottom left;\n}\n\n.fa-layers-top-right {\n  top: var(--fa-top, 0);\n  right: var(--fa-right, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top right;\n          transform-origin: top right;\n}\n\n.fa-layers-top-left {\n  left: var(--fa-left, 0);\n  right: auto;\n  top: var(--fa-top, 0);\n  -webkit-transform: scale(var(--fa-layers-scale, 0.25));\n          transform: scale(var(--fa-layers-scale, 0.25));\n  -webkit-transform-origin: top left;\n          transform-origin: top left;\n}\n\n.fa-1x {\n  font-size: 1em;\n}\n\n.fa-2x {\n  font-size: 2em;\n}\n\n.fa-3x {\n  font-size: 3em;\n}\n\n.fa-4x {\n  font-size: 4em;\n}\n\n.fa-5x {\n  font-size: 5em;\n}\n\n.fa-6x {\n  font-size: 6em;\n}\n\n.fa-7x {\n  font-size: 7em;\n}\n\n.fa-8x {\n  font-size: 8em;\n}\n\n.fa-9x {\n  font-size: 9em;\n}\n\n.fa-10x {\n  font-size: 10em;\n}\n\n.fa-2xs {\n  font-size: 0.625em;\n  line-height: 0.1em;\n  vertical-align: 0.225em;\n}\n\n.fa-xs {\n  font-size: 0.75em;\n  line-height: 0.0833333337em;\n  vertical-align: 0.125em;\n}\n\n.fa-sm {\n  font-size: 0.875em;\n  line-height: 0.0714285718em;\n  vertical-align: 0.0535714295em;\n}\n\n.fa-lg {\n  font-size: 1.25em;\n  line-height: 0.05em;\n  vertical-align: -0.075em;\n}\n\n.fa-xl {\n  font-size: 1.5em;\n  line-height: 0.0416666682em;\n  vertical-align: -0.125em;\n}\n\n.fa-2xl {\n  font-size: 2em;\n  line-height: 0.03125em;\n  vertical-align: -0.1875em;\n}\n\n.fa-fw {\n  text-align: center;\n  width: 1.25em;\n}\n\n.fa-ul {\n  list-style-type: none;\n  margin-left: var(--fa-li-margin, 2.5em);\n  padding-left: 0;\n}\n.fa-ul > li {\n  position: relative;\n}\n\n.fa-li {\n  left: calc(var(--fa-li-width, 2em) * -1);\n  position: absolute;\n  text-align: center;\n  width: var(--fa-li-width, 2em);\n  line-height: inherit;\n}\n\n.fa-border {\n  border-color: var(--fa-border-color, #eee);\n  border-radius: var(--fa-border-radius, 0.1em);\n  border-style: var(--fa-border-style, solid);\n  border-width: var(--fa-border-width, 0.08em);\n  padding: var(--fa-border-padding, 0.2em 0.25em 0.15em);\n}\n\n.fa-pull-left {\n  float: left;\n  margin-right: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-pull-right {\n  float: right;\n  margin-left: var(--fa-pull-margin, 0.3em);\n}\n\n.fa-beat {\n  -webkit-animation-name: fa-beat;\n          animation-name: fa-beat;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-bounce {\n  -webkit-animation-name: fa-bounce;\n          animation-name: fa-bounce;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.28, 0.84, 0.42, 1));\n}\n\n.fa-fade {\n  -webkit-animation-name: fa-fade;\n          animation-name: fa-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-beat-fade {\n  -webkit-animation-name: fa-beat-fade;\n          animation-name: fa-beat-fade;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n          animation-timing-function: var(--fa-animation-timing, cubic-bezier(0.4, 0, 0.6, 1));\n}\n\n.fa-flip {\n  -webkit-animation-name: fa-flip;\n          animation-name: fa-flip;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, ease-in-out);\n          animation-timing-function: var(--fa-animation-timing, ease-in-out);\n}\n\n.fa-shake {\n  -webkit-animation-name: fa-shake;\n          animation-name: fa-shake;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-delay: var(--fa-animation-delay, 0);\n          animation-delay: var(--fa-animation-delay, 0);\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 2s);\n          animation-duration: var(--fa-animation-duration, 2s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, linear);\n          animation-timing-function: var(--fa-animation-timing, linear);\n}\n\n.fa-spin-reverse {\n  --fa-animation-direction: reverse;\n}\n\n.fa-pulse,\n.fa-spin-pulse {\n  -webkit-animation-name: fa-spin;\n          animation-name: fa-spin;\n  -webkit-animation-direction: var(--fa-animation-direction, normal);\n          animation-direction: var(--fa-animation-direction, normal);\n  -webkit-animation-duration: var(--fa-animation-duration, 1s);\n          animation-duration: var(--fa-animation-duration, 1s);\n  -webkit-animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n          animation-iteration-count: var(--fa-animation-iteration-count, infinite);\n  -webkit-animation-timing-function: var(--fa-animation-timing, steps(8));\n          animation-timing-function: var(--fa-animation-timing, steps(8));\n}\n\n@media (prefers-reduced-motion: reduce) {\n  .fa-beat,\n.fa-bounce,\n.fa-fade,\n.fa-beat-fade,\n.fa-flip,\n.fa-pulse,\n.fa-shake,\n.fa-spin,\n.fa-spin-pulse {\n    -webkit-animation-delay: -1ms;\n            animation-delay: -1ms;\n    -webkit-animation-duration: 1ms;\n            animation-duration: 1ms;\n    -webkit-animation-iteration-count: 1;\n            animation-iteration-count: 1;\n    transition-delay: 0s;\n    transition-duration: 0s;\n  }\n}\n@-webkit-keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@keyframes fa-beat {\n  0%, 90% {\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  45% {\n    -webkit-transform: scale(var(--fa-beat-scale, 1.25));\n            transform: scale(var(--fa-beat-scale, 1.25));\n  }\n}\n@-webkit-keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@keyframes fa-bounce {\n  0% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  10% {\n    -webkit-transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n            transform: scale(var(--fa-bounce-start-scale-x, 1.1), var(--fa-bounce-start-scale-y, 0.9)) translateY(0);\n  }\n  30% {\n    -webkit-transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n            transform: scale(var(--fa-bounce-jump-scale-x, 0.9), var(--fa-bounce-jump-scale-y, 1.1)) translateY(var(--fa-bounce-height, -0.5em));\n  }\n  50% {\n    -webkit-transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n            transform: scale(var(--fa-bounce-land-scale-x, 1.05), var(--fa-bounce-land-scale-y, 0.95)) translateY(0);\n  }\n  57% {\n    -webkit-transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n            transform: scale(1, 1) translateY(var(--fa-bounce-rebound, -0.125em));\n  }\n  64% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n  100% {\n    -webkit-transform: scale(1, 1) translateY(0);\n            transform: scale(1, 1) translateY(0);\n  }\n}\n@-webkit-keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@keyframes fa-fade {\n  50% {\n    opacity: var(--fa-fade-opacity, 0.4);\n  }\n}\n@-webkit-keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@keyframes fa-beat-fade {\n  0%, 100% {\n    opacity: var(--fa-beat-fade-opacity, 0.4);\n    -webkit-transform: scale(1);\n            transform: scale(1);\n  }\n  50% {\n    opacity: 1;\n    -webkit-transform: scale(var(--fa-beat-fade-scale, 1.125));\n            transform: scale(var(--fa-beat-fade-scale, 1.125));\n  }\n}\n@-webkit-keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@keyframes fa-flip {\n  50% {\n    -webkit-transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n            transform: rotate3d(var(--fa-flip-x, 0), var(--fa-flip-y, 1), var(--fa-flip-z, 0), var(--fa-flip-angle, -180deg));\n  }\n}\n@-webkit-keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@keyframes fa-shake {\n  0% {\n    -webkit-transform: rotate(-15deg);\n            transform: rotate(-15deg);\n  }\n  4% {\n    -webkit-transform: rotate(15deg);\n            transform: rotate(15deg);\n  }\n  8%, 24% {\n    -webkit-transform: rotate(-18deg);\n            transform: rotate(-18deg);\n  }\n  12%, 28% {\n    -webkit-transform: rotate(18deg);\n            transform: rotate(18deg);\n  }\n  16% {\n    -webkit-transform: rotate(-22deg);\n            transform: rotate(-22deg);\n  }\n  20% {\n    -webkit-transform: rotate(22deg);\n            transform: rotate(22deg);\n  }\n  32% {\n    -webkit-transform: rotate(-12deg);\n            transform: rotate(-12deg);\n  }\n  36% {\n    -webkit-transform: rotate(12deg);\n            transform: rotate(12deg);\n  }\n  40%, 100% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n}\n@-webkit-keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n@keyframes fa-spin {\n  0% {\n    -webkit-transform: rotate(0deg);\n            transform: rotate(0deg);\n  }\n  100% {\n    -webkit-transform: rotate(360deg);\n            transform: rotate(360deg);\n  }\n}\n.fa-rotate-90 {\n  -webkit-transform: rotate(90deg);\n          transform: rotate(90deg);\n}\n\n.fa-rotate-180 {\n  -webkit-transform: rotate(180deg);\n          transform: rotate(180deg);\n}\n\n.fa-rotate-270 {\n  -webkit-transform: rotate(270deg);\n          transform: rotate(270deg);\n}\n\n.fa-flip-horizontal {\n  -webkit-transform: scale(-1, 1);\n          transform: scale(-1, 1);\n}\n\n.fa-flip-vertical {\n  -webkit-transform: scale(1, -1);\n          transform: scale(1, -1);\n}\n\n.fa-flip-both,\n.fa-flip-horizontal.fa-flip-vertical {\n  -webkit-transform: scale(-1, -1);\n          transform: scale(-1, -1);\n}\n\n.fa-rotate-by {\n  -webkit-transform: rotate(var(--fa-rotate-angle, none));\n          transform: rotate(var(--fa-rotate-angle, none));\n}\n\n.fa-stack {\n  display: inline-block;\n  vertical-align: middle;\n  height: 2em;\n  position: relative;\n  width: 2.5em;\n}\n\n.fa-stack-1x,\n.fa-stack-2x {\n  bottom: 0;\n  left: 0;\n  margin: auto;\n  position: absolute;\n  right: 0;\n  top: 0;\n  z-index: var(--fa-stack-z-index, auto);\n}\n\n.svg-inline--fa.fa-stack-1x {\n  height: 1em;\n  width: 1.25em;\n}\n.svg-inline--fa.fa-stack-2x {\n  height: 2em;\n  width: 2.5em;\n}\n\n.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}\n\n.sr-only,\n.fa-sr-only {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.sr-only-focusable:not(:focus),\n.fa-sr-only-focusable:not(:focus) {\n  position: absolute;\n  width: 1px;\n  height: 1px;\n  padding: 0;\n  margin: -1px;\n  overflow: hidden;\n  clip: rect(0, 0, 0, 0);\n  white-space: nowrap;\n  border-width: 0;\n}\n\n.svg-inline--fa .fa-primary {\n  fill: var(--fa-primary-color, currentColor);\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa .fa-secondary {\n  fill: var(--fa-secondary-color, currentColor);\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-primary {\n  opacity: var(--fa-secondary-opacity, 0.4);\n}\n\n.svg-inline--fa.fa-swap-opacity .fa-secondary {\n  opacity: var(--fa-primary-opacity, 1);\n}\n\n.svg-inline--fa mask .fa-primary,\n.svg-inline--fa mask .fa-secondary {\n  fill: black;\n}\n\n.fad.fa-inverse,\n.fa-duotone.fa-inverse {\n  color: var(--fa-inverse, #fff);\n}';if(n!==e||a!==t){var i=new RegExp("\\.".concat(e,"\\-"),"g"),o=new RegExp("\\--".concat(e,"\\-"),"g"),s=new RegExp("\\.".concat(t),"g");r=r.replace(i,".".concat(n,"-")).replace(o,"--".concat(n,"-")).replace(s,".".concat(a))}return r}var pt=!1;function dt(){tt.autoAddCss&&!pt&&(function(e){if(e&&Ne){var t=Se.createElement("style");t.setAttribute("type","text/css"),t.innerHTML=e;for(var n=Se.head.childNodes,a=null,r=n.length-1;r>-1;r--){var i=n[r],o=(i.tagName||"").toUpperCase();["STYLE","LINK"].indexOf(o)>-1&&(a=i)}Se.head.insertBefore(t,a)}}(ft()),pt=!0)}var mt={mixout:function(){return{dom:{css:ft,insertCss:dt}}},hooks:function(){return{beforeDOMElementCreation:function(){dt()},beforeI2svg:function(){dt()}}}},gt=Ee||{};gt.___FONT_AWESOME___||(gt.___FONT_AWESOME___={}),gt.___FONT_AWESOME___.styles||(gt.___FONT_AWESOME___.styles={}),gt.___FONT_AWESOME___.hooks||(gt.___FONT_AWESOME___.hooks={}),gt.___FONT_AWESOME___.shims||(gt.___FONT_AWESOME___.shims=[]);var ht=gt.___FONT_AWESOME___,bt=[],yt=!1;function vt(e){Ne&&(yt?setTimeout(e,0):bt.push(e))}function kt(e){var t=e.tag,n=e.attributes,a=void 0===n?{}:n,r=e.children,i=void 0===r?[]:r;return"string"==typeof e?lt(e):"<".concat(t," ").concat(function(e){return Object.keys(e||{}).reduce((function(t,n){return t+"".concat(n,'="').concat(lt(e[n]),'" ')}),"").trim()}(a),">").concat(i.map(kt).join(""),"</").concat(t,">")}function _t(e,t,n){if(e&&e[t]&&e[t][n])return{prefix:t,iconName:n,icon:e[t][n]}}Ne&&((yt=(Se.documentElement.doScroll?/^loaded|^c/:/^loaded|^i|^c/).test(Se.readyState))||Se.addEventListener("DOMContentLoaded",(function e(){Se.removeEventListener("DOMContentLoaded",e),yt=1,bt.map((function(e){return e()}))})));var wt=function(e,t,n,a){var r,i,o,s=Object.keys(e),l=s.length,c=void 0!==a?function(e,t){return function(n,a,r,i){return e.call(t,n,a,r,i)}}(t,a):t;for(void 0===n?(r=1,o=e[s[0]]):(r=0,o=n);r<l;r++)o=c(o,e[i=s[r]],i,e);return o};function xt(e){var t=function(e){for(var t=[],n=0,a=e.length;n<a;){var r=e.charCodeAt(n++);if(r>=55296&&r<=56319&&n<a){var i=e.charCodeAt(n++);56320==(64512&i)?t.push(((1023&r)<<10)+(1023&i)+65536):(t.push(r),n--)}else t.push(r)}return t}(e);return 1===t.length?t[0].toString(16):null}function Et(e){return Object.keys(e).reduce((function(t,n){var a=e[n];return a.icon?t[a.iconName]=a.icon:t[n]=a,t}),{})}function St(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},a=n.skipHooks,r=void 0!==a&&a,i=Et(t);"function"!=typeof ht.hooks.addPack||r?ht.styles[e]=ce(ce({},ht.styles[e]||{}),i):ht.hooks.addPack(e,Et(t)),"fas"===e&&St("fa",t)}var Pt=ht.styles,Ct=ht.shims,Nt=Object.values(Re),Ot=null,Tt={},Mt={},Lt={},zt={},At={},It=Object.keys(Fe);function qt(e,t){var n,a=t.split("-"),r=a[0],i=a.slice(1).join("-");return r!==e||""===i||(n=i,~Ge.indexOf(n))?null:i}var jt,Ft=function(){var e=function(e){return wt(Pt,(function(t,n,a){return t[a]=wt(n,e,{}),t}),{})};Tt=e((function(e,t,n){return t[3]&&(e[t[3]]=n),t[2]&&t[2].filter((function(e){return"number"==typeof e})).forEach((function(t){e[t.toString(16)]=n})),e})),Mt=e((function(e,t,n){return e[n]=n,t[2]&&t[2].filter((function(e){return"string"==typeof e})).forEach((function(t){e[t]=n})),e})),At=e((function(e,t,n){var a=t[2];return e[n]=n,a.forEach((function(t){e[t]=n})),e}));var t="far"in Pt||tt.autoFetchSvg,n=wt(Ct,(function(e,n){var a=n[0],r=n[1],i=n[2];return"far"!==r||t||(r="fas"),"string"==typeof a&&(e.names[a]={prefix:r,iconName:i}),"number"==typeof a&&(e.unicodes[a.toString(16)]={prefix:r,iconName:i}),e}),{names:{},unicodes:{}});Lt=n.names,zt=n.unicodes,Ot=Wt(tt.styleDefault)};function Dt(e,t){return(Tt[e]||{})[t]}function Rt(e,t){return(At[e]||{})[t]}function Bt(e){return Lt[e]||{prefix:null,iconName:null}}function Ut(){return Ot}function Wt(e){var t=De[e]||De[Fe[e]],n=e in ht.styles?e:null;return t||n||null}function Ht(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.skipLookups,a=void 0!==n&&n,r=null,i=e.reduce((function(e,t){var n=qt(tt.familyPrefix,t);if(Pt[t]?(t=Nt.includes(t)?Be[t]:t,r=t,e.prefix=t):It.indexOf(t)>-1?(r=t,e.prefix=Wt(t)):n?e.iconName=n:t!==tt.replacementClass&&e.rest.push(t),!a&&e.prefix&&e.iconName){var i="fa"===r?Bt(e.iconName):{},o=Rt(e.prefix,e.iconName);i.prefix&&(r=null),e.iconName=i.iconName||o||e.iconName,e.prefix=i.prefix||e.prefix,"far"!==e.prefix||Pt.far||!Pt.fas||tt.autoFetchSvg||(e.prefix="fas")}return e}),{prefix:null,iconName:null,rest:[]});return"fa"!==i.prefix&&"fa"!==r||(i.prefix=Ut()||"fas"),i}jt=function(e){Ot=Wt(e.styleDefault)},nt.push(jt),Ft();var $t=function(){function e(){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.definitions={}}var t,n;return t=e,n=[{key:"add",value:function(){for(var e=this,t=arguments.length,n=new Array(t),a=0;a<t;a++)n[a]=arguments[a];var r=n.reduce(this._pullDefinitions,{});Object.keys(r).forEach((function(t){e.definitions[t]=ce(ce({},e.definitions[t]||{}),r[t]),St(t,r[t]);var n=Re[t];n&&St(n,r[t]),Ft()}))}},{key:"reset",value:function(){this.definitions={}}},{key:"_pullDefinitions",value:function(e,t){var n=t.prefix&&t.iconName&&t.icon?{0:t}:t;return Object.keys(n).map((function(t){var a=n[t],r=a.prefix,i=a.iconName,o=a.icon,s=o[2];e[r]||(e[r]={}),s.length>0&&s.forEach((function(t){"string"==typeof t&&(e[r][t]=o)})),e[r][i]=o})),e}}],n&&fe(t.prototype,n),Object.defineProperty(t,"prototype",{writable:!1}),e}(),Vt=[],Qt={},Yt={},Kt=Object.keys(Yt);function Zt(e,t){for(var n=arguments.length,a=new Array(n>2?n-2:0),r=2;r<n;r++)a[r-2]=arguments[r];var i=Qt[e]||[];return i.forEach((function(e){t=e.apply(null,[t].concat(a))})),t}function Xt(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),a=1;a<t;a++)n[a-1]=arguments[a];var r=Qt[e]||[];r.forEach((function(e){e.apply(null,n)}))}function Gt(){var e=arguments[0],t=Array.prototype.slice.call(arguments,1);return Yt[e]?Yt[e].apply(null,t):void 0}function Jt(e){"fa"===e.prefix&&(e.prefix="fas");var t=e.iconName,n=e.prefix||Ut();if(t)return t=Rt(n,t)||t,_t(en.definitions,n,t)||_t(ht.styles,n,t)}var en=new $t,tn={i2svg:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return Ne?(Xt("beforeI2svg",e),Gt("pseudoElements2svg",e),Gt("i2svg",e)):Promise.reject("Operation requires a DOM of some kind.")},watch:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot;!1===tt.autoReplaceSvg&&(tt.autoReplaceSvg=!0),tt.observeMutations=!0,vt((function(){an({autoReplaceSvgRoot:t}),Xt("watch",e)}))}},nn={noAuto:function(){tt.autoReplaceSvg=!1,tt.observeMutations=!1,Xt("noAuto")},config:tt,dom:tn,parse:{icon:function(e){if(null===e)return null;if("object"===ue(e)&&e.prefix&&e.iconName)return{prefix:e.prefix,iconName:Rt(e.prefix,e.iconName)||e.iconName};if(Array.isArray(e)&&2===e.length){var t=0===e[1].indexOf("fa-")?e[1].slice(3):e[1],n=Wt(e[0]);return{prefix:n,iconName:Rt(n,t)||t}}if("string"==typeof e&&(e.indexOf("".concat(tt.familyPrefix,"-"))>-1||e.match(Ue))){var a=Ht(e.split(" "),{skipLookups:!0});return{prefix:a.prefix||Ut(),iconName:Rt(a.prefix,a.iconName)||a.iconName}}if("string"==typeof e){var r=Ut();return{prefix:r,iconName:Rt(r,e)||e}}}},library:en,findIconDefinition:Jt,toHtml:kt},an=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.autoReplaceSvgRoot,n=void 0===t?Se:t;(Object.keys(ht.styles).length>0||tt.autoFetchSvg)&&Ne&&tt.autoReplaceSvg&&nn.dom.i2svg({node:n})};function rn(e,t){return Object.defineProperty(e,"abstract",{get:t}),Object.defineProperty(e,"html",{get:function(){return e.abstract.map((function(e){return kt(e)}))}}),Object.defineProperty(e,"node",{get:function(){if(Ne){var t=Se.createElement("div");return t.innerHTML=e.html,t.children}}}),e}function on(e){var t=e.icons,n=t.main,a=t.mask,r=e.prefix,i=e.iconName,o=e.transform,s=e.symbol,l=e.title,c=e.maskId,u=e.titleId,f=e.extra,p=e.watchable,d=void 0!==p&&p,m=a.found?a:n,g=m.width,h=m.height,b="fak"===r,y=[tt.replacementClass,i?"".concat(tt.familyPrefix,"-").concat(i):""].filter((function(e){return-1===f.classes.indexOf(e)})).filter((function(e){return""!==e||!!e})).concat(f.classes).join(" "),v={children:[],attributes:ce(ce({},f.attributes),{},{"data-prefix":r,"data-icon":i,class:y,role:f.attributes.role||"img",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 ".concat(g," ").concat(h)})},k=b&&!~f.classes.indexOf("fa-fw")?{width:"".concat(g/h*16*.0625,"em")}:{};d&&(v.attributes[Me]=""),l&&(v.children.push({tag:"title",attributes:{id:v.attributes["aria-labelledby"]||"title-".concat(u||it())},children:[l]}),delete v.attributes.title);var _=ce(ce({},v),{},{prefix:r,iconName:i,main:n,mask:a,maskId:c,transform:o,symbol:s,styles:ce(ce({},k),f.styles)}),w=a.found&&n.found?Gt("generateAbstractMask",_)||{children:[],attributes:{}}:Gt("generateAbstractIcon",_)||{children:[],attributes:{}},x=w.children,E=w.attributes;return _.children=x,_.attributes=E,s?function(e){var t=e.prefix,n=e.iconName,a=e.children,r=e.attributes,i=e.symbol,o=!0===i?"".concat(t,"-").concat(tt.familyPrefix,"-").concat(n):i;return[{tag:"svg",attributes:{style:"display: none;"},children:[{tag:"symbol",attributes:ce(ce({},r),{},{id:o}),children:a}]}]}(_):function(e){var t=e.children,n=e.main,a=e.mask,r=e.attributes,i=e.styles,o=e.transform;if(ut(o)&&n.found&&!a.found){var s={x:n.width/n.height/2,y:.5};r.style=ct(ce(ce({},i),{},{"transform-origin":"".concat(s.x+o.x/16,"em ").concat(s.y+o.y/16,"em")}))}return[{tag:"svg",attributes:r,children:t}]}(_)}function sn(e){var t=e.content,n=e.width,a=e.height,r=e.transform,i=e.title,o=e.extra,s=e.watchable,l=void 0!==s&&s,c=ce(ce(ce({},o.attributes),i?{title:i}:{}),{},{class:o.classes.join(" ")});l&&(c[Me]="");var u=ce({},o.styles);ut(r)&&(u.transform=function(e){var t=e.transform,n=e.width,a=void 0===n?16:n,r=e.height,i=void 0===r?16:r,o=e.startCentered,s=void 0!==o&&o,l="";return l+=s&&Oe?"translate(".concat(t.x/at-a/2,"em, ").concat(t.y/at-i/2,"em) "):s?"translate(calc(-50% + ".concat(t.x/at,"em), calc(-50% + ").concat(t.y/at,"em)) "):"translate(".concat(t.x/at,"em, ").concat(t.y/at,"em) "),(l+="scale(".concat(t.size/at*(t.flipX?-1:1),", ").concat(t.size/at*(t.flipY?-1:1),") "))+"rotate(".concat(t.rotate,"deg) ")}({transform:r,startCentered:!0,width:n,height:a}),u["-webkit-transform"]=u.transform);var f=ct(u);f.length>0&&(c.style=f);var p=[];return p.push({tag:"span",attributes:c,children:[t]}),i&&p.push({tag:"span",attributes:{class:"sr-only"},children:[i]}),p}function ln(e){var t=e.content,n=e.title,a=e.extra,r=ce(ce(ce({},a.attributes),n?{title:n}:{}),{},{class:a.classes.join(" ")}),i=ct(a.styles);i.length>0&&(r.style=i);var o=[];return o.push({tag:"span",attributes:r,children:[t]}),n&&o.push({tag:"span",attributes:{class:"sr-only"},children:[n]}),o}var cn=ht.styles;function un(e){var t=e[0],n=e[1],a=de(e.slice(4),1)[0];return{found:!0,width:t,height:n,icon:Array.isArray(a)?{tag:"g",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Ke)},children:[{tag:"path",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Xe),fill:"currentColor",d:a[0]}},{tag:"path",attributes:{class:"".concat(tt.familyPrefix,"-").concat(Ze),fill:"currentColor",d:a[1]}}]}:{tag:"path",attributes:{fill:"currentColor",d:a}}}}var fn={found:!1,width:512,height:512};function pn(e,t){var n=t;return"fa"===t&&null!==tt.styleDefault&&(t=Ut()),new Promise((function(a,r){if(Gt("missingIconAbstract"),"fa"===n){var i=Bt(e)||{};e=i.iconName||e,t=i.prefix||t}if(e&&t&&cn[t]&&cn[t][e])return a(un(cn[t][e]));!function(e,t){je||tt.showMissingIcons||!e||console.error('Icon with name "'.concat(e,'" and prefix "').concat(t,'" is missing.'))}(e,t),a(ce(ce({},fn),{},{icon:tt.showMissingIcons&&e&&Gt("missingIconAbstract")||{}}))}))}var dn=function(){},mn=tt.measurePerformance&&Ce&&Ce.mark&&Ce.measure?Ce:{mark:dn,measure:dn},gn='FA "6.0.0"',hn=function(e){return mn.mark("".concat(gn," ").concat(e," begins")),function(){return function(e){mn.mark("".concat(gn," ").concat(e," ends")),mn.measure("".concat(gn," ").concat(e),"".concat(gn," ").concat(e," begins"),"".concat(gn," ").concat(e," ends"))}(e)}},bn=function(){};function yn(e){return"string"==typeof(e.getAttribute?e.getAttribute(Me):null)}function vn(e){return Se.createElementNS("http://www.w3.org/2000/svg",e)}function kn(e){return Se.createElement(e)}function _n(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.ceFn,a=void 0===n?"svg"===e.tag?vn:kn:n;if("string"==typeof e)return Se.createTextNode(e);var r=a(e.tag);Object.keys(e.attributes||[]).forEach((function(t){r.setAttribute(t,e.attributes[t])}));var i=e.children||[];return i.forEach((function(e){r.appendChild(_n(e,{ceFn:a}))})),r}var wn={replace:function(e){var t=e[0];if(t.parentNode)if(e[1].forEach((function(e){t.parentNode.insertBefore(_n(e),t)})),null===t.getAttribute(Me)&&tt.keepOriginalSource){var n=Se.createComment(function(e){var t=" ".concat(e.outerHTML," ");return"".concat(t,"Font Awesome fontawesome.com ")}(t));t.parentNode.replaceChild(n,t)}else t.remove()},nest:function(e){var t=e[0],n=e[1];if(~st(t).indexOf(tt.replacementClass))return wn.replace(e);var a=new RegExp("".concat(tt.familyPrefix,"-.*"));if(delete n[0].attributes.id,n[0].attributes.class){var r=n[0].attributes.class.split(" ").reduce((function(e,t){return t===tt.replacementClass||t.match(a)?e.toSvg.push(t):e.toNode.push(t),e}),{toNode:[],toSvg:[]});n[0].attributes.class=r.toSvg.join(" "),0===r.toNode.length?t.removeAttribute("class"):t.setAttribute("class",r.toNode.join(" "))}var i=n.map((function(e){return kt(e)})).join("\n");t.setAttribute(Me,""),t.innerHTML=i}};function xn(e){e()}function En(e,t){var n="function"==typeof t?t:bn;if(0===e.length)n();else{var a=xn;"async"===tt.mutateApproach&&(a=Ee.requestAnimationFrame||xn),a((function(){var t=!0===tt.autoReplaceSvg?wn.replace:wn[tt.autoReplaceSvg]||wn.replace,a=hn("mutate");e.map(t),a(),n()}))}}var Sn=!1;function Pn(){Sn=!0}function Cn(){Sn=!1}var Nn=null;function On(e){if(Pe&&tt.observeMutations){var t=e.treeCallback,n=void 0===t?bn:t,a=e.nodeCallback,r=void 0===a?bn:a,i=e.pseudoElementsCallback,o=void 0===i?bn:i,s=e.observeMutationsRoot,l=void 0===s?Se:s;Nn=new Pe((function(e){if(!Sn){var t=Ut();ot(e).forEach((function(e){if("childList"===e.type&&e.addedNodes.length>0&&!yn(e.addedNodes[0])&&(tt.searchPseudoElements&&o(e.target),n(e.target)),"attributes"===e.type&&e.target.parentNode&&tt.searchPseudoElements&&o(e.target.parentNode),"attributes"===e.type&&yn(e.target)&&~Ye.indexOf(e.attributeName))if("class"===e.attributeName&&function(e){var t=e.getAttribute?e.getAttribute(ze):null,n=e.getAttribute?e.getAttribute(Ae):null;return t&&n}(e.target)){var a=Ht(st(e.target)),i=a.prefix,s=a.iconName;e.target.setAttribute(ze,i||t),s&&e.target.setAttribute(Ae,s)}else(l=e.target)&&l.classList&&l.classList.contains&&l.classList.contains(tt.replacementClass)&&r(e.target);var l}))}})),Ne&&Nn.observe(l,{childList:!0,attributes:!0,characterData:!0,subtree:!0})}}function Tn(e){var t=e.getAttribute("style"),n=[];return t&&(n=t.split(";").reduce((function(e,t){var n=t.split(":"),a=n[0],r=n.slice(1);return a&&r.length>0&&(e[a]=r.join(":").trim()),e}),{})),n}function Mn(e){var t,n,a=e.getAttribute("data-prefix"),r=e.getAttribute("data-icon"),i=void 0!==e.innerText?e.innerText.trim():"",o=Ht(st(e));return o.prefix||(o.prefix=Ut()),a&&r&&(o.prefix=a,o.iconName=r),o.iconName&&o.prefix||o.prefix&&i.length>0&&(o.iconName=(t=o.prefix,n=e.innerText,(Mt[t]||{})[n]||Dt(o.prefix,xt(e.innerText)))),o}function Ln(e){var t=ot(e.attributes).reduce((function(e,t){return"class"!==e.name&&"style"!==e.name&&(e[t.name]=t.value),e}),{}),n=e.getAttribute("title"),a=e.getAttribute("data-fa-title-id");return tt.autoA11y&&(n?t["aria-labelledby"]="".concat(tt.replacementClass,"-title-").concat(a||it()):(t["aria-hidden"]="true",t.focusable="false")),t}function zn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{styleParser:!0},n=Mn(e),a=n.iconName,r=n.prefix,i=n.rest,o=Ln(e),s=Zt("parseNodeAttributes",{},e),l=t.styleParser?Tn(e):[];return ce({iconName:a,title:e.getAttribute("title"),titleId:e.getAttribute("data-fa-title-id"),prefix:r,transform:rt,mask:{iconName:null,prefix:null,rest:[]},maskId:null,symbol:!1,extra:{classes:i,styles:l,attributes:o}},s)}var An=ht.styles;function In(e){var t="nest"===tt.autoReplaceSvg?zn(e,{styleParser:!1}):zn(e);return~t.extra.classes.indexOf(We)?Gt("generateLayersText",e,t):Gt("generateSvgReplacementMutation",e,t)}function qn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;if(!Ne)return Promise.resolve();var n=Se.documentElement.classList,a=function(e){return n.add("".concat(Ie,"-").concat(e))},r=function(e){return n.remove("".concat(Ie,"-").concat(e))},i=tt.autoFetchSvg?Object.keys(Fe):Object.keys(An),o=[".".concat(We,":not([").concat(Me,"])")].concat(i.map((function(e){return".".concat(e,":not([").concat(Me,"])")}))).join(", ");if(0===o.length)return Promise.resolve();var s=[];try{s=ot(e.querySelectorAll(o))}catch(e){}if(!(s.length>0))return Promise.resolve();a("pending"),r("complete");var l=hn("onTree"),c=s.reduce((function(e,t){try{var n=In(t);n&&e.push(n)}catch(e){je||"MissingIcon"===e.name&&console.error(e)}return e}),[]);return new Promise((function(e,n){Promise.all(c).then((function(n){En(n,(function(){a("active"),a("complete"),r("pending"),"function"==typeof t&&t(),l(),e()}))})).catch((function(e){l(),n(e)}))}))}function jn(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;In(e).then((function(e){e&&En([e],t)}))}var Fn=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?rt:n,r=t.symbol,i=void 0!==r&&r,o=t.mask,s=void 0===o?null:o,l=t.maskId,c=void 0===l?null:l,u=t.title,f=void 0===u?null:u,p=t.titleId,d=void 0===p?null:p,m=t.classes,g=void 0===m?[]:m,h=t.attributes,b=void 0===h?{}:h,y=t.styles,v=void 0===y?{}:y;if(e){var k=e.prefix,_=e.iconName,w=e.icon;return rn(ce({type:"icon"},e),(function(){return Xt("beforeDOMElementCreation",{iconDefinition:e,params:t}),tt.autoA11y&&(f?b["aria-labelledby"]="".concat(tt.replacementClass,"-title-").concat(d||it()):(b["aria-hidden"]="true",b.focusable="false")),on({icons:{main:un(w),mask:s?un(s.icon):{found:!1,width:null,height:null,icon:{}}},prefix:k,iconName:_,transform:ce(ce({},rt),a),symbol:i,title:f,maskId:c,titleId:d,extra:{attributes:b,styles:v,classes:g}})}))}},Dn={mixout:function(){return{icon:(e=Fn,function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},a=(t||{}).icon?t:Jt(t||{}),r=n.mask;return r&&(r=(r||{}).icon?r:Jt(r||{})),e(a,ce(ce({},n),{},{mask:r}))})};var e},hooks:function(){return{mutationObserverCallbacks:function(e){return e.treeCallback=qn,e.nodeCallback=jn,e}}},provides:function(e){e.i2svg=function(e){var t=e.node,n=void 0===t?Se:t,a=e.callback;return qn(n,void 0===a?function(){}:a)},e.generateSvgReplacementMutation=function(e,t){var n=t.iconName,a=t.title,r=t.titleId,i=t.prefix,o=t.transform,s=t.symbol,l=t.mask,c=t.maskId,u=t.extra;return new Promise((function(t,f){Promise.all([pn(n,i),l.iconName?pn(l.iconName,l.prefix):Promise.resolve({found:!1,width:512,height:512,icon:{}})]).then((function(l){var f=de(l,2),p=f[0],d=f[1];t([e,on({icons:{main:p,mask:d},prefix:i,iconName:n,transform:o,symbol:s,maskId:c,title:a,titleId:r,extra:u,watchable:!0})])})).catch(f)}))},e.generateAbstractIcon=function(e){var t,n=e.children,a=e.attributes,r=e.main,i=e.transform,o=ct(e.styles);return o.length>0&&(a.style=o),ut(i)&&(t=Gt("generateAbstractTransformGrouping",{main:r,transform:i,containerWidth:r.width,iconWidth:r.width})),n.push(t||r.icon),{children:n,attributes:a}}}},Rn={mixout:function(){return{layer:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.classes,a=void 0===n?[]:n;return rn({type:"layer"},(function(){Xt("beforeDOMElementCreation",{assembler:e,params:t});var n=[];return e((function(e){Array.isArray(e)?e.map((function(e){n=n.concat(e.abstract)})):n=n.concat(e.abstract)})),[{tag:"span",attributes:{class:["".concat(tt.familyPrefix,"-layers")].concat(me(a)).join(" ")},children:n}]}))}}}},Bn={mixout:function(){return{counter:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.title,a=void 0===n?null:n,r=t.classes,i=void 0===r?[]:r,o=t.attributes,s=void 0===o?{}:o,l=t.styles,c=void 0===l?{}:l;return rn({type:"counter",content:e},(function(){return Xt("beforeDOMElementCreation",{content:e,params:t}),ln({content:e.toString(),title:a,extra:{attributes:s,styles:c,classes:["".concat(tt.familyPrefix,"-layers-counter")].concat(me(i))}})}))}}}},Un={mixout:function(){return{text:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.transform,a=void 0===n?rt:n,r=t.title,i=void 0===r?null:r,o=t.classes,s=void 0===o?[]:o,l=t.attributes,c=void 0===l?{}:l,u=t.styles,f=void 0===u?{}:u;return rn({type:"text",content:e},(function(){return Xt("beforeDOMElementCreation",{content:e,params:t}),sn({content:e,transform:ce(ce({},rt),a),title:i,extra:{attributes:c,styles:f,classes:["".concat(tt.familyPrefix,"-layers-text")].concat(me(s))}})}))}}},provides:function(e){e.generateLayersText=function(e,t){var n=t.title,a=t.transform,r=t.extra,i=null,o=null;if(Oe){var s=parseInt(getComputedStyle(e).fontSize,10),l=e.getBoundingClientRect();i=l.width/s,o=l.height/s}return tt.autoA11y&&!n&&(r.attributes["aria-hidden"]="true"),Promise.resolve([e,sn({content:e.innerHTML,width:i,height:o,transform:a,title:n,extra:r,watchable:!0})])}}},Wn=new RegExp('"',"ug"),Hn=[1105920,1112319];function $n(e,t){var n="".concat("data-fa-pseudo-element-pending").concat(t.replace(":","-"));return new Promise((function(a,r){if(null!==e.getAttribute(n))return a();var i,o,s,l=ot(e.children).filter((function(e){return e.getAttribute(Le)===t}))[0],c=Ee.getComputedStyle(e,t),u=c.getPropertyValue("font-family").match(He),f=c.getPropertyValue("font-weight"),p=c.getPropertyValue("content");if(l&&!u)return e.removeChild(l),a();if(u&&"none"!==p&&""!==p){var d=c.getPropertyValue("content"),m=~["Solid","Regular","Light","Thin","Duotone","Brands","Kit"].indexOf(u[2])?De[u[2].toLowerCase()]:$e[f],g=function(e){var t,n,a,r,i=e.replace(Wn,""),o=(0,a=(t=i).length,(r=t.charCodeAt(0))>=55296&&r<=56319&&a>1&&(n=t.charCodeAt(1))>=56320&&n<=57343?1024*(r-55296)+n-56320+65536:r),s=o>=Hn[0]&&o<=Hn[1],l=2===i.length&&i[0]===i[1];return{value:xt(l?i[0]:i),isSecondary:s||l}}(d),h=g.value,b=g.isSecondary,y=u[0].startsWith("FontAwesome"),v=Dt(m,h),k=v;if(y){var _=(o=zt[i=h],s=Dt("fas",i),o||(s?{prefix:"fas",iconName:s}:null)||{prefix:null,iconName:null});_.iconName&&_.prefix&&(v=_.iconName,m=_.prefix)}if(!v||b||l&&l.getAttribute(ze)===m&&l.getAttribute(Ae)===k)a();else{e.setAttribute(n,k),l&&e.removeChild(l);var w={iconName:null,title:null,titleId:null,prefix:null,transform:rt,symbol:!1,mask:{iconName:null,prefix:null,rest:[]},maskId:null,extra:{classes:[],styles:{},attributes:{}}},x=w.extra;x.attributes[Le]=t,pn(v,m).then((function(r){var i=on(ce(ce({},w),{},{icons:{main:r,mask:{prefix:null,iconName:null,rest:[]}},prefix:m,iconName:k,extra:x,watchable:!0})),o=Se.createElement("svg");"::before"===t?e.insertBefore(o,e.firstChild):e.appendChild(o),o.outerHTML=i.map((function(e){return kt(e)})).join("\n"),e.removeAttribute(n),a()})).catch(r)}}else a()}))}function Vn(e){return Promise.all([$n(e,"::before"),$n(e,"::after")])}function Qn(e){return!(e.parentNode===document.head||~qe.indexOf(e.tagName.toUpperCase())||e.getAttribute(Le)||e.parentNode&&"svg"===e.parentNode.tagName)}function Yn(e){if(Ne)return new Promise((function(t,n){var a=ot(e.querySelectorAll("*")).filter(Qn).map(Vn),r=hn("searchPseudoElements");Pn(),Promise.all(a).then((function(){r(),Cn(),t()})).catch((function(){r(),Cn(),n()}))}))}var Kn=!1,Zn=function(e){return e.toLowerCase().split(" ").reduce((function(e,t){var n=t.toLowerCase().split("-"),a=n[0],r=n.slice(1).join("-");if(a&&"h"===r)return e.flipX=!0,e;if(a&&"v"===r)return e.flipY=!0,e;if(r=parseFloat(r),isNaN(r))return e;switch(a){case"grow":e.size=e.size+r;break;case"shrink":e.size=e.size-r;break;case"left":e.x=e.x-r;break;case"right":e.x=e.x+r;break;case"up":e.y=e.y-r;break;case"down":e.y=e.y+r;break;case"rotate":e.rotate=e.rotate+r}return e}),{size:16,x:0,y:0,flipX:!1,flipY:!1,rotate:0})},Xn={mixout:function(){return{parse:{transform:function(e){return Zn(e)}}}},hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-transform");return n&&(e.transform=Zn(n)),e}}},provides:function(e){e.generateAbstractTransformGrouping=function(e){var t=e.main,n=e.transform,a=e.containerWidth,r=e.iconWidth,i={transform:"translate(".concat(a/2," 256)")},o="translate(".concat(32*n.x,", ").concat(32*n.y,") "),s="scale(".concat(n.size/16*(n.flipX?-1:1),", ").concat(n.size/16*(n.flipY?-1:1),") "),l="rotate(".concat(n.rotate," 0 0)"),c={outer:i,inner:{transform:"".concat(o," ").concat(s," ").concat(l)},path:{transform:"translate(".concat(r/2*-1," -256)")}};return{tag:"g",attributes:ce({},c.outer),children:[{tag:"g",attributes:ce({},c.inner),children:[{tag:t.icon.tag,children:t.icon.children,attributes:ce(ce({},t.icon.attributes),c.path)}]}]}}}},Gn={x:0,y:0,width:"100%",height:"100%"};function Jn(e){var t=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];return e.attributes&&(e.attributes.fill||t)&&(e.attributes.fill="black"),e}var ea,ta={hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-mask"),a=n?Ht(n.split(" ").map((function(e){return e.trim()}))):{prefix:null,iconName:null,rest:[]};return a.prefix||(a.prefix=Ut()),e.mask=a,e.maskId=t.getAttribute("data-fa-mask-id"),e}}},provides:function(e){e.generateAbstractMask=function(e){var t,n=e.children,a=e.attributes,r=e.main,i=e.mask,o=e.maskId,s=e.transform,l=r.width,c=r.icon,u=i.width,f=i.icon,p=function(e){var t=e.transform,n=e.iconWidth,a={transform:"translate(".concat(e.containerWidth/2," 256)")},r="translate(".concat(32*t.x,", ").concat(32*t.y,") "),i="scale(".concat(t.size/16*(t.flipX?-1:1),", ").concat(t.size/16*(t.flipY?-1:1),") "),o="rotate(".concat(t.rotate," 0 0)");return{outer:a,inner:{transform:"".concat(r," ").concat(i," ").concat(o)},path:{transform:"translate(".concat(n/2*-1," -256)")}}}({transform:s,containerWidth:u,iconWidth:l}),d={tag:"rect",attributes:ce(ce({},Gn),{},{fill:"white"})},m=c.children?{children:c.children.map(Jn)}:{},g={tag:"g",attributes:ce({},p.inner),children:[Jn(ce({tag:c.tag,attributes:ce(ce({},c.attributes),p.path)},m))]},h={tag:"g",attributes:ce({},p.outer),children:[g]},b="mask-".concat(o||it()),y="clip-".concat(o||it()),v={tag:"mask",attributes:ce(ce({},Gn),{},{id:b,maskUnits:"userSpaceOnUse",maskContentUnits:"userSpaceOnUse"}),children:[d,h]},k={tag:"defs",children:[{tag:"clipPath",attributes:{id:y},children:(t=f,"g"===t.tag?t.children:[t])},v]};return n.push(k,{tag:"rect",attributes:ce({fill:"currentColor","clip-path":"url(#".concat(y,")"),mask:"url(#".concat(b,")")},Gn)}),{children:n,attributes:a}}}},na={provides:function(e){var t=!1;Ee.matchMedia&&(t=Ee.matchMedia("(prefers-reduced-motion: reduce)").matches),e.missingIconAbstract=function(){var e=[],n={fill:"currentColor"},a={attributeType:"XML",repeatCount:"indefinite",dur:"2s"};e.push({tag:"path",attributes:ce(ce({},n),{},{d:"M156.5,447.7l-12.6,29.5c-18.7-9.5-35.9-21.2-51.5-34.9l22.7-22.7C127.6,430.5,141.5,440,156.5,447.7z M40.6,272H8.5 c1.4,21.2,5.4,41.7,11.7,61.1L50,321.2C45.1,305.5,41.8,289,40.6,272z M40.6,240c1.4-18.8,5.2-37,11.1-54.1l-29.5-12.6 C14.7,194.3,10,216.7,8.5,240H40.6z M64.3,156.5c7.8-14.9,17.2-28.8,28.1-41.5L69.7,92.3c-13.7,15.6-25.5,32.8-34.9,51.5 L64.3,156.5z M397,419.6c-13.9,12-29.4,22.3-46.1,30.4l11.9,29.8c20.7-9.9,39.8-22.6,56.9-37.6L397,419.6z M115,92.4 c13.9-12,29.4-22.3,46.1-30.4l-11.9-29.8c-20.7,9.9-39.8,22.6-56.8,37.6L115,92.4z M447.7,355.5c-7.8,14.9-17.2,28.8-28.1,41.5 l22.7,22.7c13.7-15.6,25.5-32.9,34.9-51.5L447.7,355.5z M471.4,272c-1.4,18.8-5.2,37-11.1,54.1l29.5,12.6 c7.5-21.1,12.2-43.5,13.6-66.8H471.4z M321.2,462c-15.7,5-32.2,8.2-49.2,9.4v32.1c21.2-1.4,41.7-5.4,61.1-11.7L321.2,462z M240,471.4c-18.8-1.4-37-5.2-54.1-11.1l-12.6,29.5c21.1,7.5,43.5,12.2,66.8,13.6V471.4z M462,190.8c5,15.7,8.2,32.2,9.4,49.2h32.1 c-1.4-21.2-5.4-41.7-11.7-61.1L462,190.8z M92.4,397c-12-13.9-22.3-29.4-30.4-46.1l-29.8,11.9c9.9,20.7,22.6,39.8,37.6,56.9 L92.4,397z M272,40.6c18.8,1.4,36.9,5.2,54.1,11.1l12.6-29.5C317.7,14.7,295.3,10,272,8.5V40.6z M190.8,50 c15.7-5,32.2-8.2,49.2-9.4V8.5c-21.2,1.4-41.7,5.4-61.1,11.7L190.8,50z M442.3,92.3L419.6,115c12,13.9,22.3,29.4,30.5,46.1 l29.8-11.9C470,128.5,457.3,109.4,442.3,92.3z M397,92.4l22.7-22.7c-15.6-13.7-32.8-25.5-51.5-34.9l-12.6,29.5 C370.4,72.1,384.4,81.5,397,92.4z"})});var r=ce(ce({},a),{},{attributeName:"opacity"}),i={tag:"circle",attributes:ce(ce({},n),{},{cx:"256",cy:"364",r:"28"}),children:[]};return t||i.children.push({tag:"animate",attributes:ce(ce({},a),{},{attributeName:"r",values:"28;14;28;28;14;28;"})},{tag:"animate",attributes:ce(ce({},r),{},{values:"1;0;1;1;0;1;"})}),e.push(i),e.push({tag:"path",attributes:ce(ce({},n),{},{opacity:"1",d:"M263.7,312h-16c-6.6,0-12-5.4-12-12c0-71,77.4-63.9,77.4-107.8c0-20-17.8-40.2-57.4-40.2c-29.1,0-44.3,9.6-59.2,28.7 c-3.9,5-11.1,6-16.2,2.4l-13.1-9.2c-5.6-3.9-6.9-11.8-2.6-17.2c21.2-27.2,46.4-44.7,91.2-44.7c52.3,0,97.4,29.8,97.4,80.2 c0,67.6-77.4,63.5-77.4,107.8C275.7,306.6,270.3,312,263.7,312z"}),children:t?[]:[{tag:"animate",attributes:ce(ce({},r),{},{values:"1;0;0;0;0;1;"})}]}),t||e.push({tag:"path",attributes:ce(ce({},n),{},{opacity:"0",d:"M232.5,134.5l7,168c0.3,6.4,5.6,11.5,12,11.5h9c6.4,0,11.7-5.1,12-11.5l7-168c0.3-6.8-5.2-12.5-12-12.5h-23 C237.7,122,232.2,127.7,232.5,134.5z"}),children:[{tag:"animate",attributes:ce(ce({},r),{},{values:"0;0;1;1;0;0;"})}]}),{tag:"g",attributes:{class:"missing"},children:e}}}};ea={mixoutsTo:nn}.mixoutsTo,Vt=[mt,Dn,Rn,Bn,Un,{hooks:function(){return{mutationObserverCallbacks:function(e){return e.pseudoElementsCallback=Yn,e}}},provides:function(e){e.pseudoElements2svg=function(e){var t=e.node,n=void 0===t?Se:t;tt.searchPseudoElements&&Yn(n)}}},{mixout:function(){return{dom:{unwatch:function(){Pn(),Kn=!0}}}},hooks:function(){return{bootstrap:function(){On(Zt("mutationObserverCallbacks",{}))},noAuto:function(){Nn&&Nn.disconnect()},watch:function(e){var t=e.observeMutationsRoot;Kn?Cn():On(Zt("mutationObserverCallbacks",{observeMutationsRoot:t}))}}}},Xn,ta,na,{hooks:function(){return{parseNodeAttributes:function(e,t){var n=t.getAttribute("data-fa-symbol"),a=null!==n&&(""===n||n);return e.symbol=a,e}}}}],Qt={},Object.keys(Yt).forEach((function(e){-1===Kt.indexOf(e)&&delete Yt[e]})),Vt.forEach((function(e){var t=e.mixout?e.mixout():{};if(Object.keys(t).forEach((function(e){"function"==typeof t[e]&&(ea[e]=t[e]),"object"===ue(t[e])&&Object.keys(t[e]).forEach((function(n){ea[e]||(ea[e]={}),ea[e][n]=t[e][n]}))})),e.hooks){var n=e.hooks();Object.keys(n).forEach((function(e){Qt[e]||(Qt[e]=[]),Qt[e].push(n[e])}))}e.provides&&e.provides(Yt)}));var aa=nn.library,ra=nn.parse,ia=nn.icon,oa=n(697),sa=n.n(oa);function la(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);t&&(a=a.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,a)}return n}function ca(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?la(Object(n),!0).forEach((function(t){fa(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):la(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ua(e){return ua="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ua(e)}function fa(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function pa(e,t){if(null==e)return{};var n,a,r=function(e,t){if(null==e)return{};var n,a,r={},i=Object.keys(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||(r[n]=e[n]);return r}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(a=0;a<i.length;a++)n=i[a],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}function da(e){return function(e){if(Array.isArray(e))return ma(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return ma(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)?ma(e,t):void 0}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function ma(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,a=new Array(t);n<t;n++)a[n]=e[n];return a}function ga(e){return function(e){return(e-=0)==e}(e)?e:(e=e.replace(/[\-_\s]+(.)?/g,(function(e,t){return t?t.toUpperCase():""}))).substr(0,1).toLowerCase()+e.substr(1)}var ha=["style"];function ba(e){return e.split(";").map((function(e){return e.trim()})).filter((function(e){return e})).reduce((function(e,t){var n,a=t.indexOf(":"),r=ga(t.slice(0,a)),i=t.slice(a+1).trim();return r.startsWith("webkit")?e[(n=r,n.charAt(0).toUpperCase()+n.slice(1))]=i:e[r]=i,e}),{})}var ya=!1;try{ya=!0}catch(e){}function va(e){return e&&"object"===ua(e)&&e.prefix&&e.iconName&&e.icon?e:ra.icon?ra.icon(e):null===e?null:e&&"object"===ua(e)&&e.prefix&&e.iconName?e:Array.isArray(e)&&2===e.length?{prefix:e[0],iconName:e[1]}:"string"==typeof e?{prefix:"fas",iconName:e}:void 0}function ka(e,t){return Array.isArray(t)&&t.length>0||!Array.isArray(t)&&t?fa({},e,t):{}}var _a=["forwardedRef"];function wa(e){var t=e.forwardedRef,n=pa(e,_a),a=n.icon,r=n.mask,i=n.symbol,o=n.className,s=n.title,l=n.titleId,c=va(a),u=ka("classes",[].concat(da(function(e){var t,n=e.beat,a=e.fade,r=e.flash,i=e.spin,o=e.spinPulse,s=e.spinReverse,l=e.pulse,c=e.fixedWidth,u=e.inverse,f=e.border,p=e.listItem,d=e.flip,m=e.size,g=e.rotation,h=e.pull,b=(fa(t={"fa-beat":n,"fa-fade":a,"fa-flash":r,"fa-spin":i,"fa-spin-reverse":s,"fa-spin-pulse":o,"fa-pulse":l,"fa-fw":c,"fa-inverse":u,"fa-border":f,"fa-li":p,"fa-flip-horizontal":"horizontal"===d||"both"===d,"fa-flip-vertical":"vertical"===d||"both"===d},"fa-".concat(m),null!=m),fa(t,"fa-rotate-".concat(g),null!=g&&0!==g),fa(t,"fa-pull-".concat(h),null!=h),fa(t,"fa-swap-opacity",e.swapOpacity),t);return Object.keys(b).map((function(e){return b[e]?e:null})).filter((function(e){return e}))}(n)),da(o.split(" ")))),f=ka("transform","string"==typeof n.transform?ra.transform(n.transform):n.transform),p=ka("mask",va(r)),d=ia(c,ca(ca(ca(ca({},u),f),p),{},{symbol:i,title:s,titleId:l}));if(!d)return function(){var e;!ya&&console&&"function"==typeof console.error&&(e=console).error.apply(e,arguments)}("Could not find icon",c),null;var m=d.abstract,g={ref:t};return Object.keys(n).forEach((function(e){wa.defaultProps.hasOwnProperty(e)||(g[e]=n[e])})),xa(m[0],g)}wa.displayName="FontAwesomeIcon",wa.propTypes={beat:sa().bool,border:sa().bool,className:sa().string,fade:sa().bool,flash:sa().bool,mask:sa().oneOfType([sa().object,sa().array,sa().string]),fixedWidth:sa().bool,inverse:sa().bool,flip:sa().oneOf(["horizontal","vertical","both"]),icon:sa().oneOfType([sa().object,sa().array,sa().string]),listItem:sa().bool,pull:sa().oneOf(["right","left"]),pulse:sa().bool,rotation:sa().oneOf([0,90,180,270]),size:sa().oneOf(["2xs","xs","sm","lg","xl","2xl","1x","2x","3x","4x","5x","6x","7x","8x","9x","10x"]),spin:sa().bool,spinPulse:sa().bool,spinReverse:sa().bool,symbol:sa().oneOfType([sa().bool,sa().string]),title:sa().string,transform:sa().oneOfType([sa().string,sa().object]),swapOpacity:sa().bool},wa.defaultProps={border:!1,className:"",mask:null,fixedWidth:!1,inverse:!1,flip:null,icon:null,listItem:!1,pull:null,pulse:!1,rotation:null,size:null,spin:!1,symbol:!1,title:"",transform:null,swapOpacity:!1};var xa=function e(t,n){var a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};if("string"==typeof n)return n;var r=(n.children||[]).map((function(n){return e(t,n)})),i=Object.keys(n.attributes||{}).reduce((function(e,t){var a=n.attributes[t];switch(t){case"class":e.attrs.className=a,delete n.attributes.class;break;case"style":e.attrs.style=ba(a);break;default:0===t.indexOf("aria-")||0===t.indexOf("data-")?e.attrs[t.toLowerCase()]=a:e.attrs[ga(t)]=a}return e}),{attrs:{}}),o=a.style,s=void 0===o?{}:o,l=pa(a,ha);return i.attrs.style=ca(ca({},i.attrs.style),s),t.apply(void 0,[n.tag,ca(ca({},i.attrs),l)].concat(da(r)))}.bind(null,e.createElement),Ea=Object.defineProperty,Sa=Object.getOwnPropertySymbols,Pa=Object.prototype.hasOwnProperty,Ca=Object.prototype.propertyIsEnumerable,Na=(e,t,n)=>t in e?Ea(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class Oa extends e.Component{constructor(e){super(e)}render(){return e.createElement("span",{className:"fs-icon"},e.createElement(wa,((e,t)=>{for(var n in t||(t={}))Pa.call(t,n)&&Na(e,n,t[n]);if(Sa)for(var n of Sa(t))Ca.call(t,n)&&Na(e,n,t[n]);return e})({},this.props)))}}const Ta=Oa;var Ma=n(302),La={};function za({children:t}){const[n,a]=(0,e.useState)("none"),r=(0,e.useRef)(null),i=()=>{r.current&&a((e=>{if("none"!==e)return e;const t=r.current.getBoundingClientRect();let n=r.current.closest(".fs-packages-nav").getBoundingClientRect().right-t.right,a=250,i="right";return a>n&&(i="top",a=150,a>n&&(i="top-right")),i}))},o=()=>{a("none")};return(0,e.useEffect)((()=>{if("none"===n)return()=>{};const e=e=>{e.target===r.current||r.current.contains(e.target)||a("none")};return document.addEventListener("click",e),()=>{document.removeEventListener("click",e)}}),[n]),e.createElement("span",{className:"fs-tooltip",onMouseEnter:i,onMouseLeave:o,ref:r,onClick:i,onFocus:i,onBlur:o,tabIndex:0},e.createElement(Ta,{icon:"question-circle"}),e.createElement("span",{className:`fs-tooltip-message fs-tooltip-message--position-${n}`},t))}La.styleTagTransform=g(),La.setAttributes=f(),La.insert=c().bind(null,"head"),La.domAPI=s(),La.insertStyleElement=d(),i()(Ma.Z,La),Ma.Z&&Ma.Z.locals&&Ma.Z.locals;class Aa extends e.Component{constructor(e){super(e)}render(){return e.createElement("div",{className:"fs-placeholder"})}}const Ia=Aa;var qa=n(267),ja={};ja.styleTagTransform=g(),ja.setAttributes=f(),ja.insert=c().bind(null,"head"),ja.domAPI=s(),ja.insertStyleElement=d(),i()(qa.Z,ja),qa.Z&&qa.Z.locals&&qa.Z.locals;var Fa=Object.defineProperty,Da=(e,t,n)=>(((e,t,n)=>{t in e?Fa(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);const Ra=class extends e.Component{constructor(e){super(e),Da(this,"previouslySelectedPricingByPlan",{})}billingCycleLabel(){let e="Billed ";return D===this.context.selectedBillingCycle?e+="Annually":R===this.context.selectedBillingCycle?e+="Once":e+="Monthly",e}changeLicenses(e){let t=e.currentTarget;"tr"!==t.tagName.toLowerCase()&&(t=t.closest("tr"));let n=t.dataset.pricingId;document.getElementById(`pricing_${n}`).click()}getContextPlan(){return C(this.context.install)||C(this.context.install.plan_id)?null:X().getPlanByID(this.context.install.plan_id)}getPlanChangeType(){var e,t,n;const a=this.props.planPackage,r=this.getContextPlan();if(!r)return"upgrade";const i=X().isFreePlan(r.pricing),o=X().isFreePlan(a.pricing);if(i&&o)return"none";if(i)return"upgrade";if(o)return"downgrade";const s=X().comparePlanByIDs(a.id,r.id);if(s>0)return"upgrade";if(s<0)return"downgrade";const l=null!=(e=this.props.installPlanLicensesCount)?e:B,c=null!=(n=this.props.isSinglePlan?null==(t=a.selectedPricing)?void 0:t.licenses:this.context.selectedLicenseQuantity)?n:B;return l<c?"upgrade":l>c?"downgrade":"none"}getCtaButtonLabel(t){const n=this.props.planPackage;if(this.context.isActivatingTrial&&this.context.upgradingToPlanID==n.id)return"Activating...";if(this.context.isTrial&&n.hasTrial())return e.createElement(e.Fragment,null,"Start my free ",e.createElement("nobr",null,n.trial_period," days"));const a=this.getContextPlan(),r=!this.context.isTrial&&a&&!this.isInstallInTrial(this.context.install)&&X().isPaidPlan(a.pricing);switch(t){case"downgrade":return"Downgrade";case"none":return"Your Plan";default:return"Upgrade"+(r?"":" Now")}}getUndiscountedPrice(t,n,a){if(D!==this.context.selectedBillingCycle||!(this.context.annualDiscount>0))return e.createElement(Ia,{className:"fs-undiscounted-price"});if(t.is_free_plan||null===n)return e.createElement(Ia,{className:"fs-undiscounted-price"});let r;return r="mo"===a?n.getMonthlyAmount(1,!0,Ra.locale):n.getYearlyAmount(1,!0,Ra.locale),e.createElement("div",{className:"fs-undiscounted-price"},"Normally ",this.context.currencySymbols[this.context.selectedCurrency],r," / ",a)}getSitesLabel(t,n,a){return t.is_free_plan?e.createElement(Ia,null):e.createElement("div",{className:"fs-selected-pricing-license-quantity"},n.sitesLabel(),!t.is_free_plan&&e.createElement(za,null,e.createElement(e.Fragment,null,"If you are running a multi-site network, each site in the network requires a license.",a.length>0?"Therefore, if you need to use it on multiple sites, check out our multi-site prices.":"")))}priceLabel(e,t){let n=this.context,a="",r=e[n.selectedBillingCycle+"_price"];return a+=n.currencySymbols[n.selectedCurrency],a+=N(r,t),F===n.selectedBillingCycle?a+=" / mo":D===n.selectedBillingCycle&&(a+=" / year"),a}isInstallInTrial(e){return!(!S(e.trial_plan_id)||C(e.trial_ends))&&Date.parse(e.trial_ends)>(new Date).getTime()}render(){let t=this.props.isSinglePlan,n=this.props.planPackage,a=this.props.currentLicenseQuantities,r=null,i=this.context.selectedLicenseQuantity,o={},s=null,l=null,c=null,u=this.context.showAnnualInMonthly,f="mo";if(this.props.isFirstPlanPackage&&(Ra.contextInstallPlanFound=!1),n.is_free_plan||(o=n.pricingCollection,r=n.pricingLicenses,s=n.selectedPricing,s||(this.previouslySelectedPricingByPlan[n.id]&&this.context.selectedCurrency===this.previouslySelectedPricingByPlan[n.id].currency&&this.previouslySelectedPricingByPlan[n.id].supportsBillingCycle(this.context.selectedBillingCycle)||(this.previouslySelectedPricingByPlan[n.id]=o[r[0]]),s=this.previouslySelectedPricingByPlan[n.id],i=s.getLicenses()),this.previouslySelectedPricingByPlan[n.id]=s,D===this.context.selectedBillingCycle?((!0===u||C(u)&&s.hasMonthlyPrice())&&(l=N(s.getMonthlyAmount(j),"en-US")),(!1===u||C(u)&&!s.hasMonthlyPrice())&&(l=N(s.getYearlyAmount(j),"en-US"),f="yr")):l=s[`${this.context.selectedBillingCycle}_price`].toString()),n.hasAnySupport())if(n.hasSuccessManagerSupport())c="Priority Phone, Email & Chat Support";else{let e=[];n.hasPhoneSupport()&&e.push("Phone"),n.hasSkypeSupport()&&e.push("Skype"),n.hasEmailSupport()&&e.push((this.context.priorityEmailSupportPlanID==n.id?"Priority ":"")+"Email"),n.hasForumSupport()&&e.push("Forum"),n.hasKnowledgeBaseSupport()&&e.push("Help Center"),c=1===e.length?`${e[0]} Support`:e.slice(0,e.length-1).join(", ")+" & "+e[e.length-1]+" Support"}else c="No Support";let p="fs-package",d=!1;n.is_free_plan?p+=" fs-free-plan":!t&&n.is_featured&&(p+=" fs-featured-plan",d=!0);const m=N(.1,Ra.locale)[1];let g,h;if(l){const e=l.split(".");g=N(parseInt(e[0],10)),h=T(e[1])}const b=this.getPlanChangeType();return e.createElement("li",{key:n.id,className:p},e.createElement("div",{className:"fs-most-popular"},e.createElement("h4",null,e.createElement("strong",null,"Most Popular"))),e.createElement("div",{className:"fs-package-content"},e.createElement("h2",{className:"fs-plan-title"},e.createElement("strong",null,t?s.sitesLabel():n.title)),e.createElement("h3",{className:"fs-plan-description"},e.createElement("strong",null,n.description_lines)),this.getUndiscountedPrice(n,s,f),e.createElement("div",{className:"fs-selected-pricing-amount"},e.createElement("strong",{className:"fs-currency-symbol"},n.is_free_plan?"":this.context.currencySymbols[this.context.selectedCurrency]),e.createElement("span",{className:"fs-selected-pricing-amount-integer"},e.createElement("strong",null,n.is_free_plan?"Free":g)),e.createElement("span",{className:"fs-selected-pricing-amount-fraction-container"},e.createElement("strong",{className:"fs-selected-pricing-amount-fraction"},n.is_free_plan?"":m+h),!n.is_free_plan&&R!==this.context.selectedBillingCycle&&e.createElement("sub",{className:"fs-selected-pricing-amount-cycle"},"/ ",f))),e.createElement("div",{className:"fs-selected-pricing-cycle"},n.is_free_plan?e.createElement(Ia,null):e.createElement("strong",null,this.billingCycleLabel())),this.getSitesLabel(n,s,r),e.createElement("div",{className:"fs-support-and-main-features"},null!==c&&e.createElement("div",{className:"fs-plan-support"},e.createElement("strong",null,c)),e.createElement("ul",{className:"fs-plan-features-with-value"},n.highlighted_features.map((t=>P(t.title)?e.createElement("li",{key:t.id},e.createElement("span",{className:"fs-feature-title"},e.createElement("span",null,e.createElement("strong",null,t.value)),e.createElement("span",{className:"fs-feature-title"},t.title)),P(t.description)&&e.createElement(za,null,e.createElement(e.Fragment,null,t.description))):e.createElement("li",{key:t.id},e.createElement(Ia,null)))))),!t&&e.createElement("table",{className:"fs-license-quantities"},e.createElement("tbody",null,Object.keys(a).map((a=>{let r=o[a];if(C(r))return e.createElement("tr",{className:"fs-license-quantity-container",key:a},e.createElement("td",null,e.createElement(Ia,null)),e.createElement("td",null),e.createElement("td",null));let l=i==a,c=X().calculateMultiSiteDiscount(r,this.context.selectedBillingCycle,this.context.discountsModel);return e.createElement("tr",{key:r.id,"data-pricing-id":r.id,className:"fs-license-quantity-container"+(l?" fs-license-quantity-selected":""),onClick:this.changeLicenses},e.createElement("td",{className:"fs-license-quantity"},e.createElement("input",{type:"radio",id:`pricing_${r.id}`,name:"fs_plan_"+n.id+"_licenses"+(t?s.id:""),value:r.id,checked:l||t,onChange:this.props.changeLicensesHandler}),r.sitesLabel()),c>0?e.createElement("td",{className:"fs-license-quantity-discount"},e.createElement("span",null,"Save ",c,"%")):e.createElement("td",null),e.createElement("td",{className:"fs-license-quantity-price"},this.priceLabel(r,Ra.locale)))})))),e.createElement("div",{className:"fs-upgrade-button-container"},e.createElement("button",{disabled:"none"===b,className:"fs-button fs-button--size-large fs-upgrade-button "+("upgrade"===b?"fs-button--type-primary "+(d?"":"fs-button--outline"):"fs-button--outline"),onClick:()=>{this.props.upgradeHandler(n,s)}},this.getCtaButtonLabel(b))),e.createElement("ul",{className:"fs-plan-features"},n.nonhighlighted_features.map((t=>{if(!P(t.title))return e.createElement("li",{key:t.id},e.createElement(Ia,null));const n=0===t.id.indexOf("all_plan_")?e.createElement("strong",null,t.title):t.title;return e.createElement("li",{key:t.id},e.createElement(Ta,{icon:["fas","check"]}),e.createElement("span",{className:"fs-feature-title"},n),P(t.description)&&e.createElement(za,null,e.createElement(e.Fragment,null,t.description)))})))))}};let Ba=Ra;Da(Ba,"contextType",G),Da(Ba,"contextInstallPlanFound",!1),Da(Ba,"locale","en-US");const Ua=Ba;var Wa=n(700),Ha={};Ha.styleTagTransform=g(),Ha.setAttributes=f(),Ha.insert=c().bind(null,"head"),Ha.domAPI=s(),Ha.insertStyleElement=d(),i()(Wa.Z,Ha),Wa.Z&&Wa.Z.locals&&Wa.Z.locals;var $a=Object.defineProperty,Va=(e,t,n)=>(((e,t,n)=>{t in e?$a(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,"symbol"!=typeof t?t+"":t,n),n);class Qa extends e.Component{constructor(e){super(e),Va(this,"slider",null)}billingCycleLabel(){let e="Billed ";return D===this.context.selectedBillingCycle?e+="Annually":R===this.context.selectedBillingCycle?e+="Once":e+="Monthly",e}priceLabel(e){let t=this.context,n="",a=e[t.selectedBillingCycle+"_price"];return n+=t.currencySymbols[t.selectedCurrency],n+=N(a),F===t.selectedBillingCycle?n+=" / mo":D===t.selectedBillingCycle&&(n+=" / year"),n}componentDidMount(){this.slider=function(){let e,t,n,a,r,i,o,s,l,c,u,f,p,d,m,g,h;const b=function(){const e=window.getComputedStyle(t);return parseFloat(e.width)<2*u-h};let y=function(e,t){let n=-1*e*p+(t||0)-1;r.style.left=n+"px"},v=function(){e++;let t=0;!b()&&m>f&&(t=c,e+g>=a.length&&(i.style.visibility="hidden",r.parentNode.classList.remove("fs-has-next-plan"),e-1>0&&(t*=2)),e>0&&(o.style.visibility="visible",r.parentNode.classList.add("fs-has-previous-plan"))),y(e,t)},k=function(){e--;let t=0;!b()&&m>f&&(e-1<0&&(o.style.visibility="hidden",r.parentNode.classList.remove("fs-has-previous-plan")),e+g<=a.length&&(i.style.visibility="visible",r.parentNode.classList.add("fs-has-next-plan"),e>0&&(t=c))),y(e,t)},_=function(){r.parentNode.classList.remove("fs-has-previous-plan"),r.parentNode.classList.remove("fs-has-next-plan"),m=window.outerWidth;let n=window.getComputedStyle(t),h=parseFloat(n.width),y=m<=f||b();if(d=c,y?(g=1,p=h):(g=Math.floor(h/u),g===a.length?d=0:g<a.length&&(g=Math.floor((h-d)/u),g+1<a.length&&(d*=2,g=Math.floor((h-d)/u))),p=u),r.style.width=p*a.length+"px",h=g*p+(y?0:d),r.parentNode.style.width=h+"px",r.style.left="0px",!y&&g<a.length){i.style.visibility="visible";let e=parseFloat(window.getComputedStyle(r.parentNode).marginLeft),t=parseFloat(n.paddingLeft),a=-t,s=h+e,l=parseFloat(window.getComputedStyle(i).width);o.style.left=a+(t+e-l)/2+"px",i.style.left=s+(t+e-l)/2+"px",r.parentNode.classList.add("fs-has-next-plan")}else o.style.visibility="hidden",i.style.visibility="hidden";for(let e of a)e.style.width=p+"px";if(s)e=s.selectedIndex;else if(l){let t=l.querySelectorAll("li");for(let n=0;n<t.length;n++)if(t[n].classList.contains("fs-package-tab--selected")){e=n;break}}e>0&&(e--,v())};e=0,t=document.querySelector(".fs-section--plans-and-pricing"),n=t.querySelector(".fs-section--packages"),a=n.querySelectorAll(".fs-package"),r=n.querySelector(".fs-packages"),i=t.querySelector(".fs-next-package"),o=t.querySelector(".fs-prev-package"),s=t.querySelector(".fs-packages-menu"),l=t.querySelector(".fs-packages-tab"),c=60,u=315,f=768,h=20,_();const w=t=>{e=t.target.selectedIndex-1,v()};s&&s.addEventListener("change",w);const x=function(e,t,n){let a;return function(){let t=this,r=arguments,i=function(){a=null,e.apply(t,r)},o=n;clearTimeout(a),a=setTimeout(i,250),o&&e.apply(t,r)}}(_);return i.addEventListener("click",v),o.addEventListener("click",k),window.addEventListener("resize",x),{adjustPackages:_,clearEventListeners(){i.removeEventListener("click",v),o.removeEventListener("click",k),window.removeEventListener("resize",x),s&&s.removeEventListener("change",w)}}}()}componentWillUnmount(){var e;null==(e=this.slider)||e.clearEventListeners()}componentDidUpdate(e,t,n){var a;null==(a=this.slider)||a.adjustPackages()}render(){let t=null,n=this.context.licenseQuantities[this.context.selectedCurrency],a=Object.keys(n).length,r={},i=!1;if(this.context.paidPlansCount>1||1===a||!0===Xr.disable_single_package)t=this.context.plans;else{t=[];let e=null;for(e of this.context.plans)if(!X().isHiddenOrFreePlan(e))break;for(let n of e.pricing){if(n.is_hidden||this.context.selectedCurrency!==n.currency||!n.supportsBillingCycle(this.context.selectedBillingCycle))continue;let a=Object.assign(new z,e);a.pricing=[n],t.push(a)}i=!0}let o=[],s=0,l=0,c={},u=0,f=null,p=0;for(let n of t){if(n.is_hidden)continue;let t=X().isFreePlan(n.pricing);if(t){if(this.context.paidPlansCount>=3)continue;n.is_free_plan=t}else{n.pricingCollection={},n.pricing.map((e=>{let t=e.getLicenses();e.is_hidden||this.context.selectedCurrency!==e.currency||e.supportsBillingCycle(this.context.selectedBillingCycle)&&(n.pricingCollection[t]=e,(i||this.context.selectedLicenseQuantity==t)&&(n.selectedPricing=e),this.context.license&&this.context.license.pricing_id==e.id&&(p=e.licenses))}));let e=Object.keys(n.pricingCollection);if(0===e.length)continue;n.pricingLicenses=e}if(n.highlighted_features=[],n.nonhighlighted_features=[],null!==f&&n.nonhighlighted_features.push({id:`all_plan_${f.id}_features`,title:`All ${f.title} Features`}),n.hasSuccessManagerSupport()&&n.nonhighlighted_features.push({id:`plan_${n.id}_personal_success_manager`,title:"Personal Success Manager"}),P(n.description)?n.description_lines=n.description.split("\n").map(((t,n)=>e.createElement(e.Fragment,{key:n},t,e.createElement("br",null)))):n.description_lines=[],u=Math.max(u,n.description_lines.length),o.push(n),!C(n.features)){for(let e of n.features)e.is_featured&&(P(e.value)||S(e.value)?n.highlighted_features.push(e):(i||C(c[`f_${e.id}`]))&&(n.nonhighlighted_features.push(e),c[`f_${e.id}`]=!0));if(s=Math.max(s,n.highlighted_features.length),l=Math.max(l,n.nonhighlighted_features.length),!t)for(let e of n.pricing)!e.is_hidden&&this.context.selectedCurrency===e.currency&&e.supportsBillingCycle(this.context.selectedBillingCycle)&&(r[e.getLicenses()]=!0);i||(f=n)}}let d=[],m=!0,g=!1,h=[],b=[],y=this.context.selectedPlanID;for(let t of o){if(t.highlighted_features.length<s){const e=s-t.highlighted_features.length;for(let n=0;n<e;n++)t.highlighted_features.push({id:`filler_${n}`})}if(t.nonhighlighted_features.length<l){const e=l-t.nonhighlighted_features.length;for(let n=0;n<e;n++)t.nonhighlighted_features.push({id:`filler_${n}`})}if(t.description_lines.length<u){const n=u-t.description_lines.length;for(let a=0;a<n;a++)t.description_lines.push(e.createElement(Ia,{key:`filler_${a}`}))}t.is_featured&&!i&&this.context.paidPlansCount>1&&(g=!0);const a=i?t.pricing[0].id:t.id;!y&&m&&(y=a),h.push(e.createElement("li",{key:a,className:"fs-package-tab"+(a==y?" fs-package-tab--selected":""),"data-plan-id":a,onClick:this.props.changePlanHandler},e.createElement("a",{href:"#"},i?t.pricing[0].sitesLabel():t.title))),b.push(e.createElement("option",{key:a,className:"fs-package-option",id:`fs_package_${a}_option`,value:a},(a!=y&&y?"":"Selected Plan: ")+t.title)),d.push(e.createElement(Ua,{key:a,isFirstPlanPackage:m,installPlanLicensesCount:p,isSinglePlan:i,maxHighlightedFeaturesCount:s,maxNonHighlightedFeaturesCount:l,licenseQuantities:n,currentLicenseQuantities:r,planPackage:t,changeLicensesHandler:this.props.changeLicensesHandler,upgradeHandler:this.props.upgradeHandler})),m&&(m=!1)}return e.createElement(e.Fragment,null,e.createElement("nav",{className:"fs-prev-package"},e.createElement(Ta,{icon:["fas","chevron-left"]})),e.createElement("section",{className:"fs-packages-nav"+(g?" fs-has-featured-plan":"")},d.length>3&&e.createElement("select",{className:"fs-packages-menu",onChange:this.props.changePlanHandler,value:y},b),d.length<=3&&e.createElement("ul",{className:"fs-packages-tab"},h),e.createElement("ul",{className:"fs-packages"},d)),e.createElement("nav",{className:"fs-next-package"},e.createElement(Ta,{icon:["fas","chevron-right"]})))}}Va(Qa,"contextType",G);const Ya=Qa;class Ka extends e.Component{constructor(e){super(e)}render(){return e.createElement("ul",null,this.props.badges.map((t=>{let n=e.createElement("img",{src:t.src,alt:t.alt});return P(t.link)&&(n=e.createElement("a",{href:t.link,target:"_blank"},n)),e.createElement("li",{key:t.key,className:"fs-badge"},n)})))}}const Za=Ka;var Xa=n(568),Ga=n.n(Xa);class Ja extends e.Component{constructor(e){super(e)}render(){return e.createElement("button",{className:"fs-round-button",type:"button",role:"button",tabIndex:"0"},e.createElement("span",null))}}const er=Ja,tr=n.p+"27b5a722a5553d9de0170325267fccec.png",nr=n.p+"c03f665db27af43971565560adfba594.png",ar=n.p+"cb5fc4f6ec7ada72e986f6e7dde365bf.png",rr=n.p+"f3aac72a8e63997d6bb888f816457e9b.png",ir=n.p+"178afa6030e76635dbe835e111d2c507.png";var or=Object.defineProperty;class sr extends e.Component{constructor(e){super(e),this.getReviewRating=this.getReviewRating.bind(this),this.defaultProfilePics=[tr,nr,ar,rr,ir]}getReviewRating(t){let n=Math.ceil(t.rate/100*5),a=[];for(let t=0;t<n;t++)a.push(e.createElement(Ta,{key:t,icon:["fas","star"]}));return a}stripHtml(e){return(new DOMParser).parseFromString(e,"text/html").body.textContent}render(){let t=this.context;setTimeout((function(){let e,t,n,a=null,r=0,i=document.querySelector(".fs-section--testimonials"),o=i.querySelector(".fs-testimonials-track"),s=o.querySelectorAll(".fs-testimonial"),l=o.querySelectorAll(".fs-testimonial.clone"),c=s.length-l.length,u=o.querySelector(".fs-testimonials"),f=250,p=!1,d=function(e,a){(a=a||!1)&&i.classList.remove("ready");let o=3+e,l=(e%c+c)%c;i.querySelector(".slick-dots li.selected").classList.remove("selected"),Array.from(i.querySelectorAll(".slick-dots li")).forEach((e=>{l==e.getAttribute("data-index")&&e.classList.add("selected")})),u.style.left=o*n*-1+"px";for(let e of s)e.setAttribute("aria-hidden","true");for(let e=0;e<t;e++)s[e+o].setAttribute("aria-hidden","false");a&&setTimeout((function(){i.classList.add("ready")}),500),e==c&&(r=0,setTimeout((function(){d(r,!0)}),1e3)),e==-t&&(r=e+c,setTimeout((function(){d(r,!0)}),1e3))},m=function(){a&&(clearInterval(a),a=null)},g=function(){r++,d(r)},h=function(){p&&t<s.length&&(a=setInterval((function(){g()}),1e4))},b=function(){m(),i.classList.remove("ready"),e=parseFloat(window.getComputedStyle(o).width),e<f&&(f=e),t=Math.min(3,Math.floor(e/f)),n=Math.floor(e/t),u.style.width=s.length*n+"px";for(let e of s)e.style.width=n+"px";let a=0,l=0;for(let e=0;e<s.length;e++){let t=s[e],n=t.querySelector("header"),r=t.querySelector("section");n.style.height="100%",r.style.height="100%",a=Math.max(a,parseFloat(window.getComputedStyle(n).height)),l=Math.max(l,parseFloat(window.getComputedStyle(r).height))}for(let e=0;e<s.length;e++){let t=s[e],n=t.querySelector("header"),r=t.querySelector("section");n.style.height=a+"px",r.style.height=l+"px"}u.style.left=(r+3)*n*-1+"px",i.classList.add("ready"),p=c>t,Array.from(i.querySelectorAll(".slick-arrow, .slick-dots")).forEach((e=>{e.style.display=p?"block":"none"}))};b(),h(),i.querySelector(".fs-nav-next").addEventListener("click",(function(){m(),g(),h()})),i.querySelector(".fs-nav-prev").addEventListener("click",(function(){m(),r--,d(r),h()})),Array.from(i.querySelectorAll(".slick-dots li")).forEach((e=>{e.addEventListener("click",(function(e){let t=null;t="span"===e.target.tagName.toLowerCase()?e.target.parentNode.parentNode:"button"===e.target.tagName.toLowerCase()?e.target.parentNode:e.target,t.classList.contains("selected")||(m(),r=parseInt(t.getAttribute("data-index")),d(r),h())}))})),window.addEventListener("resize",(function(){b(),h()}))}),10);let n=[],a=t.reviews.length,r=[];for(let r=-3;r<a+3;r++){let i=t.reviews[(r%a+a)%a],o=i.email?(i.email.charAt(0).toLowerCase().charCodeAt(0)-"a".charCodeAt(0))%5:Math.floor(4*Math.random()),s=this.defaultProfilePics[o];n.push(e.createElement("section",{className:"fs-testimonial"+(r<0||r>=a?" clone":""),"data-index":r,"data-id":i.id,key:r},e.createElement("header",{className:"fs-testimonial-header"},e.createElement("div",{className:"fs-testimonial-logo"},e.createElement("object",{data:i.email?"//gravatar.com/avatar/"+Ga()(i.email)+"?s=80&d="+encodeURIComponent(s):s,type:"image/png"},e.createElement("img",{src:s}))),e.createElement("h4",null,i.title),e.createElement("div",{className:"fs-testimonial-rating"},this.getReviewRating(i))),e.createElement("section",null,e.createElement(Ta,{icon:["fas","quote-left"],className:"fs-icon-quote"}),e.createElement("blockquote",{className:"fs-testimonial-message"},this.stripHtml(i.text)),e.createElement("section",{className:"fs-testimonial-author"},e.createElement("div",{className:"fs-testimonial-author-name"},i.name),e.createElement("div",null,i.job_title?i.job_title+", ":"",i.company)))))}for(let t=0;t<a;t++)r.push(e.createElement("li",{className:0==t?"selected":"",key:t,"data-index":t,"aria-hidden":"true",role:"presentation","aria-selected":0==t?"true":"false","aria-controls":"navigation"+t},e.createElement(er,{type:"button",role:"button",tabIndex:"0"})));return e.createElement(e.Fragment,null,t.active_installs>1e3&&e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Trusted by More than"," ",N(1e3*Math.ceil(t.active_installs/1e3))," ","Blogs, Online Shops & Websites!")),t.active_installs<=1e3&&t.downloads>1e3?e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Downloaded More than"," ",N(1e3*Math.ceil(t.downloads/1e3))," ","Times!")):null,e.createElement("section",{className:"fs-testimonials-nav"},e.createElement("nav",{className:"fs-nav fs-nav-prev"},e.createElement(Ta,{icon:["fas","arrow-left"]})),e.createElement("div",{className:"fs-testimonials-track"},e.createElement("section",{className:"fs-testimonials"},n)),e.createElement("nav",{className:"fs-nav fs-nav-next"},e.createElement(Ta,{icon:["fas","arrow-right"]}))),e.createElement("ul",{className:"fs-nav fs-nav-pagination slick-dots",role:"tablist"},r))}}((e,t,n)=>{((e,t,n)=>{t in e?or(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(sr,"contextType",G);const lr=sr;var cr=Object.defineProperty,ur=Object.getOwnPropertySymbols,fr=Object.prototype.hasOwnProperty,pr=Object.prototype.propertyIsEnumerable,dr=(e,t,n)=>t in e?cr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,mr=(e,t)=>{for(var n in t||(t={}))fr.call(t,n)&&dr(e,n,t[n]);if(ur)for(var n of ur(t))pr.call(t,n)&&dr(e,n,t[n]);return e};let gr=null;const hr=function(){return null!==gr||(gr={buildQueryString:function(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push(encodeURIComponent(n)+"="+encodeURIComponent(e[n]));return t.join("&")},request:function(e,t){return t=mr(mr({},t),Xr),fetch(kr.getInstance().addQueryArgs(e,t),{method:"GET",headers:{"Content-Type":"application/json"}}).then((e=>{let t=e.json();return t.success&&P(t.next_page)&&(window.location.href=t.next_page),t}))}}),gr};let br=null;!function(e){let t=this||{};t.FS=t.FS||{},br=t.FS,null==t.FS.PostMessage&&(t.FS.PostMessage=function(){let e,t,n,a=!1,r=!1,i=new NoJQueryPostMessageMixin("postMessage","receiveMessage"),o={},s=!1,l=function(e){t=e,n=e.substring(0,e.indexOf("/","https://"===e.substring(0,"https://".length)?8:7)),s=""!==e},c=-1,u=!0;try{u=window.self!==window.top}catch(e){}return u&&l(decodeURIComponent(document.location.hash.replace(/^#/,""))),{init:function(t,n){e=t,i.receiveMessage((function(e){let t;try{if(null!=e&&e.origin&&(e.origin.indexOf("js.stripe.com")>0||e.origin.indexOf("www.paypal.com")>0))return;if(t=P(e.data)?JSON.parse(e.data):e.data,o[t.type])for(let e=0;e<o[t.type].length;e++)o[t.type][e](t.data)}catch(t){console.error("FS.PostMessage.receiveMessage",t.message),console.log(e.data)}}),e),yr.PostMessage.receiveOnce("forward",(function(e){window.location=e.url})),(n=n||[]).length>0&&window.addEventListener("scroll",(function(){for(var e=0;e<n.length;e++)yr.PostMessage.postScroll(n[e])}))},init_child:function(e){e&&l(e),this.init(n),a=!0,r=!0,window.addEventListener("load",(function(){yr.PostMessage.postHeight(),yr.PostMessage.post("loaded")})),window.addEventListener("resize",(function(){yr.PostMessage.postHeight(),yr.PostMessage.post("resize")}))},hasParent:function(){return s},getElementAbsoluteHeight:function(e){let t=window.getComputedStyle(e),n=parseFloat(t.marginTop)+parseFloat(t.marginBottom);return Math.ceil(e.offsetHeight+n)},postHeight:function(e,t){e=e||0,(t=document.getElementById(t||"fs_pricing_page_container"))||(t=document.getElementsByTagName("html")[0]);var n=e+this.getElementAbsoluteHeight(t);return n!=c&&(this.post("height",{height:n}),c=n,!0)},postScroll:function(e){let t=window.getComputedStyle(document.getElementsByTagName("html")[0]);var n=document.documentElement,a=(window.pageXOffset||n.scrollLeft,n.clientLeft,(window.pageYOffset||n.scrollTop)-(n.clientTop||0));this.post("scroll",{top:a,height:window.innerHeight-parseFloat(t.getPropertyValue("padding-top"))-parseFloat(t.getPropertyValue("margin-top"))},e)},post:function(e,n,a){console.debug("PostMessage.post",e),a?i.postMessage(JSON.stringify({type:e,data:n}),a.src,a.contentWindow):i.postMessage(JSON.stringify({type:e,data:n}),t,window.parent)},receive:function(e,t){console.debug("PostMessage.receive",e),null==o[e]&&(o[e]=[]),o[e].push(t)},receiveOnce:function(e,t,n){(n=void 0!==n&&n)&&this.unset(e),this.is_set(e)||this.receive(e,t)},is_set:function(e){return null!=o[e]},unset:function(e){o[e]=null},parent_url:function(){return t},parent_subdomain:function(){return n},isChildInitialized:function(){return r}}}())}();const yr=br;let vr=null;const kr={getInstance:function(){return null!==vr||(vr={addQueryArgs:function(e,t){return P(e)?(t&&(-1===e.indexOf("?")?e+="?":e+="&",e+=hr().buildQueryString(t)),e):e},getContactUrl(e,t){let n=P(Xr.contact_url)?Xr.contact_url:yr.PostMessage.parent_url();return P(n)||(n=(-1===["3000","8080"].indexOf(window.location.port)?"https://wp.freemius.com":"http://wp.freemius:8080")+`/contact/?page=${e.slug}-contact&plugin_id=${e.id}&plugin_public_key=${e.public_key}`),this.addQueryArgs(n,{topic:t})},getQuerystringParam:function(e,t){let n="",a=e.indexOf("#");-1<a&&(e.substr(a),e=e.substr(0,a));let r="",i=e.indexOf("?");if(-1<i&&(r=e.substr(i+1),e=e.substr(0,i)),""!==r){let e=r.split("&");for(let n=0,a=e.length;n<a;n++){let a=e[n].split("=",2);if(a.length>0&&t==a[0])return a[1]}}return null},redirect:function(e,t){window.location.href=this.addQueryArgs(e,t)}}),vr}};var _r=Object.defineProperty;class wr extends e.Component{constructor(e){super(e)}render(){let t=this.context;if(!t||!t.plugin||!S(t.plugin.id))return null;let n=[],a="",r=!1,i=!1,o=t.hasAnnualCycle,s=t.hasLifetimePricing,l=t.hasMonthlyCycle,c=t.plugin.moduleLabel();t.hasEmailSupportForAllPlans?a="Yes! Top-notch customer support is key for a quality product, so we'll do our very best to resolve any issues you encounter via our support page.":t.hasEmailSupportForAllPaidPlans?a="Yes! Top-notch customer support for our paid customers is key for a quality product, so we'll do our very best to resolve any issues you encounter via our support page.":t.hasAnyPlanWithSupport?a="Yes! Top-notch customer support is key for a quality product, so we'll do our very best to resolve any issues you encounter. Note, each plan provides a different level of support.":t.plugin.hasWordPressOrgVersion()&&(a=e.createElement(e.Fragment,null,"You can post your questions in our"," ",e.createElement("a",{href:"https://wordpress.org/support/plugin/"+t.plugin.slug,target:"_blank"},"WordPress Support Forum")," ","to get help from the community. Unfortunately extra support is currently not provided.")),t.hasPremiumVersion&&n.push({q:"Is there a setup fee?",a:"No. There are no setup fees on any of our plans."}),null!==t.firstPaidPlan&&(i=t.firstPaidPlan.isBlockingMonthly(),r=t.firstPaidPlan.isBlockingAnnually());let u=i&&r,f=!i&&!r;if(n.push({q:"Can I cancel my account at any time?",a:`Yes, if you ever decide that ${t.plugin.title} isn't the best ${c} for your business, simply cancel your account from your Account panel.`+(u?"":(f?" You'll":" If you cancel "+(r?"a monthly":"an annual")+" subscription, you'll")+` still be able to use the ${c} without updates or support.`)}),l||o){let e="";l&&o&&s?e="All plans are month-to-month unless you subscribe for an annual or lifetime plan.":l&&o?e="All plans are month-to-month unless you subscribe for an annual plan.":l&&s?e="All plans are month to month unless you purchase a lifetime plan.":o&&s?e="All plans are year-to-year unless you purchase a lifetime plan.":l?e="All plans are month-to-month.":o&&(e="All plans are year-to-year."),n.push({q:"What's the time span for your contracts?",a:e})}t.annualDiscount>0&&n.push({q:"Do you offer any discounted plans?",a:`Yes, we offer up to ${t.annualDiscount}% discount on an annual plans, when they are paid upfront.`}),o&&t.plugin.hasRenewalsDiscount(j)&&n.push({q:"Do you offer a renewals discount?",a:`Yes, you get ${t.plugin.getFormattedRenewalsDiscount(j)} discount for all annual plan automatic renewals. The renewal price will never be increased so long as the subscription is not cancelled.`}),t.plansCount>1&&n.push({q:"Can I change my plan later on?",a:"Absolutely! You can upgrade or downgrade your plan at any time."}),n.push({q:"What payment methods are accepted?",a:t.isPayPalSupported?"We accept all major credit cards including Visa, Mastercard, American Express, as well as PayPal payments.":e.createElement(e.Fragment,null,"We accept all major credit cards including Visa, Mastercard and American Express.",e.createElement("br",null),"Unfortunately, due to regulations in your country related to PayPal’s subscriptions, we won’t be able to accept payments via PayPal.")});let p=`We don't offer refunds, but we do offer a free version of the ${c} (the one you are using right now).`;t.plugin.hasRefundPolicy()&&(p=V.STRICT!==t.plugin.refund_policy?e.createElement(e.Fragment,null,e.createElement("a",{className:"message-trigger",onClick:e=>this.props.toggleRefundPolicyModal(e),href:"#"},"Yes we do!")," ","We stand behind the quality of our product and will refund 100% of your money if you are unhappy with the plugin."):e.createElement(e.Fragment,null,e.createElement("a",{className:"message-trigger",onClick:e=>this.props.toggleRefundPolicyModal(e),href:"#"},"Yes we do!")," ","We stand behind the quality of our product and will refund 100% of your money if you experience an issue that makes the plugin unusable and we are unable to resolve it.")),n.push({q:"Do you offer refunds?",a:p}),t.hasPremiumVersion&&n.push({q:`Do I get updates for the premium ${c}?`,a:`Yes! Automatic updates to our premium ${c} are available free of charge as long as you stay our paying customer.`+(u?"":" If you cancel your "+(f?"subscription":r?"monthly subscription":"annual subscription")+`, you'll still be able to use our ${c} without updates or support.`)}),""!==a&&n.push({q:"Do you offer support if I need help?",a}),n.push({q:"I have other pre-sale questions, can you help?",a:e.createElement(e.Fragment,null,"Yes! You can ask us any question through our"," ",e.createElement("a",{className:"contact-link",href:kr.getInstance().getContactUrl(this.context.plugin,"pre_sale_question"),target:"_blank",rel:"noopener noreferrer"},"support page"),".")});let d=[];for(let t=0;t<n.length;t++)d.push(e.createElement(ee,{key:t,"fs-section":"faq-item"},e.createElement("h3",null,n[t].q),e.createElement("p",null,n[t].a)));return e.createElement(e.Fragment,null,e.createElement("header",{className:"fs-section-header"},e.createElement("h2",null,"Frequently Asked Questions")),e.createElement(ee,{"fs-section":"faq-items"},d))}}((e,t,n)=>{((e,t,n)=>{t in e?_r(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(wr,"contextType",G);const xr=wr,Er=n.p+"14fb1bd5b7c41648488b06147f50a0dc.svg";var Sr=Object.defineProperty;class Pr extends e.Component{constructor(e){super(e)}render(){let t=this.context;if(!t||!t.plugin||!S(t.plugin.id))return null;let n=t.plugin,a="",r="";switch(n.refund_policy){case V.FLEXIBLE:a="Double Guarantee",r=e.createElement(e.Fragment,null,"You are fully protected by our 100% No-Risk Double Guarantee. If you don't like our ",n.moduleLabel()," over the next"," ",n.money_back_period," days, we'll happily refund 100% of your money. ",e.createElement("b",null,"No questions asked."));break;case V.MODERATE:a="Satisfaction Guarantee",r=`You are fully protected by our 100% Satisfaction Guarantee. If over the next ${n.money_back_period} days you are unhappy with our ${n.moduleLabel()} or have an issue that we are unable to resolve, we'll happily consider offering a 100% refund of your money.`;break;case V.STRICT:default:a="Money Back Guarantee",r=`You are fully protected by our 100% Money Back Guarantee. If during the next ${n.money_back_period} days you experience an issue that makes the ${n.moduleLabel()} unusable and we are unable to resolve it, we'll happily consider offering a full refund of your money.`}return e.createElement(e.Fragment,null,e.createElement("h2",{className:"fs-money-back-guarantee-title"},n.money_back_period,"-day ",a),e.createElement("p",{className:"fs-money-back-guarantee-message"},r),e.createElement("button",{className:"fs-button fs-button--size-small",onClick:e=>this.props.toggleRefundPolicyModal(e)},"Learn More"),e.createElement("img",{src:Er}),this.context.showRefundPolicyModal&&e.createElement("div",{className:"fs-modal fs-modal--refund-policy"},e.createElement("section",{className:"fs-modal-content-container"},e.createElement("header",{className:"fs-modal-header"},e.createElement("h3",null,"Refund Policy"),e.createElement("i",{className:"fs-modal-close"},e.createElement(Ta,{icon:["fas","times-circle"],onClick:e=>this.props.toggleRefundPolicyModal(e)}))),e.createElement("div",{className:"fs-modal-content"},e.createElement("p",null,r),e.createElement("p",null,"Just start a refund ticket through the \"Contact Us\" in the plugin's admin settings and we'll process a refund."),e.createElement("p",null,"To submit a refund request, please open a"," ",e.createElement("a",{className:"fs-contact-link",href:kr.getInstance().getContactUrl(this.context.plugin,"refund")},"refund support ticket"),".")))))}}((e,t,n)=>{((e,t,n)=>{t in e?Sr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(Pr,"contextType",G);const Cr=Pr;let Nr=null,Or=[],Tr=null;var Mr=n(333),Lr={};Lr.styleTagTransform=g(),Lr.setAttributes=f(),Lr.insert=c().bind(null,"head"),Lr.domAPI=s(),Lr.insertStyleElement=d(),i()(Mr.Z,Lr),Mr.Z&&Mr.Z.locals&&Mr.Z.locals;var zr=Object.defineProperty,Ar=Object.getOwnPropertySymbols,Ir=Object.prototype.hasOwnProperty,qr=Object.prototype.propertyIsEnumerable,jr=(e,t,n)=>t in e?zr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;class Fr extends e.Component{constructor(e){super(e)}getFSSdkLoaderBar(){return e.createElement("div",{className:"fs-ajax-loader"},Array.from({length:8}).map(((t,n)=>e.createElement("div",{key:n,className:`fs-ajax-loader-bar fs-ajax-loader-bar-${n+1}`}))))}render(){const t=this.props,{isEmbeddedDashboardMode:n}=t,a=((e,t)=>{var n={};for(var a in e)Ir.call(e,a)&&t.indexOf(a)<0&&(n[a]=e[a]);if(null!=e&&Ar)for(var a of Ar(e))t.indexOf(a)<0&&qr.call(e,a)&&(n[a]=e[a]);return n})(t,["isEmbeddedDashboardMode"]);return e.createElement("div",((e,t)=>{for(var n in t||(t={}))Ir.call(t,n)&&jr(e,n,t[n]);if(Ar)for(var n of Ar(t))qr.call(t,n)&&jr(e,n,t[n]);return e})({className:"fs-modal fs-modal--loading"},a),e.createElement("section",{className:"fs-modal-content-container"},e.createElement("div",{className:"fs-modal-content"},P(this.props.title)&&e.createElement("span",null,this.props.title),n?this.getFSSdkLoaderBar():e.createElement("i",null))))}}const Dr=Fr;var Rr=Object.defineProperty;class Br extends e.Component{constructor(e){super(e)}render(){let t=this.context.pendingConfirmationTrialPlan,n=this.context.plugin;return e.createElement("div",{className:"fs-modal fs-modal--trial-confirmation"},e.createElement("section",{className:"fs-modal-content-container"},e.createElement("header",{className:"fs-modal-header"},e.createElement("h3",null,"Start Free Trial")),e.createElement("div",{className:"fs-modal-content"},e.createElement("p",null,e.createElement("strong",null,"You are 1-click away from starting your ",t.trial_period,"-day free trial of the ",t.title," plan.")),e.createElement("p",null,"For compliance with the WordPress.org guidelines, before we start the trial we ask that you opt in with your user and non-sensitive site information, allowing the ",n.type," to periodically send data to"," ",e.createElement("a",{href:"https://freemius.com",target:"_blank"},"freemius.com")," ","to check for version updates and to validate your trial.")),e.createElement("div",{className:"fs-modal-footer"},e.createElement("button",{className:"fs-button fs-button--close",onClick:this.props.cancelTrialHandler},"Cancel"),e.createElement("button",{className:"fs-button fs-button--type-primary fs-button--approve-trial",onClick:()=>this.props.startTrialHandler(t.id)},"Approve & Start Trial"))))}}((e,t,n)=>{((e,t,n)=>{t in e?Rr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n})(e,t+"",n)})(Br,"contextType",G);const Ur=Br;var Wr=Object.defineProperty,Hr=Object.getOwnPropertySymbols,$r=Object.prototype.hasOwnProperty,Vr=Object.prototype.propertyIsEnumerable,Qr=(e,t,n)=>t in e?Wr(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,Yr=(e,t)=>{for(var n in t||(t={}))$r.call(t,n)&&Qr(e,n,t[n]);if(Hr)for(var n of Hr(t))Vr.call(t,n)&&Qr(e,n,t[n]);return e};class Kr extends e.Component{constructor(e){super(e),this.state={active_installs:0,annualDiscount:0,billingCycles:[],currencies:[],downloads:0,faq:[],firstPaidPlan:null,featuredPlan:null,isActivatingTrial:!1,isPayPalSupported:!1,isNetworkTrial:!1,isTrial:"true"===Xr.trial||!0===Xr.trial,pendingConfirmationTrialPlan:null,plugin:{},plans:[],selectedPlanID:null,reviews:[],selectedBillingCycle:U.getBillingCyclePeriod(Xr.billing_cycle),selectedCurrency:this.getDefaultCurrency(),selectedLicenseQuantity:this.getDefaultLicenseQuantity(),upgradingToPlanID:null,license:Xr.license,showAnnualInMonthly:Xr.show_annual_in_monthly},this.changeBillingCycle=this.changeBillingCycle.bind(this),this.changeCurrency=this.changeCurrency.bind(this),this.changeLicenses=this.changeLicenses.bind(this),this.changePlan=this.changePlan.bind(this),this.getModuleIcon=this.getModuleIcon.bind(this),this.startTrial=this.startTrial.bind(this),this.toggleRefundPolicyModal=this.toggleRefundPolicyModal.bind(this),this.upgrade=this.upgrade.bind(this)}appendScripts(){let e=null;var t,n,a,r,i;this.hasInstallContext()||(e=document.createElement("script"),e.src=(this.isProduction()?"https://checkout.freemius.com":"http://checkout.freemius-local.com:8080")+"/checkout.js",e.async=!0,document.body.appendChild(e)),this.isSandboxPaymentsMode()||(t=window,n=document,a="script","ga",t.GoogleAnalyticsObject="ga",t.ga=t.ga||function(){(t.ga.q=t.ga.q||[]).push(arguments)},t.ga.l=1*new Date,r=n.createElement(a),i=n.getElementsByTagName(a)[0],r.async=1,r.src="//www.google-analytics.com/analytics.js",i.parentNode.insertBefore(r,i))}changeBillingCycle(e){this.setState({selectedBillingCycle:e.currentTarget.dataset.billingCycle})}changeCurrency(e){this.setState({selectedCurrency:e.currentTarget.value})}changeLicenses(e){let t=e.currentTarget.value,n=this.state.selectedLicenseQuantity;for(let e of this.state.plans)if(!C(e.pricing))for(let a of e.pricing)if(t==a.id){n=a.getLicenses();break}this.setState({selectedLicenseQuantity:n})}changePlan(e){let t=e.target.value?e.target.value:e.target.dataset.planId?e.target.dataset.planId:e.target.parentNode.dataset.planId;e.preventDefault(),this.setState({selectedPlanID:t})}getModuleIcon(){var t;let n="theme"===this.state.plugin.type?x:w;return e.createElement("object",{data:null!=(t=Xr.plugin_icon)?t:this.state.plugin.icon,className:"fs-plugin-logo",type:"image/png"},e.createElement("img",{src:n,className:"fs-plugin-logo",alt:`${this.state.plugin.type}-logo`}))}componentDidMount(){this.fetchPricingData()}getDefaultCurrency(){return P(Xr.currency)||q[Xr.currency]?Xr.currency:"usd"}getDefaultLicenseQuantity(){return"unlimited"===Xr.licenses?0:S(Xr.licenses)?Xr.licenses:1}getSelectedPlanPricing(e){for(let t of this.state.plans)if(e==t.id)for(let e of t.pricing)if(e.getLicenses()==this.state.selectedLicenseQuantity&&e.currency===this.state.selectedCurrency)return e;return null}hasInstallContext(){return!C(this.state.install)}isDashboardMode(){return"dashboard"===Xr.mode}isEmbeddedDashboardMode(){return!!this.isDashboardMode()&&C(yr.PostMessage.parent_url())}isProduction(){return C(Xr.is_production)?-1===["3000","8080"].indexOf(window.location.port):Xr.is_production}isSandboxPaymentsMode(){return P(Xr.sandbox)&&S(Xr.s_ctx_ts)}startTrial(e){this.setState({isActivatingTrial:!0,upgradingToPlanID:e});let t=this.isEmbeddedDashboardMode()?Xr.request_handler_url:Xr.fs_wp_endpoint_url+"/action/service/subscribe/trial/";hr().request(t,{prev_url:window.location.href,pricing_action:"start_trial",plan_id:e}).then((e=>{if(e.success){this.trackingManager.track("started");const e=yr.PostMessage.parent_url(),t=this.state.plugin.menu_slug+(this.hasInstallContext()?"-account":"");if(P(e))yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(e,{page:t,fs_action:this.state.plugin.unique_affix+"_sync_license",plugin_id:this.state.plugin.id})});else if(P(Xr.next)){let e=Xr.next;this.hasInstallContext()||(e=e.replace(/page=[^&]+/,`page=${t}`)),kr.getInstance().redirect(e)}}this.setState({isActivatingTrial:!1,pendingConfirmationTrialPlan:null,upgradingToPlanID:null})}))}toggleRefundPolicyModal(e){e.preventDefault(),this.setState({showRefundPolicyModal:!this.state.showRefundPolicyModal})}upgrade(e,t){if(!X().isFreePlan(e.pricing)){if(!this.isEmbeddedDashboardMode()){let n=window.FS.Checkout.configure({plugin_id:this.state.plugin.id,public_key:this.state.plugin.public_key,sandbox_token:P(Xr.sandbox_token)?Xr.sandbox_token:null,timestamp:P(Xr.sandbox_token)?Xr.timestamp:null}),a={name:this.state.plugin.title,plan_id:e.id,success:function(e){console.log(e)}};return null!==t?a.pricing_id=t.id:a.licenses=B==this.state.selectedLicenseQuantity?null:this.state.selectedLicenseQuantity,void n.open(a)}if(this.state.isTrial&&!e.requiresSubscription())this.hasInstallContext()?this.startTrial(e.id):C(yr.PostMessage.parent_url())?this.setState({pendingConfirmationTrialPlan:e}):yr.PostMessage.post("start_trial",{plugin_id:this.state.plugin.id,plan_id:e.id,plan_name:e.name,plan_title:e.title,trial_period:e.trial_period});else{null===t&&(t=this.getSelectedPlanPricing(e.id));let n=yr.PostMessage.parent_url(),a=P(n),r=this.state.selectedBillingCycle;if(this.state.skipDirectlyToPayPal){let n={},i=e.trial_period;i>0&&(n.trial_period=i,this.hasInstallContext()&&(n.user_id=this.state.install.user_id));let o={plan_id:e.id,pricing_id:t.id,billing_cycle:r};a?yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(Xr.fs_wp_endpoint_url+"/action/service/paypal/express-checkout/",o)}):(o.prev_url=window.location.href,kr.getInstance().redirect(Xr.fs_wp_endpoint_url+"/action/service/paypal/express-checkout/",o))}else{let i={checkout:"true",plan_id:e.id,plan_name:e.name,billing_cycle:r,pricing_id:t.id,currency:this.state.selectedCurrency};this.state.isTrial&&(i.trial="true"),a?yr.PostMessage.post("forward",{url:kr.getInstance().addQueryArgs(n,Yr(Yr({},i),{page:this.state.plugin.menu_slug+"-pricing"}))}):kr.getInstance().redirect(window.location.href,i)}}}}fetchPricingData(){let e={pricing_action:"fetch_pricing_data",trial:this.state.isTrial,is_sandbox:this.isSandboxPaymentsMode()};hr().request(Xr.request_handler_url,e).then((e=>{var t,n;if(e.data&&(e=e.data),!e.plans)return;let a={},r={},i=!1,o=!1,s=!0,l=!0,c=null,u=null,f=!1,p=!1,d={},m=0,g=X(e.plans),h=0,b=[],y=null,v=this.state.selectedBillingCycle,k=null,_=!1,w="true"===e.trial_mode||!0===e.trial_mode,x="true"===e.trial_utilized||!0===e.trial_utilized;for(let t=0;t<e.plans.length;t++){if(!e.plans.hasOwnProperty(t))continue;if(e.plans[t].is_hidden){e.plans.splice(t,1),t--;continue}h++,e.plans[t]=new z(e.plans[t]);let n=e.plans[t];n.is_featured&&(c=n),C(n.features)&&(n.features=[]);let i=n.pricing;if(C(i))continue;for(let e=0;e<i.length;e++){if(!i.hasOwnProperty(e))continue;i[e]=new U(i[e]);let t=i[e];null==t.monthly_price||t.is_hidden||(a.monthly=!0),null==t.annual_price||t.is_hidden||(a.annual=!0),null==t.lifetime_price||t.is_hidden||(a.lifetime=!0),r[t.currency]=!0;let n=t.getLicenses();d[t.currency]||(d[t.currency]={}),d[t.currency][n]=!0}let f=g.isPaidPlan(i);if(f&&null===u&&(u=n),n.hasEmailSupport()?n.hasSuccessManagerSupport()||(y=n.id):(l=!1,f&&(s=!1)),!o&&n.hasAnySupport()&&(o=!0),f){m++;let e=g.getSingleSitePricing(i,this.state.selectedCurrency);null!==e&&b.push(e)}}if(!w||C(Xr.is_network_admin)||"true"!==Xr.is_network_admin&&!0!==Xr.is_network_admin||(_=!0,w=!1),w){for(let t of e.plans)if(!t.is_hidden&&t.pricing&&!g.isFreePlan(t.pricing)&&t.hasTrial()){k=t;break}null===k&&(w=!1)}null!=a.annual&&(i=!0),null!=a.monthly&&(p=!0),null!=a.lifetime&&(f=!0),C(a[v])&&(v=i?D:p?F:R);let E=new Q(e.plugin),N=yr.PostMessage.parent_url();if(P(Xr.menu_slug))E.menu_slug=Xr.menu_slug;else if(P(N)){let e=kr.getInstance().getQuerystringParam(N,"page");E.menu_slug=e.substring(0,e.length-"-pricing".length)}E.unique_affix=C(Xr.unique_affix)?E.slug+("theme"===E.type?"-theme":""):Xr.unique_affix,this.setState({active_installs:e.active_installs,allPlansSingleSitePrices:e.all_plans_single_site_pricing,annualDiscount:i&&p?g.largestAnnualDiscount(b):0,billingCycles:Object.keys(a),currencies:Object.keys(r),currencySymbols:{usd:"$",eur:"€",gbp:"£"},discountsModel:null!=(n=null==(t=Xr)?void 0:t.discounts_model)?n:"absolute",downloads:e.downloads,hasAnnualCycle:i,hasEmailSupportForAllPaidPlans:s,hasEmailSupportForAllPlans:l,featuredPlan:c,firstPaidPlan:u,hasLifetimePricing:f,hasMonthlyCycle:p,hasPremiumVersion:"true"===e.plugin.has_premium_version||!0===e.plugin.has_premium_version,install:e.install,isPayPalSupported:"true"===e.is_paypal_supported||!0===e.is_paypal_supported,licenseQuantities:d,paidPlansCount:m,paidPlanWithTrial:k,plans:e.plans,plansCount:h,plugin:E,priorityEmailSupportPlanID:y,reviews:e.reviews,selectedBillingCycle:v,skipDirectlyToPayPal:"true"===e.skip_directly_to_paypal||!0===e.skip_directly_to_paypal,isNetworkTrial:_,isTrial:w,trialUtilized:x,showRefundPolicyModal:!1}),this.appendScripts(),this.trackingManager=function(e){return function(e){return null!==Nr||(Or=e,Nr={getTrackingPath:function(e){let t="/"+(Or.isProduction?"":"local/")+"pricing/"+Or.pageMode+"/"+Or.type+"/"+Or.pluginID+"/"+(Or.isTrialMode&&!Or.isPaidTrial?"":"plan/all/billing/"+Or.billingCycle+"/licenses/all/");return Or.isTrialMode?t+=(Or.isPaidTrial?"paid-trial":"trial")+"/":t+="buy/",t+e+".html"},track:function(e){if(!C(window.ga)){null===Tr&&(Tr=window.ga,Tr("create","UA-59907393-2","auto"),null!==Or.uid&&Tr("set","&uid",Or.uid.toString()));try{S(Or.userID)&&Tr("set","userId",Or.userID),Tr("send",{hitType:"pageview",page:this.getTrackingPath(e)})}catch(e){console.log(e)}}}}),Nr}(e)}({billingCycle:U.getBillingCyclePeriod(this.state.selectedBillingCycle),isTrialMode:this.state.isTrial,isSandbox:this.isSandboxPaymentsMode(),isPaidTrial:!1,isProduction:this.isProduction(),pageMode:this.isDashboardMode()?"dashboard":"page",pluginID:this.state.plugin.id,type:this.state.plugin.type,uid:this.hasInstallContext()?this.state.install.id:null,userID:this.hasInstallContext()?this.state.install.user_id:null}),yr.PostMessage.init_child(),yr.PostMessage.postHeight()}))}render(){let t=this.state;if(!t.plugin.id){const t=document.querySelector(Xr.selector).getBoundingClientRect().left;return e.createElement(Dr,{style:{left:t+"px"},isEmbeddedDashboardMode:this.isEmbeddedDashboardMode()})}let n=t.featuredPlan;if(null!==n){let e=!1;for(let a of n.pricing)if(!a.is_hidden&&a.getLicenses()==t.selectedLicenseQuantity&&a.currency==t.selectedCurrency&&a.supportsBillingCycle(t.selectedBillingCycle)){e=!0;break}e||(n=null)}let a=null;if(t.trialUtilized||t.isNetworkTrial){if(t.isNetworkTrial)a="Multisite network level trials are currently not supported. Apologies for the inconvenience.";else if(t.isTrial)a="Trial was already utilized for this site and only enabled for testing purposes since you are running in a sandbox mode.";else{let t=this.state.plugin.main_support_email_address;a=e.createElement(e.Fragment,null,"Sorry, but you have already utilized a trial. Please"," ",e.createElement("a",{href:`mailto:${t}`},"contact us")," if you still want to test the paid version.")}a=e.createElement("div",{className:"fs-trial-message"},a)}return e.createElement(G.Provider,{value:this.state},e.createElement("div",{id:"fs_pricing_app"},a,e.createElement("header",{className:"fs-app-header"},e.createElement("section",{className:"fs-page-title"},e.createElement("h1",null,"Plans and Pricing"),e.createElement("h3",null,"Choose your plan and upgrade in minutes!")),e.createElement("section",{className:"fs-plugin-title-and-logo"},this.getModuleIcon(),e.createElement("h1",null,e.createElement("strong",null,t.plugin.title)))),e.createElement("main",{className:"fs-app-main"},e.createElement(ee,{"fs-section":"plans-and-pricing"},t.annualDiscount>0&&e.createElement(ee,{"fs-section":"annual-discount"},e.createElement("div",{className:"fs-annual-discount"},"Save up to ",t.annualDiscount,"% on Yearly Pricing!")),this.state.isTrial&&e.createElement(ee,{"fs-section":"trial-header"},e.createElement("h2",null,"Start your ",t.paidPlanWithTrial.trial_period,"-day free trial"),e.createElement("h4",null,t.paidPlanWithTrial.requiresSubscription()?`No commitment for ${t.paidPlanWithTrial.trial_period} days - cancel anytime!`:"No credit card required, includes all available features.")),t.billingCycles.length>1&&(!this.state.isTrial||t.paidPlanWithTrial.requiresSubscription())&&e.createElement(ee,{"fs-section":"billing-cycles"},e.createElement(re,{handler:this.changeBillingCycle,billingCycleDescription:this.billingCycleDescription})),t.currencies.length>1&&e.createElement(ee,{"fs-section":"currencies"},e.createElement(se,{handler:this.changeCurrency})),e.createElement(ee,{"fs-section":"packages"},e.createElement(Ya,{changeLicensesHandler:this.changeLicenses,changePlanHandler:this.changePlan,upgradeHandler:this.upgrade})),e.createElement(ee,{"fs-section":"custom-implementation"},e.createElement("h2",null,"Need more sites, custom implementation and dedicated support?"),e.createElement("p",null,"We got you covered!"," ",e.createElement("a",{href:kr.getInstance().getContactUrl(this.state.plugin,"pre_sale_question"),target:"_blank",rel:"noopener noreferrer"},"Click here to contact us")," ","and we'll scope a plan that's tailored to your needs.")),t.plugin.hasRefundPolicy()&&(!this.state.isTrial||!1)&&e.createElement(ee,{"fs-section":"money-back-guarantee"},e.createElement(Cr,{toggleRefundPolicyModal:this.toggleRefundPolicyModal})),e.createElement(ee,{"fs-section":"badges"},e.createElement(Za,{badges:[{key:"fs-badges",src:y,alt:"Secure payments by Freemius - Sell and market freemium and premium WordPress plugins & themes",link:"https://freemius.com/?badge=secure_payments&version=light#utm_source=wpadmin&utm_medium=payments_badge&utm_campaign=pricing_page"},{key:"mcafee",src:v,alt:"McAfee Badge",link:"https://www.mcafeesecure.com/verify?host=freemius.com"},{key:"paypal",src:k,alt:"PayPal Verified Badge"},{key:"comodo",src:_,alt:"Comodo Secure SSL Badge"}]}))),!C(this.state.reviews)&&this.state.reviews.length>0&&e.createElement(ee,{"fs-section":"testimonials"},e.createElement(lr,null)),e.createElement(ee,{"fs-section":"faq"},e.createElement(xr,{toggleRefundPolicyModal:this.toggleRefundPolicyModal}))),t.isActivatingTrial&&e.createElement(Dr,{title:"Activating trial..."}),!t.isActivatingTrial&&null!==t.pendingConfirmationTrialPlan&&e.createElement(Ur,{cancelTrialHandler:()=>this.setState({pendingConfirmationTrialPlan:null}),startTrialHandler:this.startTrial})))}}((e,t,n)=>{Qr(e,t+"",n)})(Kr,"contextType",G);const Zr=Kr;aa.add({prefix:"fas",iconName:"arrow-left",icon:[448,512,[],"f060","M257.5 445.1l-22.2 22.2c-9.4 9.4-24.6 9.4-33.9 0L7 273c-9.4-9.4-9.4-24.6 0-33.9L201.4 44.7c9.4-9.4 24.6-9.4 33.9 0l22.2 22.2c9.5 9.5 9.3 25-.4 34.3L136.6 216H424c13.3 0 24 10.7 24 24v32c0 13.3-10.7 24-24 24H136.6l120.5 114.8c9.8 9.3 10 24.8.4 34.3z"]},{prefix:"fas",iconName:"chevron-left",icon:[320,512,[],"f053","M34.52 239.03L228.87 44.69c9.37-9.37 24.57-9.37 33.94 0l22.67 22.67c9.36 9.36 9.37 24.52.04 33.9L131.49 256l154.02 154.75c9.34 9.38 9.32 24.54-.04 33.9l-22.67 22.67c-9.37 9.37-24.57 9.37-33.94 0L34.52 272.97c-9.37-9.37-9.37-24.57 0-33.94z"]},{prefix:"fas",iconName:"arrow-right",icon:[448,512,[],"f061","M190.5 66.9l22.2-22.2c9.4-9.4 24.6-9.4 33.9 0L441 239c9.4 9.4 9.4 24.6 0 33.9L246.6 467.3c-9.4 9.4-24.6 9.4-33.9 0l-22.2-22.2c-9.5-9.5-9.3-25 .4-34.3L311.4 296H24c-13.3 0-24-10.7-24-24v-32c0-13.3 10.7-24 24-24h287.4L190.9 101.2c-9.8-9.3-10-24.8-.4-34.3z"]},{prefix:"fas",iconName:"chevron-right",icon:[320,512,[],"f054","M285.476 272.971L91.132 467.314c-9.373 9.373-24.569 9.373-33.941 0l-22.667-22.667c-9.357-9.357-9.375-24.522-.04-33.901L188.505 256 34.484 101.255c-9.335-9.379-9.317-24.544.04-33.901l22.667-22.667c9.373-9.373 24.569-9.373 33.941 0L285.475 239.03c9.373 9.372 9.373 24.568.001 33.941z"]},{prefix:"fas",iconName:"check",icon:[512,512,[],"f00c","M173.898 439.404l-166.4-166.4c-9.997-9.997-9.997-26.206 0-36.204l36.203-36.204c9.997-9.998 26.207-9.998 36.204 0L192 312.69 432.095 72.596c9.997-9.997 26.207-9.997 36.204 0l36.203 36.204c9.997 9.997 9.997 26.206 0 36.204l-294.4 294.401c-9.998 9.997-26.207 9.997-36.204-.001z"]},{prefix:"far",iconName:"circle",icon:[512,512,[],"f111","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm0 448c-110.5 0-200-89.5-200-200S145.5 56 256 56s200 89.5 200 200-89.5 200-200 200z"]},{prefix:"fas",iconName:"question-circle",icon:[512,512,[],"f059","M504 256c0 136.997-111.043 248-248 248S8 392.997 8 256C8 119.083 119.043 8 256 8s248 111.083 248 248zM262.655 90c-54.497 0-89.255 22.957-116.549 63.758-3.536 5.286-2.353 12.415 2.715 16.258l34.699 26.31c5.205 3.947 12.621 3.008 16.665-2.122 17.864-22.658 30.113-35.797 57.303-35.797 20.429 0 45.698 13.148 45.698 32.958 0 14.976-12.363 22.667-32.534 33.976C247.128 238.528 216 254.941 216 296v4c0 6.627 5.373 12 12 12h56c6.627 0 12-5.373 12-12v-1.333c0-28.462 83.186-29.647 83.186-106.667 0-58.002-60.165-102-116.531-102zM256 338c-25.365 0-46 20.635-46 46 0 25.364 20.635 46 46 46s46-20.636 46-46c0-25.365-20.635-46-46-46z"]},{prefix:"fas",iconName:"quote-left",icon:[512,512,[],"f10d","M464 256h-80v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8c-88.4 0-160 71.6-160 160v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48zm-288 0H96v-64c0-35.3 28.7-64 64-64h8c13.3 0 24-10.7 24-24V56c0-13.3-10.7-24-24-24h-8C71.6 32 0 103.6 0 192v240c0 26.5 21.5 48 48 48h128c26.5 0 48-21.5 48-48V304c0-26.5-21.5-48-48-48z"]},{prefix:"fas",iconName:"star",icon:[576,512,[],"f005","M259.3 17.8L194 150.2 47.9 171.5c-26.2 3.8-36.7 36.1-17.7 54.6l105.7 103-25 145.5c-4.5 26.3 23.2 46 46.4 33.7L288 439.6l130.7 68.7c23.2 12.2 50.9-7.4 46.4-33.7l-25-145.5 105.7-103c19-18.5 8.5-50.8-17.7-54.6L382 150.2 316.7 17.8c-11.7-23.6-45.6-23.9-57.4 0z"]},{prefix:"fas",iconName:"times-circle",icon:[512,512,[],"f057","M256 8C119 8 8 119 8 256s111 248 248 248 248-111 248-248S393 8 256 8zm121.6 313.1c4.7 4.7 4.7 12.3 0 17L338 377.6c-4.7 4.7-12.3 4.7-17 0L256 312l-65.1 65.6c-4.7 4.7-12.3 4.7-17 0L134.4 338c-4.7-4.7-4.7-12.3 0-17l65.6-65-65.6-65.1c-4.7-4.7-4.7-12.3 0-17l39.6-39.6c4.7-4.7 12.3-4.7 17 0l65 65.7 65.1-65.6c4.7-4.7 12.3-4.7 17 0l39.6 39.6c4.7 4.7 4.7 12.3 0 17L312 256l65.6 65.1z"]});let Xr=null,Gr={new:n=>{Xr=n,t.render(e.createElement(Zr,null),document.querySelector(n.selector))}}})(),a})()}));
  • auto-install-free-ssl/trunk/freemius/includes/class-freemius.php

    r3183220 r3219088  
    109109         */
    110110        private $_enable_anonymous = true;
     111
     112        /**
     113         * @since 2.9.1
     114         * @var string|null Hints the SDK whether the plugin supports parallel activation mode, preventing the auto-deactivation of the free version when the premium version is activated, and vice versa.
     115         */
     116        private $_premium_plugin_basename_from_parallel_activation;
    111117
    112118        /**
     
    16521658                }
    16531659            }
     1660
     1661            if (
     1662                $this->is_user_in_admin() &&
     1663                $this->is_parallel_activation() &&
     1664                $this->_premium_plugin_basename !== $this->_premium_plugin_basename_from_parallel_activation
     1665            ) {
     1666                $this->_premium_plugin_basename = $this->_premium_plugin_basename_from_parallel_activation;
     1667
     1668                register_activation_hook(
     1669                    dirname( $this->_plugin_dir_path ) . '/' . $this->_premium_plugin_basename,
     1670                    array( &$this, '_activate_plugin_event_hook' )
     1671                );
     1672            }
     1673        }
     1674
     1675        /**
     1676         * Determines if a plugin is running in parallel activation mode.
     1677         *
     1678         * @author Leo Fajardo (@leorw)
     1679         * @since 2.9.1
     1680         *
     1681         * @return bool
     1682         */
     1683        private function is_parallel_activation() {
     1684            return ! empty( $this->_premium_plugin_basename_from_parallel_activation );
    16541685        }
    16551686
     
    51565187                new FS_Plugin();
    51575188
     5189            $is_premium     = $this->get_bool_option( $plugin_info, 'is_premium', true );
    51585190            $premium_suffix = $this->get_option( $plugin_info, 'premium_suffix', '(Premium)' );
     5191
     5192            $module_type = $this->get_option( $plugin_info, 'type', $this->_module_type );
     5193
     5194            $parallel_activation = $this->get_option( $plugin_info, 'parallel_activation' );
     5195
     5196            if (
     5197                ! $is_premium &&
     5198                is_array( $parallel_activation ) &&
     5199                ( WP_FS__MODULE_TYPE_PLUGIN === $module_type ) &&
     5200                $this->get_bool_option( $parallel_activation, 'enabled' )
     5201            ) {
     5202                $premium_basename = $this->get_option( $parallel_activation, 'premium_version_basename' );
     5203
     5204                if ( empty( $premium_basename ) ) {
     5205                    throw new Exception('You need to specify the premium version basename to enable parallel version activation.');
     5206                }
     5207
     5208                $this->_premium_plugin_basename_from_parallel_activation = $premium_basename;
     5209
     5210                if ( is_plugin_active( $premium_basename ) ) {
     5211                    $is_premium = true;
     5212                }
     5213            }
    51595214
    51605215            $plugin->update( array(
    51615216                'id'                   => $id,
    5162                 'type'                 => $this->get_option( $plugin_info, 'type', $this->_module_type ),
     5217                'type'                 => $module_type,
    51635218                'public_key'           => $public_key,
    51645219                'slug'                 => $this->_slug,
     
    51685223                'title'                => $this->get_plugin_name( $premium_suffix ),
    51695224                'file'                 => $this->_plugin_basename,
    5170                 'is_premium'           => $this->get_bool_option( $plugin_info, 'is_premium', true ),
     5225                'is_premium'           => $is_premium,
    51715226                'premium_suffix'       => $premium_suffix,
    51725227                'is_live'              => $this->get_bool_option( $plugin_info, 'is_live', true ),
     
    52375292            } else {
    52385293                $this->_enable_anonymous = $this->get_bool_option( $plugin_info, 'enable_anonymous', true );
    5239                 $this->_anonymous_mode   = $this->get_bool_option( $plugin_info, 'anonymous_mode', false );
     5294                $this->_anonymous_mode   = (
     5295                    $this->get_bool_option( $plugin_info, 'anonymous_mode', false ) ||
     5296                    (
     5297                        $this->apply_filters( 'playground_anonymous_mode', true ) &&
     5298                        ! empty( $_SERVER['HTTP_HOST'] ) &&
     5299                        FS_Site::is_playground_wp_environment_by_host( $_SERVER['HTTP_HOST'] )
     5300                    )
     5301                );
    52405302            }
    52415303            $this->_permissions = $this->get_option( $plugin_info, 'permissions', array() );
     
    54455507            if ( $this->is_registered() ) {
    54465508                // Schedule code type changes event.
    5447                 $this->schedule_install_sync();
     5509                $this->maybe_schedule_install_sync_cron();
    54485510            }
    54495511
     
    65096571
    65106572        /**
     6573         * Instead of running blocking install sync event, execute non blocking scheduled cron job.
     6574         *
     6575         * @param int $except_blog_id Since 2.0.0 when running in a multisite network environment, the cron execution is consolidated. This param allows excluding specified blog ID from being the cron job executor.
     6576         *
     6577         * @author Leo Fajardo (@leorw)
     6578         * @since  2.9.1
     6579         */
     6580        private function maybe_schedule_install_sync_cron( $except_blog_id = 0 ) {
     6581            if ( ! $this->is_user_in_admin() ) {
     6582                return;
     6583            }
     6584
     6585            if ( $this->is_clone() ) {
     6586                return;
     6587            }
     6588
     6589            if (
     6590                // The event has been properly scheduled, so no need to reschedule it.
     6591                is_numeric( $this->next_install_sync() )
     6592            ) {
     6593                return;
     6594            }
     6595
     6596            $this->schedule_cron( 'install_sync', 'install_sync', 'single', WP_FS__SCRIPT_START_TIME, false, $except_blog_id );
     6597        }
     6598
     6599        /**
    65116600         * @author Vova Feldman (@svovaf)
    65126601         * @since  1.1.7.3
     
    66036692        private function get_install_sync_cron_blog_id() {
    66046693            return $this->get_cron_blog_id( 'install_sync' );
    6605         }
    6606 
    6607         /**
    6608          * Instead of running blocking install sync event, execute non blocking scheduled wp-cron.
    6609          *
    6610          * @author Vova Feldman (@svovaf)
    6611          * @since  1.1.7.3
    6612          *
    6613          * @param int $except_blog_id Since 2.0.0 when running in a multisite network environment, the cron execution is consolidated. This param allows excluding excluded specified blog ID from being the cron executor.
    6614          */
    6615         private function schedule_install_sync( $except_blog_id = 0 ) {
    6616             if ( $this->is_clone() ) {
    6617                 return;
    6618             }
    6619 
    6620             $this->schedule_cron( 'install_sync', 'install_sync', 'single', WP_FS__SCRIPT_START_TIME, false, $except_blog_id );
    66216694        }
    66226695
     
    74127485                if (
    74137486                    is_plugin_active( $other_version_basename ) &&
    7414                     $this->apply_filters( 'deactivate_on_activation', true )
     7487                    $this->apply_filters( 'deactivate_on_activation', ! $this->is_parallel_activation() )
    74157488                ) {
    74167489                    deactivate_plugins( $other_version_basename );
     
    74267499                // Schedule re-activation event and sync.
    74277500//              $this->sync_install( array(), true );
    7428                 $this->schedule_install_sync();
     7501                $this->maybe_schedule_install_sync_cron();
    74297502
    74307503                // If activating the premium module version, add an admin notice to congratulate for an upgrade completion.
     
    86178690            }
    86188691
    8619             $this->schedule_install_sync();
     8692            $this->maybe_schedule_install_sync_cron();
    86208693//          $this->sync_install( array(), true );
    86218694        }
     
    1597516048                 $context_blog_id == $this->get_install_sync_cron_blog_id()
    1597616049            ) {
    15977                 $this->schedule_install_sync( $context_blog_id );
     16050                $this->maybe_schedule_install_sync_cron( $context_blog_id );
    1597816051            }
    1597916052        }
  • auto-install-free-ssl/trunk/freemius/includes/entities/class-fs-site.php

    r3162795 r3219088  
    191191                // Kinsta
    192192                (
    193                     ( fs_starts_with( $subdomain, 'staging-' ) || fs_starts_with( $subdomain, 'env-' ) ) &&
     193                    ( fs_starts_with( $subdomain, 'stg-' ) ||  fs_starts_with( $subdomain, 'staging-' ) || fs_starts_with( $subdomain, 'env-' ) ) &&
    194194                    ( fs_ends_with( $subdomain, '.kinsta.com' ) || fs_ends_with( $subdomain, '.kinsta.cloud' ) )
    195195                ) ||
     
    209209        }
    210210
     211        /**
     212         * @author Leo Fajardo (@leorw)
     213         * @since  2.9.1
     214         *
     215         * @param string $host
     216         *
     217         * @return bool
     218         */
     219        static function is_playground_wp_environment_by_host( $host ) {
     220            // Services aimed at providing a WordPress sandbox environment.
     221            $sandbox_wp_environment_domains = array(
     222                // InstaWP
     223                'instawp.xyz',
     224
     225                // TasteWP
     226                'tastewp.com',
     227
     228                // WordPress Playground
     229                'playground.wordpress.net',
     230            );
     231
     232            foreach ( $sandbox_wp_environment_domains as $domain) {
     233                if (
     234                    ( $host === $domain ) ||
     235                    fs_ends_with( $host, '.' . $domain ) ||
     236                    fs_ends_with( $host, '-' . $domain )
     237                ) {
     238                    return true;
     239                }
     240            }
     241
     242            return false;
     243        }
     244
    211245        function is_localhost() {
    212246            return ( WP_FS__IS_LOCALHOST_FOR_SERVER || self::is_localhost_by_address( $this->url ) );
  • auto-install-free-ssl/trunk/freemius/start.php

    r3183220 r3219088  
    1616     * @var string
    1717     */
    18     $this_sdk_version = '2.9.0';
     18    $this_sdk_version = '2.10.1';
    1919
    2020    #region SDK Selection Logic --------------------------------------------------------------------
     
    3737    }
    3838
    39     /**
     39    /**
     40     * We updated the logic to support SDK loading from a subfolder of a theme as well as from a parent theme
     41     * If the SDK is found in the active theme, it sets the relative path accordingly.
     42     * If not, it checks the parent theme and sets the relative path if found there.
     43     * This allows the SDK to be loaded from composer dependencies or from a custom `vendor/freemius` folder.
     44     *
     45     * @author Daniele Alessandra (@DanieleAlessandra)
     46     * @since  2.9.0.5
     47     *
     48     *
    4049     * This complex logic fixes symlink issues (e.g. with Vargant). The logic assumes
    4150     * that if it's a file from an SDK running in a theme, the location of the SDK
     
    8493    $themes_directory         = get_theme_root( get_stylesheet() );
    8594    $themes_directory_name    = basename( $themes_directory );
    86     $theme_candidate_basename = basename( dirname( $fs_root_path ) ) . '/' . basename( $fs_root_path );
    87 
    88     if ( $file_path == fs_normalize_path( realpath( trailingslashit( $themes_directory ) . $theme_candidate_basename . '/' . basename( $file_path ) ) )
    89     ) {
    90         $this_sdk_relative_path = '../' . $themes_directory_name . '/' . $theme_candidate_basename;
    91         $is_theme               = true;
    92     } else {
    93         $this_sdk_relative_path = plugin_basename( $fs_root_path );
    94         $is_theme               = false;
    95     }
     95
     96    // This change ensures that the condition works even if the SDK is located in a subdirectory (e.g., vendor)
     97    $theme_candidate_sdk_basename = str_replace( $themes_directory . '/' . get_stylesheet() . '/', '', $fs_root_path );
     98
     99    // Check if the current file is part of the active theme.
     100    $is_current_sdk_from_active_theme = $file_path == $themes_directory . '/' . get_stylesheet() . '/' . $theme_candidate_sdk_basename . '/' . basename( $file_path );
     101    $is_current_sdk_from_parent_theme = false;
     102
     103    // Check if the current file is part of the parent theme.
     104    if ( ! $is_current_sdk_from_active_theme ) {
     105        $theme_candidate_sdk_basename     = str_replace( $themes_directory . '/' . get_template() . '/',
     106            '',
     107            $fs_root_path );
     108        $is_current_sdk_from_parent_theme = $file_path == $themes_directory . '/' . get_template() . '/' . $theme_candidate_sdk_basename . '/' . basename( $file_path );
     109    }
     110
     111    $theme_name = null;
     112    if ( $is_current_sdk_from_active_theme ) {
     113        $theme_name             = get_stylesheet();
     114        $this_sdk_relative_path = '../' . $themes_directory_name . '/' . $theme_name . '/' . $theme_candidate_sdk_basename;
     115        $is_theme               = true;
     116    } else if ( $is_current_sdk_from_parent_theme ) {
     117        $theme_name             = get_template();
     118        $this_sdk_relative_path = '../' . $themes_directory_name . '/' . $theme_name . '/' . $theme_candidate_sdk_basename;
     119        $is_theme               = true;
     120    } else {
     121        $this_sdk_relative_path = plugin_basename( $fs_root_path );
     122        $is_theme               = false;
     123
     124        /**
     125         * If this file was included from another plugin with lower SDK version, and if this plugin is symlinked, then we need to get the actual plugin path,
     126         * as the value right now will be wrong, it will only remove the directory separator from the file_path.
     127         *
     128         * The check of `fs_find_direct_caller_plugin_file` determines that this file was indeed included by a different plugin than the main plugin.
     129         */
     130        if ( DIRECTORY_SEPARATOR . $this_sdk_relative_path === $fs_root_path && function_exists( 'fs_find_direct_caller_plugin_file' ) ) {
     131            $original_plugin_dir_name = dirname( fs_find_direct_caller_plugin_file( $file_path ) );
     132
     133            // Remove everything before the original plugin directory name.
     134            $this_sdk_relative_path = substr( $this_sdk_relative_path, strpos( $this_sdk_relative_path, $original_plugin_dir_name ) );
     135
     136            unset( $original_plugin_dir_name );
     137        }
     138    }
    96139
    97140    if ( ! isset( $fs_active_plugins ) ) {
     
    177220    ) {
    178221        if ( $is_theme ) {
    179             $plugin_path = basename( dirname( $this_sdk_relative_path ) );
     222            // Saving relative path and not only directory name as it could be a subfolder
     223            $plugin_path = $theme_name;
    180224        } else {
    181225            $plugin_path = plugin_basename( fs_find_direct_caller_plugin_file( $file_path ) );
     
    226270        $is_newest_sdk_type_theme = ( isset( $fs_newest_sdk->type ) && 'theme' === $fs_newest_sdk->type );
    227271
    228         if ( ! $is_newest_sdk_type_theme ) {
    229             $is_newest_sdk_plugin_active = is_plugin_active( $fs_newest_sdk->plugin_path );
    230         } else {
    231             $current_theme               = wp_get_theme();
    232             $is_newest_sdk_plugin_active = ( $current_theme->stylesheet === $fs_newest_sdk->plugin_path );
     272        /**
     273         * @var bool $is_newest_sdk_module_active
     274         * True if the plugin with the newest SDK is active.
     275         * True if the newest SDK is part of the current theme or current theme's parent.
     276         * False otherwise.
     277         */
     278        if ( ! $is_newest_sdk_type_theme ) {
     279            $is_newest_sdk_module_active = is_plugin_active( $fs_newest_sdk->plugin_path );
     280        } else {
     281            $current_theme = wp_get_theme();
     282            // Detect if current theme is the one registered as newer SDK
     283            $is_newest_sdk_module_active = (
     284                strpos(
     285                    $fs_newest_sdk->plugin_path,
     286                    '../' . $themes_directory_name . '/' . $current_theme->get_stylesheet() . '/'
     287                ) === 0
     288            );
    233289
    234290            $current_theme_parent = $current_theme->parent();
     
    238294             * from happening by keeping the SDK info stored in the `fs_active_plugins` option.
    239295             */
    240             if ( ! $is_newest_sdk_plugin_active && $current_theme_parent instanceof WP_Theme ) {
    241                 $is_newest_sdk_plugin_active = ( $fs_newest_sdk->plugin_path === $current_theme_parent->stylesheet );
     296            if ( ! $is_newest_sdk_module_active && $current_theme_parent instanceof WP_Theme ) {
     297                // Detect if current theme parent is the one registered as newer SDK
     298                $is_newest_sdk_module_active = (
     299                    strpos(
     300                        $fs_newest_sdk->plugin_path,
     301                        '../' . $themes_directory_name . '/' . $current_theme_parent->get_stylesheet() . '/'
     302                    ) === 0
     303                );
    242304            }
    243305        }
    244306
    245307        if ( $is_current_sdk_newest &&
    246              ! $is_newest_sdk_plugin_active &&
     308             ! $is_newest_sdk_module_active &&
    247309             ! $fs_active_plugins->newest->in_activation
    248310        ) {
     
    263325        }
    264326
    265         $is_newest_sdk_path_valid = ( $is_newest_sdk_plugin_active || $fs_active_plugins->newest->in_activation ) && file_exists( $sdk_starter_path );
     327        $is_newest_sdk_path_valid = ( $is_newest_sdk_module_active || $fs_active_plugins->newest->in_activation ) && file_exists( $sdk_starter_path );
    266328
    267329        if ( ! $is_newest_sdk_path_valid && ! $is_current_sdk_newest ) {
     
    270332        }
    271333
    272         if ( ! ( $is_newest_sdk_plugin_active || $fs_active_plugins->newest->in_activation ) ||
     334        if ( ! ( $is_newest_sdk_module_active || $fs_active_plugins->newest->in_activation ) ||
    273335             ! $is_newest_sdk_path_valid ||
    274336             // Is newest SDK downgraded.
     
    285347            fs_fallback_to_newest_active_sdk();
    286348        } else {
    287             if ( $is_newest_sdk_plugin_active &&
     349            if ( $is_newest_sdk_module_active &&
    288350                 $this_sdk_relative_path == $fs_active_plugins->newest->sdk_path &&
    289351                 ( $fs_active_plugins->newest->in_activation ||
     
    314376    }
    315377
    316     if ( version_compare( $this_sdk_version, $fs_active_plugins->newest->version, '<' ) ) {
     378    if ( isset( $fs_active_plugins->newest ) && version_compare( $this_sdk_version, $fs_active_plugins->newest->version, '<' ) ) {
    317379        $newest_sdk = $fs_active_plugins->plugins[ $fs_active_plugins->newest->sdk_path ];
    318380
  • auto-install-free-ssl/trunk/freemius/templates/forms/license-activation.php

    r3096222 r3219088  
    570570                    } else {
    571571                        if ( ! hasLicensesDropdown ) {
    572                             licenseID = $availableLicenseKey.data( 'id' );
     572                            licenseID = $availableLicenseKey.data( 'id' ).toString();
    573573                        } else {
    574574                            licenseID = $licensesDropdown.val();
  • auto-install-free-ssl/trunk/freemius/templates/pricing.php

    r3183220 r3219088  
    7070    wp_enqueue_script( 'freemius-pricing', $pricing_js_url );
    7171
     72    $pricing_css_path = $fs->apply_filters( 'pricing/css_path', null );
     73    if ( is_string( $pricing_css_path ) ) {
     74        wp_enqueue_style( 'freemius-pricing', fs_asset_url( $pricing_css_path ) );
     75    }
     76
    7277    $has_tabs = $fs->_add_tabs_before_content();
    7378
     
    96101            'show_annual_in_monthly' => $fs->apply_filters( 'pricing/show_annual_in_monthly', true ),
    97102            'license'                => $fs->has_active_valid_license() ? $fs->_get_license() : null,
     103            'plugin_icon'            => $fs->get_local_icon_url(),
     104            'disable_single_package' => $fs->apply_filters( 'pricing/disable_single_package', false ),
    98105        ), $query_params );
    99106
  • auto-install-free-ssl/trunk/license.txt

    r2750244 r3219088  
    22free SSL certificates in cPanel shared hosting with complete automation.
    33
    4 Copyright (C) 2019-2020, Anindya Sundar Mandal <[email protected]>
     4Copyright (C) 2019-2024, Anindya Sundar Mandal <[email protected]>
    55
    66This program is free software: you can redistribute it and/or modify
  • auto-install-free-ssl/trunk/readme.txt

    r3183220 r3219088  
    66Requires at least: 4.1
    77Tested up to: 6.7
    8 Stable tag: 4.4.0
     8Stable tag: 4.5.0
    99Requires PHP: 5.6
    1010
     
    2525
    2626
    27 `    448,000+ DOWNLOADS!!`
     27`    456,500+ DOWNLOADS!!`
    2828
    2929
     
    396396
    397397== Changelog ==
     398= 4.5.0 =
     399* Updated the Freemius WordPress SDK to version 2.10.1.
     400* Improved some code.
     401* Fixed _load_textdomain_just_in_time notice.
     402* Fixed some minor issues.
     403
    398404= 4.4.0 =
    399405* Updated the Freemius WordPress SDK to version 2.9.0.
Note: See TracChangeset for help on using the changeset viewer.