Formidable Forms – Form Builder for WordPress - Version 5.2.02

Version Description

  • Updated Bootstrap to version 4.6.1.
  • New: Name fields will be automatically used to define entry names if available.
  • New: Added setting to update privileged access message.
  • Fix: Section icon dropdown toggles were not displaying updated changes.
  • Fix: Prevent a PHP 8.1 deprecation message where null was being passed to substr.
  • Fix: Name fields with no descriptions were still displaying bottom margins.
Download this release

Release Info

Developer formidableforms
Plugin Icon 128x128 Formidable Forms – Form Builder for WordPress
Version 5.2.02
Comparing to
See all releases

Code changes from version 5.2.01 to 5.2.02

classes/controllers/FrmAddonsController.php CHANGED
@@ -177,6 +177,11 @@ class FrmAddonsController {
177
  'title' => 'Formidable Views',
178
  'excerpt' => 'Add the power of views to your Formidable Forms to display your form submissions in listings, tables, calendars, and more.',
179
  ),
 
 
 
 
 
180
  );
181
 
182
  $defaults = array(
177
  'title' => 'Formidable Views',
178
  'excerpt' => 'Add the power of views to your Formidable Forms to display your form submissions in listings, tables, calendars, and more.',
179
  ),
180
+ 'quiz_maker' => array(
181
+ 'title' => 'Quiz Maker',
182
+ 'link' => 'downloads/quiz-maker/',
183
+ 'excerpt' => 'Make quizzes, automatically score them and show user scores.',
184
+ ),
185
  );
186
 
187
  $defaults = array(
classes/controllers/FrmAppController.php CHANGED
@@ -461,7 +461,8 @@ class FrmAppController {
461
 
462
  wp_register_script( 'formidable_admin', FrmAppHelper::plugin_url() . '/js/formidable_admin.js', $dependecies, $version, true );
463
  wp_register_style( 'formidable-admin', FrmAppHelper::plugin_url() . '/css/frm_admin.css', array(), $version );
464
- wp_register_script( 'bootstrap_tooltip', FrmAppHelper::plugin_url() . '/js/bootstrap.min.js', array( 'jquery' ), '3.4.1' );
 
465
  wp_register_style( 'formidable-grids', FrmAppHelper::plugin_url() . '/css/frm_grids.css', array(), $version );
466
 
467
  if ( 'formidable' === FrmAppHelper::simple_get( 'page', 'sanitize_title' ) ) {
@@ -473,9 +474,7 @@ class FrmAppController {
473
  }
474
  }
475
 
476
- // load multselect js
477
- $depends_on = array( 'jquery', 'bootstrap_tooltip' );
478
- wp_register_script( 'bootstrap-multiselect', FrmAppHelper::plugin_url() . '/js/bootstrap-multiselect.js', $depends_on, '1.1.1', true );
479
 
480
  $page = FrmAppHelper::simple_get( 'page', 'sanitize_title' );
481
  $post_type = FrmAppHelper::simple_get( 'post_type', 'sanitize_title' );
461
 
462
  wp_register_script( 'formidable_admin', FrmAppHelper::plugin_url() . '/js/formidable_admin.js', $dependecies, $version, true );
463
  wp_register_style( 'formidable-admin', FrmAppHelper::plugin_url() . '/css/frm_admin.css', array(), $version );
464
+ wp_register_script( 'popper', FrmAppHelper::plugin_url() . '/js/popper.min.js', array( 'jquery' ), '1.16.0', true );
465
+ wp_register_script( 'bootstrap_tooltip', FrmAppHelper::plugin_url() . '/js/bootstrap.min.js', array( 'jquery', 'popper' ), '4.6.1', true );
466
  wp_register_style( 'formidable-grids', FrmAppHelper::plugin_url() . '/css/frm_grids.css', array(), $version );
467
 
468
  if ( 'formidable' === FrmAppHelper::simple_get( 'page', 'sanitize_title' ) ) {
474
  }
475
  }
476
 
477
+ wp_register_script( 'bootstrap-multiselect', FrmAppHelper::plugin_url() . '/js/bootstrap-multiselect.js', array( 'jquery', 'bootstrap_tooltip', 'popper' ), '1.1.1', true );
 
 
478
 
479
  $page = FrmAppHelper::simple_get( 'page', 'sanitize_title' );
480
  $post_type = FrmAppHelper::simple_get( 'post_type', 'sanitize_title' );
classes/controllers/FrmFormActionsController.php CHANGED
@@ -46,6 +46,7 @@ class FrmFormActionsController {
46
  'register' => 'FrmDefRegAction',
47
  'paypal' => 'FrmDefPayPalAction',
48
  'payment' => 'FrmDefHrsAction',
 
49
  'mailchimp' => 'FrmDefMlcmpAction',
50
  'api' => 'FrmDefApiAction',
51
 
@@ -134,6 +135,7 @@ class FrmFormActionsController {
134
  'email',
135
  'wppost',
136
  'register',
 
137
  'twilio',
138
  ),
139
  ),
@@ -204,7 +206,7 @@ class FrmFormActionsController {
204
  /* translators: %s: Name of form action */
205
  $upgrade_label = sprintf( esc_html__( '%s form actions', 'formidable' ), $action_control->action_options['tooltip'] );
206
 
207
- $default_shown = array( 'wppost', 'register', 'paypal', 'payment', 'hubspot' );
208
  $default_shown = array_values( array_diff( $default_shown, $allowed ) );
209
  $default_position = array_search( $action_control->id_base, $default_shown );
210
  $allowed_count = count( $allowed );
@@ -393,11 +395,16 @@ class FrmFormActionsController {
393
  return $form;
394
  }
395
 
 
 
 
 
396
  public static function update_settings( $form_id ) {
397
  FrmAppHelper::permission_check( 'frm_edit_forms' );
398
  $process_form = FrmAppHelper::get_post_param( 'process_form', '', 'sanitize_text_field' );
399
  if ( ! wp_verify_nonce( $process_form, 'process_form_nonce' ) ) {
400
- wp_die( esc_html__( 'You do not have permission to do that', 'formidable' ) );
 
401
  }
402
 
403
  global $wpdb;
46
  'register' => 'FrmDefRegAction',
47
  'paypal' => 'FrmDefPayPalAction',
48
  'payment' => 'FrmDefHrsAction',
49
+ 'quiz' => 'FrmDefQuizAction',
50
  'mailchimp' => 'FrmDefMlcmpAction',
51
  'api' => 'FrmDefApiAction',
52
 
135
  'email',
136
  'wppost',
137
  'register',
138
+ 'quiz',
139
  'twilio',
140
  ),
141
  ),
206
  /* translators: %s: Name of form action */
207
  $upgrade_label = sprintf( esc_html__( '%s form actions', 'formidable' ), $action_control->action_options['tooltip'] );
208
 
209
+ $default_shown = array( 'wppost', 'register', 'payment', 'quiz', 'hubspot' );
210
  $default_shown = array_values( array_diff( $default_shown, $allowed ) );
211
  $default_position = array_search( $action_control->id_base, $default_shown );
212
  $allowed_count = count( $allowed );
395
  return $form;
396
  }
397
 
398
+ /**
399
+ * @param int $form_id
400
+ * @return void
401
+ */
402
  public static function update_settings( $form_id ) {
403
  FrmAppHelper::permission_check( 'frm_edit_forms' );
404
  $process_form = FrmAppHelper::get_post_param( 'process_form', '', 'sanitize_text_field' );
405
  if ( ! wp_verify_nonce( $process_form, 'process_form_nonce' ) ) {
406
+ $frm_settings = FrmAppHelper::get_settings();
407
+ wp_die( esc_html( $frm_settings->admin_permission ) );
408
  }
409
 
410
  global $wpdb;
classes/controllers/FrmFormsController.php CHANGED
@@ -80,16 +80,6 @@ class FrmFormsController {
80
  return self::display_forms_list( $params, $message, $errors );
81
  }
82
 
83
- /**
84
- * Load the scripts before a modal can be triggered.
85
- *
86
- * @since 4.0
87
- */
88
- private static function init_modal() {
89
- wp_enqueue_script( 'jquery-ui-dialog' );
90
- wp_enqueue_style( 'jquery-ui-dialog' );
91
- }
92
-
93
  /**
94
  * Create the default email action
95
  *
@@ -1302,6 +1292,7 @@ class FrmFormsController {
1302
  *
1303
  * @since 3.04.01
1304
  *
 
1305
  * @param array $atts - Includes fields and form_id
1306
  */
1307
  return apply_filters( 'frm_advanced_helpers', $advanced_helpers, $atts );
80
  return self::display_forms_list( $params, $message, $errors );
81
  }
82
 
 
 
 
 
 
 
 
 
 
 
83
  /**
84
  * Create the default email action
85
  *
1292
  *
1293
  * @since 3.04.01
1294
  *
1295
+ * @param array $advanced_helpers
1296
  * @param array $atts - Includes fields and form_id
1297
  */
1298
  return apply_filters( 'frm_advanced_helpers', $advanced_helpers, $atts );
classes/helpers/FrmAppHelper.php CHANGED
@@ -11,7 +11,7 @@ class FrmAppHelper {
11
  /**
12
  * @since 2.0
13
  */
14
- public static $plug_version = '5.2.01';
15
 
16
  /**
17
  * @since 1.07.02
@@ -3318,6 +3318,10 @@ class FrmAppHelper {
3318
  */
3319
  public static function set_current_screen_and_hook_suffix() {
3320
  global $hook_suffix;
 
 
 
 
3321
  set_current_screen();
3322
  }
3323
 
@@ -3349,6 +3353,20 @@ class FrmAppHelper {
3349
  <?php
3350
  }
3351
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
3352
  /**
3353
  * @since 4.08
3354
  * @deprecated 4.09.01
11
  /**
12
  * @since 2.0
13
  */
14
+ public static $plug_version = '5.2.02';
15
 
16
  /**
17
  * @since 1.07.02
3318
  */
3319
  public static function set_current_screen_and_hook_suffix() {
3320
  global $hook_suffix;
3321
+ if ( is_null( $hook_suffix ) ) {
3322
+ // $hook_suffix gets used in substr so make sure it's not null. PHP 8.1 deprecates null in substr.
3323
+ $hook_suffix = ''; // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited
3324
+ }
3325
  set_current_screen();
3326
  }
3327
 
3353
  <?php
3354
  }
3355
 
3356
+ /**
3357
+ * Shows pill text.
3358
+ *
3359
+ * @since 5.2.02
3360
+ *
3361
+ * @param string $text Text in the pill. Default is NEW.
3362
+ */
3363
+ public static function show_pill_text( $text = null ) {
3364
+ if ( null === $text ) {
3365
+ $text = __( 'NEW', 'formidable' );
3366
+ }
3367
+ echo '<span class="frm-new-pill">' . esc_html( $text ) . '</span>';
3368
+ }
3369
+
3370
  /**
3371
  * @since 4.08
3372
  * @deprecated 4.09.01
classes/helpers/FrmFormsHelper.php CHANGED
@@ -1285,6 +1285,7 @@ BEFORE_HTML;
1285
  'Contact Form' => array( 'email' ),
1286
  'Survey' => array( 'comment', 'var(--primary-color)' ),
1287
  'Application Form' => array( 'align_right', 'rgb(0,160,210)' ),
 
1288
  '' => array( 'align_right' ),
1289
  );
1290
 
1285
  'Contact Form' => array( 'email' ),
1286
  'Survey' => array( 'comment', 'var(--primary-color)' ),
1287
  'Application Form' => array( 'align_right', 'rgb(0,160,210)' ),
1288
+ 'Quiz' => array( 'percent' ),
1289
  '' => array( 'align_right' ),
1290
  );
1291
 
classes/models/FrmEntryValidate.php CHANGED
@@ -15,7 +15,8 @@ class FrmEntryValidate {
15
  }
16
 
17
  if ( FrmAppHelper::is_admin() && is_user_logged_in() && ( ! isset( $values[ 'frm_submit_entry_' . $values['form_id'] ] ) || ! wp_verify_nonce( $values[ 'frm_submit_entry_' . $values['form_id'] ], 'frm_submit_entry_nonce' ) ) ) {
18
- $errors['form'] = __( 'You do not have permission to do that', 'formidable' );
 
19
  }
20
 
21
  self::set_item_key( $values );
@@ -112,8 +113,8 @@ class FrmEntryValidate {
112
 
113
  if ( $posted_field->required == '1' && FrmAppHelper::is_empty_value( $value ) ) {
114
  $errors[ 'field' . $args['id'] ] = FrmFieldsHelper::get_error_msg( $posted_field, 'blank' );
115
- } elseif ( $posted_field->type === 'text' && ! isset( $_POST['item_name'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
116
- $_POST['item_name'] = $value;
117
  }
118
 
119
  FrmEntriesHelper::set_posted_value( $posted_field, $value, $args );
@@ -132,6 +133,27 @@ class FrmEntryValidate {
132
  $errors = apply_filters( 'frm_validate_field_entry', $errors, $posted_field, $value, $args );
133
  }
134
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
135
  /**
136
  * Set $value to an empty string if it matches its label
137
  *
15
  }
16
 
17
  if ( FrmAppHelper::is_admin() && is_user_logged_in() && ( ! isset( $values[ 'frm_submit_entry_' . $values['form_id'] ] ) || ! wp_verify_nonce( $values[ 'frm_submit_entry_' . $values['form_id'] ], 'frm_submit_entry_nonce' ) ) ) {
18
+ $frm_settings = FrmAppHelper::get_settings();
19
+ $errors['form'] = $frm_settings->admin_permission;
20
  }
21
 
22
  self::set_item_key( $values );
113
 
114
  if ( $posted_field->required == '1' && FrmAppHelper::is_empty_value( $value ) ) {
115
  $errors[ 'field' . $args['id'] ] = FrmFieldsHelper::get_error_msg( $posted_field, 'blank' );
116
+ } elseif ( ! isset( $_POST['item_name'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing
117
+ self::maybe_add_item_name( $value, $posted_field );
118
  }
119
 
120
  FrmEntriesHelper::set_posted_value( $posted_field, $value, $args );
133
  $errors = apply_filters( 'frm_validate_field_entry', $errors, $posted_field, $value, $args );
134
  }
135
 
136
+ /**
137
+ * Maybe add item_name to $_POST to save it in items table.
138
+ *
139
+ * @since 5.2.02
140
+ *
141
+ * @param object $field Field object.
142
+ */
143
+ private static function maybe_add_item_name( $value, $field ) {
144
+ $item_name = false;
145
+ if ( 'name' === $field->type ) {
146
+ $field_obj = FrmFieldFactory::get_field_object( $field );
147
+ $item_name = $field_obj->get_display_value( $value );
148
+ } elseif ( 'text' === $field->type ) {
149
+ $item_name = $value;
150
+ }
151
+
152
+ if ( false !== $item_name ) {
153
+ $_POST['item_name'] = $item_name;
154
+ }
155
+ }
156
+
157
  /**
158
  * Set $value to an empty string if it matches its label
159
  *
classes/models/FrmSettings.php CHANGED
@@ -152,7 +152,7 @@ class FrmSettings {
152
  $filter_html = ! FrmAppHelper::allow_unfiltered_html();
153
 
154
  if ( $filter_html ) {
155
- $filter_keys = array( 'failed_msg', 'blank_msg', 'invalid_msg', 'unique_msg', 'success_msg', 'submit_value', 'login_msg', 'menu' );
156
  if ( ! empty( $params['additional_filter_keys'] ) ) {
157
  $filter_keys = array_merge( $filter_keys, $params['additional_filter_keys'] );
158
  }
@@ -220,6 +220,7 @@ class FrmSettings {
220
  public function translatable_strings() {
221
  return array(
222
  'invalid_msg',
 
223
  'failed_msg',
224
  'login_msg',
225
  );
152
  $filter_html = ! FrmAppHelper::allow_unfiltered_html();
153
 
154
  if ( $filter_html ) {
155
+ $filter_keys = array( 'failed_msg', 'blank_msg', 'invalid_msg', 'admin_permission', 'unique_msg', 'success_msg', 'submit_value', 'login_msg', 'menu' );
156
  if ( ! empty( $params['additional_filter_keys'] ) ) {
157
  $filter_keys = array_merge( $filter_keys, $params['additional_filter_keys'] );
158
  }
220
  public function translatable_strings() {
221
  return array(
222
  'invalid_msg',
223
+ 'admin_permission',
224
  'failed_msg',
225
  'login_msg',
226
  );
classes/views/frm-form-actions/default_actions.php CHANGED
@@ -33,6 +33,15 @@ class FrmDefPayPalAction extends FrmFormAction {
33
  }
34
  }
35
 
 
 
 
 
 
 
 
 
 
36
  // add aweber action
37
  class FrmDefAweberAction extends FrmFormAction {
38
  public function __construct() {
33
  }
34
  }
35
 
36
+ // add quiz action
37
+ class FrmDefQuizAction extends FrmFormAction {
38
+ public function __construct() {
39
+ $action_ops = FrmFormAction::default_action_opts( 'frm_percent_icon frm_quiz_icon frm_show_upgrade' );
40
+ $action_ops['plugin'] = 'quizzes';
41
+ parent::__construct( 'quiz', __( 'Quiz', 'formidable' ), $action_ops );
42
+ }
43
+ }
44
+
45
  // add aweber action
46
  class FrmDefAweberAction extends FrmFormAction {
47
  public function __construct() {
classes/views/frm-forms/_publish_box.php CHANGED
@@ -18,11 +18,10 @@ if ( 'settings' === FrmAppHelper::simple_get( 'frm_action', 'sanitize_title' ) )
18
  <div id="frm-preview-action">
19
  <?php if ( ( ! isset( $hide_preview ) || ! $hide_preview ) && isset( $values['form_key'] ) ) { ?>
20
  <div class="preview dropdown">
21
- <a href="#" id="frm-previewDrop" class="frm-dropdown-toggle button frm-button-secondary" data-toggle="dropdown">
22
  <?php esc_html_e( 'Preview', 'formidable' ); ?>
23
  <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown4_icon frm_svg13', array( 'aria-hidden' => 'true' ) ); ?>
24
  </a>
25
-
26
  <ul class="frm-dropdown-menu <?php echo esc_attr( is_rtl() ? 'pull-left' : 'pull-right' ); ?>" role="menu" aria-labelledby="frm-previewDrop">
27
  <li>
28
  <a href="<?php echo esc_url( FrmFormsHelper::get_direct_link( $values['form_key'] ) ); ?>" target="_blank">
18
  <div id="frm-preview-action">
19
  <?php if ( ( ! isset( $hide_preview ) || ! $hide_preview ) && isset( $values['form_key'] ) ) { ?>
20
  <div class="preview dropdown">
21
+ <a href="#" id="frm-previewDrop" class="frm-dropdown-toggle button frm-button-secondary" data-toggle="dropdown" role="button">
22
  <?php esc_html_e( 'Preview', 'formidable' ); ?>
23
  <?php FrmAppHelper::icon_by_class( 'frmfont frm_arrowdown4_icon frm_svg13', array( 'aria-hidden' => 'true' ) ); ?>
24
  </a>
 
25
  <ul class="frm-dropdown-menu <?php echo esc_attr( is_rtl() ? 'pull-left' : 'pull-right' ); ?>" role="menu" aria-labelledby="frm-previewDrop">
26
  <li>
27
  <a href="<?php echo esc_url( FrmFormsHelper::get_direct_link( $values['form_key'] ) ); ?>" target="_blank">
classes/views/frm-forms/landing-page-preview-option.php CHANGED
@@ -12,5 +12,8 @@ $params['class'] = 'frm_show_upgrade frm_noallow';
12
  $params['href'] = '#';
13
  ?>
14
  <a <?php FrmAppHelper::array_to_html_params( $params, true ); ?>>
15
- <?php esc_html_e( 'Generate Form Page', 'formidable' ); ?><span class="frm-new-pill"><?php esc_html_e( 'NEW', 'formidable' ); ?></span>
 
 
 
16
  </a>
12
  $params['href'] = '#';
13
  ?>
14
  <a <?php FrmAppHelper::array_to_html_params( $params, true ); ?>>
15
+ <?php
16
+ esc_html_e( 'Generate Form Page', 'formidable' );
17
+ FrmAppHelper::show_pill_text();
18
+ ?>
19
  </a>
classes/views/frm-forms/list-template.php CHANGED
@@ -46,6 +46,12 @@ if ( ! empty( $template['custom'] ) ) {
46
  </svg>
47
  <?php } ?>
48
  <?php echo esc_html( $stripped_template_name ); ?>
 
 
 
 
 
 
49
  <?php if ( $plan_required ) { ?>
50
  <span class="frm-plan-required-tag">
51
  <?php
@@ -58,14 +64,6 @@ if ( ! empty( $template['custom'] ) ) {
58
  <?php } ?>
59
  </h3>
60
  <p role="button"><?php echo $template['description'] ? esc_html( $template['description'] ) : '<i>' . esc_html__( 'No description', 'formidable' ) . '</i>'; ?></p>
61
- <?php
62
- $template_is_new = strtotime( $template['released'] ) > strtotime( '-10 days' );
63
- if ( $template_is_new && empty( $template['custom'] ) ) {
64
- ?><div class="frm_ribbon">
65
- <span>New</span>
66
- </div><?php
67
- }
68
- ?>
69
  </div>
70
  </div>
71
  </li><?php
46
  </svg>
47
  <?php } ?>
48
  <?php echo esc_html( $stripped_template_name ); ?>
49
+ <?php
50
+ $template_is_new = strtotime( $template['released'] ) > strtotime( '-10 days' );
51
+ if ( $template_is_new && empty( $template['custom'] ) ) {
52
+ FrmAppHelper::show_pill_text();
53
+ }
54
+ ?>
55
  <?php if ( $plan_required ) { ?>
56
  <span class="frm-plan-required-tag">
57
  <?php
64
  <?php } ?>
65
  </h3>
66
  <p role="button"><?php echo $template['description'] ? esc_html( $template['description'] ) : '<i>' . esc_html__( 'No description', 'formidable' ) . '</i>'; ?></p>
 
 
 
 
 
 
 
 
67
  </div>
68
  </div>
69
  </li><?php
classes/views/frm-forms/list-templates.php CHANGED
@@ -15,7 +15,7 @@ if ( ! defined( 'ABSPATH' ) ) {
15
  </div>
16
  </li><?php
17
  $render_icon = true;
18
- foreach ( array( 20872734, 20874748, 20882522, 20874739 ) as $template ) {
19
  if ( isset( $templates[ $template ] ) ) {
20
  $template = $templates[ $template ];
21
  require $view_path . 'list-template.php';
15
  </div>
16
  </li><?php
17
  $render_icon = true;
18
+ foreach ( array( 20872734, 20874748, 20882522, 20874739, 20908981, 28109851 ) as $template ) {
19
  if ( isset( $templates[ $template ] ) ) {
20
  $template = $templates[ $template ];
21
  require $view_path . 'list-template.php';
classes/views/frm-settings/messages.php CHANGED
@@ -37,6 +37,16 @@ if ( ! defined( 'ABSPATH' ) ) {
37
  value="<?php echo esc_attr( $frm_settings->invalid_msg ); ?>"/>
38
  </p>
39
 
 
 
 
 
 
 
 
 
 
 
40
  <?php if ( FrmAppHelper::pro_is_installed() ) { ?>
41
  <p>
42
  <label class="frm_left_label"><?php esc_html_e( 'Unique Value', 'formidable' ); ?>
@@ -68,11 +78,10 @@ if ( ! defined( 'ABSPATH' ) ) {
68
  <p>
69
  <label class="frm_left_label"><?php esc_html_e( 'Submit Button Text', 'formidable' ); ?>
70
  <span class="frm_help frm_icon_font frm_tooltip_icon"
71
- title="<?php esc_attr_e( 'The default label for the submit button.', 'formidable' ); ?>"></span>
72
  </label>
73
  <input type="text"
74
  value="<?php echo esc_attr( $frm_settings->submit_value ); ?>"
75
  id="frm_submit_value" name="frm_submit_value"
76
  class="frm_with_left_label"/>
77
  </p>
78
-
37
  value="<?php echo esc_attr( $frm_settings->invalid_msg ); ?>"/>
38
  </p>
39
 
40
+ <p>
41
+ <label class="frm_left_label"><?php esc_html_e( 'Requires Privileged Access', 'formidable' ); ?>
42
+ <span class="frm_help frm_icon_font frm_tooltip_icon"
43
+ title="<?php esc_attr_e( 'The message shown to users who do not have access to a resource.', 'formidable' ); ?>"></span>
44
+ </label>
45
+ <input type="text" id="frm_admin_permission" name="frm_admin_permission"
46
+ class="frm_with_left_label"
47
+ value="<?php echo esc_attr( $frm_settings->admin_permission ); ?>"/>
48
+ </p>
49
+
50
  <?php if ( FrmAppHelper::pro_is_installed() ) { ?>
51
  <p>
52
  <label class="frm_left_label"><?php esc_html_e( 'Unique Value', 'formidable' ); ?>
78
  <p>
79
  <label class="frm_left_label"><?php esc_html_e( 'Submit Button Text', 'formidable' ); ?>
80
  <span class="frm_help frm_icon_font frm_tooltip_icon"
81
+ title="<?php esc_attr_e( 'The default label for the submit button.', 'formidable' ); ?>"></span>
82
  </label>
83
  <input type="text"
84
  value="<?php echo esc_attr( $frm_settings->submit_value ); ?>"
85
  id="frm_submit_value" name="frm_submit_value"
86
  class="frm_with_left_label"/>
87
  </p>
 
css/custom_theme.css.php CHANGED
@@ -1474,6 +1474,10 @@ select.frm_loading_lookup{
1474
  color:var(--repeat-icon-color)<?php echo esc_html( $important ); ?>;
1475
  }
1476
 
 
 
 
 
1477
  /* Fonts */
1478
  <?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
1479
  <?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
1474
  color:var(--repeat-icon-color)<?php echo esc_html( $important ); ?>;
1475
  }
1476
 
1477
+ .with_frm_style .frm_combo_inputs_container > .form-field {
1478
+ margin-bottom: 0 !important;
1479
+ }
1480
+
1481
  /* Fonts */
1482
  <?php readfile( FrmAppHelper::plugin_path() . '/css/font_icons.css' ); ?>
1483
  <?php do_action( 'frm_include_front_css', compact( 'defaults' ) ); ?>
css/frm_admin.css CHANGED
@@ -1426,6 +1426,10 @@ form .frm_primary_label input {
1426
  margin-bottom: 20px;
1427
  }
1428
 
 
 
 
 
1429
  .frm_description,
1430
  .with_frm_style form div.description,
1431
  .frm_error,
@@ -1972,7 +1976,7 @@ h2.frm-h2 + .howto {
1972
  vertical-align: top;
1973
  }
1974
 
