Changeset 1832129
- Timestamp:
- 03/02/2018 09:51:56 AM (8 years ago)
- Location:
- aspexi-sweet-popups
- Files:
-
- 58 added
- 12 edited
-
tags/1.1.2 (added)
-
tags/1.1.2/Sweet-Alert-LICENSE (added)
-
tags/1.1.2/aspexi-sweet-popups.php (added)
-
tags/1.1.2/css (added)
-
tags/1.1.2/css/sweet-popups.css (added)
-
tags/1.1.2/css/sweetalert-button.css (added)
-
tags/1.1.2/css/sweetalert-facebook.css (added)
-
tags/1.1.2/css/sweetalert-footer.css (added)
-
tags/1.1.2/css/sweetalert-google.css (added)
-
tags/1.1.2/css/sweetalert-modal.css (added)
-
tags/1.1.2/css/sweetalert-overlay.css (added)
-
tags/1.1.2/css/sweetalert-text.css (added)
-
tags/1.1.2/css/sweetalert-title.css (added)
-
tags/1.1.2/css/sweetalert-twitter.css (added)
-
tags/1.1.2/css/sweetalert.css (added)
-
tags/1.1.2/images (added)
-
tags/1.1.2/images/aspexi300.png (added)
-
tags/1.1.2/images/close_button_button.png (added)
-
tags/1.1.2/images/close_button_icon.png (added)
-
tags/1.1.2/images/empty.png (added)
-
tags/1.1.2/images/error.png (added)
-
tags/1.1.2/images/info.png (added)
-
tags/1.1.2/images/like_button_layout_box_count.png (added)
-
tags/1.1.2/images/like_button_layout_button.png (added)
-
tags/1.1.2/images/like_button_layout_button_count.png (added)
-
tags/1.1.2/images/like_button_layout_standard.png (added)
-
tags/1.1.2/images/success.png (added)
-
tags/1.1.2/images/theme_facebook.png (added)
-
tags/1.1.2/images/theme_google.png (added)
-
tags/1.1.2/images/theme_none.png (added)
-
tags/1.1.2/images/theme_twitter.png (added)
-
tags/1.1.2/images/warning.png (added)
-
tags/1.1.2/js (added)
-
tags/1.1.2/js/asp-admin.js (added)
-
tags/1.1.2/js/asp.js (added)
-
tags/1.1.2/js/sweetalert.min.js (added)
-
tags/1.1.2/languages (added)
-
tags/1.1.2/languages/aspexisweetpopups-pl_PL.mo (added)
-
tags/1.1.2/languages/aspexisweetpopups-pl_PL.po (added)
-
tags/1.1.2/languages/aspexisweetpopups.pot (added)
-
tags/1.1.2/readme.txt (added)
-
trunk/aspexi-sweet-popups.php (modified) (16 diffs)
-
trunk/css/sweet-popups.css (added)
-
trunk/css/sweetalert-button.css (added)
-
trunk/css/sweetalert-facebook.css (modified) (7 diffs)
-
trunk/css/sweetalert-footer.css (added)
-
trunk/css/sweetalert-google.css (modified) (7 diffs)
-
trunk/css/sweetalert-modal.css (added)
-
trunk/css/sweetalert-overlay.css (added)
-
trunk/css/sweetalert-text.css (added)
-
trunk/css/sweetalert-title.css (added)
-
trunk/css/sweetalert-twitter.css (modified) (10 diffs)
-
trunk/css/sweetalert.css (modified) (28 diffs)
-
trunk/images/close_button_button.png (added)
-
trunk/images/close_button_icon.png (added)
-
trunk/images/like_button_layout_box_count.png (added)
-
trunk/images/like_button_layout_button.png (added)
-
trunk/images/like_button_layout_button_count.png (added)
-
trunk/images/like_button_layout_standard.png (added)
-
trunk/images/theme_facebook.png (added)
-
trunk/images/theme_google.png (added)
-
trunk/images/theme_none.png (added)
-
trunk/images/theme_twitter.png (added)
-
trunk/js/asp-admin.js (modified) (3 diffs)
-
trunk/js/asp.js (modified) (1 diff)
-
trunk/js/sweetalert.min.js (modified) (1 diff)
-
trunk/languages/aspexisweetpopups-pl_PL.mo (modified) (previous)
-
trunk/languages/aspexisweetpopups-pl_PL.po (modified) (4 diffs)
-
trunk/languages/aspexisweetpopups.pot (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
aspexi-sweet-popups/trunk/aspexi-sweet-popups.php
r1591313 r1832129 6 6 Author: Aspexi 7 7 Author URI: http://aspexi.com/ 8 Version: 1.1. 18 Version: 1.1.2 9 9 10 10 License: GPLv2 or later … … 27 27 if ( ! class_exists( 'AspexiSweetPopups' ) ) { 28 28 29 define('ASPEXISWEETPOPUPS_VERSION', '1.1. 0');30 define('ASPEXISWEETPOPUPS_URL', plugin s_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__ ) ); 32 32 33 33 class AspexiSweetPopups … … 45 45 add_action( 'admin_menu', array( &$this, 'admin_menu' ) ); 46 46 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' ) ); 48 48 add_action( 'admin_enqueue_scripts',array( &$this, 'admin_scripts' ) ); 49 49 … … 62 62 public function admin_menu() { 63 63 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' ) ); 65 65 } 66 66 … … 70 70 'aspexisweetpopups_version' => ASPEXISWEETPOPUPS_VERSION, 71 71 'status' => 'disabled', 72 'theme' => 'none',73 72 'only_frontpage' => 'off', 74 73 'title' => 'Your title', … … 109 108 110 109 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 }123 110 124 111 wp_enqueue_script( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'js/sweetalert.min.js' ); … … 159 146 public function admin_scripts( $hook_suffix ) { 160 147 161 if( 'appearance_page_ aspexi-sweet-popups'!= $hook_suffix )148 if( 'appearance_page_'.basename(__FILE__, '.php') != $hook_suffix ) 162 149 return; 163 150 164 151 wp_enqueue_style( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'css/sweetalert.css' ); 152 wp_enqueue_style( 'sweet-popups', ASPEXISWEETPOPUPS_URL . 'css/sweet-popups.css' ); 165 153 166 154 wp_enqueue_script( 'sweet-alert', ASPEXISWEETPOPUPS_URL . 'js/sweetalert.min.js' ); … … 172 160 'icon_type' => $this->config['icon_type'], 173 161 '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' ), 175 167 ) ); 176 168 } … … 192 184 array_unshift( $action_links, $pro_link ); 193 185 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>'; 195 187 array_unshift( $action_links, $settings_link ); 196 188 } … … 232 224 $this->add_error( __( 'Wrong or missing status. Available statuses: enabled and disabled. Settings not saved.' ) ); 233 225 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 238 226 if ( ! in_array( $_REQUEST['asp_icon_type'], array( 'empty', 'warning', 'error', 'success', 'info' ) ) ) 239 227 … … 256 244 $aspexisweetpopups_request_options = array(); 257 245 $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'] ) : '';259 246 $aspexisweetpopups_request_options['only_frontpage'] = isset( $_REQUEST['asp_only_frontpage'] ) ? sanitize_text_field( $_REQUEST['asp_only_frontpage'] ) : ''; 260 247 $aspexisweetpopups_request_options['title'] = isset( $_REQUEST['asp_title'] ) ? sanitize_text_field( $_REQUEST['asp_title'] ) : ''; … … 277 264 <?php $this->display_admin_notices( true ); ?> 278 265 <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' ] ) ) : ?> 281 399 <form method="post" action="<?php echo ASPEXISWEETPOPUPS_ADMIN_URL; ?>"> 282 400 <input type="hidden" name="asp_form_submit" value="submit" /> … … 284 402 <div class="postbox"> 285 403 <div class="inside"> 404 <h3> 405 <span><?php echo __( 'Basic', 'aspexisweetpopups' ); ?></span> 406 </h3> 286 407 <table class="form-table"> 287 408 <tbody> … … 299 420 <tr valign="top"> 300 421 <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">314 422 <?php _e('Show only on the home page', 'aspexisweetpopups'); ?> 315 423 </th> 316 424 <td> 317 425 <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(); ?> 318 435 </td> 319 436 </tr> … … 349 466 <td> 350 467 <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' : ''; ?>> <?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>388 468 </td> 389 469 </tr> … … 393 473 </div> 394 474 <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'); ?> <input type="text" name="asp_autoopentime" value="3000" size="4" disabled readonly /> <?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' ); ?>: <input type="text" name="asp_autoopenonelement_name" size="10" value="" disabled readonly><small> <?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' ); ?>: <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 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'); ?>" /> 397 704 </p> 398 705 </form> 706 <?php endif; ?> 399 707 <br /> 400 708 <div class="postbox"> 401 <h3><span>Made by</span></h3>402 709 <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> 405 715 </div> 406 716 </div> -
aspexi-sweet-popups/trunk/css/sweetalert-facebook.css
r1294897 r1832129 2 2 border-radius: 3px; } 3 3 4 .sw eet-alert{4 .swal-modal { 5 5 font-family: Helvetica, Arial, 'lucida grande', tahoma, verdana, arial, sans-serif; 6 6 padding: 12px; … … 8 8 text-align: right; 9 9 box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 6px 30px rgba(0, 0, 0, 0.14); } 10 .sw eet-alert h2{10 .swal-modal .swal-title { 11 11 position: absolute; 12 12 top: 0; … … 21 21 color: #131722; 22 22 border-bottom: 1px solid #e5e5e5; } 23 .sw eet-alert p{23 .swal-modal .swal-text { 24 24 display: block; 25 25 text-align: center; … … 27 27 font-weight: 400; 28 28 font-size: 15px; 29 line-height: 1.2rem; 29 30 margin-top: 7px; } 30 .sweet-alert .sa-button-container { 31 .swal-modal .swal-footer { 32 padding: 0; 31 33 border-top: 1px solid #dcdee3; } 32 .sw eet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {34 .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] { 33 35 padding-bottom: 10px; } 34 .sw eet-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 { 35 37 display: none; } 36 .sw eet-alertbutton {38 .swal-modal button { 37 39 font-size: 12px; 38 40 padding: 5px 10px; … … 43 45 margin: 0; 44 46 margin-top: 12px; } 45 .sw eet-alert button:focus, .sweet-alertbutton.cancel:focus {47 .swal-modal button:focus, .swal-modal button.cancel:focus { 46 48 box-shadow: 0 0 1px 2px rgba(88, 144, 255, 0.75), 0 1px 1px rgba(0, 0, 0, 0.15) !important; } 47 .sw eet-alert button.confirm {49 .swal-modal button.swal-button--confirm { 48 50 border: 1px solid #3d5586; 49 51 background-color: #47639c !important; 50 52 margin-left: 4px; } 51 .sw eet-alertbutton.cancel {53 .swal-modal button.cancel { 52 54 color: #4e5664; 53 55 background-color: #fafbfb; … … 56 58 box-shadow: 0px 1px 1px rgba(0, 0, 0, 0.04) !important; 57 59 font-weight: 600; } 58 .sw eet-alertbutton.cancel:hover {60 .swal-modal button.cancel:hover { 59 61 background-color: #fafbfb; } 60 .sw eet-alert.sa-icon:not(.sa-custom) {62 .swal-modal .sa-icon:not(.sa-custom) { 61 63 transform: scale(0.7); 62 64 margin-bottom: -10px; 63 65 margin-top: -10px; } 64 .sw eet-alertinput {66 .swal-modal input { 65 67 border: 1px solid #bdc7d8; 66 68 padding: 3px; … … 70 72 height: 33px; 71 73 margin: 10px 0; } 72 .sw eet-alertinput:focus {74 .swal-modal input:focus { 73 75 box-shadow: 0 0 1px 2px rgba(88, 144, 255, 0.75), 0 1px 1px rgba(0, 0, 0, 0.15) !important; } 74 .sw eet-alertfieldset .sa-input-error {76 .swal-modal fieldset .sa-input-error { 75 77 display: none; } 76 .sw eet-alert.sa-error-container {78 .swal-modal .sa-error-container { 77 79 text-align: center; 78 80 background-color: #fdebe8; 79 81 margin: 0; 80 82 border: none; } 81 .sw eet-alert.sa-error-container.show {83 .swal-modal .sa-error-container.show { 82 84 margin: 14px; 83 85 margin-top: 0; 84 86 border: 1px solid #d5512d; } 85 .sw eet-alert.sa-error-container .icon {87 .swal-modal .sa-error-container .icon { 86 88 display: none; } 87 .sw eet-alert .sa-error-container p{89 .swal-modal .sa-error-container .swal-text { 88 90 color: #303b44; 89 91 margin-top: 3px; } -
aspexi-sweet-popups/trunk/css/sweetalert-google.css
r1294897 r1832129 2 2 background: rgba(10, 10, 10, 0.6); } 3 3 4 .sw eet-alert{4 .swal-modal { 5 5 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 6 6 padding: 24px; … … 10 10 border-radius: 0; 11 11 box-shadow: 0 0 14px rgba(0, 0, 0, 0.24), 0 14px 28px rgba(0, 0, 0, 0.48); } 12 .sw eet-alert h2{12 .swal-modal .swal-title { 13 13 position: absolute; 14 14 top: 0; … … 19 19 color: #212121; 20 20 margin: 20px 0; 21 font-size: 1.2 em;21 font-size: 1.2rem; 22 22 line-height: 1.25; 23 23 text-align: left; 24 24 padding: 0 24px; } 25 .sw eet-alert p{25 .swal-modal .swal-text { 26 26 display: block; 27 27 text-align: center; … … 29 29 font-weight: 400; 30 30 font-size: 14px; 31 line-height: 1.2rem; 31 32 margin: 20px 0; } 32 .sweet-alert button { 33 .swal-modal .swal-footer { 34 padding: 0; } 35 .swal-modal button { 33 36 border-radius: 2px; 34 37 box-shadow: none !important; … … 41 44 position: relative; 42 45 margin-top: 0; } 43 .sw eet-alert button:hover, .sweet-alertbutton:focus {46 .swal-modal button:hover, .swal-modal button:focus { 44 47 background-color: #f6f6f6 !important; } 45 .sw eet-alert button.confirm {48 .swal-modal button.swal-button--confirm { 46 49 color: #3c80f6; } 47 .sw eet-alertbutton.cancel {50 .swal-modal button.cancel { 48 51 color: #757575; } 49 .sw eet-alertbutton.cancel:focus {52 .swal-modal button.cancel:focus { 50 53 box-shadow: none !important; } 51 .sw eet-alert.sa-icon:not(.sa-custom) {54 .swal-modal .sa-icon:not(.sa-custom) { 52 55 transform: scale(0.8); 53 56 margin-bottom: -10px; 54 57 margin-top: -10px; } 55 .sw eet-alertinput {58 .swal-modal input { 56 59 border: none; 57 60 border-radius: 0; … … 65 68 font-size: 13px; 66 69 margin: 10px 0; } 67 .sw eet-alertinput:focus {70 .swal-modal input:focus { 68 71 border: none; 69 72 border-bottom: 1px solid #3c80f6; 70 73 box-shadow: inset 0 -1px 0 #3c80f6; } 71 .sw eet-alertfieldset {74 .swal-modal fieldset { 72 75 padding: 0; } 73 .sw eet-alertfieldset .sa-input-error {76 .swal-modal fieldset .sa-input-error { 74 77 display: none; } 75 .sw eet-alert.sa-error-container {78 .swal-modal .sa-error-container { 76 79 display: none; 77 80 background: none; … … 80 83 margin: 0 -20px; 81 84 text-align: left; } 82 .sw eet-alert.sa-error-container.show {85 .swal-modal .sa-error-container.show { 83 86 padding: 0 24px; 84 87 display: block; } 85 .sw eet-alert.sa-error-container.show ~ fieldset input {88 .swal-modal .sa-error-container.show ~ fieldset input { 86 89 background: red; 87 90 border-bottom: 1px solid #d9453c; 88 91 box-shadow: inset 0 -1px 0 #d9453c; } 89 .sw eet-alert.sa-error-container .icon {92 .swal-modal .sa-error-container .icon { 90 93 display: none; } 91 .sw eet-alert .sa-error-container p{94 .swal-modal .sa-error-container .swal-text { 92 95 color: #d9453c; 93 96 margin-top: 0; } -
aspexi-sweet-popups/trunk/css/sweetalert-twitter.css
r1294897 r1832129 2 2 background: rgba(41, 47, 51, 0.9); } 3 3 4 .sw eet-alert{4 .swal-modal { 5 5 font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; 6 6 padding: 15px; … … 9 9 border-radius: 6px; 10 10 box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.11), 0px 6px 30px rgba(0, 0, 0, 0.14); } 11 .sw eet-alert h2{11 .swal-modal .swal-title { 12 12 position: absolute; 13 13 top: 0; 14 14 left: 0; 15 15 right: 0; 16 height: 40px;17 line-height: 40px;18 16 font-size: 16px; 19 17 font-weight: 400; … … 22 20 color: #66757f; 23 21 border-bottom: 1px solid #e1e8ed; } 24 .sw eet-alert p{22 .swal-modal .swal-text { 25 23 display: block; 26 24 text-align: center; … … 28 26 font-weight: 400; 29 27 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 { 32 31 background-color: #f5f8fa; 33 32 border-top: 1px solid #e1e8ed; … … 35 34 margin: -15px; 36 35 margin-top: 0; } 37 .sw eet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {36 .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] { 38 37 padding-bottom: 10px; } 39 .sw eet-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 { 40 39 display: none; } 41 .sw eet-alertbutton {40 .swal-modal button { 42 41 border-radius: 2px; 43 42 box-shadow: none !important; 44 43 text-shadow: 0px -1px 0px rgba(0, 0, 0, 0.3); 45 margin: 17px 0px;44 /*margin: 17px 0px;*/ 46 45 border-radius: 4px; 47 46 font-size: 14px; … … 49 48 padding: 8px 16px; 50 49 position: relative; } 51 .sw eet-alert button:focus, .sweet-alertbutton.cancel:focus {50 .swal-modal button:focus, .swal-modal button.cancel:focus { 52 51 box-shadow: none !important; } 53 .sw eet-alert button:focus::before, .sweet-alertbutton.cancel:focus::before {52 .swal-modal button:focus::before, .swal-modal button.cancel:focus::before { 54 53 content: ""; 55 54 position: absolute; … … 60 59 border: 2px solid #a5b0b4; 61 60 border-radius: 8px; } 62 .sw eet-alert button.confirm {61 .swal-modal button.swal-button--confirm { 63 62 background-color: #55acee !important; 64 63 background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.05)); … … 67 66 box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15); 68 67 margin-right: 15px; } 69 .sw eet-alert button.confirm:hover {68 .swal-modal button.swal-button--confirm:hover { 70 69 background-color: #55acee; 71 70 background-image: linear-gradient(transparent, rgba(0, 0, 0, 0.15)); 72 71 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#00000000, endColorstr=#26000000)"; 73 72 border-color: #3b88c3; } 74 .sw eet-alertbutton.cancel {73 .swal-modal button.cancel { 75 74 color: #66757e; 76 75 background-color: #f5f8fa; … … 79 78 margin-right: 9px; 80 79 border: 1px solid #e1e8ed; } 81 .sw eet-alert button.cancel:hover, .sweet-alertbutton.cancel:focus:hover {80 .swal-modal button.cancel:hover, .swal-modal button.cancel:focus:hover { 82 81 background-color: #e1e8ed; 83 82 background-image: linear-gradient(#fff, #e1e8ed); 84 83 -ms-filter: "progid:DXImageTransform.Microsoft.gradient(enabled=false)"; 85 84 border-color: #e1e8ed; } 86 .sw eet-alertbutton.cancel:focus {85 .swal-modal button.cancel:focus { 87 86 background: #fff; 88 87 border-color: #fff; } 89 .sw eet-alert.sa-icon:not(.sa-custom) {88 .swal-modal .sa-icon:not(.sa-custom) { 90 89 transform: scale(0.72); 91 90 margin-bottom: -2px; 92 91 margin-top: -10px; } 93 .sw eet-alertinput {92 .swal-modal input { 94 93 border: 1px solid #e1e8ed; 95 94 border-radius: 3px; … … 99 98 font-size: 13px; 100 99 margin: 10px 0; } 101 .sw eet-alertinput:focus {100 .swal-modal input:focus { 102 101 border-color: #94A1A6; 103 102 box-shadow: inset 0 0 0 1px rgba(77, 99, 107, 0.7); } 104 .sw eet-alertfieldset .sa-input-error {103 .swal-modal fieldset .sa-input-error { 105 104 display: none; } 106 .sw eet-alert.sa-error-container {105 .swal-modal .sa-error-container { 107 106 text-align: center; 108 107 border: none; 109 108 background-color: #fbedc0; 110 109 margin-bottom: 6px; } 111 .sw eet-alert.sa-error-container.show {110 .swal-modal .sa-error-container.show { 112 111 border: 1px solid #f0e1b9; } 113 .sw eet-alert.sa-error-container .icon {112 .swal-modal .sa-error-container .icon { 114 113 display: none; } 115 .sw eet-alert .sa-error-container p{114 .swal-modal .sa-error-container .swal-text { 116 115 color: #292f33; 117 116 font-weight: 600; -
aspexi-sweet-popups/trunk/css/sweetalert.css
r1294897 r1832129 1 .swal-text, 2 .swal-footer { 3 text-align: center; 4 } 5 1 6 body.stop-scrolling { 2 7 height: 100%; … … 17 22 z-index: 10000; } 18 23 19 .sw eet-alert{24 .swal-modal { 20 25 background-color: white; 21 26 font-family: 'Open Sans', 'Helvetica Neue', Helvetica, Arial, sans-serif; 22 width: 478px;27 width: 500px; 23 28 padding: 17px; 24 29 border-radius: 5px; … … 27 32 left: 50%; 28 33 top: 50%; 29 margin-left: -25 6px;34 margin-left: -250px; 30 35 margin-top: -200px; 31 overflow: hidden;32 display: none;36 /*overflow: hidden;*/ 37 /*display: none;*/ 33 38 z-index: 99999; } 34 39 @media all and (max-width: 540px) { 35 .sw eet-alert{40 .swal-modal { 36 41 width: auto; 37 42 margin-left: 0; … … 39 44 left: 15px; 40 45 right: 15px; } } 41 .sw eet-alerth2 {46 .swal-modal h2 { 42 47 color: #575757; 43 48 font-size: 30px; … … 50 55 line-height: 40px; 51 56 display: block; } 52 .sw eet-alertp {57 .swal-modal p { 53 58 color: #797979; 54 59 font-size: 16px; … … 61 66 padding: 0; 62 67 line-height: normal; } 63 .sweet-alert fieldset { 68 .swal-modal fieldset { 69 display: none; 64 70 border: none; 65 71 position: relative; } 66 .sw eet-alert.sa-error-container {72 .swal-modal .sa-error-container { 67 73 background-color: #f1f1f1; 68 74 margin-left: -17px; … … 73 79 webkit-transition: padding 0.15s, max-height 0.15s; 74 80 transition: padding 0.15s, max-height 0.15s; } 75 .sw eet-alert.sa-error-container.show {81 .swal-modal .sa-error-container.show { 76 82 padding: 10px 0; 77 83 max-height: 100px; 78 84 webkit-transition: padding 0.2s, max-height 0.2s; 79 85 transition: padding 0.25s, max-height 0.25s; } 80 .sw eet-alert.sa-error-container .icon {86 .swal-modal .sa-error-container .icon { 81 87 display: inline-block; 82 88 width: 24px; … … 88 94 text-align: center; 89 95 margin-right: 3px; } 90 .sw eet-alert.sa-error-container p {96 .swal-modal .sa-error-container p { 91 97 display: inline-block; } 92 .sw eet-alert.sa-input-error {98 .swal-modal .sa-input-error { 93 99 position: absolute; 94 100 top: 29px; … … 103 109 -webkit-transition: all 0.1s; 104 110 transition: all 0.1s; } 105 .sw eet-alert .sa-input-error::before, .sweet-alert.sa-input-error::after {111 .swal-modal .sa-input-error::before, .swal-modal .sa-input-error::after { 106 112 content: ""; 107 113 width: 20px; … … 114 120 left: 50%; 115 121 margin-left: -9px; } 116 .sw eet-alert.sa-input-error::before {122 .swal-modal .sa-input-error::before { 117 123 -webkit-transform: rotate(-45deg); 118 124 transform: rotate(-45deg); } 119 .sw eet-alert.sa-input-error::after {125 .swal-modal .sa-input-error::after { 120 126 -webkit-transform: rotate(45deg); 121 127 transform: rotate(45deg); } 122 .sw eet-alert.sa-input-error.show {128 .swal-modal .sa-input-error.show { 123 129 opacity: 1; 124 130 -webkit-transform: scale(1); 125 131 transform: scale(1); } 126 .sw eet-alertinput {132 .swal-modal input { 127 133 width: 100%; 128 134 box-sizing: border-box; … … 135 141 box-shadow: inset 0px 1px 1px rgba(0, 0, 0, 0.06); 136 142 padding: 0 12px; 137 display: none;143 display: block; 138 144 -webkit-transition: all 0.3s; 139 145 transition: all 0.3s; } 140 .sw eet-alertinput:focus {146 .swal-modal input:focus { 141 147 outline: none; 142 148 box-shadow: 0px 0px 3px #c4e6f5; 143 149 border: 1px solid #b4dbed; } 144 .sw eet-alertinput:focus::-moz-placeholder {150 .swal-modal input:focus::-moz-placeholder { 145 151 transition: opacity 0.3s 0.03s ease; 146 152 opacity: 0.5; } 147 .sw eet-alertinput:focus:-ms-input-placeholder {153 .swal-modal input:focus:-ms-input-placeholder { 148 154 transition: opacity 0.3s 0.03s ease; 149 155 opacity: 0.5; } 150 .sw eet-alertinput:focus::-webkit-input-placeholder {156 .swal-modal input:focus::-webkit-input-placeholder { 151 157 transition: opacity 0.3s 0.03s ease; 152 158 opacity: 0.5; } 153 .sw eet-alertinput::-moz-placeholder {159 .swal-modal input::-moz-placeholder { 154 160 color: #bdbdbd; } 155 .sw eet-alertinput:-ms-input-placeholder {161 .swal-modal input:-ms-input-placeholder { 156 162 color: #bdbdbd; } 157 .sw eet-alertinput::-webkit-input-placeholder {163 .swal-modal input::-webkit-input-placeholder { 158 164 color: #bdbdbd; } 159 .sw eet-alert.show-input input {165 .swal-modal.show-input input { 160 166 display: block; } 161 .sw eet-alert.sa-confirm-button-container {167 .swal-modal .sa-confirm-button-container { 162 168 display: inline-block; 163 169 position: relative; } 164 .sw eet-alert.la-ball-fall {170 .swal-modal .la-ball-fall { 165 171 position: absolute; 166 172 left: 50%; … … 170 176 opacity: 0; 171 177 visibility: hidden; } 172 .sw eet-alertbutton {178 .swal-modal button { 173 179 background-color: #8CD4F5; 174 180 color: white; … … 182 188 margin: 26px 5px 0 5px; 183 189 cursor: pointer; } 184 .sw eet-alertbutton:focus {190 .swal-modal button:focus { 185 191 outline: none; 186 192 box-shadow: 0 0 2px rgba(128, 179, 235, 0.5), inset 0 0 0 1px rgba(0, 0, 0, 0.05); } 187 .sw eet-alertbutton:hover {193 .swal-modal button:hover { 188 194 background-color: #7ecff4; } 189 .sw eet-alertbutton:active {195 .swal-modal button:active { 190 196 background-color: #5dc2f1; } 191 .sw eet-alertbutton.cancel {197 .swal-modal button.cancel { 192 198 background-color: #C1C1C1; } 193 .sw eet-alertbutton.cancel:hover {199 .swal-modal button.cancel:hover { 194 200 background-color: #b9b9b9; } 195 .sw eet-alertbutton.cancel:active {201 .swal-modal button.cancel:active { 196 202 background-color: #a8a8a8; } 197 .sw eet-alertbutton.cancel:focus {203 .swal-modal button.cancel:focus { 198 204 box-shadow: rgba(197, 205, 211, 0.8) 0px 0px 2px, rgba(0, 0, 0, 0.0470588) 0px 0px 0px 1px inset !important; } 199 .sw eet-alertbutton[disabled] {205 .swal-modal button[disabled] { 200 206 opacity: .6; 201 207 cursor: default; } 202 .sw eet-alertbutton.confirm[disabled] {208 .swal-modal button.confirm[disabled] { 203 209 color: transparent; } 204 .sw eet-alertbutton.confirm[disabled] ~ .la-ball-fall {210 .swal-modal button.confirm[disabled] ~ .la-ball-fall { 205 211 opacity: 1; 206 212 visibility: visible; 207 213 transition-delay: 0s; } 208 .sw eet-alertbutton::-moz-focus-inner {214 .swal-modal button::-moz-focus-inner { 209 215 border: 0; } 210 .sw eet-alert[data-has-cancel-button=false] button {216 .swal-modal[data-has-cancel-button=false] button { 211 217 box-shadow: none !important; } 212 .sw eet-alert[data-has-confirm-button=false][data-has-cancel-button=false] {218 .swal-modal[data-has-confirm-button=false][data-has-cancel-button=false] { 213 219 padding-bottom: 40px; } 214 .sw eet-alert.sa-icon {220 .swal-modal .sa-icon { 215 221 width: 80px; 216 222 height: 80px; … … 223 229 position: relative; 224 230 box-sizing: content-box; } 225 .sw eet-alert.sa-icon.sa-error {231 .swal-modal .sa-icon.sa-error { 226 232 border-color: #F27474; } 227 .sw eet-alert.sa-icon.sa-error .sa-x-mark {233 .swal-modal .sa-icon.sa-error .sa-x-mark { 228 234 position: relative; 229 235 display: block; } 230 .sw eet-alert.sa-icon.sa-error .sa-line {236 .swal-modal .sa-icon.sa-error .sa-line { 231 237 position: absolute; 232 238 height: 5px; … … 236 242 top: 37px; 237 243 border-radius: 2px; } 238 .sw eet-alert.sa-icon.sa-error .sa-line.sa-left {244 .swal-modal .sa-icon.sa-error .sa-line.sa-left { 239 245 -webkit-transform: rotate(45deg); 240 246 transform: rotate(45deg); 241 247 left: 17px; } 242 .sw eet-alert.sa-icon.sa-error .sa-line.sa-right {248 .swal-modal .sa-icon.sa-error .sa-line.sa-right { 243 249 -webkit-transform: rotate(-45deg); 244 250 transform: rotate(-45deg); 245 251 right: 16px; } 246 .sw eet-alert.sa-icon.sa-warning {252 .swal-modal .sa-icon.sa-warning { 247 253 border-color: #F8BB86; } 248 .sw eet-alert.sa-icon.sa-warning .sa-body {254 .swal-modal .sa-icon.sa-warning .sa-body { 249 255 position: absolute; 250 256 width: 5px; … … 256 262 margin-left: -2px; 257 263 background-color: #F8BB86; } 258 .sw eet-alert.sa-icon.sa-warning .sa-dot {264 .swal-modal .sa-icon.sa-warning .sa-dot { 259 265 position: absolute; 260 266 width: 7px; … … 266 272 bottom: 10px; 267 273 background-color: #F8BB86; } 268 .sw eet-alert.sa-icon.sa-info {274 .swal-modal .sa-icon.sa-info { 269 275 border-color: #C9DAE1; } 270 .sw eet-alert.sa-icon.sa-info::before {276 .swal-modal .sa-icon.sa-info::before { 271 277 content: ""; 272 278 position: absolute; … … 278 284 margin-left: -2px; 279 285 background-color: #C9DAE1; } 280 .sw eet-alert.sa-icon.sa-info::after {286 .swal-modal .sa-icon.sa-info::after { 281 287 left: 50%; 282 288 content: ""; … … 288 294 top: 19px; 289 295 background-color: #C9DAE1; } 290 .sw eet-alert.sa-icon.sa-success {296 .swal-modal .sa-icon.sa-success { 291 297 border-color: #A5DC86; } 292 .sw eet-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 { 293 299 content: ''; 294 300 -webkit-border-radius: 40px; … … 301 307 -webkit-transform: rotate(45deg); 302 308 transform: rotate(45deg); } 303 .sw eet-alert.sa-icon.sa-success::before {309 .swal-modal .sa-icon.sa-success::before { 304 310 -webkit-border-radius: 120px 0 0 120px; 305 311 border-radius: 120px 0 0 120px; … … 310 316 -webkit-transform-origin: 60px 60px; 311 317 transform-origin: 60px 60px; } 312 .sw eet-alert.sa-icon.sa-success::after {318 .swal-modal .sa-icon.sa-success::after { 313 319 -webkit-border-radius: 0 120px 120px 0; 314 320 border-radius: 0 120px 120px 0; … … 319 325 -webkit-transform-origin: 0px 60px; 320 326 transform-origin: 0px 60px; } 321 .sw eet-alert.sa-icon.sa-success .sa-placeholder {327 .swal-modal .sa-icon.sa-success .sa-placeholder { 322 328 width: 80px; 323 329 height: 80px; … … 331 337 top: -4px; 332 338 z-index: 2; } 333 .sw eet-alert.sa-icon.sa-success .sa-fix {339 .swal-modal .sa-icon.sa-success .sa-fix { 334 340 width: 5px; 335 341 height: 90px; … … 341 347 -webkit-transform: rotate(-45deg); 342 348 transform: rotate(-45deg); } 343 .sw eet-alert.sa-icon.sa-success .sa-line {349 .swal-modal .sa-icon.sa-success .sa-line { 344 350 height: 5px; 345 351 background-color: #A5DC86; … … 348 354 position: absolute; 349 355 z-index: 2; } 350 .sw eet-alert.sa-icon.sa-success .sa-line.sa-tip {356 .swal-modal .sa-icon.sa-success .sa-line.sa-tip { 351 357 width: 25px; 352 358 left: 14px; … … 354 360 -webkit-transform: rotate(45deg); 355 361 transform: rotate(45deg); } 356 .sw eet-alert.sa-icon.sa-success .sa-line.sa-long {362 .swal-modal .sa-icon.sa-success .sa-line.sa-long { 357 363 width: 47px; 358 364 right: 8px; … … 360 366 -webkit-transform: rotate(-45deg); 361 367 transform: rotate(-45deg); } 362 .sw eet-alert.sa-icon.sa-custom {368 .swal-modal .sa-icon.sa-custom { 363 369 background-size: contain; 364 370 border-radius: 0; … … 732 738 /* This file is automatically merged into sweet-alert.min.js through Gulp */ 733 739 /* Error icon */ 734 .sw eet-alert.sa-icon.sa-error .sa-line.sa-left {740 .swal-modal .sa-icon.sa-error .sa-line.sa-left { 735 741 -ms-transform: rotate(45deg) \9; } 736 742 737 .sw eet-alert.sa-icon.sa-error .sa-line.sa-right {743 .swal-modal .sa-icon.sa-error .sa-line.sa-right { 738 744 -ms-transform: rotate(-45deg) \9; } 739 745 740 746 /* Success icon */ 741 .sw eet-alert.sa-icon.sa-success {747 .swal-modal .sa-icon.sa-success { 742 748 border-color: transparent\9; } 743 749 744 .sw eet-alert.sa-icon.sa-success .sa-line.sa-tip {750 .swal-modal .sa-icon.sa-success .sa-line.sa-tip { 745 751 -ms-transform: rotate(45deg) \9; } 746 752 747 .sw eet-alert.sa-icon.sa-success .sa-line.sa-long {753 .swal-modal .sa-icon.sa-success .sa-line.sa-long { 748 754 -ms-transform: rotate(-45deg) \9; } 749 755 -
aspexi-sweet-popups/trunk/js/asp-admin.js
r1294897 r1832129 1 1 jQuery(document).ready(function() { 2 var previewButton = jQuery(' #previewbutton');2 var previewButton = jQuery('.previewbutton'); 3 3 4 4 previewButton.on('click', function(event) { … … 30 30 title: jQuery('input[name="asp_title"]').val(), 31 31 text: asp_nl2br( jQuery('textarea[name="asp_content"]').val() ), 32 type: type,32 icon: type, 33 33 html: true 34 34 }); … … 42 42 } 43 43 }); 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 }); 44 99 }); 45 100 -
aspexi-sweet-popups/trunk/js/asp.js
r1288476 r1832129 4 4 title: asp.title, 5 5 text: asp.content, 6 type: (asp.icon_type != 'empty') ? asp.icon_type : '',6 icon: (asp.icon_type != 'empty') ? asp.icon_type : '', 7 7 html: asp.html 8 8 }); -
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 2 2 msgstr "" 3 3 "Project-Id-Version: Aspexi Sweet Popups\n" 4 "POT-Creation-Date: 201 5-11-23 14:55+0100\n"5 "PO-Revision-Date: 201 5-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" 6 6 "Last-Translator: Krzysztof Dryja <dryja@aspexi.com>\n" 7 7 "Language-Team: Aspexi Ltd. <support@aspexi.com>\n" … … 23 23 msgstr "Aspexi Sweet Popups" 24 24 25 #: aspexi-sweet-popups.php:183 25 #: aspexi-sweet-popups.php:161 26 msgid "Unsaved changes!" 27 msgstr "Potwierdzenie opuszczenia strony" 28 29 #: aspexi-sweet-popups.php:162 30 msgid "If you leave this page now the changes you have made may be lost." 31 msgstr "Jeśli teraz opuścisz tę stronę wprowadzone zmiany zostaną utracone." 32 33 #: aspexi-sweet-popups.php:163 34 msgid "Stay and continue" 35 msgstr "Pozostań i kontynuuj" 36 37 #: aspexi-sweet-popups.php:164 38 msgid "Drop changes and leave" 39 msgstr "Opuść bez zapisywania" 40 41 #: aspexi-sweet-popups.php:175 26 42 msgid "Get PRO version" 27 43 msgstr "Wersja PRO" 28 44 29 #: aspexi-sweet-popups.php:1 9245 #: aspexi-sweet-popups.php:184 aspexi-sweet-popups.php:265 30 46 msgid "Settings" 31 47 msgstr "Ustawienia" 32 48 33 #: aspexi-sweet-popups.php:2 2449 #: aspexi-sweet-popups.php:216 34 50 msgid "You do not have sufficient permissions to access this page." 35 51 msgstr "Nie masz uprawnień dla tej strony." 36 52 37 #: aspexi-sweet-popups.php:2 3053 #: aspexi-sweet-popups.php:222 38 54 msgid "" 39 55 "Wrong or missing status. Available statuses: enabled and disabled. Settings " … … 43 59 "zapisano." 44 60 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 54 62 msgid "" 55 63 "Wrong icon type. Available types: empty, warning, error, success, info. " … … 59 67 "informacja. Nie zapisano." 60 68 61 #: aspexi-sweet-popups.php:2 46 aspexi-sweet-popups.php:25069 #: aspexi-sweet-popups.php:234 aspexi-sweet-popups.php:238 62 70 msgid "Missing Popup content. Settings not saved." 63 71 msgstr "Puste pole treść okienka. Nie zapisano." 64 72 65 #: aspexi-sweet-popups.php:2 6973 #: aspexi-sweet-popups.php:256 66 74 msgid "Settings saved." 67 75 msgstr "Zapisano." 68 76 69 #: aspexi-sweet-popups.php:2 7677 #: aspexi-sweet-popups.php:263 70 78 msgid "Aspexi Sweet Popups Settings" 71 79 msgstr "Aspexi Sweet Popups Ustawienia" 72 80 73 #: aspexi-sweet-popups.php:288 81 #: aspexi-sweet-popups.php:266 82 msgid "Shortcode" 83 msgstr "Shortcode" 84 85 #: aspexi-sweet-popups.php:267 86 msgid "Newsletter" 87 msgstr "Newsletter" 88 89 #: aspexi-sweet-popups.php:283 90 msgid "Avaliable options (accepted values separated by \"|\")" 91 msgstr "Dostępne opcje (akceptowalne wartości oddzielone znakiem ”|”)" 92 93 #: aspexi-sweet-popups.php:306 94 msgid "Example 1" 95 msgstr "Przykład 1" 96 97 #: aspexi-sweet-popups.php:309 98 msgid "Example 2" 99 msgstr "Przykład 2" 100 101 #: aspexi-sweet-popups.php:312 102 msgid "Example 3" 103 msgstr "Przykład 3" 104 105 #: aspexi-sweet-popups.php:323 106 msgid "MailChimp" 107 msgstr "MailChimp" 108 109 #: aspexi-sweet-popups.php:328 110 msgid "MailChimp Integration" 111 msgstr "Integracja MailChimp" 112 113 #: aspexi-sweet-popups.php:332 114 msgid "MailChimp API Key" 115 msgstr "MailChimp klucz API" 116 117 #: aspexi-sweet-popups.php:339 118 msgid "MailChimp Lists" 119 msgstr "Listy MailChimp" 120 121 #: aspexi-sweet-popups.php:347 122 msgid "Enable Double Opt-In" 123 msgstr "Włącz opcje „Opt-In”" 124 125 #: aspexi-sweet-popups.php:354 126 msgid "To display MailChimp write shortocde in popup content" 127 msgstr "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 131 msgid "Save settings" 132 msgstr "Zapisz ustawienia" 133 134 #: aspexi-sweet-popups.php:370 135 msgid "Write your button text" 136 msgstr "Wpisz tekst przycisku" 137 138 #: aspexi-sweet-popups.php:377 139 msgid "Success message" 140 msgstr "Wiadomość powodzenia" 141 142 #: aspexi-sweet-popups.php:384 143 msgid "Error message" 144 msgstr "Wiadomość niepowodzenia" 145 146 #: aspexi-sweet-popups.php:403 147 msgid "Basic" 148 msgstr "Podstawowe" 149 150 #: aspexi-sweet-popups.php:409 74 151 msgid "Sweet Popups" 75 152 msgstr "Sweet Popups" 76 153 77 #: aspexi-sweet-popups.php: 292154 #: aspexi-sweet-popups.php:413 78 155 msgid "Enabled" 79 156 msgstr "Włączony" 80 157 81 #: aspexi-sweet-popups.php: 293158 #: aspexi-sweet-popups.php:414 82 159 msgid "Disabled" 83 160 msgstr "Wyłączony" 84 161 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 163 msgid "Show only on the home page" 164 msgstr "Pokazuj tylko na stronie głównej" 165 166 #: aspexi-sweet-popups.php:428 167 msgid "Show when user reaches bottom of the page" 168 msgstr "Pokaż gdy użytkownik przejdzie do dołu strony" 169 170 #: aspexi-sweet-popups.php:437 171 msgid "Popup title" 172 msgstr "Nagłówek okienka" 173 174 #: aspexi-sweet-popups.php:445 175 msgid "Popup content" 176 msgstr "Treść okienka" 177 178 #: aspexi-sweet-popups.php:449 179 msgid "You can use simple HTML and shortcodes." 180 msgstr "Możesz użyć uproszczonego HTML lub shortcode." 181 182 #: aspexi-sweet-popups.php:454 183 msgid "Show only once per user (based on cookies)" 184 msgstr "Pokazuj tylko raz (oparte na ciasteczkach)" 185 186 #: aspexi-sweet-popups.php:462 187 msgid "Cookie lifetime (in days)" 188 msgstr "Czas życia ciasteczka (dni)" 189 190 #: aspexi-sweet-popups.php:465 191 msgid "If omitted or zero, the cookie will expire at the end of the session." 192 msgstr "" 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 197 msgid "Look & Feel" 198 msgstr "Wygląd" 199 200 #: aspexi-sweet-popups.php:481 201 msgid "Theme" 202 msgstr "Szablon" 203 204 #: aspexi-sweet-popups.php:488 90 205 msgid "Default" 91 206 msgstr "Domyślna" 92 207 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 124 209 msgid "Icon type" 125 210 msgstr "Typ ikony" 126 211 127 #: aspexi-sweet-popups.php: 359212 #: aspexi-sweet-popups.php:517 128 213 msgid "Empty" 129 214 msgstr "Pusty" 130 215 131 #: aspexi-sweet-popups.php: 365216 #: aspexi-sweet-popups.php:523 132 217 msgid "Info" 133 218 msgstr "Informacja" 134 219 135 #: aspexi-sweet-popups.php: 371220 #: aspexi-sweet-popups.php:529 136 221 msgid "Warning" 137 222 msgstr "Ostrzeżenie" 138 223 139 #: aspexi-sweet-popups.php: 377224 #: aspexi-sweet-popups.php:535 140 225 msgid "Success" 141 226 msgstr "Sukces" 142 227 143 #: aspexi-sweet-popups.php: 383228 #: aspexi-sweet-popups.php:541 144 229 msgid "Error" 145 230 msgstr "Błąd" 146 231 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 233 msgid "Select close button" 234 msgstr "Wybierz przycisk zamykania" 235 236 #: aspexi-sweet-popups.php:556 237 msgid "Button" 238 msgstr "Przycisk" 239 240 #: aspexi-sweet-popups.php:561 241 msgid "Icon" 242 msgstr "Ikona" 243 244 #: aspexi-sweet-popups.php:564 245 msgid "" 246 "You can add own element with class \"close-sweet-popup\" which close popup" 247 msgstr "" 248 "Możesz dodać własny element z klasą „close-sweet-popup”, który zamknie " 249 "okienko" 250 251 #: aspexi-sweet-popups.php:569 252 msgid "Close button color" 253 msgstr "Kolor przycisku zamykania" 254 255 #: aspexi-sweet-popups.php:573 256 msgid "" 257 "This will apply to the button color as well as long as the default theme is " 258 "used." 259 msgstr "Kolor przycisku będzie taki sam jeśli wybrano domyślną skórkę." 260 261 #: aspexi-sweet-popups.php:590 262 msgid "Show Facebook Like Button" 263 msgstr "Pokaż przycisk „Lubię to!”" 264 265 #: aspexi-sweet-popups.php:599 266 msgid "Like Button URL" 267 msgstr "Adres przycisku „Lubię to!”" 268 269 #: aspexi-sweet-popups.php:607 270 msgid "Any" 271 msgstr "Dowolny" 272 273 #: aspexi-sweet-popups.php:608 274 msgid "Site url" 275 msgstr "Adres sieci" 276 277 #: aspexi-sweet-popups.php:609 278 msgid "Page url" 279 msgstr "Adres strony" 280 281 #: aspexi-sweet-popups.php:616 282 msgid "Like Button Layout" 283 msgstr "Layout przycisku „Lubię to!”" 284 285 #: aspexi-sweet-popups.php:651 286 msgid "Advanced" 287 msgstr "Zaawansowane" 288 289 #: aspexi-sweet-popups.php:656 290 msgid "Auto open" 291 msgstr "Autootwieranie" 292 293 #: aspexi-sweet-popups.php:659 294 msgid "Auto open after" 295 msgstr "Automatycznie otwórz po" 296 297 #: aspexi-sweet-popups.php:659 298 msgid "milliseconds (1000 milliseconds = 1 second)" 299 msgstr "milisekundy (1000 milisekund = 1 sekunda)" 300 301 #: aspexi-sweet-popups.php:664 302 msgid "Auto open when user reaches element" 303 msgstr "Otwórz automatycznie gdy użytkownik zobaczy element" 304 305 #: aspexi-sweet-popups.php:667 306 msgid "Auto open when user reaches" 307 msgstr "Otwórz automatycznie gdy użytkownik przejdzie do" 308 309 #: aspexi-sweet-popups.php:667 310 msgid "(jQuery selector for example #element_id, .some_class)" 311 msgstr "(Selektor jQuery np.: #element_id, .jakaś_klasa)" 312 313 #: aspexi-sweet-popups.php:672 314 msgid "Auto open when user reaches position" 315 msgstr "Otwórz automatycznie gdy użytkownik przewinie do pozycji" 316 317 #: aspexi-sweet-popups.php:675 318 msgid "Auto open when user is" 319 msgstr "Automatycznie otwórz gdy użytkownik jest" 320 321 #: aspexi-sweet-popups.php:677 322 msgid "Top" 323 msgstr "Góry" 324 325 #: aspexi-sweet-popups.php:678 326 msgid "Bottom" 327 msgstr "Dołu" 328 329 #: aspexi-sweet-popups.php:689 152 330 msgid "Preview" 153 331 msgstr "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 3 3 msgstr "" 4 4 "Project-Id-Version: Aspexi Sweet Popups\n" 5 "POT-Creation-Date: 201 5-11-23 14:56+0100\n"5 "POT-Creation-Date: 2016-01-13 16:30+0100\n" 6 6 "PO-Revision-Date: 2015-11-17 08:47+0100\n" 7 7 "Last-Translator: Krzysztof Dryja <dryja@aspexi.com>\n" … … 25 25 msgstr "" 26 26 27 #: aspexi-sweet-popups.php:192 27 #: aspexi-sweet-popups.php:192 aspexi-sweet-popups.php:278 28 28 msgid "Settings" 29 29 msgstr "" … … 57 57 msgstr "" 58 58 59 #: aspexi-sweet-popups.php:288 59 #: aspexi-sweet-popups.php:279 60 msgid "Shortcode" 61 msgstr "" 62 63 #: aspexi-sweet-popups.php:280 64 msgid "Newsletter" 65 msgstr "" 66 67 #: aspexi-sweet-popups.php:296 68 msgid "Avaliable options (accepted values separated by \"|\")" 69 msgstr "" 70 71 #: aspexi-sweet-popups.php:319 72 msgid "Example 1" 73 msgstr "" 74 75 #: aspexi-sweet-popups.php:322 76 msgid "Example 2" 77 msgstr "" 78 79 #: aspexi-sweet-popups.php:325 80 msgid "Example 3" 81 msgstr "" 82 83 #: aspexi-sweet-popups.php:336 84 msgid "MailChimp" 85 msgstr "" 86 87 #: aspexi-sweet-popups.php:341 88 msgid "MailChimp Integration" 89 msgstr "" 90 91 #: aspexi-sweet-popups.php:345 92 msgid "MailChimp API Key" 93 msgstr "" 94 95 #: aspexi-sweet-popups.php:352 96 msgid "MailChimp Lists" 97 msgstr "" 98 99 #: aspexi-sweet-popups.php:360 100 msgid "Enable Double Opt-In" 101 msgstr "" 102 103 #: aspexi-sweet-popups.php:367 104 msgid "To display MailChimp write shortocde in popup content" 105 msgstr "" 106 107 #: aspexi-sweet-popups.php:377 aspexi-sweet-popups.php:407 108 #: aspexi-sweet-popups.php:695 109 msgid "Save settings" 110 msgstr "" 111 112 #: aspexi-sweet-popups.php:383 113 msgid "Write your button text" 114 msgstr "" 115 116 #: aspexi-sweet-popups.php:390 117 msgid "Success message" 118 msgstr "" 119 120 #: aspexi-sweet-popups.php:397 121 msgid "Error message" 122 msgstr "" 123 124 #: aspexi-sweet-popups.php:416 125 msgid "Basic" 126 msgstr "" 127 128 #: aspexi-sweet-popups.php:422 60 129 msgid "Sweet Popups" 61 130 msgstr "" 62 131 63 #: aspexi-sweet-popups.php: 292132 #: aspexi-sweet-popups.php:426 64 133 msgid "Enabled" 65 134 msgstr "" 66 135 67 #: aspexi-sweet-popups.php: 293136 #: aspexi-sweet-popups.php:427 68 137 msgid "Disabled" 69 138 msgstr "" 70 139 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 141 msgid "Show only on the home page" 142 msgstr "" 143 144 #: aspexi-sweet-popups.php:441 145 msgid "Show when user reaches bottom of the page" 146 msgstr "" 147 148 #: aspexi-sweet-popups.php:450 149 msgid "Popup title" 150 msgstr "" 151 152 #: aspexi-sweet-popups.php:458 153 msgid "Popup content" 154 msgstr "" 155 156 #: aspexi-sweet-popups.php:462 157 msgid "You can use simple HTML and shortcodes." 158 msgstr "" 159 160 #: aspexi-sweet-popups.php:467 161 msgid "Show only once per user (based on cookies)" 162 msgstr "" 163 164 #: aspexi-sweet-popups.php:475 165 msgid "Cookie lifetime (in days)" 166 msgstr "" 167 168 #: aspexi-sweet-popups.php:478 169 msgid "If omitted or zero, the cookie will expire at the end of the session." 170 msgstr "" 171 172 #: aspexi-sweet-popups.php:488 173 msgid "Look & Feel" 174 msgstr "" 175 176 #: aspexi-sweet-popups.php:494 177 msgid "Theme" 178 msgstr "" 179 180 #: aspexi-sweet-popups.php:501 76 181 msgid "Default" 77 182 msgstr "" 78 183 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 108 185 msgid "Icon type" 109 186 msgstr "" 110 187 111 #: aspexi-sweet-popups.php: 359188 #: aspexi-sweet-popups.php:528 112 189 msgid "Empty" 113 190 msgstr "" 114 191 115 #: aspexi-sweet-popups.php: 365192 #: aspexi-sweet-popups.php:534 116 193 msgid "Info" 117 194 msgstr "" 118 195 119 #: aspexi-sweet-popups.php: 371196 #: aspexi-sweet-popups.php:540 120 197 msgid "Warning" 121 198 msgstr "" 122 199 123 #: aspexi-sweet-popups.php: 377200 #: aspexi-sweet-popups.php:546 124 201 msgid "Success" 125 202 msgstr "" 126 203 127 #: aspexi-sweet-popups.php: 383204 #: aspexi-sweet-popups.php:552 128 205 msgid "Error" 129 206 msgstr "" 130 207 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 209 msgid "Select close button" 210 msgstr "" 211 212 #: aspexi-sweet-popups.php:566 213 msgid "Close button" 214 msgstr "" 215 216 #: aspexi-sweet-popups.php:571 217 msgid "Close icon" 218 msgstr "" 219 220 #: aspexi-sweet-popups.php:574 221 msgid "You can add own element with class \"close-sweet-popup\" which close popup" 222 msgstr "" 223 224 #: aspexi-sweet-popups.php:579 225 msgid "Close button color" 226 msgstr "" 227 228 #: aspexi-sweet-popups.php:599 229 msgid "Show Facebook Like Button" 230 msgstr "" 231 232 #: aspexi-sweet-popups.php:608 233 msgid "Like Button URL" 234 msgstr "" 235 236 #: aspexi-sweet-popups.php:616 237 msgid "Any" 238 msgstr "" 239 240 #: aspexi-sweet-popups.php:617 241 msgid "Site url" 242 msgstr "" 243 244 #: aspexi-sweet-popups.php:618 245 msgid "Page url" 246 msgstr "" 247 248 #: aspexi-sweet-popups.php:625 249 msgid "Like Button Layout" 250 msgstr "" 251 252 #: aspexi-sweet-popups.php:658 253 msgid "Advanced" 254 msgstr "" 255 256 #: aspexi-sweet-popups.php:663 257 msgid "Auto open" 258 msgstr "" 259 260 #: aspexi-sweet-popups.php:666 261 msgid "Auto open after" 262 msgstr "" 263 264 #: aspexi-sweet-popups.php:666 265 msgid "milliseconds (1000 milliseconds = 1 second)" 266 msgstr "" 267 268 #: aspexi-sweet-popups.php:671 269 msgid "Auto open when user reaches element" 270 msgstr "" 271 272 #: aspexi-sweet-popups.php:674 273 msgid "Auto open when user reaches" 274 msgstr "" 275 276 #: aspexi-sweet-popups.php:674 277 msgid "(jQuery selector for example #element_id, .some_class)" 278 msgstr "" 279 280 #: aspexi-sweet-popups.php:679 281 msgid "Auto open when user reaches position" 282 msgstr "" 283 284 #: aspexi-sweet-popups.php:682 285 msgid "Auto open when user is" 286 msgstr "" 287 288 #: aspexi-sweet-popups.php:684 289 msgid "Top" 290 msgstr "" 291 292 #: aspexi-sweet-popups.php:685 293 msgid "Bottom" 294 msgstr "" 295 296 #: aspexi-sweet-popups.php:696 136 297 msgid "Preview" 137 298 msgstr "" -
aspexi-sweet-popups/trunk/readme.txt
r1591313 r1832129 5 5 Tags: 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 6 6 Requires at least: 4.0 7 Tested up to: 4. 7.28 Stable tag: 1.1. 17 Tested up to: 4.9.4 8 Stable tag: 1.1.2 9 9 License: GPLv2 or later 10 10 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 55 55 == Changelog == 56 56 57 = 1.1.2 = 58 * Sweet Alert library update 59 * Minor fixes 60 57 61 = 1.1.1 = 58 62 * CSS fix for 4.7.2
Note: See TracChangeset
for help on using the changeset viewer.