Plugin Directory

Changeset 1832129


Ignore:
Timestamp:
03/02/2018 09:51:56 AM (8 years ago)
Author:
aspexi
Message:

1.1.2

Location:
aspexi-sweet-popups
Files:
58 added
12 edited

Legend:

Unmodified
Added
Removed
  • aspexi-sweet-popups/trunk/aspexi-sweet-popups.php

    r1591313 r1832129  
    66Author: Aspexi
    77Author URI: http://aspexi.com/
    8 Version: 1.1.1
     8Version: 1.1.2
    99
    1010License: GPLv2 or later
     
    2727if ( ! class_exists( 'AspexiSweetPopups' ) ) {
    2828
    29     define('ASPEXISWEETPOPUPS_VERSION', '1.1.0');
    30     define('ASPEXISWEETPOPUPS_URL', plugins_url() . '/aspexi-sweet-popups/');
    31     define('ASPEXISWEETPOPUPS_ADMIN_URL', 'themes.php?page=aspexi-sweet-popups.php');
     29    define('ASPEXISWEETPOPUPS_VERSION', '1.1.2');
     30    define('ASPEXISWEETPOPUPS_URL', plugin_dir_url( __FILE__ ) );
     31    define('ASPEXISWEETPOPUPS_ADMIN_URL', 'themes.php?page=' . basename( __FILE__ ) );
    3232
    3333    class AspexiSweetPopups
     
    4545            add_action( 'admin_menu',           array( &$this, 'admin_menu' ) );
    4646            add_action( 'init',                 array( &$this, 'init' ), 10 );
    47             add_action( 'wp_enqueue_scripts',   array( &$this, 'init_scripts' ), 11 );
     47            add_action( 'wp_enqueue_scripts',   array( &$this, 'init_scripts' ) );
    4848            add_action( 'admin_enqueue_scripts',array( &$this, 'admin_scripts' ) );
    4949
     
    6262        public function admin_menu() {
    6363
    64             add_submenu_page( 'themes.php', __( 'Aspexi Sweet Popups', 'aspexisweetpopups' ), __( 'Aspexi Sweet Popups', 'aspexisweetpopups' ), 'manage_options', 'aspexi-sweet-popups.php', array( &$this, 'admin_page' ) );
     64            add_submenu_page( 'themes.php', __( 'Aspexi Sweet Popups', 'aspexisweetpopups' ), __( 'Aspexi Sweet Popups', 'aspexisweetpopups' ), 'manage_options', basename(__FILE__), array( &$this, 'admin_page' ) );
    6565        }
    6666
     
    7070                'aspexisweetpopups_version' => ASPEXISWEETPOPUPS_VERSION,
    7171                'status' => 'disabled',
    72                 'theme' => 'none',
    7372                'only_frontpage' => 'off',
    7473                'title' => 'Your title',
     
    109108
    110109            wp_enqueue_style( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'css/sweetalert.css' );
    111 
    112             switch ( $this->config['theme'] ) {
    113                 case 'facebook':
    114                     wp_enqueue_style( 'sweet-alert-facebook-theme', ASPEXISWEETPOPUPS_URL . 'css/sweetalert-facebook.css' );
    115                     break;
    116                 case 'google':
    117                     wp_enqueue_style( 'sweet-alert-google-theme', ASPEXISWEETPOPUPS_URL . 'css/sweetalert-google.css' );
    118                     break;
    119                 case 'twitter':
    120                     wp_enqueue_style( 'sweet-alert-twitter-theme', ASPEXISWEETPOPUPS_URL . 'css/sweetalert-twitter.css' );
    121                     break;
    122             }
    123110
    124111            wp_enqueue_script( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'js/sweetalert.min.js' );
     
    159146        public function admin_scripts( $hook_suffix ) {
    160147
    161             if( 'appearance_page_aspexi-sweet-popups' != $hook_suffix )
     148            if( 'appearance_page_'.basename(__FILE__, '.php') != $hook_suffix )
    162149                return;
    163150
    164151            wp_enqueue_style( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'css/sweetalert.css' );
     152            wp_enqueue_style( 'sweet-popups', ASPEXISWEETPOPUPS_URL . 'css/sweet-popups.css' );
    165153
    166154            wp_enqueue_script( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'js/sweetalert.min.js' );
     
    172160                'icon_type' => $this->config['icon_type'],
    173161                'html'      => 'true',
    174                 'aspexisweetpopups_url' => ASPEXISWEETPOPUPS_URL
     162                'aspexisweetpopups_url' => ASPEXISWEETPOPUPS_URL,
     163                'nav_tab_changed_title' => __( 'Unsaved changes!', 'aspexisweetpopups' ),
     164                'nav_tab_changed_text' => __( 'If you leave this page now the changes you have made may be lost.', 'aspexisweetpopups' ),
     165                'nav_tab_changed_yes' => __( 'Stay and continue', 'aspexisweetpopups' ),
     166                'nav_tab_changed_no' => __( 'Drop changes and leave', 'aspexisweetpopups' ),
    175167            ) );
    176168        }
     
    192184                array_unshift( $action_links, $pro_link );
    193185
    194                 $settings_link = '<a href="themes.php?page=' . dirname( plugin_basename( __FILE__ ) ) . '.php">' . __("Settings") . '</a>';
     186                $settings_link = '<a href="themes.php?page=' . basename( __FILE__ )  .  '">' . __("Settings") . '</a>';
    195187                array_unshift( $action_links, $settings_link );
    196188            }
     
    232224                    $this->add_error( __( 'Wrong or missing status. Available statuses: enabled and disabled. Settings not saved.' ) );
    233225
    234                 if ( ! in_array( $_REQUEST['asp_theme'], array( 'none', 'facebook', 'google', 'twitter' ) ) )
    235 
    236                     $this->add_error( __( 'Wrong or missing theme. Available themes: Default, Facebook, Google, Twitter. Settings not saved.' ) );
    237 
    238226                if ( ! in_array( $_REQUEST['asp_icon_type'], array( 'empty', 'warning', 'error', 'success', 'info' ) ) )
    239227
     
    256244                    $aspexisweetpopups_request_options = array();
    257245                    $aspexisweetpopups_request_options['status'] = isset( $_REQUEST['asp_status'] ) ? sanitize_text_field( $_REQUEST['asp_status'] ) : '';
    258                     $aspexisweetpopups_request_options['theme'] = isset( $_REQUEST['asp_theme'] ) ? sanitize_text_field( $_REQUEST['asp_theme'] ) : '';
    259246                    $aspexisweetpopups_request_options['only_frontpage'] = isset( $_REQUEST['asp_only_frontpage'] ) ? sanitize_text_field( $_REQUEST['asp_only_frontpage'] ) : '';
    260247                    $aspexisweetpopups_request_options['title'] = isset( $_REQUEST['asp_title'] ) ? sanitize_text_field( $_REQUEST['asp_title'] ) : '';
     
    277264            <?php $this->display_admin_notices( true ); ?>
    278265            <h1><?php _e( 'Aspexi Sweet Popups Settings', 'aspexisweetpopups' ); ?></h1>
    279             <div id="poststuff" class="metabox-holder">
    280             <div id="post-body">
     266            <h2 class="nav-tab-wrapper">
     267                <a class="nav-tab <?php echo ( ! isset( $_GET['newsletter'] ) && ! isset( $_GET['shortcode'] ) ) ? 'nav-tab-active' : '' ; ?>" href="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>"><?php echo __( 'Settings', 'aspexisweetpopups' ); ?></a>
     268                <a class="nav-tab <?php echo ( isset( $_GET['shortcode'] ) ) ? 'nav-tab-active' : '' ; ?>" href="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>&shortcode=true"><?php echo __( 'Shortcode', 'aspexisweetpopups' ); ?></a>
     269                <a class="nav-tab <?php echo ( isset( $_GET['newsletter'] ) && strlen( $_GET['newsletter'] ) ) ? 'nav-tab-active' : '' ; ?>" href="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>&newsletter=mailchimp"><?php echo __( 'Newsletter', 'aspexisweetpopups' ); ?></a>
     270            </h2>
     271            <br>
     272            <?php if ( isset( $_GET['shortcode'] ) && strlen( $_GET['shortcode' ] ) ) : ?>
     273                <div class="postbox">
     274                    <div class="inside">
     275                        <h3>
     276                            <span>Shortcode</span>
     277                        </h3>
     278                        <table class="form-table">
     279                            <tbody>
     280                            <tr valign="top">
     281                                <td>
     282                                    <?php echo $this->get_pro_link(); ?><br>
     283                                    <p style="font-family: monospace;">[aspexi_sweet_popups theme="facebook" close_button_button="on" close_button_icon="on" close_button_color="#8cd4f5" like_box="on" like_box_protocol="http" like_box_option_url="any" like_box_url="www.facebook.com/facebook" like_box_layout="box_count" only_home="on" only_bottom="on" auto_open="on" auto_open_time="3000" auto_open_on_element="off" auto_open_on_element_name="#element_name" title="Your Title" only_once="on" only_once_days="30" icon_type="success"]Your Content[/aspexi_sweet_popups]</p>
     284                                    <br><br>
     285                                    <span><?php echo __( 'Avaliable options (accepted values separated by "|")', 'aspexisweetpopups' ); ?>:</span>
     286                                    <ul>
     287                                        <li><b>theme</b>: none|facebook|google|twitter</li>
     288                                        <li><b>close_button_button</b>: on|off (Default: on)</li>
     289                                        <li><b>close_button_icon</b>: on|off (Default: off)</li>
     290                                        <li><b>close_button_color</b>: (css color) (Default: #8cd4f58cd4f5)</li>
     291                                        <li><b>like_box</b>: on|off (Default: off)</li>
     292                                        <li><b>like_box_protocol</b>: http|https (Default: http)</li>
     293                                        <li><b>like_box_option_url</b>: any|site|page (Default: any)</li>
     294                                        <li><b>like_box_url</b>: (url, for example: www.facebook.com/facebook) (Default: empty)</li>
     295                                        <li><b>like_box_layout</b>: standard|box_count|button_count|button (Default: standard)</li>
     296                                        <li><b>only_home</b>: on|off (Default: off)</li>
     297                                        <li><b>only_bottom</b>: on|off (Default: off)</li>
     298                                        <li><b>auto_open</b>: on|off (Default: off)</li>
     299                                        <li><b>auto_open_time</b>: (time in milliseconds) (Default: 3000)</li>
     300                                        <li><b>auto_open_on_element</b>: on|off (Default: off)</li>
     301                                        <li><b>auto_open_on_element_name</b>: (jQuery element, for example #element_name) (Default: empty)</li>
     302                                        <li><b>title</b>: (text) (Default empty)</li>
     303                                        <li><b>only_once</b>: on|off (Default: off)</li>
     304                                        <li><b>only_once_days</b>: (Show only once per user (based on cookies)) (Default: 1)</li>
     305                                        <li><b>icon_type</b>: empty|info|warning|success|error (Default: empty)</li>
     306                                    </ul>
     307                                    <br>
     308                                    <span><?php echo __( 'Example 1', 'aspexisweetpopups' ); ?>:</span><br>
     309                                    <p style="font-family: monospace;">[aspexi_sweet_popups]Your Content[/aspexi_sweet_popups]</p>
     310                                    <br><br>
     311                                    <span><?php echo __( 'Example 2', 'aspexisweetpopups' ); ?>:</span><br>
     312                                    <p style="font-family: monospace;">[aspexi_sweet_popups close_button_button="off" close_button_icon="on" title="custom title"]Your Content[/aspexi_sweet_popups]</p>
     313                                    <br><br>
     314                                    <span><?php echo __( 'Example 3', 'aspexisweetpopups' ); ?>:</span><br>
     315                                    <p style="font-family: monospace;">[aspexi_sweet_popups theme="facebook" close_button_button="on" close_button_icon="on" like_box="on" like_box_protocol="http" like_box_url="www.facebook.com/facebook" like_box_layout="standard" auto_open="on" auto_open_time="3000" title="Your Title" icon_type="info" ]Your Content[/aspexi_sweet_popups]</p>
     316                                </td>
     317                            </tr>
     318                            </tbody>
     319                        </table>
     320                    </div>
     321                </div>
     322            <?php endif; ?>
     323            <?php if ( isset( $_GET['newsletter'] ) && strlen( $_GET['newsletter'] ) ) : ?>
     324                <h2 class="nav-tab-wrapper">
     325                    <a class="nav-tab <?php echo ( isset( $_GET['newsletter'] ) && $_GET['newsletter'] == 'mailchimp' ) ? 'nav-tab-active' : '' ; ?>" href="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>&newsletter=mailchimp"><?php echo __( 'MailChimp', 'aspexisweetpopups' ); ?></a>
     326                </h2>
     327                <br>
     328                <div class="postbox">
     329                    <div class="inside">
     330                        <h3><?php echo __( 'MailChimp Integration', 'aspexisweetpopups'); ?></h3>
     331                        <table class="form-table">
     332                            <tbody>
     333                            <tr>
     334                                <th><?php echo __( 'MailChimp API Key', 'aspexisweetpopups' ); ?></th>
     335                                <td>
     336                                    <input type="text" name="asp_mailchimp_key" disabled readonly><br>
     337                                    <?php echo $this->get_pro_link(); ?>
     338                                </td>
     339                            </tr>
     340                            <tr>
     341                                <th><?php echo __( 'MailChimp Lists', 'aspexisweetpopups' ); ?></th>
     342                                <td>
     343                                    <select name="asp_mailchimp_list_id" disabled readonly>
     344                                    </select><br>
     345                                    <?php echo $this->get_pro_link(); ?>
     346                                </td>
     347                            </tr>
     348                            <tr>
     349                                <th><?php echo __( 'Enable Double Opt-In', 'aspexisweetpopups' ); ?></th>
     350                                <td>
     351                                    <input type="checkbox" name="asp_mailchimp_optin" disabled readonly><br>
     352                                    <?php echo $this->get_pro_link(); ?>
     353                                </td>
     354                            </tr>
     355                            <tr>
     356                                <th><?php echo __( 'To display MailChimp write shortocde in popup content', 'aspexisweetpopups' ); ?></th>
     357                                <td>
     358                                    <small><pre>[aspexi_newsletter]</pre></small><br>
     359                                    <?php echo $this->get_pro_link(); ?>
     360                                </td>
     361                            </tr>
     362                            </tbody>
     363                        </table>
     364                    </div>
     365                </div>
     366                <p><input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" id="submitbutton" /></p>
     367                <div class="postbox">
     368                    <div class="inside">
     369                        <table class="form-table">
     370                            <tbody>
     371                            <tr>
     372                                <th><?php echo __( 'Write your button text', 'aspexisweetpopups' ); ?></th>
     373                                <td>
     374                                    <input type="text" name="asp_newsletter_button_text" disabled readonly><br>
     375                                    <?php echo $this->get_pro_link(); ?>
     376                                </td>
     377                            </tr>
     378                            <tr>
     379                                <th><?php echo __( 'Success message', 'aspexisweetpopups' ); ?></th>
     380                                <td>
     381                                    <input type="text" name="asp_newsletter_success_message" disabled readonly><br>
     382                                    <?php echo $this->get_pro_link(); ?>
     383                                </td>
     384                            </tr>
     385                            <tr>
     386                                <th><?php echo __( 'Error message', 'aspexisweetpopups' ); ?></th>
     387                                <td>
     388                                    <input type="text" name="asp_newsletter_error_message" disabled readonly><br>
     389                                    <?php echo $this->get_pro_link(); ?>
     390                                </td>
     391                            </tr>
     392                            </tbody>
     393                        </table>
     394                    </div>
     395                </div>
     396                <p><input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" id="submitbutton" /></p>
     397            <?php endif; ?>
     398            <?php if ( ! isset( $_GET['shortcode'] ) && ! isset( $_GET['newsletter' ] ) ) : ?>
    281399            <form method="post" action="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>">
    282400                <input type="hidden" name="asp_form_submit" value="submit" />
     
    284402                <div class="postbox">
    285403                    <div class="inside">
     404                        <h3>
     405                            <span><?php echo __( 'Basic', 'aspexisweetpopups' ); ?></span>
     406                        </h3>
    286407                        <table class="form-table">
    287408                            <tbody>
     
    299420                            <tr valign="top">
    300421                                <th scope="row">
    301                                     <?php _e('Select theme', 'aspexisweetpopups'); ?>
    302                                 </th>
    303                                 <td>
    304                                     <select name="asp_theme">
    305                                         <option value="none" <?php echo ($this->config['theme'] == 'none') ? 'selected' : ''; ?>><?php echo __( 'Default', 'aspexisweetpopups' ); ?></option>
    306                                         <option value="facebook" <?php echo ($this->config['theme'] == 'facebook') ? 'selected' : ''; ?>>Facebook</option>
    307                                         <option value="google" <?php echo ($this->config['theme'] == 'google') ? 'selected' : ''; ?>>Google</option>
    308                                         <option value="twitter" <?php echo ($this->config['theme'] == 'twitter') ? 'selected' : ''; ?>>Twitter</option>
    309                                     </select>
    310                                 </td>
    311                             </tr>
    312                             <tr valign="top">
    313                                 <th scope="row">
    314422                                    <?php _e('Show only on the home page', 'aspexisweetpopups'); ?>
    315423                                </th>
    316424                                <td>
    317425                                    <input type="checkbox" name="asp_only_frontpage" value="on" <?php echo ($this->config['only_frontpage'] == 'on') ? 'checked' : ''; ?>><br>
     426                                </td>
     427                            </tr>
     428                            <tr valign="top">
     429                                <th scope="row">
     430                                    <?php _e('Show when user reaches bottom of the page', 'aspexisweetpopups'); ?>
     431                                </th>
     432                                <td>
     433                                    <input type="checkbox" name="asp_only_bottom" value="on" disabled readonly><br>
     434                                    <?php echo $this->get_pro_link(); ?>
    318435                                </td>
    319436                            </tr>
     
    349466                                <td>
    350467                                    <input type="text" name="asp_only_once_days" size="3" value="<?php echo absint( (int)$this->config['only_once_days'] ); ?>" <?php echo ( 'on' != $this->config['only_once'] ) ? 'disabled' : ''; ?>>&nbsp;&nbsp;<?php echo __( 'If omitted or zero, the cookie will expire at the end of the session.', 'aspexisweetpopups' ); ?>
    351                                 </td>
    352                             </tr>
    353                             <tr valign="top">
    354                                 <th scope="row">
    355                                     <?php _e('Icon type', 'aspexisweetpopups'); ?>
    356                                 </th>
    357                                 <td style="text-align: center;">
    358                                     <div style="float: left;">
    359                                         <label for="aps_icon_type_empty">
    360                                             <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/empty.png" alt=""><br>
    361                                             <input id="aps_icon_type_empty" type="radio" name="asp_icon_type" <?php echo ( 'empty' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="empty"><br><?php _e('Empty', 'aspexisweetpopups'); ?>
    362                                         </label>
    363                                     </div>
    364                                     <div style="float: left; margin-left: 30px;">
    365                                         <label for="aps_icon_type_info">
    366                                             <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/info.png" alt=""><br>
    367                                             <input id="aps_icon_type_info" type="radio" name="asp_icon_type" <?php echo ( 'info' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="info"><br><?php _e('Info', 'aspexisweetpopups'); ?>
    368                                         </label>
    369                                     </div>
    370                                     <div style="float: left; margin-left: 30px;">
    371                                         <label for="aps_icon_type_warning">
    372                                             <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/warning.png" alt=""><br>
    373                                             <input id="aps_icon_type_warning" type="radio" name="asp_icon_type" <?php echo ( 'warning' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="warning" style="vertical-align: bottom;"><br><?php _e('Warning', 'aspexisweetpopups'); ?>
    374                                         </label>
    375                                     </div>
    376                                     <div style="float: left; margin-left: 30px;">
    377                                         <label for="aps_icon_type_success">
    378                                             <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/success.png" alt=""><br>
    379                                             <input id="aps_icon_type_success" type="radio" name="asp_icon_type" <?php echo ( 'success' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="success"><br><?php _e('Success', 'aspexisweetpopups'); ?>
    380                                         </label>
    381                                     </div>
    382                                     <div style="float: left; margin-left: 30px;">
    383                                         <label for="aps_icon_type_error">
    384                                             <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/error.png" alt=""><br>
    385                                             <input id="aps_icon_type_error" type="radio" name="asp_icon_type" <?php echo ( 'error' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="error"><br><?php _e('Error', 'aspexisweetpopups'); ?>
    386                                         </label>
    387                                     </div>
    388468                                </td>
    389469                            </tr>
     
    393473                </div>
    394474                <p>
    395                     <input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" id="submitbutton" />
    396                     <input class="button-secondary" type="submit" value="<?php _e('Preview', 'aspexisweetpopups'); ?>" id="previewbutton" />
     475                    <input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" />
     476                    <input class="button-secondary previewbutton" type="submit" value="<?php _e('Preview', 'aspexisweetpopups'); ?>" />
     477                </p>
     478                <div class="postbox">
     479                    <div class="inside">
     480                        <h3>
     481                            <span><?php echo __( 'Look & Feel', 'aspexisweetpopups' ); ?></span>
     482                        </h3>
     483                        <table class="form-table">
     484                            <tbody>
     485                            <tr valign="top">
     486                                <th scope="row">
     487                                    <?php _e('Theme', 'aspexisweetpopups'); ?>
     488                                </th>
     489                                <td>
     490                                    <div id="theme-box">
     491                                        <div>
     492                                            <label for="theme_none"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/theme_none.png' ?>" alt=""></label><br>
     493                                            <input id="theme_none" type="radio" name="asp_theme" value="none" checked readonly disabled>
     494                                            <p><?php echo __( 'Default', 'aspexisweetpopups' ); ?></p>
     495                                        </div>
     496                                        <div>
     497                                            <label for="theme_facebook"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/theme_facebook.png' ?>" alt=""></label><br>
     498                                            <input id="theme_facebook" type="radio" name="asp_theme" value="facebook" readonly disabled>
     499                                            <p>Facebook</p>
     500                                        </div>
     501                                        <div>
     502                                            <label for="theme_google"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/theme_google.png' ?>" alt=""></label><br>
     503                                            <input id="theme_google" type="radio" name="asp_theme" value="google" readonly disabled>
     504                                            <p>Google</p>
     505                                        </div>
     506                                        <div>
     507                                            <label for="theme_twitter"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/theme_twitter.png' ?>" alt=""></label><br>
     508                                            <input id="theme_twitter" type="radio" name="asp_theme" value="twitter" readonly disabled>
     509                                            <p>Twitter</p>
     510                                        </div>
     511                                    </div>
     512                                </td>
     513                            </tr>
     514                            <tr valign="top">
     515                                <th scope="row">
     516                                    <?php _e('Icon type', 'aspexisweetpopups'); ?>
     517                                </th>
     518                                <td style="text-align: center;">
     519                                    <div id="icon-type-box">
     520                                        <div>
     521                                            <label for="aps_icon_type_empty">
     522                                                <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/empty.png" alt=""><br><br>
     523                                                <input id="aps_icon_type_empty" type="radio" name="asp_icon_type" <?php echo ( 'empty' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="empty"><br><?php _e('Empty', 'aspexisweetpopups'); ?>
     524                                            </label>
     525                                        </div>
     526                                        <div>
     527                                            <label for="aps_icon_type_info">
     528                                                <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/info.png" alt=""><br><br>
     529                                                <input id="aps_icon_type_info" type="radio" name="asp_icon_type" <?php echo ( 'info' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="info"><br><?php _e('Info', 'aspexisweetpopups'); ?>
     530                                            </label>
     531                                        </div>
     532                                        <div>
     533                                            <label for="aps_icon_type_warning">
     534                                                <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/warning.png" alt=""><br><br>
     535                                                <input id="aps_icon_type_warning" type="radio" name="asp_icon_type" <?php echo ( 'warning' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="warning" style="vertical-align: bottom;"><br><?php _e('Warning', 'aspexisweetpopups'); ?>
     536                                            </label>
     537                                        </div>
     538                                        <div>
     539                                            <label for="aps_icon_type_success">
     540                                                <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/success.png" alt=""><br><br>
     541                                                <input id="aps_icon_type_success" type="radio" name="asp_icon_type" <?php echo ( 'success' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="success"><Br><?php _e('Success', 'aspexisweetpopups'); ?>
     542                                            </label>
     543                                        </div>
     544                                        <div>
     545                                            <label for="aps_icon_type_error">
     546                                                <img src="<?php echo ASPEXISWEETPOPUPS_URL ?>images/error.png" alt=""><br><br>
     547                                                <input id="aps_icon_type_error" type="radio" name="asp_icon_type" <?php echo ( 'error' == $this->config['icon_type'] ) ? 'checked' : ''; ?> value="error"><br><?php _e('Error', 'aspexisweetpopups'); ?>
     548                                            </label>
     549                                        </div>
     550                                    </div>
     551                                </td>
     552                            </tr>
     553                            <tr valign="top">
     554                                <th scope="row">
     555                                    <?php _e('Select close button', 'aspexisweetpopups'); ?>
     556                                </th>
     557                                <td>
     558                                    <?php echo $this->get_pro_link(); ?><br><br>
     559                                    <div style="float: left; text-align: center; padding: 10px;">
     560                                        <label for="close_button_button"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/close_button_button.png'; ?>" alt=""></label><br>
     561                                        <input id="close_button_button" type="checkbox" name="asp_close_button_button" value="on" disabled readonly><br>
     562                                        <p><?php echo __( 'Button', 'aspexisweetpopups' ); ?></p>
     563                                    </div>
     564                                    <div style="float: left; margin-left: 30px; text-align: center; padding: 10px;">
     565                                        <label for="close_button_icon"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/close_button_icon.png'; ?>" alt=""></label><br>
     566                                        <input id="close_button_icon" type="checkbox" name="asp_close_button_icon" value="on" disabled readonly><br>
     567                                        <p><?php echo __( 'Icon', 'aspexisweetpopups' ); ?></p>
     568                                    </div>
     569                                    <br><br><br><br><br><br><br><br>
     570                                    <?php echo __( 'You can add own element with class "close-sweet-popup" which close popup', 'aspexisweetpopups' ); ?>
     571                                </td>
     572                            </tr>
     573                            <tr valign="top">
     574                                <th scope="row">
     575                                    <?php _e('Close button color', 'aspexisweetpopups'); ?>
     576                                </th>
     577                                <td>
     578                                    <input type="text" name="asp_close_button_color" value="#8cd4f5" disabled readonly size="6" /><br>
     579                                    <p><?php echo __( 'This will apply to the button color as well as long as the default theme is used.', 'sweetpopups' ); ?></p>
     580                                    <?php echo $this->get_pro_link(); ?>
     581                                </td>
     582                            </tr>
     583                            </tbody>
     584                        </table>
     585                    </div>
     586                </div>
     587                <p>
     588                    <input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" />
     589                    <input class="button-secondary previewbutton" type="submit" value="<?php _e('Preview', 'aspexisweetpopups'); ?>" />
     590                </p>
     591                <div class="postbox">
     592                    <div class="inside">
     593                        <h3>
     594                            <span>Facebook</span>
     595                        </h3>
     596                        <table class="form-table">
     597                            <tbody>
     598                            <tr valign="top">
     599                                <th scope="row">
     600                                    <?php _e('Show Facebook Like Button', 'aspexisweetpopups'); ?>
     601                                </th>
     602                                <td>
     603                                    <input type="checkbox" name="asp_like_box" value="on" disabled readonly><br>
     604                                    <?php echo $this->get_pro_link(); ?>
     605                                </td>
     606                            </tr>
     607                            <tr valign="top">
     608                                <th scope="row">
     609                                    <?php _e('Like Button URL', 'aspexisweetpopups'); ?>
     610                                </th>
     611                                <td>
     612                                    <select name="asp_like_box_protocol">
     613                                        <option value="http" disabled readonly>http://</option>
     614                                        <option value="https" disabled readonly>https://</option>
     615                                    </select>
     616                                    <select name="asp_like_box_option_url">
     617                                        <option value="any" disabled readonly><?php echo __( 'Any', 'aspexisweetpopups' ); ?></option>
     618                                        <option value="site" disabled readonly><?php echo __( 'Site url', 'aspexisweetpopups' ); ?></option>
     619                                        <option value="page" disabled readonly><?php echo __( 'Page url', 'aspexisweetpopups' ); ?></option>
     620                                    </select>
     621                                    <?php echo $this->get_pro_link(); ?>
     622                                </td>
     623                            </tr>
     624                            <tr valign="top">
     625                                <th scope="row">
     626                                    <?php _e('Like Button Layout', 'aspexisweetpopups'); ?>
     627                                </th>
     628                                <td>
     629                                    <?php echo $this->get_pro_link(); ?><br><br>
     630                                    <div id="like-button-layout-box">
     631                                        <div>
     632                                            <label for="like_button_layout_standard"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/like_button_layout_standard.png' ?>" alt=""></label><br>
     633                                            <input id="like_button_layout_standard" type="radio" name="asp_like_box_layout" value="standard" disabled readonly>
     634                                            <p>standard</p>
     635                                        </div>
     636                                        <div>
     637                                            <label for="like_button_layout_box_count"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/like_button_layout_box_count.png' ?>" alt=""></label><br>
     638                                            <input id="like_button_layout_box_count" type="radio" name="asp_like_box_layout" value="box_count" disabled readonly>
     639                                            <p>box_count</p>
     640                                        </div>
     641                                        <div>
     642                                            <label for="like_button_layout_button_count"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/like_button_layout_button_count.png' ?>" alt=""></label><br>
     643                                            <input id="like_button_layout_button_count" type="radio" name="asp_like_box_layout" value="button_count" disabled readonly>
     644                                            <p>button_count</p>
     645                                        </div>
     646                                        <div>
     647                                            <label for="like_button_layout_button"><img src="<?php echo ASPEXISWEETPOPUPS_URL . 'images/like_button_layout_button.png' ?>" alt=""></label><br>
     648                                            <input id="like_button_layout_button" type="radio" name="asp_like_box_layout" value="button" disabled readonly>
     649                                            <p>button</p>
     650                                        </div>
     651                                    </div>
     652                                </td>
     653                            </tr>
     654                            </tbody>
     655                        </table>
     656                    </div>
     657                </div>
     658                <p>
     659                    <input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" />
     660                    <input class="button-secondary previewbutton" type="submit" value="<?php _e('Preview', 'aspexisweetpopups'); ?>" />
     661                </p>
     662                <div class="postbox">
     663                    <div class="inside">
     664                        <h3>
     665                            <span><?php echo __( 'Advanced', 'aspexisweetpopups' ); ?></span>
     666                        </h3>
     667                        <table class="form-table">
     668                            <tbody>
     669                            <tr valign="top">
     670                                <th scope="row"><?php _e('Auto open', 'aspexisweetpopups'); ?></th>
     671                                <td>
     672                                    <input type="checkbox" value="on" name="asp_autoopen" disabled readonly /><br>
     673                                    <?php _e('Auto open after', 'aspexisweetpopups'); ?>&nbsp;<input type="text" name="asp_autoopentime" value="3000" size="4" disabled readonly />&nbsp;<?php _e('milliseconds (1000 milliseconds = 1 second)', 'aspexisweetpopups'); ?><br>
     674                                    <?php echo $this->get_pro_link(); ?>
     675                                </td>
     676                            </tr>
     677                            <tr valign="top">
     678                                <th scope="row"><?php _e('Auto open when user reaches element', 'aspexisweetpopups'); ?></th>
     679                                <td>
     680                                    <input type="checkbox" value="on" name="asp_autoopenonelement" disabled readonly /><br>
     681                                    <?php echo __( 'Auto open when user reaches', 'aspexisweetpopups' ); ?>:&nbsp;<input type="text" name="asp_autoopenonelement_name" size="10" value="" disabled readonly><small>&nbsp;&nbsp;&nbsp;<?php echo __( '(jQuery selector for example #element_id, .some_class)', 'aspexisweetpopups' ); ?></small><br>
     682                                    <?php echo $this->get_pro_link(); ?>
     683                                </td>
     684                            </tr>
     685                            <tr valign="top">
     686                                <th scope="row"><?php _e('Auto open when user reaches position', 'aspexisweetpopups'); ?></th>
     687                                <td>
     688                                    <input type="checkbox" value="on" name="asp_autoopenonposition" disabled readonly /><br>
     689                                    <?php echo __( 'Auto open when user is', 'aspexisweetpopups' ); ?>:&nbsp;<input type="text" name="asp_autoopenonposition_px" <?php if ( 'on' != $this->config['autoopenonposition'] ) echo 'readonly'; ?> size="5" value="<?php echo $this->config['autoopenonposition_px']; ?>">px&nbsp;from:
     690                                    <select name="asp_autoopenonposition_name" disabled readonly>
     691                                        <option value="top" ><?php echo __( 'Top', 'aspexisweetpopups' ); ?></option>
     692                                        <option value="bottom"><?php echo __( 'Bottom', 'aspexisweetpopups' ); ?></option>
     693                                    </select><br>
     694                                    <?php echo $this->get_pro_link(); ?>
     695                                </td>
     696                            </tr>
     697                            </tbody>
     698                        </table>
     699                    </div>
     700                </div>
     701                <p>
     702                    <input class="button-primary" type="submit" name="send" value="<?php _e('Save settings', 'aspexisweetpopups'); ?>" />
     703                    <input class="button-secondary previewbutton" type="submit" value="<?php _e('Preview', 'aspexisweetpopups'); ?>" />
    397704                </p>
    398705            </form>
     706            <?php endif; ?>
    399707            <br />
    400708            <div class="postbox">
    401                 <h3><span>Made by</span></h3>
    402709                <div class="inside">
    403                     <div style="width: 170px; margin: 0 auto;">
    404                         <a href="http://aspexi.com/" target="_blank"><img src="<?php echo ASPEXISWEETPOPUPS_URL.'images/aspexi300.png'; ?>" alt="" border="0" width="150" /></a>
     710                    <h3><span>Made by</span></h3>
     711                    <div class="inside">
     712                        <div style="width: 170px; margin: 0 auto;">
     713                            <a href="<?php echo $this->get_pro_url(); ?>" target="_blank"><img src="<?php echo ASPEXISWEETPOPUPS_URL.'images/aspexi300.png'; ?>" alt="" border="0" width="150" /></a>
     714                        </div>
    405715                    </div>
    406716                </div>
  • aspexi-sweet-popups/trunk/css/sweetalert-facebook.css

    r1294897 r1832129  
    22  border-radius: 3px; }
    33
    4 .sweet-alert {
     4.swal-modal {
    55  font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif;
    66  padding: 12px;
     
    88  text-align: right;
    99  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 6px 30px rgba(0, 0, 0, 0.14); }
    10   .sweet-alert h2 {
     10  .swal-modal .swal-title {
    1111    position: absolute;
    1212    top: 0;
     
    2121    color: #131722;
    2222    border-bottom: 1px solid #e5e5e5; }
    23   .sweet-alert p {
     23  .swal-modal .swal-text {
    2424    display: block;
    2525    text-align: center;
     
    2727    font-weight: 400;
    2828    font-size: 15px;
     29    line-height: 1.2rem;
    2930    margin-top: 7px; }
    30   .sweet-alert .sa-button-container {
     31  .swal-modal  .swal-footer {
     32    padding: 0;
    3133    border-top: 1px solid #dcdee3; }
    32   .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
     34  .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] {
    3335    padding-bottom: 10px; }
    34     .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] .sa-button-container {
     36    .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false]  .swal-footer {
    3537      display: none; }
    36   .sweet-alert button {
     38  .swal-modal button {
    3739    font-size: 12px;
    3840    padding: 5px 10px;
     
    4345    margin: 0;
    4446    margin-top: 12px; }
    45     .sweet-alert button:focus, .sweet-alert button.cancel:focus {
     47    .swal-modal button:focus, .swal-modal button.cancel:focus {
    4648      box-shadow: 0 0 1px 2px rgba(88, 144, 255, 0.75), 0 1px 1px rgba(0, 0, 0, 0.15) !important; }
    47     .sweet-alert button.confirm {
     49    .swal-modal button.swal-button--confirm {
    4850      border: 1px solid #3d5586;
    4951      background-color: #47639c !important;
    5052      margin-left: 4px; }
    51     .sweet-alert button.cancel {
     53    .swal-modal button.cancel {
    5254      color: #4e5664;
    5355      background-color: #fafbfb;
     
    5658      box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.04) !important;
    5759      font-weight: 600; }
    58       .sweet-alert button.cancel:hover {
     60      .swal-modal button.cancel:hover {
    5961        background-color: #fafbfb; }
    60   .sweet-alert .sa-icon:not(.sa-custom) {
     62  .swal-modal .sa-icon:not(.sa-custom) {
    6163    transform: scale(0.7);
    6264    margin-bottom: -10px;
    6365    margin-top: -10px; }
    64   .sweet-alert input {
     66  .swal-modal input {
    6567    border: 1px solid #bdc7d8;
    6668    padding: 3px;
     
    7072    height: 33px;
    7173    margin: 10px 0; }
    72     .sweet-alert input:focus {
     74    .swal-modal input:focus {
    7375      box-shadow: 0 0 1px 2px rgba(88, 144, 255, 0.75), 0 1px 1px rgba(0, 0, 0, 0.15) !important; }
    74   .sweet-alert fieldset .sa-input-error {
     76  .swal-modal fieldset .sa-input-error {
    7577    display: none; }
    76   .sweet-alert .sa-error-container {
     78  .swal-modal .sa-error-container {
    7779    text-align: center;
    7880    background-color: #fdebe8;
    7981    margin: 0;
    8082    border: none; }
    81     .sweet-alert .sa-error-container.show {
     83    .swal-modal .sa-error-container.show {
    8284      margin: 14px;
    8385      margin-top: 0;
    8486      border: 1px solid #d5512d; }
    85     .sweet-alert .sa-error-container .icon {
     87    .swal-modal .sa-error-container .icon {
    8688      display: none; }
    87     .sweet-alert .sa-error-container p {
     89    .swal-modal .sa-error-container .swal-text {
    8890      color: #303b44;
    8991      margin-top: 3px; }
  • aspexi-sweet-popups/trunk/css/sweetalert-google.css

    r1294897 r1832129  
    22  background: rgba(10, 10, 10, 0.6); }
    33
    4 .sweet-alert {
     4.swal-modal {
    55  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    66  padding: 24px;
     
    1010  border-radius: 0;
    1111  box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48); }
    12   .sweet-alert h2 {
     12  .swal-modal .swal-title {
    1313    position: absolute;
    1414    top: 0;
     
    1919    color: #212121;
    2020    margin: 20px 0;
    21     font-size: 1.2em;
     21    font-size: 1.2rem;
    2222    line-height: 1.25;
    2323    text-align: left;
    2424    padding: 0 24px; }
    25   .sweet-alert p {
     25  .swal-modal .swal-text {
    2626    display: block;
    2727    text-align: center;
     
    2929    font-weight: 400;
    3030    font-size: 14px;
     31    line-height: 1.2rem;
    3132    margin: 20px 0; }
    32   .sweet-alert button {
     33  .swal-modal  .swal-footer {
     34    padding: 0; }
     35  .swal-modal button {
    3336    border-radius: 2px;
    3437    box-shadow: none !important;
     
    4144    position: relative;
    4245    margin-top: 0; }
    43     .sweet-alert button:hover, .sweet-alert button:focus {
     46    .swal-modal button:hover, .swal-modal button:focus {
    4447      background-color: #f6f6f6 !important; }
    45     .sweet-alert button.confirm {
     48    .swal-modal button.swal-button--confirm {
    4649      color: #3c80f6; }
    47     .sweet-alert button.cancel {
     50    .swal-modal button.cancel {
    4851      color: #757575; }
    49       .sweet-alert button.cancel:focus {
     52      .swal-modal button.cancel:focus {
    5053        box-shadow: none !important; }
    51   .sweet-alert .sa-icon:not(.sa-custom) {
     54  .swal-modal .sa-icon:not(.sa-custom) {
    5255    transform: scale(0.8);
    5356    margin-bottom: -10px;
    5457    margin-top: -10px; }
    55   .sweet-alert input {
     58  .swal-modal input {
    5659    border: none;
    5760    border-radius: 0;
     
    6568    font-size: 13px;
    6669    margin: 10px 0; }
    67     .sweet-alert input:focus {
     70    .swal-modal input:focus {
    6871      border: none;
    6972      border-bottom: 1px solid #3c80f6;
    7073      box-shadow: inset 0 -1px 0 #3c80f6; }
    71   .sweet-alert fieldset {
     74  .swal-modal fieldset {
    7275    padding: 0; }
    73     .sweet-alert fieldset .sa-input-error {
     76    .swal-modal fieldset .sa-input-error {
    7477      display: none; }
    75   .sweet-alert .sa-error-container {
     78  .swal-modal .sa-error-container {
    7679    display: none;
    7780    background: none;
     
    8083    margin: 0 -20px;
    8184    text-align: left; }
    82     .sweet-alert .sa-error-container.show {
     85    .swal-modal .sa-error-container.show {
    8386      padding: 0 24px;
    8487      display: block; }
    85       .sweet-alert .sa-error-container.show ~ fieldset input {
     88      .swal-modal .sa-error-container.show ~ fieldset input {
    8689        background: red;
    8790        border-bottom: 1px solid #d9453c;
    8891        box-shadow: inset 0 -1px 0 #d9453c; }
    89     .sweet-alert .sa-error-container .icon {
     92    .swal-modal .sa-error-container .icon {
    9093      display: none; }
    91     .sweet-alert .sa-error-container p {
     94    .swal-modal .sa-error-container .swal-text {
    9295      color: #d9453c;
    9396      margin-top: 0; }
  • aspexi-sweet-popups/trunk/css/sweetalert-twitter.css

    r1294897 r1832129  
    22  background: rgba(41, 47, 51, 0.9); }
    33
    4 .sweet-alert {
     4.swal-modal {
    55  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    66  padding: 15px;
     
    99  border-radius: 6px;
    1010  box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 6px 30px rgba(0, 0, 0, 0.14); }
    11   .sweet-alert h2 {
     11  .swal-modal .swal-title {
    1212    position: absolute;
    1313    top: 0;
    1414    left: 0;
    1515    right: 0;
    16     height: 40px;
    17     line-height: 40px;
    1816    font-size: 16px;
    1917    font-weight: 400;
     
    2220    color: #66757f;
    2321    border-bottom: 1px solid #e1e8ed; }
    24   .sweet-alert p {
     22  .swal-modal .swal-text {
    2523    display: block;
    2624    text-align: center;
     
    2826    font-weight: 400;
    2927    font-size: 13px;
    30     margin-top: 7px; }
    31   .sweet-alert .sa-button-container {
     28    line-height: 1.2rem;
     29    margin: 15px; }
     30  .swal-modal .swal-footer {
    3231    background-color: #f5f8fa;
    3332    border-top: 1px solid #e1e8ed;
     
    3534    margin: -15px;
    3635    margin-top: 0; }
    37   .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
     36  .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] {
    3837    padding-bottom: 10px; }
    39     .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] .sa-button-container {
     38    .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] .swal-footer {
    4039      display: none; }
    41   .sweet-alert button {
     40  .swal-modal button {
    4241    border-radius: 2px;
    4342    box-shadow: none !important;
    4443    text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3);
    45     margin: 17px 0px;
     44    /*margin: 17px 0px;*/
    4645    border-radius: 4px;
    4746    font-size: 14px;
     
    4948    padding: 8px 16px;
    5049    position: relative; }
    51     .sweet-alert button:focus, .sweet-alert button.cancel:focus {
     50    .swal-modal button:focus, .swal-modal button.cancel:focus {
    5251      box-shadow: none !important; }
    53       .sweet-alert button:focus::before, .sweet-alert button.cancel:focus::before {
     52      .swal-modal button:focus::before, .swal-modal button.cancel:focus::before {
    5453        content: "";
    5554        position: absolute;
     
    6059        border: 2px solid #a5b0b4;
    6160        border-radius: 8px; }
    62     .sweet-alert button.confirm {
     61    .swal-modal button.swal-button--confirm {
    6362      background-color: #55acee !important;
    6463      background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05));
     
    6766      box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15);
    6867      margin-right: 15px; }
    69       .sweet-alert button.confirm:hover {
     68      .swal-modal button.swal-button--confirm:hover {
    7069        background-color: #55acee;
    7170        background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.15));
    7271        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#26000000)";
    7372        border-color: #3b88c3; }
    74     .sweet-alert button.cancel {
     73    .swal-modal button.cancel {
    7574      color: #66757e;
    7675      background-color: #f5f8fa;
     
    7978      margin-right: 9px;
    8079      border: 1px solid #e1e8ed; }
    81       .sweet-alert button.cancel:hover, .sweet-alert button.cancel:focus:hover {
     80      .swal-modal button.cancel:hover, .swal-modal button.cancel:focus:hover {
    8281        background-color: #e1e8ed;
    8382        background-image: linear-gradient(#fff, #e1e8ed);
    8483        -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)";
    8584        border-color: #e1e8ed; }
    86       .sweet-alert button.cancel:focus {
     85      .swal-modal button.cancel:focus {
    8786        background: #fff;
    8887        border-color: #fff; }
    89   .sweet-alert .sa-icon:not(.sa-custom) {
     88  .swal-modal .sa-icon:not(.sa-custom) {
    9089    transform: scale(0.72);
    9190    margin-bottom: -2px;
    9291    margin-top: -10px; }
    93   .sweet-alert input {
     92  .swal-modal input {
    9493    border: 1px solid #e1e8ed;
    9594    border-radius: 3px;
     
    9998    font-size: 13px;
    10099    margin: 10px 0; }
    101     .sweet-alert input:focus {
     100    .swal-modal input:focus {
    102101      border-color: #94A1A6;
    103102      box-shadow: inset 0 0 0 1px rgba(77, 99, 107, 0.7); }
    104   .sweet-alert fieldset .sa-input-error {
     103  .swal-modal fieldset .sa-input-error {
    105104    display: none; }
    106   .sweet-alert .sa-error-container {
     105  .swal-modal .sa-error-container {
    107106    text-align: center;
    108107    border: none;
    109108    background-color: #fbedc0;
    110109    margin-bottom: 6px; }
    111     .sweet-alert .sa-error-container.show {
     110    .swal-modal .sa-error-container.show {
    112111      border: 1px solid #f0e1b9; }
    113     .sweet-alert .sa-error-container .icon {
     112    .swal-modal .sa-error-container .icon {
    114113      display: none; }
    115     .sweet-alert .sa-error-container p {
     114    .swal-modal .sa-error-container .swal-text {
    116115      color: #292f33;
    117116      font-weight: 600;
  • aspexi-sweet-popups/trunk/css/sweetalert.css

    r1294897 r1832129  
     1.swal-text,
     2.swal-footer {
     3  text-align: center;
     4}
     5
    16body.stop-scrolling {
    27  height: 100%;
     
    1722  z-index: 10000; }
    1823
    19 .sweet-alert {
     24.swal-modal {
    2025  background-color: white;
    2126  font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    22   width: 478px;
     27  width: 500px;
    2328  padding: 17px;
    2429  border-radius: 5px;
     
    2732  left: 50%;
    2833  top: 50%;
    29   margin-left: -256px;
     34  margin-left: -250px;
    3035  margin-top: -200px;
    31   overflow: hidden;
    32   display: none;
     36  /*overflow: hidden;*/
     37  /*display: none;*/
    3338  z-index: 99999; }
    3439  @media all and (max-width: 540px) {
    35     .sweet-alert {
     40    .swal-modal {
    3641      width: auto;
    3742      margin-left: 0;
     
    3944      left: 15px;
    4045      right: 15px; } }
    41   .sweet-alert h2 {
     46  .swal-modal h2 {
    4247    color: #575757;
    4348    font-size: 30px;
     
    5055    line-height: 40px;
    5156    display: block; }
    52   .sweet-alert p {
     57  .swal-modal p {
    5358    color: #797979;
    5459    font-size: 16px;
     
    6166    padding: 0;
    6267    line-height: normal; }
    63   .sweet-alert fieldset {
     68  .swal-modal fieldset {
     69    display: none;
    6470    border: none;
    6571    position: relative; }
    66   .sweet-alert .sa-error-container {
     72  .swal-modal .sa-error-container {
    6773    background-color: #f1f1f1;
    6874    margin-left: -17px;
     
    7379    webkit-transition: padding 0.15s, max-height 0.15s;
    7480    transition: padding 0.15s, max-height 0.15s; }
    75     .sweet-alert .sa-error-container.show {
     81    .swal-modal .sa-error-container.show {
    7682      padding: 10px 0;
    7783      max-height: 100px;
    7884      webkit-transition: padding 0.2s, max-height 0.2s;
    7985      transition: padding 0.25s, max-height 0.25s; }
    80     .sweet-alert .sa-error-container .icon {
     86    .swal-modal .sa-error-container .icon {
    8187      display: inline-block;
    8288      width: 24px;
     
    8894      text-align: center;
    8995      margin-right: 3px; }
    90     .sweet-alert .sa-error-container p {
     96    .swal-modal .sa-error-container p {
    9197      display: inline-block; }
    92   .sweet-alert .sa-input-error {
     98  .swal-modal .sa-input-error {
    9399    position: absolute;
    94100    top: 29px;
     
    103109    -webkit-transition: all 0.1s;
    104110    transition: all 0.1s; }
    105     .sweet-alert .sa-input-error::before, .sweet-alert .sa-input-error::after {
     111    .swal-modal .sa-input-error::before, .swal-modal .sa-input-error::after {
    106112      content: "";
    107113      width: 20px;
     
    114120      left: 50%;
    115121      margin-left: -9px; }
    116     .sweet-alert .sa-input-error::before {
     122    .swal-modal .sa-input-error::before {
    117123      -webkit-transform: rotate(-45deg);
    118124      transform: rotate(-45deg); }
    119     .sweet-alert .sa-input-error::after {
     125    .swal-modal .sa-input-error::after {
    120126      -webkit-transform: rotate(45deg);
    121127      transform: rotate(45deg); }
    122     .sweet-alert .sa-input-error.show {
     128    .swal-modal .sa-input-error.show {
    123129      opacity: 1;
    124130      -webkit-transform: scale(1);
    125131      transform: scale(1); }
    126   .sweet-alert input {
     132  .swal-modal input {
    127133    width: 100%;
    128134    box-sizing: border-box;
     
    135141    box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06);
    136142    padding: 0 12px;
    137     display: none;
     143    display: block;
    138144    -webkit-transition: all 0.3s;
    139145    transition: all 0.3s; }
    140     .sweet-alert input:focus {
     146    .swal-modal input:focus {
    141147      outline: none;
    142148      box-shadow: 0px 0px 3px #c4e6f5;
    143149      border: 1px solid #b4dbed; }
    144       .sweet-alert input:focus::-moz-placeholder {
     150      .swal-modal input:focus::-moz-placeholder {
    145151        transition: opacity 0.3s 0.03s ease;
    146152        opacity: 0.5; }
    147       .sweet-alert input:focus:-ms-input-placeholder {
     153      .swal-modal input:focus:-ms-input-placeholder {
    148154        transition: opacity 0.3s 0.03s ease;
    149155        opacity: 0.5; }
    150       .sweet-alert input:focus::-webkit-input-placeholder {
     156      .swal-modal input:focus::-webkit-input-placeholder {
    151157        transition: opacity 0.3s 0.03s ease;
    152158        opacity: 0.5; }
    153     .sweet-alert input::-moz-placeholder {
     159    .swal-modal input::-moz-placeholder {
    154160      color: #bdbdbd; }
    155     .sweet-alert input:-ms-input-placeholder {
     161    .swal-modal input:-ms-input-placeholder {
    156162      color: #bdbdbd; }
    157     .sweet-alert input::-webkit-input-placeholder {
     163    .swal-modal input::-webkit-input-placeholder {
    158164      color: #bdbdbd; }
    159   .sweet-alert.show-input input {
     165  .swal-modal.show-input input {
    160166    display: block; }
    161   .sweet-alert .sa-confirm-button-container {
     167  .swal-modal .sa-confirm-button-container {
    162168    display: inline-block;
    163169    position: relative; }
    164   .sweet-alert .la-ball-fall {
     170  .swal-modal .la-ball-fall {
    165171    position: absolute;
    166172    left: 50%;
     
    170176    opacity: 0;
    171177    visibility: hidden; }
    172   .sweet-alert button {
     178  .swal-modal button {
    173179    background-color: #8CD4F5;
    174180    color: white;
     
    182188    margin: 26px 5px 0 5px;
    183189    cursor: pointer; }
    184     .sweet-alert button:focus {
     190    .swal-modal button:focus {
    185191      outline: none;
    186192      box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); }
    187     .sweet-alert button:hover {
     193    .swal-modal button:hover {
    188194      background-color: #7ecff4; }
    189     .sweet-alert button:active {
     195    .swal-modal button:active {
    190196      background-color: #5dc2f1; }
    191     .sweet-alert button.cancel {
     197    .swal-modal button.cancel {
    192198      background-color: #C1C1C1; }
    193       .sweet-alert button.cancel:hover {
     199      .swal-modal button.cancel:hover {
    194200        background-color: #b9b9b9; }
    195       .sweet-alert button.cancel:active {
     201      .swal-modal button.cancel:active {
    196202        background-color: #a8a8a8; }
    197       .sweet-alert button.cancel:focus {
     203      .swal-modal button.cancel:focus {
    198204        box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; }
    199     .sweet-alert button[disabled] {
     205    .swal-modal button[disabled] {
    200206      opacity: .6;
    201207      cursor: default; }
    202     .sweet-alert button.confirm[disabled] {
     208    .swal-modal button.confirm[disabled] {
    203209      color: transparent; }
    204       .sweet-alert button.confirm[disabled] ~ .la-ball-fall {
     210      .swal-modal button.confirm[disabled] ~ .la-ball-fall {
    205211        opacity: 1;
    206212        visibility: visible;
    207213        transition-delay: 0s; }
    208     .sweet-alert button::-moz-focus-inner {
     214    .swal-modal button::-moz-focus-inner {
    209215      border: 0; }
    210   .sweet-alert[data-has-cancel-button=false] button {
     216  .swal-modal[data-has-cancel-button=false] button {
    211217    box-shadow: none !important; }
    212   .sweet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {
     218  .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] {
    213219    padding-bottom: 40px; }
    214   .sweet-alert .sa-icon {
     220  .swal-modal .sa-icon {
    215221    width: 80px;
    216222    height: 80px;
     
    223229    position: relative;
    224230    box-sizing: content-box; }
    225     .sweet-alert .sa-icon.sa-error {
     231    .swal-modal .sa-icon.sa-error {
    226232      border-color: #F27474; }
    227       .sweet-alert .sa-icon.sa-error .sa-x-mark {
     233      .swal-modal .sa-icon.sa-error .sa-x-mark {
    228234        position: relative;
    229235        display: block; }
    230       .sweet-alert .sa-icon.sa-error .sa-line {
     236      .swal-modal .sa-icon.sa-error .sa-line {
    231237        position: absolute;
    232238        height: 5px;
     
    236242        top: 37px;
    237243        border-radius: 2px; }
    238         .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
     244        .swal-modal .sa-icon.sa-error .sa-line.sa-left {
    239245          -webkit-transform: rotate(45deg);
    240246          transform: rotate(45deg);
    241247          left: 17px; }
    242         .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
     248        .swal-modal .sa-icon.sa-error .sa-line.sa-right {
    243249          -webkit-transform: rotate(-45deg);
    244250          transform: rotate(-45deg);
    245251          right: 16px; }
    246     .sweet-alert .sa-icon.sa-warning {
     252    .swal-modal .sa-icon.sa-warning {
    247253      border-color: #F8BB86; }
    248       .sweet-alert .sa-icon.sa-warning .sa-body {
     254      .swal-modal .sa-icon.sa-warning .sa-body {
    249255        position: absolute;
    250256        width: 5px;
     
    256262        margin-left: -2px;
    257263        background-color: #F8BB86; }
    258       .sweet-alert .sa-icon.sa-warning .sa-dot {
     264      .swal-modal .sa-icon.sa-warning .sa-dot {
    259265        position: absolute;
    260266        width: 7px;
     
    266272        bottom: 10px;
    267273        background-color: #F8BB86; }
    268     .sweet-alert .sa-icon.sa-info {
     274    .swal-modal .sa-icon.sa-info {
    269275      border-color: #C9DAE1; }
    270       .sweet-alert .sa-icon.sa-info::before {
     276      .swal-modal .sa-icon.sa-info::before {
    271277        content: "";
    272278        position: absolute;
     
    278284        margin-left: -2px;
    279285        background-color: #C9DAE1; }
    280       .sweet-alert .sa-icon.sa-info::after {
     286      .swal-modal .sa-icon.sa-info::after {
    281287        left: 50%;
    282288        content: "";
     
    288294        top: 19px;
    289295        background-color: #C9DAE1; }
    290     .sweet-alert .sa-icon.sa-success {
     296    .swal-modal .sa-icon.sa-success {
    291297      border-color: #A5DC86; }
    292       .sweet-alert .sa-icon.sa-success::before, .sweet-alert .sa-icon.sa-success::after {
     298      .swal-modal .sa-icon.sa-success::before, .swal-modal .sa-icon.sa-success::after {
    293299        content: '';
    294300        -webkit-border-radius: 40px;
     
    301307        -webkit-transform: rotate(45deg);
    302308        transform: rotate(45deg); }
    303       .sweet-alert .sa-icon.sa-success::before {
     309      .swal-modal .sa-icon.sa-success::before {
    304310        -webkit-border-radius: 120px 0 0 120px;
    305311        border-radius: 120px 0 0 120px;
     
    310316        -webkit-transform-origin: 60px 60px;
    311317        transform-origin: 60px 60px; }
    312       .sweet-alert .sa-icon.sa-success::after {
     318      .swal-modal .sa-icon.sa-success::after {
    313319        -webkit-border-radius: 0 120px 120px 0;
    314320        border-radius: 0 120px 120px 0;
     
    319325        -webkit-transform-origin: 0px 60px;
    320326        transform-origin: 0px 60px; }
    321       .sweet-alert .sa-icon.sa-success .sa-placeholder {
     327      .swal-modal .sa-icon.sa-success .sa-placeholder {
    322328        width: 80px;
    323329        height: 80px;
     
    331337        top: -4px;
    332338        z-index: 2; }
    333       .sweet-alert .sa-icon.sa-success .sa-fix {
     339      .swal-modal .sa-icon.sa-success .sa-fix {
    334340        width: 5px;
    335341        height: 90px;
     
    341347        -webkit-transform: rotate(-45deg);
    342348        transform: rotate(-45deg); }
    343       .sweet-alert .sa-icon.sa-success .sa-line {
     349      .swal-modal .sa-icon.sa-success .sa-line {
    344350        height: 5px;
    345351        background-color: #A5DC86;
     
    348354        position: absolute;
    349355        z-index: 2; }
    350         .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
     356        .swal-modal .sa-icon.sa-success .sa-line.sa-tip {
    351357          width: 25px;
    352358          left: 14px;
     
    354360          -webkit-transform: rotate(45deg);
    355361          transform: rotate(45deg); }
    356         .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
     362        .swal-modal .sa-icon.sa-success .sa-line.sa-long {
    357363          width: 47px;
    358364          right: 8px;
     
    360366          -webkit-transform: rotate(-45deg);
    361367          transform: rotate(-45deg); }
    362     .sweet-alert .sa-icon.sa-custom {
     368    .swal-modal .sa-icon.sa-custom {
    363369      background-size: contain;
    364370      border-radius: 0;
     
    732738/* This file is automatically merged into sweet-alert.min.js through Gulp */
    733739/* Error icon */
    734 .sweet-alert .sa-icon.sa-error .sa-line.sa-left {
     740.swal-modal .sa-icon.sa-error .sa-line.sa-left {
    735741  -ms-transform: rotate(45deg) \9; }
    736742
    737 .sweet-alert .sa-icon.sa-error .sa-line.sa-right {
     743.swal-modal .sa-icon.sa-error .sa-line.sa-right {
    738744  -ms-transform: rotate(-45deg) \9; }
    739745
    740746/* Success icon */
    741 .sweet-alert .sa-icon.sa-success {
     747.swal-modal .sa-icon.sa-success {
    742748  border-color: transparent\9; }
    743749
    744 .sweet-alert .sa-icon.sa-success .sa-line.sa-tip {
     750.swal-modal .sa-icon.sa-success .sa-line.sa-tip {
    745751  -ms-transform: rotate(45deg) \9; }
    746752
    747 .sweet-alert .sa-icon.sa-success .sa-line.sa-long {
     753.swal-modal .sa-icon.sa-success .sa-line.sa-long {
    748754  -ms-transform: rotate(-45deg) \9; }
    749755
  • aspexi-sweet-popups/trunk/js/asp-admin.js

    r1294897 r1832129  
    11jQuery(document).ready(function() {
    2     var previewButton = jQuery('#previewbutton');
     2    var previewButton = jQuery('.previewbutton');
    33
    44    previewButton.on('click', function(event) {
     
    3030            title: jQuery('input[name="asp_title"]').val(),
    3131            text: asp_nl2br( jQuery('textarea[name="asp_content"]').val() ),
    32             type: type,
     32            icon: type,
    3333            html: true
    3434        });
     
    4242        }
    4343    });
     44
     45    var fields = jQuery(':input').serializeArray();
     46
     47    // jQuery(window).on('beforeunload', function() {
     48    //     var newFields = jQuery(':input').serializeArray();
     49    //
     50    //     var inputChanged = false;
     51    //
     52    //     jQuery.each(newFields, function() {
     53    //         var newFieldName = this.name;
     54    //         var newFieldValue = this.value;
     55    //         jQuery.each(fields, function() {
     56    //             if (this.name == newFieldName && this.value != newFieldValue)
     57    //                 inputChanged = true;
     58    //         });
     59    //     });
     60    //
     61    //     if (inputChanged)
     62    //         return false;
     63    // });
     64
     65    jQuery('a').on('click', function(event) {
     66        var newFields = jQuery(':input').serializeArray();
     67
     68        var inputChanged = false;
     69
     70        jQuery.each(newFields, function() {
     71            var newFieldName = this.name;
     72            var newFieldValue = this.value;
     73            jQuery.each(fields, function() {
     74                if (this.name == newFieldName && this.value != newFieldValue)
     75                    inputChanged = true;
     76            });
     77        });
     78
     79        var that = this;
     80        if (inputChanged) {
     81            event.preventDefault();
     82
     83            swal({
     84                title: asp.nav_tab_changed_title,
     85                text: asp.nav_tab_changed_text,
     86                type: "warning",
     87                showCancelButton: true,
     88                confirmButtonText: asp.nav_tab_changed_yes,
     89                cancelButtonText: asp.nav_tab_changed_no
     90            }, function(isConfirm) {
     91                if (isConfirm == true)
     92                    sweetAlert.close();
     93                else {
     94                    window.location = jQuery(that).attr('href');
     95                }
     96            });
     97        }
     98    });
    4499});
    45100
  • aspexi-sweet-popups/trunk/js/asp.js

    r1288476 r1832129  
    44            title: asp.title,
    55            text: asp.content,
    6             type: (asp.icon_type != 'empty') ? asp.icon_type : '',
     6            icon: (asp.icon_type != 'empty') ? asp.icon_type : '',
    77            html: asp.html
    88        });
  • aspexi-sweet-popups/trunk/js/sweetalert.min.js

    r1288476 r1832129  
    1 !function(e,t,n){"use strict";!function o(e,t,n){function a(s,l){if(!t[s]){if(!e[s]){var i="function"==typeof require&&require;if(!l&&i)return i(s,!0);if(r)return r(s,!0);var u=new Error("Cannot find module '"+s+"'");throw u.code="MODULE_NOT_FOUND",u}var c=t[s]={exports:{}};e[s][0].call(c.exports,function(t){var n=e[s][1][t];return a(n?n:t)},c,c.exports,o,e,t,n)}return t[s].exports}for(var r="function"==typeof require&&require,s=0;s<n.length;s++)a(n[s]);return a}({1:[function(o,a,r){var s=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(r,"__esModule",{value:!0});var l,i,u,c,d=o("./modules/handle-dom"),f=o("./modules/utils"),p=o("./modules/handle-swal-dom"),m=o("./modules/handle-click"),v=o("./modules/handle-key"),y=s(v),h=o("./modules/default-params"),b=s(h),g=o("./modules/set-params"),w=s(g);r["default"]=u=c=function(){function o(e){var t=a;return t[e]===n?b["default"][e]:t[e]}var a=arguments[0];if(d.addClass(t.body,"stop-scrolling"),p.resetInput(),a===n)return f.logStr("SweetAlert expects at least 1 attribute!"),!1;var r=f.extend({},b["default"]);switch(typeof a){case"string":r.title=a,r.text=arguments[1]||"",r.type=arguments[2]||"";break;case"object":if(a.title===n)return f.logStr('Missing "title" argument!'),!1;r.title=a.title;for(var s in b["default"])r[s]=o(s);r.confirmButtonText=r.showCancelButton?"Confirm":b["default"].confirmButtonText,r.confirmButtonText=o("confirmButtonText"),r.doneFunction=arguments[1]||null;break;default:return f.logStr('Unexpected type of argument! Expected "string" or "object", got '+typeof a),!1}w["default"](r),p.fixVerticalPosition(),p.openModal(arguments[1]);for(var u=p.getModal(),v=u.querySelectorAll("button"),h=["onclick","onmouseover","onmouseout","onmousedown","onmouseup","onfocus"],g=function(e){return m.handleButton(e,r,u)},C=0;C<v.length;C++)for(var S=0;S<h.length;S++){var x=h[S];v[C][x]=g}p.getOverlay().onclick=g,l=e.onkeydown;var k=function(e){return y["default"](e,r,u)};e.onkeydown=k,e.onfocus=function(){setTimeout(function(){i!==n&&(i.focus(),i=n)},0)},c.enableButtons()},u.setDefaults=c.setDefaults=function(e){if(!e)throw new Error("userParams is required");if("object"!=typeof e)throw new Error("userParams has to be a object");f.extend(b["default"],e)},u.close=c.close=function(){var o=p.getModal();d.fadeOut(p.getOverlay(),5),d.fadeOut(o,5),d.removeClass(o,"showSweetAlert"),d.addClass(o,"hideSweetAlert"),d.removeClass(o,"visible");var a=o.querySelector(".sa-icon.sa-success");d.removeClass(a,"animate"),d.removeClass(a.querySelector(".sa-tip"),"animateSuccessTip"),d.removeClass(a.querySelector(".sa-long"),"animateSuccessLong");var r=o.querySelector(".sa-icon.sa-error");d.removeClass(r,"animateErrorIcon"),d.removeClass(r.querySelector(".sa-x-mark"),"animateXMark");var s=o.querySelector(".sa-icon.sa-warning");return d.removeClass(s,"pulseWarning"),d.removeClass(s.querySelector(".sa-body"),"pulseWarningIns"),d.removeClass(s.querySelector(".sa-dot"),"pulseWarningIns"),setTimeout(function(){var e=o.getAttribute("data-custom-class");d.removeClass(o,e)},300),d.removeClass(t.body,"stop-scrolling"),e.onkeydown=l,e.previousActiveElement&&e.previousActiveElement.focus(),i=n,clearTimeout(o.timeout),!0},u.showInputError=c.showInputError=function(e){var t=p.getModal(),n=t.querySelector(".sa-input-error");d.addClass(n,"show");var o=t.querySelector(".sa-error-container");d.addClass(o,"show"),o.querySelector("p").innerHTML=e,setTimeout(function(){u.enableButtons()},1),t.querySelector("input").focus()},u.resetInputError=c.resetInputError=function(e){if(e&&13===e.keyCode)return!1;var t=p.getModal(),n=t.querySelector(".sa-input-error");d.removeClass(n,"show");var o=t.querySelector(".sa-error-container");d.removeClass(o,"show")},u.disableButtons=c.disableButtons=function(){var e=p.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!0,n.disabled=!0},u.enableButtons=c.enableButtons=function(){var e=p.getModal(),t=e.querySelector("button.confirm"),n=e.querySelector("button.cancel");t.disabled=!1,n.disabled=!1},"undefined"!=typeof e?e.sweetAlert=e.swal=u:f.logStr("SweetAlert is a frontend module!"),a.exports=r["default"]},{"./modules/default-params":2,"./modules/handle-click":3,"./modules/handle-dom":4,"./modules/handle-key":5,"./modules/handle-swal-dom":6,"./modules/set-params":8,"./modules/utils":9}],2:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var o={title:"",text:"",type:null,allowOutsideClick:!1,showConfirmButton:!0,showCancelButton:!1,closeOnConfirm:!0,closeOnCancel:!0,confirmButtonText:"OK",confirmButtonColor:"#8CD4F5",cancelButtonText:"Cancel",imageUrl:null,imageSize:null,timer:null,customClass:"",html:!1,animation:!0,allowEscapeKey:!0,inputType:"text",inputPlaceholder:"",inputValue:"",showLoaderOnConfirm:!1};n["default"]=o,t.exports=n["default"]},{}],3:[function(t,n,o){Object.defineProperty(o,"__esModule",{value:!0});var a=t("./utils"),r=(t("./handle-swal-dom"),t("./handle-dom")),s=function(t,n,o){function s(e){m&&n.confirmButtonColor&&(p.style.backgroundColor=e)}var u,c,d,f=t||e.event,p=f.target||f.srcElement,m=-1!==p.className.indexOf("confirm"),v=-1!==p.className.indexOf("sweet-overlay"),y=r.hasClass(o,"visible"),h=n.doneFunction&&"true"===o.getAttribute("data-has-done-function");switch(m&&n.confirmButtonColor&&(u=n.confirmButtonColor,c=a.colorLuminance(u,-.04),d=a.colorLuminance(u,-.14)),f.type){case"mouseover":s(c);break;case"mouseout":s(u);break;case"mousedown":s(d);break;case"mouseup":s(c);break;case"focus":var b=o.querySelector("button.confirm"),g=o.querySelector("button.cancel");m?g.style.boxShadow="none":b.style.boxShadow="none";break;case"click":var w=o===p,C=r.isDescendant(o,p);if(!w&&!C&&y&&!n.allowOutsideClick)break;m&&h&&y?l(o,n):h&&y||v?i(o,n):r.isDescendant(o,p)&&"BUTTON"===p.tagName&&sweetAlert.close()}},l=function(e,t){var n=!0;r.hasClass(e,"show-input")&&(n=e.querySelector("input").value,n||(n="")),t.doneFunction(n),t.closeOnConfirm&&sweetAlert.close(),t.showLoaderOnConfirm&&sweetAlert.disableButtons()},i=function(e,t){var n=String(t.doneFunction).replace(/\s/g,""),o="function("===n.substring(0,9)&&")"!==n.substring(9,10);o&&t.doneFunction(!1),t.closeOnCancel&&sweetAlert.close()};o["default"]={handleButton:s,handleConfirm:l,handleCancel:i},n.exports=o["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],4:[function(n,o,a){Object.defineProperty(a,"__esModule",{value:!0});var r=function(e,t){return new RegExp(" "+t+" ").test(" "+e.className+" ")},s=function(e,t){r(e,t)||(e.className+=" "+t)},l=function(e,t){var n=" "+e.className.replace(/[\t\r\n]/g," ")+" ";if(r(e,t)){for(;n.indexOf(" "+t+" ")>=0;)n=n.replace(" "+t+" "," ");e.className=n.replace(/^\s+|\s+$/g,"")}},i=function(e){var n=t.createElement("div");return n.appendChild(t.createTextNode(e)),n.innerHTML},u=function(e){e.style.opacity="",e.style.display="block"},c=function(e){if(e&&!e.length)return u(e);for(var t=0;t<e.length;++t)u(e[t])},d=function(e){e.style.opacity="",e.style.display="none"},f=function(e){if(e&&!e.length)return d(e);for(var t=0;t<e.length;++t)d(e[t])},p=function(e,t){for(var n=t.parentNode;null!==n;){if(n===e)return!0;n=n.parentNode}return!1},m=function(e){e.style.left="-9999px",e.style.display="block";var t,n=e.clientHeight;return t="undefined"!=typeof getComputedStyle?parseInt(getComputedStyle(e).getPropertyValue("padding-top"),10):parseInt(e.currentStyle.padding),e.style.left="",e.style.display="none","-"+parseInt((n+t)/2)+"px"},v=function(e,t){if(+e.style.opacity<1){t=t||16,e.style.opacity=0,e.style.display="block";var n=+new Date,o=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity+(new Date-n)/100,n=+new Date,+e.style.opacity<1&&setTimeout(o,t)});o()}e.style.display="block"},y=function(e,t){t=t||16,e.style.opacity=1;var n=+new Date,o=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){e.style.opacity=+e.style.opacity-(new Date-n)/100,n=+new Date,+e.style.opacity>0?setTimeout(o,t):e.style.display="none"});o()},h=function(n){if("function"==typeof MouseEvent){var o=new MouseEvent("click",{view:e,bubbles:!1,cancelable:!0});n.dispatchEvent(o)}else if(t.createEvent){var a=t.createEvent("MouseEvents");a.initEvent("click",!1,!1),n.dispatchEvent(a)}else t.createEventObject?n.fireEvent("onclick"):"function"==typeof n.onclick&&n.onclick()},b=function(t){"function"==typeof t.stopPropagation?(t.stopPropagation(),t.preventDefault()):e.event&&e.event.hasOwnProperty("cancelBubble")&&(e.event.cancelBubble=!0)};a.hasClass=r,a.addClass=s,a.removeClass=l,a.escapeHtml=i,a._show=u,a.show=c,a._hide=d,a.hide=f,a.isDescendant=p,a.getTopMargin=m,a.fadeIn=v,a.fadeOut=y,a.fireClick=h,a.stopEventPropagation=b},{}],5:[function(t,o,a){Object.defineProperty(a,"__esModule",{value:!0});var r=t("./handle-dom"),s=t("./handle-swal-dom"),l=function(t,o,a){var l=t||e.event,i=l.keyCode||l.which,u=a.querySelector("button.confirm"),c=a.querySelector("button.cancel"),d=a.querySelectorAll("button[tabindex]");if(-1!==[9,13,32,27].indexOf(i)){for(var f=l.target||l.srcElement,p=-1,m=0;m<d.length;m++)if(f===d[m]){p=m;break}9===i?(f=-1===p?u:p===d.length-1?d[0]:d[p+1],r.stopEventPropagation(l),f.focus(),o.confirmButtonColor&&s.setFocusStyle(f,o.confirmButtonColor)):13===i?("INPUT"===f.tagName&&(f=u,u.focus()),f=-1===p?u:n):27===i&&o.allowEscapeKey===!0?(f=c,r.fireClick(f,l)):f=n}};a["default"]=l,o.exports=a["default"]},{"./handle-dom":4,"./handle-swal-dom":6}],6:[function(n,o,a){var r=function(e){return e&&e.__esModule?e:{"default":e}};Object.defineProperty(a,"__esModule",{value:!0});var s=n("./utils"),l=n("./handle-dom"),i=n("./default-params"),u=r(i),c=n("./injected-html"),d=r(c),f=".sweet-alert",p=".sweet-overlay",m=function(){var e=t.createElement("div");for(e.innerHTML=d["default"];e.firstChild;)t.body.appendChild(e.firstChild)},v=function(e){function t(){return e.apply(this,arguments)}return t.toString=function(){return e.toString()},t}(function(){var e=t.querySelector(f);return e||(m(),e=v()),e}),y=function(){var e=v();return e?e.querySelector("input"):void 0},h=function(){return t.querySelector(p)},b=function(e,t){var n=s.hexToRgb(t);e.style.boxShadow="0 0 2px rgba("+n+", 0.8), inset 0 0 0 1px rgba(0, 0, 0, 0.05)"},g=function(n){var o=v();l.fadeIn(h(),10),l.show(o),l.addClass(o,"showSweetAlert"),l.removeClass(o,"hideSweetAlert"),e.previousActiveElement=t.activeElement;var a=o.querySelector("button.confirm");a.focus(),setTimeout(function(){l.addClass(o,"visible")},500);var r=o.getAttribute("data-timer");if("null"!==r&&""!==r){var s=n;o.timeout=setTimeout(function(){var e=(s||null)&&"true"===o.getAttribute("data-has-done-function");e?s(null):sweetAlert.close()},r)}},w=function(){var e=v(),t=y();l.removeClass(e,"show-input"),t.value=u["default"].inputValue,t.setAttribute("type",u["default"].inputType),t.setAttribute("placeholder",u["default"].inputPlaceholder),C()},C=function(e){if(e&&13===e.keyCode)return!1;var t=v(),n=t.querySelector(".sa-input-error");l.removeClass(n,"show");var o=t.querySelector(".sa-error-container");l.removeClass(o,"show")},S=function(){var e=v();e.style.marginTop=l.getTopMargin(v())};a.sweetAlertInitialize=m,a.getModal=v,a.getOverlay=h,a.getInput=y,a.setFocusStyle=b,a.openModal=g,a.resetInput=w,a.resetInputError=C,a.fixVerticalPosition=S},{"./default-params":2,"./handle-dom":4,"./injected-html":7,"./utils":9}],7:[function(e,t,n){Object.defineProperty(n,"__esModule",{value:!0});var o='<div class="sweet-overlay" tabIndex="-1"></div><div class="sweet-alert"><div class="sa-icon sa-error">\n      <span class="sa-x-mark">\n        <span class="sa-line sa-left"></span>\n        <span class="sa-line sa-right"></span>\n      </span>\n    </div><div class="sa-icon sa-warning">\n      <span class="sa-body"></span>\n      <span class="sa-dot"></span>\n    </div><div class="sa-icon sa-info"></div><div class="sa-icon sa-success">\n      <span class="sa-line sa-tip"></span>\n      <span class="sa-line sa-long"></span>\n\n      <div class="sa-placeholder"></div>\n      <div class="sa-fix"></div>\n    </div><div class="sa-icon sa-custom"></div><h2>Title</h2>\n    <p>Text</p>\n    <fieldset>\n      <input type="text" tabIndex="3" />\n      <div class="sa-input-error"></div>\n    </fieldset><div class="sa-error-container">\n      <div class="icon">!</div>\n      <p>Not valid!</p>\n    </div><div class="sa-button-container">\n      <button class="cancel" tabIndex="2">Cancel</button>\n      <div class="sa-confirm-button-container">\n        <button class="confirm" tabIndex="1">OK</button><div class="la-ball-fall">\n          <div></div>\n          <div></div>\n          <div></div>\n        </div>\n      </div>\n    </div></div>';n["default"]=o,t.exports=n["default"]},{}],8:[function(e,t,o){Object.defineProperty(o,"__esModule",{value:!0});var a=e("./utils"),r=e("./handle-swal-dom"),s=e("./handle-dom"),l=["error","warning","info","success","input","prompt"],i=function(e){var t=r.getModal(),o=t.querySelector("h2"),i=t.querySelector("p"),u=t.querySelector("button.cancel"),c=t.querySelector("button.confirm");if(o.innerHTML=e.html?e.title:s.escapeHtml(e.title).split("\n").join("<br>"),i.innerHTML=e.html?e.text:s.escapeHtml(e.text||"").split("\n").join("<br>"),e.text&&s.show(i),e.customClass)s.addClass(t,e.customClass),t.setAttribute("data-custom-class",e.customClass);else{var d=t.getAttribute("data-custom-class");s.removeClass(t,d),t.setAttribute("data-custom-class","")}if(s.hide(t.querySelectorAll(".sa-icon")),e.type&&!a.isIE8()){var f=function(){for(var o=!1,a=0;a<l.length;a++)if(e.type===l[a]){o=!0;break}if(!o)return logStr("Unknown alert type: "+e.type),{v:!1};var i=["success","error","warning","info"],u=n;-1!==i.indexOf(e.type)&&(u=t.querySelector(".sa-icon.sa-"+e.type),s.show(u));var c=r.getInput();switch(e.type){case"success":s.addClass(u,"animate"),s.addClass(u.querySelector(".sa-tip"),"animateSuccessTip"),s.addClass(u.querySelector(".sa-long"),"animateSuccessLong");break;case"error":s.addClass(u,"animateErrorIcon"),s.addClass(u.querySelector(".sa-x-mark"),"animateXMark");break;case"warning":s.addClass(u,"pulseWarning"),s.addClass(u.querySelector(".sa-body"),"pulseWarningIns"),s.addClass(u.querySelector(".sa-dot"),"pulseWarningIns");break;case"input":case"prompt":c.setAttribute("type",e.inputType),c.value=e.inputValue,c.setAttribute("placeholder",e.inputPlaceholder),s.addClass(t,"show-input"),setTimeout(function(){c.focus(),c.addEventListener("keyup",swal.resetInputError)},400)}}();if("object"==typeof f)return f.v}if(e.imageUrl){var p=t.querySelector(".sa-icon.sa-custom");p.style.backgroundImage="url("+e.imageUrl+")",s.show(p);var m=80,v=80;if(e.imageSize){var y=e.imageSize.toString().split("x"),h=y[0],b=y[1];h&&b?(m=h,v=b):logStr("Parameter imageSize expects value with format WIDTHxHEIGHT, got "+e.imageSize)}p.setAttribute("style",p.getAttribute("style")+"width:"+m+"px; height:"+v+"px")}t.setAttribute("data-has-cancel-button",e.showCancelButton),e.showCancelButton?u.style.display="inline-block":s.hide(u),t.setAttribute("data-has-confirm-button",e.showConfirmButton),e.showConfirmButton?c.style.display="inline-block":s.hide(c),e.cancelButtonText&&(u.innerHTML=s.escapeHtml(e.cancelButtonText)),e.confirmButtonText&&(c.innerHTML=s.escapeHtml(e.confirmButtonText)),e.confirmButtonColor&&(c.style.backgroundColor=e.confirmButtonColor,c.style.borderLeftColor=e.confirmLoadingButtonColor,c.style.borderRightColor=e.confirmLoadingButtonColor,r.setFocusStyle(c,e.confirmButtonColor)),t.setAttribute("data-allow-outside-click",e.allowOutsideClick);var g=e.doneFunction?!0:!1;t.setAttribute("data-has-done-function",g),e.animation?"string"==typeof e.animation?t.setAttribute("data-animation",e.animation):t.setAttribute("data-animation","pop"):t.setAttribute("data-animation","none"),t.setAttribute("data-timer",e.timer)};o["default"]=i,t.exports=o["default"]},{"./handle-dom":4,"./handle-swal-dom":6,"./utils":9}],9:[function(t,n,o){Object.defineProperty(o,"__esModule",{value:!0});var a=function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},r=function(e){var t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?parseInt(t[1],16)+", "+parseInt(t[2],16)+", "+parseInt(t[3],16):null},s=function(){return e.attachEvent&&!e.addEventListener},l=function(t){e.console&&e.console.log("SweetAlert: "+t)},i=function(e,t){e=String(e).replace(/[^0-9a-f]/gi,""),e.length<6&&(e=e[0]+e[0]+e[1]+e[1]+e[2]+e[2]),t=t||0;var n,o,a="#";for(o=0;3>o;o++)n=parseInt(e.substr(2*o,2),16),n=Math.round(Math.min(Math.max(0,n+n*t),255)).toString(16),a+=("00"+n).substr(n.length);return a};o.extend=a,o.hexToRgb=r,o.isIE8=s,o.logStr=l,o.colorLuminance=i},{}]},{},[1]),"function"==typeof define&&define.amd?define(function(){return sweetAlert}):"undefined"!=typeof module&&module.exports&&(module.exports=sweetAlert)}(window,document);
     1!function(t,e){"object"==typeof exports&&"object"==typeof module?module.exports=e():"function"==typeof define&&define.amd?define([],e):"object"==typeof exports?exports.swal=e():t.swal=e()}(this,function(){return function(t){function e(o){if(n[o])return n[o].exports;var r=n[o]={i:o,l:!1,exports:{}};return t[o].call(r.exports,r,r.exports,e),r.l=!0,r.exports}var n={};return e.m=t,e.c=n,e.d=function(t,n,o){e.o(t,n)||Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:o})},e.n=function(t){var n=t&&t.__esModule?function(){return t.default}:function(){return t};return e.d(n,"a",n),n},e.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},e.p="",e(e.s=8)}([function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o="swal-button";e.CLASS_NAMES={MODAL:"swal-modal",OVERLAY:"swal-overlay",SHOW_MODAL:"swal-overlay--show-modal",MODAL_TITLE:"swal-title",MODAL_TEXT:"swal-text",ICON:"swal-icon",ICON_CUSTOM:"swal-icon--custom",CONTENT:"swal-content",FOOTER:"swal-footer",BUTTON_CONTAINER:"swal-button-container",BUTTON:o,CONFIRM_BUTTON:o+"--confirm",CANCEL_BUTTON:o+"--cancel",DANGER_BUTTON:o+"--danger",BUTTON_LOADING:o+"--loading",BUTTON_LOADER:o+"__loader"},e.default=e.CLASS_NAMES},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getNode=function(t){var e="."+t;return document.querySelector(e)},e.stringToNode=function(t){var e=document.createElement("div");return e.innerHTML=t.trim(),e.firstChild},e.insertAfter=function(t,e){var n=e.nextSibling;e.parentNode.insertBefore(t,n)},e.removeNode=function(t){t.parentElement.removeChild(t)},e.throwErr=function(t){throw t=t.replace(/ +(?= )/g,""),"SweetAlert: "+(t=t.trim())},e.isPlainObject=function(t){if("[object Object]"!==Object.prototype.toString.call(t))return!1;var e=Object.getPrototypeOf(t);return null===e||e===Object.prototype},e.ordinalSuffixOf=function(t){var e=t%10,n=t%100;return 1===e&&11!==n?t+"st":2===e&&12!==n?t+"nd":3===e&&13!==n?t+"rd":t+"th"}},function(t,e,n){"use strict";function o(t){for(var n in t)e.hasOwnProperty(n)||(e[n]=t[n])}Object.defineProperty(e,"__esModule",{value:!0}),o(n(25));var r=n(26);e.overlayMarkup=r.default,o(n(27)),o(n(28)),o(n(29));var i=n(0),a=i.default.MODAL_TITLE,s=i.default.MODAL_TEXT,c=i.default.ICON,l=i.default.FOOTER;e.iconMarkup='\n  <div class="'+c+'"></div>',e.titleMarkup='\n  <div class="'+a+'"></div>\n',e.textMarkup='\n  <div class="'+s+'"></div>',e.footerMarkup='\n  <div class="'+l+'"></div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1);e.CONFIRM_KEY="confirm",e.CANCEL_KEY="cancel";var r={visible:!0,text:null,value:null,className:"",closeModal:!0},i=Object.assign({},r,{visible:!1,text:"Cancel",value:null}),a=Object.assign({},r,{text:"OK",value:!0});e.defaultButtonList={cancel:i,confirm:a};var s=function(t){switch(t){case e.CONFIRM_KEY:return a;case e.CANCEL_KEY:return i;default:var n=t.charAt(0).toUpperCase()+t.slice(1);return Object.assign({},r,{text:n,value:t})}},c=function(t,e){var n=s(t);return!0===e?Object.assign({},n,{visible:!0}):"string"==typeof e?Object.assign({},n,{visible:!0,text:e}):o.isPlainObject(e)?Object.assign({visible:!0},n,e):Object.assign({},n,{visible:!1})},l=function(t){for(var e={},n=0,o=Object.keys(t);n<o.length;n++){var r=o[n],a=t[r],s=c(r,a);e[r]=s}return e.cancel||(e.cancel=i),e},u=function(t){var n={};switch(t.length){case 1:n[e.CANCEL_KEY]=Object.assign({},i,{visible:!1});break;case 2:n[e.CANCEL_KEY]=c(e.CANCEL_KEY,t[0]),n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t[1]);break;default:o.throwErr("Invalid number of 'buttons' in array ("+t.length+").\n      If you want more than 2 buttons, you need to use an object!")}return n};e.getButtonListOpts=function(t){var n=e.defaultButtonList;return"string"==typeof t?n[e.CONFIRM_KEY]=c(e.CONFIRM_KEY,t):Array.isArray(t)?n=u(t):o.isPlainObject(t)?n=l(t):!0===t?n=u([!0,!0]):!1===t?n=u([!1,!1]):void 0===t&&(n=e.defaultButtonList),n}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(2),i=n(0),a=i.default.MODAL,s=i.default.OVERLAY,c=n(30),l=n(31),u=n(32),f=n(33);e.injectElIntoModal=function(t){var e=o.getNode(a),n=o.stringToNode(t);return e.appendChild(n),n};var d=function(t){t.className=a,t.textContent=""},p=function(t,e){d(t);var n=e.className;n&&t.classList.add(n)};e.initModalContent=function(t){var e=o.getNode(a);p(e,t),c.default(t.icon),l.initTitle(t.title),l.initText(t.text),f.default(t.content),u.default(t.buttons,t.dangerMode)};var m=function(){var t=o.getNode(s),e=o.stringToNode(r.modalMarkup);t.appendChild(e)};e.default=m},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r={isOpen:!1,promise:null,actions:{},timer:null},i=Object.assign({},r);e.resetState=function(){i=Object.assign({},r)},e.setActionValue=function(t){if("string"==typeof t)return a(o.CONFIRM_KEY,t);for(var e in t)a(e,t[e])};var a=function(t,e){i.actions[t]||(i.actions[t]={}),Object.assign(i.actions[t],{value:e})};e.setActionOptionsFor=function(t,e){var n=(void 0===e?{}:e).closeModal,o=void 0===n||n;Object.assign(i.actions[t],{closeModal:o})},e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(0),a=i.default.OVERLAY,s=i.default.SHOW_MODAL,c=i.default.BUTTON,l=i.default.BUTTON_LOADING,u=n(5);e.openModal=function(){o.getNode(a).classList.add(s),u.default.isOpen=!0};var f=function(){o.getNode(a).classList.remove(s),u.default.isOpen=!1};e.onAction=function(t){void 0===t&&(t=r.CANCEL_KEY);var e=u.default.actions[t],n=e.value;if(!1===e.closeModal){var i=c+"--"+t;o.getNode(i).classList.add(l)}else f();u.default.promise.resolve(n)},e.getState=function(){var t=Object.assign({},u.default);return delete t.promise,delete t.timer,t},e.stopLoading=function(){for(var t=document.querySelectorAll("."+c),e=0;e<t.length;e++){t[e].classList.remove(l)}}},function(t,e){var n;n=function(){return this}();try{n=n||Function("return this")()||(0,eval)("this")}catch(t){"object"==typeof window&&(n=window)}t.exports=n},function(t,e,n){(function(e){t.exports=e.sweetAlert=n(9)}).call(e,n(7))},function(t,e,n){(function(e){t.exports=e.swal=n(10)}).call(e,n(7))},function(t,e,n){"undefined"!=typeof window&&n(11),n(16);var o=n(23).default;t.exports=o},function(t,e,n){var o=n(12);"string"==typeof o&&(o=[[t.i,o,""]]);var r={insertAt:"top"};r.transform=void 0;n(14)(o,r);o.locals&&(t.exports=o.locals)},function(t,e,n){e=t.exports=n(13)(void 0),e.push([t.i,'.swal-icon--error{border-color:#f27474;-webkit-animation:animateErrorIcon .5s;animation:animateErrorIcon .5s}.swal-icon--error__x-mark{position:relative;display:block;-webkit-animation:animateXMark .5s;animation:animateXMark .5s}.swal-icon--error__line{position:absolute;height:5px;width:47px;background-color:#f27474;display:block;top:37px;border-radius:2px}.swal-icon--error__line--left{-webkit-transform:rotate(45deg);transform:rotate(45deg);left:17px}.swal-icon--error__line--right{-webkit-transform:rotate(-45deg);transform:rotate(-45deg);right:16px}@-webkit-keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@keyframes animateErrorIcon{0%{-webkit-transform:rotateX(100deg);transform:rotateX(100deg);opacity:0}to{-webkit-transform:rotateX(0deg);transform:rotateX(0deg);opacity:1}}@-webkit-keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}@keyframes animateXMark{0%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}50%{-webkit-transform:scale(.4);transform:scale(.4);margin-top:26px;opacity:0}80%{-webkit-transform:scale(1.15);transform:scale(1.15);margin-top:-6px}to{-webkit-transform:scale(1);transform:scale(1);margin-top:0;opacity:1}}.swal-icon--warning{border-color:#f8bb86;-webkit-animation:pulseWarning .75s infinite alternate;animation:pulseWarning .75s infinite alternate}.swal-icon--warning__body{width:5px;height:47px;top:10px;border-radius:2px;margin-left:-2px}.swal-icon--warning__body,.swal-icon--warning__dot{position:absolute;left:50%;background-color:#f8bb86}.swal-icon--warning__dot{width:7px;height:7px;border-radius:50%;margin-left:-4px;bottom:-11px}@-webkit-keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}@keyframes pulseWarning{0%{border-color:#f8d486}to{border-color:#f8bb86}}.swal-icon--success{border-color:#a5dc86}.swal-icon--success:after,.swal-icon--success:before{content:"";border-radius:50%;position:absolute;width:60px;height:120px;background:#fff;-webkit-transform:rotate(45deg);transform:rotate(45deg)}.swal-icon--success:before{border-radius:120px 0 0 120px;top:-7px;left:-33px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:60px 60px;transform-origin:60px 60px}.swal-icon--success:after{border-radius:0 120px 120px 0;top:-11px;left:30px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-transform-origin:0 60px;transform-origin:0 60px;-webkit-animation:rotatePlaceholder 4.25s ease-in;animation:rotatePlaceholder 4.25s ease-in}.swal-icon--success__ring{width:80px;height:80px;border:4px solid hsla(98,55%,69%,.2);border-radius:50%;box-sizing:content-box;position:absolute;left:-4px;top:-4px;z-index:2}.swal-icon--success__hide-corners{width:5px;height:90px;background-color:#fff;position:absolute;left:28px;top:8px;z-index:1;-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}.swal-icon--success__line{height:5px;background-color:#a5dc86;display:block;border-radius:2px;position:absolute;z-index:2}.swal-icon--success__line--tip{width:25px;left:14px;top:46px;-webkit-transform:rotate(45deg);transform:rotate(45deg);-webkit-animation:animateSuccessTip .75s;animation:animateSuccessTip .75s}.swal-icon--success__line--long{width:47px;right:8px;top:38px;-webkit-transform:rotate(-45deg);transform:rotate(-45deg);-webkit-animation:animateSuccessLong .75s;animation:animateSuccessLong .75s}@-webkit-keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@keyframes rotatePlaceholder{0%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}5%{-webkit-transform:rotate(-45deg);transform:rotate(-45deg)}12%{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}to{-webkit-transform:rotate(-405deg);transform:rotate(-405deg)}}@-webkit-keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@keyframes animateSuccessTip{0%{width:0;left:1px;top:19px}54%{width:0;left:1px;top:19px}70%{width:50px;left:-8px;top:37px}84%{width:17px;left:21px;top:48px}to{width:25px;left:14px;top:45px}}@-webkit-keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}@keyframes animateSuccessLong{0%{width:0;right:46px;top:54px}65%{width:0;right:46px;top:54px}84%{width:55px;right:0;top:35px}to{width:47px;right:8px;top:38px}}.swal-icon--info{border-color:#c9dae1}.swal-icon--info:before{width:5px;height:29px;bottom:17px;border-radius:2px;margin-left:-2px}.swal-icon--info:after,.swal-icon--info:before{content:"";position:absolute;left:50%;background-color:#c9dae1}.swal-icon--info:after{width:7px;height:7px;border-radius:50%;margin-left:-3px;top:19px}.swal-icon{width:80px;height:80px;border-width:4px;border-style:solid;border-radius:50%;padding:0;position:relative;box-sizing:content-box;margin:20px auto}.swal-icon:first-child{margin-top:32px}.swal-icon--custom{width:auto;height:auto;max-width:100%;border:none;border-radius:0}.swal-icon img{max-width:100%;max-height:100%}.swal-title{color:rgba(0,0,0,.65);font-weight:600;text-transform:none;position:relative;display:block;padding:13px 16px;font-size:27px;line-height:normal;text-align:center;margin-bottom:0}.swal-title:first-child{margin-top:26px}.swal-title:not(:first-child){padding-bottom:0}.swal-title:not(:last-child){margin-bottom:13px}.swal-text{font-size:16px;position:relative;float:none;line-height:normal;vertical-align:top;text-align:left;display:inline-block;margin:0;padding:0 10px;font-weight:400;color:rgba(0,0,0,.64);max-width:calc(100% - 20px);overflow-wrap:break-word;box-sizing:border-box}.swal-text:first-child{margin-top:45px}.swal-text:last-child{margin-bottom:45px}.swal-footer{text-align:right;padding-top:13px;margin-top:13px;padding:13px 16px;border-radius:inherit;border-top-left-radius:0;border-top-right-radius:0}.swal-button-container{margin:5px;display:inline-block;position:relative}.swal-button{background-color:#7cd1f9;color:#fff;border:none;box-shadow:none;border-radius:5px;font-weight:600;font-size:14px;padding:10px 24px;margin:0;cursor:pointer}.swal-button[not:disabled]:hover{background-color:#78cbf2}.swal-button:active{background-color:#70bce0}.swal-button:focus{outline:none;box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(43,114,165,.29)}.swal-button[disabled]{opacity:.5;cursor:default}.swal-button::-moz-focus-inner{border:0}.swal-button--cancel{color:#555;background-color:#efefef}.swal-button--cancel[not:disabled]:hover{background-color:#e8e8e8}.swal-button--cancel:active{background-color:#d7d7d7}.swal-button--cancel:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(116,136,150,.29)}.swal-button--danger{background-color:#e64942}.swal-button--danger[not:disabled]:hover{background-color:#df4740}.swal-button--danger:active{background-color:#cf423b}.swal-button--danger:focus{box-shadow:0 0 0 1px #fff,0 0 0 3px rgba(165,43,43,.29)}.swal-content{padding:0 20px;margin-top:20px;font-size:medium}.swal-content:last-child{margin-bottom:20px}.swal-content__input,.swal-content__textarea{-webkit-appearance:none;background-color:#fff;border:none;font-size:14px;display:block;box-sizing:border-box;width:100%;border:1px solid rgba(0,0,0,.14);padding:10px 13px;border-radius:2px;transition:border-color .2s}.swal-content__input:focus,.swal-content__textarea:focus{outline:none;border-color:#6db8ff}.swal-content__textarea{resize:vertical}.swal-button--loading{color:transparent}.swal-button--loading~.swal-button__loader{opacity:1}.swal-button__loader{position:absolute;height:auto;width:43px;z-index:2;left:50%;top:50%;-webkit-transform:translateX(-50%) translateY(-50%);transform:translateX(-50%) translateY(-50%);text-align:center;pointer-events:none;opacity:0}.swal-button__loader div{display:inline-block;float:none;vertical-align:baseline;width:9px;height:9px;padding:0;border:none;margin:2px;opacity:.4;border-radius:7px;background-color:hsla(0,0%,100%,.9);transition:background .2s;-webkit-animation:swal-loading-anim 1s infinite;animation:swal-loading-anim 1s infinite}.swal-button__loader div:nth-child(3n+2){-webkit-animation-delay:.15s;animation-delay:.15s}.swal-button__loader div:nth-child(3n+3){-webkit-animation-delay:.3s;animation-delay:.3s}@-webkit-keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}@keyframes swal-loading-anim{0%{opacity:.4}20%{opacity:.4}50%{opacity:1}to{opacity:.4}}.swal-overlay{position:fixed;top:0;bottom:0;left:0;right:0;text-align:center;font-size:0;overflow-y:scroll;background-color:rgba(0,0,0,.4);z-index:10000;pointer-events:none;opacity:0;transition:opacity .3s}.swal-overlay:before{content:" ";display:inline-block;vertical-align:middle;height:100%}.swal-overlay--show-modal{opacity:1;pointer-events:auto}.swal-overlay--show-modal .swal-modal{opacity:1;pointer-events:auto;box-sizing:border-box;-webkit-animation:showSweetAlert .3s;animation:showSweetAlert .3s;will-change:transform}.swal-modal{width:478px;opacity:0;pointer-events:none;background-color:#fff;text-align:center;border-radius:5px;position:static;margin:20px auto;display:inline-block;vertical-align:middle;-webkit-transform:scale(1);transform:scale(1);-webkit-transform-origin:50% 50%;transform-origin:50% 50%;z-index:10001;transition:opacity .2s,-webkit-transform .3s;transition:transform .3s,opacity .2s;transition:transform .3s,opacity .2s,-webkit-transform .3s}@media (max-width:500px){.swal-modal{width:calc(100% - 20px)}}@-webkit-keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}@keyframes showSweetAlert{0%{-webkit-transform:scale(1);transform:scale(1)}1%{-webkit-transform:scale(.5);transform:scale(.5)}45%{-webkit-transform:scale(1.05);transform:scale(1.05)}80%{-webkit-transform:scale(.95);transform:scale(.95)}to{-webkit-transform:scale(1);transform:scale(1)}}',""])},function(t,e){function n(t,e){var n=t[1]||"",r=t[3];if(!r)return n;if(e&&"function"==typeof btoa){var i=o(r);return[n].concat(r.sources.map(function(t){return"/*# sourceURL="+r.sourceRoot+t+" */"})).concat([i]).join("\n")}return[n].join("\n")}function o(t){return"/*# sourceMappingURL=data:application/json;charset=utf-8;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(t))))+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map(function(e){var o=n(e,t);return e[2]?"@media "+e[2]+"{"+o+"}":o}).join("")},e.i=function(t,n){"string"==typeof t&&(t=[[null,t,""]]);for(var o={},r=0;r<this.length;r++){var i=this[r][0];"number"==typeof i&&(o[i]=!0)}for(r=0;r<t.length;r++){var a=t[r];"number"==typeof a[0]&&o[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},function(t,e,n){function o(t,e){for(var n=0;n<t.length;n++){var o=t[n],r=m[o.id];if(r){r.refs++;for(var i=0;i<r.parts.length;i++)r.parts[i](o.parts[i]);for(;i<o.parts.length;i++)r.parts.push(u(o.parts[i],e))}else{for(var a=[],i=0;i<o.parts.length;i++)a.push(u(o.parts[i],e));m[o.id]={id:o.id,refs:1,parts:a}}}}function r(t,e){for(var n=[],o={},r=0;r<t.length;r++){var i=t[r],a=e.base?i[0]+e.base:i[0],s=i[1],c=i[2],l=i[3],u={css:s,media:c,sourceMap:l};o[a]?o[a].parts.push(u):n.push(o[a]={id:a,parts:[u]})}return n}function i(t,e){var n=v(t.insertInto);if(!n)throw new Error("Couldn't find a style target. This probably means that the value for the 'insertInto' parameter is invalid.");var o=w[w.length-1];if("top"===t.insertAt)o?o.nextSibling?n.insertBefore(e,o.nextSibling):n.appendChild(e):n.insertBefore(e,n.firstChild),w.push(e);else{if("bottom"!==t.insertAt)throw new Error("Invalid value for parameter 'insertAt'. Must be 'top' or 'bottom'.");n.appendChild(e)}}function a(t){if(null===t.parentNode)return!1;t.parentNode.removeChild(t);var e=w.indexOf(t);e>=0&&w.splice(e,1)}function s(t){var e=document.createElement("style");return t.attrs.type="text/css",l(e,t.attrs),i(t,e),e}function c(t){var e=document.createElement("link");return t.attrs.type="text/css",t.attrs.rel="stylesheet",l(e,t.attrs),i(t,e),e}function l(t,e){Object.keys(e).forEach(function(n){t.setAttribute(n,e[n])})}function u(t,e){var n,o,r,i;if(e.transform&&t.css){if(!(i=e.transform(t.css)))return function(){};t.css=i}if(e.singleton){var l=h++;n=g||(g=s(e)),o=f.bind(null,n,l,!1),r=f.bind(null,n,l,!0)}else t.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(n=c(e),o=p.bind(null,n,e),r=function(){a(n),n.href&&URL.revokeObjectURL(n.href)}):(n=s(e),o=d.bind(null,n),r=function(){a(n)});return o(t),function(e){if(e){if(e.css===t.css&&e.media===t.media&&e.sourceMap===t.sourceMap)return;o(t=e)}else r()}}function f(t,e,n,o){var r=n?"":o.css;if(t.styleSheet)t.styleSheet.cssText=y(e,r);else{var i=document.createTextNode(r),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function d(t,e){var n=e.css,o=e.media;if(o&&t.setAttribute("media",o),t.styleSheet)t.styleSheet.cssText=n;else{for(;t.firstChild;)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}function p(t,e,n){var o=n.css,r=n.sourceMap,i=void 0===e.convertToAbsoluteUrls&&r;(e.convertToAbsoluteUrls||i)&&(o=x(o)),r&&(o+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(r))))+" */");var a=new Blob([o],{type:"text/css"}),s=t.href;t.href=URL.createObjectURL(a),s&&URL.revokeObjectURL(s)}var m={},b=function(t){var e;return function(){return void 0===e&&(e=t.apply(this,arguments)),e}}(function(){return window&&document&&document.all&&!window.atob}),v=function(t){var e={};return function(n){return void 0===e[n]&&(e[n]=t.call(this,n)),e[n]}}(function(t){return document.querySelector(t)}),g=null,h=0,w=[],x=n(15);t.exports=function(t,e){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");e=e||{},e.attrs="object"==typeof e.attrs?e.attrs:{},e.singleton||(e.singleton=b()),e.insertInto||(e.insertInto="head"),e.insertAt||(e.insertAt="bottom");var n=r(t,e);return o(n,e),function(t){for(var i=[],a=0;a<n.length;a++){var s=n[a],c=m[s.id];c.refs--,i.push(c)}if(t){o(r(t,e),e)}for(var a=0;a<i.length;a++){var c=i[a];if(0===c.refs){for(var l=0;l<c.parts.length;l++)c.parts[l]();delete m[c.id]}}}};var y=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}()},function(t,e){t.exports=function(t){var e="undefined"!=typeof window&&window.location;if(!e)throw new Error("fixUrls requires window.location");if(!t||"string"!=typeof t)return t;var n=e.protocol+"//"+e.host,o=n+e.pathname.replace(/\/[^\/]*$/,"/");return t.replace(/url\s*\(((?:[^)(]|\((?:[^)(]+|\([^)(]*\))*\))*)\)/gi,function(t,e){var r=e.trim().replace(/^"(.*)"$/,function(t,e){return e}).replace(/^'(.*)'$/,function(t,e){return e});if(/^(#|data:|http:\/\/|https:\/\/|file:\/\/\/)/i.test(r))return t;var i;return i=0===r.indexOf("//")?r:0===r.indexOf("/")?n+r:o+r.replace(/^\.\//,""),"url("+JSON.stringify(i)+")"})}},function(t,e,n){var o=n(17);window.Promise||(window.Promise=o),n(21),String.prototype.includes||(String.prototype.includes=function(t,e){"use strict";return"number"!=typeof e&&(e=0),!(e+t.length>this.length)&&-1!==this.indexOf(t,e)}),Array.prototype.includes||Object.defineProperty(Array.prototype,"includes",{value:function(t,e){if(null==this)throw new TypeError('"this" is null or not defined');var n=Object(this),o=n.length>>>0;if(0===o)return!1;for(var r=0|e,i=Math.max(r>=0?r:o-Math.abs(r),0);i<o;){if(function(t,e){return t===e||"number"==typeof t&&"number"==typeof e&&isNaN(t)&&isNaN(e)}(n[i],t))return!0;i++}return!1}}),function(t){t.forEach(function(t){t.hasOwnProperty("remove")||Object.defineProperty(t,"remove",{configurable:!0,enumerable:!0,writable:!0,value:function(){this.parentNode.removeChild(this)}})})}([Element.prototype,CharacterData.prototype,DocumentType.prototype])},function(t,e,n){(function(e){!function(n){function o(){}function r(t,e){return function(){t.apply(e,arguments)}}function i(t){if("object"!=typeof this)throw new TypeError("Promises must be constructed via new");if("function"!=typeof t)throw new TypeError("not a function");this._state=0,this._handled=!1,this._value=void 0,this._deferreds=[],f(t,this)}function a(t,e){for(;3===t._state;)t=t._value;if(0===t._state)return void t._deferreds.push(e);t._handled=!0,i._immediateFn(function(){var n=1===t._state?e.onFulfilled:e.onRejected;if(null===n)return void(1===t._state?s:c)(e.promise,t._value);var o;try{o=n(t._value)}catch(t){return void c(e.promise,t)}s(e.promise,o)})}function s(t,e){try{if(e===t)throw new TypeError("A promise cannot be resolved with itself.");if(e&&("object"==typeof e||"function"==typeof e)){var n=e.then;if(e instanceof i)return t._state=3,t._value=e,void l(t);if("function"==typeof n)return void f(r(n,e),t)}t._state=1,t._value=e,l(t)}catch(e){c(t,e)}}function c(t,e){t._state=2,t._value=e,l(t)}function l(t){2===t._state&&0===t._deferreds.length&&i._immediateFn(function(){t._handled||i._unhandledRejectionFn(t._value)});for(var e=0,n=t._deferreds.length;e<n;e++)a(t,t._deferreds[e]);t._deferreds=null}function u(t,e,n){this.onFulfilled="function"==typeof t?t:null,this.onRejected="function"==typeof e?e:null,this.promise=n}function f(t,e){var n=!1;try{t(function(t){n||(n=!0,s(e,t))},function(t){n||(n=!0,c(e,t))})}catch(t){if(n)return;n=!0,c(e,t)}}var d=setTimeout;i.prototype.catch=function(t){return this.then(null,t)},i.prototype.then=function(t,e){var n=new this.constructor(o);return a(this,new u(t,e,n)),n},i.all=function(t){var e=Array.prototype.slice.call(t);return new i(function(t,n){function o(i,a){try{if(a&&("object"==typeof a||"function"==typeof a)){var s=a.then;if("function"==typeof s)return void s.call(a,function(t){o(i,t)},n)}e[i]=a,0==--r&&t(e)}catch(t){n(t)}}if(0===e.length)return t([]);for(var r=e.length,i=0;i<e.length;i++)o(i,e[i])})},i.resolve=function(t){return t&&"object"==typeof t&&t.constructor===i?t:new i(function(e){e(t)})},i.reject=function(t){return new i(function(e,n){n(t)})},i.race=function(t){return new i(function(e,n){for(var o=0,r=t.length;o<r;o++)t[o].then(e,n)})},i._immediateFn="function"==typeof e&&function(t){e(t)}||function(t){d(t,0)},i._unhandledRejectionFn=function(t){"undefined"!=typeof console&&console&&console.warn("Possible Unhandled Promise Rejection:",t)},i._setImmediateFn=function(t){i._immediateFn=t},i._setUnhandledRejectionFn=function(t){i._unhandledRejectionFn=t},void 0!==t&&t.exports?t.exports=i:n.Promise||(n.Promise=i)}(this)}).call(e,n(18).setImmediate)},function(t,e,n){function o(t,e){this._id=t,this._clearFn=e}var r=Function.prototype.apply;e.setTimeout=function(){return new o(r.call(setTimeout,window,arguments),clearTimeout)},e.setInterval=function(){return new o(r.call(setInterval,window,arguments),clearInterval)},e.clearTimeout=e.clearInterval=function(t){t&&t.close()},o.prototype.unref=o.prototype.ref=function(){},o.prototype.close=function(){this._clearFn.call(window,this._id)},e.enroll=function(t,e){clearTimeout(t._idleTimeoutId),t._idleTimeout=e},e.unenroll=function(t){clearTimeout(t._idleTimeoutId),t._idleTimeout=-1},e._unrefActive=e.active=function(t){clearTimeout(t._idleTimeoutId);var e=t._idleTimeout;e>=0&&(t._idleTimeoutId=setTimeout(function(){t._onTimeout&&t._onTimeout()},e))},n(19),e.setImmediate=setImmediate,e.clearImmediate=clearImmediate},function(t,e,n){(function(t,e){!function(t,n){"use strict";function o(t){"function"!=typeof t&&(t=new Function(""+t));for(var e=new Array(arguments.length-1),n=0;n<e.length;n++)e[n]=arguments[n+1];var o={callback:t,args:e};return l[c]=o,s(c),c++}function r(t){delete l[t]}function i(t){var e=t.callback,o=t.args;switch(o.length){case 0:e();break;case 1:e(o[0]);break;case 2:e(o[0],o[1]);break;case 3:e(o[0],o[1],o[2]);break;default:e.apply(n,o)}}function a(t){if(u)setTimeout(a,0,t);else{var e=l[t];if(e){u=!0;try{i(e)}finally{r(t),u=!1}}}}if(!t.setImmediate){var s,c=1,l={},u=!1,f=t.document,d=Object.getPrototypeOf&&Object.getPrototypeOf(t);d=d&&d.setTimeout?d:t,"[object process]"==={}.toString.call(t.process)?function(){s=function(t){e.nextTick(function(){a(t)})}}():function(){if(t.postMessage&&!t.importScripts){var e=!0,n=t.onmessage;return t.onmessage=function(){e=!1},t.postMessage("","*"),t.onmessage=n,e}}()?function(){var e="setImmediate$"+Math.random()+"$",n=function(n){n.source===t&&"string"==typeof n.data&&0===n.data.indexOf(e)&&a(+n.data.slice(e.length))};t.addEventListener?t.addEventListener("message",n,!1):t.attachEvent("onmessage",n),s=function(n){t.postMessage(e+n,"*")}}():t.MessageChannel?function(){var t=new MessageChannel;t.port1.onmessage=function(t){a(t.data)},s=function(e){t.port2.postMessage(e)}}():f&&"onreadystatechange"in f.createElement("script")?function(){var t=f.documentElement;s=function(e){var n=f.createElement("script");n.onreadystatechange=function(){a(e),n.onreadystatechange=null,t.removeChild(n),n=null},t.appendChild(n)}}():function(){s=function(t){setTimeout(a,0,t)}}(),d.setImmediate=o,d.clearImmediate=r}}("undefined"==typeof self?void 0===t?this:t:self)}).call(e,n(7),n(20))},function(t,e){function n(){throw new Error("setTimeout has not been defined")}function o(){throw new Error("clearTimeout has not been defined")}function r(t){if(u===setTimeout)return setTimeout(t,0);if((u===n||!u)&&setTimeout)return u=setTimeout,setTimeout(t,0);try{return u(t,0)}catch(e){try{return u.call(null,t,0)}catch(e){return u.call(this,t,0)}}}function i(t){if(f===clearTimeout)return clearTimeout(t);if((f===o||!f)&&clearTimeout)return f=clearTimeout,clearTimeout(t);try{return f(t)}catch(e){try{return f.call(null,t)}catch(e){return f.call(this,t)}}}function a(){b&&p&&(b=!1,p.length?m=p.concat(m):v=-1,m.length&&s())}function s(){if(!b){var t=r(a);b=!0;for(var e=m.length;e;){for(p=m,m=[];++v<e;)p&&p[v].run();v=-1,e=m.length}p=null,b=!1,i(t)}}function c(t,e){this.fun=t,this.array=e}function l(){}var u,f,d=t.exports={};!function(){try{u="function"==typeof setTimeout?setTimeout:n}catch(t){u=n}try{f="function"==typeof clearTimeout?clearTimeout:o}catch(t){f=o}}();var p,m=[],b=!1,v=-1;d.nextTick=function(t){var e=new Array(arguments.length-1);if(arguments.length>1)for(var n=1;n<arguments.length;n++)e[n-1]=arguments[n];m.push(new c(t,e)),1!==m.length||b||r(s)},c.prototype.run=function(){this.fun.apply(null,this.array)},d.title="browser",d.browser=!0,d.env={},d.argv=[],d.version="",d.versions={},d.on=l,d.addListener=l,d.once=l,d.off=l,d.removeListener=l,d.removeAllListeners=l,d.emit=l,d.prependListener=l,d.prependOnceListener=l,d.listeners=function(t){return[]},d.binding=function(t){throw new Error("process.binding is not supported")},d.cwd=function(){return"/"},d.chdir=function(t){throw new Error("process.chdir is not supported")},d.umask=function(){return 0}},function(t,e,n){"use strict";n(22).polyfill()},function(t,e,n){"use strict";function o(t,e){if(void 0===t||null===t)throw new TypeError("Cannot convert first argument to object");for(var n=Object(t),o=1;o<arguments.length;o++){var r=arguments[o];if(void 0!==r&&null!==r)for(var i=Object.keys(Object(r)),a=0,s=i.length;a<s;a++){var c=i[a],l=Object.getOwnPropertyDescriptor(r,c);void 0!==l&&l.enumerable&&(n[c]=r[c])}}return n}function r(){Object.assign||Object.defineProperty(Object,"assign",{enumerable:!1,configurable:!0,writable:!0,value:o})}t.exports={assign:o,polyfill:r}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(24),r=n(6),i=n(5),a=n(36),s=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];if("undefined"!=typeof window){var n=a.getOpts.apply(void 0,t);return new Promise(function(t,e){i.default.promise={resolve:t,reject:e},o.default(n),setTimeout(function(){r.openModal()})})}};s.close=r.onAction,s.getState=r.getState,s.setActionValue=i.setActionValue,s.stopLoading=r.stopLoading,s.setDefaults=a.setDefaults,e.default=s},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(0),i=r.default.MODAL,a=n(4),s=n(34),c=n(35),l=n(1);e.init=function(t){o.getNode(i)||(document.body||l.throwErr("You can only use SweetAlert AFTER the DOM has loaded!"),s.default(),a.default()),a.initModalContent(t),c.default(t)},e.default=e.init},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.MODAL;e.modalMarkup='\n  <div class="'+r+'"></div>',e.default=e.modalMarkup},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.OVERLAY,i='<div \n    class="'+r+'"\n    tabIndex="-1">\n  </div>';e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.ICON;e.errorIconMarkup=function(){var t=r+"--error",e=t+"__line";return'\n    <div class="'+t+'__x-mark">\n      <span class="'+e+" "+e+'--left"></span>\n      <span class="'+e+" "+e+'--right"></span>\n    </div>\n  '},e.warningIconMarkup=function(){var t=r+"--warning";return'\n    <span class="'+t+'__body">\n      <span class="'+t+'__dot"></span>\n    </span>\n  '},e.successIconMarkup=function(){var t=r+"--success";return'\n    <span class="'+t+"__line "+t+'__line--long"></span>\n    <span class="'+t+"__line "+t+'__line--tip"></span>\n\n    <div class="'+t+'__ring"></div>\n    <div class="'+t+'__hide-corners"></div>\n  '}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.CONTENT;e.contentMarkup='\n  <div class="'+r+'">\n\n  </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(0),r=o.default.BUTTON_CONTAINER,i=o.default.BUTTON,a=o.default.BUTTON_LOADER;e.buttonMarkup='\n  <div class="'+r+'">\n\n    <button\n      class="'+i+'"\n    ></button>\n\n    <div class="'+a+'">\n      <div></div>\n      <div></div>\n      <div></div>\n    </div>\n\n  </div>\n'},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(4),r=n(2),i=n(0),a=i.default.ICON,s=i.default.ICON_CUSTOM,c=["error","warning","success","info"],l={error:r.errorIconMarkup(),warning:r.warningIconMarkup(),success:r.successIconMarkup()},u=function(t,e){var n=a+"--"+t;e.classList.add(n);var o=l[t];o&&(e.innerHTML=o)},f=function(t,e){e.classList.add(s);var n=document.createElement("img");n.src=t,e.appendChild(n)},d=function(t){if(t){var e=o.injectElIntoModal(r.iconMarkup);c.includes(t)?u(t,e):f(t,e)}};e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(2),r=n(4),i=function(t){navigator.userAgent.includes("AppleWebKit")&&(t.style.display="none",t.offsetHeight,t.style.display="")};e.initTitle=function(t){if(t){var e=r.injectElIntoModal(o.titleMarkup);e.textContent=t,i(e)}},e.initText=function(t){if(t){var e=r.injectElIntoModal(o.textMarkup);e.textContent=t,i(e)}}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(4),i=n(0),a=i.default.BUTTON,s=i.default.DANGER_BUTTON,c=n(3),l=n(2),u=n(6),f=n(5),d=function(t,e,n){var r=e.text,i=e.value,d=e.className,p=e.closeModal,m=o.stringToNode(l.buttonMarkup),b=m.querySelector("."+a),v=a+"--"+t;b.classList.add(v),d&&b.classList.add(d),n&&t===c.CONFIRM_KEY&&b.classList.add(s),b.textContent=r;var g={};return g[t]=i,f.setActionValue(g),f.setActionOptionsFor(t,{closeModal:p}),b.addEventListener("click",function(){return u.onAction(t)}),m},p=function(t,e){var n=r.injectElIntoModal(l.footerMarkup);for(var o in t){var i=t[o],a=d(o,i,e);i.visible&&n.appendChild(a)}0===n.children.length&&n.remove()};e.default=p},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(3),r=n(4),i=n(2),a=n(5),s=n(6),c=n(0),l=c.default.CONTENT,u=function(t){t.addEventListener("input",function(t){var e=t.target,n=e.value;a.setActionValue(n)}),t.addEventListener("keyup",function(t){if("Enter"===t.key)return s.onAction(o.CONFIRM_KEY)}),setTimeout(function(){t.focus(),a.setActionValue("")},0)},f=function(t,e,n){var o=document.createElement(e),r=l+"__"+e;o.classList.add(r);for(var i in n){var a=n[i];o[i]=a}"input"===e&&u(o),t.appendChild(o)},d=function(t){if(t){var e=r.injectElIntoModal(i.contentMarkup),n=t.element,o=t.attributes;"string"==typeof n?f(e,n,o):e.appendChild(n)}};e.default=d},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(2),i=function(){var t=o.stringToNode(r.overlayMarkup);document.body.appendChild(t)};e.default=i},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(5),r=n(6),i=n(1),a=n(3),s=n(0),c=s.default.MODAL,l=s.default.BUTTON,u=s.default.OVERLAY,f=function(t){t.preventDefault(),v()},d=function(t){t.preventDefault(),g()},p=function(t){if(o.default.isOpen)switch(t.key){case"Escape":return r.onAction(a.CANCEL_KEY)}},m=function(t){if(o.default.isOpen)switch(t.key){case"Tab":return f(t)}},b=function(t){if(o.default.isOpen)return"Tab"===t.key&&t.shiftKey?d(t):void 0},v=function(){var t=i.getNode(l);t&&(t.tabIndex=0,t.focus())},g=function(){var t=i.getNode(c),e=t.querySelectorAll("."+l),n=e.length-1,o=e[n];o&&o.focus()},h=function(t){t[t.length-1].addEventListener("keydown",m)},w=function(t){t[0].addEventListener("keydown",b)},x=function(){var t=i.getNode(c),e=t.querySelectorAll("."+l);e.length&&(h(e),w(e))},y=function(t){if(i.getNode(u)===t.target)return r.onAction(a.CANCEL_KEY)},_=function(t){var e=i.getNode(u);e.removeEventListener("click",y),t&&e.addEventListener("click",y)},k=function(t){o.default.timer&&clearTimeout(o.default.timer),t&&(o.default.timer=window.setTimeout(function(){return r.onAction(a.CANCEL_KEY)},t))},O=function(t){t.closeOnEsc?document.addEventListener("keyup",p):document.removeEventListener("keyup",p),t.dangerMode?v():g(),x(),_(t.closeOnClickOutside),k(t.timer)};e.default=O},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r=n(3),i=n(37),a=n(38),s={title:null,text:null,icon:null,buttons:r.defaultButtonList,content:null,className:null,closeOnClickOutside:!0,closeOnEsc:!0,dangerMode:!1,timer:null},c=Object.assign({},s);e.setDefaults=function(t){c=Object.assign({},s,t)};var l=function(t){var e=t&&t.button,n=t&&t.buttons;return void 0!==e&&void 0!==n&&o.throwErr("Cannot set both 'button' and 'buttons' options!"),void 0!==e?{confirm:e}:n},u=function(t){return o.ordinalSuffixOf(t+1)},f=function(t,e){o.throwErr(u(e)+" argument ('"+t+"') is invalid")},d=function(t,e){var n=t+1,r=e[n];o.isPlainObject(r)||void 0===r||o.throwErr("Expected "+u(n)+" argument ('"+r+"') to be a plain object")},p=function(t,e){var n=t+1,r=e[n];void 0!==r&&o.throwErr("Unexpected "+u(n)+" argument ("+r+")")},m=function(t,e,n,r){var i=typeof e,a="string"===i,s=e instanceof Element;if(a){if(0===n)return{text:e};if(1===n)return{text:e,title:r[0]};if(2===n)return d(n,r),{icon:e};f(e,n)}else{if(s&&0===n)return d(n,r),{content:e};if(o.isPlainObject(e))return p(n,r),e;f(e,n)}};e.getOpts=function(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];var n={};t.forEach(function(e,o){var r=m(0,e,o,t);Object.assign(n,r)});var o=l(n);n.buttons=r.getButtonListOpts(o),delete n.button,n.content=i.getContentOpts(n.content);var u=Object.assign({},s,c,n);return Object.keys(u).forEach(function(t){a.DEPRECATED_OPTS[t]&&a.logDeprecation(t)}),u}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var o=n(1),r={element:"input",attributes:{placeholder:""}};e.getContentOpts=function(t){var e={};return o.isPlainObject(t)?Object.assign(e,t):t instanceof Element?{element:t}:"input"===t?r:null}},function(t,e,n){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.logDeprecation=function(t){var n=e.DEPRECATED_OPTS[t],o=n.onlyRename,r=n.replacement,i=n.subOption,a=n.link,s=o?"renamed":"deprecated",c='SweetAlert warning: "'+t+'" option has been '+s+".";if(r){c+=" Please use"+(i?' "'+i+'" in ':" ")+'"'+r+'" instead.'}var l="https://sweetalert.js.org";c+=a?" More details: "+l+a:" More details: "+l+"/guides/#upgrading-from-1x",console.warn(c)},e.DEPRECATED_OPTS={type:{replacement:"icon",link:"/docs/#icon"},imageUrl:{replacement:"icon",link:"/docs/#icon"},customClass:{replacement:"className",onlyRename:!0,link:"/docs/#classname"},imageSize:{},showCancelButton:{replacement:"buttons",link:"/docs/#buttons"},showConfirmButton:{replacement:"button",link:"/docs/#button"},confirmButtonText:{replacement:"button",link:"/docs/#button"},confirmButtonColor:{},cancelButtonText:{replacement:"buttons",link:"/docs/#buttons"},closeOnConfirm:{replacement:"button",subOption:"closeModal",link:"/docs/#button"},closeOnCancel:{replacement:"buttons",subOption:"closeModal",link:"/docs/#buttons"},showLoaderOnConfirm:{replacement:"buttons"},animation:{},inputType:{replacement:"content",link:"/docs/#content"},inputValue:{replacement:"content",link:"/docs/#content"},inputPlaceholder:{replacement:"content",link:"/docs/#content"},html:{replacement:"content",link:"/docs/#content"},allowEscapeKey:{replacement:"closeOnEsc",onlyRename:!0,link:"/docs/#closeonesc"},allowClickOutside:{replacement:"closeOnClickOutside",onlyRename:!0,link:"/docs/#closeonclickoutside"}}}])});
  • aspexi-sweet-popups/trunk/languages/aspexisweetpopups-pl_PL.po

    r1294897 r1832129  
    22msgstr ""
    33"Project-Id-Version: Aspexi Sweet Popups\n"
    4 "POT-Creation-Date: 2015-11-23 14:55+0100\n"
    5 "PO-Revision-Date: 2015-11-23 14:55+0100\n"
     4"POT-Creation-Date: 2016-01-15 13:24+0100\n"
     5"PO-Revision-Date: 2016-01-15 13:25+0100\n"
    66"Last-Translator: Krzysztof Dryja <dryja@aspexi.com>\n"
    77"Language-Team: Aspexi Ltd. <support@aspexi.com>\n"
     
    2323msgstr "Aspexi Sweet Popups"
    2424
    25 #: aspexi-sweet-popups.php:183
     25#: aspexi-sweet-popups.php:161
     26msgid "Unsaved changes!"
     27msgstr "Potwierdzenie opuszczenia strony"
     28
     29#: aspexi-sweet-popups.php:162
     30msgid "If you leave this page now the changes you have made may be lost."
     31msgstr "Jeśli teraz opuścisz tę stronę wprowadzone zmiany zostaną utracone."
     32
     33#: aspexi-sweet-popups.php:163
     34msgid "Stay and continue"
     35msgstr "Pozostań i kontynuuj"
     36
     37#: aspexi-sweet-popups.php:164
     38msgid "Drop changes and leave"
     39msgstr "Opuść bez zapisywania"
     40
     41#: aspexi-sweet-popups.php:175
    2642msgid "Get PRO version"
    2743msgstr "Wersja PRO"
    2844
    29 #: aspexi-sweet-popups.php:192
     45#: aspexi-sweet-popups.php:184 aspexi-sweet-popups.php:265
    3046msgid "Settings"
    3147msgstr "Ustawienia"
    3248
    33 #: aspexi-sweet-popups.php:224
     49#: aspexi-sweet-popups.php:216
    3450msgid "You do not have sufficient permissions to access this page."
    3551msgstr "Nie masz uprawnień dla tej strony."
    3652
    37 #: aspexi-sweet-popups.php:230
     53#: aspexi-sweet-popups.php:222
    3854msgid ""
    3955"Wrong or missing status. Available statuses: enabled and disabled. Settings "
     
    4359"zapisano."
    4460
    45 #: aspexi-sweet-popups.php:234
    46 msgid ""
    47 "Wrong or missing theme. Available themes: Default, Facebook, Google, "
    48 "Twitter. Settings not saved."
    49 msgstr ""
    50 "Nie prawidłowa skórka. Dostępne skórki to: Domyślna, Facebook, Google i "
    51 "Twitter. Ustawienia niezapisane."
    52 
    53 #: aspexi-sweet-popups.php:238
     61#: aspexi-sweet-popups.php:226
    5462msgid ""
    5563"Wrong icon type. Available types: empty, warning, error, success, info. "
     
    5967"informacja. Nie zapisano."
    6068
    61 #: aspexi-sweet-popups.php:246 aspexi-sweet-popups.php:250
     69#: aspexi-sweet-popups.php:234 aspexi-sweet-popups.php:238
    6270msgid "Missing Popup content. Settings not saved."
    6371msgstr "Puste pole treść okienka. Nie zapisano."
    6472
    65 #: aspexi-sweet-popups.php:269
     73#: aspexi-sweet-popups.php:256
    6674msgid "Settings saved."
    6775msgstr "Zapisano."
    6876
    69 #: aspexi-sweet-popups.php:276
     77#: aspexi-sweet-popups.php:263
    7078msgid "Aspexi Sweet Popups Settings"
    7179msgstr "Aspexi Sweet Popups Ustawienia"
    7280
    73 #: aspexi-sweet-popups.php:288
     81#: aspexi-sweet-popups.php:266
     82msgid "Shortcode"
     83msgstr "Shortcode"
     84
     85#: aspexi-sweet-popups.php:267
     86msgid "Newsletter"
     87msgstr "Newsletter"
     88
     89#: aspexi-sweet-popups.php:283
     90msgid "Avaliable options (accepted values separated by \"|\")"
     91msgstr "Dostępne opcje (akceptowalne wartości oddzielone znakiem ”|”)"
     92
     93#: aspexi-sweet-popups.php:306
     94msgid "Example 1"
     95msgstr "Przykład 1"
     96
     97#: aspexi-sweet-popups.php:309
     98msgid "Example 2"
     99msgstr "Przykład 2"
     100
     101#: aspexi-sweet-popups.php:312
     102msgid "Example 3"
     103msgstr "Przykład 3"
     104
     105#: aspexi-sweet-popups.php:323
     106msgid "MailChimp"
     107msgstr "MailChimp"
     108
     109#: aspexi-sweet-popups.php:328
     110msgid "MailChimp Integration"
     111msgstr "Integracja MailChimp"
     112
     113#: aspexi-sweet-popups.php:332
     114msgid "MailChimp API Key"
     115msgstr "MailChimp klucz API"
     116
     117#: aspexi-sweet-popups.php:339
     118msgid "MailChimp Lists"
     119msgstr "Listy MailChimp"
     120
     121#: aspexi-sweet-popups.php:347
     122msgid "Enable Double Opt-In"
     123msgstr "Włącz opcje „Opt-In”"
     124
     125#: aspexi-sweet-popups.php:354
     126msgid "To display MailChimp write shortocde in popup content"
     127msgstr "Aby wyświetlić MailChimp dodaj shortcode w treści popupa"
     128
     129#: aspexi-sweet-popups.php:364 aspexi-sweet-popups.php:394
     130#: aspexi-sweet-popups.php:688
     131msgid "Save settings"
     132msgstr "Zapisz ustawienia"
     133
     134#: aspexi-sweet-popups.php:370
     135msgid "Write your button text"
     136msgstr "Wpisz tekst przycisku"
     137
     138#: aspexi-sweet-popups.php:377
     139msgid "Success message"
     140msgstr "Wiadomość powodzenia"
     141
     142#: aspexi-sweet-popups.php:384
     143msgid "Error message"
     144msgstr "Wiadomość niepowodzenia"
     145
     146#: aspexi-sweet-popups.php:403
     147msgid "Basic"
     148msgstr "Podstawowe"
     149
     150#: aspexi-sweet-popups.php:409
    74151msgid "Sweet Popups"
    75152msgstr "Sweet Popups"
    76153
    77 #: aspexi-sweet-popups.php:292
     154#: aspexi-sweet-popups.php:413
    78155msgid "Enabled"
    79156msgstr "Włączony"
    80157
    81 #: aspexi-sweet-popups.php:293
     158#: aspexi-sweet-popups.php:414
    82159msgid "Disabled"
    83160msgstr "Wyłączony"
    84161
    85 #: aspexi-sweet-popups.php:299
    86 msgid "Select theme"
    87 msgstr "Wybierz skórkę"
    88 
    89 #: aspexi-sweet-popups.php:303
     162#: aspexi-sweet-popups.php:420
     163msgid "Show only on the home page"
     164msgstr "Pokazuj tylko na stronie głównej"
     165
     166#: aspexi-sweet-popups.php:428
     167msgid "Show when user reaches bottom of the page"
     168msgstr "Pokaż gdy użytkownik przejdzie do dołu strony"
     169
     170#: aspexi-sweet-popups.php:437
     171msgid "Popup title"
     172msgstr "Nagłówek okienka"
     173
     174#: aspexi-sweet-popups.php:445
     175msgid "Popup content"
     176msgstr "Treść okienka"
     177
     178#: aspexi-sweet-popups.php:449
     179msgid "You can use simple HTML and shortcodes."
     180msgstr "Możesz użyć uproszczonego HTML lub shortcode."
     181
     182#: aspexi-sweet-popups.php:454
     183msgid "Show only once per user (based on cookies)"
     184msgstr "Pokazuj tylko raz (oparte na ciasteczkach)"
     185
     186#: aspexi-sweet-popups.php:462
     187msgid "Cookie lifetime (in days)"
     188msgstr "Czas życia ciasteczka (dni)"
     189
     190#: aspexi-sweet-popups.php:465
     191msgid "If omitted or zero, the cookie will expire at the end of the session."
     192msgstr ""
     193"Jeśli puste lub zero to czas życia ciasteczka zakończy się razem z "
     194"zakończeniem sesji."
     195
     196#: aspexi-sweet-popups.php:475
     197msgid "Look & Feel"
     198msgstr "Wygląd"
     199
     200#: aspexi-sweet-popups.php:481
     201msgid "Theme"
     202msgstr "Szablon"
     203
     204#: aspexi-sweet-popups.php:488
    90205msgid "Default"
    91206msgstr "Domyślna"
    92207
    93 #: aspexi-sweet-popups.php:312
    94 msgid "Show only on the home page"
    95 msgstr "Pokazuj tylko na stronie głównej"
    96 
    97 #: aspexi-sweet-popups.php:320
    98 msgid "Popup title"
    99 msgstr "Nagłówek okienka"
    100 
    101 #: aspexi-sweet-popups.php:328
    102 msgid "Popup content"
    103 msgstr "Treść okienka"
    104 
    105 #: aspexi-sweet-popups.php:332
    106 msgid "You can use simple HTML and shortcodes."
    107 msgstr "Możesz użyć uproszczonego HTML lub shortcode."
    108 
    109 #: aspexi-sweet-popups.php:337
    110 msgid "Show only once per user (based on cookies)"
    111 msgstr "Pokazuj tylko raz (oparte na ciasteczkach)"
    112 
    113 #: aspexi-sweet-popups.php:345
    114 msgid "Cookie lifetime (in days)"
    115 msgstr "Czas życia ciasteczka (dni)"
    116 
    117 #: aspexi-sweet-popups.php:348
    118 msgid "If omitted or zero, the cookie will expire at the end of the session."
    119 msgstr ""
    120 "Jeśli puste lub zero to czas życia ciasteczka zakończy się razem z "
    121 "zakończeniem sesji."
    122 
    123 #: aspexi-sweet-popups.php:353
     208#: aspexi-sweet-popups.php:510
    124209msgid "Icon type"
    125210msgstr "Typ ikony"
    126211
    127 #: aspexi-sweet-popups.php:359
     212#: aspexi-sweet-popups.php:517
    128213msgid "Empty"
    129214msgstr "Pusty"
    130215
    131 #: aspexi-sweet-popups.php:365
     216#: aspexi-sweet-popups.php:523
    132217msgid "Info"
    133218msgstr "Informacja"
    134219
    135 #: aspexi-sweet-popups.php:371
     220#: aspexi-sweet-popups.php:529
    136221msgid "Warning"
    137222msgstr "Ostrzeżenie"
    138223
    139 #: aspexi-sweet-popups.php:377
     224#: aspexi-sweet-popups.php:535
    140225msgid "Success"
    141226msgstr "Sukces"
    142227
    143 #: aspexi-sweet-popups.php:383
     228#: aspexi-sweet-popups.php:541
    144229msgid "Error"
    145230msgstr "Błąd"
    146231
    147 #: aspexi-sweet-popups.php:393
    148 msgid "Save settings"
    149 msgstr "Zapisz ustawienia"
    150 
    151 #: aspexi-sweet-popups.php:394
     232#: aspexi-sweet-popups.php:549
     233msgid "Select close button"
     234msgstr "Wybierz przycisk zamykania"
     235
     236#: aspexi-sweet-popups.php:556
     237msgid "Button"
     238msgstr "Przycisk"
     239
     240#: aspexi-sweet-popups.php:561
     241msgid "Icon"
     242msgstr "Ikona"
     243
     244#: aspexi-sweet-popups.php:564
     245msgid ""
     246"You can add own element with class \"close-sweet-popup\" which close popup"
     247msgstr ""
     248"Możesz dodać własny element z klasą „close-sweet-popup”, który zamknie "
     249"okienko"
     250
     251#: aspexi-sweet-popups.php:569
     252msgid "Close button color"
     253msgstr "Kolor przycisku zamykania"
     254
     255#: aspexi-sweet-popups.php:573
     256msgid ""
     257"This will apply to the button color as well as long as the default theme is "
     258"used."
     259msgstr "Kolor przycisku będzie taki sam jeśli wybrano domyślną skórkę."
     260
     261#: aspexi-sweet-popups.php:590
     262msgid "Show Facebook Like Button"
     263msgstr "Pokaż przycisk „Lubię to!”"
     264
     265#: aspexi-sweet-popups.php:599
     266msgid "Like Button URL"
     267msgstr "Adres przycisku „Lubię to!”"
     268
     269#: aspexi-sweet-popups.php:607
     270msgid "Any"
     271msgstr "Dowolny"
     272
     273#: aspexi-sweet-popups.php:608
     274msgid "Site url"
     275msgstr "Adres sieci"
     276
     277#: aspexi-sweet-popups.php:609
     278msgid "Page url"
     279msgstr "Adres strony"
     280
     281#: aspexi-sweet-popups.php:616
     282msgid "Like Button Layout"
     283msgstr "Layout przycisku „Lubię to!”"
     284
     285#: aspexi-sweet-popups.php:651
     286msgid "Advanced"
     287msgstr "Zaawansowane"
     288
     289#: aspexi-sweet-popups.php:656
     290msgid "Auto open"
     291msgstr "Autootwieranie"
     292
     293#: aspexi-sweet-popups.php:659
     294msgid "Auto open after"
     295msgstr "Automatycznie otwórz po"
     296
     297#: aspexi-sweet-popups.php:659
     298msgid "milliseconds (1000 milliseconds = 1 second)"
     299msgstr "milisekundy (1000 milisekund = 1 sekunda)"
     300
     301#: aspexi-sweet-popups.php:664
     302msgid "Auto open when user reaches element"
     303msgstr "Otwórz automatycznie gdy użytkownik zobaczy element"
     304
     305#: aspexi-sweet-popups.php:667
     306msgid "Auto open when user reaches"
     307msgstr "Otwórz automatycznie gdy użytkownik przejdzie do"
     308
     309#: aspexi-sweet-popups.php:667
     310msgid "(jQuery selector for example #element_id, .some_class)"
     311msgstr "(Selektor jQuery np.: #element_id, .jakaś_klasa)"
     312
     313#: aspexi-sweet-popups.php:672
     314msgid "Auto open when user reaches position"
     315msgstr "Otwórz automatycznie gdy użytkownik przewinie do pozycji"
     316
     317#: aspexi-sweet-popups.php:675
     318msgid "Auto open when user is"
     319msgstr "Automatycznie otwórz gdy użytkownik jest"
     320
     321#: aspexi-sweet-popups.php:677
     322msgid "Top"
     323msgstr "Góry"
     324
     325#: aspexi-sweet-popups.php:678
     326msgid "Bottom"
     327msgstr "Dołu"
     328
     329#: aspexi-sweet-popups.php:689
    152330msgid "Preview"
    153331msgstr "Podgląd"
     332
     333#~ msgid ""
     334#~ "Wrong or missing theme. Available themes: Default, Facebook, Google, "
     335#~ "Twitter. Settings not saved."
     336#~ msgstr ""
     337#~ "Nie prawidłowa skórka. Dostępne skórki to: Domyślna, Facebook, Google i "
     338#~ "Twitter. Ustawienia niezapisane."
     339
     340#~ msgid "Close button"
     341#~ msgstr "Przycisk zamknij"
     342
     343#~ msgid "Close icon"
     344#~ msgstr "Przycisk z ikonką"
     345
     346#~ msgid "Select theme"
     347#~ msgstr "Wybierz skórkę"
     348
     349#~ msgid "Show only on the bottom"
     350#~ msgstr "Pokazuj tylko na dole strony"
     351
     352#~ msgid "Button OK"
     353#~ msgstr "Przycisk OK"
     354
     355#~ msgid "Cross"
     356#~ msgstr "Krzyżyk"
  • aspexi-sweet-popups/trunk/languages/aspexisweetpopups.pot

    r1294897 r1832129  
    33msgstr ""
    44"Project-Id-Version: Aspexi Sweet Popups\n"
    5 "POT-Creation-Date: 2015-11-23 14:56+0100\n"
     5"POT-Creation-Date: 2016-01-13 16:30+0100\n"
    66"PO-Revision-Date: 2015-11-17 08:47+0100\n"
    77"Last-Translator: Krzysztof Dryja <dryja@aspexi.com>\n"
     
    2525msgstr ""
    2626
    27 #: aspexi-sweet-popups.php:192
     27#: aspexi-sweet-popups.php:192 aspexi-sweet-popups.php:278
    2828msgid "Settings"
    2929msgstr ""
     
    5757msgstr ""
    5858
    59 #: aspexi-sweet-popups.php:288
     59#: aspexi-sweet-popups.php:279
     60msgid "Shortcode"
     61msgstr ""
     62
     63#: aspexi-sweet-popups.php:280
     64msgid "Newsletter"
     65msgstr ""
     66
     67#: aspexi-sweet-popups.php:296
     68msgid "Avaliable options (accepted values separated by \"|\")"
     69msgstr ""
     70
     71#: aspexi-sweet-popups.php:319
     72msgid "Example 1"
     73msgstr ""
     74
     75#: aspexi-sweet-popups.php:322
     76msgid "Example 2"
     77msgstr ""
     78
     79#: aspexi-sweet-popups.php:325
     80msgid "Example 3"
     81msgstr ""
     82
     83#: aspexi-sweet-popups.php:336
     84msgid "MailChimp"
     85msgstr ""
     86
     87#: aspexi-sweet-popups.php:341
     88msgid "MailChimp Integration"
     89msgstr ""
     90
     91#: aspexi-sweet-popups.php:345
     92msgid "MailChimp API Key"
     93msgstr ""
     94
     95#: aspexi-sweet-popups.php:352
     96msgid "MailChimp Lists"
     97msgstr ""
     98
     99#: aspexi-sweet-popups.php:360
     100msgid "Enable Double Opt-In"
     101msgstr ""
     102
     103#: aspexi-sweet-popups.php:367
     104msgid "To display MailChimp write shortocde in popup content"
     105msgstr ""
     106
     107#: aspexi-sweet-popups.php:377 aspexi-sweet-popups.php:407
     108#: aspexi-sweet-popups.php:695
     109msgid "Save settings"
     110msgstr ""
     111
     112#: aspexi-sweet-popups.php:383
     113msgid "Write your button text"
     114msgstr ""
     115
     116#: aspexi-sweet-popups.php:390
     117msgid "Success message"
     118msgstr ""
     119
     120#: aspexi-sweet-popups.php:397
     121msgid "Error message"
     122msgstr ""
     123
     124#: aspexi-sweet-popups.php:416
     125msgid "Basic"
     126msgstr ""
     127
     128#: aspexi-sweet-popups.php:422
    60129msgid "Sweet Popups"
    61130msgstr ""
    62131
    63 #: aspexi-sweet-popups.php:292
     132#: aspexi-sweet-popups.php:426
    64133msgid "Enabled"
    65134msgstr ""
    66135
    67 #: aspexi-sweet-popups.php:293
     136#: aspexi-sweet-popups.php:427
    68137msgid "Disabled"
    69138msgstr ""
    70139
    71 #: aspexi-sweet-popups.php:299
    72 msgid "Select theme"
    73 msgstr ""
    74 
    75 #: aspexi-sweet-popups.php:303
     140#: aspexi-sweet-popups.php:433
     141msgid "Show only on the home page"
     142msgstr ""
     143
     144#: aspexi-sweet-popups.php:441
     145msgid "Show when user reaches bottom of the page"
     146msgstr ""
     147
     148#: aspexi-sweet-popups.php:450
     149msgid "Popup title"
     150msgstr ""
     151
     152#: aspexi-sweet-popups.php:458
     153msgid "Popup content"
     154msgstr ""
     155
     156#: aspexi-sweet-popups.php:462
     157msgid "You can use simple HTML and shortcodes."
     158msgstr ""
     159
     160#: aspexi-sweet-popups.php:467
     161msgid "Show only once per user (based on cookies)"
     162msgstr ""
     163
     164#: aspexi-sweet-popups.php:475
     165msgid "Cookie lifetime (in days)"
     166msgstr ""
     167
     168#: aspexi-sweet-popups.php:478
     169msgid "If omitted or zero, the cookie will expire at the end of the session."
     170msgstr ""
     171
     172#: aspexi-sweet-popups.php:488
     173msgid "Look & Feel"
     174msgstr ""
     175
     176#: aspexi-sweet-popups.php:494
     177msgid "Theme"
     178msgstr ""
     179
     180#: aspexi-sweet-popups.php:501
    76181msgid "Default"
    77182msgstr ""
    78183
    79 #: aspexi-sweet-popups.php:312
    80 msgid "Show only on the home page"
    81 msgstr ""
    82 
    83 #: aspexi-sweet-popups.php:320
    84 msgid "Popup title"
    85 msgstr ""
    86 
    87 #: aspexi-sweet-popups.php:328
    88 msgid "Popup content"
    89 msgstr ""
    90 
    91 #: aspexi-sweet-popups.php:332
    92 msgid "You can use simple HTML and shortcodes."
    93 msgstr ""
    94 
    95 #: aspexi-sweet-popups.php:337
    96 msgid "Show only once per user (based on cookies)"
    97 msgstr ""
    98 
    99 #: aspexi-sweet-popups.php:345
    100 msgid "Cookie lifetime (in days)"
    101 msgstr ""
    102 
    103 #: aspexi-sweet-popups.php:348
    104 msgid "If omitted or zero, the cookie will expire at the end of the session."
    105 msgstr ""
    106 
    107 #: aspexi-sweet-popups.php:353
     184#: aspexi-sweet-popups.php:522
    108185msgid "Icon type"
    109186msgstr ""
    110187
    111 #: aspexi-sweet-popups.php:359
     188#: aspexi-sweet-popups.php:528
    112189msgid "Empty"
    113190msgstr ""
    114191
    115 #: aspexi-sweet-popups.php:365
     192#: aspexi-sweet-popups.php:534
    116193msgid "Info"
    117194msgstr ""
    118195
    119 #: aspexi-sweet-popups.php:371
     196#: aspexi-sweet-popups.php:540
    120197msgid "Warning"
    121198msgstr ""
    122199
    123 #: aspexi-sweet-popups.php:377
     200#: aspexi-sweet-popups.php:546
    124201msgid "Success"
    125202msgstr ""
    126203
    127 #: aspexi-sweet-popups.php:383
     204#: aspexi-sweet-popups.php:552
    128205msgid "Error"
    129206msgstr ""
    130207
    131 #: aspexi-sweet-popups.php:393
    132 msgid "Save settings"
    133 msgstr ""
    134 
    135 #: aspexi-sweet-popups.php:394
     208#: aspexi-sweet-popups.php:559
     209msgid "Select close button"
     210msgstr ""
     211
     212#: aspexi-sweet-popups.php:566
     213msgid "Close button"
     214msgstr ""
     215
     216#: aspexi-sweet-popups.php:571
     217msgid "Close icon"
     218msgstr ""
     219
     220#: aspexi-sweet-popups.php:574
     221msgid "You can add own element with class \"close-sweet-popup\" which close popup"
     222msgstr ""
     223
     224#: aspexi-sweet-popups.php:579
     225msgid "Close button color"
     226msgstr ""
     227
     228#: aspexi-sweet-popups.php:599
     229msgid "Show Facebook Like Button"
     230msgstr ""
     231
     232#: aspexi-sweet-popups.php:608
     233msgid "Like Button URL"
     234msgstr ""
     235
     236#: aspexi-sweet-popups.php:616
     237msgid "Any"
     238msgstr ""
     239
     240#: aspexi-sweet-popups.php:617
     241msgid "Site url"
     242msgstr ""
     243
     244#: aspexi-sweet-popups.php:618
     245msgid "Page url"
     246msgstr ""
     247
     248#: aspexi-sweet-popups.php:625
     249msgid "Like Button Layout"
     250msgstr ""
     251
     252#: aspexi-sweet-popups.php:658
     253msgid "Advanced"
     254msgstr ""
     255
     256#: aspexi-sweet-popups.php:663
     257msgid "Auto open"
     258msgstr ""
     259
     260#: aspexi-sweet-popups.php:666
     261msgid "Auto open after"
     262msgstr ""
     263
     264#: aspexi-sweet-popups.php:666
     265msgid "milliseconds (1000 milliseconds = 1 second)"
     266msgstr ""
     267
     268#: aspexi-sweet-popups.php:671
     269msgid "Auto open when user reaches element"
     270msgstr ""
     271
     272#: aspexi-sweet-popups.php:674
     273msgid "Auto open when user reaches"
     274msgstr ""
     275
     276#: aspexi-sweet-popups.php:674
     277msgid "(jQuery selector for example #element_id, .some_class)"
     278msgstr ""
     279
     280#: aspexi-sweet-popups.php:679
     281msgid "Auto open when user reaches position"
     282msgstr ""
     283
     284#: aspexi-sweet-popups.php:682
     285msgid "Auto open when user is"
     286msgstr ""
     287
     288#: aspexi-sweet-popups.php:684
     289msgid "Top"
     290msgstr ""
     291
     292#: aspexi-sweet-popups.php:685
     293msgid "Bottom"
     294msgstr ""
     295
     296#: aspexi-sweet-popups.php:696
    136297msgid "Preview"
    137298msgstr ""
  • aspexi-sweet-popups/trunk/readme.txt

    r1591313 r1832129  
    55Tags: popup, popups, scroll popups, wordpress popup, wp popups, login popup, promotion, responsive popup, pop over, marketing, advertise, box, layout, notification, overlay, pop-up, simple popup
    66Requires at least: 4.0
    7 Tested up to: 4.7.2
    8 Stable tag: 1.1.1
     7Tested up to: 4.9.4
     8Stable tag: 1.1.2
    99License: GPLv2 or later
    1010License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5555== Changelog ==
    5656
     57= 1.1.2 =
     58* Sweet Alert library update
     59* Minor fixes
     60
    5761= 1.1.1 =
    5862* CSS fix for 4.7.2
Note: See TracChangeset for help on using the changeset viewer.