1975
- .frm-templates-list li > div > div:last-child {
1976
  /* the content container to the right of the icon in Create new form modal */
1977
  display: inline-block;
1978
  width: calc( 100% - 40px );
@@ -2037,7 +2041,7 @@ h2.frm-h2 + .howto {
2037
 
2038
  #frm_new_form_modal .frm-search {
2039
  width: calc( 100% - 20px );
2040
- margin: 40px 10px 30px;
2041
  }
2042
 
2043
  #frm_leave_email,
@@ -2618,28 +2622,29 @@ h1 .fa-caret-down {
2618
  }
2619
 
2620
  .frm-dropdown-menu {
2621
- max-height: 200px;
2622
- overflow: auto;
2623
- overflow-x: hidden;
2624
  position: absolute;
2625
  top: 100%;
2626
  left: 0;
2627
  z-index: 1000;
2628
  display: none;
2629
  float: left;
 
 
2630
  text-align: left;
2631
- min-width: 160px;
2632
- width: auto;
2633
- padding: 5px 0;
2634
- margin: 2px 0 0;
2635
  list-style: none;
2636
- font-size: 12px;
2637
- background-color: #ffffff;
2638
- border: 1px solid rgba(0, 0, 0, 0.15);
2639
- border-radius: 4px;
2640
- -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
2641
- box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
2642
  background-clip: padding-box;
 
 
 
 
 
 
 
 
 
 
2643
  }
2644
 
2645
  .frm6 .frm-dropdown-menu {
@@ -2655,12 +2660,22 @@ h1 .fa-caret-down {
2655
  max-width: 400px;
2656
  }
2657
 
2658
- .preview .frm-dropdown-menu {
2659
- min-width: 60px;
2660
  }
2661
 
2662
- .field_type_list .frm-dropdown-menu {
2663
- min-width: 150px;
 
 
 
 
 
 
 
 
 
 
2664
  }
2665
 
2666
  .frm-dropdown-menu.pull-right {
@@ -2675,11 +2690,11 @@ h1 .fa-caret-down {
2675
  background-color: #e5e5e5;
2676
  }
2677
 
2678
- .frm-dropdown-menu > li {
2679
  margin: 0;
2680
  }
2681
 
2682
- .frm-dropdown-menu > li > a,
2683
  .frm-dropdown-menu .frm_dropdown_li {
2684
  clear: both;
2685
  font-weight: normal;
@@ -5613,11 +5628,6 @@ span.howto {
5613
  min-height: 50px;
5614
  }
5615
 
5616
- #frm-show-fields .frm6 .frm-dropdown-menu {
5617
- max-width: unset;
5618
- min-width: 160px;
5619
- }
5620
-
5621
  #frm_builder_page #frm_field_group_controls {
5622
  position: absolute;
5623
  padding: 5px;
@@ -5657,6 +5667,15 @@ span.howto {
5657
  visibility: visible;
5658
  }
5659
 
 
 
 
 
 
 
 
 
 
5660
  .frm_sorting .no_repeat_section li.ui-state-default.edit_field_type_end_divider {
5661
  display: none !important;
5662
  }
@@ -6839,7 +6858,7 @@ ul .frm_col_two {
6839
  margin: 0;
6840
  }
6841
 
6842
- .frm-dropdown-menu > li > a,
6843
  .frm-dropdown-menu .frm_dropdown_li,
6844
  .frm_code_list.frm-full-hover a {
6845
  display: block;
@@ -6895,7 +6914,7 @@ ul .frm_col_two {
6895
  text-overflow: ellipsis;
6896
  }
6897
 
6898
- .frm-dropdown-menu > li > a:hover,
6899
  .frm_code_list.frm-full-hover a:hover span,
6900
  .frm_code_list.frm-full-hover a:hover {
6901
  background: var(--sidebar-color);
@@ -7261,128 +7280,131 @@ iframe#dyncontent_ifr {
7261
  }
7262
 
7263
  /*!
7264
- * Bootstrap v3.0.2
7265
  */
7266
 
7267
  .tooltip {
 
7268
  position: absolute;
7269
- z-index: 9999999;
7270
  display: block;
7271
- visibility: visible;
7272
- font-size: 14px;
7273
- line-height: 1.4;
 
 
 
 
 
 
 
 
 
 
 
 
 
7274
  opacity: 0;
7275
- filter: alpha(opacity=0);
 
 
7276
  }
7277
 
7278
- .tooltip.in {
7279
- opacity: 1;
7280
- filter: alpha(opacity=100);
7281
  }
7282
 
7283
- .tooltip.top {
7284
- margin-top: -3px;
7285
- padding: 5px 0;
 
 
 
7286
  }
7287
 
7288
- .tooltip.right {
7289
- margin-left: 3px;
7290
- padding: 0 5px;
 
 
7291
  }
7292
 
7293
- .tooltip.bottom {
7294
- margin-top: 3px;
7295
- padding: 5px 0;
7296
  }
7297
 
7298
- .tooltip.left {
7299
- margin-left: -3px;
7300
- padding: 0 5px;
7301
  }
7302
 
7303
- .tooltip-inner {
7304
- max-width: 200px;
7305
- padding: 10px;
7306
- color: #fff;
7307
- text-align: left;
7308
- text-decoration: none;
7309
- background-color: var(--dark-grey);
7310
- border-radius: 4px;
7311
- z-index: 99999999;
7312
- text-transform: none;
7313
  }
7314
 
7315
- .tooltip.right .tooltip-inner {
7316
- min-width: 150px;
7317
- max-width: 300px;
7318
  }
7319
 
7320
- .tooltip-arrow {
7321
- position: absolute;
7322
- width: 0;
7323
- height: 0;
7324
- border-color: transparent;
7325
- border-style: solid;
7326
  }
7327
 
7328
- .tooltip.top .tooltip-arrow {
7329
- bottom: 0;
7330
- left: 50%;
7331
- margin-left: -5px;
7332
- border-width: 5px 5px 0;
7333
- border-top-color: var(--dark-grey);
7334
  }
7335
 
7336
- .tooltip.top-left .tooltip-arrow {
7337
- bottom: 0;
7338
- left: 5px;
7339
- border-width: 5px 5px 0;
7340
- border-top-color: var(--dark-grey);
7341
  }
7342
 
7343
- .tooltip.top-right .tooltip-arrow {
 
 
 
 
7344
  bottom: 0;
7345
- right: 5px;
7346
- border-width: 5px 5px 0;
7347
- border-top-color: var(--dark-grey);
7348
  }
7349
 
7350
- .tooltip.right .tooltip-arrow {
7351
- top: 50%;
7352
- left: 0;
7353
- margin-top: -5px;
7354
- border-width: 5px 5px 5px 0;
7355
- border-right-color: var(--dark-grey);
7356
  }
7357
 
7358
- .tooltip.left .tooltip-arrow {
7359
- top: 50%;
7360
  right: 0;
7361
- margin-top: -5px;
7362
- border-width: 5px 0 5px 5px;
7363
- border-left-color: var(--dark-grey);
7364
  }
7365
 
7366
- .tooltip.bottom .tooltip-arrow {
7367
- top: 0;
7368
- left: 50%;
7369
- margin-left: -5px;
7370
- border-width: 0 5px 5px;
7371
- border-bottom-color: var(--dark-grey);
7372
  }
7373
 
7374
- .tooltip.bottom-left .tooltip-arrow {
7375
- top: 0;
7376
- left: 5px;
7377
- border-width: 0 5px 5px;
7378
- border-bottom-color: var(--dark-grey);
 
 
7379
  }
7380
 
7381
- .tooltip.bottom-right .tooltip-arrow {
7382
- top: 0;
7383
- right: 5px;
7384
- border-width: 0 5px 5px;
7385
- border-bottom-color: var(--dark-grey);
 
 
 
7386
  }
7387
 
7388
  .frm_clear {
@@ -7424,8 +7446,6 @@ iframe#dyncontent_ifr {
7424
  background-color: #04A4CC;
7425
  }
7426
 
7427
- /* End Bootstrap */
7428
-
7429
  .tooltip.frm_tooltip {
7430
  position: fixed;
7431
  top: auto !important;
@@ -8515,6 +8535,7 @@ Responsive Design
8515
  color: #fff;
8516
  margin-left: 5px;
8517
  font-size: 9px;
 
8518
  }
8519
 
8520
  #frm_banner {
1426
  margin-bottom: 20px;
1427
  }
1428
 
1429
+ .with_frm_style form .frm_combo_inputs_container > .form-field {
1430
+ margin-bottom: 0;
1431
+ }
1432
+
1433
  .frm_description,
1434
  .with_frm_style form div.description,
1435
  .frm_error,
1976
  vertical-align: top;
1977
  }
1978
 
1979
+ .frm-templates-list li > div > div:last-child:not(.frm-dropdown-menu) {
1980
  /* the content container to the right of the icon in Create new form modal */
1981
  display: inline-block;
1982
  width: calc( 100% - 40px );
2041
 
2042
  #frm_new_form_modal .frm-search {
2043
  width: calc( 100% - 20px );
2044
+ margin: 15px 10px 30px;
2045
  }
2046
 
2047
  #frm_leave_email,
2622
  }
2623
 
2624
  .frm-dropdown-menu {
2625
+ /* Copied from .dropdown-menu rules from Bootstrap */
 
 
2626
  position: absolute;
2627
  top: 100%;
2628
  left: 0;
2629
  z-index: 1000;
2630
  display: none;
2631
  float: left;
2632
+ padding: 0.5rem 0;
2633
+ margin: 0;
2634
  text-align: left;
 
 
 
 
2635
  list-style: none;
2636
+ background-color: #fff;
 
 
 
 
 
2637
  background-clip: padding-box;
2638
+ border: 1px solid rgba(0, 0, 0, 0.15);
2639
+ border-radius: 0.25rem;
2640
+
2641
+ /* Custom rules */
2642
+ max-height: 200px;
2643
+ overflow-y: auto;
2644
+ overflow-x: hidden;
2645
+ font-size: 0.9rem;
2646
+ width: auto;
2647
+ min-width: 160px;
2648
  }
2649
 
2650
  .frm6 .frm-dropdown-menu {
2660
  max-width: 400px;
2661
  }
2662
 
2663
+ .field_type_list .frm-dropdown-menu {
2664
+ min-width: 150px !important;
2665
  }
2666
 
2667
+ #frm_field_group_controls .frm-dropdown-menu,
2668
+ .frm-field-action-icons .frm-dropdown-menu {
2669
+ min-width: 160px !important;
2670
+ }
2671
+
2672
+ .multiselect-container.frm-dropdown-menu,
2673
+ #search-submit .frm-dropdown-menu {
2674
+ min-width: 200px !important;
2675
+ }
2676
+
2677
+ .preview .frm-dropdown-menu {
2678
+ min-width: 230px !important;
2679
  }
2680
 
2681
  .frm-dropdown-menu.pull-right {
2690
  background-color: #e5e5e5;
2691
  }
2692
 
2693
+ .frm-dropdown-menu > .dropdown-item {
2694
  margin: 0;
2695
  }
2696
 
2697
+ .frm-dropdown-menu > .dropdown-item > a,
2698
  .frm-dropdown-menu .frm_dropdown_li {
2699
  clear: both;
2700
  font-weight: normal;
5628
  min-height: 50px;
5629
  }
5630
 
 
 
 
 
 
5631
  #frm_builder_page #frm_field_group_controls {
5632
  position: absolute;
5633
  padding: 5px;
5667
  visibility: visible;
5668
  }
5669
 
5670
+ #frm_field_group_controls .dropdown-item a span,
5671
+ .frm-field-action-icons .dropdown-item a span {
5672
+ color: var(--dark-grey);
5673
+ }
5674
+
5675
+ #frm_field_group_controls .dropdown-item a:hover {
5676
+ text-decoration: none;
5677
+ }
5678
+
5679
  .frm_sorting .no_repeat_section li.ui-state-default.edit_field_type_end_divider {
5680
  display: none !important;
5681
  }
6858
  margin: 0;
6859
  }
6860
 
6861
+ .frm-dropdown-menu > .dropdown-item > a,
6862
  .frm-dropdown-menu .frm_dropdown_li,
6863
  .frm_code_list.frm-full-hover a {
6864
  display: block;
6914
  text-overflow: ellipsis;
6915
  }
6916
 
6917
+ .frm-dropdown-menu > .dropdown-item > a:hover,
6918
  .frm_code_list.frm-full-hover a:hover span,
6919
  .frm_code_list.frm-full-hover a:hover {
6920
  background: var(--sidebar-color);
7280
  }
7281
 
7282
  /*!
7283
+ * Bootstrap v4.6.1
7284
  */
7285
 
7286
  .tooltip {
7287
+ /* Copied from Bootstrap */
7288
  position: absolute;
 
7289
  display: block;
7290
+ margin: 0;
7291
+ font-style: normal;
7292
+ font-weight: 400;
7293
+ line-height: 1.5;
7294
+ text-align: left;
7295
+ text-align: start;
7296
+ text-decoration: none;
7297
+ text-shadow: none;
7298
+ text-transform: none;
7299
+ letter-spacing: normal;
7300
+ word-break: normal;
7301
+ word-spacing: normal;
7302
+ white-space: normal;
7303
+ line-break: auto;
7304
+ font-size: 0.875rem;
7305
+ word-wrap: break-word;
7306
  opacity: 0;
7307
+
7308
+ /* Custom rules */
7309
+ z-index: 9999999;
7310
  }
7311
 
7312
+ .tooltip.show {
7313
+ opacity: 0.9;
 
7314
  }
7315
 
7316
+ .tooltip .arrow {
7317
+ position: absolute;
7318
+ display: block;
7319
+ width: 0.8rem;
7320
+ height: 0.4rem;
7321
+ margin-left: 0 !important;
7322
  }
7323
 
7324
+ .tooltip .arrow::before {
7325
+ position: absolute;
7326
+ content: "";
7327
+ border-color: transparent;
7328
+ border-style: solid;
7329
  }
7330
 
7331
+ .bs-tooltip-top, .bs-tooltip-auto[x-placement^="top"] {
7332
+ padding: 0.4rem 0;
 
7333
  }
7334
 
7335
+ .bs-tooltip-top .arrow, .bs-tooltip-auto[x-placement^="top"] .arrow {
7336
+ bottom: 0;
 
7337
  }
7338
 
7339
+ .bs-tooltip-top .arrow::before, .bs-tooltip-auto[x-placement^="top"] .arrow::before {
7340
+ top: 0;
7341
+ border-width: 0.4rem 0.4rem 0;
7342
+ border-top-color: #000;
 
 
 
 
 
 
7343
  }
7344
 
7345
+ .bs-tooltip-right, .bs-tooltip-auto[x-placement^="right"] {
7346
+ padding: 0 0.4rem;
 
7347
  }
7348
 
7349
+ .bs-tooltip-right .arrow, .bs-tooltip-auto[x-placement^="right"] .arrow {
7350
+ left: 0;
7351
+ width: 0.4rem;
7352
+ height: 0.8rem;
 
 
7353
  }
7354
 
7355
+ .bs-tooltip-right .arrow::before, .bs-tooltip-auto[x-placement^="right"] .arrow::before {
7356
+ right: 0;
7357
+ border-width: 0.4rem 0.4rem 0.4rem 0;
7358
+ border-right-color: #000;
 
 
7359
  }
7360
 
7361
+ .bs-tooltip-bottom, .bs-tooltip-auto[x-placement^="bottom"] {
7362
+ padding: 0.4rem 0;
 
 
 
7363
  }
7364
 
7365
+ .bs-tooltip-bottom .arrow, .bs-tooltip-auto[x-placement^="bottom"] .arrow {
7366
+ top: 0;
7367
+ }
7368
+
7369
+ .bs-tooltip-bottom .arrow::before, .bs-tooltip-auto[x-placement^="bottom"] .arrow::before {
7370
  bottom: 0;
7371
+ border-width: 0 0.4rem 0.4rem;
7372
+ border-bottom-color: #000;
 
7373
  }
7374
 
7375
+ .bs-tooltip-left, .bs-tooltip-auto[x-placement^="left"] {
7376
+ padding: 0 0.4rem;
 
 
 
 
7377
  }
7378
 
7379
+ .bs-tooltip-left .arrow, .bs-tooltip-auto[x-placement^="left"] .arrow {
 
7380
  right: 0;
7381
+ width: 0.4rem;
7382
+ height: 0.8rem;
 
7383
  }
7384
 
7385
+ .bs-tooltip-left .arrow::before, .bs-tooltip-auto[x-placement^="left"] .arrow::before {
7386
+ left: 0;
7387
+ border-width: 0.4rem 0 0.4rem 0.4rem;
7388
+ border-left-color: #000;
 
 
7389
  }
7390
 
7391
+ .tooltip-inner {
7392
+ max-width: 200px;
7393
+ padding: 0.25rem 0.5rem;
7394
+ color: #fff;
7395
+ text-align: center;
7396
+ background-color: #000;
7397
+ border-radius: 0.25rem;
7398
  }
7399
 
7400
+ .frm-dropdown-menu.show {
7401
+ display: block;
7402
+ }
7403
+
7404
+ /* End Bootstrap */
7405
+
7406
+ .preview.dropdown .dropdown-menu {
7407
+ min-width: 205px;
7408
  }
7409
 
7410
  .frm_clear {
7446
  background-color: #04A4CC;
7447
  }
7448
 
 
 
7449
  .tooltip.frm_tooltip {
7450
  position: fixed;
7451
  top: auto !important;
8535
  color: #fff;
8536
  margin-left: 5px;
8537
  font-size: 9px;
8538
+ vertical-align: middle;
8539
  }
8540
 
8541
  #frm_banner {
formidable.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
- Version: 5.2.01
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
2
  /*
3
  Plugin Name: Formidable Forms
4
  Description: Quickly and easily create drag-and-drop forms
5
+ Version: 5.2.02
6
  Plugin URI: https://formidableforms.com/
7
  Author URI: https://formidableforms.com/
8
  Author: Strategy11
js/bootstrap.min.js CHANGED
@@ -1,6 +1,7 @@
1
  /*!
2
- * Bootstrap v3.4.1 (https://getbootstrap.com/)
3
- * Copyright 2011-2019 Twitter, Inc.
4
- * Licensed under the MIT license
5
- */
6
- if("undefined"==typeof jQuery)throw new Error("Bootstrap's JavaScript requires jQuery");!function(t){"use strict";var e=jQuery.fn.jquery.split(" ")[0].split(".");if(e[0]<2&&e[1]<9||1==e[0]&&9==e[1]&&e[2]<1||3<e[0])throw new Error("Bootstrap's JavaScript requires jQuery version 1.9.1 or higher, but lower than version 4")}(),function(n){"use strict";n.fn.emulateTransitionEnd=function(t){var e=!1,i=this;n(this).one("bsTransitionEnd",function(){e=!0});return setTimeout(function(){e||n(i).trigger(n.support.transition.end)},t),this},n(function(){n.support.transition=function o(){var t=document.createElement("bootstrap"),e={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};for(var i in e)if(t.style[i]!==undefined)return{end:e[i]};return!1}(),n.support.transition&&(n.event.special.bsTransitionEnd={bindType:n.support.transition.end,delegateType:n.support.transition.end,handle:function(t){if(n(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}})})}(jQuery),function(s){"use strict";var e='[data-dismiss="alert"]',a=function(t){s(t).on("click",e,this.close)};a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.close=function(t){var e=s(this),i=e.attr("data-target");i||(i=(i=e.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),i="#"===i?[]:i;var o=s(document).find(i);function n(){o.detach().trigger("closed.bs.alert").remove()}t&&t.preventDefault(),o.length||(o=e.closest(".alert")),o.trigger(t=s.Event("close.bs.alert")),t.isDefaultPrevented()||(o.removeClass("in"),s.support.transition&&o.hasClass("fade")?o.one("bsTransitionEnd",n).emulateTransitionEnd(a.TRANSITION_DURATION):n())};var t=s.fn.alert;s.fn.alert=function o(i){return this.each(function(){var t=s(this),e=t.data("bs.alert");e||t.data("bs.alert",e=new a(this)),"string"==typeof i&&e[i].call(t)})},s.fn.alert.Constructor=a,s.fn.alert.noConflict=function(){return s.fn.alert=t,this},s(document).on("click.bs.alert.data-api",e,a.prototype.close)}(jQuery),function(s){"use strict";var n=function(t,e){this.$element=s(t),this.options=s.extend({},n.DEFAULTS,e),this.isLoading=!1};function i(o){return this.each(function(){var t=s(this),e=t.data("bs.button"),i="object"==typeof o&&o;e||t.data("bs.button",e=new n(this,i)),"toggle"==o?e.toggle():o&&e.setState(o)})}n.VERSION="3.4.1",n.DEFAULTS={loadingText:"loading..."},n.prototype.setState=function(t){var e="disabled",i=this.$element,o=i.is("input")?"val":"html",n=i.data();t+="Text",null==n.resetText&&i.data("resetText",i[o]()),setTimeout(s.proxy(function(){i[o](null==n[t]?this.options[t]:n[t]),"loadingText"==t?(this.isLoading=!0,i.addClass(e).attr(e,e).prop(e,!0)):this.isLoading&&(this.isLoading=!1,i.removeClass(e).removeAttr(e).prop(e,!1))},this),0)},n.prototype.toggle=function(){var t=!0,e=this.$element.closest('[data-toggle="buttons"]');if(e.length){var i=this.$element.find("input");"radio"==i.prop("type")?(i.prop("checked")&&(t=!1),e.find(".active").removeClass("active"),this.$element.addClass("active")):"checkbox"==i.prop("type")&&(i.prop("checked")!==this.$element.hasClass("active")&&(t=!1),this.$element.toggleClass("active")),i.prop("checked",this.$element.hasClass("active")),t&&i.trigger("change")}else this.$element.attr("aria-pressed",!this.$element.hasClass("active")),this.$element.toggleClass("active")};var t=s.fn.button;s.fn.button=i,s.fn.button.Constructor=n,s.fn.button.noConflict=function(){return s.fn.button=t,this},s(document).on("click.bs.button.data-api",'[data-toggle^="button"]',function(t){var e=s(t.target).closest(".btn");i.call(e,"toggle"),s(t.target).is('input[type="radio"], input[type="checkbox"]')||(t.preventDefault(),e.is("input,button")?e.trigger("focus"):e.find("input:visible,button:visible").first().trigger("focus"))}).on("focus.bs.button.data-api blur.bs.button.data-api",'[data-toggle^="button"]',function(t){s(t.target).closest(".btn").toggleClass("focus",/^focus(in)?$/.test(t.type))})}(jQuery),function(p){"use strict";var c=function(t,e){this.$element=p(t),this.$indicators=this.$element.find(".carousel-indicators"),this.options=e,this.paused=null,this.sliding=null,this.interval=null,this.$active=null,this.$items=null,this.options.keyboard&&this.$element.on("keydown.bs.carousel",p.proxy(this.keydown,this)),"hover"==this.options.pause&&!("ontouchstart"in document.documentElement)&&this.$element.on("mouseenter.bs.carousel",p.proxy(this.pause,this)).on("mouseleave.bs.carousel",p.proxy(this.cycle,this))};function r(n){return this.each(function(){var t=p(this),e=t.data("bs.carousel"),i=p.extend({},c.DEFAULTS,t.data(),"object"==typeof n&&n),o="string"==typeof n?n:i.slide;e||t.data("bs.carousel",e=new c(this,i)),"number"==typeof n?e.to(n):o?e[o]():i.interval&&e.pause().cycle()})}c.VERSION="3.4.1",c.TRANSITION_DURATION=600,c.DEFAULTS={interval:5e3,pause:"hover",wrap:!0,keyboard:!0},c.prototype.keydown=function(t){if(!/input|textarea/i.test(t.target.tagName)){switch(t.which){case 37:this.prev();break;case 39:this.next();break;default:return}t.preventDefault()}},c.prototype.cycle=function(t){return t||(this.paused=!1),this.interval&&clearInterval(this.interval),this.options.interval&&!this.paused&&(this.interval=setInterval(p.proxy(this.next,this),this.options.interval)),this},c.prototype.getItemIndex=function(t){return this.$items=t.parent().children(".item"),this.$items.index(t||this.$active)},c.prototype.getItemForDirection=function(t,e){var i=this.getItemIndex(e);if(("prev"==t&&0===i||"next"==t&&i==this.$items.length-1)&&!this.options.wrap)return e;var o=(i+("prev"==t?-1:1))%this.$items.length;return this.$items.eq(o)},c.prototype.to=function(t){var e=this,i=this.getItemIndex(this.$active=this.$element.find(".item.active"));if(!(t>this.$items.length-1||t<0))return this.sliding?this.$element.one("slid.bs.carousel",function(){e.to(t)}):i==t?this.pause().cycle():this.slide(i<t?"next":"prev",this.$items.eq(t))},c.prototype.pause=function(t){return t||(this.paused=!0),this.$element.find(".next, .prev").length&&p.support.transition&&(this.$element.trigger(p.support.transition.end),this.cycle(!0)),this.interval=clearInterval(this.interval),this},c.prototype.next=function(){if(!this.sliding)return this.slide("next")},c.prototype.prev=function(){if(!this.sliding)return this.slide("prev")},c.prototype.slide=function(t,e){var i=this.$element.find(".item.active"),o=e||this.getItemForDirection(t,i),n=this.interval,s="next"==t?"left":"right",a=this;if(o.hasClass("active"))return this.sliding=!1;var r=o[0],l=p.Event("slide.bs.carousel",{relatedTarget:r,direction:s});if(this.$element.trigger(l),!l.isDefaultPrevented()){if(this.sliding=!0,n&&this.pause(),this.$indicators.length){this.$indicators.find(".active").removeClass("active");var h=p(this.$indicators.children()[this.getItemIndex(o)]);h&&h.addClass("active")}var d=p.Event("slid.bs.carousel",{relatedTarget:r,direction:s});return p.support.transition&&this.$element.hasClass("slide")?(o.addClass(t),"object"==typeof o&&o.length&&o[0].offsetWidth,i.addClass(s),o.addClass(s),i.one("bsTransitionEnd",function(){o.removeClass([t,s].join(" ")).addClass("active"),i.removeClass(["active",s].join(" ")),a.sliding=!1,setTimeout(function(){a.$element.trigger(d)},0)}).emulateTransitionEnd(c.TRANSITION_DURATION)):(i.removeClass("active"),o.addClass("active"),this.sliding=!1,this.$element.trigger(d)),n&&this.cycle(),this}};var t=p.fn.carousel;p.fn.carousel=r,p.fn.carousel.Constructor=c,p.fn.carousel.noConflict=function(){return p.fn.carousel=t,this};var e=function(t){var e=p(this),i=e.attr("href");i&&(i=i.replace(/.*(?=#[^\s]+$)/,""));var o=e.attr("data-target")||i,n=p(document).find(o);if(n.hasClass("carousel")){var s=p.extend({},n.data(),e.data()),a=e.attr("data-slide-to");a&&(s.interval=!1),r.call(n,s),a&&n.data("bs.carousel").to(a),t.preventDefault()}};p(document).on("click.bs.carousel.data-api","[data-slide]",e).on("click.bs.carousel.data-api","[data-slide-to]",e),p(window).on("load",function(){p('[data-ride="carousel"]').each(function(){var t=p(this);r.call(t,t.data())})})}(jQuery),function(a){"use strict";var r=function(t,e){this.$element=a(t),this.options=a.extend({},r.DEFAULTS,e),this.$trigger=a('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'),this.transitioning=null,this.options.parent?this.$parent=this.getParent():this.addAriaAndCollapsedClass(this.$element,this.$trigger),this.options.toggle&&this.toggle()};function n(t){var e,i=t.attr("data-target")||(e=t.attr("href"))&&e.replace(/.*(?=#[^\s]+$)/,"");return a(document).find(i)}function l(o){return this.each(function(){var t=a(this),e=t.data("bs.collapse"),i=a.extend({},r.DEFAULTS,t.data(),"object"==typeof o&&o);!e&&i.toggle&&/show|hide/.test(o)&&(i.toggle=!1),e||t.data("bs.collapse",e=new r(this,i)),"string"==typeof o&&e[o]()})}r.VERSION="3.4.1",r.TRANSITION_DURATION=350,r.DEFAULTS={toggle:!0},r.prototype.dimension=function(){return this.$element.hasClass("width")?"width":"height"},r.prototype.show=function(){if(!this.transitioning&&!this.$element.hasClass("in")){var t,e=this.$parent&&this.$parent.children(".panel").children(".in, .collapsing");if(!(e&&e.length&&(t=e.data("bs.collapse"))&&t.transitioning)){var i=a.Event("show.bs.collapse");if(this.$element.trigger(i),!i.isDefaultPrevented()){e&&e.length&&(l.call(e,"hide"),t||e.data("bs.collapse",null));var o=this.dimension();this.$element.removeClass("collapse").addClass("collapsing")[o](0).attr("aria-expanded",!0),this.$trigger.removeClass("collapsed").attr("aria-expanded",!0),this.transitioning=1;var n=function(){this.$element.removeClass("collapsing").addClass("collapse in")[o](""),this.transitioning=0,this.$element.trigger("shown.bs.collapse")};if(!a.support.transition)return n.call(this);var s=a.camelCase(["scroll",o].join("-"));this.$element.one("bsTransitionEnd",a.proxy(n,this)).emulateTransitionEnd(r.TRANSITION_DURATION)[o](this.$element[0][s])}}}},r.prototype.hide=function(){if(!this.transitioning&&this.$element.hasClass("in")){var t=a.Event("hide.bs.collapse");if(this.$element.trigger(t),!t.isDefaultPrevented()){var e=this.dimension();this.$element[e](this.$element[e]())[0].offsetHeight,this.$element.addClass("collapsing").removeClass("collapse in").attr("aria-expanded",!1),this.$trigger.addClass("collapsed").attr("aria-expanded",!1),this.transitioning=1;var i=function(){this.transitioning=0,this.$element.removeClass("collapsing").addClass("collapse").trigger("hidden.bs.collapse")};if(!a.support.transition)return i.call(this);this.$element[e](0).one("bsTransitionEnd",a.proxy(i,this)).emulateTransitionEnd(r.TRANSITION_DURATION)}}},r.prototype.toggle=function(){this[this.$element.hasClass("in")?"hide":"show"]()},r.prototype.getParent=function(){return a(document).find(this.options.parent).find('[data-toggle="collapse"][data-parent="'+this.options.parent+'"]').each(a.proxy(function(t,e){var i=a(e);this.addAriaAndCollapsedClass(n(i),i)},this)).end()},r.prototype.addAriaAndCollapsedClass=function(t,e){var i=t.hasClass("in");t.attr("aria-expanded",i),e.toggleClass("collapsed",!i).attr("aria-expanded",i)};var t=a.fn.collapse;a.fn.collapse=l,a.fn.collapse.Constructor=r,a.fn.collapse.noConflict=function(){return a.fn.collapse=t,this},a(document).on("click.bs.collapse.data-api",'[data-toggle="collapse"]',function(t){var e=a(this);e.attr("data-target")||t.preventDefault();var i=n(e),o=i.data("bs.collapse")?"toggle":e.data();l.call(i,o)})}(jQuery),function(a){"use strict";var r='[data-toggle="dropdown"]',o=function(t){a(t).on("click.bs.dropdown",this.toggle)};function l(t){var e=t.attr("data-target");e||(e=(e=t.attr("href"))&&/#[A-Za-z]/.test(e)&&e.replace(/.*(?=#[^\s]*$)/,""));var i="#"!==e?a(document).find(e):null;return i&&i.length?i:t.parent()}function s(o){o&&3===o.which||(a(".dropdown-backdrop").remove(),a(r).each(function(){var t=a(this),e=l(t),i={relatedTarget:this};e.hasClass("open")&&(o&&"click"==o.type&&/input|textarea/i.test(o.target.tagName)&&a.contains(e[0],o.target)||(e.trigger(o=a.Event("hide.bs.dropdown",i)),o.isDefaultPrevented()||(t.attr("aria-expanded","false"),e.removeClass("open").trigger(a.Event("hidden.bs.dropdown",i)))))}))}o.VERSION="3.4.1",o.prototype.toggle=function(t){var e=a(this);if(!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(s(),!o){"ontouchstart"in document.documentElement&&!i.closest(".navbar-nav").length&&a(document.createElement("div")).addClass("dropdown-backdrop").insertAfter(a(this)).on("click",s);var n={relatedTarget:this};if(i.trigger(t=a.Event("show.bs.dropdown",n)),t.isDefaultPrevented())return;e.trigger("focus").attr("aria-expanded","true"),i.toggleClass("open").trigger(a.Event("shown.bs.dropdown",n))}return!1}},o.prototype.keydown=function(t){if(/(38|40|27|32)/.test(t.which)&&!/input|textarea/i.test(t.target.tagName)){var e=a(this);if(t.preventDefault(),t.stopPropagation(),!e.is(".disabled, :disabled")){var i=l(e),o=i.hasClass("open");if(!o&&27!=t.which||o&&27==t.which)return 27==t.which&&i.find(r).trigger("focus"),e.trigger("click");var n=i.find(".dropdown-menu li:not(.disabled):visible a");if(n.length){var s=n.index(t.target);38==t.which&&0<s&&s--,40==t.which&&s<n.length-1&&s++,~s||(s=0),n.eq(s).trigger("focus")}}}};var t=a.fn.dropdown;a.fn.dropdown=function e(i){return this.each(function(){var t=a(this),e=t.data("bs.dropdown");e||t.data("bs.dropdown",e=new o(this)),"string"==typeof i&&e[i].call(t)})},a.fn.dropdown.Constructor=o,a.fn.dropdown.noConflict=function(){return a.fn.dropdown=t,this},a(document).on("click.bs.dropdown.data-api",s).on("click.bs.dropdown.data-api",".dropdown form",function(t){t.stopPropagation()}).on("click.bs.dropdown.data-api",r,o.prototype.toggle).on("keydown.bs.dropdown.data-api",r,o.prototype.keydown).on("keydown.bs.dropdown.data-api",".dropdown-menu",o.prototype.keydown)}(jQuery),function(a){"use strict";var s=function(t,e){this.options=e,this.$body=a(document.body),this.$element=a(t),this.$dialog=this.$element.find(".modal-dialog"),this.$backdrop=null,this.isShown=null,this.originalBodyPad=null,this.scrollbarWidth=0,this.ignoreBackdropClick=!1,this.fixedContent=".navbar-fixed-top, .navbar-fixed-bottom",this.options.remote&&this.$element.find(".modal-content").load(this.options.remote,a.proxy(function(){this.$element.trigger("loaded.bs.modal")},this))};function r(o,n){return this.each(function(){var t=a(this),e=t.data("bs.modal"),i=a.extend({},s.DEFAULTS,t.data(),"object"==typeof o&&o);e||t.data("bs.modal",e=new s(this,i)),"string"==typeof o?e[o](n):i.show&&e.show(n)})}s.VERSION="3.4.1",s.TRANSITION_DURATION=300,s.BACKDROP_TRANSITION_DURATION=150,s.DEFAULTS={backdrop:!0,keyboard:!0,show:!0},s.prototype.toggle=function(t){return this.isShown?this.hide():this.show(t)},s.prototype.show=function(i){var o=this,t=a.Event("show.bs.modal",{relatedTarget:i});this.$element.trigger(t),this.isShown||t.isDefaultPrevented()||(this.isShown=!0,this.checkScrollbar(),this.setScrollbar(),this.$body.addClass("modal-open"),this.escape(),this.resize(),this.$element.on("click.dismiss.bs.modal",'[data-dismiss="modal"]',a.proxy(this.hide,this)),this.$dialog.on("mousedown.dismiss.bs.modal",function(){o.$element.one("mouseup.dismiss.bs.modal",function(t){a(t.target).is(o.$element)&&(o.ignoreBackdropClick=!0)})}),this.backdrop(function(){var t=a.support.transition&&o.$element.hasClass("fade");o.$element.parent().length||o.$element.appendTo(o.$body),o.$element.show().scrollTop(0),o.adjustDialog(),t&&o.$element[0].offsetWidth,o.$element.addClass("in"),o.enforceFocus();var e=a.Event("shown.bs.modal",{relatedTarget:i});t?o.$dialog.one("bsTransitionEnd",function(){o.$element.trigger("focus").trigger(e)}).emulateTransitionEnd(s.TRANSITION_DURATION):o.$element.trigger("focus").trigger(e)}))},s.prototype.hide=function(t){t&&t.preventDefault(),t=a.Event("hide.bs.modal"),this.$element.trigger(t),this.isShown&&!t.isDefaultPrevented()&&(this.isShown=!1,this.escape(),this.resize(),a(document).off("focusin.bs.modal"),this.$element.removeClass("in").off("click.dismiss.bs.modal").off("mouseup.dismiss.bs.modal"),this.$dialog.off("mousedown.dismiss.bs.modal"),a.support.transition&&this.$element.hasClass("fade")?this.$element.one("bsTransitionEnd",a.proxy(this.hideModal,this)).emulateTransitionEnd(s.TRANSITION_DURATION):this.hideModal())},s.prototype.enforceFocus=function(){a(document).off("focusin.bs.modal").on("focusin.bs.modal",a.proxy(function(t){document===t.target||this.$element[0]===t.target||this.$element.has(t.target).length||this.$element.trigger("focus")},this))},s.prototype.escape=function(){this.isShown&&this.options.keyboard?this.$element.on("keydown.dismiss.bs.modal",a.proxy(function(t){27==t.which&&this.hide()},this)):this.isShown||this.$element.off("keydown.dismiss.bs.modal")},s.prototype.resize=function(){this.isShown?a(window).on("resize.bs.modal",a.proxy(this.handleUpdate,this)):a(window).off("resize.bs.modal")},s.prototype.hideModal=function(){var t=this;this.$element.hide(),this.backdrop(function(){t.$body.removeClass("modal-open"),t.resetAdjustments(),t.resetScrollbar(),t.$element.trigger("hidden.bs.modal")})},s.prototype.removeBackdrop=function(){this.$backdrop&&this.$backdrop.remove(),this.$backdrop=null},s.prototype.backdrop=function(t){var e=this,i=this.$element.hasClass("fade")?"fade":"";if(this.isShown&&this.options.backdrop){var o=a.support.transition&&i;if(this.$backdrop=a(document.createElement("div")).addClass("modal-backdrop "+i).appendTo(this.$body),this.$element.on("click.dismiss.bs.modal",a.proxy(function(t){this.ignoreBackdropClick?this.ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"==this.options.backdrop?this.$element[0].focus():this.hide())},this)),o&&this.$backdrop[0].offsetWidth,this.$backdrop.addClass("in"),!t)return;o?this.$backdrop.one("bsTransitionEnd",t).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):t()}else if(!this.isShown&&this.$backdrop){this.$backdrop.removeClass("in");var n=function(){e.removeBackdrop(),t&&t()};a.support.transition&&this.$element.hasClass("fade")?this.$backdrop.one("bsTransitionEnd",n).emulateTransitionEnd(s.BACKDROP_TRANSITION_DURATION):n()}else t&&t()},s.prototype.handleUpdate=function(){this.adjustDialog()},s.prototype.adjustDialog=function(){var t=this.$element[0].scrollHeight>document.documentElement.clientHeight;this.$element.css({paddingLeft:!this.bodyIsOverflowing&&t?this.scrollbarWidth:"",paddingRight:this.bodyIsOverflowing&&!t?this.scrollbarWidth:""})},s.prototype.resetAdjustments=function(){this.$element.css({paddingLeft:"",paddingRight:""})},s.prototype.checkScrollbar=function(){var t=window.innerWidth;if(!t){var e=document.documentElement.getBoundingClientRect();t=e.right-Math.abs(e.left)}this.bodyIsOverflowing=document.body.clientWidth<t,this.scrollbarWidth=this.measureScrollbar()},s.prototype.setScrollbar=function(){var t=parseInt(this.$body.css("padding-right")||0,10);this.originalBodyPad=document.body.style.paddingRight||"";var n=this.scrollbarWidth;this.bodyIsOverflowing&&(this.$body.css("padding-right",t+n),a(this.fixedContent).each(function(t,e){var i=e.style.paddingRight,o=a(e).css("padding-right");a(e).data("padding-right",i).css("padding-right",parseFloat(o)+n+"px")}))},s.prototype.resetScrollbar=function(){this.$body.css("padding-right",this.originalBodyPad),a(this.fixedContent).each(function(t,e){var i=a(e).data("padding-right");a(e).removeData("padding-right"),e.style.paddingRight=i||""})},s.prototype.measureScrollbar=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",this.$body.append(t);var e=t.offsetWidth-t.clientWidth;return this.$body[0].removeChild(t),e};var t=a.fn.modal;a.fn.modal=r,a.fn.modal.Constructor=s,a.fn.modal.noConflict=function(){return a.fn.modal=t,this},a(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',function(t){var e=a(this),i=e.attr("href"),o=e.attr("data-target")||i&&i.replace(/.*(?=#[^\s]+$)/,""),n=a(document).find(o),s=n.data("bs.modal")?"toggle":a.extend({remote:!/#/.test(i)&&i},n.data(),e.data());e.is("a")&&t.preventDefault(),n.one("show.bs.modal",function(t){t.isDefaultPrevented()||n.one("hidden.bs.modal",function(){e.is(":visible")&&e.trigger("focus")})}),r.call(n,s,this)})}(jQuery),function(g){"use strict";var o=["sanitize","whiteList","sanitizeFn"],a=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],t={"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},r=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,l=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+/]+=*$/i;function u(t,e){var i=t.nodeName.toLowerCase();if(-1!==g.inArray(i,e))return-1===g.inArray(i,a)||Boolean(t.nodeValue.match(r)||t.nodeValue.match(l));for(var o=g(e).filter(function(t,e){return e instanceof RegExp}),n=0,s=o.length;n<s;n++)if(i.match(o[n]))return!0;return!1}function n(t,e,i){if(0===t.length)return t;if(i&&"function"==typeof i)return i(t);if(!document.implementation||!document.implementation.createHTMLDocument)return t;var o=document.implementation.createHTMLDocument("sanitization");o.body.innerHTML=t;for(var n=g.map(e,function(t,e){return e}),s=g(o.body).find("*"),a=0,r=s.length;a<r;a++){var l=s[a],h=l.nodeName.toLowerCase();if(-1!==g.inArray(h,n))for(var d=g.map(l.attributes,function(t){return t}),p=[].concat(e["*"]||[],e[h]||[]),c=0,f=d.length;c<f;c++)u(d[c],p)||l.removeAttribute(d[c].nodeName);else l.parentNode.removeChild(l)}return o.body.innerHTML}var m=function(t,e){this.type=null,this.options=null,this.enabled=null,this.timeout=null,this.hoverState=null,this.$element=null,this.inState=null,this.init("tooltip",t,e)};m.VERSION="3.4.1",m.TRANSITION_DURATION=150,m.DEFAULTS={animation:!0,placement:"top",selector:!1,template:'<div class="tooltip" role="tooltip"><div class="tooltip-arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,container:!1,viewport:{selector:"body",padding:0},sanitize:!0,sanitizeFn:null,whiteList:t},m.prototype.init=function(t,e,i){if(this.enabled=!0,this.type=t,this.$element=g(e),this.options=this.getOptions(i),this.$viewport=this.options.viewport&&g(document).find(g.isFunction(this.options.viewport)?this.options.viewport.call(this,this.$element):this.options.viewport.selector||this.options.viewport),this.inState={click:!1,hover:!1,focus:!1},this.$element[0]instanceof document.constructor&&!this.options.selector)throw new Error("`selector` option must be specified when initializing "+this.type+" on the window.document object!");for(var o=this.options.trigger.split(" "),n=o.length;n--;){var s=o[n];if("click"==s)this.$element.on("click."+this.type,this.options.selector,g.proxy(this.toggle,this));else if("manual"!=s){var a="hover"==s?"mouseenter":"focusin",r="hover"==s?"mouseleave":"focusout";this.$element.on(a+"."+this.type,this.options.selector,g.proxy(this.enter,this)),this.$element.on(r+"."+this.type,this.options.selector,g.proxy(this.leave,this))}}this.options.selector?this._options=g.extend({},this.options,{trigger:"manual",selector:""}):this.fixTitle()},m.prototype.getDefaults=function(){return m.DEFAULTS},m.prototype.getOptions=function(t){var e=this.$element.data();for(var i in e)e.hasOwnProperty(i)&&-1!==g.inArray(i,o)&&delete e[i];return(t=g.extend({},this.getDefaults(),e,t)).delay&&"number"==typeof t.delay&&(t.delay={show:t.delay,hide:t.delay}),t.sanitize&&(t.template=n(t.template,t.whiteList,t.sanitizeFn)),t},m.prototype.getDelegateOptions=function(){var i={},o=this.getDefaults();return this._options&&g.each(this._options,function(t,e){o[t]!=e&&(i[t]=e)}),i},m.prototype.enter=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusin"==t.type?"focus":"hover"]=!0),e.tip().hasClass("in")||"in"==e.hoverState)e.hoverState="in";else{if(clearTimeout(e.timeout),e.hoverState="in",!e.options.delay||!e.options.delay.show)return e.show();e.timeout=setTimeout(function(){"in"==e.hoverState&&e.show()},e.options.delay.show)}},m.prototype.isInStateTrue=function(){for(var t in this.inState)if(this.inState[t])return!0;return!1},m.prototype.leave=function(t){var e=t instanceof this.constructor?t:g(t.currentTarget).data("bs."+this.type);if(e||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e)),t instanceof g.Event&&(e.inState["focusout"==t.type?"focus":"hover"]=!1),!e.isInStateTrue()){if(clearTimeout(e.timeout),e.hoverState="out",!e.options.delay||!e.options.delay.hide)return e.hide();e.timeout=setTimeout(function(){"out"==e.hoverState&&e.hide()},e.options.delay.hide)}},m.prototype.show=function(){var t=g.Event("show.bs."+this.type);if(this.hasContent()&&this.enabled){this.$element.trigger(t);var e=g.contains(this.$element[0].ownerDocument.documentElement,this.$element[0]);if(t.isDefaultPrevented()||!e)return;var i=this,o=this.tip(),n=this.getUID(this.type);this.setContent(),o.attr("id",n),this.$element.attr("aria-describedby",n),this.options.animation&&o.addClass("fade");var s="function"==typeof this.options.placement?this.options.placement.call(this,o[0],this.$element[0]):this.options.placement,a=/\s?auto?\s?/i,r=a.test(s);r&&(s=s.replace(a,"")||"top"),o.detach().css({top:0,left:0,display:"block"}).addClass(s).data("bs."+this.type,this),this.options.container?o.appendTo(g(document).find(this.options.container)):o.insertAfter(this.$element),this.$element.trigger("inserted.bs."+this.type);var l=this.getPosition(),h=o[0].offsetWidth,d=o[0].offsetHeight;if(r){var p=s,c=this.getPosition(this.$viewport);s="bottom"==s&&l.bottom+d>c.bottom?"top":"top"==s&&l.top-d<c.top?"bottom":"right"==s&&l.right+h>c.width?"left":"left"==s&&l.left-h<c.left?"right":s,o.removeClass(p).addClass(s)}var f=this.getCalculatedOffset(s,l,h,d);this.applyPlacement(f,s);var u=function(){var t=i.hoverState;i.$element.trigger("shown.bs."+i.type),i.hoverState=null,"out"==t&&i.leave(i)};g.support.transition&&this.$tip.hasClass("fade")?o.one("bsTransitionEnd",u).emulateTransitionEnd(m.TRANSITION_DURATION):u()}},m.prototype.applyPlacement=function(t,e){var i=this.tip(),o=i[0].offsetWidth,n=i[0].offsetHeight,s=parseInt(i.css("margin-top"),10),a=parseInt(i.css("margin-left"),10);isNaN(s)&&(s=0),isNaN(a)&&(a=0),t.top+=s,t.left+=a,g.offset.setOffset(i[0],g.extend({using:function(t){i.css({top:Math.round(t.top),left:Math.round(t.left)})}},t),0),i.addClass("in");var r=i[0].offsetWidth,l=i[0].offsetHeight;"top"==e&&l!=n&&(t.top=t.top+n-l);var h=this.getViewportAdjustedDelta(e,t,r,l);h.left?t.left+=h.left:t.top+=h.top;var d=/top|bottom/.test(e),p=d?2*h.left-o+r:2*h.top-n+l,c=d?"offsetWidth":"offsetHeight";i.offset(t),this.replaceArrow(p,i[0][c],d)},m.prototype.replaceArrow=function(t,e,i){this.arrow().css(i?"left":"top",50*(1-t/e)+"%").css(i?"top":"left","")},m.prototype.setContent=function(){var t=this.tip(),e=this.getTitle();this.options.html?(this.options.sanitize&&(e=n(e,this.options.whiteList,this.options.sanitizeFn)),t.find(".tooltip-inner").html(e)):t.find(".tooltip-inner").text(e),t.removeClass("fade in top bottom left right")},m.prototype.hide=function(t){var e=this,i=g(this.$tip),o=g.Event("hide.bs."+this.type);function n(){"in"!=e.hoverState&&i.detach(),e.$element&&e.$element.removeAttr("aria-describedby").trigger("hidden.bs."+e.type),t&&t()}if(this.$element.trigger(o),!o.isDefaultPrevented())return i.removeClass("in"),g.support.transition&&i.hasClass("fade")?i.one("bsTransitionEnd",n).emulateTransitionEnd(m.TRANSITION_DURATION):n(),this.hoverState=null,this},m.prototype.fixTitle=function(){var t=this.$element;(t.attr("title")||"string"!=typeof t.attr("data-original-title"))&&t.attr("data-original-title",t.attr("title")||"").attr("title","")},m.prototype.hasContent=function(){return this.getTitle()},m.prototype.getPosition=function(t){var e=(t=t||this.$element)[0],i="BODY"==e.tagName,o=e.getBoundingClientRect();null==o.width&&(o=g.extend({},o,{width:o.right-o.left,height:o.bottom-o.top}));var n=window.SVGElement&&e instanceof window.SVGElement,s=i?{top:0,left:0}:n?null:t.offset(),a={scroll:i?document.documentElement.scrollTop||document.body.scrollTop:t.scrollTop()},r=i?{width:g(window).width(),height:g(window).height()}:null;return g.extend({},o,a,r,s)},m.prototype.getCalculatedOffset=function(t,e,i,o){return"bottom"==t?{top:e.top+e.height,left:e.left+e.width/2-i/2}:"top"==t?{top:e.top-o,left:e.left+e.width/2-i/2}:"left"==t?{top:e.top+e.height/2-o/2,left:e.left-i}:{top:e.top+e.height/2-o/2,left:e.left+e.width}},m.prototype.getViewportAdjustedDelta=function(t,e,i,o){var n={top:0,left:0};if(!this.$viewport)return n;var s=this.options.viewport&&this.options.viewport.padding||0,a=this.getPosition(this.$viewport);if(/right|left/.test(t)){var r=e.top-s-a.scroll,l=e.top+s-a.scroll+o;r<a.top?n.top=a.top-r:l>a.top+a.height&&(n.top=a.top+a.height-l)}else{var h=e.left-s,d=e.left+s+i;h<a.left?n.left=a.left-h:d>a.right&&(n.left=a.left+a.width-d)}return n},m.prototype.getTitle=function(){var t=this.$element,e=this.options;return t.attr("data-original-title")||("function"==typeof e.title?e.title.call(t[0]):e.title)},m.prototype.getUID=function(t){for(;t+=~~(1e6*Math.random()),document.getElementById(t););return t},m.prototype.tip=function(){if(!this.$tip&&(this.$tip=g(this.options.template),1!=this.$tip.length))throw new Error(this.type+" `template` option must consist of exactly 1 top-level element!");return this.$tip},m.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".tooltip-arrow")},m.prototype.enable=function(){this.enabled=!0},m.prototype.disable=function(){this.enabled=!1},m.prototype.toggleEnabled=function(){this.enabled=!this.enabled},m.prototype.toggle=function(t){var e=this;t&&((e=g(t.currentTarget).data("bs."+this.type))||(e=new this.constructor(t.currentTarget,this.getDelegateOptions()),g(t.currentTarget).data("bs."+this.type,e))),t?(e.inState.click=!e.inState.click,e.isInStateTrue()?e.enter(e):e.leave(e)):e.tip().hasClass("in")?e.leave(e):e.enter(e)},m.prototype.destroy=function(){var t=this;clearTimeout(this.timeout),this.hide(function(){t.$element.off("."+t.type).removeData("bs."+t.type),t.$tip&&t.$tip.detach(),t.$tip=null,t.$arrow=null,t.$viewport=null,t.$element=null})},m.prototype.sanitizeHtml=function(t){return n(t,this.options.whiteList,this.options.sanitizeFn)};var e=g.fn.tooltip;g.fn.tooltip=function i(o){return this.each(function(){var t=g(this),e=t.data("bs.tooltip"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.tooltip",e=new m(this,i)),"string"==typeof o&&e[o]())})},g.fn.tooltip.Constructor=m,g.fn.tooltip.noConflict=function(){return g.fn.tooltip=e,this}}(jQuery),function(n){"use strict";var s=function(t,e){this.init("popover",t,e)};if(!n.fn.tooltip)throw new Error("Popover requires tooltip.js");s.VERSION="3.4.1",s.DEFAULTS=n.extend({},n.fn.tooltip.Constructor.DEFAULTS,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-title"></h3><div class="popover-content"></div></div>'}),((s.prototype=n.extend({},n.fn.tooltip.Constructor.prototype)).constructor=s).prototype.getDefaults=function(){return s.DEFAULTS},s.prototype.setContent=function(){var t=this.tip(),e=this.getTitle(),i=this.getContent();if(this.options.html){var o=typeof i;this.options.sanitize&&(e=this.sanitizeHtml(e),"string"===o&&(i=this.sanitizeHtml(i))),t.find(".popover-title").html(e),t.find(".popover-content").children().detach().end()["string"===o?"html":"append"](i)}else t.find(".popover-title").text(e),t.find(".popover-content").children().detach().end().text(i);t.removeClass("fade top bottom left right in"),t.find(".popover-title").html()||t.find(".popover-title").hide()},s.prototype.hasContent=function(){return this.getTitle()||this.getContent()},s.prototype.getContent=function(){var t=this.$element,e=this.options;return t.attr("data-content")||("function"==typeof e.content?e.content.call(t[0]):e.content)},s.prototype.arrow=function(){return this.$arrow=this.$arrow||this.tip().find(".arrow")};var t=n.fn.popover;n.fn.popover=function e(o){return this.each(function(){var t=n(this),e=t.data("bs.popover"),i="object"==typeof o&&o;!e&&/destroy|hide/.test(o)||(e||t.data("bs.popover",e=new s(this,i)),"string"==typeof o&&e[o]())})},n.fn.popover.Constructor=s,n.fn.popover.noConflict=function(){return n.fn.popover=t,this}}(jQuery),function(s){"use strict";function n(t,e){this.$body=s(document.body),this.$scrollElement=s(t).is(document.body)?s(window):s(t),this.options=s.extend({},n.DEFAULTS,e),this.selector=(this.options.target||"")+" .nav li > a",this.offsets=[],this.targets=[],this.activeTarget=null,this.scrollHeight=0,this.$scrollElement.on("scroll.bs.scrollspy",s.proxy(this.process,this)),this.refresh(),this.process()}function e(o){return this.each(function(){var t=s(this),e=t.data("bs.scrollspy"),i="object"==typeof o&&o;e||t.data("bs.scrollspy",e=new n(this,i)),"string"==typeof o&&e[o]()})}n.VERSION="3.4.1",n.DEFAULTS={offset:10},n.prototype.getScrollHeight=function(){return this.$scrollElement[0].scrollHeight||Math.max(this.$body[0].scrollHeight,document.documentElement.scrollHeight)},n.prototype.refresh=function(){var t=this,o="offset",n=0;this.offsets=[],this.targets=[],this.scrollHeight=this.getScrollHeight(),s.isWindow(this.$scrollElement[0])||(o="position",n=this.$scrollElement.scrollTop()),this.$body.find(this.selector).map(function(){var t=s(this),e=t.data("target")||t.attr("href"),i=/^#./.test(e)&&s(e);return i&&i.length&&i.is(":visible")&&[[i[o]().top+n,e]]||null}).sort(function(t,e){return t[0]-e[0]}).each(function(){t.offsets.push(this[0]),t.targets.push(this[1])})},n.prototype.process=function(){var t,e=this.$scrollElement.scrollTop()+this.options.offset,i=this.getScrollHeight(),o=this.options.offset+i-this.$scrollElement.height(),n=this.offsets,s=this.targets,a=this.activeTarget;if(this.scrollHeight!=i&&this.refresh(),o<=e)return a!=(t=s[s.length-1])&&this.activate(t);if(a&&e<n[0])return this.activeTarget=null,this.clear();for(t=n.length;t--;)a!=s[t]&&e>=n[t]&&(n[t+1]===undefined||e<n[t+1])&&this.activate(s[t])},n.prototype.activate=function(t){this.activeTarget=t,this.clear();var e=this.selector+'[data-target="'+t+'"],'+this.selector+'[href="'+t+'"]',i=s(e).parents("li").addClass("active");i.parent(".dropdown-menu").length&&(i=i.closest("li.dropdown").addClass("active")),i.trigger("activate.bs.scrollspy")},n.prototype.clear=function(){s(this.selector).parentsUntil(this.options.target,".active").removeClass("active")};var t=s.fn.scrollspy;s.fn.scrollspy=e,s.fn.scrollspy.Constructor=n,s.fn.scrollspy.noConflict=function(){return s.fn.scrollspy=t,this},s(window).on("load.bs.scrollspy.data-api",function(){s('[data-spy="scroll"]').each(function(){var t=s(this);e.call(t,t.data())})})}(jQuery),function(r){"use strict";var a=function(t){this.element=r(t)};function e(i){return this.each(function(){var t=r(this),e=t.data("bs.tab");e||t.data("bs.tab",e=new a(this)),"string"==typeof i&&e[i]()})}a.VERSION="3.4.1",a.TRANSITION_DURATION=150,a.prototype.show=function(){var t=this.element,e=t.closest("ul:not(.dropdown-menu)"),i=t.data("target");if(i||(i=(i=t.attr("href"))&&i.replace(/.*(?=#[^\s]*$)/,"")),!t.parent("li").hasClass("active")){var o=e.find(".active:last a"),n=r.Event("hide.bs.tab",{relatedTarget:t[0]}),s=r.Event("show.bs.tab",{relatedTarget:o[0]});if(o.trigger(n),t.trigger(s),!s.isDefaultPrevented()&&!n.isDefaultPrevented()){var a=r(document).find(i);this.activate(t.closest("li"),e),this.activate(a,a.parent(),function(){o.trigger({type:"hidden.bs.tab",relatedTarget:t[0]}),t.trigger({type:"shown.bs.tab",relatedTarget:o[0]})})}}},a.prototype.activate=function(t,e,i){var o=e.find("> .active"),n=i&&r.support.transition&&(o.length&&o.hasClass("fade")||!!e.find("> .fade").length);function s(){o.removeClass("active").find("> .dropdown-menu > .active").removeClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!1),t.addClass("active").find('[data-toggle="tab"]').attr("aria-expanded",!0),n?(t[0].offsetWidth,t.addClass("in")):t.removeClass("fade"),t.parent(".dropdown-menu").length&&t.closest("li.dropdown").addClass("active").end().find('[data-toggle="tab"]').attr("aria-expanded",!0),i&&i()}o.length&&n?o.one("bsTransitionEnd",s).emulateTransitionEnd(a.TRANSITION_DURATION):s(),o.removeClass("in")};var t=r.fn.tab;r.fn.tab=e,r.fn.tab.Constructor=a,r.fn.tab.noConflict=function(){return r.fn.tab=t,this};var i=function(t){t.preventDefault(),e.call(r(this),"show")};r(document).on("click.bs.tab.data-api",'[data-toggle="tab"]',i).on("click.bs.tab.data-api",'[data-toggle="pill"]',i)}(jQuery),function(l){"use strict";var h=function(t,e){this.options=l.extend({},h.DEFAULTS,e);var i=this.options.target===h.DEFAULTS.target?l(this.options.target):l(document).find(this.options.target);this.$target=i.on("scroll.bs.affix.data-api",l.proxy(this.checkPosition,this)).on("click.bs.affix.data-api",l.proxy(this.checkPositionWithEventLoop,this)),this.$element=l(t),this.affixed=null,this.unpin=null,this.pinnedOffset=null,this.checkPosition()};function i(o){return this.each(function(){var t=l(this),e=t.data("bs.affix"),i="object"==typeof o&&o;e||t.data("bs.affix",e=new h(this,i)),"string"==typeof o&&e[o]()})}h.VERSION="3.4.1",h.RESET="affix affix-top affix-bottom",h.DEFAULTS={offset:0,target:window},h.prototype.getState=function(t,e,i,o){var n=this.$target.scrollTop(),s=this.$element.offset(),a=this.$target.height();if(null!=i&&"top"==this.affixed)return n<i&&"top";if("bottom"==this.affixed)return null!=i?!(n+this.unpin<=s.top)&&"bottom":!(n+a<=t-o)&&"bottom";var r=null==this.affixed,l=r?n:s.top;return null!=i&&n<=i?"top":null!=o&&t-o<=l+(r?a:e)&&"bottom"},h.prototype.getPinnedOffset=function(){if(this.pinnedOffset)return this.pinnedOffset;this.$element.removeClass(h.RESET).addClass("affix");var t=this.$target.scrollTop(),e=this.$element.offset();return this.pinnedOffset=e.top-t},h.prototype.checkPositionWithEventLoop=function(){setTimeout(l.proxy(this.checkPosition,this),1)},h.prototype.checkPosition=function(){if(this.$element.is(":visible")){var t=this.$element.height(),e=this.options.offset,i=e.top,o=e.bottom,n=Math.max(l(document).height(),l(document.body).height());"object"!=typeof e&&(o=i=e),"function"==typeof i&&(i=e.top(this.$element)),"function"==typeof o&&(o=e.bottom(this.$element));var s=this.getState(n,t,i,o);if(this.affixed!=s){null!=this.unpin&&this.$element.css("top","");var a="affix"+(s?"-"+s:""),r=l.Event(a+".bs.affix");if(this.$element.trigger(r),r.isDefaultPrevented())return;this.affixed=s,this.unpin="bottom"==s?this.getPinnedOffset():null,this.$element.removeClass(h.RESET).addClass(a).trigger(a.replace("affix","affixed")+".bs.affix")}"bottom"==s&&this.$element.offset({top:n-t-o})}};var t=l.fn.affix;l.fn.affix=i,l.fn.affix.Constructor=h,l.fn.affix.noConflict=function(){return l.fn.affix=t,this},l(window).on("load",function(){l('[data-spy="affix"]').each(function(){var t=l(this),e=t.data();e.offset=e.offset||{},null!=e.offsetBottom&&(e.offset.bottom=e.offsetBottom),null!=e.offsetTop&&(e.offset.top=e.offsetTop),i.call(t,e)})})}(jQuery);
 
1
  /*!
2
+ * Bootstrap v4.6.1 (https://getbootstrap.com/)
3
+ * Copyright 2011-2021 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
4
+ * Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
5
+ */
6
+ !function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports,require("jquery"),require("popper.js")):"function"==typeof define&&define.amd?define(["exports","jquery","popper.js"],e):e((t="undefined"!=typeof globalThis?globalThis:t||self).bootstrap={},t.jQuery,t.Popper)}(this,(function(t,e,n){"use strict";function i(t){return t&&"object"==typeof t&&"default"in t?t:{default:t}}var o=i(e),a=i(n);function s(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function l(t,e,n){return e&&s(t.prototype,e),n&&s(t,n),t}function r(){return r=Object.assign||function(t){for(var e=1;e<arguments.length;e++){var n=arguments[e];for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i])}return t},r.apply(this,arguments)}function u(t,e){return u=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},u(t,e)}var f="transitionend";var d={TRANSITION_END:"bsTransitionEnd",getUID:function(t){do{t+=~~(1e6*Math.random())}while(document.getElementById(t));return t},getSelectorFromElement:function(t){var e=t.getAttribute("data-target");if(!e||"#"===e){var n=t.getAttribute("href");e=n&&"#"!==n?n.trim():""}try{return document.querySelector(e)?e:null}catch(t){return null}},getTransitionDurationFromElement:function(t){if(!t)return 0;var e=o.default(t).css("transition-duration"),n=o.default(t).css("transition-delay"),i=parseFloat(e),a=parseFloat(n);return i||a?(e=e.split(",")[0],n=n.split(",")[0],1e3*(parseFloat(e)+parseFloat(n))):0},reflow:function(t){return t.offsetHeight},triggerTransitionEnd:function(t){o.default(t).trigger(f)},supportsTransitionEnd:function(){return Boolean(f)},isElement:function(t){return(t[0]||t).nodeType},typeCheckConfig:function(t,e,n){for(var i in n)if(Object.prototype.hasOwnProperty.call(n,i)){var o=n[i],a=e[i],s=a&&d.isElement(a)?"element":null===(l=a)||"undefined"==typeof l?""+l:{}.toString.call(l).match(/\s([a-z]+)/i)[1].toLowerCase();if(!new RegExp(o).test(s))throw new Error(t.toUpperCase()+': Option "'+i+'" provided type "'+s+'" but expected type "'+o+'".')}var l},findShadowRoot:function(t){if(!document.documentElement.attachShadow)return null;if("function"==typeof t.getRootNode){var e=t.getRootNode();return e instanceof ShadowRoot?e:null}return t instanceof ShadowRoot?t:t.parentNode?d.findShadowRoot(t.parentNode):null},jQueryDetection:function(){if("undefined"==typeof o.default)throw new TypeError("Bootstrap's JavaScript requires jQuery. jQuery must be included before Bootstrap's JavaScript.");var t=o.default.fn.jquery.split(" ")[0].split(".");if(t[0]<2&&t[1]<9||1===t[0]&&9===t[1]&&t[2]<1||t[0]>=4)throw new Error("Bootstrap's JavaScript requires at least jQuery v1.9.1 but less than v4.0.0")}};d.jQueryDetection(),o.default.fn.emulateTransitionEnd=function(t){var e=this,n=!1;return o.default(this).one(d.TRANSITION_END,(function(){n=!0})),setTimeout((function(){n||d.triggerTransitionEnd(e)}),t),this},o.default.event.special[d.TRANSITION_END]={bindType:f,delegateType:f,handle:function(t){if(o.default(t.target).is(this))return t.handleObj.handler.apply(this,arguments)}};var c="bs.alert",h=o.default.fn.alert,g=function(){function t(t){this._element=t}var e=t.prototype;return e.close=function(t){var e=this._element;t&&(e=this._getRootElement(t)),this._triggerCloseEvent(e).isDefaultPrevented()||this._removeElement(e)},e.dispose=function(){o.default.removeData(this._element,c),this._element=null},e._getRootElement=function(t){var e=d.getSelectorFromElement(t),n=!1;return e&&(n=document.querySelector(e)),n||(n=o.default(t).closest(".alert")[0]),n},e._triggerCloseEvent=function(t){var e=o.default.Event("close.bs.alert");return o.default(t).trigger(e),e},e._removeElement=function(t){var e=this;if(o.default(t).removeClass("show"),o.default(t).hasClass("fade")){var n=d.getTransitionDurationFromElement(t);o.default(t).one(d.TRANSITION_END,(function(n){return e._destroyElement(t,n)})).emulateTransitionEnd(n)}else this._destroyElement(t)},e._destroyElement=function(t){o.default(t).detach().trigger("closed.bs.alert").remove()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(c);i||(i=new t(this),n.data(c,i)),"close"===e&&i[e](this)}))},t._handleDismiss=function(t){return function(e){e&&e.preventDefault(),t.close(this)}},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),t}();o.default(document).on("click.bs.alert.data-api",'[data-dismiss="alert"]',g._handleDismiss(new g)),o.default.fn.alert=g._jQueryInterface,o.default.fn.alert.Constructor=g,o.default.fn.alert.noConflict=function(){return o.default.fn.alert=h,g._jQueryInterface};var m="bs.button",p=o.default.fn.button,_="active",v='[data-toggle^="button"]',y='input:not([type="hidden"])',b=".btn",E=function(){function t(t){this._element=t,this.shouldAvoidTriggerChange=!1}var e=t.prototype;return e.toggle=function(){var t=!0,e=!0,n=o.default(this._element).closest('[data-toggle="buttons"]')[0];if(n){var i=this._element.querySelector(y);if(i){if("radio"===i.type)if(i.checked&&this._element.classList.contains(_))t=!1;else{var a=n.querySelector(".active");a&&o.default(a).removeClass(_)}t&&("checkbox"!==i.type&&"radio"!==i.type||(i.checked=!this._element.classList.contains(_)),this.shouldAvoidTriggerChange||o.default(i).trigger("change")),i.focus(),e=!1}}this._element.hasAttribute("disabled")||this._element.classList.contains("disabled")||(e&&this._element.setAttribute("aria-pressed",!this._element.classList.contains(_)),t&&o.default(this._element).toggleClass(_))},e.dispose=function(){o.default.removeData(this._element,m),this._element=null},t._jQueryInterface=function(e,n){return this.each((function(){var i=o.default(this),a=i.data(m);a||(a=new t(this),i.data(m,a)),a.shouldAvoidTriggerChange=n,"toggle"===e&&a[e]()}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),t}();o.default(document).on("click.bs.button.data-api",v,(function(t){var e=t.target,n=e;if(o.default(e).hasClass("btn")||(e=o.default(e).closest(b)[0]),!e||e.hasAttribute("disabled")||e.classList.contains("disabled"))t.preventDefault();else{var i=e.querySelector(y);if(i&&(i.hasAttribute("disabled")||i.classList.contains("disabled")))return void t.preventDefault();"INPUT"!==n.tagName&&"LABEL"===e.tagName||E._jQueryInterface.call(o.default(e),"toggle","INPUT"===n.tagName)}})).on("focus.bs.button.data-api blur.bs.button.data-api",v,(function(t){var e=o.default(t.target).closest(b)[0];o.default(e).toggleClass("focus",/^focus(in)?$/.test(t.type))})),o.default(window).on("load.bs.button.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-toggle="buttons"] .btn')),e=0,n=t.length;e<n;e++){var i=t[e],o=i.querySelector(y);o.checked||o.hasAttribute("checked")?i.classList.add(_):i.classList.remove(_)}for(var a=0,s=(t=[].slice.call(document.querySelectorAll('[data-toggle="button"]'))).length;a<s;a++){var l=t[a];"true"===l.getAttribute("aria-pressed")?l.classList.add(_):l.classList.remove(_)}})),o.default.fn.button=E._jQueryInterface,o.default.fn.button.Constructor=E,o.default.fn.button.noConflict=function(){return o.default.fn.button=p,E._jQueryInterface};var T="carousel",w="bs.carousel",C=o.default.fn[T],S="active",N="next",D="prev",A="slid.bs.carousel",I=".active.carousel-item",k={interval:5e3,keyboard:!0,slide:!1,pause:"hover",wrap:!0,touch:!0},O={interval:"(number|boolean)",keyboard:"boolean",slide:"(boolean|string)",pause:"(string|boolean)",wrap:"boolean",touch:"boolean"},j={TOUCH:"touch",PEN:"pen"},P=function(){function t(t,e){this._items=null,this._interval=null,this._activeElement=null,this._isPaused=!1,this._isSliding=!1,this.touchTimeout=null,this.touchStartX=0,this.touchDeltaX=0,this._config=this._getConfig(e),this._element=t,this._indicatorsElement=this._element.querySelector(".carousel-indicators"),this._touchSupported="ontouchstart"in document.documentElement||navigator.maxTouchPoints>0,this._pointerEvent=Boolean(window.PointerEvent||window.MSPointerEvent),this._addEventListeners()}var e=t.prototype;return e.next=function(){this._isSliding||this._slide(N)},e.nextWhenVisible=function(){var t=o.default(this._element);!document.hidden&&t.is(":visible")&&"hidden"!==t.css("visibility")&&this.next()},e.prev=function(){this._isSliding||this._slide(D)},e.pause=function(t){t||(this._isPaused=!0),this._element.querySelector(".carousel-item-next, .carousel-item-prev")&&(d.triggerTransitionEnd(this._element),this.cycle(!0)),clearInterval(this._interval),this._interval=null},e.cycle=function(t){t||(this._isPaused=!1),this._interval&&(clearInterval(this._interval),this._interval=null),this._config.interval&&!this._isPaused&&(this._updateInterval(),this._interval=setInterval((document.visibilityState?this.nextWhenVisible:this.next).bind(this),this._config.interval))},e.to=function(t){var e=this;this._activeElement=this._element.querySelector(I);var n=this._getItemIndex(this._activeElement);if(!(t>this._items.length-1||t<0))if(this._isSliding)o.default(this._element).one(A,(function(){return e.to(t)}));else{if(n===t)return this.pause(),void this.cycle();var i=t>n?N:D;this._slide(i,this._items[t])}},e.dispose=function(){o.default(this._element).off(".bs.carousel"),o.default.removeData(this._element,w),this._items=null,this._config=null,this._element=null,this._interval=null,this._isPaused=null,this._isSliding=null,this._activeElement=null,this._indicatorsElement=null},e._getConfig=function(t){return t=r({},k,t),d.typeCheckConfig(T,t,O),t},e._handleSwipe=function(){var t=Math.abs(this.touchDeltaX);if(!(t<=40)){var e=t/this.touchDeltaX;this.touchDeltaX=0,e>0&&this.prev(),e<0&&this.next()}},e._addEventListeners=function(){var t=this;this._config.keyboard&&o.default(this._element).on("keydown.bs.carousel",(function(e){return t._keydown(e)})),"hover"===this._config.pause&&o.default(this._element).on("mouseenter.bs.carousel",(function(e){return t.pause(e)})).on("mouseleave.bs.carousel",(function(e){return t.cycle(e)})),this._config.touch&&this._addTouchEventListeners()},e._addTouchEventListeners=function(){var t=this;if(this._touchSupported){var e=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]?t.touchStartX=e.originalEvent.clientX:t._pointerEvent||(t.touchStartX=e.originalEvent.touches[0].clientX)},n=function(e){t._pointerEvent&&j[e.originalEvent.pointerType.toUpperCase()]&&(t.touchDeltaX=e.originalEvent.clientX-t.touchStartX),t._handleSwipe(),"hover"===t._config.pause&&(t.pause(),t.touchTimeout&&clearTimeout(t.touchTimeout),t.touchTimeout=setTimeout((function(e){return t.cycle(e)}),500+t._config.interval))};o.default(this._element.querySelectorAll(".carousel-item img")).on("dragstart.bs.carousel",(function(t){return t.preventDefault()})),this._pointerEvent?(o.default(this._element).on("pointerdown.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("pointerup.bs.carousel",(function(t){return n(t)})),this._element.classList.add("pointer-event")):(o.default(this._element).on("touchstart.bs.carousel",(function(t){return e(t)})),o.default(this._element).on("touchmove.bs.carousel",(function(e){return function(e){t.touchDeltaX=e.originalEvent.touches&&e.originalEvent.touches.length>1?0:e.originalEvent.touches[0].clientX-t.touchStartX}(e)})),o.default(this._element).on("touchend.bs.carousel",(function(t){return n(t)})))}},e._keydown=function(t){if(!/input|textarea/i.test(t.target.tagName))switch(t.which){case 37:t.preventDefault(),this.prev();break;case 39:t.preventDefault(),this.next()}},e._getItemIndex=function(t){return this._items=t&&t.parentNode?[].slice.call(t.parentNode.querySelectorAll(".carousel-item")):[],this._items.indexOf(t)},e._getItemByDirection=function(t,e){var n=t===N,i=t===D,o=this._getItemIndex(e),a=this._items.length-1;if((i&&0===o||n&&o===a)&&!this._config.wrap)return e;var s=(o+(t===D?-1:1))%this._items.length;return-1===s?this._items[this._items.length-1]:this._items[s]},e._triggerSlideEvent=function(t,e){var n=this._getItemIndex(t),i=this._getItemIndex(this._element.querySelector(I)),a=o.default.Event("slide.bs.carousel",{relatedTarget:t,direction:e,from:i,to:n});return o.default(this._element).trigger(a),a},e._setActiveIndicatorElement=function(t){if(this._indicatorsElement){var e=[].slice.call(this._indicatorsElement.querySelectorAll(".active"));o.default(e).removeClass(S);var n=this._indicatorsElement.children[this._getItemIndex(t)];n&&o.default(n).addClass(S)}},e._updateInterval=function(){var t=this._activeElement||this._element.querySelector(I);if(t){var e=parseInt(t.getAttribute("data-interval"),10);e?(this._config.defaultInterval=this._config.defaultInterval||this._config.interval,this._config.interval=e):this._config.interval=this._config.defaultInterval||this._config.interval}},e._slide=function(t,e){var n,i,a,s=this,l=this._element.querySelector(I),r=this._getItemIndex(l),u=e||l&&this._getItemByDirection(t,l),f=this._getItemIndex(u),c=Boolean(this._interval);if(t===N?(n="carousel-item-left",i="carousel-item-next",a="left"):(n="carousel-item-right",i="carousel-item-prev",a="right"),u&&o.default(u).hasClass(S))this._isSliding=!1;else if(!this._triggerSlideEvent(u,a).isDefaultPrevented()&&l&&u){this._isSliding=!0,c&&this.pause(),this._setActiveIndicatorElement(u),this._activeElement=u;var h=o.default.Event(A,{relatedTarget:u,direction:a,from:r,to:f});if(o.default(this._element).hasClass("slide")){o.default(u).addClass(i),d.reflow(u),o.default(l).addClass(n),o.default(u).addClass(n);var g=d.getTransitionDurationFromElement(l);o.default(l).one(d.TRANSITION_END,(function(){o.default(u).removeClass(n+" "+i).addClass(S),o.default(l).removeClass("active "+i+" "+n),s._isSliding=!1,setTimeout((function(){return o.default(s._element).trigger(h)}),0)})).emulateTransitionEnd(g)}else o.default(l).removeClass(S),o.default(u).addClass(S),this._isSliding=!1,o.default(this._element).trigger(h);c&&this.cycle()}},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(w),i=r({},k,o.default(this).data());"object"==typeof e&&(i=r({},i,e));var a="string"==typeof e?e:i.slide;if(n||(n=new t(this,i),o.default(this).data(w,n)),"number"==typeof e)n.to(e);else if("string"==typeof a){if("undefined"==typeof n[a])throw new TypeError('No method named "'+a+'"');n[a]()}else i.interval&&i.ride&&(n.pause(),n.cycle())}))},t._dataApiClickHandler=function(e){var n=d.getSelectorFromElement(this);if(n){var i=o.default(n)[0];if(i&&o.default(i).hasClass("carousel")){var a=r({},o.default(i).data(),o.default(this).data()),s=this.getAttribute("data-slide-to");s&&(a.interval=!1),t._jQueryInterface.call(o.default(i),a),s&&o.default(i).data(w).to(s),e.preventDefault()}}},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return k}}]),t}();o.default(document).on("click.bs.carousel.data-api","[data-slide], [data-slide-to]",P._dataApiClickHandler),o.default(window).on("load.bs.carousel.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-ride="carousel"]')),e=0,n=t.length;e<n;e++){var i=o.default(t[e]);P._jQueryInterface.call(i,i.data())}})),o.default.fn[T]=P._jQueryInterface,o.default.fn[T].Constructor=P,o.default.fn[T].noConflict=function(){return o.default.fn[T]=C,P._jQueryInterface};var L="collapse",R="bs.collapse",x=o.default.fn[L],q="show",F="collapse",Q="collapsing",B="collapsed",H="width",U='[data-toggle="collapse"]',M={toggle:!0,parent:""},W={toggle:"boolean",parent:"(string|element)"},V=function(){function t(t,e){this._isTransitioning=!1,this._element=t,this._config=this._getConfig(e),this._triggerArray=[].slice.call(document.querySelectorAll('[data-toggle="collapse"][href="#'+t.id+'"],[data-toggle="collapse"][data-target="#'+t.id+'"]'));for(var n=[].slice.call(document.querySelectorAll(U)),i=0,o=n.length;i<o;i++){var a=n[i],s=d.getSelectorFromElement(a),l=[].slice.call(document.querySelectorAll(s)).filter((function(e){return e===t}));null!==s&&l.length>0&&(this._selector=s,this._triggerArray.push(a))}this._parent=this._config.parent?this._getParent():null,this._config.parent||this._addAriaAndCollapsedClass(this._element,this._triggerArray),this._config.toggle&&this.toggle()}var e=t.prototype;return e.toggle=function(){o.default(this._element).hasClass(q)?this.hide():this.show()},e.show=function(){var e,n,i=this;if(!(this._isTransitioning||o.default(this._element).hasClass(q)||(this._parent&&0===(e=[].slice.call(this._parent.querySelectorAll(".show, .collapsing")).filter((function(t){return"string"==typeof i._config.parent?t.getAttribute("data-parent")===i._config.parent:t.classList.contains(F)}))).length&&(e=null),e&&(n=o.default(e).not(this._selector).data(R))&&n._isTransitioning))){var a=o.default.Event("show.bs.collapse");if(o.default(this._element).trigger(a),!a.isDefaultPrevented()){e&&(t._jQueryInterface.call(o.default(e).not(this._selector),"hide"),n||o.default(e).data(R,null));var s=this._getDimension();o.default(this._element).removeClass(F).addClass(Q),this._element.style[s]=0,this._triggerArray.length&&o.default(this._triggerArray).removeClass(B).attr("aria-expanded",!0),this.setTransitioning(!0);var l="scroll"+(s[0].toUpperCase()+s.slice(1)),r=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(){o.default(i._element).removeClass(Q).addClass("collapse show"),i._element.style[s]="",i.setTransitioning(!1),o.default(i._element).trigger("shown.bs.collapse")})).emulateTransitionEnd(r),this._element.style[s]=this._element[l]+"px"}}},e.hide=function(){var t=this;if(!this._isTransitioning&&o.default(this._element).hasClass(q)){var e=o.default.Event("hide.bs.collapse");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._getDimension();this._element.style[n]=this._element.getBoundingClientRect()[n]+"px",d.reflow(this._element),o.default(this._element).addClass(Q).removeClass("collapse show");var i=this._triggerArray.length;if(i>0)for(var a=0;a<i;a++){var s=this._triggerArray[a],l=d.getSelectorFromElement(s);null!==l&&(o.default([].slice.call(document.querySelectorAll(l))).hasClass(q)||o.default(s).addClass(B).attr("aria-expanded",!1))}this.setTransitioning(!0),this._element.style[n]="";var r=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(){t.setTransitioning(!1),o.default(t._element).removeClass(Q).addClass(F).trigger("hidden.bs.collapse")})).emulateTransitionEnd(r)}}},e.setTransitioning=function(t){this._isTransitioning=t},e.dispose=function(){o.default.removeData(this._element,R),this._config=null,this._parent=null,this._element=null,this._triggerArray=null,this._isTransitioning=null},e._getConfig=function(t){return(t=r({},M,t)).toggle=Boolean(t.toggle),d.typeCheckConfig(L,t,W),t},e._getDimension=function(){return o.default(this._element).hasClass(H)?H:"height"},e._getParent=function(){var e,n=this;d.isElement(this._config.parent)?(e=this._config.parent,"undefined"!=typeof this._config.parent.jquery&&(e=this._config.parent[0])):e=document.querySelector(this._config.parent);var i='[data-toggle="collapse"][data-parent="'+this._config.parent+'"]',a=[].slice.call(e.querySelectorAll(i));return o.default(a).each((function(e,i){n._addAriaAndCollapsedClass(t._getTargetFromElement(i),[i])})),e},e._addAriaAndCollapsedClass=function(t,e){var n=o.default(t).hasClass(q);e.length&&o.default(e).toggleClass(B,!n).attr("aria-expanded",n)},t._getTargetFromElement=function(t){var e=d.getSelectorFromElement(t);return e?document.querySelector(e):null},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(R),a=r({},M,n.data(),"object"==typeof e&&e?e:{});if(!i&&a.toggle&&"string"==typeof e&&/show|hide/.test(e)&&(a.toggle=!1),i||(i=new t(this,a),n.data(R,i)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return M}}]),t}();o.default(document).on("click.bs.collapse.data-api",U,(function(t){"A"===t.currentTarget.tagName&&t.preventDefault();var e=o.default(this),n=d.getSelectorFromElement(this),i=[].slice.call(document.querySelectorAll(n));o.default(i).each((function(){var t=o.default(this),n=t.data(R)?"toggle":e.data();V._jQueryInterface.call(t,n)}))})),o.default.fn[L]=V._jQueryInterface,o.default.fn[L].Constructor=V,o.default.fn[L].noConflict=function(){return o.default.fn[L]=x,V._jQueryInterface};var z="dropdown",K="bs.dropdown",X=o.default.fn[z],Y=new RegExp("38|40|27"),$="disabled",J="show",G="dropdown-menu-right",Z="hide.bs.dropdown",tt="hidden.bs.dropdown",et="click.bs.dropdown.data-api",nt="keydown.bs.dropdown.data-api",it='[data-toggle="dropdown"]',ot=".dropdown-menu",at={offset:0,flip:!0,boundary:"scrollParent",reference:"toggle",display:"dynamic",popperConfig:null},st={offset:"(number|string|function)",flip:"boolean",boundary:"(string|element)",reference:"(string|element)",display:"string",popperConfig:"(null|object)"},lt=function(){function t(t,e){this._element=t,this._popper=null,this._config=this._getConfig(e),this._menu=this._getMenuElement(),this._inNavbar=this._detectNavbar(),this._addEventListeners()}var e=t.prototype;return e.toggle=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($)){var e=o.default(this._menu).hasClass(J);t._clearMenus(),e||this.show(!0)}},e.show=function(e){if(void 0===e&&(e=!1),!(this._element.disabled||o.default(this._element).hasClass($)||o.default(this._menu).hasClass(J))){var n={relatedTarget:this._element},i=o.default.Event("show.bs.dropdown",n),s=t._getParentFromElement(this._element);if(o.default(s).trigger(i),!i.isDefaultPrevented()){if(!this._inNavbar&&e){if("undefined"==typeof a.default)throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");var l=this._element;"parent"===this._config.reference?l=s:d.isElement(this._config.reference)&&(l=this._config.reference,"undefined"!=typeof this._config.reference.jquery&&(l=this._config.reference[0])),"scrollParent"!==this._config.boundary&&o.default(s).addClass("position-static"),this._popper=new a.default(l,this._menu,this._getPopperConfig())}"ontouchstart"in document.documentElement&&0===o.default(s).closest(".navbar-nav").length&&o.default(document.body).children().on("mouseover",null,o.default.noop),this._element.focus(),this._element.setAttribute("aria-expanded",!0),o.default(this._menu).toggleClass(J),o.default(s).toggleClass(J).trigger(o.default.Event("shown.bs.dropdown",n))}}},e.hide=function(){if(!this._element.disabled&&!o.default(this._element).hasClass($)&&o.default(this._menu).hasClass(J)){var e={relatedTarget:this._element},n=o.default.Event(Z,e),i=t._getParentFromElement(this._element);o.default(i).trigger(n),n.isDefaultPrevented()||(this._popper&&this._popper.destroy(),o.default(this._menu).toggleClass(J),o.default(i).toggleClass(J).trigger(o.default.Event(tt,e)))}},e.dispose=function(){o.default.removeData(this._element,K),o.default(this._element).off(".bs.dropdown"),this._element=null,this._menu=null,null!==this._popper&&(this._popper.destroy(),this._popper=null)},e.update=function(){this._inNavbar=this._detectNavbar(),null!==this._popper&&this._popper.scheduleUpdate()},e._addEventListeners=function(){var t=this;o.default(this._element).on("click.bs.dropdown",(function(e){e.preventDefault(),e.stopPropagation(),t.toggle()}))},e._getConfig=function(t){return t=r({},this.constructor.Default,o.default(this._element).data(),t),d.typeCheckConfig(z,t,this.constructor.DefaultType),t},e._getMenuElement=function(){if(!this._menu){var e=t._getParentFromElement(this._element);e&&(this._menu=e.querySelector(ot))}return this._menu},e._getPlacement=function(){var t=o.default(this._element.parentNode),e="bottom-start";return t.hasClass("dropup")?e=o.default(this._menu).hasClass(G)?"top-end":"top-start":t.hasClass("dropright")?e="right-start":t.hasClass("dropleft")?e="left-start":o.default(this._menu).hasClass(G)&&(e="bottom-end"),e},e._detectNavbar=function(){return o.default(this._element).closest(".navbar").length>0},e._getOffset=function(){var t=this,e={};return"function"==typeof this._config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t._config.offset(e.offsets,t._element)),e}:e.offset=this._config.offset,e},e._getPopperConfig=function(){var t={placement:this._getPlacement(),modifiers:{offset:this._getOffset(),flip:{enabled:this._config.flip},preventOverflow:{boundariesElement:this._config.boundary}}};return"static"===this._config.display&&(t.modifiers.applyStyle={enabled:!1}),r({},t,this._config.popperConfig)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(K);if(n||(n=new t(this,"object"==typeof e?e:null),o.default(this).data(K,n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},t._clearMenus=function(e){if(!e||3!==e.which&&("keyup"!==e.type||9===e.which))for(var n=[].slice.call(document.querySelectorAll(it)),i=0,a=n.length;i<a;i++){var s=t._getParentFromElement(n[i]),l=o.default(n[i]).data(K),r={relatedTarget:n[i]};if(e&&"click"===e.type&&(r.clickEvent=e),l){var u=l._menu;if(o.default(s).hasClass(J)&&!(e&&("click"===e.type&&/input|textarea/i.test(e.target.tagName)||"keyup"===e.type&&9===e.which)&&o.default.contains(s,e.target))){var f=o.default.Event(Z,r);o.default(s).trigger(f),f.isDefaultPrevented()||("ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),n[i].setAttribute("aria-expanded","false"),l._popper&&l._popper.destroy(),o.default(u).removeClass(J),o.default(s).removeClass(J).trigger(o.default.Event(tt,r)))}}}},t._getParentFromElement=function(t){var e,n=d.getSelectorFromElement(t);return n&&(e=document.querySelector(n)),e||t.parentNode},t._dataApiKeydownHandler=function(e){if(!(/input|textarea/i.test(e.target.tagName)?32===e.which||27!==e.which&&(40!==e.which&&38!==e.which||o.default(e.target).closest(ot).length):!Y.test(e.which))&&!this.disabled&&!o.default(this).hasClass($)){var n=t._getParentFromElement(this),i=o.default(n).hasClass(J);if(i||27!==e.which){if(e.preventDefault(),e.stopPropagation(),!i||27===e.which||32===e.which)return 27===e.which&&o.default(n.querySelector(it)).trigger("focus"),void o.default(this).trigger("click");var a=[].slice.call(n.querySelectorAll(".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)")).filter((function(t){return o.default(t).is(":visible")}));if(0!==a.length){var s=a.indexOf(e.target);38===e.which&&s>0&&s--,40===e.which&&s<a.length-1&&s++,s<0&&(s=0),a[s].focus()}}}},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return at}},{key:"DefaultType",get:function(){return st}}]),t}();o.default(document).on(nt,it,lt._dataApiKeydownHandler).on(nt,ot,lt._dataApiKeydownHandler).on(et+" keyup.bs.dropdown.data-api",lt._clearMenus).on(et,it,(function(t){t.preventDefault(),t.stopPropagation(),lt._jQueryInterface.call(o.default(this),"toggle")})).on(et,".dropdown form",(function(t){t.stopPropagation()})),o.default.fn[z]=lt._jQueryInterface,o.default.fn[z].Constructor=lt,o.default.fn[z].noConflict=function(){return o.default.fn[z]=X,lt._jQueryInterface};var rt="bs.modal",ut=o.default.fn.modal,ft="modal-open",dt="fade",ct="show",ht="modal-static",gt="hidden.bs.modal",mt="show.bs.modal",pt="focusin.bs.modal",_t="resize.bs.modal",vt="click.dismiss.bs.modal",yt="keydown.dismiss.bs.modal",bt="mousedown.dismiss.bs.modal",Et=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",Tt={backdrop:!0,keyboard:!0,focus:!0,show:!0},wt={backdrop:"(boolean|string)",keyboard:"boolean",focus:"boolean",show:"boolean"},Ct=function(){function t(t,e){this._config=this._getConfig(e),this._element=t,this._dialog=t.querySelector(".modal-dialog"),this._backdrop=null,this._isShown=!1,this._isBodyOverflowing=!1,this._ignoreBackdropClick=!1,this._isTransitioning=!1,this._scrollbarWidth=0}var e=t.prototype;return e.toggle=function(t){return this._isShown?this.hide():this.show(t)},e.show=function(t){var e=this;if(!this._isShown&&!this._isTransitioning){var n=o.default.Event(mt,{relatedTarget:t});o.default(this._element).trigger(n),n.isDefaultPrevented()||(this._isShown=!0,o.default(this._element).hasClass(dt)&&(this._isTransitioning=!0),this._checkScrollbar(),this._setScrollbar(),this._adjustDialog(),this._setEscapeEvent(),this._setResizeEvent(),o.default(this._element).on(vt,'[data-dismiss="modal"]',(function(t){return e.hide(t)})),o.default(this._dialog).on(bt,(function(){o.default(e._element).one("mouseup.dismiss.bs.modal",(function(t){o.default(t.target).is(e._element)&&(e._ignoreBackdropClick=!0)}))})),this._showBackdrop((function(){return e._showElement(t)})))}},e.hide=function(t){var e=this;if(t&&t.preventDefault(),this._isShown&&!this._isTransitioning){var n=o.default.Event("hide.bs.modal");if(o.default(this._element).trigger(n),this._isShown&&!n.isDefaultPrevented()){this._isShown=!1;var i=o.default(this._element).hasClass(dt);if(i&&(this._isTransitioning=!0),this._setEscapeEvent(),this._setResizeEvent(),o.default(document).off(pt),o.default(this._element).removeClass(ct),o.default(this._element).off(vt),o.default(this._dialog).off(bt),i){var a=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,(function(t){return e._hideModal(t)})).emulateTransitionEnd(a)}else this._hideModal()}}},e.dispose=function(){[window,this._element,this._dialog].forEach((function(t){return o.default(t).off(".bs.modal")})),o.default(document).off(pt),o.default.removeData(this._element,rt),this._config=null,this._element=null,this._dialog=null,this._backdrop=null,this._isShown=null,this._isBodyOverflowing=null,this._ignoreBackdropClick=null,this._isTransitioning=null,this._scrollbarWidth=null},e.handleUpdate=function(){this._adjustDialog()},e._getConfig=function(t){return t=r({},Tt,t),d.typeCheckConfig("modal",t,wt),t},e._triggerBackdropTransition=function(){var t=this,e=o.default.Event("hidePrevented.bs.modal");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){var n=this._element.scrollHeight>document.documentElement.clientHeight;n||(this._element.style.overflowY="hidden"),this._element.classList.add(ht);var i=d.getTransitionDurationFromElement(this._dialog);o.default(this._element).off(d.TRANSITION_END),o.default(this._element).one(d.TRANSITION_END,(function(){t._element.classList.remove(ht),n||o.default(t._element).one(d.TRANSITION_END,(function(){t._element.style.overflowY=""})).emulateTransitionEnd(t._element,i)})).emulateTransitionEnd(i),this._element.focus()}},e._showElement=function(t){var e=this,n=o.default(this._element).hasClass(dt),i=this._dialog?this._dialog.querySelector(".modal-body"):null;this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE||document.body.appendChild(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),o.default(this._dialog).hasClass("modal-dialog-scrollable")&&i?i.scrollTop=0:this._element.scrollTop=0,n&&d.reflow(this._element),o.default(this._element).addClass(ct),this._config.focus&&this._enforceFocus();var a=o.default.Event("shown.bs.modal",{relatedTarget:t}),s=function(){e._config.focus&&e._element.focus(),e._isTransitioning=!1,o.default(e._element).trigger(a)};if(n){var l=d.getTransitionDurationFromElement(this._dialog);o.default(this._dialog).one(d.TRANSITION_END,s).emulateTransitionEnd(l)}else s()},e._enforceFocus=function(){var t=this;o.default(document).off(pt).on(pt,(function(e){document!==e.target&&t._element!==e.target&&0===o.default(t._element).has(e.target).length&&t._element.focus()}))},e._setEscapeEvent=function(){var t=this;this._isShown?o.default(this._element).on(yt,(function(e){t._config.keyboard&&27===e.which?(e.preventDefault(),t.hide()):t._config.keyboard||27!==e.which||t._triggerBackdropTransition()})):this._isShown||o.default(this._element).off(yt)},e._setResizeEvent=function(){var t=this;this._isShown?o.default(window).on(_t,(function(e){return t.handleUpdate(e)})):o.default(window).off(_t)},e._hideModal=function(){var t=this;this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._showBackdrop((function(){o.default(document.body).removeClass(ft),t._resetAdjustments(),t._resetScrollbar(),o.default(t._element).trigger(gt)}))},e._removeBackdrop=function(){this._backdrop&&(o.default(this._backdrop).remove(),this._backdrop=null)},e._showBackdrop=function(t){var e=this,n=o.default(this._element).hasClass(dt)?dt:"";if(this._isShown&&this._config.backdrop){if(this._backdrop=document.createElement("div"),this._backdrop.className="modal-backdrop",n&&this._backdrop.classList.add(n),o.default(this._backdrop).appendTo(document.body),o.default(this._element).on(vt,(function(t){e._ignoreBackdropClick?e._ignoreBackdropClick=!1:t.target===t.currentTarget&&("static"===e._config.backdrop?e._triggerBackdropTransition():e.hide())})),n&&d.reflow(this._backdrop),o.default(this._backdrop).addClass(ct),!t)return;if(!n)return void t();var i=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,t).emulateTransitionEnd(i)}else if(!this._isShown&&this._backdrop){o.default(this._backdrop).removeClass(ct);var a=function(){e._removeBackdrop(),t&&t()};if(o.default(this._element).hasClass(dt)){var s=d.getTransitionDurationFromElement(this._backdrop);o.default(this._backdrop).one(d.TRANSITION_END,a).emulateTransitionEnd(s)}else a()}else t&&t()},e._adjustDialog=function(){var t=this._element.scrollHeight>document.documentElement.clientHeight;!this._isBodyOverflowing&&t&&(this._element.style.paddingLeft=this._scrollbarWidth+"px"),this._isBodyOverflowing&&!t&&(this._element.style.paddingRight=this._scrollbarWidth+"px")},e._resetAdjustments=function(){this._element.style.paddingLeft="",this._element.style.paddingRight=""},e._checkScrollbar=function(){var t=document.body.getBoundingClientRect();this._isBodyOverflowing=Math.round(t.left+t.right)<window.innerWidth,this._scrollbarWidth=this._getScrollbarWidth()},e._setScrollbar=function(){var t=this;if(this._isBodyOverflowing){var e=[].slice.call(document.querySelectorAll(Et)),n=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(e,n){var i=n.style.paddingRight,a=o.default(n).css("padding-right");o.default(n).data("padding-right",i).css("padding-right",parseFloat(a)+t._scrollbarWidth+"px")})),o.default(n).each((function(e,n){var i=n.style.marginRight,a=o.default(n).css("margin-right");o.default(n).data("margin-right",i).css("margin-right",parseFloat(a)-t._scrollbarWidth+"px")}));var i=document.body.style.paddingRight,a=o.default(document.body).css("padding-right");o.default(document.body).data("padding-right",i).css("padding-right",parseFloat(a)+this._scrollbarWidth+"px")}o.default(document.body).addClass(ft)},e._resetScrollbar=function(){var t=[].slice.call(document.querySelectorAll(Et));o.default(t).each((function(t,e){var n=o.default(e).data("padding-right");o.default(e).removeData("padding-right"),e.style.paddingRight=n||""}));var e=[].slice.call(document.querySelectorAll(".sticky-top"));o.default(e).each((function(t,e){var n=o.default(e).data("margin-right");"undefined"!=typeof n&&o.default(e).css("margin-right",n).removeData("margin-right")}));var n=o.default(document.body).data("padding-right");o.default(document.body).removeData("padding-right"),document.body.style.paddingRight=n||""},e._getScrollbarWidth=function(){var t=document.createElement("div");t.className="modal-scrollbar-measure",document.body.appendChild(t);var e=t.getBoundingClientRect().width-t.clientWidth;return document.body.removeChild(t),e},t._jQueryInterface=function(e,n){return this.each((function(){var i=o.default(this).data(rt),a=r({},Tt,o.default(this).data(),"object"==typeof e&&e?e:{});if(i||(i=new t(this,a),o.default(this).data(rt,i)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](n)}else a.show&&i.show(n)}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Tt}}]),t}();o.default(document).on("click.bs.modal.data-api",'[data-toggle="modal"]',(function(t){var e,n=this,i=d.getSelectorFromElement(this);i&&(e=document.querySelector(i));var a=o.default(e).data(rt)?"toggle":r({},o.default(e).data(),o.default(this).data());"A"!==this.tagName&&"AREA"!==this.tagName||t.preventDefault();var s=o.default(e).one(mt,(function(t){t.isDefaultPrevented()||s.one(gt,(function(){o.default(n).is(":visible")&&n.focus()}))}));Ct._jQueryInterface.call(o.default(e),a,this)})),o.default.fn.modal=Ct._jQueryInterface,o.default.fn.modal.Constructor=Ct,o.default.fn.modal.noConflict=function(){return o.default.fn.modal=ut,Ct._jQueryInterface};var St=["background","cite","href","itemtype","longdesc","poster","src","xlink:href"],Nt=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^#&/:?]*(?:[#/?]|$))/i,Dt=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[\d+/a-z]+=*$/i;function At(t,e,n){if(0===t.length)return t;if(n&&"function"==typeof n)return n(t);for(var i=(new window.DOMParser).parseFromString(t,"text/html"),o=Object.keys(e),a=[].slice.call(i.body.querySelectorAll("*")),s=function(t,n){var i=a[t],s=i.nodeName.toLowerCase();if(-1===o.indexOf(i.nodeName.toLowerCase()))return i.parentNode.removeChild(i),"continue";var l=[].slice.call(i.attributes),r=[].concat(e["*"]||[],e[s]||[]);l.forEach((function(t){(function(t,e){var n=t.nodeName.toLowerCase();if(-1!==e.indexOf(n))return-1===St.indexOf(n)||Boolean(Nt.test(t.nodeValue)||Dt.test(t.nodeValue));for(var i=e.filter((function(t){return t instanceof RegExp})),o=0,a=i.length;o<a;o++)if(i[o].test(n))return!0;return!1})(t,r)||i.removeAttribute(t.nodeName)}))},l=0,r=a.length;l<r;l++)s(l);return i.body.innerHTML}var It="tooltip",kt="bs.tooltip",Ot=o.default.fn.tooltip,jt=new RegExp("(^|\\s)bs-tooltip\\S+","g"),Pt=["sanitize","whiteList","sanitizeFn"],Lt="fade",Rt="show",xt="show",qt="out",Ft="hover",Qt="focus",Bt={AUTO:"auto",TOP:"top",RIGHT:"right",BOTTOM:"bottom",LEFT:"left"},Ht={animation:!0,template:'<div class="tooltip" role="tooltip"><div class="arrow"></div><div class="tooltip-inner"></div></div>',trigger:"hover focus",title:"",delay:0,html:!1,selector:!1,placement:"top",offset:0,container:!1,fallbackPlacement:"flip",boundary:"scrollParent",customClass:"",sanitize:!0,sanitizeFn:null,whiteList:{"*":["class","dir","id","lang","role",/^aria-[\w-]*$/i],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},popperConfig:null},Ut={animation:"boolean",template:"string",title:"(string|element|function)",trigger:"string",delay:"(number|object)",html:"boolean",selector:"(string|boolean)",placement:"(string|function)",offset:"(number|string|function)",container:"(string|element|boolean)",fallbackPlacement:"(string|array)",boundary:"(string|element)",customClass:"(string|function)",sanitize:"boolean",sanitizeFn:"(null|function)",whiteList:"object",popperConfig:"(null|object)"},Mt={HIDE:"hide.bs.tooltip",HIDDEN:"hidden.bs.tooltip",SHOW:"show.bs.tooltip",SHOWN:"shown.bs.tooltip",INSERTED:"inserted.bs.tooltip",CLICK:"click.bs.tooltip",FOCUSIN:"focusin.bs.tooltip",FOCUSOUT:"focusout.bs.tooltip",MOUSEENTER:"mouseenter.bs.tooltip",MOUSELEAVE:"mouseleave.bs.tooltip"},Wt=function(){function t(t,e){if("undefined"==typeof a.default)throw new TypeError("Bootstrap's tooltips require Popper (https://popper.js.org)");this._isEnabled=!0,this._timeout=0,this._hoverState="",this._activeTrigger={},this._popper=null,this.element=t,this.config=this._getConfig(e),this.tip=null,this._setListeners()}var e=t.prototype;return e.enable=function(){this._isEnabled=!0},e.disable=function(){this._isEnabled=!1},e.toggleEnabled=function(){this._isEnabled=!this._isEnabled},e.toggle=function(t){if(this._isEnabled)if(t){var e=this.constructor.DATA_KEY,n=o.default(t.currentTarget).data(e);n||(n=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(e,n)),n._activeTrigger.click=!n._activeTrigger.click,n._isWithActiveTrigger()?n._enter(null,n):n._leave(null,n)}else{if(o.default(this.getTipElement()).hasClass(Rt))return void this._leave(null,this);this._enter(null,this)}},e.dispose=function(){clearTimeout(this._timeout),o.default.removeData(this.element,this.constructor.DATA_KEY),o.default(this.element).off(this.constructor.EVENT_KEY),o.default(this.element).closest(".modal").off("hide.bs.modal",this._hideModalHandler),this.tip&&o.default(this.tip).remove(),this._isEnabled=null,this._timeout=null,this._hoverState=null,this._activeTrigger=null,this._popper&&this._popper.destroy(),this._popper=null,this.element=null,this.config=null,this.tip=null},e.show=function(){var t=this;if("none"===o.default(this.element).css("display"))throw new Error("Please use show on visible elements");var e=o.default.Event(this.constructor.Event.SHOW);if(this.isWithContent()&&this._isEnabled){o.default(this.element).trigger(e);var n=d.findShadowRoot(this.element),i=o.default.contains(null!==n?n:this.element.ownerDocument.documentElement,this.element);if(e.isDefaultPrevented()||!i)return;var s=this.getTipElement(),l=d.getUID(this.constructor.NAME);s.setAttribute("id",l),this.element.setAttribute("aria-describedby",l),this.setContent(),this.config.animation&&o.default(s).addClass(Lt);var r="function"==typeof this.config.placement?this.config.placement.call(this,s,this.element):this.config.placement,u=this._getAttachment(r);this.addAttachmentClass(u);var f=this._getContainer();o.default(s).data(this.constructor.DATA_KEY,this),o.default.contains(this.element.ownerDocument.documentElement,this.tip)||o.default(s).appendTo(f),o.default(this.element).trigger(this.constructor.Event.INSERTED),this._popper=new a.default(this.element,s,this._getPopperConfig(u)),o.default(s).addClass(Rt),o.default(s).addClass(this.config.customClass),"ontouchstart"in document.documentElement&&o.default(document.body).children().on("mouseover",null,o.default.noop);var c=function(){t.config.animation&&t._fixTransition();var e=t._hoverState;t._hoverState=null,o.default(t.element).trigger(t.constructor.Event.SHOWN),e===qt&&t._leave(null,t)};if(o.default(this.tip).hasClass(Lt)){var h=d.getTransitionDurationFromElement(this.tip);o.default(this.tip).one(d.TRANSITION_END,c).emulateTransitionEnd(h)}else c()}},e.hide=function(t){var e=this,n=this.getTipElement(),i=o.default.Event(this.constructor.Event.HIDE),a=function(){e._hoverState!==xt&&n.parentNode&&n.parentNode.removeChild(n),e._cleanTipClass(),e.element.removeAttribute("aria-describedby"),o.default(e.element).trigger(e.constructor.Event.HIDDEN),null!==e._popper&&e._popper.destroy(),t&&t()};if(o.default(this.element).trigger(i),!i.isDefaultPrevented()){if(o.default(n).removeClass(Rt),"ontouchstart"in document.documentElement&&o.default(document.body).children().off("mouseover",null,o.default.noop),this._activeTrigger.click=!1,this._activeTrigger.focus=!1,this._activeTrigger.hover=!1,o.default(this.tip).hasClass(Lt)){var s=d.getTransitionDurationFromElement(n);o.default(n).one(d.TRANSITION_END,a).emulateTransitionEnd(s)}else a();this._hoverState=""}},e.update=function(){null!==this._popper&&this._popper.scheduleUpdate()},e.isWithContent=function(){return Boolean(this.getTitle())},e.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-tooltip-"+t)},e.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},e.setContent=function(){var t=this.getTipElement();this.setElementContent(o.default(t.querySelectorAll(".tooltip-inner")),this.getTitle()),o.default(t).removeClass("fade show")},e.setElementContent=function(t,e){"object"!=typeof e||!e.nodeType&&!e.jquery?this.config.html?(this.config.sanitize&&(e=At(e,this.config.whiteList,this.config.sanitizeFn)),t.html(e)):t.text(e):this.config.html?o.default(e).parent().is(t)||t.empty().append(e):t.text(o.default(e).text())},e.getTitle=function(){var t=this.element.getAttribute("data-original-title");return t||(t="function"==typeof this.config.title?this.config.title.call(this.element):this.config.title),t},e._getPopperConfig=function(t){var e=this;return r({},{placement:t,modifiers:{offset:this._getOffset(),flip:{behavior:this.config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&e._handlePopperPlacementChange(t)},onUpdate:function(t){return e._handlePopperPlacementChange(t)}},this.config.popperConfig)},e._getOffset=function(){var t=this,e={};return"function"==typeof this.config.offset?e.fn=function(e){return e.offsets=r({},e.offsets,t.config.offset(e.offsets,t.element)),e}:e.offset=this.config.offset,e},e._getContainer=function(){return!1===this.config.container?document.body:d.isElement(this.config.container)?o.default(this.config.container):o.default(document).find(this.config.container)},e._getAttachment=function(t){return Bt[t.toUpperCase()]},e._setListeners=function(){var t=this;this.config.trigger.split(" ").forEach((function(e){if("click"===e)o.default(t.element).on(t.constructor.Event.CLICK,t.config.selector,(function(e){return t.toggle(e)}));else if("manual"!==e){var n=e===Ft?t.constructor.Event.MOUSEENTER:t.constructor.Event.FOCUSIN,i=e===Ft?t.constructor.Event.MOUSELEAVE:t.constructor.Event.FOCUSOUT;o.default(t.element).on(n,t.config.selector,(function(e){return t._enter(e)})).on(i,t.config.selector,(function(e){return t._leave(e)}))}})),this._hideModalHandler=function(){t.element&&t.hide()},o.default(this.element).closest(".modal").on("hide.bs.modal",this._hideModalHandler),this.config.selector?this.config=r({},this.config,{trigger:"manual",selector:""}):this._fixTitle()},e._fixTitle=function(){var t=typeof this.element.getAttribute("data-original-title");(this.element.getAttribute("title")||"string"!==t)&&(this.element.setAttribute("data-original-title",this.element.getAttribute("title")||""),this.element.setAttribute("title",""))},e._enter=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusin"===t.type?Qt:Ft]=!0),o.default(e.getTipElement()).hasClass(Rt)||e._hoverState===xt?e._hoverState=xt:(clearTimeout(e._timeout),e._hoverState=xt,e.config.delay&&e.config.delay.show?e._timeout=setTimeout((function(){e._hoverState===xt&&e.show()}),e.config.delay.show):e.show())},e._leave=function(t,e){var n=this.constructor.DATA_KEY;(e=e||o.default(t.currentTarget).data(n))||(e=new this.constructor(t.currentTarget,this._getDelegateConfig()),o.default(t.currentTarget).data(n,e)),t&&(e._activeTrigger["focusout"===t.type?Qt:Ft]=!1),e._isWithActiveTrigger()||(clearTimeout(e._timeout),e._hoverState=qt,e.config.delay&&e.config.delay.hide?e._timeout=setTimeout((function(){e._hoverState===qt&&e.hide()}),e.config.delay.hide):e.hide())},e._isWithActiveTrigger=function(){for(var t in this._activeTrigger)if(this._activeTrigger[t])return!0;return!1},e._getConfig=function(t){var e=o.default(this.element).data();return Object.keys(e).forEach((function(t){-1!==Pt.indexOf(t)&&delete e[t]})),"number"==typeof(t=r({},this.constructor.Default,e,"object"==typeof t&&t?t:{})).delay&&(t.delay={show:t.delay,hide:t.delay}),"number"==typeof t.title&&(t.title=t.title.toString()),"number"==typeof t.content&&(t.content=t.content.toString()),d.typeCheckConfig(It,t,this.constructor.DefaultType),t.sanitize&&(t.template=At(t.template,t.whiteList,t.sanitizeFn)),t},e._getDelegateConfig=function(){var t={};if(this.config)for(var e in this.config)this.constructor.Default[e]!==this.config[e]&&(t[e]=this.config[e]);return t},e._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(jt);null!==e&&e.length&&t.removeClass(e.join(""))},e._handlePopperPlacementChange=function(t){this.tip=t.instance.popper,this._cleanTipClass(),this.addAttachmentClass(this._getAttachment(t.placement))},e._fixTransition=function(){var t=this.getTipElement(),e=this.config.animation;null===t.getAttribute("x-placement")&&(o.default(t).removeClass(Lt),this.config.animation=!1,this.hide(),this.show(),this.config.animation=e)},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(kt),a="object"==typeof e&&e;if((i||!/dispose|hide/.test(e))&&(i||(i=new t(this,a),n.data(kt,i)),"string"==typeof e)){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Ht}},{key:"NAME",get:function(){return It}},{key:"DATA_KEY",get:function(){return kt}},{key:"Event",get:function(){return Mt}},{key:"EVENT_KEY",get:function(){return".bs.tooltip"}},{key:"DefaultType",get:function(){return Ut}}]),t}();o.default.fn.tooltip=Wt._jQueryInterface,o.default.fn.tooltip.Constructor=Wt,o.default.fn.tooltip.noConflict=function(){return o.default.fn.tooltip=Ot,Wt._jQueryInterface};var Vt="bs.popover",zt=o.default.fn.popover,Kt=new RegExp("(^|\\s)bs-popover\\S+","g"),Xt=r({},Wt.Default,{placement:"right",trigger:"click",content:"",template:'<div class="popover" role="tooltip"><div class="arrow"></div><h3 class="popover-header"></h3><div class="popover-body"></div></div>'}),Yt=r({},Wt.DefaultType,{content:"(string|element|function)"}),$t={HIDE:"hide.bs.popover",HIDDEN:"hidden.bs.popover",SHOW:"show.bs.popover",SHOWN:"shown.bs.popover",INSERTED:"inserted.bs.popover",CLICK:"click.bs.popover",FOCUSIN:"focusin.bs.popover",FOCUSOUT:"focusout.bs.popover",MOUSEENTER:"mouseenter.bs.popover",MOUSELEAVE:"mouseleave.bs.popover"},Jt=function(t){var e,n;function i(){return t.apply(this,arguments)||this}n=t,(e=i).prototype=Object.create(n.prototype),e.prototype.constructor=e,u(e,n);var a=i.prototype;return a.isWithContent=function(){return this.getTitle()||this._getContent()},a.addAttachmentClass=function(t){o.default(this.getTipElement()).addClass("bs-popover-"+t)},a.getTipElement=function(){return this.tip=this.tip||o.default(this.config.template)[0],this.tip},a.setContent=function(){var t=o.default(this.getTipElement());this.setElementContent(t.find(".popover-header"),this.getTitle());var e=this._getContent();"function"==typeof e&&(e=e.call(this.element)),this.setElementContent(t.find(".popover-body"),e),t.removeClass("fade show")},a._getContent=function(){return this.element.getAttribute("data-content")||this.config.content},a._cleanTipClass=function(){var t=o.default(this.getTipElement()),e=t.attr("class").match(Kt);null!==e&&e.length>0&&t.removeClass(e.join(""))},i._jQueryInterface=function(t){return this.each((function(){var e=o.default(this).data(Vt),n="object"==typeof t?t:null;if((e||!/dispose|hide/.test(t))&&(e||(e=new i(this,n),o.default(this).data(Vt,e)),"string"==typeof t)){if("undefined"==typeof e[t])throw new TypeError('No method named "'+t+'"');e[t]()}}))},l(i,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return Xt}},{key:"NAME",get:function(){return"popover"}},{key:"DATA_KEY",get:function(){return Vt}},{key:"Event",get:function(){return $t}},{key:"EVENT_KEY",get:function(){return".bs.popover"}},{key:"DefaultType",get:function(){return Yt}}]),i}(Wt);o.default.fn.popover=Jt._jQueryInterface,o.default.fn.popover.Constructor=Jt,o.default.fn.popover.noConflict=function(){return o.default.fn.popover=zt,Jt._jQueryInterface};var Gt="scrollspy",Zt="bs.scrollspy",te=o.default.fn[Gt],ee="active",ne="position",ie=".nav, .list-group",oe={offset:10,method:"auto",target:""},ae={offset:"number",method:"string",target:"(string|element)"},se=function(){function t(t,e){var n=this;this._element=t,this._scrollElement="BODY"===t.tagName?window:t,this._config=this._getConfig(e),this._selector=this._config.target+" .nav-link,"+this._config.target+" .list-group-item,"+this._config.target+" .dropdown-item",this._offsets=[],this._targets=[],this._activeTarget=null,this._scrollHeight=0,o.default(this._scrollElement).on("scroll.bs.scrollspy",(function(t){return n._process(t)})),this.refresh(),this._process()}var e=t.prototype;return e.refresh=function(){var t=this,e=this._scrollElement===this._scrollElement.window?"offset":ne,n="auto"===this._config.method?e:this._config.method,i=n===ne?this._getScrollTop():0;this._offsets=[],this._targets=[],this._scrollHeight=this._getScrollHeight(),[].slice.call(document.querySelectorAll(this._selector)).map((function(t){var e,a=d.getSelectorFromElement(t);if(a&&(e=document.querySelector(a)),e){var s=e.getBoundingClientRect();if(s.width||s.height)return[o.default(e)[n]().top+i,a]}return null})).filter((function(t){return t})).sort((function(t,e){return t[0]-e[0]})).forEach((function(e){t._offsets.push(e[0]),t._targets.push(e[1])}))},e.dispose=function(){o.default.removeData(this._element,Zt),o.default(this._scrollElement).off(".bs.scrollspy"),this._element=null,this._scrollElement=null,this._config=null,this._selector=null,this._offsets=null,this._targets=null,this._activeTarget=null,this._scrollHeight=null},e._getConfig=function(t){if("string"!=typeof(t=r({},oe,"object"==typeof t&&t?t:{})).target&&d.isElement(t.target)){var e=o.default(t.target).attr("id");e||(e=d.getUID(Gt),o.default(t.target).attr("id",e)),t.target="#"+e}return d.typeCheckConfig(Gt,t,ae),t},e._getScrollTop=function(){return this._scrollElement===window?this._scrollElement.pageYOffset:this._scrollElement.scrollTop},e._getScrollHeight=function(){return this._scrollElement.scrollHeight||Math.max(document.body.scrollHeight,document.documentElement.scrollHeight)},e._getOffsetHeight=function(){return this._scrollElement===window?window.innerHeight:this._scrollElement.getBoundingClientRect().height},e._process=function(){var t=this._getScrollTop()+this._config.offset,e=this._getScrollHeight(),n=this._config.offset+e-this._getOffsetHeight();if(this._scrollHeight!==e&&this.refresh(),t>=n){var i=this._targets[this._targets.length-1];this._activeTarget!==i&&this._activate(i)}else{if(this._activeTarget&&t<this._offsets[0]&&this._offsets[0]>0)return this._activeTarget=null,void this._clear();for(var o=this._offsets.length;o--;)this._activeTarget!==this._targets[o]&&t>=this._offsets[o]&&("undefined"==typeof this._offsets[o+1]||t<this._offsets[o+1])&&this._activate(this._targets[o])}},e._activate=function(t){this._activeTarget=t,this._clear();var e=this._selector.split(",").map((function(e){return e+'[data-target="'+t+'"],'+e+'[href="'+t+'"]'})),n=o.default([].slice.call(document.querySelectorAll(e.join(","))));n.hasClass("dropdown-item")?(n.closest(".dropdown").find(".dropdown-toggle").addClass(ee),n.addClass(ee)):(n.addClass(ee),n.parents(ie).prev(".nav-link, .list-group-item").addClass(ee),n.parents(ie).prev(".nav-item").children(".nav-link").addClass(ee)),o.default(this._scrollElement).trigger("activate.bs.scrollspy",{relatedTarget:t})},e._clear=function(){[].slice.call(document.querySelectorAll(this._selector)).filter((function(t){return t.classList.contains(ee)})).forEach((function(t){return t.classList.remove(ee)}))},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this).data(Zt);if(n||(n=new t(this,"object"==typeof e&&e),o.default(this).data(Zt,n)),"string"==typeof e){if("undefined"==typeof n[e])throw new TypeError('No method named "'+e+'"');n[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"Default",get:function(){return oe}}]),t}();o.default(window).on("load.bs.scrollspy.data-api",(function(){for(var t=[].slice.call(document.querySelectorAll('[data-spy="scroll"]')),e=t.length;e--;){var n=o.default(t[e]);se._jQueryInterface.call(n,n.data())}})),o.default.fn[Gt]=se._jQueryInterface,o.default.fn[Gt].Constructor=se,o.default.fn[Gt].noConflict=function(){return o.default.fn[Gt]=te,se._jQueryInterface};var le="bs.tab",re=o.default.fn.tab,ue="active",fe="fade",de="show",ce=".active",he="> li > .active",ge=function(){function t(t){this._element=t}var e=t.prototype;return e.show=function(){var t=this;if(!(this._element.parentNode&&this._element.parentNode.nodeType===Node.ELEMENT_NODE&&o.default(this._element).hasClass(ue)||o.default(this._element).hasClass("disabled"))){var e,n,i=o.default(this._element).closest(".nav, .list-group")[0],a=d.getSelectorFromElement(this._element);if(i){var s="UL"===i.nodeName||"OL"===i.nodeName?he:ce;n=(n=o.default.makeArray(o.default(i).find(s)))[n.length-1]}var l=o.default.Event("hide.bs.tab",{relatedTarget:this._element}),r=o.default.Event("show.bs.tab",{relatedTarget:n});if(n&&o.default(n).trigger(l),o.default(this._element).trigger(r),!r.isDefaultPrevented()&&!l.isDefaultPrevented()){a&&(e=document.querySelector(a)),this._activate(this._element,i);var u=function(){var e=o.default.Event("hidden.bs.tab",{relatedTarget:t._element}),i=o.default.Event("shown.bs.tab",{relatedTarget:n});o.default(n).trigger(e),o.default(t._element).trigger(i)};e?this._activate(e,e.parentNode,u):u()}}},e.dispose=function(){o.default.removeData(this._element,le),this._element=null},e._activate=function(t,e,n){var i=this,a=(!e||"UL"!==e.nodeName&&"OL"!==e.nodeName?o.default(e).children(ce):o.default(e).find(he))[0],s=n&&a&&o.default(a).hasClass(fe),l=function(){return i._transitionComplete(t,a,n)};if(a&&s){var r=d.getTransitionDurationFromElement(a);o.default(a).removeClass(de).one(d.TRANSITION_END,l).emulateTransitionEnd(r)}else l()},e._transitionComplete=function(t,e,n){if(e){o.default(e).removeClass(ue);var i=o.default(e.parentNode).find("> .dropdown-menu .active")[0];i&&o.default(i).removeClass(ue),"tab"===e.getAttribute("role")&&e.setAttribute("aria-selected",!1)}o.default(t).addClass(ue),"tab"===t.getAttribute("role")&&t.setAttribute("aria-selected",!0),d.reflow(t),t.classList.contains(fe)&&t.classList.add(de);var a=t.parentNode;if(a&&"LI"===a.nodeName&&(a=a.parentNode),a&&o.default(a).hasClass("dropdown-menu")){var s=o.default(t).closest(".dropdown")[0];if(s){var l=[].slice.call(s.querySelectorAll(".dropdown-toggle"));o.default(l).addClass(ue)}t.setAttribute("aria-expanded",!0)}n&&n()},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(le);if(i||(i=new t(this),n.data(le,i)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e]()}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}}]),t}();o.default(document).on("click.bs.tab.data-api",'[data-toggle="tab"], [data-toggle="pill"], [data-toggle="list"]',(function(t){t.preventDefault(),ge._jQueryInterface.call(o.default(this),"show")})),o.default.fn.tab=ge._jQueryInterface,o.default.fn.tab.Constructor=ge,o.default.fn.tab.noConflict=function(){return o.default.fn.tab=re,ge._jQueryInterface};var me="bs.toast",pe=o.default.fn.toast,_e="hide",ve="show",ye="showing",be="click.dismiss.bs.toast",Ee={animation:!0,autohide:!0,delay:500},Te={animation:"boolean",autohide:"boolean",delay:"number"},we=function(){function t(t,e){this._element=t,this._config=this._getConfig(e),this._timeout=null,this._setListeners()}var e=t.prototype;return e.show=function(){var t=this,e=o.default.Event("show.bs.toast");if(o.default(this._element).trigger(e),!e.isDefaultPrevented()){this._clearTimeout(),this._config.animation&&this._element.classList.add("fade");var n=function(){t._element.classList.remove(ye),t._element.classList.add(ve),o.default(t._element).trigger("shown.bs.toast"),t._config.autohide&&(t._timeout=setTimeout((function(){t.hide()}),t._config.delay))};if(this._element.classList.remove(_e),d.reflow(this._element),this._element.classList.add(ye),this._config.animation){var i=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,n).emulateTransitionEnd(i)}else n()}},e.hide=function(){if(this._element.classList.contains(ve)){var t=o.default.Event("hide.bs.toast");o.default(this._element).trigger(t),t.isDefaultPrevented()||this._close()}},e.dispose=function(){this._clearTimeout(),this._element.classList.contains(ve)&&this._element.classList.remove(ve),o.default(this._element).off(be),o.default.removeData(this._element,me),this._element=null,this._config=null},e._getConfig=function(t){return t=r({},Ee,o.default(this._element).data(),"object"==typeof t&&t?t:{}),d.typeCheckConfig("toast",t,this.constructor.DefaultType),t},e._setListeners=function(){var t=this;o.default(this._element).on(be,'[data-dismiss="toast"]',(function(){return t.hide()}))},e._close=function(){var t=this,e=function(){t._element.classList.add(_e),o.default(t._element).trigger("hidden.bs.toast")};if(this._element.classList.remove(ve),this._config.animation){var n=d.getTransitionDurationFromElement(this._element);o.default(this._element).one(d.TRANSITION_END,e).emulateTransitionEnd(n)}else e()},e._clearTimeout=function(){clearTimeout(this._timeout),this._timeout=null},t._jQueryInterface=function(e){return this.each((function(){var n=o.default(this),i=n.data(me);if(i||(i=new t(this,"object"==typeof e&&e),n.data(me,i)),"string"==typeof e){if("undefined"==typeof i[e])throw new TypeError('No method named "'+e+'"');i[e](this)}}))},l(t,null,[{key:"VERSION",get:function(){return"4.6.1"}},{key:"DefaultType",get:function(){return Te}},{key:"Default",get:function(){return Ee}}]),t}();o.default.fn.toast=we._jQueryInterface,o.default.fn.toast.Constructor=we,o.default.fn.toast.noConflict=function(){return o.default.fn.toast=pe,we._jQueryInterface},t.Alert=g,t.Button=E,t.Carousel=P,t.Collapse=V,t.Dropdown=lt,t.Modal=Ct,t.Popover=Jt,t.Scrollspy=se,t.Tab=ge,t.Toast=we,t.Tooltip=Wt,t.Util=d,Object.defineProperty(t,"__esModule",{value:!0})}));
7
+ //# sourceMappingURL=bootstrap.min.js.map
js/formidable_admin.js CHANGED
@@ -1243,8 +1243,8 @@ function frmAdminBuildJS() {
1243
  trigger.innerHTML = '<span><svg class="frmsvg"><use xlink:href="#frm_thick_more_vert_icon"></use></svg></span>';
1244
  dropdown.appendChild( trigger );
1245
 
1246
- ul = document.createElement( 'ul' );
1247
- ul.classList.add( 'frm-dropdown-menu' );
1248
  ul.setAttribute( 'role', 'menu' );
1249
  dropdown.appendChild( ul );
1250
 
@@ -1991,7 +1991,7 @@ function frmAdminBuildJS() {
1991
  setTimeout(
1992
  function() {
1993
  var ul, $ul;
1994
- ul = document.querySelector( '.dropdown.open ul' );
1995
  if ( null === ul ) {
1996
  return;
1997
  }
@@ -2030,8 +2030,8 @@ function frmAdminBuildJS() {
2030
  options.forEach(
2031
  function( option ) {
2032
  var li, anchor, span;
2033
- li = document.createElement( 'li' );
2034
- li.classList.add( 'frm_dropdown_li', 'frm_more_options_li' );
2035
 
2036
  anchor = document.createElement( 'a' );
2037
  anchor.classList.add( option.class + classSuffix );
@@ -7602,16 +7602,6 @@ function frmAdminBuildJS() {
7602
  }
7603
  }
7604
 
7605
- function multiselectAccessibility() {
7606
- jQuery( '.multiselect-container' ).find( 'input[type="checkbox"]' ).each( function() {
7607
- var checkbox = jQuery( this );
7608
- checkbox.closest( 'a' ).attr(
7609
- 'aria-describedby',
7610
- checkbox.is( ':checked' ) ? 'frm_press_space_checked' : 'frm_press_space_unchecked'
7611
- );
7612
- });
7613
- }
7614
-
7615
  function initiateMultiselect() {
7616
  jQuery( '.frm_multiselect' ).hide().each( function() {
7617
  var $select = jQuery( this ),
@@ -7635,11 +7625,8 @@ function frmAdminBuildJS() {
7635
  }
7636
  });
7637
  }
7638
-
7639
- multiselectAccessibility();
7640
  },
7641
  onChange: function( element, option ) {
7642
- multiselectAccessibility();
7643
  $select.trigger( 'frm-multiselect-changed', element, option );
7644
  }
7645
  });
@@ -8027,7 +8014,7 @@ function frmAdminBuildJS() {
8027
  .closest( '.accordion-section' ).css( 'z-index', 1 );
8028
  });
8029
 
8030
- jQuery( document ).on( 'click', '#frm_new_form_modal #frm-template-drop + ul .frm-build-template', function() {
8031
  var name = this.getAttribute( 'data-fullname' ),
8032
  link = this.getAttribute( 'data-formid' ),
8033
  action = 'frm_build_template';
@@ -8326,7 +8313,7 @@ function frmAdminBuildJS() {
8326
  } else {
8327
  const previewDrop = document.getElementById( 'frm-previewDrop' );
8328
  if ( previewDrop ) {
8329
- formKey = previewDrop.nextElementSibling.querySelector( 'li a' ).getAttribute( 'href' ).split( 'form=' )[1];
8330
  }
8331
  }
8332
  }
@@ -9456,7 +9443,7 @@ function frmAdminBuildJS() {
9456
  clickTab( jQuery( '.starttab a' ), 'auto' );
9457
 
9458
  // submit the search form with dropdown
9459
- jQuery( '#frm-fid-search-menu a' ).on( 'click', function() {
9460
  var val = this.id.replace( 'fid-', '' );
9461
  jQuery( 'select[name="fid"]' ).val( val );
9462
  triggerSubmit( document.getElementById( 'posts-filter' ) );
@@ -10013,16 +10000,24 @@ function frmAdminBuildJS() {
10013
  }
10014
  });
10015
 
10016
- jQuery( '.multiselect-container.frm-dropdown-menu li a' ).on( 'click', function() {
10017
- var radio = this.children[0].children[0];
10018
- var btnGrp = jQuery( this ).closest( '.btn-group' );
10019
- var btnId = btnGrp.attr( 'id' );
10020
- document.getElementById( btnId.replace( '_select', '' ) ).value = radio.value;
10021
- btnGrp.children( 'button' ).html( radio.nextElementSibling.innerHTML + ' <b class="caret"></b>' );
 
 
 
 
 
 
 
 
 
 
10022
 
10023
- // set active class
10024
- btnGrp.find( 'li.active' ).removeClass( 'active' );
10025
- jQuery( this ).closest( 'li' ).addClass( 'active' );
10026
  });
10027
 
10028
  jQuery( '#frm_confirm_modal' ).on( 'click', '[data-resetstyle]', function( e ) {
@@ -10200,8 +10195,72 @@ function frmAdminBuildJS() {
10200
 
10201
  frmAdminBuild = frmAdminBuildJS();
10202
 
10203
- jQuery( document ).ready( function( $ ) {
10204
  frmAdminBuild.init();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10205
  });
10206
 
10207
  function frm_remove_tag( htmlTag ) { // eslint-disable-line camelcase
1243
  trigger.innerHTML = '<span><svg class="frmsvg"><use xlink:href="#frm_thick_more_vert_icon"></use></svg></span>';
1244
  dropdown.appendChild( trigger );
1245
 
1246
+ ul = document.createElement( 'div' );
1247
+ ul.classList.add( 'frm-dropdown-menu', 'dropdown-menu' );
1248
  ul.setAttribute( 'role', 'menu' );
1249
  dropdown.appendChild( ul );
1250
 
1991
  setTimeout(
1992
  function() {
1993
  var ul, $ul;
1994
+ ul = document.querySelector( '.dropdown.show .frm-dropdown-menu' );
1995
  if ( null === ul ) {
1996
  return;
1997
  }
2030
  options.forEach(
2031
  function( option ) {
2032
  var li, anchor, span;
2033
+ li = document.createElement( 'div' );
2034
+ li.classList.add( 'frm_dropdown_li', 'frm_more_options_li', 'dropdown-item' );
2035
 
2036
  anchor = document.createElement( 'a' );
2037
  anchor.classList.add( option.class + classSuffix );
7602
  }
7603
  }
7604
 
 
 
 
 
 
 
 
 
 
 
7605
  function initiateMultiselect() {
7606
  jQuery( '.frm_multiselect' ).hide().each( function() {
7607
  var $select = jQuery( this ),
7625
  }
7626
  });
7627
  }
 
 
7628
  },
7629
  onChange: function( element, option ) {
 
7630
  $select.trigger( 'frm-multiselect-changed', element, option );
7631
  }
7632
  });
8014
  .closest( '.accordion-section' ).css( 'z-index', 1 );
8015
  });
8016
 
8017
+ jQuery( document ).on( 'click', '#frm_new_form_modal #frm-template-drop + .frm-dropdown-menu .frm-build-template', function() {
8018
  var name = this.getAttribute( 'data-fullname' ),
8019
  link = this.getAttribute( 'data-formid' ),
8020
  action = 'frm_build_template';
8313
  } else {
8314
  const previewDrop = document.getElementById( 'frm-previewDrop' );
8315
  if ( previewDrop ) {
8316
+ formKey = previewDrop.nextElementSibling.querySelector( '.dropdown-item a' ).getAttribute( 'href' ).split( 'form=' )[1];
8317
  }
8318
  }
8319
  }
9443
  clickTab( jQuery( '.starttab a' ), 'auto' );
9444
 
9445
  // submit the search form with dropdown
9446
+ jQuery( document ).on( 'click', '#frm-fid-search-menu a', function() {
9447
  var val = this.id.replace( 'fid-', '' );
9448
  jQuery( 'select[name="fid"]' ).val( val );
9449
  triggerSubmit( document.getElementById( 'posts-filter' ) );
10000
  }
10001
  });
10002
 
10003
+ jQuery( document ).on( 'change', '.frm-dropdown-menu input[type="radio"]', function() {
10004
+ const radio = this;
10005
+ const btnGrp = this.closest( '.btn-group' );
10006
+ const btnId = btnGrp.getAttribute( 'id' );
10007
+
10008
+ const select = document.getElementById( btnId.replace( '_select', '' ) );
10009
+ if ( select ) {
10010
+ select.value = radio.value;
10011
+ }
10012
+
10013
+ jQuery( btnGrp ).children( 'button' ).html( radio.nextElementSibling.innerHTML + ' <b class="caret"></b>' );
10014
+
10015
+ const activeItem = btnGrp.querySelector( '.dropdown-item.active' );
10016
+ if ( activeItem ) {
10017
+ activeItem.classList.remove( 'active' );
10018
+ }
10019
 
10020
+ this.closest( '.dropdown-item' ).classList.add( 'active' );
 
 
10021
  });
10022
 
10023
  jQuery( '#frm_confirm_modal' ).on( 'click', '[data-resetstyle]', function( e ) {
10195
 
10196
  frmAdminBuild = frmAdminBuildJS();
10197
 
10198
+ jQuery( document ).ready( function() {
10199
  frmAdminBuild.init();
10200
+
10201
+ updateDropdownsForBootstrap4();
10202
+ function updateDropdownsForBootstrap4() {
10203
+ if ( ! bootstrap || ! bootstrap.Dropdown ) {
10204
+ return;
10205
+ }
10206
+
10207
+ bootstrap.Dropdown._getParentFromElement = getParentFromElement;
10208
+ bootstrap.Dropdown.prototype._getParentFromElement = getParentFromElement;
10209
+
10210
+ function getParentFromElement( element ) {
10211
+ let parent;
10212
+ const selector = bootstrap.Util.getSelectorFromElement( element );
10213
+
10214
+ if ( selector ) {
10215
+ parent = document.querySelector( selector );
10216
+ }
10217
+
10218
+ const result = parent || element.parentNode;
10219
+ const frmDropdownMenu = result.querySelector( '.frm-dropdown-menu' );
10220
+
10221
+ if ( ! frmDropdownMenu ) {
10222
+ // Not a formidable dropdown, treat like Bootstrap does normally.
10223
+ return result;
10224
+ }
10225
+
10226
+ // Temporarily add dropdown-menu class so bootstrap can initialize.
10227
+ frmDropdownMenu.classList.add( 'dropdown-menu' );
10228
+
10229
+ const toggle = result.querySelector( '.frm-dropdown-toggle' );
10230
+ if ( toggle ) {
10231
+ if ( ! toggle.hasAttribute( 'role' ) ) {
10232
+ toggle.setAttribute( 'role', 'button' );
10233
+ }
10234
+ if ( ! toggle.hasAttribute( 'tabindex' ) ) {
10235
+ toggle.setAttribute( 'tabindex', 0 );
10236
+ }
10237
+ }
10238
+
10239
+ // Convert <li> and <ul> tags.
10240
+ if ( 'UL' === frmDropdownMenu.tagName ) {
10241
+ convertBootstrapUl( frmDropdownMenu );
10242
+ }
10243
+
10244
+ setTimeout(
10245
+ function() {
10246
+ frmDropdownMenu.classList.remove( 'dropdown-menu' );
10247
+ },
10248
+ 0
10249
+ );
10250
+
10251
+ return result;
10252
+ }
10253
+
10254
+ function convertBootstrapUl( ul ) {
10255
+ let html = ul.outerHTML;
10256
+ html = html.replace( '<ul ', '<div ' );
10257
+ html = html.replace( '</ul>', '</div>' );
10258
+ html = html.replaceAll( '<li>', '<div class="dropdown-item">' );
10259
+ html = html.replaceAll( '<li class="', '<div class="dropdown-item ' );
10260
+ html = html.replaceAll( '</li>', '</div>' );
10261
+ ul.outerHTML = html;
10262
+ }
10263
+ }
10264
  });
10265
 
10266
  function frm_remove_tag( htmlTag ) { // eslint-disable-line camelcase
js/popper.min.js ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /*
2
+ Copyright (C) Federico Zivolo 2019
3
+ Distributed under the MIT License (license terms are at http://opensource.org/licenses/MIT).
4
+ */(function(e,t){'object'==typeof exports&&'undefined'!=typeof module?module.exports=t():'function'==typeof define&&define.amd?define(t):e.Popper=t()})(this,function(){'use strict';function e(e){return e&&'[object Function]'==={}.toString.call(e)}function t(e,t){if(1!==e.nodeType)return[];var o=e.ownerDocument.defaultView,n=o.getComputedStyle(e,null);return t?n[t]:n}function o(e){return'HTML'===e.nodeName?e:e.parentNode||e.host}function n(e){if(!e)return document.body;switch(e.nodeName){case'HTML':case'BODY':return e.ownerDocument.body;case'#document':return e.body;}var i=t(e),r=i.overflow,p=i.overflowX,s=i.overflowY;return /(auto|scroll|overlay)/.test(r+s+p)?e:n(o(e))}function i(e){return e&&e.referenceNode?e.referenceNode:e}function r(e){return 11===e?re:10===e?pe:re||pe}function p(e){if(!e)return document.documentElement;for(var o=r(10)?document.body:null,n=e.offsetParent||null;n===o&&e.nextElementSibling;)n=(e=e.nextElementSibling).offsetParent;var i=n&&n.nodeName;return i&&'BODY'!==i&&'HTML'!==i?-1!==['TH','TD','TABLE'].indexOf(n.nodeName)&&'static'===t(n,'position')?p(n):n:e?e.ownerDocument.documentElement:document.documentElement}function s(e){var t=e.nodeName;return'BODY'!==t&&('HTML'===t||p(e.firstElementChild)===e)}function d(e){return null===e.parentNode?e:d(e.parentNode)}function a(e,t){if(!e||!e.nodeType||!t||!t.nodeType)return document.documentElement;var o=e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_FOLLOWING,n=o?e:t,i=o?t:e,r=document.createRange();r.setStart(n,0),r.setEnd(i,0);var l=r.commonAncestorContainer;if(e!==l&&t!==l||n.contains(i))return s(l)?l:p(l);var f=d(e);return f.host?a(f.host,t):a(e,d(t).host)}function l(e){var t=1<arguments.length&&void 0!==arguments[1]?arguments[1]:'top',o='top'===t?'scrollTop':'scrollLeft',n=e.nodeName;if('BODY'===n||'HTML'===n){var i=e.ownerDocument.documentElement,r=e.ownerDocument.scrollingElement||i;return r[o]}return e[o]}function f(e,t){var o=2<arguments.length&&void 0!==arguments[2]&&arguments[2],n=l(t,'top'),i=l(t,'left'),r=o?-1:1;return e.top+=n*r,e.bottom+=n*r,e.left+=i*r,e.right+=i*r,e}function m(e,t){var o='x'===t?'Left':'Top',n='Left'==o?'Right':'Bottom';return parseFloat(e['border'+o+'Width'],10)+parseFloat(e['border'+n+'Width'],10)}function h(e,t,o,n){return ee(t['offset'+e],t['scroll'+e],o['client'+e],o['offset'+e],o['scroll'+e],r(10)?parseInt(o['offset'+e])+parseInt(n['margin'+('Height'===e?'Top':'Left')])+parseInt(n['margin'+('Height'===e?'Bottom':'Right')]):0)}function c(e){var t=e.body,o=e.documentElement,n=r(10)&&getComputedStyle(o);return{height:h('Height',t,o,n),width:h('Width',t,o,n)}}function g(e){return le({},e,{right:e.left+e.width,bottom:e.top+e.height})}function u(e){var o={};try{if(r(10)){o=e.getBoundingClientRect();var n=l(e,'top'),i=l(e,'left');o.top+=n,o.left+=i,o.bottom+=n,o.right+=i}else o=e.getBoundingClientRect()}catch(t){}var p={left:o.left,top:o.top,width:o.right-o.left,height:o.bottom-o.top},s='HTML'===e.nodeName?c(e.ownerDocument):{},d=s.width||e.clientWidth||p.width,a=s.height||e.clientHeight||p.height,f=e.offsetWidth-d,h=e.offsetHeight-a;if(f||h){var u=t(e);f-=m(u,'x'),h-=m(u,'y'),p.width-=f,p.height-=h}return g(p)}function b(e,o){var i=2<arguments.length&&void 0!==arguments[2]&&arguments[2],p=r(10),s='HTML'===o.nodeName,d=u(e),a=u(o),l=n(e),m=t(o),h=parseFloat(m.borderTopWidth,10),c=parseFloat(m.borderLeftWidth,10);i&&s&&(a.top=ee(a.top,0),a.left=ee(a.left,0));var b=g({top:d.top-a.top-h,left:d.left-a.left-c,width:d.width,height:d.height});if(b.marginTop=0,b.marginLeft=0,!p&&s){var w=parseFloat(m.marginTop,10),y=parseFloat(m.marginLeft,10);b.top-=h-w,b.bottom-=h-w,b.left-=c-y,b.right-=c-y,b.marginTop=w,b.marginLeft=y}return(p&&!i?o.contains(l):o===l&&'BODY'!==l.nodeName)&&(b=f(b,o)),b}function w(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=e.ownerDocument.documentElement,n=b(e,o),i=ee(o.clientWidth,window.innerWidth||0),r=ee(o.clientHeight,window.innerHeight||0),p=t?0:l(o),s=t?0:l(o,'left'),d={top:p-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:r};return g(d)}function y(e){var n=e.nodeName;if('BODY'===n||'HTML'===n)return!1;if('fixed'===t(e,'position'))return!0;var i=o(e);return!!i&&y(i)}function E(e){if(!e||!e.parentElement||r())return document.documentElement;for(var o=e.parentElement;o&&'none'===t(o,'transform');)o=o.parentElement;return o||document.documentElement}function v(e,t,r,p){var s=4<arguments.length&&void 0!==arguments[4]&&arguments[4],d={top:0,left:0},l=s?E(e):a(e,i(t));if('viewport'===p)d=w(l,s);else{var f;'scrollParent'===p?(f=n(o(t)),'BODY'===f.nodeName&&(f=e.ownerDocument.documentElement)):'window'===p?f=e.ownerDocument.documentElement:f=p;var m=b(f,l,s);if('HTML'===f.nodeName&&!y(l)){var h=c(e.ownerDocument),g=h.height,u=h.width;d.top+=m.top-m.marginTop,d.bottom=g+m.top,d.left+=m.left-m.marginLeft,d.right=u+m.left}else d=m}r=r||0;var v='number'==typeof r;return d.left+=v?r:r.left||0,d.top+=v?r:r.top||0,d.right-=v?r:r.right||0,d.bottom-=v?r:r.bottom||0,d}function x(e){var t=e.width,o=e.height;return t*o}function O(e,t,o,n,i){var r=5<arguments.length&&void 0!==arguments[5]?arguments[5]:0;if(-1===e.indexOf('auto'))return e;var p=v(o,n,r,i),s={top:{width:p.width,height:t.top-p.top},right:{width:p.right-t.right,height:p.height},bottom:{width:p.width,height:p.bottom-t.bottom},left:{width:t.left-p.left,height:p.height}},d=Object.keys(s).map(function(e){return le({key:e},s[e],{area:x(s[e])})}).sort(function(e,t){return t.area-e.area}),a=d.filter(function(e){var t=e.width,n=e.height;return t>=o.clientWidth&&n>=o.clientHeight}),l=0<a.length?a[0].key:d[0].key,f=e.split('-')[1];return l+(f?'-'+f:'')}function L(e,t,o){var n=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null,r=n?E(t):a(t,i(o));return b(o,r,n)}function S(e){var t=e.ownerDocument.defaultView,o=t.getComputedStyle(e),n=parseFloat(o.marginTop||0)+parseFloat(o.marginBottom||0),i=parseFloat(o.marginLeft||0)+parseFloat(o.marginRight||0),r={width:e.offsetWidth+i,height:e.offsetHeight+n};return r}function T(e){var t={left:'right',right:'left',bottom:'top',top:'bottom'};return e.replace(/left|right|bottom|top/g,function(e){return t[e]})}function C(e,t,o){o=o.split('-')[0];var n=S(e),i={width:n.width,height:n.height},r=-1!==['right','left'].indexOf(o),p=r?'top':'left',s=r?'left':'top',d=r?'height':'width',a=r?'width':'height';return i[p]=t[p]+t[d]/2-n[d]/2,i[s]=o===s?t[s]-n[a]:t[T(s)],i}function D(e,t){return Array.prototype.find?e.find(t):e.filter(t)[0]}function N(e,t,o){if(Array.prototype.findIndex)return e.findIndex(function(e){return e[t]===o});var n=D(e,function(e){return e[t]===o});return e.indexOf(n)}function P(t,o,n){var i=void 0===n?t:t.slice(0,N(t,'name',n));return i.forEach(function(t){t['function']&&console.warn('`modifier.function` is deprecated, use `modifier.fn`!');var n=t['function']||t.fn;t.enabled&&e(n)&&(o.offsets.popper=g(o.offsets.popper),o.offsets.reference=g(o.offsets.reference),o=n(o,t))}),o}function k(){if(!this.state.isDestroyed){var e={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};e.offsets.reference=L(this.state,this.popper,this.reference,this.options.positionFixed),e.placement=O(this.options.placement,e.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),e.originalPlacement=e.placement,e.positionFixed=this.options.positionFixed,e.offsets.popper=C(this.popper,e.offsets.reference,e.placement),e.offsets.popper.position=this.options.positionFixed?'fixed':'absolute',e=P(this.modifiers,e),this.state.isCreated?this.options.onUpdate(e):(this.state.isCreated=!0,this.options.onCreate(e))}}function W(e,t){return e.some(function(e){var o=e.name,n=e.enabled;return n&&o===t})}function B(e){for(var t=[!1,'ms','Webkit','Moz','O'],o=e.charAt(0).toUpperCase()+e.slice(1),n=0;n<t.length;n++){var i=t[n],r=i?''+i+o:e;if('undefined'!=typeof document.body.style[r])return r}return null}function H(){return this.state.isDestroyed=!0,W(this.modifiers,'applyStyle')&&(this.popper.removeAttribute('x-placement'),this.popper.style.position='',this.popper.style.top='',this.popper.style.left='',this.popper.style.right='',this.popper.style.bottom='',this.popper.style.willChange='',this.popper.style[B('transform')]=''),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}function A(e){var t=e.ownerDocument;return t?t.defaultView:window}function M(e,t,o,i){var r='BODY'===e.nodeName,p=r?e.ownerDocument.defaultView:e;p.addEventListener(t,o,{passive:!0}),r||M(n(p.parentNode),t,o,i),i.push(p)}function F(e,t,o,i){o.updateBound=i,A(e).addEventListener('resize',o.updateBound,{passive:!0});var r=n(e);return M(r,'scroll',o.updateBound,o.scrollParents),o.scrollElement=r,o.eventsEnabled=!0,o}function I(){this.state.eventsEnabled||(this.state=F(this.reference,this.options,this.state,this.scheduleUpdate))}function R(e,t){return A(e).removeEventListener('resize',t.updateBound),t.scrollParents.forEach(function(e){e.removeEventListener('scroll',t.updateBound)}),t.updateBound=null,t.scrollParents=[],t.scrollElement=null,t.eventsEnabled=!1,t}function U(){this.state.eventsEnabled&&(cancelAnimationFrame(this.scheduleUpdate),this.state=R(this.reference,this.state))}function Y(e){return''!==e&&!isNaN(parseFloat(e))&&isFinite(e)}function V(e,t){Object.keys(t).forEach(function(o){var n='';-1!==['width','height','top','right','bottom','left'].indexOf(o)&&Y(t[o])&&(n='px'),e.style[o]=t[o]+n})}function j(e,t){Object.keys(t).forEach(function(o){var n=t[o];!1===n?e.removeAttribute(o):e.setAttribute(o,t[o])})}function q(e,t){var o=e.offsets,n=o.popper,i=o.reference,r=$,p=function(e){return e},s=r(i.width),d=r(n.width),a=-1!==['left','right'].indexOf(e.placement),l=-1!==e.placement.indexOf('-'),f=t?a||l||s%2==d%2?r:Z:p,m=t?r:p;return{left:f(1==s%2&&1==d%2&&!l&&t?n.left-1:n.left),top:m(n.top),bottom:m(n.bottom),right:f(n.right)}}function K(e,t,o){var n=D(e,function(e){var o=e.name;return o===t}),i=!!n&&e.some(function(e){return e.name===o&&e.enabled&&e.order<n.order});if(!i){var r='`'+t+'`';console.warn('`'+o+'`'+' modifier is required by '+r+' modifier in order to work, be sure to include it before '+r+'!')}return i}function z(e){return'end'===e?'start':'start'===e?'end':e}function G(e){var t=1<arguments.length&&void 0!==arguments[1]&&arguments[1],o=he.indexOf(e),n=he.slice(o+1).concat(he.slice(0,o));return t?n.reverse():n}function _(e,t,o,n){var i=e.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+i[1],p=i[2];if(!r)return e;if(0===p.indexOf('%')){var s;switch(p){case'%p':s=o;break;case'%':case'%r':default:s=n;}var d=g(s);return d[t]/100*r}if('vh'===p||'vw'===p){var a;return a='vh'===p?ee(document.documentElement.clientHeight,window.innerHeight||0):ee(document.documentElement.clientWidth,window.innerWidth||0),a/100*r}return r}function X(e,t,o,n){var i=[0,0],r=-1!==['right','left'].indexOf(n),p=e.split(/(\+|\-)/).map(function(e){return e.trim()}),s=p.indexOf(D(p,function(e){return-1!==e.search(/,|\s/)}));p[s]&&-1===p[s].indexOf(',')&&console.warn('Offsets separated by white space(s) are deprecated, use a comma (,) instead.');var d=/\s*,\s*|\s+/,a=-1===s?[p]:[p.slice(0,s).concat([p[s].split(d)[0]]),[p[s].split(d)[1]].concat(p.slice(s+1))];return a=a.map(function(e,n){var i=(1===n?!r:r)?'height':'width',p=!1;return e.reduce(function(e,t){return''===e[e.length-1]&&-1!==['+','-'].indexOf(t)?(e[e.length-1]=t,p=!0,e):p?(e[e.length-1]+=t,p=!1,e):e.concat(t)},[]).map(function(e){return _(e,i,t,o)})}),a.forEach(function(e,t){e.forEach(function(o,n){Y(o)&&(i[t]+=o*('-'===e[n-1]?-1:1))})}),i}function J(e,t){var o,n=t.offset,i=e.placement,r=e.offsets,p=r.popper,s=r.reference,d=i.split('-')[0];return o=Y(+n)?[+n,0]:X(n,p,s,d),'left'===d?(p.top+=o[0],p.left-=o[1]):'right'===d?(p.top+=o[0],p.left+=o[1]):'top'===d?(p.left+=o[0],p.top-=o[1]):'bottom'===d&&(p.left+=o[0],p.top+=o[1]),e.popper=p,e}var Q=Math.min,Z=Math.floor,$=Math.round,ee=Math.max,te='undefined'!=typeof window&&'undefined'!=typeof document&&'undefined'!=typeof navigator,oe=function(){for(var e=['Edge','Trident','Firefox'],t=0;t<e.length;t+=1)if(te&&0<=navigator.userAgent.indexOf(e[t]))return 1;return 0}(),ne=te&&window.Promise,ie=ne?function(e){var t=!1;return function(){t||(t=!0,window.Promise.resolve().then(function(){t=!1,e()}))}}:function(e){var t=!1;return function(){t||(t=!0,setTimeout(function(){t=!1,e()},oe))}},re=te&&!!(window.MSInputMethodContext&&document.documentMode),pe=te&&/MSIE 10/.test(navigator.userAgent),se=function(e,t){if(!(e instanceof t))throw new TypeError('Cannot call a class as a function')},de=function(){function e(e,t){for(var o,n=0;n<t.length;n++)o=t[n],o.enumerable=o.enumerable||!1,o.configurable=!0,'value'in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}return function(t,o,n){return o&&e(t.prototype,o),n&&e(t,n),t}}(),ae=function(e,t,o){return t in e?Object.defineProperty(e,t,{value:o,enumerable:!0,configurable:!0,writable:!0}):e[t]=o,e},le=Object.assign||function(e){for(var t,o=1;o<arguments.length;o++)for(var n in t=arguments[o],t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e},fe=te&&/Firefox/i.test(navigator.userAgent),me=['auto-start','auto','auto-end','top-start','top','top-end','right-start','right','right-end','bottom-end','bottom','bottom-start','left-end','left','left-start'],he=me.slice(3),ce={FLIP:'flip',CLOCKWISE:'clockwise',COUNTERCLOCKWISE:'counterclockwise'},ge=function(){function t(o,n){var i=this,r=2<arguments.length&&void 0!==arguments[2]?arguments[2]:{};se(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(i.update)},this.update=ie(this.update.bind(this)),this.options=le({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=o&&o.jquery?o[0]:o,this.popper=n&&n.jquery?n[0]:n,this.options.modifiers={},Object.keys(le({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){i.options.modifiers[e]=le({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(e){return le({name:e},i.options.modifiers[e])}).sort(function(e,t){return e.order-t.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(i.reference,i.popper,i.options,t,i.state)}),this.update();var p=this.options.eventsEnabled;p&&this.enableEventListeners(),this.state.eventsEnabled=p}return de(t,[{key:'update',value:function(){return k.call(this)}},{key:'destroy',value:function(){return H.call(this)}},{key:'enableEventListeners',value:function(){return I.call(this)}},{key:'disableEventListeners',value:function(){return U.call(this)}}]),t}();return ge.Utils=('undefined'==typeof window?global:window).PopperUtils,ge.placements=me,ge.Defaults={placement:'bottom',positionFixed:!1,eventsEnabled:!0,removeOnDestroy:!1,onCreate:function(){},onUpdate:function(){},modifiers:{shift:{order:100,enabled:!0,fn:function(e){var t=e.placement,o=t.split('-')[0],n=t.split('-')[1];if(n){var i=e.offsets,r=i.reference,p=i.popper,s=-1!==['bottom','top'].indexOf(o),d=s?'left':'top',a=s?'width':'height',l={start:ae({},d,r[d]),end:ae({},d,r[d]+r[a]-p[a])};e.offsets.popper=le({},p,l[n])}return e}},offset:{order:200,enabled:!0,fn:J,offset:0},preventOverflow:{order:300,enabled:!0,fn:function(e,t){var o=t.boundariesElement||p(e.instance.popper);e.instance.reference===o&&(o=p(o));var n=B('transform'),i=e.instance.popper.style,r=i.top,s=i.left,d=i[n];i.top='',i.left='',i[n]='';var a=v(e.instance.popper,e.instance.reference,t.padding,o,e.positionFixed);i.top=r,i.left=s,i[n]=d,t.boundaries=a;var l=t.priority,f=e.offsets.popper,m={primary:function(e){var o=f[e];return f[e]<a[e]&&!t.escapeWithReference&&(o=ee(f[e],a[e])),ae({},e,o)},secondary:function(e){var o='right'===e?'left':'top',n=f[o];return f[e]>a[e]&&!t.escapeWithReference&&(n=Q(f[o],a[e]-('right'===e?f.width:f.height))),ae({},o,n)}};return l.forEach(function(e){var t=-1===['left','top'].indexOf(e)?'secondary':'primary';f=le({},f,m[t](e))}),e.offsets.popper=f,e},priority:['left','right','top','bottom'],padding:5,boundariesElement:'scrollParent'},keepTogether:{order:400,enabled:!0,fn:function(e){var t=e.offsets,o=t.popper,n=t.reference,i=e.placement.split('-')[0],r=Z,p=-1!==['top','bottom'].indexOf(i),s=p?'right':'bottom',d=p?'left':'top',a=p?'width':'height';return o[s]<r(n[d])&&(e.offsets.popper[d]=r(n[d])-o[a]),o[d]>r(n[s])&&(e.offsets.popper[d]=r(n[s])),e}},arrow:{order:500,enabled:!0,fn:function(e,o){var n;if(!K(e.instance.modifiers,'arrow','keepTogether'))return e;var i=o.element;if('string'==typeof i){if(i=e.instance.popper.querySelector(i),!i)return e;}else if(!e.instance.popper.contains(i))return console.warn('WARNING: `arrow.element` must be child of its popper element!'),e;var r=e.placement.split('-')[0],p=e.offsets,s=p.popper,d=p.reference,a=-1!==['left','right'].indexOf(r),l=a?'height':'width',f=a?'Top':'Left',m=f.toLowerCase(),h=a?'left':'top',c=a?'bottom':'right',u=S(i)[l];d[c]-u<s[m]&&(e.offsets.popper[m]-=s[m]-(d[c]-u)),d[m]+u>s[c]&&(e.offsets.popper[m]+=d[m]+u-s[c]),e.offsets.popper=g(e.offsets.popper);var b=d[m]+d[l]/2-u/2,w=t(e.instance.popper),y=parseFloat(w['margin'+f],10),E=parseFloat(w['border'+f+'Width'],10),v=b-e.offsets.popper[m]-y-E;return v=ee(Q(s[l]-u,v),0),e.arrowElement=i,e.offsets.arrow=(n={},ae(n,m,$(v)),ae(n,h,''),n),e},element:'[x-arrow]'},flip:{order:600,enabled:!0,fn:function(e,t){if(W(e.instance.modifiers,'inner'))return e;if(e.flipped&&e.placement===e.originalPlacement)return e;var o=v(e.instance.popper,e.instance.reference,t.padding,t.boundariesElement,e.positionFixed),n=e.placement.split('-')[0],i=T(n),r=e.placement.split('-')[1]||'',p=[];switch(t.behavior){case ce.FLIP:p=[n,i];break;case ce.CLOCKWISE:p=G(n);break;case ce.COUNTERCLOCKWISE:p=G(n,!0);break;default:p=t.behavior;}return p.forEach(function(s,d){if(n!==s||p.length===d+1)return e;n=e.placement.split('-')[0],i=T(n);var a=e.offsets.popper,l=e.offsets.reference,f=Z,m='left'===n&&f(a.right)>f(l.left)||'right'===n&&f(a.left)<f(l.right)||'top'===n&&f(a.bottom)>f(l.top)||'bottom'===n&&f(a.top)<f(l.bottom),h=f(a.left)<f(o.left),c=f(a.right)>f(o.right),g=f(a.top)<f(o.top),u=f(a.bottom)>f(o.bottom),b='left'===n&&h||'right'===n&&c||'top'===n&&g||'bottom'===n&&u,w=-1!==['top','bottom'].indexOf(n),y=!!t.flipVariations&&(w&&'start'===r&&h||w&&'end'===r&&c||!w&&'start'===r&&g||!w&&'end'===r&&u),E=!!t.flipVariationsByContent&&(w&&'start'===r&&c||w&&'end'===r&&h||!w&&'start'===r&&u||!w&&'end'===r&&g),v=y||E;(m||b||v)&&(e.flipped=!0,(m||b)&&(n=p[d+1]),v&&(r=z(r)),e.placement=n+(r?'-'+r:''),e.offsets.popper=le({},e.offsets.popper,C(e.instance.popper,e.offsets.reference,e.placement)),e=P(e.instance.modifiers,e,'flip'))}),e},behavior:'flip',padding:5,boundariesElement:'viewport',flipVariations:!1,flipVariationsByContent:!1},inner:{order:700,enabled:!1,fn:function(e){var t=e.placement,o=t.split('-')[0],n=e.offsets,i=n.popper,r=n.reference,p=-1!==['left','right'].indexOf(o),s=-1===['top','left'].indexOf(o);return i[p?'left':'top']=r[o]-(s?i[p?'width':'height']:0),e.placement=T(t),e.offsets.popper=g(i),e}},hide:{order:800,enabled:!0,fn:function(e){if(!K(e.instance.modifiers,'hide','preventOverflow'))return e;var t=e.offsets.reference,o=D(e.instance.modifiers,function(e){return'preventOverflow'===e.name}).boundaries;if(t.bottom<o.top||t.left>o.right||t.top>o.bottom||t.right<o.left){if(!0===e.hide)return e;e.hide=!0,e.attributes['x-out-of-boundaries']=''}else{if(!1===e.hide)return e;e.hide=!1,e.attributes['x-out-of-boundaries']=!1}return e}},computeStyle:{order:850,enabled:!0,fn:function(e,t){var o=t.x,n=t.y,i=e.offsets.popper,r=D(e.instance.modifiers,function(e){return'applyStyle'===e.name}).gpuAcceleration;void 0!==r&&console.warn('WARNING: `gpuAcceleration` option moved to `computeStyle` modifier and will not be supported in future versions of Popper.js!');var s,d,a=void 0===r?t.gpuAcceleration:r,l=p(e.instance.popper),f=u(l),m={position:i.position},h=q(e,2>window.devicePixelRatio||!fe),c='bottom'===o?'top':'bottom',g='right'===n?'left':'right',b=B('transform');if(d='bottom'==c?'HTML'===l.nodeName?-l.clientHeight+h.bottom:-f.height+h.bottom:h.top,s='right'==g?'HTML'===l.nodeName?-l.clientWidth+h.right:-f.width+h.right:h.left,a&&b)m[b]='translate3d('+s+'px, '+d+'px, 0)',m[c]=0,m[g]=0,m.willChange='transform';else{var w='bottom'==c?-1:1,y='right'==g?-1:1;m[c]=d*w,m[g]=s*y,m.willChange=c+', '+g}var E={"x-placement":e.placement};return e.attributes=le({},E,e.attributes),e.styles=le({},m,e.styles),e.arrowStyles=le({},e.offsets.arrow,e.arrowStyles),e},gpuAcceleration:!0,x:'bottom',y:'right'},applyStyle:{order:900,enabled:!0,fn:function(e){return V(e.instance.popper,e.styles),j(e.instance.popper,e.attributes),e.arrowElement&&Object.keys(e.arrowStyles).length&&V(e.arrowElement,e.arrowStyles),e},onLoad:function(e,t,o,n,i){var r=L(i,t,e,o.positionFixed),p=O(o.placement,r,t,e,o.modifiers.flip.boundariesElement,o.modifiers.flip.padding);return t.setAttribute('x-placement',p),V(t,{position:o.positionFixed?'fixed':'absolute'}),o},gpuAcceleration:void 0}}},ge});
5
+ //# sourceMappingURL=popper.min.js.map
languages/formidable.pot CHANGED
@@ -2,14 +2,14 @@
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Formidable Forms 5.2.01\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
- "POT-Creation-Date: 2022-02-22T18:38:01+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: formidable\n"
@@ -137,7 +137,7 @@ msgstr ""
137
 
138
  #: classes/controllers/FrmAddonsController.php:26
139
  #: classes/controllers/FrmAddonsController.php:27
140
- #: classes/helpers/FrmFormsHelper.php:1348
141
  #: classes/views/frm-fields/back-end/smart-values.php:16
142
  #: classes/views/shared/admin-header.php:33
143
  msgid "Upgrade"
@@ -147,37 +147,37 @@ msgstr ""
147
  msgid "There are no plugins on your site that require a license"
148
  msgstr ""
149
 
150
- #: classes/controllers/FrmAddonsController.php:625
151
  msgid "Installed"
152
  msgstr ""
153
 
154
- #: classes/controllers/FrmAddonsController.php:630
155
  #: classes/helpers/FrmAppHelper.php:2756
156
  msgid "Active"
157
  msgstr ""
158
 
159
- #: classes/controllers/FrmAddonsController.php:635
160
  msgid "Not Installed"
161
  msgstr ""
162
 
163
- #: classes/controllers/FrmAddonsController.php:932
164
  msgid "Sorry, your site requires FTP authentication. Please download plugins from FormidableForms.com and install them manually."
165
  msgstr ""
166
 
167
- #: classes/controllers/FrmAddonsController.php:995
168
  msgid "Your plugin has been activated. Would you like to save and reload the page now?"
169
  msgstr ""
170
 
171
- #: classes/controllers/FrmAddonsController.php:999
172
  msgid "Your plugin has been activated. Please reload the page to see more options."
173
  msgstr ""
174
 
175
- #: classes/controllers/FrmAddonsController.php:1104
176
  msgid "Could not install an upgrade. Please download from formidableforms.com and install manually."
177
  msgstr ""
178
 
179
- #: classes/controllers/FrmAddonsController.php:1189
180
- #: classes/controllers/FrmAddonsController.php:1190
181
  #: classes/controllers/FrmWelcomeController.php:141
182
  #: classes/views/frm-forms/new-form-overlay.php:112
183
  #: classes/views/shared/reports-info.php:24
@@ -198,7 +198,7 @@ msgstr ""
198
  #: classes/controllers/FrmAppController.php:168
199
  #: classes/controllers/FrmEntriesController.php:11
200
  #: classes/controllers/FrmEntriesController.php:100
201
- #: classes/controllers/FrmFormsController.php:796
202
  #: classes/controllers/FrmXMLController.php:259
203
  #: classes/views/xml/import_form.php:121
204
  msgid "Entries"
@@ -224,14 +224,14 @@ msgid "Build a Form"
224
  msgstr ""
225
 
226
  #: classes/controllers/FrmEntriesController.php:79
227
- #: classes/controllers/FrmFormsController.php:1366
228
  #: classes/views/frm-entries/form.php:63
229
  #: classes/views/frm-entries/sidebar-shared.php:57
230
  msgid "Entry Key"
231
  msgstr ""
232
 
233
  #: classes/controllers/FrmEntriesController.php:84
234
- #: classes/controllers/FrmFormsController.php:673
235
  #: classes/views/xml/import_form.php:152
236
  #: classes/widgets/FrmElementorWidget.php:37
237
  #: classes/widgets/FrmShowForm.php:59
@@ -297,32 +297,26 @@ msgstr ""
297
  msgid "Form Actions"
298
  msgstr ""
299
 
300
- #: classes/controllers/FrmFormActionsController.php:141
301
- #: classes/views/frm-form-actions/default_actions.php:77
302
  msgid "eCommerce"
303
  msgstr ""
304
 
305
- #: classes/controllers/FrmFormActionsController.php:149
306
  msgid "Email Marketing"
307
  msgstr ""
308
 
309
- #: classes/controllers/FrmFormActionsController.php:161
310
  msgid "CRM"
311
  msgstr ""
312
 
313
  #. translators: %s: Name of form action
314
- #: classes/controllers/FrmFormActionsController.php:205
315
  msgid "%s form actions"
316
  msgstr ""
317
 
318
- #: classes/controllers/FrmFormActionsController.php:400
319
- #: classes/models/FrmEntryValidate.php:18
320
- #: classes/models/FrmSettings.php:110
321
- msgid "You do not have permission to do that"
322
- msgstr ""
323
-
324
  #: classes/controllers/FrmFormsController.php:9
325
- #: classes/controllers/FrmFormsController.php:806
326
  #: classes/controllers/FrmStylesController.php:51
327
  #: classes/controllers/FrmXMLController.php:258
328
  #: classes/views/frm-forms/list.php:10
@@ -343,111 +337,111 @@ msgstr ""
343
  msgid "Add Conditional Logic"
344
  msgstr ""
345
 
346
- #: classes/controllers/FrmFormsController.php:151
347
  msgid "Settings Successfully Updated"
348
  msgstr ""
349
 
350
- #: classes/controllers/FrmFormsController.php:187
351
- #: classes/controllers/FrmFormsController.php:1015
352
  msgid "Form was successfully updated."
353
  msgstr ""
354
 
355
  #. translators: %1$s: Start link HTML, %2$s: end link HTML
356
- #: classes/controllers/FrmFormsController.php:192
357
  msgid "However, your form is very long and may be %1$sreaching server limits%2$s."
358
  msgstr ""
359
 
360
- #: classes/controllers/FrmFormsController.php:246
361
  #: deprecated/FrmDeprecated.php:414
362
  msgid "Form template was Successfully Created"
363
  msgstr ""
364
 
365
- #: classes/controllers/FrmFormsController.php:246
366
  msgid "Form was Successfully Copied"
367
  msgstr ""
368
 
369
- #: classes/controllers/FrmFormsController.php:250
370
  msgid "There was a problem creating the new template."
371
  msgstr ""
372
 
373
- #: classes/controllers/FrmFormsController.php:371
374
  msgid "Form Preview"
375
  msgstr ""
376
 
377
  #. translators: %1$s: Number of forms
378
- #: classes/controllers/FrmFormsController.php:416
379
- #: classes/controllers/FrmFormsController.php:477
380
  msgid "%1$s form restored from the Trash."
381
  msgid_plural "%1$s forms restored from the Trash."
382
  msgstr[0] ""
383
  msgstr[1] ""
384
 
385
  #. translators: %1$s: Number of forms, %2$s: Start link HTML, %3$s: End link HTML
386
- #: classes/controllers/FrmFormsController.php:480
387
- #: classes/controllers/FrmFormsController.php:505
388
  msgid "%1$s form moved to the Trash. %2$sUndo%3$s"
389
  msgid_plural "%1$s forms moved to the Trash. %2$sUndo%3$s"
390
  msgstr[0] ""
391
  msgstr[1] ""
392
 
393
  #. translators: %1$s: Number of forms
394
- #: classes/controllers/FrmFormsController.php:528
395
  msgid "%1$s Form Permanently Deleted"
396
  msgid_plural "%1$s Forms Permanently Deleted"
397
  msgstr[0] ""
398
  msgstr[1] ""
399
 
400
  #. translators: %1$s: Number of forms
401
- #: classes/controllers/FrmFormsController.php:545
402
- #: classes/controllers/FrmFormsController.php:562
403
  msgid "%1$s form permanently deleted."
404
  msgid_plural "%1$s forms permanently deleted."
405
  msgstr[0] ""
406
  msgstr[1] ""
407
 
408
- #: classes/controllers/FrmFormsController.php:611
409
  msgid "There was an error creating a template."
410
  msgstr ""
411
 
412
- #: classes/controllers/FrmFormsController.php:655
413
  msgid "Add forms and content"
414
  msgstr ""
415
 
416
- #: classes/controllers/FrmFormsController.php:674
417
  #: classes/views/frm-forms/insert_form_popup.php:33
418
  msgid "Insert a Form"
419
  msgstr ""
420
 
421
- #: classes/controllers/FrmFormsController.php:727
422
  msgid "Display form title"
423
  msgstr ""
424
 
425
- #: classes/controllers/FrmFormsController.php:731
426
  msgid "Display form description"
427
  msgstr ""
428
 
429
- #: classes/controllers/FrmFormsController.php:735
430
  msgid "Minimize form HTML"
431
  msgstr ""
432
 
433
- #: classes/controllers/FrmFormsController.php:791
434
  #: classes/views/frm-forms/new-form-overlay.php:46
435
  msgid "Template Name"
436
  msgstr ""
437
 
438
- #: classes/controllers/FrmFormsController.php:792
439
  #: classes/views/xml/import_form.php:120
440
  msgid "Type"
441
  msgstr ""
442
 
443
- #: classes/controllers/FrmFormsController.php:793
444
- #: classes/controllers/FrmFormsController.php:797
445
  #: classes/helpers/FrmCSVExportHelper.php:349
446
  #: classes/views/shared/mb_adv_info.php:98
447
  msgid "Key"
448
  msgstr ""
449
 
450
- #: classes/controllers/FrmFormsController.php:795
451
  #: classes/controllers/FrmStylesController.php:401
452
  #: classes/views/frm-forms/settings-advanced.php:13
453
  #: classes/views/styles/manage.php:39
@@ -456,197 +450,197 @@ msgstr ""
456
  msgid "Form Title"
457
  msgstr ""
458
 
459
- #: classes/controllers/FrmFormsController.php:798
460
  msgid "Actions"
461
  msgstr ""
462
 
463
- #: classes/controllers/FrmFormsController.php:801
464
  #: classes/models/FrmField.php:87
465
  msgid "Date"
466
  msgstr ""
467
 
468
- #: classes/controllers/FrmFormsController.php:921
469
- #: classes/helpers/FrmFormsHelper.php:1291
470
  msgid "My Templates"
471
  msgstr ""
472
 
473
- #: classes/controllers/FrmFormsController.php:980
474
  msgid "You are trying to edit a form that does not exist."
475
  msgstr ""
476
 
477
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
478
- #: classes/controllers/FrmFormsController.php:985
479
  msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
480
  msgstr ""
481
 
482
- #: classes/controllers/FrmFormsController.php:1017
483
  msgid "Template was successfully updated."
484
  msgstr ""
485
 
486
- #: classes/controllers/FrmFormsController.php:1091
487
  #: classes/controllers/FrmStylesController.php:400
488
  msgid "General"
489
  msgstr ""
490
 
491
- #: classes/controllers/FrmFormsController.php:1092
492
  msgid "General Form Settings"
493
  msgstr ""
494
 
495
- #: classes/controllers/FrmFormsController.php:1097
496
  msgid "Actions & Notifications"
497
  msgstr ""
498
 
499
- #: classes/controllers/FrmFormsController.php:1103
500
- #: classes/controllers/FrmFormsController.php:1108
501
  msgid "Form Permissions"
502
  msgstr ""
503
 
504
- #: classes/controllers/FrmFormsController.php:1109
505
  msgid "Allow editing, protect forms and files, limit entries, and save drafts. Upgrade to get form and entry permissions."
506
  msgstr ""
507
 
508
- #: classes/controllers/FrmFormsController.php:1113
509
  msgid "Form Scheduling"
510
  msgstr ""
511
 
512
- #: classes/controllers/FrmFormsController.php:1118
513
  msgid "Form scheduling settings"
514
  msgstr ""
515
 
516
- #: classes/controllers/FrmFormsController.php:1122
517
  msgid "Styling & Buttons"
518
  msgstr ""
519
 
520
- #: classes/controllers/FrmFormsController.php:1128
521
  msgid "Form Landing Page"
522
  msgstr ""
523
 
524
- #: classes/controllers/FrmFormsController.php:1134
525
- #: classes/controllers/FrmFormsController.php:1140
526
  msgid "Conversational Forms"
527
  msgstr ""
528
 
529
- #: classes/controllers/FrmFormsController.php:1141
530
  msgid "Ask one question at a time for automated conversations."
531
  msgstr ""
532
 
533
- #: classes/controllers/FrmFormsController.php:1146
534
  msgid "Customize HTML"
535
  msgstr ""
536
 
537
- #: classes/controllers/FrmFormsController.php:1282
538
  msgid "Customize field values with the following parameters."
539
  msgstr ""
540
 
541
- #: classes/controllers/FrmFormsController.php:1319
542
  msgid "Separator"
543
  msgstr ""
544
 
545
- #: classes/controllers/FrmFormsController.php:1320
546
  msgid "Use a different separator for checkbox fields"
547
  msgstr ""
548
 
549
- #: classes/controllers/FrmFormsController.php:1323
550
  msgid "Date Format"
551
  msgstr ""
552
 
553
- #: classes/controllers/FrmFormsController.php:1326
554
  #: classes/views/frm-fields/back-end/settings.php:27
555
  msgid "Field Label"
556
  msgstr ""
557
 
558
- #: classes/controllers/FrmFormsController.php:1329
559
  msgid "No Auto P"
560
  msgstr ""
561
 
562
- #: classes/controllers/FrmFormsController.php:1330
563
  msgid "Do not automatically add any paragraphs or line breaks"
564
  msgstr ""
565
 
566
- #: classes/controllers/FrmFormsController.php:1345
567
  #: classes/models/FrmField.php:62
568
  msgid "User ID"
569
  msgstr ""
570
 
571
- #: classes/controllers/FrmFormsController.php:1346
572
  msgid "First Name"
573
  msgstr ""
574
 
575
- #: classes/controllers/FrmFormsController.php:1347
576
  msgid "Last Name"
577
  msgstr ""
578
 
579
- #: classes/controllers/FrmFormsController.php:1348
580
  msgid "Display Name"
581
  msgstr ""
582
 
583
- #: classes/controllers/FrmFormsController.php:1349
584
  msgid "User Login"
585
  msgstr ""
586
 
587
- #: classes/controllers/FrmFormsController.php:1350
588
  #: classes/models/FrmField.php:34
589
  msgid "Email"
590
  msgstr ""
591
 
592
- #: classes/controllers/FrmFormsController.php:1351
593
  msgid "Avatar"
594
  msgstr ""
595
 
596
- #: classes/controllers/FrmFormsController.php:1352
597
  msgid "Author Link"
598
  msgstr ""
599
 
600
- #: classes/controllers/FrmFormsController.php:1365
601
  #: classes/views/frm-entries/sidebar-shared.php:51
602
  msgid "Entry ID"
603
  msgstr ""
604
 
605
- #: classes/controllers/FrmFormsController.php:1367
606
  msgid "Post ID"
607
  msgstr ""
608
 
609
- #: classes/controllers/FrmFormsController.php:1368
610
  msgid "User IP"
611
  msgstr ""
612
 
613
- #: classes/controllers/FrmFormsController.php:1369
614
  msgid "Entry created"
615
  msgstr ""
616
 
617
- #: classes/controllers/FrmFormsController.php:1370
618
  msgid "Entry updated"
619
  msgstr ""
620
 
621
- #: classes/controllers/FrmFormsController.php:1372
622
  msgid "Site URL"
623
  msgstr ""
624
 
625
- #: classes/controllers/FrmFormsController.php:1373
626
  msgid "Site Name"
627
  msgstr ""
628
 
629
- #: classes/controllers/FrmFormsController.php:1381
630
  msgid "Default Msg"
631
  msgstr ""
632
 
633
- #: classes/controllers/FrmFormsController.php:1382
634
  msgid "Default HTML"
635
  msgstr ""
636
 
637
- #: classes/controllers/FrmFormsController.php:1383
638
  msgid "Default Plain"
639
  msgstr ""
640
 
641
- #: classes/controllers/FrmFormsController.php:1486
642
  msgid "No forms were specified"
643
  msgstr ""
644
 
645
- #: classes/controllers/FrmFormsController.php:1598
646
  msgid "Abnormal HTML characters prevented your form from saving correctly"
647
  msgstr ""
648
 
649
- #: classes/controllers/FrmFormsController.php:1713
650
  #: classes/helpers/FrmFormsHelper.php:57
651
  #: classes/helpers/FrmFormsHelper.php:112
652
  #: classes/helpers/FrmFormsHelper.php:166
@@ -659,21 +653,21 @@ msgstr ""
659
  msgid "(no title)"
660
  msgstr ""
661
 
662
- #: classes/controllers/FrmFormsController.php:1779
663
- #: classes/controllers/FrmFormsController.php:1801
664
  msgid "Please select a valid form"
665
  msgstr ""
666
 
667
- #: classes/controllers/FrmFormsController.php:2027
668
  msgid "Please wait while you are redirected."
669
  msgstr ""
670
 
671
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
672
- #: classes/controllers/FrmFormsController.php:2062
673
  msgid "%1$sClick here%2$s if you are not automatically redirected."
674
  msgstr ""
675
 
676
- #: classes/controllers/FrmFormsController.php:2386
677
  #: classes/helpers/FrmAppHelper.php:1341
678
  #: classes/views/frm-forms/settings-advanced.php:93
679
  msgid "Select a Page"
@@ -1241,7 +1235,7 @@ msgstr ""
1241
  #: classes/views/shared/admin-header.php:64
1242
  #: classes/views/shared/confirm-overlay.php:19
1243
  #: js/formidable_admin.js:3687
1244
- #: js/formidable_admin.js:8350
1245
  msgid "Cancel"
1246
  msgstr ""
1247
 
@@ -1369,7 +1363,7 @@ msgid "The parameter \"%s\" is reserved by WordPress. This may cause problems wh
1369
  msgstr ""
1370
 
1371
  #: classes/helpers/FrmAppHelper.php:2752
1372
- #: classes/helpers/FrmFormsHelper.php:1525
1373
  msgid "See the list of reserved words in WordPress."
1374
  msgstr ""
1375
 
@@ -1658,14 +1652,18 @@ msgstr ""
1658
  msgid "Easily manage a landing page for your form. Upgrade to get form landing pages."
1659
  msgstr ""
1660
 
1661
- #: classes/helpers/FrmAppHelper.php:3342
1662
  msgid "Your account has expired"
1663
  msgstr ""
1664
 
1665
- #: classes/helpers/FrmAppHelper.php:3345
1666
  msgid "Renew Now"
1667
  msgstr ""
1668
 
 
 
 
 
1669
  #: classes/helpers/FrmCSVExportHelper.php:250
1670
  msgid "(label)"
1671
  msgstr ""
@@ -3243,29 +3241,29 @@ msgstr ""
3243
  msgid "Published"
3244
  msgstr ""
3245
 
3246
- #: classes/helpers/FrmFormsHelper.php:1335
3247
  msgid "Create Form"
3248
  msgstr ""
3249
 
3250
- #: classes/helpers/FrmFormsHelper.php:1343
3251
  msgid "Renew"
3252
  msgstr ""
3253
 
3254
- #: classes/helpers/FrmFormsHelper.php:1407
3255
  msgid "License plan required:"
3256
  msgstr ""
3257
 
3258
- #: classes/helpers/FrmFormsHelper.php:1524
3259
  msgid "Is this intentional?"
3260
  msgstr ""
3261
 
3262
  #. translators: %s: the name of a single parameter in the redirect URL
3263
- #: classes/helpers/FrmFormsHelper.php:1534
3264
  msgid "The redirect URL is using the parameter \"%s\", which is reserved by WordPress. "
3265
  msgstr ""
3266
 
3267
  #. translators: %s: the names of two or more parameters in the redirect URL, separated by commas
3268
- #: classes/helpers/FrmFormsHelper.php:1540
3269
  msgid "The redirect URL is using the parameters \"%s\", which are reserved by WordPress. "
3270
  msgstr ""
3271
 
@@ -3940,12 +3938,12 @@ msgstr ""
3940
  msgid "There was a problem with your submission. Please try again."
3941
  msgstr ""
3942
 
3943
- #: classes/models/FrmEntryValidate.php:255
3944
- #: classes/models/FrmEntryValidate.php:265
3945
  msgid "Your entry appears to be spam!"
3946
  msgstr ""
3947
 
3948
- #: classes/models/FrmEntryValidate.php:257
3949
  msgid "Your entry appears to be blocked spam!"
3950
  msgstr ""
3951
 
@@ -4246,6 +4244,10 @@ msgstr ""
4246
  msgid "You do not have permission to view this form."
4247
  msgstr ""
4248
 
 
 
 
 
4249
  #: classes/models/FrmSettings.php:195
4250
  msgid "The reCAPTCHA was not entered correctly"
4251
  msgstr ""
@@ -4524,7 +4526,7 @@ msgstr ""
4524
  #: classes/views/frm-fields/back-end/inline-modal.php:7
4525
  #: classes/views/frm-fields/back-end/inline-modal.php:8
4526
  #: classes/views/shared/admin-header.php:19
4527
- #: js/formidable_admin.js:7800
4528
  msgid "Close"
4529
  msgstr ""
4530
 
@@ -4791,15 +4793,19 @@ msgstr ""
4791
  msgid "Register User"
4792
  msgstr ""
4793
 
4794
- #: classes/views/frm-form-actions/default_actions.php:67
 
 
 
 
4795
  msgid "Twilio SMS"
4796
  msgstr ""
4797
 
4798
- #: classes/views/frm-form-actions/default_actions.php:120
4799
  msgid "The HubSpot integration is not available on your plan. Did you know you can upgrade to unlock more awesome features?"
4800
  msgstr ""
4801
 
4802
- #: classes/views/frm-form-actions/default_actions.php:148
4803
  msgid "Send API data"
4804
  msgstr ""
4805
 
@@ -5033,15 +5039,11 @@ msgstr ""
5033
  msgid "Insert into Post"
5034
  msgstr ""
5035
 
5036
- #: classes/views/frm-forms/landing-page-preview-option.php:15
5037
  msgid "Generate Form Page"
5038
  msgstr ""
5039
 
5040
- #: classes/views/frm-forms/landing-page-preview-option.php:15
5041
- msgid "NEW"
5042
- msgstr ""
5043
-
5044
- #: classes/views/frm-forms/list-template.php:60
5045
  msgid "No description"
5046
  msgstr ""
5047
 
@@ -5078,7 +5080,7 @@ msgid "Templates"
5078
  msgstr ""
5079
 
5080
  #: classes/views/frm-forms/new-form-overlay.php:11
5081
- #: js/formidable_admin.js:8389
5082
  msgid "Back"
5083
  msgstr ""
5084
 
@@ -5380,7 +5382,7 @@ msgid "Do not use Formidable styling"
5380
  msgstr ""
5381
 
5382
  #: classes/views/frm-forms/settings-buttons.php:50
5383
- #: classes/views/frm-settings/messages.php:69
5384
  msgid "Submit Button Text"
5385
  msgstr ""
5386
 
@@ -5456,15 +5458,15 @@ msgstr ""
5456
  msgid "Add New Form"
5457
  msgstr ""
5458
 
5459
- #: classes/views/frm-forms/_publish_box.php:29
5460
  msgid "On Blank Page"
5461
  msgstr ""
5462
 
5463
- #: classes/views/frm-forms/_publish_box.php:34
5464
  msgid "In Theme"
5465
  msgstr ""
5466
 
5467
- #: classes/views/frm-forms/_publish_box.php:48
5468
  msgid "Embed"
5469
  msgstr ""
5470
 
@@ -5545,23 +5547,31 @@ msgstr ""
5545
  msgid "The message seen when a field response is either incorrect or missing."
5546
  msgstr ""
5547
 
5548
- #: classes/views/frm-settings/messages.php:42
 
 
 
 
 
 
 
 
5549
  msgid "Unique Value"
5550
  msgstr ""
5551
 
5552
- #: classes/views/frm-settings/messages.php:44
5553
  msgid "The message seen when a user selects a value in a unique field that has already been used."
5554
  msgstr ""
5555
 
5556
- #: classes/views/frm-settings/messages.php:59
5557
  msgid "Success Message"
5558
  msgstr ""
5559
 
5560
- #: classes/views/frm-settings/messages.php:61
5561
  msgid "The default message seen after a form is submitted."
5562
  msgstr ""
5563
 
5564
- #: classes/views/frm-settings/messages.php:71
5565
  msgid "The default label for the submit button."
5566
  msgstr ""
5567
 
@@ -6393,84 +6403,84 @@ msgstr ""
6393
  msgid "Are you sure you want to delete these %1$s selected fields?"
6394
  msgstr ""
6395
 
6396
- #: js/formidable_admin.js:7792
6397
  msgid "Save and Reload"
6398
  msgstr ""
6399
 
6400
- #: js/formidable_admin.js:8347
6401
  msgid "Embed form"
6402
  msgstr ""
6403
 
6404
- #: js/formidable_admin.js:8381
6405
- #: js/formidable_admin.js:8400
6406
  msgid "Done"
6407
  msgstr ""
6408
 
6409
- #: js/formidable_admin.js:8448
6410
  msgid "Select existing page"
6411
  msgstr ""
6412
 
6413
- #: js/formidable_admin.js:8449
6414
  msgid "Embed your form into an existing page."
6415
  msgstr ""
6416
 
6417
- #: js/formidable_admin.js:8477
6418
  msgid "Select the page you want to embed your form into."
6419
  msgstr ""
6420
 
6421
- #: js/formidable_admin.js:8486
6422
  msgid "Insert Form"
6423
  msgstr ""
6424
 
6425
- #: js/formidable_admin.js:8500
6426
  msgid "Please select a page"
6427
  msgstr ""
6428
 
6429
- #: js/formidable_admin.js:8521
6430
  msgid "Create new page"
6431
  msgstr ""
6432
 
6433
- #: js/formidable_admin.js:8522
6434
  msgid "Put your form on a newly created page."
6435
  msgstr ""
6436
 
6437
- #: js/formidable_admin.js:8558
6438
  msgid "What will you call the new page?"
6439
  msgstr ""
6440
 
6441
- #: js/formidable_admin.js:8564
6442
  msgid "Name your page"
6443
  msgstr ""
6444
 
6445
- #: js/formidable_admin.js:8575
6446
  msgid "Create page"
6447
  msgstr ""
6448
 
6449
- #: js/formidable_admin.js:8587
6450
  msgid "Insert manually"
6451
  msgstr ""
6452
 
6453
- #: js/formidable_admin.js:8588
6454
  msgid "Use WP shortcodes or PHP code to put the form in any place."
6455
  msgstr ""
6456
 
6457
- #: js/formidable_admin.js:8635
6458
  msgid "WordPress shortcode"
6459
  msgstr ""
6460
 
6461
- #: js/formidable_admin.js:8638
6462
  msgid "How to use shortcodes in WordPress"
6463
  msgstr ""
6464
 
6465
- #: js/formidable_admin.js:8641
6466
  msgid "Use PHP code"
6467
  msgstr ""
6468
 
6469
  #. translators: %s: Example type (ie. WordPress shortcode, API Form script)
6470
- #: js/formidable_admin.js:8702
6471
  msgid "Copy %s"
6472
  msgstr ""
6473
 
6474
- #: js/formidable_admin.js:8724
6475
  msgid "Successfully copied embed example"
6476
  msgstr ""
2
  # This file is distributed under the same license as the Formidable Forms plugin.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Formidable Forms 5.2.02\n"
6
  "Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/formidable\n"
7
  "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
8
  "Language-Team: LANGUAGE <LL@li.org>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
+ "POT-Creation-Date: 2022-03-08T18:48:17+00:00\n"
13
  "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
14
  "X-Generator: WP-CLI 2.4.0\n"
15
  "X-Domain: formidable\n"
137
 
138
  #: classes/controllers/FrmAddonsController.php:26
139
  #: classes/controllers/FrmAddonsController.php:27
140
+ #: classes/helpers/FrmFormsHelper.php:1349
141
  #: classes/views/frm-fields/back-end/smart-values.php:16
142
  #: classes/views/shared/admin-header.php:33
143
  msgid "Upgrade"
147
  msgid "There are no plugins on your site that require a license"
148
  msgstr ""
149
 
150
+ #: classes/controllers/FrmAddonsController.php:630
151
  msgid "Installed"
152
  msgstr ""
153
 
154
+ #: classes/controllers/FrmAddonsController.php:635
155
  #: classes/helpers/FrmAppHelper.php:2756
156
  msgid "Active"
157
  msgstr ""
158
 
159
+ #: classes/controllers/FrmAddonsController.php:640
160
  msgid "Not Installed"
161
  msgstr ""
162
 
163
+ #: classes/controllers/FrmAddonsController.php:937
164
  msgid "Sorry, your site requires FTP authentication. Please download plugins from FormidableForms.com and install them manually."
165
  msgstr ""
166
 
167
+ #: classes/controllers/FrmAddonsController.php:1000
168
  msgid "Your plugin has been activated. Would you like to save and reload the page now?"
169
  msgstr ""
170
 
171
+ #: classes/controllers/FrmAddonsController.php:1004
172
  msgid "Your plugin has been activated. Please reload the page to see more options."
173
  msgstr ""
174
 
175
+ #: classes/controllers/FrmAddonsController.php:1109
176
  msgid "Could not install an upgrade. Please download from formidableforms.com and install manually."
177
  msgstr ""
178
 
179
+ #: classes/controllers/FrmAddonsController.php:1194
180
+ #: classes/controllers/FrmAddonsController.php:1195
181
  #: classes/controllers/FrmWelcomeController.php:141
182
  #: classes/views/frm-forms/new-form-overlay.php:112
183
  #: classes/views/shared/reports-info.php:24
198
  #: classes/controllers/FrmAppController.php:168
199
  #: classes/controllers/FrmEntriesController.php:11
200
  #: classes/controllers/FrmEntriesController.php:100
201
+ #: classes/controllers/FrmFormsController.php:786
202
  #: classes/controllers/FrmXMLController.php:259
203
  #: classes/views/xml/import_form.php:121
204
  msgid "Entries"
224
  msgstr ""
225
 
226
  #: classes/controllers/FrmEntriesController.php:79
227
+ #: classes/controllers/FrmFormsController.php:1357
228
  #: classes/views/frm-entries/form.php:63
229
  #: classes/views/frm-entries/sidebar-shared.php:57
230
  msgid "Entry Key"
231
  msgstr ""
232
 
233
  #: classes/controllers/FrmEntriesController.php:84
234
+ #: classes/controllers/FrmFormsController.php:663
235
  #: classes/views/xml/import_form.php:152
236
  #: classes/widgets/FrmElementorWidget.php:37
237
  #: classes/widgets/FrmShowForm.php:59
297
  msgid "Form Actions"
298
  msgstr ""
299
 
300
+ #: classes/controllers/FrmFormActionsController.php:143
301
+ #: classes/views/frm-form-actions/default_actions.php:86
302
  msgid "eCommerce"
303
  msgstr ""
304
 
305
+ #: classes/controllers/FrmFormActionsController.php:151
306
  msgid "Email Marketing"
307
  msgstr ""
308
 
309
+ #: classes/controllers/FrmFormActionsController.php:163
310
  msgid "CRM"
311
  msgstr ""
312
 
313
  #. translators: %s: Name of form action
314
+ #: classes/controllers/FrmFormActionsController.php:207
315
  msgid "%s form actions"
316
  msgstr ""
317
 
 
 
 
 
 
 
318
  #: classes/controllers/FrmFormsController.php:9
319
+ #: classes/controllers/FrmFormsController.php:796
320
  #: classes/controllers/FrmStylesController.php:51
321
  #: classes/controllers/FrmXMLController.php:258
322
  #: classes/views/frm-forms/list.php:10
337
  msgid "Add Conditional Logic"
338
  msgstr ""
339
 
340
+ #: classes/controllers/FrmFormsController.php:141
341
  msgid "Settings Successfully Updated"
342
  msgstr ""
343
 
344
+ #: classes/controllers/FrmFormsController.php:177
345
+ #: classes/controllers/FrmFormsController.php:1005
346
  msgid "Form was successfully updated."
347
  msgstr ""
348
 
349
  #. translators: %1$s: Start link HTML, %2$s: end link HTML
350
+ #: classes/controllers/FrmFormsController.php:182
351
  msgid "However, your form is very long and may be %1$sreaching server limits%2$s."
352
  msgstr ""
353
 
354
+ #: classes/controllers/FrmFormsController.php:236
355
  #: deprecated/FrmDeprecated.php:414
356
  msgid "Form template was Successfully Created"
357
  msgstr ""
358
 
359
+ #: classes/controllers/FrmFormsController.php:236
360
  msgid "Form was Successfully Copied"
361
  msgstr ""
362
 
363
+ #: classes/controllers/FrmFormsController.php:240
364
  msgid "There was a problem creating the new template."
365
  msgstr ""
366
 
367
+ #: classes/controllers/FrmFormsController.php:361
368
  msgid "Form Preview"
369
  msgstr ""
370
 
371
  #. translators: %1$s: Number of forms
372
+ #: classes/controllers/FrmFormsController.php:406
373
+ #: classes/controllers/FrmFormsController.php:467
374
  msgid "%1$s form restored from the Trash."
375
  msgid_plural "%1$s forms restored from the Trash."
376
  msgstr[0] ""
377
  msgstr[1] ""
378
 
379
  #. translators: %1$s: Number of forms, %2$s: Start link HTML, %3$s: End link HTML
380
+ #: classes/controllers/FrmFormsController.php:470
381
+ #: classes/controllers/FrmFormsController.php:495
382
  msgid "%1$s form moved to the Trash. %2$sUndo%3$s"
383
  msgid_plural "%1$s forms moved to the Trash. %2$sUndo%3$s"
384
  msgstr[0] ""
385
  msgstr[1] ""
386
 
387
  #. translators: %1$s: Number of forms
388
+ #: classes/controllers/FrmFormsController.php:518
389
  msgid "%1$s Form Permanently Deleted"
390
  msgid_plural "%1$s Forms Permanently Deleted"
391
  msgstr[0] ""
392
  msgstr[1] ""
393
 
394
  #. translators: %1$s: Number of forms
395
+ #: classes/controllers/FrmFormsController.php:535
396
+ #: classes/controllers/FrmFormsController.php:552
397
  msgid "%1$s form permanently deleted."
398
  msgid_plural "%1$s forms permanently deleted."
399
  msgstr[0] ""
400
  msgstr[1] ""
401
 
402
+ #: classes/controllers/FrmFormsController.php:601
403
  msgid "There was an error creating a template."
404
  msgstr ""
405
 
406
+ #: classes/controllers/FrmFormsController.php:645
407
  msgid "Add forms and content"
408
  msgstr ""
409
 
410
+ #: classes/controllers/FrmFormsController.php:664
411
  #: classes/views/frm-forms/insert_form_popup.php:33
412
  msgid "Insert a Form"
413
  msgstr ""
414
 
415
+ #: classes/controllers/FrmFormsController.php:717
416
  msgid "Display form title"
417
  msgstr ""
418
 
419
+ #: classes/controllers/FrmFormsController.php:721
420
  msgid "Display form description"
421
  msgstr ""
422
 
423
+ #: classes/controllers/FrmFormsController.php:725
424
  msgid "Minimize form HTML"
425
  msgstr ""
426
 
427
+ #: classes/controllers/FrmFormsController.php:781
428
  #: classes/views/frm-forms/new-form-overlay.php:46
429
  msgid "Template Name"
430
  msgstr ""
431
 
432
+ #: classes/controllers/FrmFormsController.php:782
433
  #: classes/views/xml/import_form.php:120
434
  msgid "Type"
435
  msgstr ""
436
 
437
+ #: classes/controllers/FrmFormsController.php:783
438
+ #: classes/controllers/FrmFormsController.php:787
439
  #: classes/helpers/FrmCSVExportHelper.php:349
440
  #: classes/views/shared/mb_adv_info.php:98
441
  msgid "Key"
442
  msgstr ""
443
 
444
+ #: classes/controllers/FrmFormsController.php:785
445
  #: classes/controllers/FrmStylesController.php:401
446
  #: classes/views/frm-forms/settings-advanced.php:13
447
  #: classes/views/styles/manage.php:39
450
  msgid "Form Title"
451
  msgstr ""
452
 
453
+ #: classes/controllers/FrmFormsController.php:788
454
  msgid "Actions"
455
  msgstr ""
456
 
457
+ #: classes/controllers/FrmFormsController.php:791
458
  #: classes/models/FrmField.php:87
459
  msgid "Date"
460
  msgstr ""
461
 
462
+ #: classes/controllers/FrmFormsController.php:911
463
+ #: classes/helpers/FrmFormsHelper.php:1292
464
  msgid "My Templates"
465
  msgstr ""
466
 
467
+ #: classes/controllers/FrmFormsController.php:970
468
  msgid "You are trying to edit a form that does not exist."
469
  msgstr ""
470
 
471
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
472
+ #: classes/controllers/FrmFormsController.php:975
473
  msgid "You are trying to edit a child form. Please edit from %1$shere%2$s"
474
  msgstr ""
475
 
476
+ #: classes/controllers/FrmFormsController.php:1007
477
  msgid "Template was successfully updated."
478
  msgstr ""
479
 
480
+ #: classes/controllers/FrmFormsController.php:1081
481
  #: classes/controllers/FrmStylesController.php:400
482
  msgid "General"
483
  msgstr ""
484
 
485
+ #: classes/controllers/FrmFormsController.php:1082
486
  msgid "General Form Settings"
487
  msgstr ""
488
 
489
+ #: classes/controllers/FrmFormsController.php:1087
490
  msgid "Actions & Notifications"
491
  msgstr ""
492
 
493
+ #: classes/controllers/FrmFormsController.php:1093
494
+ #: classes/controllers/FrmFormsController.php:1098
495
  msgid "Form Permissions"
496
  msgstr ""
497
 
498
+ #: classes/controllers/FrmFormsController.php:1099
499
  msgid "Allow editing, protect forms and files, limit entries, and save drafts. Upgrade to get form and entry permissions."
500
  msgstr ""
501
 
502
+ #: classes/controllers/FrmFormsController.php:1103
503
  msgid "Form Scheduling"
504
  msgstr ""
505
 
506
+ #: classes/controllers/FrmFormsController.php:1108
507
  msgid "Form scheduling settings"
508
  msgstr ""
509
 
510
+ #: classes/controllers/FrmFormsController.php:1112
511
  msgid "Styling & Buttons"
512
  msgstr ""
513
 
514
+ #: classes/controllers/FrmFormsController.php:1118
515
  msgid "Form Landing Page"
516
  msgstr ""
517
 
518
+ #: classes/controllers/FrmFormsController.php:1124
519
+ #: classes/controllers/FrmFormsController.php:1130
520
  msgid "Conversational Forms"
521
  msgstr ""
522
 
523
+ #: classes/controllers/FrmFormsController.php:1131
524
  msgid "Ask one question at a time for automated conversations."
525
  msgstr ""
526
 
527
+ #: classes/controllers/FrmFormsController.php:1136
528
  msgid "Customize HTML"
529
  msgstr ""
530
 
531
+ #: classes/controllers/FrmFormsController.php:1272
532
  msgid "Customize field values with the following parameters."
533
  msgstr ""
534
 
535
+ #: classes/controllers/FrmFormsController.php:1310
536
  msgid "Separator"
537
  msgstr ""
538
 
539
+ #: classes/controllers/FrmFormsController.php:1311
540
  msgid "Use a different separator for checkbox fields"
541
  msgstr ""
542
 
543
+ #: classes/controllers/FrmFormsController.php:1314
544
  msgid "Date Format"
545
  msgstr ""
546
 
547
+ #: classes/controllers/FrmFormsController.php:1317
548
  #: classes/views/frm-fields/back-end/settings.php:27
549
  msgid "Field Label"
550
  msgstr ""
551
 
552
+ #: classes/controllers/FrmFormsController.php:1320
553
  msgid "No Auto P"
554
  msgstr ""
555
 
556
+ #: classes/controllers/FrmFormsController.php:1321
557
  msgid "Do not automatically add any paragraphs or line breaks"
558
  msgstr ""
559
 
560
+ #: classes/controllers/FrmFormsController.php:1336
561
  #: classes/models/FrmField.php:62
562
  msgid "User ID"
563
  msgstr ""
564
 
565
+ #: classes/controllers/FrmFormsController.php:1337
566
  msgid "First Name"
567
  msgstr ""
568
 
569
+ #: classes/controllers/FrmFormsController.php:1338
570
  msgid "Last Name"
571
  msgstr ""
572
 
573
+ #: classes/controllers/FrmFormsController.php:1339
574
  msgid "Display Name"
575
  msgstr ""
576
 
577
+ #: classes/controllers/FrmFormsController.php:1340
578
  msgid "User Login"
579
  msgstr ""
580
 
581
+ #: classes/controllers/FrmFormsController.php:1341
582
  #: classes/models/FrmField.php:34
583
  msgid "Email"
584
  msgstr ""
585
 
586
+ #: classes/controllers/FrmFormsController.php:1342
587
  msgid "Avatar"
588
  msgstr ""
589
 
590
+ #: classes/controllers/FrmFormsController.php:1343
591
  msgid "Author Link"
592
  msgstr ""
593
 
594
+ #: classes/controllers/FrmFormsController.php:1356
595
  #: classes/views/frm-entries/sidebar-shared.php:51
596
  msgid "Entry ID"
597
  msgstr ""
598
 
599
+ #: classes/controllers/FrmFormsController.php:1358
600
  msgid "Post ID"
601
  msgstr ""
602
 
603
+ #: classes/controllers/FrmFormsController.php:1359
604
  msgid "User IP"
605
  msgstr ""
606
 
607
+ #: classes/controllers/FrmFormsController.php:1360
608
  msgid "Entry created"
609
  msgstr ""
610
 
611
+ #: classes/controllers/FrmFormsController.php:1361
612
  msgid "Entry updated"
613
  msgstr ""
614
 
615
+ #: classes/controllers/FrmFormsController.php:1363
616
  msgid "Site URL"
617
  msgstr ""
618
 
619
+ #: classes/controllers/FrmFormsController.php:1364
620
  msgid "Site Name"
621
  msgstr ""
622
 
623
+ #: classes/controllers/FrmFormsController.php:1372
624
  msgid "Default Msg"
625
  msgstr ""
626
 
627
+ #: classes/controllers/FrmFormsController.php:1373
628
  msgid "Default HTML"
629
  msgstr ""
630
 
631
+ #: classes/controllers/FrmFormsController.php:1374
632
  msgid "Default Plain"
633
  msgstr ""
634
 
635
+ #: classes/controllers/FrmFormsController.php:1477
636
  msgid "No forms were specified"
637
  msgstr ""
638
 
639
+ #: classes/controllers/FrmFormsController.php:1589
640
  msgid "Abnormal HTML characters prevented your form from saving correctly"
641
  msgstr ""
642
 
643
+ #: classes/controllers/FrmFormsController.php:1704
644
  #: classes/helpers/FrmFormsHelper.php:57
645
  #: classes/helpers/FrmFormsHelper.php:112
646
  #: classes/helpers/FrmFormsHelper.php:166
653
  msgid "(no title)"
654
  msgstr ""
655
 
656
+ #: classes/controllers/FrmFormsController.php:1770
657
+ #: classes/controllers/FrmFormsController.php:1792
658
  msgid "Please select a valid form"
659
  msgstr ""
660
 
661
+ #: classes/controllers/FrmFormsController.php:2018
662
  msgid "Please wait while you are redirected."
663
  msgstr ""
664
 
665
  #. translators: %1$s: Start link HTML, %2$s: End link HTML
666
+ #: classes/controllers/FrmFormsController.php:2053
667
  msgid "%1$sClick here%2$s if you are not automatically redirected."
668
  msgstr ""
669
 
670
+ #: classes/controllers/FrmFormsController.php:2377
671
  #: classes/helpers/FrmAppHelper.php:1341
672
  #: classes/views/frm-forms/settings-advanced.php:93
673
  msgid "Select a Page"
1235
  #: classes/views/shared/admin-header.php:64
1236
  #: classes/views/shared/confirm-overlay.php:19
1237
  #: js/formidable_admin.js:3687
1238
+ #: js/formidable_admin.js:8337
1239
  msgid "Cancel"
1240
  msgstr ""
1241
 
1363
  msgstr ""
1364
 
1365
  #: classes/helpers/FrmAppHelper.php:2752
1366
+ #: classes/helpers/FrmFormsHelper.php:1526
1367
  msgid "See the list of reserved words in WordPress."
1368
  msgstr ""
1369
 
1652
  msgid "Easily manage a landing page for your form. Upgrade to get form landing pages."
1653
  msgstr ""
1654
 
1655
+ #: classes/helpers/FrmAppHelper.php:3346
1656
  msgid "Your account has expired"
1657
  msgstr ""
1658
 
1659
+ #: classes/helpers/FrmAppHelper.php:3349
1660
  msgid "Renew Now"
1661
  msgstr ""
1662
 
1663
+ #: classes/helpers/FrmAppHelper.php:3365
1664
+ msgid "NEW"
1665
+ msgstr ""
1666
+
1667
  #: classes/helpers/FrmCSVExportHelper.php:250
1668
  msgid "(label)"
1669
  msgstr ""
3241
  msgid "Published"
3242
  msgstr ""
3243
 
3244
+ #: classes/helpers/FrmFormsHelper.php:1336
3245
  msgid "Create Form"
3246
  msgstr ""
3247
 
3248
+ #: classes/helpers/FrmFormsHelper.php:1344
3249
  msgid "Renew"
3250
  msgstr ""
3251
 
3252
+ #: classes/helpers/FrmFormsHelper.php:1408
3253
  msgid "License plan required:"
3254
  msgstr ""
3255
 
3256
+ #: classes/helpers/FrmFormsHelper.php:1525
3257
  msgid "Is this intentional?"
3258
  msgstr ""
3259
 
3260
  #. translators: %s: the name of a single parameter in the redirect URL
3261
+ #: classes/helpers/FrmFormsHelper.php:1535
3262
  msgid "The redirect URL is using the parameter \"%s\", which is reserved by WordPress. "
3263
  msgstr ""
3264
 
3265
  #. translators: %s: the names of two or more parameters in the redirect URL, separated by commas
3266
+ #: classes/helpers/FrmFormsHelper.php:1541
3267
  msgid "The redirect URL is using the parameters \"%s\", which are reserved by WordPress. "
3268
  msgstr ""
3269
 
3938
  msgid "There was a problem with your submission. Please try again."
3939
  msgstr ""
3940
 
3941
+ #: classes/models/FrmEntryValidate.php:277
3942
+ #: classes/models/FrmEntryValidate.php:287
3943
  msgid "Your entry appears to be spam!"
3944
  msgstr ""
3945
 
3946
+ #: classes/models/FrmEntryValidate.php:279
3947
  msgid "Your entry appears to be blocked spam!"
3948
  msgstr ""
3949
 
4244
  msgid "You do not have permission to view this form."
4245
  msgstr ""
4246
 
4247
+ #: classes/models/FrmSettings.php:110
4248
+ msgid "You do not have permission to do that"
4249
+ msgstr ""
4250
+
4251
  #: classes/models/FrmSettings.php:195
4252
  msgid "The reCAPTCHA was not entered correctly"
4253
  msgstr ""
4526
  #: classes/views/frm-fields/back-end/inline-modal.php:7
4527
  #: classes/views/frm-fields/back-end/inline-modal.php:8
4528
  #: classes/views/shared/admin-header.php:19
4529
+ #: js/formidable_admin.js:7787
4530
  msgid "Close"
4531
  msgstr ""
4532
 
4793
  msgid "Register User"
4794
  msgstr ""
4795
 
4796
+ #: classes/views/frm-form-actions/default_actions.php:41
4797
+ msgid "Quiz"
4798
+ msgstr ""
4799
+
4800
+ #: classes/views/frm-form-actions/default_actions.php:76
4801
  msgid "Twilio SMS"
4802
  msgstr ""
4803
 
4804
+ #: classes/views/frm-form-actions/default_actions.php:129
4805
  msgid "The HubSpot integration is not available on your plan. Did you know you can upgrade to unlock more awesome features?"
4806
  msgstr ""
4807
 
4808
+ #: classes/views/frm-form-actions/default_actions.php:157
4809
  msgid "Send API data"
4810
  msgstr ""
4811
 
5039
  msgid "Insert into Post"
5040
  msgstr ""
5041
 
5042
+ #: classes/views/frm-forms/landing-page-preview-option.php:16
5043
  msgid "Generate Form Page"
5044
  msgstr ""
5045
 
5046
+ #: classes/views/frm-forms/list-template.php:66
 
 
 
 
5047
  msgid "No description"
5048
  msgstr ""
5049
 
5080
  msgstr ""
5081
 
5082
  #: classes/views/frm-forms/new-form-overlay.php:11
5083
+ #: js/formidable_admin.js:8376
5084
  msgid "Back"
5085
  msgstr ""
5086
 
5382
  msgstr ""
5383
 
5384
  #: classes/views/frm-forms/settings-buttons.php:50
5385
+ #: classes/views/frm-settings/messages.php:79
5386
  msgid "Submit Button Text"
5387
  msgstr ""
5388
 
5458
  msgid "Add New Form"
5459
  msgstr ""
5460
 
5461
+ #: classes/views/frm-forms/_publish_box.php:28
5462
  msgid "On Blank Page"
5463
  msgstr ""
5464
 
5465
+ #: classes/views/frm-forms/_publish_box.php:33
5466
  msgid "In Theme"
5467
  msgstr ""
5468
 
5469
+ #: classes/views/frm-forms/_publish_box.php:47
5470
  msgid "Embed"
5471
  msgstr ""
5472
 
5547
  msgid "The message seen when a field response is either incorrect or missing."
5548
  msgstr ""
5549
 
5550
+ #: classes/views/frm-settings/messages.php:41
5551
+ msgid "Requires Privileged Access"
5552
+ msgstr ""
5553
+
5554
+ #: classes/views/frm-settings/messages.php:43
5555
+ msgid "The message shown to users who do not have access to a resource."
5556
+ msgstr ""
5557
+
5558
+ #: classes/views/frm-settings/messages.php:52
5559
  msgid "Unique Value"
5560
  msgstr ""
5561
 
5562
+ #: classes/views/frm-settings/messages.php:54
5563
  msgid "The message seen when a user selects a value in a unique field that has already been used."
5564
  msgstr ""
5565
 
5566
+ #: classes/views/frm-settings/messages.php:69
5567
  msgid "Success Message"
5568
  msgstr ""
5569
 
5570
+ #: classes/views/frm-settings/messages.php:71
5571
  msgid "The default message seen after a form is submitted."
5572
  msgstr ""
5573
 
5574
+ #: classes/views/frm-settings/messages.php:81
5575
  msgid "The default label for the submit button."
5576
  msgstr ""
5577
 
6403
  msgid "Are you sure you want to delete these %1$s selected fields?"
6404
  msgstr ""
6405
 
6406
+ #: js/formidable_admin.js:7779
6407
  msgid "Save and Reload"
6408
  msgstr ""
6409
 
6410
+ #: js/formidable_admin.js:8334
6411
  msgid "Embed form"
6412
  msgstr ""
6413
 
6414
+ #: js/formidable_admin.js:8368
6415
+ #: js/formidable_admin.js:8387
6416
  msgid "Done"
6417
  msgstr ""
6418
 
6419
+ #: js/formidable_admin.js:8435
6420
  msgid "Select existing page"
6421
  msgstr ""
6422
 
6423
+ #: js/formidable_admin.js:8436
6424
  msgid "Embed your form into an existing page."
6425
  msgstr ""
6426
 
6427
+ #: js/formidable_admin.js:8464
6428
  msgid "Select the page you want to embed your form into."
6429
  msgstr ""
6430
 
6431
+ #: js/formidable_admin.js:8473
6432
  msgid "Insert Form"
6433
  msgstr ""
6434
 
6435
+ #: js/formidable_admin.js:8487
6436
  msgid "Please select a page"
6437
  msgstr ""
6438
 
6439
+ #: js/formidable_admin.js:8508
6440
  msgid "Create new page"
6441
  msgstr ""
6442
 
6443
+ #: js/formidable_admin.js:8509
6444
  msgid "Put your form on a newly created page."
6445
  msgstr ""
6446
 
6447
+ #: js/formidable_admin.js:8545
6448
  msgid "What will you call the new page?"
6449
  msgstr ""
6450
 
6451
+ #: js/formidable_admin.js:8551
6452
  msgid "Name your page"
6453
  msgstr ""
6454
 
6455
+ #: js/formidable_admin.js:8562
6456
  msgid "Create page"
6457
  msgstr ""
6458
 
6459
+ #: js/formidable_admin.js:8574
6460
  msgid "Insert manually"
6461
  msgstr ""
6462
 
6463
+ #: js/formidable_admin.js:8575
6464
  msgid "Use WP shortcodes or PHP code to put the form in any place."
6465
  msgstr ""
6466
 
6467
+ #: js/formidable_admin.js:8622
6468
  msgid "WordPress shortcode"
6469
  msgstr ""
6470
 
6471
+ #: js/formidable_admin.js:8625
6472
  msgid "How to use shortcodes in WordPress"
6473
  msgstr ""
6474
 
6475
+ #: js/formidable_admin.js:8628
6476
  msgid "Use PHP code"
6477
  msgstr ""
6478
 
6479
  #. translators: %s: Example type (ie. WordPress shortcode, API Form script)
6480
+ #: js/formidable_admin.js:8689
6481
  msgid "Copy %s"
6482
  msgstr ""
6483
 
6484
+ #: js/formidable_admin.js:8711
6485
  msgid "Successfully copied embed example"
6486
  msgstr ""
readme.txt CHANGED
@@ -5,7 +5,7 @@ Tags: forms, contact form, form builder, survey, free, form maker, form creator,
5
  Requires at least: 5.2
6
  Tested up to: 5.9.1
7
  Requires PHP: 5.6
8
- Stable tag: 5.2.01
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
11
 
@@ -438,6 +438,14 @@ Using our Zapier integration, you can easily connect Formidable with over 1000+
438
  See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
439
 
440
  == Changelog ==
 
 
 
 
 
 
 
 
441
  = 5.2.01 =
442
  * New: Added new checkboxes to toggle form title and description visibility. The form preview page will no longer always show title and description by default, and will use these checkboxes instead.
443
  * Fix: In-Theme Previews trigger a fatal error in WordPress 5.9.1.
@@ -452,10 +460,4 @@ See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zap
452
  * Fix: Some AJAX calls for API loaded forms were occasionally targeting the wrong site, causing unwanted redirects.
453
  * Fix: Dropdown field options were including redundant class="" HTML that has been removed.
454
 
455
- = 5.1 =
456
- * Updated Bootstrap Multiselect to version 1.1.1, fixing issues with the accessibility of backend multiselect dropdowns for blind users.
457
- * New: Inputs with errors will now add the aria-describedby attribute during JavaScript validation for more accessible errors.
458
- * New: Form errors will now always include the role="alert" attribute for more accessible errors. New fields will now also include role="alert" in custom field HTML.
459
- * New: Added a new frm_entries_column_value filter hook.
460
-
461
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>
5
  Requires at least: 5.2
6
  Tested up to: 5.9.1
7
  Requires PHP: 5.6
8
+ Stable tag: 5.2.02
9
 
10
  The most advanced WordPress forms plugin. Go beyond contact forms with our drag & drop form builder for surveys, quizzes, and more.
11
 
438
  See all <a href="https://zapier.com/apps/formidable/integrations">Formidable Zapier Integrations</a>.
439
 
440
  == Changelog ==
441
+ = 5.2.02 =
442
+ * Updated Bootstrap to version 4.6.1.
443
+ * New: Name fields will be automatically used to define entry names if available.
444
+ * New: Added setting to update privileged access message.
445
+ * Fix: Section icon dropdown toggles were not displaying updated changes.
446
+ * Fix: Prevent a PHP 8.1 deprecation message where null was being passed to substr.
447
+ * Fix: Name fields with no descriptions were still displaying bottom margins.
448
+
449
  = 5.2.01 =
450
  * New: Added new checkboxes to toggle form title and description visibility. The form preview page will no longer always show title and description by default, and will use these checkboxes instead.
451
  * Fix: In-Theme Previews trigger a fatal error in WordPress 5.9.1.
460
  * Fix: Some AJAX calls for API loaded forms were occasionally targeting the wrong site, causing unwanted redirects.
461
  * Fix: Dropdown field options were including redundant class="" HTML that has been removed.
462
 
 
 
 
 
 
 
463
  <a href="https://raw.githubusercontent.com/Strategy11/formidable-forms/master/changelog.txt">See changelog for all versions</a>