Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms - Version 4.2.0

Version Description

(Date: Sep 01, 2021) = - Improvements on Conversational Forms - RTL Improvements - UI Improvements - New developer APIs - Performance improvements for form submissions

Download this release

Release Info

Developer techjewel
Plugin Icon 128x128 Contact Form Plugin – Fastest Contact Form Builder Plugin for WordPress by Fluent Forms
Version 4.2.0
Comparing to
See all releases

Code changes from version 4.1.51 to 4.2.0

app/Api/Entry.php CHANGED
@@ -26,7 +26,7 @@ class Entry
26
  'per_page' => 10,
27
  'page' => 1,
28
  'search' => '',
29
- 'sort_by' => 'DESC',
30
  'entry_type' => 'all'
31
  ]);
32
 
@@ -34,7 +34,7 @@ class Entry
34
 
35
  $entryQuery = wpFluent()->table('fluentform_submissions')
36
  ->where('form_id', $this->form->id)
37
- ->orderBy('id', $atts['sort_by'])
38
  ->limit($atts['per_page'])
39
  ->offset($offset);
40
 
26
  'per_page' => 10,
27
  'page' => 1,
28
  'search' => '',
29
+ 'sort_type' => 'DESC',
30
  'entry_type' => 'all'
31
  ]);
32
 
34
 
35
  $entryQuery = wpFluent()->table('fluentform_submissions')
36
  ->where('form_id', $this->form->id)
37
+ ->orderBy('id', $atts['sort_type'])
38
  ->limit($atts['per_page'])
39
  ->offset($offset);
40
 
app/Api/Submission.php ADDED
@@ -0,0 +1,276 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ namespace FluentForm\App\Api;
4
+
5
+ use FluentForm\Framework\Helpers\ArrayHelper;
6
+
7
+ class Submission
8
+ {
9
+ public function get($args = [])
10
+ {
11
+ $args = wp_parse_args($args, [
12
+ 'per_page' => 10,
13
+ 'page' => 1,
14
+ 'search' => '',
15
+ 'form_ids' => [],
16
+ 'sort_type' => 'DESC',
17
+ 'entry_type' => 'all'
18
+ ]);
19
+
20
+ $offset = $args['per_page'] * ($args['page'] - 1);
21
+
22
+ $entryQuery = wpFluent()->table('fluentform_submissions')
23
+ ->orderBy('id', $args['sort_type'])
24
+ ->limit($args['per_page'])
25
+ ->offset($offset);
26
+
27
+ $type = $args['entry_type'];
28
+
29
+ if ($type && $type != 'all') {
30
+ $entryQuery->where('status', $type);
31
+ }
32
+
33
+ if ($args['form_ids'] && is_array($args['form_ids'])) {
34
+ $entryQuery->whereIn('form_id', $args['form_ids']);
35
+ }
36
+
37
+ if ($searchString = $args['search']) {
38
+ $entryQuery->where(function ($q) use ($searchString) {
39
+ $q->where('id', 'LIKE', "%{$searchString}%")
40
+ ->orWhere('response', 'LIKE', "%{$searchString}%")
41
+ ->orWhere('status', 'LIKE', "%{$searchString}%")
42
+ ->orWhere('created_at', 'LIKE', "%{$searchString}%");
43
+ });
44
+ }
45
+
46
+ $count = $entryQuery->count();
47
+
48
+ $data = $entryQuery->get();
49
+
50
+ $dataCount = count($data);
51
+
52
+ $from = $dataCount > 0 ? ($args['page'] - 1) * $args['per_page'] + 1 : null;
53
+
54
+ $to = $dataCount > 0 ? $from + $dataCount - 1 : null;
55
+ $lastPage = (int)ceil($count / $args['per_page']);
56
+
57
+ foreach ($data as $datum) {
58
+ $datum->response = json_decode($datum->response, true);
59
+ }
60
+
61
+ return [
62
+ 'current_page' => $args['page'],
63
+ 'per_page' => $args['per_page'],
64
+ 'from' => $from,
65
+ 'to' => $to,
66
+ 'last_page' => $lastPage,
67
+ 'total' => $count,
68
+ 'data' => $data,
69
+ ];
70
+ }
71
+
72
+ public function find($submissionId)
73
+ {
74
+ $submission = wpFluent()->table('fluentform_submissions')->find($submissionId);
75
+ $submission->response = json_decode($submission->response);
76
+ return $submission;
77
+ }
78
+
79
+ public function transactions($columnValue, $column = 'submission_id')
80
+ {
81
+ if (!defined('FLUENTFORMPRO')) {
82
+ return [];
83
+ }
84
+
85
+ return wpFluent()->table('fluentform_transactions')
86
+ ->where($column, $columnValue)
87
+ ->get();
88
+ }
89
+
90
+ public function transaction($columnValue, $column = 'id')
91
+ {
92
+ if (!defined('FLUENTFORMPRO')) {
93
+ return [];
94
+ }
95
+
96
+ return wpFluent()->table('fluentform_transactions')
97
+ ->where($column, $columnValue)
98
+ ->first();
99
+ }
100
+
101
+ public function subscriptions($submissionId, $withTransactions = false)
102
+ {
103
+ if (!defined('FLUENTFORMPRO')) {
104
+ return [];
105
+ }
106
+
107
+ $subscriptions = wpFluent()->table('fluentform_subscriptions')
108
+ ->where('submission_id', $submissionId)
109
+ ->get();
110
+
111
+ if ($withTransactions) {
112
+ foreach ($subscriptions as $subscription) {
113
+ $subscription->transactions = $this->transactionsBySubscriptionId($subscription->id);
114
+ }
115
+ }
116
+
117
+ return $subscriptions;
118
+ }
119
+
120
+ public function getSubscription($subscriptionId, $withTransactions = false)
121
+ {
122
+ if (!defined('FLUENTFORMPRO')) {
123
+ return [];
124
+ }
125
+
126
+ $subscription = wpFluent()->table('fluentform_subscriptions')
127
+ ->where('id', $subscriptionId)
128
+ ->first();
129
+
130
+ if (!$subscription) {
131
+ return false;
132
+ }
133
+
134
+ if ($withTransactions) {
135
+ $subscription->transactions = $this->transactionsBySubscriptionId($subscription->id);
136
+
137
+ }
138
+
139
+ return $subscription;
140
+ }
141
+
142
+ public function transactionsByUserId($userId = false, $args = [])
143
+ {
144
+ if (!defined('FLUENTFORMPRO')) {
145
+ return [];
146
+ }
147
+
148
+ if (!$userId) {
149
+ $userId = get_current_user_id();
150
+ }
151
+ if (!$userId) {
152
+ return [];
153
+ }
154
+
155
+ $user = get_user_by('ID', $userId);
156
+
157
+ if (!$user) {
158
+ return [];
159
+ }
160
+
161
+ $args = wp_parse_args($args, [
162
+ 'transaction_types' => [],
163
+ 'statuses' => [],
164
+ 'grouped' => false
165
+ ]);
166
+
167
+ $query = wpFluent()->table('fluentform_transactions')
168
+ ->orderBy('id', 'DESC')
169
+ ->where(function ($q) use ($user) {
170
+ $q->where('user_id', $user->ID)
171
+ ->orderBy('id', 'DESC')
172
+ ->orWhere('payer_email', $user->user_email);
173
+ });
174
+
175
+ if (!empty($args['transaction_types'])) {
176
+ $query->whereIn('transaction_type', $args['transaction_types']);
177
+ }
178
+
179
+ if (!empty($args['statuses'])) {
180
+ $query->whereIn('status', $args['statuses']);
181
+ }
182
+
183
+ if (!empty($args['grouped'])) {
184
+ $query->groupBy('submission_id');
185
+ }
186
+
187
+ return $query->get();
188
+
189
+ }
190
+
191
+ public function transactionsBySubscriptionId($subscriptionId)
192
+ {
193
+ if (!defined('FLUENTFORMPRO')) {
194
+ return [];
195
+ }
196
+
197
+ return wpFluent()->table('fluentform_transactions')
198
+ ->where('subscription_id', $subscriptionId)
199
+ ->orderBy('id', 'DESC')
200
+ ->get();
201
+ }
202
+
203
+ public function transactionsBySubmissionId($submissionId)
204
+ {
205
+ if (!defined('FLUENTFORMPRO')) {
206
+ return [];
207
+ }
208
+
209
+ return wpFluent()->table('fluentform_transactions')
210
+ ->where('submission_id', $submissionId)
211
+ ->get();
212
+ }
213
+
214
+ public function subscriptionsByUserId($userId = false, $args = [])
215
+ {
216
+ if (!defined('FLUENTFORMPRO')) {
217
+ return [];
218
+ }
219
+
220
+ if (!$userId) {
221
+ $userId = get_current_user_id();
222
+ }
223
+ if (!$userId) {
224
+ return [];
225
+ }
226
+
227
+ $user = get_user_by('ID', $userId);
228
+
229
+ if (!$user) {
230
+ return [];
231
+ }
232
+
233
+ $args = wp_parse_args($args, [
234
+ 'statuses' => [],
235
+ 'form_title' => false
236
+ ]);
237
+
238
+ $submissions = wpFluent()->table('fluentform_submissions')
239
+ ->select(['id', 'currency'])
240
+ ->where('user_id', $userId)
241
+ ->where('payment_type', 'subscription')
242
+ ->get();
243
+
244
+ if (!$submissions) {
245
+ return [];
246
+ }
247
+
248
+ $submissionIds = [];
249
+ $currencyMaps = [];
250
+ foreach ($submissions as $submission) {
251
+ $submissionIds[] = $submission->id;
252
+ $currencyMaps[$submission->id] = $submission->currency;
253
+ }
254
+
255
+ $query = wpFluent()->table('fluentform_subscriptions')
256
+ ->select(['fluentform_subscriptions.*'])
257
+ ->orderBy('id', 'DESC')
258
+ ->whereIn('submission_id', $submissionIds);
259
+
260
+ if ($args['statuses']) {
261
+ $query->whereIn('status', $args['statuses']);
262
+ }
263
+
264
+ if ($args['form_title']) {
265
+ $query->select(['fluentform_forms.title'])
266
+ ->leftJoin('fluentform_forms', 'fluentform_forms.id', '=', 'fluentform_subscriptions.form_id');
267
+ }
268
+
269
+ $subscriptions = $query->get();
270
+ foreach ($subscriptions as $subscription) {
271
+ $subscription->currency = ArrayHelper::get($currencyMaps, $subscription->submission_id);
272
+ }
273
+ return $subscriptions;
274
+ }
275
+
276
+ }
app/Global/Common.php CHANGED
@@ -206,5 +206,9 @@ function fluentFormApi($module = 'forms')
206
  {
207
  if($module == 'forms') {
208
  return (new \FluentForm\App\Api\Form());
 
 
209
  }
210
- }
 
 
206
  {
207
  if($module == 'forms') {
208
  return (new \FluentForm\App\Api\Form());
209
+ } else if($module == 'submissions') {
210
+ return (new \FluentForm\App\Api\Submission());
211
  }
212
+
213
+ throw new \Exception('No Module found with name '. $module);
214
+ }
app/Hooks/Ajax.php CHANGED
@@ -164,6 +164,17 @@ $app->addAdminAjaxAction('fluentform-get-entry', function () use ($app) {
164
  (new \FluentForm\App\Modules\Entries\Entries())->getEntry();
165
  });
166
 
 
 
 
 
 
 
 
 
 
 
 
167
  $app->addAdminAjaxAction('fluentform-get-entry-notes', function () use ($app) {
168
  Acl::verify('fluentform_entries_viewer');
169
  (new \FluentForm\App\Modules\Entries\Entries())->getNotes();
164
  (new \FluentForm\App\Modules\Entries\Entries())->getEntry();
165
  });
166
 
167
+ $app->addAdminAjaxAction('fluentform-update-entry-user', function () use ($app) {
168
+ Acl::verify('fluentform_entries_viewer');
169
+ (new \FluentForm\App\Modules\Entries\Entries())->changeEntryUser();
170
+ });
171
+
172
+ $app->addAdminAjaxAction('fluentform-get-users', function () use ($app) {
173
+ Acl::verify('fluentform_entries_viewer');
174
+ (new \FluentForm\App\Modules\Entries\Entries())->getUsers();
175
+ });
176
+
177
+
178
  $app->addAdminAjaxAction('fluentform-get-entry-notes', function () use ($app) {
179
  Acl::verify('fluentform_entries_viewer');
180
  (new \FluentForm\App\Modules\Entries\Entries())->getNotes();
app/Hooks/Backend.php CHANGED
@@ -83,7 +83,7 @@ add_action('admin_init', function () {
83
  'fluent_forms_all_entries',
84
  'msformentries'
85
  ];
86
-
87
  if (isset($_GET['page']) && in_array($_GET['page'], $disablePages)) {
88
  remove_all_actions('admin_notices');
89
  }
@@ -101,7 +101,8 @@ add_action('enqueue_block_editor_assets', function () use ($app) {
101
  wp_enqueue_script(
102
  'fluentform-gutenberg-block',
103
  $app->publicUrl("js/fluent_gutenblock.js"),
104
- array('wp-blocks', 'wp-i18n', 'wp-element', 'wp-components', 'wp-editor')
 
105
  );
106
 
107
  $forms = wpFluent()->table('fluentform_forms')
@@ -110,12 +111,12 @@ add_action('enqueue_block_editor_assets', function () use ($app) {
110
  ->get();
111
 
112
  array_unshift($forms, (object)[
113
- 'id' => '',
114
  'title' => __('-- Select a form --', 'fluentform')
115
  ]);
116
 
117
  wp_localize_script('fluentform-gutenberg-block', 'fluentform_block_vars', [
118
- 'logo' => $app->publicUrl('img/fluent_icon.png'),
119
  'forms' => $forms
120
  ]);
121
 
@@ -145,6 +146,11 @@ add_action('wp_print_scripts', function () {
145
 
146
  $pluginUrl = plugins_url();
147
  foreach ($wp_scripts->queue as $script) {
 
 
 
 
 
148
  $src = $wp_scripts->registered[$script]->src;
149
  if (strpos($src, $pluginUrl) !== false && !strpos($src, 'fluentform') !== false) {
150
  wp_dequeue_script($wp_scripts->registered[$script]->handle);
@@ -177,10 +183,10 @@ add_action('fluentform_loading_editor_assets', function ($form) {
177
  $oldOptions = \FluentForm\Framework\Helpers\ArrayHelper::get($element, 'options', []);
178
  foreach ($oldOptions as $value => $label) {
179
  $formattedOptions[] = [
180
- 'label' => $label,
181
- 'value' => $value,
182
  'calc_value' => '',
183
- 'image' => ''
184
  ];
185
  }
186
  $element['settings']['advanced_options'] = $formattedOptions;
@@ -206,11 +212,11 @@ add_action('fluentform_loading_editor_assets', function ($form) {
206
  $element['settings']['randomize_options'] = 'no';
207
  }
208
 
209
- if($upgradeElement == 'select' && \FluentForm\Framework\Helpers\ArrayHelper::get($element, 'attributes.multiple') && empty($element['settings']['max_selection'])) {
210
  $element['settings']['max_selection'] = '';
211
  }
212
 
213
- if(($upgradeElement == 'select' || $upgradeElement = 'select_country') && !isset($element['settings']['enable_select_2'])) {
214
  $element['settings']['enable_select_2'] = 'no';
215
  }
216
 
@@ -286,7 +292,7 @@ add_action('fluentform_loading_editor_assets', function ($form) {
286
  });
287
 
288
  add_filter('fluentform_editor_init_element_input_text', function ($item) {
289
- if(isset($item['attributes']['data-mask'])) {
290
  if (!isset($item['settings']['data-mask-reverse'])) {
291
  $item['settings']['data-mask-reverse'] = 'no';
292
  }
@@ -330,7 +336,7 @@ add_action('fluentform_addons_page_render_fluentform_pdf', function () {
330
  }
331
 
332
  echo \FluentForm\View::make('admin.addons.pdf_promo', [
333
- 'install_url' => $url,
334
  'is_installed' => defined('FLUENTFORM_PDF_VERSION')
335
  ]);
336
  });
83
  'fluent_forms_all_entries',
84
  'msformentries'
85
  ];
86
+
87
  if (isset($_GET['page']) && in_array($_GET['page'], $disablePages)) {
88
  remove_all_actions('admin_notices');
89
  }
101
  wp_enqueue_script(
102
  'fluentform-gutenberg-block',
103
  $app->publicUrl("js/fluent_gutenblock.js"),
104
+ array('wp-element', 'wp-polyfill'),
105
+ FLUENTFORM_VERSION
106
  );
107
 
108
  $forms = wpFluent()->table('fluentform_forms')
111
  ->get();
112
 
113
  array_unshift($forms, (object)[
114
+ 'id' => '',
115
  'title' => __('-- Select a form --', 'fluentform')
116
  ]);
117
 
118
  wp_localize_script('fluentform-gutenberg-block', 'fluentform_block_vars', [
119
+ 'logo' => $app->publicUrl('img/fluent_icon.png'),
120
  'forms' => $forms
121
  ]);
122
 
146
 
147
  $pluginUrl = plugins_url();
148
  foreach ($wp_scripts->queue as $script) {
149
+
150
+ if (!isset($wp_scripts->registered[$script])) {
151
+ continue;
152
+ }
153
+
154
  $src = $wp_scripts->registered[$script]->src;
155
  if (strpos($src, $pluginUrl) !== false && !strpos($src, 'fluentform') !== false) {
156
  wp_dequeue_script($wp_scripts->registered[$script]->handle);
183
  $oldOptions = \FluentForm\Framework\Helpers\ArrayHelper::get($element, 'options', []);
184
  foreach ($oldOptions as $value => $label) {
185
  $formattedOptions[] = [
186
+ 'label' => $label,
187
+ 'value' => $value,
188
  'calc_value' => '',
189
+ 'image' => ''
190
  ];
191
  }
192
  $element['settings']['advanced_options'] = $formattedOptions;
212
  $element['settings']['randomize_options'] = 'no';
213
  }
214
 
215
+ if ($upgradeElement == 'select' && \FluentForm\Framework\Helpers\ArrayHelper::get($element, 'attributes.multiple') && empty($element['settings']['max_selection'])) {
216
  $element['settings']['max_selection'] = '';
217
  }
218
 
219
+ if (($upgradeElement == 'select' || $upgradeElement = 'select_country') && !isset($element['settings']['enable_select_2'])) {
220
  $element['settings']['enable_select_2'] = 'no';
221
  }
222
 
292
  });
293
 
294
  add_filter('fluentform_editor_init_element_input_text', function ($item) {
295
+ if (isset($item['attributes']['data-mask'])) {
296
  if (!isset($item['settings']['data-mask-reverse'])) {
297
  $item['settings']['data-mask-reverse'] = 'no';
298
  }
336
  }
337
 
338
  echo \FluentForm\View::make('admin.addons.pdf_promo', [
339
+ 'install_url' => $url,
340
  'is_installed' => defined('FLUENTFORM_PDF_VERSION')
341
  ]);
342
  });
app/Hooks/Common.php CHANGED
@@ -51,23 +51,23 @@ add_action('wp', function () use ($app) {
51
  // @todo: We will remove the fluentform_pages check from April 2021
52
  if ((isset($_GET['fluent_forms_pages']) || isset($_GET['fluentform_pages']))) {
53
 
54
- if(empty(isset($_GET['fluent_forms_pages'])) && empty($_GET['fluentform_pages'])) {
55
  return;
56
  }
57
 
58
  add_action('wp_enqueue_scripts', function () use ($app) {
59
  wp_enqueue_script('jquery');
60
- wp_enqueue_script(
61
- 'fluent_forms_global',
62
- $app->publicUrl('js/fluent_forms_global.js'),
63
- array('jquery'),
64
- FLUENTFORM_VERSION,
65
- true
66
- );
67
- wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
68
- 'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
69
- 'ajaxurl' => admin_url('admin-ajax.php')
70
- ]);
71
  wp_enqueue_style('fluent-form-styles');
72
  $form = wpFluent()->table('fluentform_forms')->find(intval($_REQUEST['preview_id']));
73
  if (apply_filters('fluentform_load_default_public', true, $form)) {
@@ -111,13 +111,13 @@ foreach ($elements as $element) {
111
  }
112
 
113
  if (in_array($field['element'], array('gdpr_agreement', 'terms_and_condition'))) {
114
- if(!empty($response)){
115
  $response = __('Accepted', 'fluentform');
116
  }
117
  }
118
 
119
  if ($response && $isLabel && in_array($element, ['select', 'input_radio']) && !is_array($response)) {
120
- if(!isset($field['options'])) {
121
  $field['options'] = [];
122
  foreach (\FluentForm\Framework\Helpers\ArrayHelper::get($field, 'raw.settings.advanced_options', []) as $option) {
123
  $field['options'][$option['value']] = $option['label'];
@@ -407,4 +407,35 @@ $app->addFilter('fluentform_response_render_input_number', function ($response,
407
  }, 10, 4);
408
 
409
 
410
- new \FluentForm\App\Services\FormBuilder\Components\CustomSubmitButton();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
51
  // @todo: We will remove the fluentform_pages check from April 2021
52
  if ((isset($_GET['fluent_forms_pages']) || isset($_GET['fluentform_pages']))) {
53
 
54
+ if (empty(isset($_GET['fluent_forms_pages'])) && empty($_GET['fluentform_pages'])) {
55
  return;
56
  }
57
 
58
  add_action('wp_enqueue_scripts', function () use ($app) {
59
  wp_enqueue_script('jquery');
60
+ wp_enqueue_script(
61
+ 'fluent_forms_global',
62
+ $app->publicUrl('js/fluent_forms_global.js'),
63
+ array('jquery'),
64
+ FLUENTFORM_VERSION,
65
+ true
66
+ );
67
+ wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
68
+ 'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
69
+ 'ajaxurl' => admin_url('admin-ajax.php')
70
+ ]);
71
  wp_enqueue_style('fluent-form-styles');
72
  $form = wpFluent()->table('fluentform_forms')->find(intval($_REQUEST['preview_id']));
73
  if (apply_filters('fluentform_load_default_public', true, $form)) {
111
  }
112
 
113
  if (in_array($field['element'], array('gdpr_agreement', 'terms_and_condition'))) {
114
+ if (!empty($response)) {
115
  $response = __('Accepted', 'fluentform');
116
  }
117
  }
118
 
119
  if ($response && $isLabel && in_array($element, ['select', 'input_radio']) && !is_array($response)) {
120
+ if (!isset($field['options'])) {
121
  $field['options'] = [];
122
  foreach (\FluentForm\Framework\Helpers\ArrayHelper::get($field, 'raw.settings.advanced_options', []) as $option) {
123
  $field['options'][$option['value']] = $option['label'];
407
  }, 10, 4);
408
 
409
 
410
+ new \FluentForm\App\Services\FormBuilder\Components\CustomSubmitButton();
411
+
412
+ register_block_type('fluentfom/guten-block', array(
413
+ 'render_callback' => function ($atts) {
414
+
415
+ if(empty($atts['formId'])) {
416
+ return '';
417
+ }
418
+
419
+ $className = \FluentForm\Framework\Helpers\ArrayHelper::get($atts, 'className');
420
+
421
+ if ($className) {
422
+ $classes = explode(' ', $className);
423
+ $className = '';
424
+ if (!empty($classes)) {
425
+ foreach ($classes as $class) {
426
+ $className .= sanitize_html_class($class) . " ";
427
+ }
428
+ }
429
+ }
430
+
431
+ return do_shortcode('[fluentform css_classes="' . $className . ' ff_guten_block" id="' . $atts['formId'] . '"]');
432
+ },
433
+ 'attributes' => array(
434
+ 'formId' => array(
435
+ 'type' => 'string'
436
+ ),
437
+ 'className' => array(
438
+ 'type' => 'string'
439
+ )
440
+ )
441
+ ));
app/Hooks/Frontend.php CHANGED
@@ -11,3 +11,16 @@
11
  // }
12
  // });
13
  //}
 
 
 
 
 
 
 
 
 
 
 
 
 
11
  // }
12
  // });
13
  //}
14
+
15
+
16
+ /*
17
+ * Exclude For WP Rocket Settings
18
+ */
19
+ if(defined('WP_ROCKET_VERSION')) {
20
+ add_filter('rocket_excluded_inline_js_content', function ($lines) {
21
+ $lines[] = 'fluent_form_ff_form_instance';
22
+ $lines[] = 'fluentFormVars';
23
+ $lines[] = 'fluentform_payment';
24
+ return $lines;
25
+ });
26
+ }
app/Modules/Activator.php CHANGED
@@ -159,11 +159,11 @@ class Activator
159
 
160
  if (!$firstForm) {
161
  $forms = [
162
- '[{"id":"9","title":"Contact Form Demo","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570866006692"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570866012914"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"Subject","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"uniqElKey":"el_1570878958648"},{"index":3,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Your Message","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"uniqElKey":"el_1570879001207"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"","conditions":null,"created_by":"1","created_at":"2021-06-08 04:56:28","updated_at":"2021-06-08 04:56:28","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message. We will get in touch with you shortly\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"selectedDays\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"],\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"cssClassName\":\"\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"advancedValidationSettings","value":"{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":\"\",\"operator\":\"=\",\"value\":\"\"}],\"error_message\":\"\",\"validation_type\":\"fail_on_condition_met\"}"},{"meta_key":"double_optin_settings","value":"{\"status\":\"no\",\"confirmation_message\":\"Please check your email inbox to confirm this submission\",\"email_body_type\":\"global\",\"email_subject\":\"Please confirm your form submission\",\"email_body\":\"<h2>Please Confirm Your Submission<\/h2><p>&nbsp;<\/p><p style=\"text-align: center;\"><a style=\"color: #ffffff; background-color: #454545; font-size: 16px; border-radius: 5px; text-decoration: none; font-weight: normal; font-style: normal; padding: 0.8rem 1rem; border-color: #0072ff;\" href=\"#confirmation_url#\">Confirm Submission<\/a><\/p><p>&nbsp;<\/p><p>If you received this email by mistake, simply delete it. Your form submission won\'t proceed if you don\'t click the confirmation link above.<\/p>\",\"email_field\":\"\",\"skip_if_logged_in\":\"yes\",\"skip_if_fc_subscribed\":\"no\"}"}]}]',
163
- '[{"id":"8","title":"Subscription Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":1,"element":"container","attributes":[],"settings":{"container_class":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Your Email Address"},"settings":{"container_class":"","label":"","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_16231279686950.8779857923682932"}]},{"fields":[{"index":15,"element":"custom_submit_button","attributes":{"class":"","type":"submit"},"settings":{"button_style":"","button_size":"md","align":"left","container_class":"","current_state":"normal_styles","background_color":"","color":"","hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":"100%"},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":"100%"},"button_ui":{"text":"Subscribe","type":"default","img_url":""},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom Submit Button","icon_class":"dashicons dashicons-arrow-right-alt","template":"customButton"},"uniqElKey":"el_16231279798380.5947400167493171"}]}],"editor_options":{"title":"Two Column Container","icon_class":"ff-edit-column-2"},"uniqElKey":"el_16231279284710.40955091024524304"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Subscribe","img_url":""}},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"form","conditions":null,"created_by":"1","created_at":"2021-06-08 04:51:36","updated_at":"2021-06-08 04:54:02","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message. We will get in touch with you shortly\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"[{inputs.names}] New Form Submission\",\"message\":\"<p>{all_data}<\\\/p>\\n<p>This form submitted at: {embed_post.permalink}<\\\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\"}"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"_primary_email_field","value":"email"}]}]'
164
  ];
165
 
166
- foreach ($forms as $formJson) {
167
  $structure = json_decode($formJson, true)[0];
168
 
169
  $insertData = [
159
 
160
  if (!$firstForm) {
161
  $forms = [
162
+ '[{"id":"9","title":"Contact Form Demo","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570866006692"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570866012914"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"Subject","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"uniqElKey":"el_1570878958648"},{"index":3,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Your Message","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"uniqElKey":"el_1570879001207"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"","conditions":null,"created_by":"1","created_at":"2021-06-08 04:56:28","updated_at":"2021-06-08 04:56:28","metas":[{"meta_key": "template_name","value": "basic_contact_form"},{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message. We will get in touch with you shortly\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"selectedDays\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"],\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"cssClassName\":\"\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"advancedValidationSettings","value":"{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":\"\",\"operator\":\"=\",\"value\":\"\"}],\"error_message\":\"\",\"validation_type\":\"fail_on_condition_met\"}"},{"meta_key":"double_optin_settings","value":"{\"status\":\"no\",\"confirmation_message\":\"Please check your email inbox to confirm this submission\",\"email_body_type\":\"global\",\"email_subject\":\"Please confirm your form submission\",\"email_body\":\"<h2>Please Confirm Your Submission<\/h2><p>&nbsp;<\/p><p style=\"text-align: center;\"><a style=\"color: #ffffff; background-color: #454545; font-size: 16px; border-radius: 5px; text-decoration: none; font-weight: normal; font-style: normal; padding: 0.8rem 1rem; border-color: #0072ff;\" href=\"#confirmation_url#\">Confirm Submission<\/a><\/p><p>&nbsp;<\/p><p>If you received this email by mistake, simply delete it. Your form submission won\'t proceed if you don\'t click the confirmation link above.<\/p>\",\"email_field\":\"\",\"skip_if_logged_in\":\"yes\",\"skip_if_fc_subscribed\":\"no\"}"}]}]',
163
+ '[{"id":"8","title":"Subscription Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":1,"element":"container","attributes":[],"settings":{"container_class":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Your Email Address"},"settings":{"container_class":"","label":"","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_16231279686950.8779857923682932"}]},{"fields":[{"index":15,"element":"custom_submit_button","attributes":{"class":"","type":"submit"},"settings":{"button_style":"","button_size":"md","align":"left","container_class":"","current_state":"normal_styles","background_color":"","color":"","hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":"100%"},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":"100%"},"button_ui":{"text":"Subscribe","type":"default","img_url":""},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom Submit Button","icon_class":"dashicons dashicons-arrow-right-alt","template":"customButton"},"uniqElKey":"el_16231279798380.5947400167493171"}]}],"editor_options":{"title":"Two Column Container","icon_class":"ff-edit-column-2"},"uniqElKey":"el_16231279284710.40955091024524304"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Subscribe","img_url":""}},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"form","conditions":null,"created_by":"1","created_at":"2021-06-08 04:51:36","updated_at":"2021-06-08 04:54:02","metas":[{"meta_key": "template_name","value": "inline_subscription"},{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message. We will get in touch with you shortly\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"[{inputs.names}] New Form Submission\",\"message\":\"<p>{all_data}<\\\/p>\\n<p>This form submitted at: {embed_post.permalink}<\\\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\"}"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"_primary_email_field","value":"email"}]}]'
164
  ];
165
 
166
+ foreach ($forms as $index => $formJson) {
167
  $structure = json_decode($formJson, true)[0];
168
 
169
  $insertData = [
app/Modules/Component/Component.php CHANGED
@@ -74,7 +74,7 @@ class Component
74
 
75
  // Date Pickckr Style
76
  //fix for essential addon event picker conflict
77
- if (!wp_script_is( 'flatpickr', 'registered' )) {
78
  wp_register_style(
79
  'flatpickr',
80
  $app->publicUrl('libs/flatpickr/flatpickr.min.css')
@@ -140,7 +140,7 @@ class Component
140
  $formId = intval($_REQUEST['formId']);
141
  $components = $this->app->make('components');
142
 
143
- $this->app->doAction( 'fluent_editor_init', $components );
144
 
145
  $editorComponents = $components->sort()->toArray();
146
  $editorComponents = apply_filters('fluent_editor_components', $editorComponents, $formId);
@@ -148,8 +148,8 @@ class Component
148
  $countries = $this->app->load($this->app->appPath('Services/FormBuilder/CountryNames.php'));
149
 
150
  wp_send_json_success(array(
151
- 'countries' => $countries,
152
- 'components' => $editorComponents,
153
  'disabled_components' => $this->getDisabledComponents()
154
  ));
155
  }
@@ -165,23 +165,23 @@ class Component
165
  $isReCaptchaDisabled = !get_option('_fluentform_reCaptcha_keys_status', false);
166
 
167
  $disabled = array(
168
- 'recaptcha' => array(
169
  'contentComponent' => 'recaptcha',
170
- 'disabled' => $isReCaptchaDisabled
171
  ),
172
  'input_image' => array(
173
  'disabled' => true
174
  ),
175
- 'input_file' => array(
176
  'disabled' => true
177
  ),
178
- 'shortcode' => array(
179
  'disabled' => true
180
  ),
181
  'action_hook' => array(
182
  'disabled' => true
183
  ),
184
- 'form_step' => array(
185
  'disabled' => true
186
  )
187
  );
@@ -214,21 +214,21 @@ class Component
214
  );
215
 
216
  $disabled['multi_payment_component'] = array(
217
- 'disabled' => true,
218
  'is_payment' => true
219
  );
220
  $disabled['custom_payment_component'] = array(
221
- 'disabled' => true,
222
  'is_payment' => true
223
  );
224
 
225
  $disabled['item_quantity_component'] = array(
226
- 'disabled' => true,
227
  'is_payment' => true
228
  );
229
 
230
  $disabled['payment_method'] = array(
231
- 'disabled' => true,
232
  'is_payment' => true
233
  );
234
  }
@@ -267,15 +267,16 @@ class Component
267
  */
268
  public function addFluentFormShortCode()
269
  {
270
-
271
  add_action('wp_enqueue_scripts', array($this, 'registerScripts'), 9);
272
 
273
  $this->app->addShortCode('fluentform', function ($atts, $content) {
274
  $shortcodeDefaults = apply_filters('fluentform_shortcode_defaults', array(
275
- 'id' => null,
276
- 'title' => null,
277
- 'permission' => '',
278
- 'type' => 'classic',
 
279
  'permission_message' => __('Sorry, You do not have permission to view this form', 'fluentform')
280
  ), $atts);
281
 
@@ -286,15 +287,15 @@ class Component
286
 
287
  $this->app->addShortCode('fluentform_info', function ($atts) {
288
  $shortcodeDefaults = apply_filters('fluentform_info_shortcode_defaults', array(
289
- 'id' => null, // This is the form id
290
- 'info' => 'submission_count', // submission_count | created_at | updated_at | payment_total
291
- 'status' => 'all', // get submission cound of a particular entry status favourites | unread | read
292
- 'with_trashed' => 'no', // yes | no
293
- 'substract_from' => 0, // [fluentform_info id="2" info="submission_count" substract_from="20"]
294
- 'hide_on_zero' => 'no',
295
- 'payment_status' => 'paid', // it can be all / specific payment status
296
  'currency_formatted' => 'yes',
297
- 'date_format' => ''
298
  ), $atts);
299
 
300
  $atts = shortcode_atts($shortcodeDefaults, $atts);
@@ -444,9 +445,9 @@ class Component
444
  }
445
  }
446
 
447
- if(is_feed()) {
448
  global $post;
449
- $feedText = sprintf( __( 'The form can be filled in the actual <a href="%s">website url</a>.', 'fluentform' ), get_permalink($post));
450
  $feedText = apply_filters('fluentform_shortcode_feed_text', $feedText, $form);
451
  return $feedText;
452
  }
@@ -471,7 +472,7 @@ class Component
471
  $form = $this->app->applyFilters('fluentform_rendering_form', $form);
472
 
473
  $isRenderable = array(
474
- 'status' => true,
475
  'message' => ''
476
  );
477
 
@@ -487,12 +488,15 @@ class Component
487
  $form->instance_index = Helper::$formInstance;
488
 
489
 
490
- if($atts['type'] == 'conversational') {
491
  return (new \FluentForm\App\Services\FluentConversational\Classes\Form())->renderShortcode($form);
492
  }
493
 
494
  $formBuilder = $this->app->make('formBuilder');
495
- $output = $formBuilder->build($form, $instanceCssClass . ' ff-form-loading', $instanceCssClass);
 
 
 
496
 
497
  $output = $this->replaceEditorSmartCodes($output, $form);
498
 
@@ -513,24 +517,24 @@ class Component
513
  $stepText = __('Step %activeStep% of %totalStep% - %stepTitle%', 'fluentform');
514
  $stepText = apply_filters('fluentform_step_string', $stepText);
515
  $vars = apply_filters('fluentform_global_form_vars', array(
516
- 'ajaxUrl' => admin_url('admin-ajax.php'),
517
- 'forms' => array(),
518
- 'step_text' => $stepText,
519
- 'is_rtl' => is_rtl(),
520
- 'date_i18n' => $this->getDatei18n(),
521
- 'pro_version' => (defined('FLUENTFORMPRO_VERSION')) ? FLUENTFORMPRO_VERSION : false,
522
- 'fluentform_version' => FLUENTFORM_VERSION,
523
- 'force_init' => false,
524
  'stepAnimationDuration' => 350,
525
- 'upload_completed_txt' => __('100% Completed', 'fluentform'),
526
- 'upload_start_txt' => __('0% Completed', 'fluentform'),
527
- 'uploading_txt' => __('Uploading', 'fluentform'),
528
- 'choice_js_vars' => [
529
- 'noResultsText' => __('No results found', 'fluentform'),
530
- 'loadingText' => __('Loading...', 'fluentform'),
531
- 'noChoicesText' => __('No choices to choose from', 'fluentform'),
532
  'itemSelectText' => __('Press to select', 'fluentform'),
533
- 'maxItemTextLang' => 'Only %%maxItemCount%% values can be added'
534
  ]
535
  ));
536
 
@@ -545,11 +549,11 @@ class Component
545
  ];
546
 
547
  $form_vars = array(
548
- 'id' => $form->id,
549
- 'settings' => $formSettings,
550
- 'form_instance' => $instanceCssClass,
551
  'form_id_selector' => 'fluentform_' . $form->id,
552
- 'rules' => $formBuilder->validationRules
553
  );
554
 
555
  if ($conditionals = $formBuilder->conditions) {
@@ -557,7 +561,7 @@ class Component
557
  }
558
 
559
  if ($form->has_payment) {
560
- do_action('fluentform_rending_payment_form', $form);
561
  }
562
 
563
  $otherScripts = '';
@@ -567,7 +571,7 @@ class Component
567
  window.fluent_form_<?php echo $instanceCssClass; ?> = <?php echo json_encode($form_vars);?>;
568
  <?php if(wp_doing_ajax()): ?>
569
  function initFFInstance_<?php echo $form_vars['id']; ?>() {
570
- if(!window.fluentFormApp) {
571
  console.log('No fluentFormApp found');
572
  return;
573
  }
@@ -634,17 +638,17 @@ class Component
634
  public function addRendererActions()
635
  {
636
  $actionMappings = [
637
- 'Select@compile' => ['fluentform_render_item_select'],
638
- 'Rating@compile' => ['fluentform_render_item_ratings'],
639
- 'Address@compile' => ['fluentform_render_item_address'],
640
- 'Name@compile' => ['fluentform_render_item_input_name'],
641
- 'TextArea@compile' => ['fluentform_render_item_textarea'],
642
- 'DateTime@compile' => ['fluentform_render_item_input_date'],
643
- 'Recaptcha@compile' => ['fluentform_render_item_recaptcha'],
644
- 'Container@compile' => ['fluentform_render_item_container'],
645
- 'CustomHtml@compile' => ['fluentform_render_item_custom_html'],
646
- 'SectionBreak@compile' => ['fluentform_render_item_section_break'],
647
- 'SubmitButton@compile' => ['fluentform_render_item_submit_button'],
648
  'SelectCountry@compile' => ['fluentform_render_item_select_country'],
649
 
650
  'TermsAndConditions@compile' => [
@@ -807,11 +811,11 @@ class Component
807
 
808
  return false;
809
  }
810
-
811
- $weekDayToday = date("l") ; //day of the week
812
- $selectedWeekDays = ArrayHelper::get ($restrictions,'selectedDays');
813
  //skip if it was not set initially and $selectedWeekDays is null
814
- if( $selectedWeekDays && is_array($selectedWeekDays) && ! in_array ($weekDayToday,$selectedWeekDays)){
815
  $isRenderable['message'] = $restrictions['expiredMsg'];
816
  return false;
817
  }
@@ -888,9 +892,9 @@ class Component
888
  private function getDatei18n()
889
  {
890
  $i18n = array(
891
- 'previousMonth' => __('Previous Month', 'fluentform'),
892
- 'nextMonth' => __('Next Month', 'fluentform'),
893
- 'months' => [
894
  'shorthand' => [
895
  __('Jan', 'fluentform'),
896
  __('Feb', 'fluentform'),
@@ -905,7 +909,7 @@ class Component
905
  __('Nov', 'fluentform'),
906
  __('Dec', 'fluentform')
907
  ],
908
- 'longhand' => [
909
  __('January', 'fluentform'),
910
  __('February', 'fluentform'),
911
  __('March', 'fluentform'),
@@ -920,8 +924,8 @@ class Component
920
  __('December', 'fluentform')
921
  ]
922
  ],
923
- 'weekdays' => [
924
- 'longhand' => array(
925
  __('Sunday', 'fluentform'),
926
  __('Monday', 'fluentform'),
927
  __('Tuesday', 'fluentform'),
@@ -940,7 +944,7 @@ class Component
940
  __('Sat', 'fluentform')
941
  )
942
  ],
943
- 'daysInMonth' => [
944
  31,
945
  28,
946
  31,
@@ -954,15 +958,15 @@ class Component
954
  30,
955
  31
956
  ],
957
- 'rangeSeparator' => __(' to ', 'fluentform'),
958
  'weekAbbreviation' => __('Wk', 'fluentform'),
959
- 'scrollTitle' => __('Scroll to increment', 'fluentform'),
960
- 'toggleTitle' => __('Click to toggle', 'fluentform'),
961
- 'amPM' => [
962
  __('AM', 'fluentform'),
963
  __('PM', 'fluentform')
964
  ],
965
- 'yearAriaLabel' => __('Year', 'fluentform')
966
  );
967
 
968
  return apply_filters('fluentform/date_i18n', $i18n);
@@ -995,7 +999,7 @@ class Component
995
  public function getNumericInputValue($value, $field)
996
  {
997
  $formatter = ArrayHelper::get($field, 'raw.settings.numeric_formatter');
998
- if(!$formatter) {
999
  return $value;
1000
  }
1001
  return Helper::getNumericValue($value, $formatter);
74
 
75
  // Date Pickckr Style
76
  //fix for essential addon event picker conflict
77
+ if (!wp_script_is('flatpickr', 'registered')) {
78
  wp_register_style(
79
  'flatpickr',
80
  $app->publicUrl('libs/flatpickr/flatpickr.min.css')
140
  $formId = intval($_REQUEST['formId']);
141
  $components = $this->app->make('components');
142
 
143
+ $this->app->doAction('fluent_editor_init', $components);
144
 
145
  $editorComponents = $components->sort()->toArray();
146
  $editorComponents = apply_filters('fluent_editor_components', $editorComponents, $formId);
148
  $countries = $this->app->load($this->app->appPath('Services/FormBuilder/CountryNames.php'));
149
 
150
  wp_send_json_success(array(
151
+ 'countries' => $countries,
152
+ 'components' => $editorComponents,
153
  'disabled_components' => $this->getDisabledComponents()
154
  ));
155
  }
165
  $isReCaptchaDisabled = !get_option('_fluentform_reCaptcha_keys_status', false);
166
 
167
  $disabled = array(
168
+ 'recaptcha' => array(
169
  'contentComponent' => 'recaptcha',
170
+ 'disabled' => $isReCaptchaDisabled
171
  ),
172
  'input_image' => array(
173
  'disabled' => true
174
  ),
175
+ 'input_file' => array(
176
  'disabled' => true
177
  ),
178
+ 'shortcode' => array(
179
  'disabled' => true
180
  ),
181
  'action_hook' => array(
182
  'disabled' => true
183
  ),
184
+ 'form_step' => array(
185
  'disabled' => true
186
  )
187
  );
214
  );
215
 
216
  $disabled['multi_payment_component'] = array(
217
+ 'disabled' => true,
218
  'is_payment' => true
219
  );
220
  $disabled['custom_payment_component'] = array(
221
+ 'disabled' => true,
222
  'is_payment' => true
223
  );
224
 
225
  $disabled['item_quantity_component'] = array(
226
+ 'disabled' => true,
227
  'is_payment' => true
228
  );
229
 
230
  $disabled['payment_method'] = array(
231
+ 'disabled' => true,
232
  'is_payment' => true
233
  );
234
  }
267
  */
268
  public function addFluentFormShortCode()
269
  {
270
+
271
  add_action('wp_enqueue_scripts', array($this, 'registerScripts'), 9);
272
 
273
  $this->app->addShortCode('fluentform', function ($atts, $content) {
274
  $shortcodeDefaults = apply_filters('fluentform_shortcode_defaults', array(
275
+ 'id' => null,
276
+ 'title' => null,
277
+ 'css_classes' => '',
278
+ 'permission' => '',
279
+ 'type' => 'classic',
280
  'permission_message' => __('Sorry, You do not have permission to view this form', 'fluentform')
281
  ), $atts);
282
 
287
 
288
  $this->app->addShortCode('fluentform_info', function ($atts) {
289
  $shortcodeDefaults = apply_filters('fluentform_info_shortcode_defaults', array(
290
+ 'id' => null, // This is the form id
291
+ 'info' => 'submission_count', // submission_count | created_at | updated_at | payment_total
292
+ 'status' => 'all', // get submission cound of a particular entry status favourites | unread | read
293
+ 'with_trashed' => 'no', // yes | no
294
+ 'substract_from' => 0, // [fluentform_info id="2" info="submission_count" substract_from="20"]
295
+ 'hide_on_zero' => 'no',
296
+ 'payment_status' => 'paid', // it can be all / specific payment status
297
  'currency_formatted' => 'yes',
298
+ 'date_format' => ''
299
  ), $atts);
300
 
301
  $atts = shortcode_atts($shortcodeDefaults, $atts);
445
  }
446
  }
447
 
448
+ if (is_feed()) {
449
  global $post;
450
+ $feedText = sprintf(__('The form can be filled in the actual <a href="%s">website url</a>.', 'fluentform'), get_permalink($post));
451
  $feedText = apply_filters('fluentform_shortcode_feed_text', $feedText, $form);
452
  return $feedText;
453
  }
472
  $form = $this->app->applyFilters('fluentform_rendering_form', $form);
473
 
474
  $isRenderable = array(
475
+ 'status' => true,
476
  'message' => ''
477
  );
478
 
488
  $form->instance_index = Helper::$formInstance;
489
 
490
 
491
+ if ($atts['type'] == 'conversational') {
492
  return (new \FluentForm\App\Services\FluentConversational\Classes\Form())->renderShortcode($form);
493
  }
494
 
495
  $formBuilder = $this->app->make('formBuilder');
496
+
497
+ $cssClasses = trim($instanceCssClass . ' ff-form-loading');
498
+
499
+ $output = $formBuilder->build($form, $cssClasses, $instanceCssClass, $atts);
500
 
501
  $output = $this->replaceEditorSmartCodes($output, $form);
502
 
517
  $stepText = __('Step %activeStep% of %totalStep% - %stepTitle%', 'fluentform');
518
  $stepText = apply_filters('fluentform_step_string', $stepText);
519
  $vars = apply_filters('fluentform_global_form_vars', array(
520
+ 'ajaxUrl' => admin_url('admin-ajax.php'),
521
+ 'forms' => array(),
522
+ 'step_text' => $stepText,
523
+ 'is_rtl' => is_rtl(),
524
+ 'date_i18n' => $this->getDatei18n(),
525
+ 'pro_version' => (defined('FLUENTFORMPRO_VERSION')) ? FLUENTFORMPRO_VERSION : false,
526
+ 'fluentform_version' => FLUENTFORM_VERSION,
527
+ 'force_init' => false,
528
  'stepAnimationDuration' => 350,
529
+ 'upload_completed_txt' => __('100% Completed', 'fluentform'),
530
+ 'upload_start_txt' => __('0% Completed', 'fluentform'),
531
+ 'uploading_txt' => __('Uploading', 'fluentform'),
532
+ 'choice_js_vars' => [
533
+ 'noResultsText' => __('No results found', 'fluentform'),
534
+ 'loadingText' => __('Loading...', 'fluentform'),
535
+ 'noChoicesText' => __('No choices to choose from', 'fluentform'),
536
  'itemSelectText' => __('Press to select', 'fluentform'),
537
+ 'maxItemText' => __('Only %%maxItemCount%% values can be added', 'fluentform'),
538
  ]
539
  ));
540
 
549
  ];
550
 
551
  $form_vars = array(
552
+ 'id' => $form->id,
553
+ 'settings' => $formSettings,
554
+ 'form_instance' => $instanceCssClass,
555
  'form_id_selector' => 'fluentform_' . $form->id,
556
+ 'rules' => $formBuilder->validationRules
557
  );
558
 
559
  if ($conditionals = $formBuilder->conditions) {
561
  }
562
 
563
  if ($form->has_payment) {
564
+ do_action('fluentform_rendering_payment_form', $form);
565
  }
566
 
567
  $otherScripts = '';
571
  window.fluent_form_<?php echo $instanceCssClass; ?> = <?php echo json_encode($form_vars);?>;
572
  <?php if(wp_doing_ajax()): ?>
573
  function initFFInstance_<?php echo $form_vars['id']; ?>() {
574
+ if (!window.fluentFormApp) {
575
  console.log('No fluentFormApp found');
576
  return;
577
  }
638
  public function addRendererActions()
639
  {
640
  $actionMappings = [
641
+ 'Select@compile' => ['fluentform_render_item_select'],
642
+ 'Rating@compile' => ['fluentform_render_item_ratings'],
643
+ 'Address@compile' => ['fluentform_render_item_address'],
644
+ 'Name@compile' => ['fluentform_render_item_input_name'],
645
+ 'TextArea@compile' => ['fluentform_render_item_textarea'],
646
+ 'DateTime@compile' => ['fluentform_render_item_input_date'],
647
+ 'Recaptcha@compile' => ['fluentform_render_item_recaptcha'],
648
+ 'Container@compile' => ['fluentform_render_item_container'],
649
+ 'CustomHtml@compile' => ['fluentform_render_item_custom_html'],
650
+ 'SectionBreak@compile' => ['fluentform_render_item_section_break'],
651
+ 'SubmitButton@compile' => ['fluentform_render_item_submit_button'],
652
  'SelectCountry@compile' => ['fluentform_render_item_select_country'],
653
 
654
  'TermsAndConditions@compile' => [
811
 
812
  return false;
813
  }
814
+
815
+ $weekDayToday = date("l"); //day of the week
816
+ $selectedWeekDays = ArrayHelper::get($restrictions, 'selectedDays');
817
  //skip if it was not set initially and $selectedWeekDays is null
818
+ if ($selectedWeekDays && is_array($selectedWeekDays) && !in_array($weekDayToday, $selectedWeekDays)) {
819
  $isRenderable['message'] = $restrictions['expiredMsg'];
820
  return false;
821
  }
892
  private function getDatei18n()
893
  {
894
  $i18n = array(
895
+ 'previousMonth' => __('Previous Month', 'fluentform'),
896
+ 'nextMonth' => __('Next Month', 'fluentform'),
897
+ 'months' => [
898
  'shorthand' => [
899
  __('Jan', 'fluentform'),
900
  __('Feb', 'fluentform'),
909
  __('Nov', 'fluentform'),
910
  __('Dec', 'fluentform')
911
  ],
912
+ 'longhand' => [
913
  __('January', 'fluentform'),
914
  __('February', 'fluentform'),
915
  __('March', 'fluentform'),
924
  __('December', 'fluentform')
925
  ]
926
  ],
927
+ 'weekdays' => [
928
+ 'longhand' => array(
929
  __('Sunday', 'fluentform'),
930
  __('Monday', 'fluentform'),
931
  __('Tuesday', 'fluentform'),
944
  __('Sat', 'fluentform')
945
  )
946
  ],
947
+ 'daysInMonth' => [
948
  31,
949
  28,
950
  31,
958
  30,
959
  31
960
  ],
961
+ 'rangeSeparator' => __(' to ', 'fluentform'),
962
  'weekAbbreviation' => __('Wk', 'fluentform'),
963
+ 'scrollTitle' => __('Scroll to increment', 'fluentform'),
964
+ 'toggleTitle' => __('Click to toggle', 'fluentform'),
965
+ 'amPM' => [
966
  __('AM', 'fluentform'),
967
  __('PM', 'fluentform')
968
  ],
969
+ 'yearAriaLabel' => __('Year', 'fluentform')
970
  );
971
 
972
  return apply_filters('fluentform/date_i18n', $i18n);
999
  public function getNumericInputValue($value, $field)
1000
  {
1001
  $formatter = ArrayHelper::get($field, 'raw.settings.numeric_formatter');
1002
+ if (!$formatter) {
1003
  return $value;
1004
  }
1005
  return Helper::getNumericValue($value, $formatter);
app/Modules/Entries/Entries.php CHANGED
@@ -91,11 +91,11 @@ class Entries extends EntryQuery
91
 
92
  $ranges = $this->request->get('date_range', []);
93
 
94
- if(!empty($ranges[0])) {
95
  $from = $ranges[0];
96
  }
97
 
98
- if(!empty($ranges[1])) {
99
  $time = strtotime($ranges[1]) + 24 * 60 * 60;
100
  $to = date('Y-m-d H:i:s', $time);
101
 
@@ -278,15 +278,15 @@ class Entries extends EntryQuery
278
  'fluentform_all_entry_labels_with_payment', $entries['formLabels'], false, $form
279
  );
280
  }
281
- $formId = $this->request->get ( 'form_id' );
282
- $visible_columns = Helper::getFormMeta ( $formId, '_visible_columns', NULL );
283
- $columns_order = Helper::getFormMeta ($formId,'_columns_order',NULL);
284
-
285
  wp_send_json_success([
286
- 'submissions' => apply_filters('fluentform_all_entries', $entries['submissions']),
287
- 'labels' => $labels,
288
- 'visible_columns' => $visible_columns,
289
- 'columns_order' => $columns_order
290
  ], 200);
291
  }
292
 
@@ -355,7 +355,7 @@ class Entries extends EntryQuery
355
 
356
  $order_data = false;
357
 
358
- if ($submission->payment_status || $submission->payment_total) {
359
  $order_data = apply_filters(
360
  'fluentform_submission_order_data', false, $submission, $form
361
  );
@@ -534,7 +534,6 @@ class Entries extends EntryQuery
534
  }
535
  }
536
 
537
-
538
  wpFluent()->table('fluentform_submissions')
539
  ->where('id', $entryId)
540
  ->delete();
@@ -563,6 +562,10 @@ class Entries extends EntryQuery
563
  ->where('submission_id', $entryId)
564
  ->delete();
565
 
 
 
 
 
566
  wpFluent()->table('ff_scheduled_actions')
567
  ->where('origin_id', $entryId)
568
  ->where('type', 'submission_action')
@@ -693,21 +696,28 @@ class Entries extends EntryQuery
693
  $formData = ArrayHelper::except($data, [
694
  '__fluent_form_embded_post_id',
695
  '_fluentform_' . $formId . '_fluentformnonce',
696
- '_wp_http_referer'
 
 
 
 
697
  ]);
698
 
699
  $entryItems = [];
700
  foreach ($formData as $dataKey => $dataValue) {
701
- if (!$dataValue) {
702
  continue;
703
  }
704
 
705
- if (is_array($dataValue)) {
706
  foreach ($dataValue as $subKey => $subValue) {
 
 
 
707
  $entryItems[] = [
708
  'form_id' => $formId,
709
  'submission_id' => $entryId,
710
- 'field_name' => $dataKey,
711
  'sub_field_name' => $subKey,
712
  'field_value' => maybe_serialize($subValue)
713
  ];
@@ -716,7 +726,7 @@ class Entries extends EntryQuery
716
  $entryItems[] = [
717
  'form_id' => $formId,
718
  'submission_id' => $entryId,
719
- 'field_name' => $dataKey,
720
  'sub_field_name' => '',
721
  'field_value' => $dataValue
722
  ];
@@ -771,4 +781,95 @@ class Entries extends EntryQuery
771
 
772
  return true;
773
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
774
  }
91
 
92
  $ranges = $this->request->get('date_range', []);
93
 
94
+ if (!empty($ranges[0])) {
95
  $from = $ranges[0];
96
  }
97
 
98
+ if (!empty($ranges[1])) {
99
  $time = strtotime($ranges[1]) + 24 * 60 * 60;
100
  $to = date('Y-m-d H:i:s', $time);
101
 
278
  'fluentform_all_entry_labels_with_payment', $entries['formLabels'], false, $form
279
  );
280
  }
281
+ $formId = $this->request->get('form_id');
282
+ $visible_columns = Helper::getFormMeta($formId, '_visible_columns', NULL);
283
+ $columns_order = Helper::getFormMeta($formId, '_columns_order', NULL);
284
+
285
  wp_send_json_success([
286
+ 'submissions' => apply_filters('fluentform_all_entries', $entries['submissions']),
287
+ 'labels' => $labels,
288
+ 'visible_columns' => $visible_columns,
289
+ 'columns_order' => $columns_order
290
  ], 200);
291
  }
292
 
355
 
356
  $order_data = false;
357
 
358
+ if ($submission->payment_status || $submission->payment_total || $submission->payment_type === 'subscription') {
359
  $order_data = apply_filters(
360
  'fluentform_submission_order_data', false, $submission, $form
361
  );
534
  }
535
  }
536
 
 
537
  wpFluent()->table('fluentform_submissions')
538
  ->where('id', $entryId)
539
  ->delete();
562
  ->where('submission_id', $entryId)
563
  ->delete();
564
 
565
+ wpFluent()->table('fluentform_subscriptions')
566
+ ->where('submission_id', $entryId)
567
+ ->delete();
568
+
569
  wpFluent()->table('ff_scheduled_actions')
570
  ->where('origin_id', $entryId)
571
  ->where('type', 'submission_action')
696
  $formData = ArrayHelper::except($data, [
697
  '__fluent_form_embded_post_id',
698
  '_fluentform_' . $formId . '_fluentformnonce',
699
+ '_wp_http_referer',
700
+ 'g-recaptcha-response',
701
+ '__stripe_payment_method_id',
702
+ '__ff_all_applied_coupons',
703
+ '__entry_intermediate_hash'
704
  ]);
705
 
706
  $entryItems = [];
707
  foreach ($formData as $dataKey => $dataValue) {
708
+ if (empty($dataValue)) {
709
  continue;
710
  }
711
 
712
+ if (is_array($dataValue) || is_object($dataValue)) {
713
  foreach ($dataValue as $subKey => $subValue) {
714
+ if (empty($subValue)) {
715
+ continue;
716
+ }
717
  $entryItems[] = [
718
  'form_id' => $formId,
719
  'submission_id' => $entryId,
720
+ 'field_name' => trim($dataKey),
721
  'sub_field_name' => $subKey,
722
  'field_value' => maybe_serialize($subValue)
723
  ];
726
  $entryItems[] = [
727
  'form_id' => $formId,
728
  'submission_id' => $entryId,
729
+ 'field_name' => trim($dataKey),
730
  'sub_field_name' => '',
731
  'field_value' => $dataValue
732
  ];
781
 
782
  return true;
783
  }
784
+
785
+ public function getUsers()
786
+ {
787
+ if (!current_user_can('list_users')) {
788
+ wp_send_json_error([
789
+ 'message' => __('Sorry, You do not have permission to list users', 'fluentform')
790
+ ]);
791
+ }
792
+
793
+ $search = sanitize_text_field($this->request->get('search'));
794
+
795
+ $users = get_users(array(
796
+ 'search' => $search,
797
+ 'number' => 50
798
+ ));
799
+
800
+ $formattedUsers = [];
801
+
802
+ foreach ($users as $user) {
803
+ $formattedUsers[] = [
804
+ 'ID' => $user->ID,
805
+ 'label' => $user->display_name . ' - ' . $user->user_email
806
+ ];
807
+ }
808
+
809
+ wp_send_json_success([
810
+ 'users' => $formattedUsers
811
+ ]);
812
+
813
+ }
814
+
815
+ public function changeEntryUser()
816
+ {
817
+ $userId = intval($this->request->get('user_id'));
818
+ $submissionId = intval($this->request->get('submission_id'));
819
+
820
+ if (!$userId || !$submissionId) {
821
+ wp_send_json_error([
822
+ 'message' => __('Submission ID and User ID is required', 'fluentform')
823
+ ], 423);
824
+ }
825
+
826
+ $submission = fluentFormApi('submissions')->find($submissionId);
827
+
828
+ $user = get_user_by('ID', $userId);
829
+
830
+ if (!$submission || $submission->user_id == $userId || !$user) {
831
+ wp_send_json_error([
832
+ 'message' => __('Invalid Request', 'fluentform')
833
+ ], 423);
834
+ }
835
+
836
+ wpFluent()->table('fluentform_submissions')
837
+ ->where('id', $submission->id)
838
+ ->update([
839
+ 'user_id' => $userId,
840
+ 'updated_at' => current_time('mysql')
841
+ ]);
842
+
843
+ if (defined('FLUENTFORMPRO')) {
844
+ // let's update the corresponding user IDs for transactions and
845
+ wpFluent()->table('fluentform_transactions')
846
+ ->where('submission_id', $submission->id)
847
+ ->update([
848
+ 'user_id' => $userId,
849
+ 'updated_at' => current_time('mysql')
850
+ ]);
851
+ }
852
+
853
+ do_action('ff_log_data', [
854
+ 'parent_source_id' => $submission->form_id,
855
+ 'source_type' => 'submission_item',
856
+ 'source_id' => $submission->id,
857
+ 'component' => 'General',
858
+ 'status' => 'info',
859
+ 'title' => 'Associate user has been changed from '.$submission->user_id .' to '.$userId
860
+ ]);
861
+
862
+ do_action('fluentform_submission_user_changed', $submission, $user);
863
+
864
+ wp_send_json_success([
865
+ 'message' => __('Selected user has been successfully assigned to this submission', 'fuentform'),
866
+ 'user' => [
867
+ 'name' => $user->display_name,
868
+ 'email' => $user->user_email,
869
+ 'ID' => $user->ID,
870
+ 'permalink' => get_edit_user_link($user->ID)
871
+ ],
872
+ 'user_id' => $userId
873
+ ]);
874
+ }
875
  }
app/Modules/Form/FormHandler.php CHANGED
@@ -156,7 +156,6 @@ class FormHandler
156
  }
157
  }
158
 
159
-
160
  do_action('fluentform_before_submission_confirmation', $insertId, $formData, $form);
161
 
162
  // that was a typo. We will remove that after september
156
  }
157
  }
158
 
 
159
  do_action('fluentform_before_submission_confirmation', $insertId, $formData, $form);
160
 
161
  // that was a typo. We will remove that after september
app/Modules/Form/Predefined.php CHANGED
@@ -36,18 +36,18 @@ class Predefined extends Form
36
  'json' => '[{"id":"15","title":"Contact Form Demo","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570866006692"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570866012914"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"Subject","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"uniqElKey":"el_1570878958648"},{"index":3,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Your Message","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"uniqElKey":"el_1570879001207"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","asteriskPlacement":"asterisk-right"},"id":"39"},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
37
  ),
38
 
39
- 'conversational' => array(
40
  'screenshot' => App::publicUrl('img/forms/conversational.gif'),
41
  'createable' => true,
42
  'title' => 'Conversational Form',
43
  'brief' => 'Create Smart form UI',
44
  'category' => 'Basic',
45
- 'tag' => ['contact', 'typeform', 'conversational', 'form'],
46
- 'json' => '[{"id":"8","title":"Conversational Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":"eg: John Doe","maxlength":""},"settings":{"container_class":"","label":"Your Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"This value need to be unique."},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"style_pref":{"layout":"default","media":"'.$this->getRandomPhoto().'","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264130200.4393750282723139"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"Please Provide your Email Address","admin_field_label":"Email Address","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]},"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"style_pref":{"layout":"default","media":"'.$this->getRandomPhoto().'","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264372080.5731140635572141"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":"Query Subject","maxlength":""},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"This value need to be unique."},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"style_pref":{"layout":"default","media":"'.$this->getRandomPhoto().'","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264620550.8688317001333026"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"Your Query","rows":3,"cols":2,"maxlength":""},"settings":{"container_class":"","label":"Your Query","admin_field_label":"Query","label_placement":"","help_message":"Please let us know details about your query","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"style_pref":{"layout":"default","media":"'.$this->getRandomPhoto().'","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264839650.04799061605619115"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit","img_url":""},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":""},"hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":""},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"form","conditions":null,"created_by":"1","created_at":"2021-06-01 05:25:54","updated_at":"2021-06-01 05:48:59","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"<h2>Thank you for your message. We will get in touch with you shortly<\/h2>\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\",\"selectedDays\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"]},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let us hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"[{inputs.names}] New Form Submission\",\"message\":\"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\"}"},{"meta_key":"is_conversion_form","value":"yes"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"_primary_email_field","value":"email"}]}]'
47
  ),
48
 
49
  //form number : 84
50
- 'newsletter_form' => array(
51
  'screenshot' => App::publicUrl('img/forms/comment_rating.png'),
52
  'createable' => true,
53
  'title' => 'Newsletter Form',
@@ -69,12 +69,22 @@ class Predefined extends Form
69
  'json' => '[{"id":"4","title":"Support Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":3,"element":"select","attributes":{"name":"department","value":"","id":"","class":""},"settings":{"label":"Department","help_message":"","container_class":"","label_placement":"","placeholder":"- Select Department -","validation_rules":{"required":{"value":true,"message":"Department field is required"}},"conditional_logics":[]},"options":{"Web Design":"Web Design","Web Development":"Web Development","WordPress Development":"WordPress Development","DevOps":"DevOps"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1516797735245"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Type your subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Subject field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":2,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Support Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.subject}, Support Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
70
  ),
71
 
 
 
 
 
 
 
 
 
 
 
72
  'polling_form' => array(
73
  'screenshot' => App::publicUrl('img/forms/polling_form.png'),
74
  'createable' => true,
75
  'title' => 'Polling Form',
76
  'brief' => 'A sample polling form to get user opinion from your scheduled time.',
77
- 'category' => "Basic",
78
  'tag' => ["poll", "vote", "quiz", "test"],
79
  'json' => '[{"id":"14","title":"Polling Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559116201333"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559116203187"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Which game you want to play?","admin_field_label":"Which game you want to play?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Football":"Football","Cricket":"Cricket","Hocky":"Hocky"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559116572343"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Time of the match?","admin_field_label":"Time of the match?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Morning":"Morning","Afternoon":"Afternoon","Any time":"Any time"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559116394587"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Put your suggestion (optional)","admin_field_label":"suggestions","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559188488518"}],"submitButton":{"uniqElKey":"el_1559116097684","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Your opinion","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Polling Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Polling Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
80
  ),
@@ -872,7 +882,7 @@ class Predefined extends Form
872
 
873
  if ($predefinedForm) {
874
  $predefinedForm = json_decode($predefinedForm['json'], true)[0];
875
- $returnData = $this->createForm($predefinedForm);
876
  wp_send_json_success($returnData, 200);
877
  }
878
 
@@ -882,7 +892,7 @@ class Predefined extends Form
882
  }
883
 
884
 
885
- public function createForm($predefinedForm)
886
  {
887
  $this->request->merge([
888
  'title' => $this->request->get('title', $predefinedForm['title'])
@@ -895,13 +905,32 @@ class Predefined extends Form
895
  }
896
 
897
  if (isset($predefinedForm['formSettings'])) {
898
- $this->defaultSettings = $predefinedForm['formSettings'];
 
 
 
 
899
  }
900
 
901
  if (isset($predefinedForm['notifications'])) {
902
  $this->defaultNotifications = $predefinedForm['notifications'];
 
 
 
 
903
  }
904
 
 
 
 
 
 
 
 
 
 
 
 
905
  if (isset($predefinedForm['metas'])) {
906
  $this->metas = $predefinedForm['metas'];
907
  }
@@ -931,7 +960,7 @@ class Predefined extends Form
931
 
932
  $photoName = $photos[$selected];
933
 
934
- return fluentformMix('img/conversational/'.$photoName);
935
 
936
  }
937
 
36
  'json' => '[{"id":"15","title":"Contact Form Demo","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":"First Name"},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"Last Name","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"ff-edit-name","template":"nameFields"},"uniqElKey":"el_1570866006692"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_1570866012914"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"Subject","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"uniqElKey":"el_1570878958648"},{"index":3,"element":"textarea","attributes":{"name":"message","value":"","id":"","class":"","placeholder":"Your Message","rows":4,"cols":2},"settings":{"container_class":"","label":"Your Message","admin_field_label":"","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"uniqElKey":"el_1570879001207"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","asteriskPlacement":"asterisk-right"},"id":"39"},"notifications":{"name":"Admin Notification Email","sendTo":{"type":"email","email":"{wp.admin_email}","field":"email","routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"[{inputs.names}] New Form Submission","message":"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
37
  ),
38
 
39
+ 'conversational' => array(
40
  'screenshot' => App::publicUrl('img/forms/conversational.gif'),
41
  'createable' => true,
42
  'title' => 'Conversational Form',
43
  'brief' => 'Create Smart form UI',
44
  'category' => 'Basic',
45
+ 'tag' => ['contact', 'typeform', 'conversational', 'form'],
46
+ 'json' => '[{"id":"8","title":"Conversational Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text","value":"","class":"","placeholder":"eg: John Doe","maxlength":""},"settings":{"container_class":"","label":"Your Name","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"This value need to be unique."},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"style_pref":{"layout":"default","media":"' . $this->getRandomPhoto() . '","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264130200.4393750282723139"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Email Address"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"Please Provide your Email Address","admin_field_label":"Email Address","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]},"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"style_pref":{"layout":"default","media":"' . $this->getRandomPhoto() . '","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264372080.5731140635572141"},{"index":2,"element":"input_text","attributes":{"type":"text","name":"input_text_1","value":"","class":"","placeholder":"Query Subject","maxlength":""},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"This value need to be unique."},"editor_options":{"title":"Simple Text","icon_class":"ff-edit-text","template":"inputText"},"style_pref":{"layout":"default","media":"' . $this->getRandomPhoto() . '","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264620550.8688317001333026"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"Your Query","rows":3,"cols":2,"maxlength":""},"settings":{"container_class":"","label":"Your Query","admin_field_label":"Query","label_placement":"","help_message":"Please let us know details about your query","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Text Area","icon_class":"ff-edit-textarea","template":"inputTextarea"},"style_pref":{"layout":"default","media":"' . $this->getRandomPhoto() . '","brightness":0,"alt_text":"","media_x_position":50,"media_y_position":50},"uniqElKey":"el_16225264839650.04799061605619115"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit","img_url":""},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":""},"hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":""},"current_state":"normal_styles"},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"form","conditions":null,"created_by":"1","created_at":"2021-06-01 05:25:54","updated_at":"2021-06-01 05:48:59","metas":[{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"<h2>Thank you for your message. We will get in touch with you shortly<\/h2>\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\",\"selectedDays\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"]},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let us hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"},\"delete_entry_on_submission\":\"no\",\"appendSurveyResult\":{\"enabled\":false,\"showLabel\":false,\"showCount\":false}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"[{inputs.names}] New Form Submission\",\"message\":\"<p>{all_data}<\/p>\n<p>This form submitted at: {embed_post.permalink}<\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\"}"},{"meta_key":"is_conversion_form","value":"yes"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"_primary_email_field","value":"email"}]}]'
47
  ),
48
 
49
  //form number : 84
50
+ 'newsletter_form' => array(
51
  'screenshot' => App::publicUrl('img/forms/comment_rating.png'),
52
  'createable' => true,
53
  'title' => 'Newsletter Form',
69
  'json' => '[{"id":"4","title":"Support Form","form":{"fields":[{"index":2,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"First Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"First Name field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":true,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1516797727681"},{"index":7,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"you@domain.com"},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Email field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1516797731343"},{"index":3,"element":"select","attributes":{"name":"department","value":"","id":"","class":""},"settings":{"label":"Department","help_message":"","container_class":"","label_placement":"","placeholder":"- Select Department -","validation_rules":{"required":{"value":true,"message":"Department field is required"}},"conditional_logics":[]},"options":{"Web Design":"Web Design","Web Development":"Web Development","WordPress Development":"WordPress Development","DevOps":"DevOps"},"editor_options":{"title":"Dropdown","icon_class":"icon-caret-square-o-down","element":"select","template":"select"},"uniqElKey":"el_1516797735245"},{"index":1,"element":"input_text","attributes":{"type":"text","name":"subject","value":"","class":"","placeholder":"Type your subject"},"settings":{"container_class":"","label":"Subject","label_placement":"","admin_field_label":"","help_message":"","validation_rules":{"required":{"value":true,"message":"Subject field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Input","icon_class":"icon-text-width","template":"inputText"},"uniqElKey":"el_1516797770161"},{"index":2,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Description","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Textarea","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1516797774136"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Form","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline"}},"notifications":{"name":"Support Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"{inputs.subject}, Support Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
70
  ),
71
 
72
+ 'inline_subscription' => array(
73
+ 'screenshot' => App::publicUrl('img/forms/inline_subscription.png'),
74
+ 'createable' => true,
75
+ 'title' => 'Optin Form',
76
+ 'brief' => 'Create inline optin form.',
77
+ 'category' => "Basic",
78
+ 'tag' => ["optin form", "newsletter"],
79
+ 'json' => '[{"id":"8","title":"Subscription Form","status":"published","appearance_settings":null,"form_fields":{"fields":[{"index":1,"element":"container","attributes":[],"settings":{"container_class":"","conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"columns":[{"fields":[{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":"Your Email Address"},"settings":{"container_class":"","label":"","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[],"is_unique":"no","unique_validation_message":"Email address need to be unique."},"editor_options":{"title":"Email Address","icon_class":"ff-edit-email","template":"inputText"},"uniqElKey":"el_16231279686950.8779857923682932"}]},{"fields":[{"index":15,"element":"custom_submit_button","attributes":{"class":"","type":"submit"},"settings":{"button_style":"","button_size":"md","align":"left","container_class":"","current_state":"normal_styles","background_color":"","color":"","hover_styles":{"backgroundColor":"#ffffff","borderColor":"#409EFF","color":"#409EFF","borderRadius":"","minWidth":"100%"},"normal_styles":{"backgroundColor":"#409EFF","borderColor":"#409EFF","color":"#ffffff","borderRadius":"","minWidth":"100%"},"button_ui":{"text":"Subscribe","type":"default","img_url":""},"conditional_logics":{"type":"any","status":false,"conditions":[{"field":"","value":"","operator":""}]}},"editor_options":{"title":"Custom Submit Button","icon_class":"dashicons dashicons-arrow-right-alt","template":"customButton"},"uniqElKey":"el_16231279798380.5947400167493171"}]}],"editor_options":{"title":"Two Column Container","icon_class":"ff-edit-column-2"},"uniqElKey":"el_16231279284710.40955091024524304"}],"submitButton":{"uniqElKey":"el_1524065200616","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"default","container_class":"","help_message":"","background_color":"#409EFF","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Subscribe","img_url":""}},"editor_options":{"title":"Submit Button"}}},"has_payment":"0","type":"form","conditions":null,"created_by":"1","created_at":"2021-06-08 04:51:36","updated_at":"2021-06-08 04:54:02","metas":[{"meta_key": "template_name","value": "inline_subscription"},{"meta_key":"formSettings","value":"{\"confirmation\":{\"redirectTo\":\"samePage\",\"messageToShow\":\"Thank you for your message. We will get in touch with you shortly\",\"customPage\":null,\"samePageFormBehavior\":\"hide_form\",\"customUrl\":null},\"restrictions\":{\"limitNumberOfEntries\":{\"enabled\":false,\"numberOfEntries\":null,\"period\":\"total\",\"limitReachedMsg\":\"Maximum number of entries exceeded.\"},\"scheduleForm\":{\"enabled\":false,\"start\":null,\"end\":null,\"pendingMsg\":\"Form submission is not started yet.\",\"expiredMsg\":\"Form submission is now closed.\"},\"requireLogin\":{\"enabled\":false,\"requireLoginMsg\":\"You must be logged in to submit the form.\"},\"denyEmptySubmission\":{\"enabled\":false,\"message\":\"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say.\"}},\"layout\":{\"labelPlacement\":\"top\",\"helpMessagePlacement\":\"with_label\",\"errorMessagePlacement\":\"inline\",\"asteriskPlacement\":\"asterisk-right\"}}"},{"meta_key":"notifications","value":"{\"name\":\"Admin Notification Email\",\"sendTo\":{\"type\":\"email\",\"email\":\"{wp.admin_email}\",\"field\":\"email\",\"routing\":[{\"email\":null,\"field\":null,\"operator\":\"=\",\"value\":null}]},\"fromName\":\"\",\"fromEmail\":\"\",\"replyTo\":\"\",\"bcc\":\"\",\"subject\":\"[{inputs.names}] New Form Submission\",\"message\":\"<p>{all_data}<\\\/p>\\n<p>This form submitted at: {embed_post.permalink}<\\\/p>\",\"conditionals\":{\"status\":false,\"type\":\"all\",\"conditions\":[{\"field\":null,\"operator\":\"=\",\"value\":null}]},\"enabled\":false,\"email_template\":\"\"}"},{"meta_key":"step_data_persistency_status","value":"no"},{"meta_key":"_primary_email_field","value":"email"}]}]'
80
+ ),
81
+
82
  'polling_form' => array(
83
  'screenshot' => App::publicUrl('img/forms/polling_form.png'),
84
  'createable' => true,
85
  'title' => 'Polling Form',
86
  'brief' => 'A sample polling form to get user opinion from your scheduled time.',
87
+ 'category' => "Marketing",
88
  'tag' => ["poll", "vote", "quiz", "test"],
89
  'json' => '[{"id":"14","title":"Polling Form","form":{"fields":[{"index":0,"element":"input_name","attributes":{"name":"names","data-type":"name-element"},"settings":{"container_class":"","admin_field_label":"Full Name","conditional_logics":[]},"fields":{"first_name":{"element":"input_text","attributes":{"type":"text","name":"first_name","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Full Name","help_message":"","visible":true,"validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"middle_name":{"element":"input_text","attributes":{"type":"text","name":"middle_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Middle Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}},"last_name":{"element":"input_text","attributes":{"type":"text","name":"last_name","value":"","id":"","class":"","placeholder":"","required":false},"settings":{"container_class":"","label":"Last Name","help_message":"","error_message":"","visible":false,"validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"template":"inputText"}}},"editor_options":{"title":"Name Fields","element":"name-fields","icon_class":"icon-user","template":"nameFields"},"uniqElKey":"el_1559116201333"},{"index":1,"element":"input_email","attributes":{"type":"email","name":"email","value":"","id":"","class":"","placeholder":""},"settings":{"container_class":"","label":"Email","label_placement":"","help_message":"","admin_field_label":"Email","validation_rules":{"required":{"value":true,"message":"This field is required"},"email":{"value":true,"message":"This field must contain a valid email"}},"conditional_logics":[]},"editor_options":{"title":"Email Address","icon_class":"icon-envelope-o","template":"inputText"},"uniqElKey":"el_1559116203187"},{"index":9,"element":"input_checkbox","attributes":{"type":"checkbox","name":"checkbox","value":[]},"settings":{"container_class":"","label":"Which game you want to play?","admin_field_label":"Which game you want to play?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Football":"Football","Cricket":"Cricket","Hocky":"Hocky"},"editor_options":{"title":"Check Box","icon_class":"icon-check-square-o","template":"inputCheckbox"},"uniqElKey":"el_1559116572343"},{"index":8,"element":"input_radio","attributes":{"type":"radio","name":"input_radio_1","value":""},"settings":{"container_class":"","label":"Time of the match?","admin_field_label":"Time of the match?","label_placement":"","display_type":"","help_message":"","validation_rules":{"required":{"value":true,"message":"This field is required"}},"conditional_logics":[]},"options":{"Morning":"Morning","Afternoon":"Afternoon","Any time":"Any time"},"editor_options":{"title":"Radio Button","icon_class":"icon-dot-circle-o","element":"input-radio","template":"inputRadio"},"uniqElKey":"el_1559116394587"},{"index":3,"element":"textarea","attributes":{"name":"description","value":"","id":"","class":"","placeholder":"","rows":4,"cols":2},"settings":{"container_class":"","label":"Put your suggestion (optional)","admin_field_label":"suggestions","label_placement":"","help_message":"","validation_rules":{"required":{"value":false,"message":"This field is required"}},"conditional_logics":[]},"editor_options":{"title":"Text Area","icon_class":"icon-paragraph","template":"inputTextarea"},"uniqElKey":"el_1559188488518"}],"submitButton":{"uniqElKey":"el_1559116097684","element":"button","attributes":{"type":"submit","class":""},"settings":{"align":"left","button_style":"green","container_class":"","help_message":"","background_color":"#67C23A","button_size":"md","color":"#ffffff","button_ui":{"type":"default","text":"Submit Your opinion","img_url":""}},"editor_options":{"title":"Submit Button"}}},"formSettings":{"confirmation":{"redirectTo":"samePage","messageToShow":"Thank you for your message. We will get in touch with you shortly","customPage":null,"samePageFormBehavior":"hide_form","customUrl":null},"restrictions":{"limitNumberOfEntries":{"enabled":false,"numberOfEntries":null,"period":"total","limitReachedMsg":"Maximum number of entries exceeded."},"scheduleForm":{"enabled":false,"start":null,"end":null,"pendingMsg":"Form submission is not started yet.","expiredMsg":"Form submission is now closed."},"requireLogin":{"enabled":false,"requireLoginMsg":"You must be logged in to submit the form."},"denyEmptySubmission":{"enabled":false,"message":"Sorry, you cannot submit an empty form. Let\'s hear what you wanna say."}},"layout":{"labelPlacement":"top","helpMessagePlacement":"with_label","errorMessagePlacement":"inline","cssClassName":""}},"notifications":{"name":"Polling Form Notification","sendTo":{"type":"email","email":"{wp.admin_email}","field":null,"routing":[{"email":null,"field":null,"operator":"=","value":null}]},"fromName":"","fromEmail":"","replyTo":"","bcc":"","subject":"Polling Form","message":"<p>{all_data}<\/p>","conditionals":{"status":false,"type":"all","conditions":[{"field":null,"operator":"=","value":null}]},"enabled":false,"email_template":""}}]'
90
  ),
882
 
883
  if ($predefinedForm) {
884
  $predefinedForm = json_decode($predefinedForm['json'], true)[0];
885
+ $returnData = $this->createForm($predefinedForm, $predefined);
886
  wp_send_json_success($returnData, 200);
887
  }
888
 
892
  }
893
 
894
 
895
+ public function createForm($predefinedForm, $predefinedName = '')
896
  {
897
  $this->request->merge([
898
  'title' => $this->request->get('title', $predefinedForm['title'])
905
  }
906
 
907
  if (isset($predefinedForm['formSettings'])) {
908
+ $this->defaultSettings = apply_filters('fluentform_create_default_settings', $predefinedForm['formSettings']);
909
+ $predefinedForm['metas'][] = [
910
+ 'meta_key' => 'formSettings',
911
+ 'value' => json_encode($this->defaultSettings)
912
+ ];
913
  }
914
 
915
  if (isset($predefinedForm['notifications'])) {
916
  $this->defaultNotifications = $predefinedForm['notifications'];
917
+ $predefinedForm['metas'][] = [
918
+ 'meta_key' => 'notifications',
919
+ 'value' => json_encode($this->defaultNotifications)
920
+ ];
921
  }
922
 
923
+ if($predefinedName) {
924
+ if(empty($predefinedForm['metas'])) {
925
+ $predefinedForm['metas'] = [];
926
+ }
927
+ $predefinedForm['metas'][] = [
928
+ 'meta_key' => 'template_name',
929
+ 'value' => $predefinedName
930
+ ];
931
+ }
932
+
933
+
934
  if (isset($predefinedForm['metas'])) {
935
  $this->metas = $predefinedForm['metas'];
936
  }
960
 
961
  $photoName = $photos[$selected];
962
 
963
+ return fluentformMix('img/conversational/' . $photoName);
964
 
965
  }
966
 
app/Modules/Logger/DataLogger.php CHANGED
@@ -18,9 +18,9 @@ class DataLogger
18
  public function getLogFilters()
19
  {
20
  $statuses = wpFluent()->table('fluentform_logs')
21
- ->select('status')
22
- ->groupBy('status')
23
- ->get();
24
  $formattedStatuses = [];
25
 
26
  foreach ($statuses as $status) {
@@ -37,14 +37,14 @@ class DataLogger
37
  $apiStatuses[] = $api->status;
38
  }
39
 
40
- $components = wpFluent()->table('ff_scheduled_actions')
41
- ->select('action')
42
- ->groupBy('action')
43
  ->get();
44
 
45
  $formattedComponents = [];
46
  foreach ($components as $component) {
47
- $formattedComponents[] = $component->action;
48
  }
49
 
50
  $forms = wpFluent()->table('fluentform_logs')
@@ -59,15 +59,15 @@ class DataLogger
59
  foreach ($forms as $form) {
60
  $formattedForms[] = [
61
  'form_id' => $form->parent_source_id,
62
- 'title' => $form->title
63
  ];;
64
  }
65
 
66
  wp_send_json_success([
67
- 'available_statuses' => $formattedStatuses,
68
  'available_components' => $formattedComponents,
69
- 'available_forms' => $formattedForms,
70
- 'api_statuses' => $apiStatuses
71
  ]);
72
  }
73
 
@@ -88,7 +88,7 @@ class DataLogger
88
 
89
  public function getLogsByEntry($entry_id, $log_type = 'logs', $sourceType = 'submission_item')
90
  {
91
- if($log_type == 'logs') {
92
  $logs = wpFluent()->table('fluentform_logs')
93
  ->where('source_id', $entry_id)
94
  ->where('source_type', $sourceType)
@@ -130,31 +130,38 @@ class DataLogger
130
  ->select([
131
  'fluentform_logs.*'
132
  ])
133
- ->select(wpFluent()->raw( $wpdb->prefix.'fluentform_forms.title as form_title' ))
134
- ->join('fluentform_forms', 'fluentform_forms.id', '=', 'fluentform_logs.parent_source_id')
135
- ->orderBy('fluentform_logs.id', 'DESC')
136
- ->whereIn('fluentform_logs.source_type', ['submission_item', 'form_item']);
 
 
137
 
138
 
139
- if($parentSourceId = ArrayHelper::get($_REQUEST, 'parent_source_id')) {
140
  $logsQuery = $logsQuery->where('fluentform_logs.parent_source_id', intval($parentSourceId));
141
  }
142
 
143
- if($status = ArrayHelper::get($_REQUEST, 'status')) {
144
- $logsQuery = $logsQuery->where('fluentform_logs.status', $status);
145
  }
146
 
147
- if($component = ArrayHelper::get($_REQUEST, 'component')) {
148
- $logsQuery = $logsQuery->where('fluentform_logs.component', $component);
149
  }
150
 
151
-
152
  $logsQueryMain = $logsQuery;
153
 
154
- $logs = $logsQuery->offset($skip)
155
  ->limit($limit)
156
  ->get();
157
 
 
 
 
 
 
 
158
  $logs = apply_filters('fluentform_all_logs', $logs);
159
 
160
  $total = $logsQueryMain->count();
@@ -184,20 +191,20 @@ class DataLogger
184
  'ff_scheduled_actions.note',
185
  'ff_scheduled_actions.created_at',
186
  ])
187
- ->select(wpFluent()->raw( $wpdb->prefix.'fluentform_forms.title as form_title' ))
188
  ->join('fluentform_forms', 'fluentform_forms.id', '=', 'ff_scheduled_actions.form_id')
189
  ->orderBy('ff_scheduled_actions.id', 'DESC');
190
 
191
 
192
- if($formId = ArrayHelper::get($_REQUEST, 'form_id')) {
193
  $logsQuery = $logsQuery->where('ff_scheduled_actions.form_id', intval($formId));
194
  }
195
 
196
- if($status = ArrayHelper::get($_REQUEST, 'status')) {
197
  $logsQuery = $logsQuery->where('ff_scheduled_actions.status', $status);
198
  }
199
 
200
- if($component = ArrayHelper::get($_REQUEST, 'component')) {
201
  $logsQuery = $logsQuery->where('ff_scheduled_actions.action', $component);
202
  }
203
 
@@ -210,7 +217,7 @@ class DataLogger
210
  $logs = apply_filters('fluentform_api_all_logs', $logs);
211
 
212
  foreach ($logs as $log) {
213
- $log->submission_url = admin_url('admin.php?page=fluent_forms&route=entries&form_id='.$log->form_id.'#/entries/'.$log->origin_id);
214
  }
215
 
216
  $total = $logsQueryMain->count();
@@ -224,32 +231,32 @@ class DataLogger
224
 
225
  public function deleteLogsByIds($ids = [])
226
  {
227
- if(!$ids) {
228
  $ids = wp_unslash($_REQUEST['log_ids']);
229
  }
230
 
231
- if(!$ids) {
232
  wp_send_json_error([
233
  'message' => 'No selections found'
234
  ], 423);
235
  }
236
 
237
- wpFluent()->table('fluentform_logs')
238
  ->whereIn('id', $ids)
239
- ->delete();
240
 
241
  wp_send_json_success([
242
- 'message' => __('Selected logs successfully deleted', 'fluentform')
243
  ], 200);
244
  }
245
 
246
  public function deleteApiLogsByIds($ids = [])
247
  {
248
- if(!$ids) {
249
  $ids = wp_unslash($_REQUEST['log_ids']);
250
  }
251
 
252
- if(!$ids) {
253
  wp_send_json_error([
254
  'message' => 'No selections found'
255
  ], 423);
@@ -260,7 +267,7 @@ class DataLogger
260
  ->delete();
261
 
262
  wp_send_json_success([
263
- 'message' => __('Selected logs successfully deleted', 'fluentform')
264
  ], 200);
265
  }
266
 
@@ -270,13 +277,13 @@ class DataLogger
270
  $actionFeed = wpFluent()->table('ff_scheduled_actions')
271
  ->find($logId);
272
 
273
- if(!$actionFeed) {
274
  wp_send_json_error([
275
  'message' => 'API log does not exist'
276
  ], 423);
277
  }
278
 
279
- if(!$actionFeed->status == 'success') {
280
  wp_send_json_error([
281
  'message' => 'API log already in success mode'
282
  ], 423);
@@ -294,9 +301,9 @@ class DataLogger
294
  wpFluent()->table($this->table)
295
  ->where('id', $actionFeed->id)
296
  ->update([
297
- 'status' => 'manual_retry',
298
  'retry_count' => $actionFeed->retry_count + 1,
299
- 'updated_at' => current_time('mysql')
300
  ]);
301
 
302
  do_action($actionFeed->action, $feed, $formData, $entry, $form);
@@ -309,7 +316,7 @@ class DataLogger
309
 
310
  wp_send_json_success([
311
  'message' => 'Retry completed',
312
- 'feed' => $actionFeed
313
  ], 200);
314
  }
315
 
@@ -318,4 +325,49 @@ class DataLogger
318
  $formInputs = FormFieldsParser::getEntryInputs($form, ['admin_label', 'raw']);
319
  return FormDataParser::parseFormEntry($submission, $form, $formInputs);
320
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
321
  }
18
  public function getLogFilters()
19
  {
20
  $statuses = wpFluent()->table('fluentform_logs')
21
+ ->select('status')
22
+ ->groupBy('status')
23
+ ->get();
24
  $formattedStatuses = [];
25
 
26
  foreach ($statuses as $status) {
37
  $apiStatuses[] = $api->status;
38
  }
39
 
40
+ $components = wpFluent()->table('fluentform_logs')
41
+ ->select('component')
42
+ ->groupBy('component')
43
  ->get();
44
 
45
  $formattedComponents = [];
46
  foreach ($components as $component) {
47
+ $formattedComponents[] = $component->component;
48
  }
49
 
50
  $forms = wpFluent()->table('fluentform_logs')
59
  foreach ($forms as $form) {
60
  $formattedForms[] = [
61
  'form_id' => $form->parent_source_id,
62
+ 'title' => $form->title
63
  ];;
64
  }
65
 
66
  wp_send_json_success([
67
+ 'available_statuses' => $formattedStatuses,
68
  'available_components' => $formattedComponents,
69
+ 'available_forms' => $formattedForms,
70
+ 'api_statuses' => $apiStatuses
71
  ]);
72
  }
73
 
88
 
89
  public function getLogsByEntry($entry_id, $log_type = 'logs', $sourceType = 'submission_item')
90
  {
91
+ if ($log_type == 'logs') {
92
  $logs = wpFluent()->table('fluentform_logs')
93
  ->where('source_id', $entry_id)
94
  ->where('source_type', $sourceType)
130
  ->select([
131
  'fluentform_logs.*'
132
  ])
133
+ ->select(wpFluent()->raw($wpdb->prefix . 'fluentform_forms.title as form_title'))
134
+ ->select(wpFluent()->raw($wpdb->prefix . 'fluentform_logs.parent_source_id as form_id'))
135
+ ->select(wpFluent()->raw($wpdb->prefix . 'fluentform_logs.source_id as entry_id'))
136
+ ->leftJoin('fluentform_forms', 'fluentform_forms.id', '=', 'fluentform_logs.parent_source_id')
137
+ ->orderBy('fluentform_logs.id', 'DESC');
138
+ // ->whereIn('fluentform_logs.source_type', ['submission_item', 'form_item']);
139
 
140
 
141
+ if ($parentSourceId = ArrayHelper::get($_REQUEST, 'parent_source_id')) {
142
  $logsQuery = $logsQuery->where('fluentform_logs.parent_source_id', intval($parentSourceId));
143
  }
144
 
145
+ if ($status = ArrayHelper::get($_REQUEST, 'status')) {
146
+ $logsQuery = $logsQuery->where('fluentform_logs.status', sanitize_text_field($status));
147
  }
148
 
149
+ if ($component = ArrayHelper::get($_REQUEST, 'component')) {
150
+ $logsQuery = $logsQuery->where('fluentform_logs.component', sanitize_text_field($component));
151
  }
152
 
 
153
  $logsQueryMain = $logsQuery;
154
 
155
+ $logs = $logsQuery->offset($skip)
156
  ->limit($limit)
157
  ->get();
158
 
159
+ foreach ($logs as $log) {
160
+ if($log->source_type == 'submission_item' && $log->entry_id) {
161
+ $log->submission_url = admin_url('admin.php?page=fluent_forms&route=entries&form_id=' . $log->form_id . '#/entries/' . $log->entry_id);
162
+ }
163
+ }
164
+
165
  $logs = apply_filters('fluentform_all_logs', $logs);
166
 
167
  $total = $logsQueryMain->count();
191
  'ff_scheduled_actions.note',
192
  'ff_scheduled_actions.created_at',
193
  ])
194
+ ->select(wpFluent()->raw($wpdb->prefix . 'fluentform_forms.title as form_title'))
195
  ->join('fluentform_forms', 'fluentform_forms.id', '=', 'ff_scheduled_actions.form_id')
196
  ->orderBy('ff_scheduled_actions.id', 'DESC');
197
 
198
 
199
+ if ($formId = ArrayHelper::get($_REQUEST, 'form_id')) {
200
  $logsQuery = $logsQuery->where('ff_scheduled_actions.form_id', intval($formId));
201
  }
202
 
203
+ if ($status = ArrayHelper::get($_REQUEST, 'status')) {
204
  $logsQuery = $logsQuery->where('ff_scheduled_actions.status', $status);
205
  }
206
 
207
+ if ($component = ArrayHelper::get($_REQUEST, 'component')) {
208
  $logsQuery = $logsQuery->where('ff_scheduled_actions.action', $component);
209
  }
210
 
217
  $logs = apply_filters('fluentform_api_all_logs', $logs);
218
 
219
  foreach ($logs as $log) {
220
+ $log->submission_url = admin_url('admin.php?page=fluent_forms&route=entries&form_id=' . $log->form_id . '#/entries/' . $log->origin_id);
221
  }
222
 
223
  $total = $logsQueryMain->count();
231
 
232
  public function deleteLogsByIds($ids = [])
233
  {
234
+ if (!$ids) {
235
  $ids = wp_unslash($_REQUEST['log_ids']);
236
  }
237
 
238
+ if (!$ids) {
239
  wp_send_json_error([
240
  'message' => 'No selections found'
241
  ], 423);
242
  }
243
 
244
+ wpFluent()->table('fluentform_logs')
245
  ->whereIn('id', $ids)
246
+ ->delete();
247
 
248
  wp_send_json_success([
249
+ 'message' => __('Selected log(s) successfully deleted', 'fluentform')
250
  ], 200);
251
  }
252
 
253
  public function deleteApiLogsByIds($ids = [])
254
  {
255
+ if (!$ids) {
256
  $ids = wp_unslash($_REQUEST['log_ids']);
257
  }
258
 
259
+ if (!$ids) {
260
  wp_send_json_error([
261
  'message' => 'No selections found'
262
  ], 423);
267
  ->delete();
268
 
269
  wp_send_json_success([
270
+ 'message' => __('Selected log(s) successfully deleted', 'fluentform')
271
  ], 200);
272
  }
273
 
277
  $actionFeed = wpFluent()->table('ff_scheduled_actions')
278
  ->find($logId);
279
 
280
+ if (!$actionFeed) {
281
  wp_send_json_error([
282
  'message' => 'API log does not exist'
283
  ], 423);
284
  }
285
 
286
+ if (!$actionFeed->status == 'success') {
287
  wp_send_json_error([
288
  'message' => 'API log already in success mode'
289
  ], 423);
301
  wpFluent()->table($this->table)
302
  ->where('id', $actionFeed->id)
303
  ->update([
304
+ 'status' => 'manual_retry',
305
  'retry_count' => $actionFeed->retry_count + 1,
306
+ 'updated_at' => current_time('mysql')
307
  ]);
308
 
309
  do_action($actionFeed->action, $feed, $formData, $entry, $form);
316
 
317
  wp_send_json_success([
318
  'message' => 'Retry completed',
319
+ 'feed' => $actionFeed
320
  ], 200);
321
  }
322
 
325
  $formInputs = FormFieldsParser::getEntryInputs($form, ['admin_label', 'raw']);
326
  return FormDataParser::parseFormEntry($submission, $form, $formInputs);
327
  }
328
+
329
+ public function getApiLogFilters()
330
+ {
331
+ $apis = wpFluent()->table('ff_scheduled_actions')
332
+ ->select('status')
333
+ ->groupBy('status')
334
+ ->get();
335
+
336
+ $apiStatuses = [];
337
+ foreach ($apis as $api) {
338
+ $apiStatuses[] = $api->status;
339
+ }
340
+
341
+ $components = wpFluent()->table('ff_scheduled_actions')
342
+ ->select('action')
343
+ ->groupBy('action')
344
+ ->get();
345
+
346
+ $formattedComponents = [];
347
+ foreach ($components as $component) {
348
+ $formattedComponents[] = $component->action;
349
+ }
350
+
351
+ $forms = wpFluent()->table('ff_scheduled_actions')
352
+ ->select('ff_scheduled_actions.form_id', 'fluentform_forms.title')
353
+ ->groupBy('ff_scheduled_actions.form_id')
354
+ ->orderBy('ff_scheduled_actions.form_id', 'DESC')
355
+ ->join('fluentform_forms', 'fluentform_forms.id', '=', 'ff_scheduled_actions.form_id')
356
+ ->get();
357
+
358
+ $formattedForms = [];
359
+
360
+ foreach ($forms as $form) {
361
+ $formattedForms[] = [
362
+ 'form_id' => $form->form_id,
363
+ 'title' => $form->title
364
+ ];;
365
+ }
366
+
367
+ wp_send_json_success([
368
+ 'available_components' => $formattedComponents,
369
+ 'available_forms' => $formattedForms,
370
+ 'api_statuses' => $apiStatuses
371
+ ]);
372
+ }
373
  }
app/Modules/Registerer/Menu.php CHANGED
@@ -195,7 +195,8 @@ class Menu
195
  wp_enqueue_script('fluent_forms_global');
196
  wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
197
  'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
198
- 'ajaxurl' => admin_url('admin-ajax.php')
 
199
  ]);
200
 
201
  $page = sanitize_text_field($_GET['page']);
@@ -853,4 +854,47 @@ class Menu
853
  'setup_url' => admin_url('options-general.php?page=fluent-mail#/connections')
854
  ]);
855
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
856
  }
195
  wp_enqueue_script('fluent_forms_global');
196
  wp_localize_script('fluent_forms_global', 'fluent_forms_global_var', [
197
  'fluent_forms_admin_nonce' => wp_create_nonce('fluent_forms_admin_nonce'),
198
+ 'ajaxurl' => admin_url('admin-ajax.php'),
199
+ 'admin_i18n'=> $this->getAdminI18n()
200
  ]);
201
 
202
  $page = sanitize_text_field($_GET['page']);
854
  'setup_url' => admin_url('options-general.php?page=fluent-mail#/connections')
855
  ]);
856
  }
857
+
858
+ private function getAdminI18n()
859
+ {
860
+ $i18n = array(
861
+ 'All Forms' => __('All Forms', 'fluentform'),
862
+ 'Add a New Form' => __('Add a New Form', 'fluentform'),
863
+ 'Conversational Form' => __('Conversational Form', 'fluentform'),
864
+ 'Create Conversational Form' => __('Create Conversational Form', 'fluentform'),
865
+ 'ID' => __('ID', 'fluentform'),
866
+ 'Title' => __('Title', 'fluentform'),
867
+ 'Edit' => __('Edit', 'fluentform'),
868
+ 'Settings' => __('Settings', 'fluentform'),
869
+ 'Entries' => __('Entries', 'fluentform'),
870
+ 'Conversational Preview' => __('Conversational Preview', 'fluentform'),
871
+ 'Preview' => __('Preview', 'fluentform'),
872
+ 'Duplicate' => __('Duplicate', 'fluentform'),
873
+ 'Delete' => __('Delete', 'fluentform'),
874
+ 'Short Code' => __('Short Code', 'fluentform'),
875
+ 'Conversion' => __('Conversion', 'fluentform'),
876
+ 'Views' => __('Views', 'fluentform'),
877
+ 'Search Forms' => __('Search Forms', 'fluentform'),
878
+ 'Search' => __('Search', 'fluentform'),
879
+ 'Click Here to Create Your First Form' => __('Click Here to Create Your First Form', 'fluentform'),
880
+ 'Check the video intro' => __('Check the video intro', 'fluentform'),
881
+ 'All Form Entries' => __('All Form Entries', 'fluentform'),
882
+ 'Browser' => __('Browser', 'fluentform'),
883
+ 'Date' => __('Date', 'fluentform'),
884
+ 'Hide Chart' => __('Hide Chart', 'fluentform'),
885
+ 'Show Chart' => __('Show Chart', 'fluentform'),
886
+ 'All' => __('All', 'fluentform'),
887
+ 'Unread Only' => __('Unread Only', 'fluentform'),
888
+ 'Read Only' => __('Read Only', 'fluentform'),
889
+ 'Submission ID' => __('Submission ID', 'fluentform'),
890
+ 'Form' => __('Form', 'fluentform'),
891
+ 'Status' => __('Status', 'fluentform'),
892
+ 'Read' => __('Read', 'fluentform'),
893
+ 'Unread' => __('Unread', 'fluentform'),
894
+ 'ago' => __('ago', 'fluentform'),
895
+ 'Click to copy shortcode' => __('Click to copy shortcode', 'fluentform'),
896
+ );
897
+
898
+ return apply_filters('fluentform/admin_i18n', $i18n);
899
+ }
900
  }
app/Services/FluentConversational/Classes/Converter/Converter.php CHANGED
@@ -172,24 +172,25 @@ class Converter
172
  public static function fieldTypes()
173
  {
174
  $fieldTypes = [
175
- 'welcome_screen' => 'FlowFormWelcomeScreenType',
176
  'input_date' => 'FlowFormDateType',
 
 
 
 
 
177
  'select' => 'FlowFormDropdownType',
178
  'select_country' => 'FlowFormDropdownType',
179
- 'input_email' => 'FlowFormEmailType',
180
  'textarea' => 'FlowFormLongTextType',
 
 
 
 
181
  'input_checkbox' => 'FlowFormMultipleChoiceType',
 
182
  'terms_and_condition' => 'FlowFormTermsAndConditionType',
183
  'gdpr_agreement' => 'FlowFormTermsAndConditionType',
184
- 'input_radio' => 'FlowFormMultipleChoiceType',
185
  'MultiplePictureChoice' => 'FlowFormMultiplePictureChoiceType',
186
- 'input_number' => 'FlowFormNumberType',
187
- 'input_password' => 'FlowFormPasswordType',
188
- 'custom_html' => 'FlowFormSectionBreakType',
189
- 'section_break' => 'FlowFormSectionBreakType',
190
- 'input_text' => 'FlowFormTextType',
191
- 'input_url' => 'FlowFormUrlType',
192
- 'ratings' => 'FlowFormRateType'
193
  ];
194
 
195
  if (defined('FLUENTFORMPRO')) {
172
  public static function fieldTypes()
173
  {
174
  $fieldTypes = [
175
+ 'input_url' => 'FlowFormUrlType',
176
  'input_date' => 'FlowFormDateType',
177
+ 'input_text' => 'FlowFormTextType',
178
+ 'ratings' => 'FlowFormRateType',
179
+ 'input_email' => 'FlowFormEmailType',
180
+ 'input_hidden' => 'FlowFormHiddenType',
181
+ 'input_number' => 'FlowFormNumberType',
182
  'select' => 'FlowFormDropdownType',
183
  'select_country' => 'FlowFormDropdownType',
 
184
  'textarea' => 'FlowFormLongTextType',
185
+ 'input_password' => 'FlowFormPasswordType',
186
+ 'custom_html' => 'FlowFormSectionBreakType',
187
+ 'section_break' => 'FlowFormSectionBreakType',
188
+ 'welcome_screen' => 'FlowFormWelcomeScreenType',
189
  'input_checkbox' => 'FlowFormMultipleChoiceType',
190
+ 'input_radio' => 'FlowFormMultipleChoiceType',
191
  'terms_and_condition' => 'FlowFormTermsAndConditionType',
192
  'gdpr_agreement' => 'FlowFormTermsAndConditionType',
 
193
  'MultiplePictureChoice' => 'FlowFormMultiplePictureChoiceType',
 
 
 
 
 
 
 
194
  ];
195
 
196
  if (defined('FLUENTFORMPRO')) {
app/Services/FluentConversational/Classes/Form.php CHANGED
@@ -296,23 +296,24 @@ class Form
296
  $advancedFields = ArrayHelper::get($components, 'advanced', []);
297
 
298
  $acceptedFieldElements = [
299
- 'input_email',
300
- 'input_text',
301
- 'textarea',
302
- 'select_country',
303
- 'input_number',
304
  'select',
305
- 'input_radio',
306
- 'input_checkbox',
307
  'select',
 
 
308
  'input_url',
 
309
  'input_date',
 
 
310
  'custom_html',
311
- 'phone',
 
312
  'section_break',
 
 
 
313
  'terms_and_condition',
314
- 'ratings',
315
- 'input_password'
316
  ];
317
 
318
  $elements = [];
@@ -478,20 +479,7 @@ class Form
478
  $form = Converter::convert($form);
479
  $submitCss = $this->getSubmitBttnStyle($form);
480
 
481
- wp_enqueue_style(
482
- 'fluent_forms_conversational_form',
483
- FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/css/conversationalForm.css',
484
- array(),
485
- FLUENTFORM_VERSION
486
- );
487
-
488
- wp_enqueue_script(
489
- 'fluent_forms_conversational_form',
490
- FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/js/conversationalForm.js',
491
- array(),
492
- FLUENTFORM_VERSION,
493
- true
494
- );
495
 
496
  $metaSettings = $this->getMetaSettings($formId);
497
  $designSettings = $this->getDesignSettings($formId);
@@ -619,20 +607,7 @@ class Form
619
 
620
  $submitCss = $this->getSubmitBttnStyle($form);
621
 
622
- wp_enqueue_style(
623
- 'fluent_forms_conversational_form',
624
- FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/css/conversationalForm.css',
625
- array(),
626
- FLUENTFORM_VERSION
627
- );
628
-
629
- wp_enqueue_script(
630
- 'fluent_forms_conversational_form',
631
- FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/js/conversationalForm.js',
632
- array(),
633
- FLUENTFORM_VERSION,
634
- true
635
- );
636
 
637
  $designSettings = $this->getDesignSettings($formId);
638
 
@@ -686,4 +661,32 @@ class Form
686
 
687
  exit(200);
688
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
689
  }
296
  $advancedFields = ArrayHelper::get($components, 'advanced', []);
297
 
298
  $acceptedFieldElements = [
299
+ 'phone',
 
 
 
 
300
  'select',
 
 
301
  'select',
302
+ 'ratings',
303
+ 'textarea',
304
  'input_url',
305
+ 'input_text',
306
  'input_date',
307
+ 'input_email',
308
+ 'input_radio',
309
  'custom_html',
310
+ 'input_hidden',
311
+ 'input_number',
312
  'section_break',
313
+ 'select_country',
314
+ 'input_checkbox',
315
+ 'input_password',
316
  'terms_and_condition',
 
 
317
  ];
318
 
319
  $elements = [];
479
  $form = Converter::convert($form);
480
  $submitCss = $this->getSubmitBttnStyle($form);
481
 
482
+ $this->enqueueScripts();
 
 
 
 
 
 
 
 
 
 
 
 
 
483
 
484
  $metaSettings = $this->getMetaSettings($formId);
485
  $designSettings = $this->getDesignSettings($formId);
607
 
608
  $submitCss = $this->getSubmitBttnStyle($form);
609
 
610
+ $this->enqueueScripts();
 
 
 
 
 
 
 
 
 
 
 
 
 
611
 
612
  $designSettings = $this->getDesignSettings($formId);
613
 
661
 
662
  exit(200);
663
  }
664
+
665
+
666
+ /**
667
+ * Enqueue proper stylesheet based on rtl & JS script.
668
+ */
669
+ private function enqueueScripts()
670
+ {
671
+ $cssFileName = 'conversationalForm';
672
+
673
+ if (is_rtl()) {
674
+ $cssFileName .= '-rtl';
675
+ }
676
+
677
+ wp_enqueue_style(
678
+ 'fluent_forms_conversational_form',
679
+ FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/css/' . $cssFileName . '.css',
680
+ array(),
681
+ FLUENTFORM_VERSION
682
+ );
683
+
684
+ wp_enqueue_script(
685
+ 'fluent_forms_conversational_form',
686
+ FLUENT_CONVERSATIONAL_FORM_DIR_URL . 'public/js/conversationalForm.js',
687
+ array(),
688
+ FLUENTFORM_VERSION,
689
+ true
690
+ );
691
+ }
692
  }
app/Services/FluentConversational/public/js/conversationalForm.js CHANGED
@@ -1,2 +1,2 @@
1
  /*! For license information please see conversationalForm.js.LICENSE.txt */
2
- (()=>{var e,t={4750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>_,afterRead:()=>b,afterWrite:()=>C,applyStyles:()=>V,arrow:()=>J,auto:()=>a,basePlacements:()=>l,beforeMain:()=>w,beforeRead:()=>g,beforeWrite:()=>k,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>X,createPopper:()=>Me,createPopperBase:()=>Be,createPopperLite:()=>Ae,detectOverflow:()=>ve,end:()=>u,eventListeners:()=>te,flip:()=>ge,hide:()=>we,left:()=>s,main:()=>x,modifierPhases:()=>O,offset:()=>xe,placements:()=>v,popper:()=>f,popperGenerator:()=>Ee,popperOffsets:()=>_e,preventOverflow:()=>ke,read:()=>y,reference:()=>h,right:()=>i,start:()=>c,top:()=>o,variationPlacements:()=>m,viewport:()=>p,write:()=>S});var o="top",r="bottom",i="right",s="left",a="auto",l=[o,r,i,s],c="start",u="end",d="clippingParents",p="viewport",f="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),g="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",_="afterMain",k="beforeWrite",S="write",C="afterWrite",O=[g,y,b,w,x,_,k,S,C];function T(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof E(e).Element||e instanceof Element}function M(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}const V={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];M(r)&&T(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});M(o)&&T(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function N(e){return e.split("-")[0]}function q(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function F(e){var t=q(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function P(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function L(e){return E(e).getComputedStyle(e)}function D(e){return["table","td","th"].indexOf(T(e))>=0}function I(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function j(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||I(e)}function $(e){return M(e)&&"fixed"!==L(e).position?e.offsetParent:null}function R(e){for(var t=E(e),n=$(e);n&&D(n)&&"static"===L(n).position;)n=$(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===L(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&M(e)&&"fixed"===L(e).position)return null;for(var n=j(e);M(n)&&["html","body"].indexOf(T(n))<0;){var o=L(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var H=Math.max,U=Math.min,K=Math.round;function W(e,t,n){return H(e,U(t,n))}function Q(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Y(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,p=N(n.placement),f=z(p),h=[s,i].indexOf(p)>=0?"height":"width";if(u&&d){var m=function(e,t){return Q("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Y(e,l))}(c.padding,n),v=F(u),g="y"===f?o:s,y="y"===f?r:i,b=n.rects.reference[h]+n.rects.reference[f]-d[f]-n.rects.popper[h],w=d[f]-n.rects.reference[f],x=R(u),_=x?"y"===f?x.clientHeight||0:x.clientWidth||0:0,k=b/2-w/2,S=m[g],C=_-v[h]-m[y],O=_/2-v[h]/2+k,T=W(S,O,C),E=f;n.modifiersData[a]=((t={})[E]=T,t.centerOffset=T-O,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&P(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.offsets,u=e.position,d=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,h=!0===f?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:K(K(t*o)/o)||0,y:K(K(n*o)/o)||0}}(c):"function"==typeof f?f(c):c,m=h.x,v=void 0===m?0:m,g=h.y,y=void 0===g?0:g,b=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),x=s,_=o,k=window;if(p){var S=R(n),C="clientHeight",O="clientWidth";S===E(n)&&"static"!==L(S=I(n)).position&&(C="scrollHeight",O="scrollWidth"),S=S,l===o&&(_=r,y-=S[C]-a.height,y*=d?1:-1),l===s&&(x=i,v-=S[O]-a.width,v*=d?1:-1)}var T,B=Object.assign({position:u},p&&G);return d?Object.assign({},B,((T={})[_]=w?"0":"",T[x]=b?"0":"",T.transform=(k.devicePixelRatio||1)<2?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",T)):Object.assign({},B,((t={})[_]=w?y+"px":"",t[x]=b?v+"px":"",t.transform="",t))}const X={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ee={passive:!0};const te={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,l=E(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ee)})),a&&l.addEventListener("resize",n.update,ee),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ee)})),a&&l.removeEventListener("resize",n.update,ee)}},data:{}};var ne={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var re={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function se(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ae(e){return q(I(e)).left+se(e).scrollLeft}function le(e){var t=L(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ce(e){return["html","body","#document"].indexOf(T(e))>=0?e.ownerDocument.body:M(e)&&le(e)?e:ce(j(e))}function ue(e,t){var n;void 0===t&&(t=[]);var o=ce(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=E(o),s=r?[i].concat(i.visualViewport||[],le(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(ue(j(s)))}function de(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t){return t===p?de(function(e){var t=E(e),n=I(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,s=0,a=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,a=o.offsetTop)),{width:r,height:i,x:s+ae(e),y:a}}(e)):M(t)?function(e){var t=q(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):de(function(e){var t,n=I(e),o=se(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=H(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+ae(e),l=-o.scrollTop;return"rtl"===L(r||n).direction&&(a+=H(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(I(e)))}function fe(e,t,n){var o="clippingParents"===t?function(e){var t=ue(j(e)),n=["absolute","fixed"].indexOf(L(e).position)>=0&&M(e)?R(e):e;return B(n)?t.filter((function(e){return B(e)&&P(e,n)&&"body"!==T(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r[0],s=r.reduce((function(t,n){var o=pe(e,n);return t.top=H(o.top,t.top),t.right=U(o.right,t.right),t.bottom=U(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),pe(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function he(e){return e.split("-")[1]}function me(e){var t,n=e.reference,a=e.element,l=e.placement,d=l?N(l):null,p=l?he(l):null,f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(d){case o:t={x:f,y:n.y-a.height};break;case r:t={x:f,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=d?z(d):null;if(null!=m){var v="y"===m?"height":"width";switch(p){case c:t[m]=t[m]-(n[v]/2-a[v]/2);break;case u:t[m]=t[m]+(n[v]/2-a[v]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.boundary,u=void 0===c?d:c,m=n.rootBoundary,v=void 0===m?p:m,g=n.elementContext,y=void 0===g?f:g,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,_=void 0===x?0:x,k=Q("number"!=typeof _?_:Y(_,l)),S=y===f?h:f,C=e.elements.reference,O=e.rects.popper,T=e.elements[w?S:y],E=fe(B(T)?T:T.contextElement||I(e.elements.popper),u,v),M=q(C),A=me({reference:M,element:O,strategy:"absolute",placement:a}),V=de(Object.assign({},O,A)),N=y===f?V:M,F={top:E.top-N.top+k.top,bottom:N.bottom-E.bottom+k.bottom,left:E.left-N.left+k.left,right:N.right-E.right+k.right},P=e.modifiersData.offset;if(y===f&&P){var L=P[a];Object.keys(F).forEach((function(e){var t=[i,r].indexOf(e)>=0?1:-1,n=[o,r].indexOf(e)>=0?"y":"x";F[e]+=L[n]*t}))}return F}const ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,p=void 0===d||d,f=n.altAxis,h=void 0===f||f,g=n.fallbackPlacements,y=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,_=n.flipVariations,k=void 0===_||_,S=n.allowedAutoPlacements,C=t.options.placement,O=N(C),T=g||(O===C||!k?[oe(C)]:function(e){if(N(e)===a)return[];var t=oe(e);return[ie(e),t,ie(t)]}(C)),E=[C].concat(T).reduce((function(e,n){return e.concat(N(n)===a?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,d=he(o),p=d?a?m:m.filter((function(e){return he(e)===d})):l,f=p.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=p);var h=f.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:r,rootBoundary:i,padding:s})[N(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:w,padding:y,flipVariations:k,allowedAutoPlacements:S}):n)}),[]),B=t.rects.reference,M=t.rects.popper,A=new Map,V=!0,q=E[0],F=0;F<E.length;F++){var P=E[F],L=N(P),D=he(P)===c,I=[o,r].indexOf(L)>=0,j=I?"width":"height",$=ve(t,{placement:P,boundary:b,rootBoundary:w,altBoundary:x,padding:y}),R=I?D?i:s:D?r:o;B[j]>M[j]&&(R=oe(R));var z=oe(R),H=[];if(p&&H.push($[L]<=0),h&&H.push($[R]<=0,$[z]<=0),H.every((function(e){return e}))){q=P,V=!1;break}A.set(P,H)}if(V)for(var U=function(e){var t=E.find((function(t){var n=A.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return q=t,"break"},K=k?3:1;K>0;K--){if("break"===U(K))break}t.placement!==q&&(t.modifiersData[u]._skip=!0,t.placement=q,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[o,i,r,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,s=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(s,o),c=ye(a,r,i),u=be(l),d=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=v.reduce((function(e,n){return e[n]=function(e,t,n){var r=N(e),a=[s,o].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,i].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}};const _e={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,p=void 0!==d&&d,f=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,g=n.tether,y=void 0===g||g,b=n.tetherOffset,w=void 0===b?0:b,x=ve(t,{boundary:f,rootBoundary:h,padding:v,altBoundary:m}),_=N(t.placement),k=he(t.placement),S=!k,C=z(_),O="x"===C?"y":"x",T=t.modifiersData.popperOffsets,E=t.rects.reference,B=t.rects.popper,M="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,A={x:0,y:0};if(T){if(u||p){var V="y"===C?o:s,q="y"===C?r:i,P="y"===C?"height":"width",L=T[C],D=T[C]+x[V],I=T[C]-x[q],j=y?-B[P]/2:0,$=k===c?E[P]:B[P],K=k===c?-B[P]:-E[P],Q=t.elements.arrow,Y=y&&Q?F(Q):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=J[V],Z=J[q],X=W(0,E[P],Y[P]),ee=S?E[P]/2-j-X-G-M:$-X-G-M,te=S?-E[P]/2+j+X+Z+M:K+X+Z+M,ne=t.elements.arrow&&R(t.elements.arrow),oe=ne?"y"===C?ne.clientTop||0:ne.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][C]:0,ie=T[C]+ee-re-oe,se=T[C]+te-re;if(u){var ae=W(y?U(D,ie):D,L,y?H(I,se):I);T[C]=ae,A[C]=ae-L}if(p){var le="x"===C?o:s,ce="x"===C?r:i,ue=T[O],de=ue+x[le],pe=ue-x[ce],fe=W(y?U(de,ie):de,ue,y?H(pe,se):pe);T[O]=fe,A[O]=fe-ue}}t.modifiersData[a]=A}},requiresIfExists:["offset"]};function Se(e,t,n){void 0===n&&(n=!1);var o,r,i=I(t),s=q(e),a=M(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==T(t)||le(i))&&(l=(o=t)!==E(o)&&M(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:se(o)),M(t)?((c=q(t)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=ae(i))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Ce(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Oe={placement:"bottom",modifiers:[],strategy:"absolute"};function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Oe:r;return function(e,t,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Oe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){d(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:B(e)?ue(e):e.contextElement?ue(e.contextElement):[],popper:ue(t)};var r=function(e){var t=Ce(e);return O.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,a.options.modifiers)));return a.orderedModifiers=r.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:u,options:o}),s=function(){};l.push(i||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Te(t,n)){a.rects={reference:Se(t,R(n),"fixed"===a.options.strategy),popper:F(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var r=a.orderedModifiers[o],i=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!Te(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Be=Ee(),Me=Ee({defaultModifiers:[te,_e,X,V,xe,ge,ke,J,we]}),Ae=Ee({defaultModifiers:[te,_e,X,V]})},3577:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{EMPTY_ARR:()=>P,EMPTY_OBJ:()=>F,NO:()=>D,NOOP:()=>L,PatchFlagNames:()=>r,babelParserDefaultPlugins:()=>q,camelize:()=>ce,capitalize:()=>pe,def:()=>ve,escapeHtml:()=>T,escapeHtmlComment:()=>B,extend:()=>R,generateCodeFrame:()=>a,getGlobalThis:()=>be,hasChanged:()=>he,hasOwn:()=>U,hyphenate:()=>de,invokeArrayFns:()=>me,isArray:()=>K,isBooleanAttr:()=>u,isDate:()=>Y,isFunction:()=>J,isGloballyWhitelisted:()=>s,isHTMLTag:()=>k,isIntegerKey:()=>ie,isKnownAttr:()=>v,isMap:()=>W,isModelListener:()=>$,isNoUnitNumericStyleProp:()=>m,isObject:()=>X,isOn:()=>j,isPlainObject:()=>re,isPromise:()=>ee,isReservedProp:()=>se,isSSRSafeAttrName:()=>f,isSVGTag:()=>S,isSet:()=>Q,isSpecialBooleanAttr:()=>c,isString:()=>G,isSymbol:()=>Z,isVoidTag:()=>C,looseEqual:()=>M,looseIndexOf:()=>A,makeMap:()=>o,normalizeClass:()=>_,normalizeStyle:()=>g,objectToString:()=>te,parseStringStyle:()=>w,propsToAttrMap:()=>h,remove:()=>z,slotFlagsText:()=>i,stringifyStyle:()=>x,toDisplayString:()=>V,toHandlerKey:()=>fe,toNumber:()=>ge,toRawType:()=>oe,toTypeString:()=>ne});const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const i=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let s=e-2;s<=e+2||n>r;s++){if(s<0||s>=o.length)continue;const a=s+1;i.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${o[s]}`);const l=o[s].length;if(s===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(s>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);i.push(" | "+"^".repeat(e))}r+=l+1}}break}return i.join("\n")}const l="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",c=o(l),u=o(l+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),d=/[>/="'\u0009\u000a\u000c\u0020]/,p={};function f(e){if(p.hasOwnProperty(e))return p[e];const t=d.test(e);return t&&console.error(`unsafe attribute name: ${e}`),p[e]=!t}const h={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},m=o("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),v=o("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap");function g(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=g(G(o)?w(o):o);if(r)for(const e in r)t[e]=r[e]}return t}if(X(e))return e}const y=/;(?![^(]*\))/g,b=/:(.+)/;function w(e){const t={};return e.split(y).forEach((e=>{if(e){const n=e.split(b);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function x(e){let t="";if(!e)return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:de(n);(G(o)||"number"==typeof o&&m(r))&&(t+=`${r}:${o};`)}return t}function _(e){let t="";if(G(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const o=_(e[n]);o&&(t+=o+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const k=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),S=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),C=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),O=/["'&<>]/;function T(e){const t=""+e,n=O.exec(t);if(!n)return t;let o,r,i="",s=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}s!==r&&(i+=t.substring(s,r)),s=r+1,i+=o}return s!==r?i+t.substring(s,r):i}const E=/^-?>|<!--|-->|--!>|<!-$/g;function B(e){return e.replace(E,"")}function M(e,t){if(e===t)return!0;let n=Y(e),o=Y(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=K(e),o=K(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=M(e[o],t[o]);return n}(e,t);if(n=X(e),o=X(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!M(e[n],t[n]))return!1}}return String(e)===String(t)}function A(e,t){return e.findIndex((e=>M(e,t)))}const V=e=>null==e?"":X(e)?JSON.stringify(e,N,2):String(e),N=(e,t)=>W(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:Q(t)?{[`Set(${t.size})`]:[...t.values()]}:!X(t)||K(t)||re(t)?t:String(t),q=["bigInt","optionalChaining","nullishCoalescingOperator"],F={},P=[],L=()=>{},D=()=>!1,I=/^on[^a-z]/,j=e=>I.test(e),$=e=>e.startsWith("onUpdate:"),R=Object.assign,z=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},H=Object.prototype.hasOwnProperty,U=(e,t)=>H.call(e,t),K=Array.isArray,W=e=>"[object Map]"===ne(e),Q=e=>"[object Set]"===ne(e),Y=e=>e instanceof Date,J=e=>"function"==typeof e,G=e=>"string"==typeof e,Z=e=>"symbol"==typeof e,X=e=>null!==e&&"object"==typeof e,ee=e=>X(e)&&J(e.then)&&J(e.catch),te=Object.prototype.toString,ne=e=>te.call(e),oe=e=>ne(e).slice(8,-1),re=e=>"[object Object]"===ne(e),ie=e=>G(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,se=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ae=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},le=/-(\w)/g,ce=ae((e=>e.replace(le,((e,t)=>t?t.toUpperCase():"")))),ue=/\B([A-Z])/g,de=ae((e=>e.replace(ue,"-$1").toLowerCase())),pe=ae((e=>e.charAt(0).toUpperCase()+e.slice(1))),fe=ae((e=>e?`on${pe(e)}`:"")),he=(e,t)=>e!==t&&(e==e||t==t),me=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ve=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ge=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ye;const be=()=>ye||(ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{})},3958:(e,t,n)=>{"use strict";var o=n(7363),r=(0,o.createVNode)("div",{class:"f-section-wrap"},null,-1),i=(0,o.createVNode)("div",null,null,-1),s={key:0,class:"f-invalid",role:"alert","aria-live":"assertive"},a={key:1,class:"text-success ff_completed ff-response ff-section-text"},l={class:"vff vff_layout_default"},c={class:"f-container"},u={class:"f-form-wrap"},d={class:"vff-animate q-form f-fade-in-up field-welcomescreen"};var p="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==p&&p,f="URLSearchParams"in p,h="Symbol"in p&&"iterator"in Symbol,m="FileReader"in p&&"Blob"in p&&function(){try{return new Blob,!0}catch(e){return!1}}(),v="FormData"in p,g="ArrayBuffer"in p;if(g)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};function w(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function x(e){return"string"!=typeof e&&(e=String(e)),e}function _(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return h&&(t[Symbol.iterator]=function(){return t}),t}function k(e){this.map={},e instanceof k?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function S(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function C(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function O(e){var t=new FileReader,n=C(t);return t.readAsArrayBuffer(e),n}function T(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:m&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:v&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:f&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():g&&m&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=T(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):g&&(ArrayBuffer.prototype.isPrototypeOf(e)||b(e))?this._bodyArrayBuffer=T(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m&&(this.blob=function(){var e=S(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=S(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(O)}),this.text=function(){var e,t,n,o=S(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=C(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}k.prototype.append=function(e,t){e=w(e),t=x(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},k.prototype.delete=function(e){delete this.map[w(e)]},k.prototype.get=function(e){return e=w(e),this.has(e)?this.map[e]:null},k.prototype.has=function(e){return this.map.hasOwnProperty(w(e))},k.prototype.set=function(e,t){this.map[w(e)]=x(t)},k.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},k.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),_(e)},k.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),_(e)},k.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),_(e)},h&&(k.prototype[Symbol.iterator]=k.prototype.entries);var B=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function M(e,t){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof M){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new k(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new k(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),B.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function A(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new k(t.headers),this.url=t.url||"",this._initBody(e)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})},E.call(M.prototype),E.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new k(this.headers),url:this.url})},V.error=function(){var e=new V(null,{status:0,statusText:""});return e.type="error",e};var N=[301,302,303,307,308];V.redirect=function(e,t){if(-1===N.indexOf(t))throw new RangeError("Invalid status code");return new V(null,{status:t,headers:{location:e}})};var q=p.DOMException;try{new q}catch(e){(q=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),q.prototype.constructor=q}function F(e,t){return new Promise((function(n,o){var r=new M(e,t);if(r.signal&&r.signal.aborted)return o(new q("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var e,t,o={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new k,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in i?i.responseURL:o.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout((function(){n(new V(r,o))}),0)},i.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){o(new q("Aborted","AbortError"))}),0)},i.open(r.method,function(e){try{return""===e&&p.location.href?p.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?i.withCredentials=!0:"omit"===r.credentials&&(i.withCredentials=!1),"responseType"in i&&(m?i.responseType="blob":g&&r.headers.get("Content-Type")&&-1!==r.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof k?r.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,x(t.headers[e]))})),r.signal&&(r.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&r.signal.removeEventListener("abort",s)}),i.send(void 0===r._bodyInit?null:r._bodyInit)}))}F.polyfill=!0,p.fetch||(p.fetch=F,p.Headers=k,p.Request=M,p.Response=V);var P={class:"f-container"},L={class:"f-form-wrap"},D={key:0,class:"vff-animate f-fade-in-up field-submittype"},I={class:"f-section-wrap"},j={class:"fh2"},$={key:2,class:"text-success"},R={class:"vff-footer"},z={class:"footer-inner-wrap"},H={key:0,class:"ffc_progress_label"},U={class:"f-progress-bar"},K={key:1,class:"f-nav"},W={key:0,href:"https://fluentforms.com/",target:"_blank",rel:"noopener",class:"ffc_power"},Q=(0,o.createTextVNode)(" Powered by "),Y=(0,o.createVNode)("b",null,"FluentForms",-1),J=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),G={class:"f-nav-text","aria-hidden":"true"},Z=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),X={class:"f-nav-text","aria-hidden":"true"},ee={key:2,class:"f-timer"};var te={class:"ffc_q_header"},ne={key:1,class:"f-text"},oe=(0,o.createVNode)("span",{"aria-hidden":"true"},"*",-1),re={key:1,class:"f-answer"},ie={key:0,class:"f-answer f-full-width"},se={key:1,class:"f-sub"},ae={key:2,class:"f-help"},le={key:3,class:"f-help"},ce={key:1,class:"f-description"},ue={key:0},de={key:0,class:"vff-animate f-fade-in f-enter"},pe={key:0},fe={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"},he={key:0,class:"ff_conv_media_holder"},me={key:0,class:"fc_image_holder"};var ve={class:"ffc-counter"},ge={class:"ffc-counter-in"},ye={class:"ffc-counter-div"},be={class:"counter-value"},we=(0,o.createVNode)("div",{class:" counter-icon-container"},[(0,o.createVNode)("span",{class:"counter-icon-span"},[(0,o.createVNode)("svg",{height:"10",width:"11"},[(0,o.createVNode)("path",{d:"M7.586 5L4.293 1.707 5.707.293 10.414 5 5.707 9.707 4.293 8.293z"}),(0,o.createVNode)("path",{d:"M8 4v2H0V4z"})])])],-1);const xe={name:"Counter",props:["serial"],render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",ve,[(0,o.createVNode)("div",ge,[(0,o.createVNode)("div",ye,[(0,o.createVNode)("span",be,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.serial),1)]),we])])])}},_e=xe;function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oe={name:"SubmitButton",props:["language","disabled"],data:function(){return{hover:!1}},computed:{button:function(){return this.globalVars.form.submit_button},btnStyles:function(){if(""!=this.button.settings.button_style)return"default"===this.button.settings.button_style?{}:{backgroundColor:this.button.settings.background_color,color:this.button.settings.color};var e=this.button.settings.normal_styles,t="normal_styles";this.hover&&(t="hover_styles");var n=JSON.parse(JSON.stringify(this.button.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,Se(Se({},e),n)},btnStyleClass:function(){return this.button.settings.button_style},btnSize:function(){return"ff-btn-"+this.button.settings.button_size}},methods:{submit:function(){this.$emit("submit")},toggleHover:function(e){this.hover=e}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"ff-btn-submit-"+s.button.settings.align},["default"==s.button.settings.button_ui.type?((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,type:"button",class:["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]],style:s.btnStyles,"aria-label":n.language.ariaSubmitText,disabled:n.disabled,onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),onMouseenter:t[2]||(t[2]=function(e){return s.toggleHover(!0)}),onMouseleave:t[3]||(t[3]=function(e){return s.toggleHover(!1)})},[(0,o.createVNode)("span",{innerHTML:s.button.settings.button_ui.text},null,8,["innerHTML"])],46,["aria-label","disabled"])):((0,o.openBlock)(),(0,o.createBlock)("img",{key:1,disabled:n.disabled,src:s.button.settings.button_ui.img_url,"aria-label":n.language.ariaSubmitText,style:{"max-width":"200px"},onClick:t[4]||(t[4]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"]))},null,8,["disabled","src","aria-label"])),(0,o.createVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[5]||(t[5]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])],2)}},Te=Oe;function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Me(e,t,n){return t&&Be(e.prototype,t),n&&Be(e,n),e}var Ae=Object.freeze({Date:"FlowFormDateType",Dropdown:"FlowFormDropdownType",Email:"FlowFormEmailType",File:"FlowFormFileType",LongText:"FlowFormLongTextType",MultipleChoice:"FlowFormMultipleChoiceType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType",Number:"FlowFormNumberType",Password:"FlowFormPasswordType",Phone:"FlowFormPhoneType",SectionBreak:"FlowFormSectionBreakType",Text:"FlowFormTextType",Url:"FlowFormUrlType"}),Ve=(Object.freeze({label:"",value:"",disabled:!0}),Object.freeze({Date:"##/##/####",DateIso:"####-##-##",PhoneUs:"(###) ###-####"})),Ne=function(){function e(t){Ee(this,e),this.label="",this.value=null,this.selected=!1,this.imageSrc=null,this.imageAlt=null,Object.assign(this,t)}return Me(e,[{key:"choiceLabel",value:function(){return this.label||this.value}},{key:"choiceValue",value:function(){return null!==this.value?this.value:this.label||this.imageAlt||this.imageSrc}},{key:"toggle",value:function(){this.selected=!this.selected}}]),e}(),qe=function e(t){Ee(this,e),this.url="",this.text="",this.target="_blank",Object.assign(this,t)},Fe=function(){function e(t){Ee(this,e),this.id=null,this.answer=null,this.answered=!1,this.index=0,this.options=[],this.description="",this.className="",this.type=null,this.html=null,this.required=!1,this.jump=null,this.placeholder=null,this.mask="",this.multiple=!1,this.allowOther=!1,this.other=null,this.language=null,this.tagline=null,this.title=null,this.subtitle=null,this.content=null,this.inline=!1,this.helpText=null,this.helpTextShow=!0,this.descriptionLink=[],this.min=null,this.max=null,this.maxLength=null,this.nextStepOnAnswer=!1,this.accept=null,this.maxSize=null,Object.assign(this,t),this.type===Ae.Phone&&(this.mask||(this.mask=Ve.Phone),this.placeholder||(this.placeholder=this.mask)),this.type===Ae.Url&&(this.mask=null),this.type!==Ae.Date||this.placeholder||(this.placeholder="yyyy-mm-dd"),this.multiple&&!Array.isArray(this.answer)&&(this.answer=this.answer?[this.answer]:[]),this.resetOptions()}return Me(e,[{key:"getJumpId",value:function(){var e=null;return"function"==typeof this.jump?e=this.jump.call(this):this.jump[this.answer]?e=this.jump[this.answer]:this.jump._other&&(e=this.jump._other),e}},{key:"setAnswer",value:function(e){this.type!==Ae.Number||""===e||isNaN(+e)||(e=+e),this.answer=e}},{key:"setIndex",value:function(e){this.id||(this.id="q_"+e),this.index=e}},{key:"resetOptions",value:function(){var e=this;if(this.options){var t=Array.isArray(this.answer),n=0;if(this.options.forEach((function(o){var r=o.choiceValue();(e.answer===r||t&&-1!==e.answer.indexOf(r))&&(o.selected=!0,++n)})),this.allowOther){var o=null;t?this.answer.length&&this.answer.length!==n&&(o=this.answer[this.answer.length-1]):-1===this.options.map((function(e){return e.choiceValue()})).indexOf(this.answer)&&(o=this.answer),null!==o&&(this.other=o)}}}},{key:"isMultipleChoiceType",value:function(){return[Ae.MultipleChoice,Ae.MultiplePictureChoice].includes(this.type)}}]),e}();function Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Le=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enterKey="Enter",this.shiftKey="Shift",this.ok="OK",this.continue="Continue",this.skip="Skip",this.pressEnter="Press :enterKey",this.multipleChoiceHelpText="Choose as many as you like",this.multipleChoiceHelpTextSingle="Choose only one answer",this.otherPrompt="Other",this.placeholder="Type your answer here...",this.submitText="Submit",this.longTextHelpText=":shiftKey + :enterKey to make a line break.",this.prev="Prev",this.next="Next",this.percentCompleted=":percent% completed",this.invalidPrompt="Please fill out the field correctly",this.thankYouText="Thank you!",this.successText="Your submission has been sent.",this.ariaOk="Press to continue",this.ariaRequired="This step is required",this.ariaPrev="Previous step",this.ariaNext="Next step",this.ariaSubmitText="Press to submit",this.ariaMultipleChoice="Press :letter to select",this.ariaTypeAnswer="Type your answer here",this.errorAllowedFileTypes="Invalid file type. Allowed file types: :fileTypes.",this.errorMaxFileSize="File(s) too large. Maximum allowed file size: :size.",this.errorMinFiles="Too few files added. Minimum allowed files: :min.",this.errorMaxFiles="Too many files added. Maximum allowed files: :max.",Object.assign(this,t||{})}var t,n,o;return t=e,(n=[{key:"formatString",value:function(e,t){var n=this;return e.replace(/:(\w+)/g,(function(e,o){return n[o]?'<span class="f-string-em">'+n[o]+"</span>":t&&t[o]?t[o]:e}))}},{key:"formatFileSize",value:function(e){var t=e>0?Math.floor(Math.log(e)/Math.log(1024)):0;return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}])&&Pe(t.prototype,n),o&&Pe(t,o),e}(),De=!1,Ie=!1;"undefined"!=typeof navigator&&"undefined"!=typeof document&&(De=navigator.userAgent.match(/iphone|ipad|ipod/i)||-1!==navigator.userAgent.indexOf("Mac")&&"ontouchend"in document,Ie=De||navigator.userAgent.match(/android/i));var je={data:function(){return{isIos:De,isMobile:Ie}}};const $e={name:"FlowFormBaseType",props:{language:Le,question:Fe,active:Boolean,disabled:Boolean,modelValue:[String,Array,Boolean,Number,Object]},mixins:[je],data:function(){return{dirty:!1,dataValue:null,answer:null,enterPressed:!1,allowedChars:null,alwaysAllowedKeys:["ArrowLeft","ArrowRight","Delete","Backspace"],focused:!1,canReceiveFocus:!1,errorMessage:null}},mounted:function(){this.question.answer?this.dataValue=this.answer=this.question.answer:this.question.multiple&&(this.dataValue=[])},methods:{fixAnswer:function(e){return e},getElement:function(){for(var e=this.$refs.input;e&&e.$el;)e=e.$el;return e},setFocus:function(){this.focused=!0},unsetFocus:function(e){this.focused=!1},focus:function(){if(!this.focused){var e=this.getElement();e&&e.focus()}},blur:function(){var e=this.getElement();e&&e.blur()},onKeyDown:function(e){this.enterPressed=!1,clearTimeout(this.timeoutId),e&&("Enter"!==e.key||e.shiftKey||this.unsetFocus(),null!==this.allowedChars&&-1===this.alwaysAllowedKeys.indexOf(e.key)&&-1===this.allowedChars.indexOf(e.key)&&e.preventDefault())},onChange:function(e){this.dirty=!0,this.dataValue=e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue)},onEnter:function(){this._onEnter()},_onEnter:function(){this.enterPressed=!0,this.dataValue=this.fixAnswer(this.dataValue),this.setAnswer(this.dataValue),this.isValid()?this.blur():this.focus()},setAnswer:function(e){this.question.setAnswer(e),this.answer=this.question.answer,this.question.answered=this.isValid(),this.$emit("update:modelValue",this.answer)},showInvalid:function(){return this.dirty&&this.enterPressed&&!this.isValid()},isValid:function(){return!(this.question.required||this.hasValue||!this.dirty)||!!this.validate()},validate:function(){return!this.question.required||this.hasValue}},computed:{placeholder:function(){return this.question.placeholder||this.language.placeholder},hasValue:function(){if(null!==this.dataValue){var e=this.dataValue;return e.trim?e.trim().length>0:!Array.isArray(e)||e.length>0}return!1}}};function Re(e,t,n=!0,o){e=e||"",t=t||"";for(var r=0,i=0,s="";r<t.length&&i<e.length;){var a=o[u=t[r]],l=e[i];a&&!a.escape?(a.pattern.test(l)&&(s+=a.transform?a.transform(l):l,r++),i++):(a&&a.escape&&(u=t[++r]),n&&(s+=u),l===u&&i++,r++)}for(var c="";r<t.length&&n;){var u;if(o[u=t[r]]){c="";break}c+=u,r++}return s+c}function ze(e,t,n=!0,o){return Array.isArray(t)?function(e,t,n){return t=t.sort(((e,t)=>e.length-t.length)),function(o,r,i=!0){for(var s=0;s<t.length;){var a=t[s];s++;var l=t[s];if(!(l&&e(o,l,!0,n).length>a.length))return e(o,a,i,n)}return""}}(Re,t,o)(e,t,n,o):Re(e,t,n,o)}var He=n(5460),Ue=n.n(He);function Ke(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}const We={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:()=>Ue()}},directives:{mask:function(e,t){var n=t.value;if((Array.isArray(n)||"string"==typeof n)&&(n={mask:n,tokens:Ue()}),"INPUT"!==e.tagName.toLocaleUpperCase()){var o=e.getElementsByTagName("input");if(1!==o.length)throw new Error("v-mask directive requires 1 input, found "+o.length);e=o[0]}e.oninput=function(t){if(t.isTrusted){var o=e.selectionEnd,r=e.value[o-1];for(e.value=ze(e.value,n.mask,!0,n.tokens);o<e.value.length&&e.value.charAt(o-1)!==r;)o++;e===document.activeElement&&(e.setSelectionRange(o,o),setTimeout((function(){e.setSelectionRange(o,o)}),0)),e.dispatchEvent(Ke("input"))}};var r=ze(e.value,n.mask,!0,n.tokens);r!==e.value&&(e.value=r,e.dispatchEvent(Ke("input")))}},data(){return{lastValue:null,display:this.value}},watch:{value(e){e!==this.lastValue&&(this.display=e)},masked(){this.refresh(this.display)}},computed:{config(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput(e){e.isTrusted||this.refresh(e.target.value)},refresh(e){this.display=e,(e=ze(e,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=e,this.$emit("input",e))}},render:function(e,t,n,r,i,s){const a=(0,o.resolveDirective)("mask");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{type:"text",value:i.display,onInput:t[1]||(t[1]=(...e)=>s.onInput&&s.onInput(...e))},null,40,["value"])),[[a,s.config]])}},Qe=We,Ye={extends:$e,name:Ae.Text,components:{TheMask:Qe},data:function(){return{inputType:"text",canReceiveFocus:!0}},methods:{validate:function(){return this.question.mask&&this.hasValue?this.validateMask():!this.question.required||this.hasValue},validateMask:function(){var e=this;return Array.isArray(this.question.mask)?this.question.mask.some((function(t){return t.length===e.dataValue.length})):this.dataValue.length===this.question.mask.length}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createBlock)("span",{"data-placeholder":"date"===i.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",mask:e.question.mask,masked:!1,type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["mask","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,ref:"input",type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[1]||(t[1]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[5]||(t[5]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[6]||(t[6]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder,maxlength:e.question.maxLength},null,40,["type","value","required","min","max","placeholder","maxlength"]))],8,["data-placeholder"])}},Je=Ye,Ge={extends:Je,name:Ae.Url,data:function(){return{inputType:"url"}},methods:{fixAnswer:function(e){return e&&-1===e.indexOf("://")&&(e="https://"+e),e},validate:function(){if(this.hasValue)try{new URL(this.fixAnswer(this.dataValue));return!0}catch(e){return!1}return!this.question.required}}},Ze={extends:Ge,methods:{validate:function(){if(this.hasValue&&!new RegExp("^(http|https|ftp|ftps)://([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&amp;%$-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9-]+.)*[a-zA-Z0-9-]+.(com|[a-zA-Z]{2,10}))(:[0-9]+)*(/($|[a-zA-Z0-9.,?'\\+&amp;%$#=~_-]+))*$").test(this.fixAnswer(this.dataValue)))return this.errorMessage=this.question.validationRules.url.message,!1;return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}};const Xe={extends:Je,data:function(){return{tokens:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}}},methods:{validate:function(){if(this.question.mask&&this.hasValue){var e=this.validateMask();return e||(this.errorMessage=this.language.invalidPrompt),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createBlock)("span",{"data-placeholder":"date"===e.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",mask:e.question.mask,masked:!1,tokens:i.tokens,type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["mask","tokens","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,ref:"input",type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[1]||(t[1]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[5]||(t[5]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[6]||(t[6]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder},null,40,["type","value","required","min","max","placeholder"]))],8,["data-placeholder"])}},et=Xe;var tt={class:"star-rating"},nt=(0,o.createVNode)("div",{class:"star"},"★",-1),ot={class:"number"};const rt={name:"FormBaseType",extends:$e};var it={class:"f-radios-wrap"},st={key:0,class:"f-image"},at={class:"f-label-wrap"},lt={title:"Press the key to select",class:"f-key"},ct={key:0,class:"f-label"},ut=(0,o.createVNode)("span",{class:"ffc_check_svg"},[(0,o.createVNode)("svg",{height:"13",width:"16"},[(0,o.createVNode)("path",{d:"M14.293.293l1.414 1.414L5 12.414.293 7.707l1.414-1.414L5 9.586z"})])],-1),dt={class:"f-label-wrap"},pt={key:0,class:"f-key"},ft={key:2,class:"f-selected"},ht={class:"f-label"},mt={key:3,class:"f-label"};function vt(e){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yt(e,t){return(yt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=xt(e);if(t){var r=xt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return wt(this,n)}}function wt(e,t){return!t||"object"!==vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _t=Object.assign({Rate:"FlowFormRateType",Text:"FlowFormTextType",Email:"FlowFormEmailType",Phone:"FlowFormPhoneType",SectionBreak:"FlowFormSectionBreakType",WelcomeScreen:"FlowFormWelcomeScreenType",MultipleChoice:"FlowFormMultipleChoiceType",DropdownMultiple:"FlowFormDropdownMultipleType",TermsAndCondition:"FlowFormTermsAndConditionType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType"},Ae),kt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yt(e,t)}(i,e);var t,n,o,r=bt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).counter=0,t}return t=i,(n=[{key:"setCounter",value:function(e){this.counter=e}},{key:"showQuestion",value:function(e){var t=!1;if(this.conditional_logics.status){for(var n=0;n<this.conditional_logics.conditions.length;n++){var o=this.evaluateCondition(this.conditional_logics.conditions[n],e[this.conditional_logics.conditions[n].field]);if("any"===this.conditional_logics.type){if(o){t=!0;break}}else{if(!o){t=!1;break}t=!0}}return t}return!0}},{key:"evaluateCondition",value:function(e,t){return"="==e.operator?"object"==vt(t)?null!==t&&-1!=t.indexOf(e.value):t==e.value:"!="==e.operator?"object"==vt(t)?null!==t&&-1==t.indexOf(e.value):t!=e.value:">"==e.operator?t&&t>Number(e.value):"<"==e.operator?t&&t<Number(e.value):">="==e.operator?t&&t>=Number(e.value):"<="==e.operator?t&&t<=Number(e.value):"startsWith"==e.operator?t.startsWith(e.value):"endsWith"==e.operator?t.endsWith(e.value):"contains"==e.operator?null!==t&&-1!=t.indexOf(e.value):"doNotContains"==e.operator&&null!==t&&-1==t.indexOf(e.value)}},{key:"isMultipleChoiceType",value:function(){return[_t.MultipleChoice,_t.MultiplePictureChoice,_t.DropdownMultiple].includes(this.type)}}])&&gt(t.prototype,n),o&&gt(t,o),i}(Fe),St={class:"f-radios-wrap"},Ct={key:0,class:"f-image"},Ot={class:"f-label-wrap"},Tt={class:"f-key"},Et={key:0,class:"f-label"},Bt={class:"f-label-wrap"},Mt={key:0,class:"f-key"},At={key:2,class:"f-selected"},Vt={class:"f-label"},Nt={key:3,class:"f-label"};const qt={extends:$e,name:Ae.MultipleChoice,data:function(){return{editingOther:!1,hasImages:!1}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},watch:{active:function(e){e?(this.addKeyListener(),this.question.multiple&&this.question.answered&&(this.enterPressed=!1)):this.removeKeyListener()}},methods:{addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key&&1===e.key.length){var t=e.key.toUpperCase().charCodeAt(0);if(t>=65&&t<=90){var n=t-65;if(n>-1){var o=this.question.options[n];o?this.toggleAnswer(o):this.question.allowOther&&n===this.question.options.length&&this.startEditOther()}}}},getLabel:function(e){return this.language.ariaMultipleChoice.replace(":letter",this.getToggleKey(e))},getToggleKey:function(e){var t=65+e;return t<=90?String.fromCharCode(t):""},toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&this._toggleAnswer(n)}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(t)&&this.dataValue.push(t):this._removeAnswer(t)):this.dataValue=e.selected?t:null,this.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple&&!this.disabled&&this.$emit("next"),this.setAnswer(this.dataValue)},_removeAnswer:function(e){var t=this.dataValue.indexOf(e);-1!==t&&this.dataValue.splice(t,1)},startEditOther:function(){var e=this;this.editingOther=!0,this.enterPressed=!1,this.$nextTick((function(){e.$refs.otherInput.focus()}))},onChangeOther:function(){if(this.editingOther){var e=[],t=this;this.question.options.forEach((function(n){n.selected&&(t.question.multiple?e.push(n.choiceValue()):n.toggle())})),this.question.other&&this.question.multiple?e.push(this.question.other):this.question.multiple||(e=this.question.other),this.dataValue=e,this.setAnswer(this.dataValue)}},stopEditOther:function(){this.editingOther=!1}},computed:{hasValue:function(){return!!this.question.options.filter((function(e){return e.selected})).length||!!this.question.allowOther&&(this.question.other&&this.question.other.trim().length>0)}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",St,[(0,o.createVNode)("ul",{class:["f-radios",{"f-multiple":e.question.multiple}],role:"listbox"},[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("li",{onClick:(0,o.withModifiers)((function(t){return s.toggleAnswer(e)}),["prevent"]),class:{"f-selected":e.selected},key:"m"+t,"aria-label":s.getLabel(t),role:"option"},[i.hasImages&&e.imageSrc?((0,o.openBlock)(),(0,o.createBlock)("span",Ct,[(0,o.createVNode)("img",{src:e.imageSrc,alt:e.imageAlt},null,8,["src","alt"])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",Ot,[(0,o.createVNode)("span",Tt,(0,o.toDisplayString)(s.getToggleKey(t)),1),e.choiceLabel()?((0,o.openBlock)(),(0,o.createBlock)("span",Et,(0,o.toDisplayString)(e.choiceLabel()),1)):(0,o.createCommentVNode)("",!0)])],10,["onClick","aria-label"])})),128)),!i.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createBlock)("li",{key:0,class:["f-other",{"f-selected":e.question.other,"f-focus":i.editingOther}],onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return s.startEditOther&&s.startEditOther.apply(s,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createVNode)("div",Bt,[i.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",Mt,(0,o.toDisplayString)(s.getToggleKey(e.question.options.length)),1)),i.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[2]||(t[2]=function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),onKeyup:[t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)})],onChange:t[5]||(t[5]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createBlock)("span",At,[(0,o.createVNode)("span",Vt,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createBlock)("span",Nt,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,["aria-label"])):(0,o.createCommentVNode)("",!0)],2)])}},Ft=qt,Pt={extends:Ft,name:_t.MultipleChoice,methods:{toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&n.toggle()}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=this,n=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(n)&&this.dataValue.push(n):this._removeAnswer(n)):this.dataValue=e.selected?n:null,this.$nextTick((function(){!t.isValid()||!t.question.nextStepOnAnswer||t.question.multiple||t.disabled||t.$parent.lastStep||t.$emit("next")})),this.setAnswer(this.dataValue)},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",it,[(0,o.createVNode)("ul",{class:["f-radios",e.question.multiple?"f-multiple":"f-single"],role:"listbox"},[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(t,n){return(0,o.openBlock)(),(0,o.createBlock)("li",{onClick:(0,o.withModifiers)((function(e){return s.toggleAnswer(t)}),["prevent"]),class:{"f-selected":t.selected},key:"m"+n,"aria-label":e.getLabel(n),role:"option"},[e.hasImages&&t.imageSrc?((0,o.openBlock)(),(0,o.createBlock)("span",st,[(0,o.createVNode)("img",{src:t.imageSrc,alt:t.imageAlt},null,8,["src","alt"])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",at,[(0,o.createVNode)("span",lt,(0,o.toDisplayString)(e.getToggleKey(n)),1),t.choiceLabel()?((0,o.openBlock)(),(0,o.createBlock)("span",ct,(0,o.toDisplayString)(t.choiceLabel()),1)):(0,o.createCommentVNode)("",!0),ut])],10,["onClick","aria-label"])})),128)),!e.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createBlock)("li",{key:0,class:["f-other",{"f-selected":e.question.other,"f-focus":e.editingOther}],onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return e.startEditOther&&e.startEditOther.apply(e,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createVNode)("div",dt,[e.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",pt,(0,o.toDisplayString)(e.getToggleKey(e.question.options.length)),1)),e.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[2]||(t[2]=function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),onKeyup:[t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)})],onChange:t[5]||(t[5]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createBlock)("span",ft,[(0,o.createVNode)("span",ht,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createBlock)("span",mt,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,["aria-label"])):(0,o.createCommentVNode)("",!0)],2)])}},Lt=Pt,Dt={extends:rt,name:_t.Rate,data:function(){return{temp_value:null,rateText:null,rateTimeOut:null,keyPressed:[]}},watch:{active:function(e){e?this.addKeyListener():this.removeKeyListener()}},computed:{ratings:function(){return this.question.rateOptions}},methods:{starOver:function(e,t){this.temp_value=parseInt(e),this.rateText=t},starOut:function(){this.temp_value=this.dataValue,this.dataValue?this.rateText=this.ratings[this.dataValue]:this.rateText=null},set:function(e,t){this.dataValue=parseInt(e),this.temp_value=parseInt(e),this.rateText=t,this.dataValue&&(this.setAnswer(this.dataValue),this.disabled||this.$parent.lastStep||this.$emit("next"))},getClassObject:function(e){return e=parseInt(e),{"is-selected":this.temp_value>=e&&null!=this.temp_value,"is-disabled":this.disabled,blink:this.dataValue===e}},addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){var t=this;if(clearTimeout(this.rateTimeOut),this.active&&!this.editingOther&&e.key&&1===e.key.length){var n=parseInt(e.key);this.keyPressed.push(n),this.rateTimeOut=setTimeout((function(){var e=parseInt(t.keyPressed.join("")),n=t.question.rateOptions[e];n?(t.set(e,n),t.keyPressed=[]):t.keyPressed=[]}),1e3)}}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",tt,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(s.ratings,(function(n,r){return(0,o.openBlock)(),(0,o.createBlock)("label",{class:["star-rating__star",s.getClassObject(r)],onClick:function(e){return s.set(r,n)},onMouseover:function(e){return s.starOver(r,n)},onMouseout:t[2]||(t[2]=function(){return s.starOut&&s.starOut.apply(s,arguments)})},[(0,o.withDirectives)((0,o.createVNode)("input",{class:"star-rating star-rating__checkbox",type:"radio",value:r,name:e.question.name,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),disabled:e.disabled},null,8,["value","name","disabled"]),[[o.vModelRadio,e.dataValue]]),nt,(0,o.createVNode)("div",ot,(0,o.toDisplayString)(r),1)],42,["onClick","onMouseover"])})),256)),(0,o.withDirectives)((0,o.createVNode)("span",{class:"star-rating-text"},(0,o.toDisplayString)(i.rateText),513),[[o.vShow,"yes"===e.question.show_text]])])}},It=Dt;const jt={extends:et,name:_t.Date,data:function(){return{inputType:"date",canReceiveFocus:!1}},methods:{init:function(){var e=this;if("undefined"!=typeof flatpickr){flatpickr.localize(this.globalVars.date_i18n);var t=Object.assign({},this.question.dateConfig,this.question.dateCustomConfig);t.locale||(t.locale="default"),t.defaultDate=this.question.answer,flatpickr(this.getElement(),t).config.onChange.push((function(t,n,o){e.dataValue=n}))}},validate:function(){return this.question.min&&this.dataValue<this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):this.question.max&&this.dataValue>this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},mounted:function(){this.init()},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("input",{ref:"input",required:e.question.required,placeholder:e.placeholder,value:e.modelValue},null,8,["required","placeholder","value"])}},$t=jt,Rt={extends:Je,name:Ae.Email,data:function(){return{inputType:"email"}},methods:{validate:function(){return this.hasValue?/^[^@]+@.+[^.]$/.test(this.dataValue):!this.question.required}}},zt={extends:Rt,name:_t.Email,methods:{validate:function(){if(this.hasValue){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(this.dataValue)||(this.errorMessage=this.language.invalidPrompt,!1)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}},Ht={extends:et,name:_t.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}},methods:{validate:function(){return this.hasValue?this.iti.isValidNumber():!this.question.required},init:function(){var e=this;if("undefined"!=typeof intlTelInput&&0!=this.question.phone_settings.enabled){var t=this.getElement(),n=JSON.parse(this.question.phone_settings.itlOptions);this.question.phone_settings.ipLookupUrl&&(n.geoIpLookup=function(t,n){fetch(e.question.phone_settings.ipLookupUrl,{headers:{Accept:"application/json"}}).then((function(e){return e.json()})).then((function(e){var n=e&&e.country?e.country:"";t(n)}))}),this.iti=intlTelInput(t,n),t.addEventListener("change",(function(){e.itiFormat()})),t.addEventListener("keyup",(function(){e.itiFormat()}))}},itiFormat:function(){if("undefined"!=typeof intlTelInputUtils){var e=this.iti.getNumber(intlTelInputUtils.numberFormat.E164);"string"==typeof e&&this.iti.setNumber(e),this.dataValue=this.iti.getNumber()}}},mounted:function(){this.init()}},Ut={extends:et,name:_t.Number,data:function(){return{inputType:"number",allowedChars:"-0123456789."}},methods:{fixAnswer:function(e){return e=null===e?"":e},validate:function(){return null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):this.hasValue?this.question.mask?(this.errorMessage=this.language.invalidPrompt,this.validateMask()):!isNaN(+this.dataValue):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}};var Kt=n(3377),Wt=n(5853);const Qt={extends:rt,name:_t.Dropdown,components:{ElSelect:Wt.default,ElOption:Kt.Z},watch:{active:function(e){e||this.$refs.input.blur()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("el-option"),l=(0,o.resolveComponent)("el-select");return(0,o.openBlock)(),(0,o.createBlock)(l,{ref:"input",multiple:e.question.multiple,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),placeholder:e.question.placeholder,"multiple-limit":e.question.max_selection,clearable:!0,filterable:"yes"===e.question.searchable,class:"f-full-width",onChange:e.setAnswer},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(a,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["multiple","modelValue","placeholder","multiple-limit","filterable","onChange"])}},Yt=Qt;const Jt={name:"TextareaAutosize",props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:()=>({val:null,maxHeightScroll:!1,height:"auto"}),computed:{computedStyles(){return this.autosize?{resize:this.isResizeImportant?"none !important":"none",height:this.height,overflow:this.maxHeightScroll?"auto":this.isOverflowImportant?"hidden !important":"hidden"}:{}},isResizeImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("resize")},isOverflowImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("overflow")},isHeightImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("height")}},watch:{value(e){this.val=e},val(e){this.$nextTick(this.resize),this.$emit("input",e)},minHeight(){this.$nextTick(this.resize)},maxHeight(){this.$nextTick(this.resize)},autosize(e){e&&this.resize()}},methods:{resize(){const e=this.isHeightImportant?"important":"";return this.height="auto"+(e?" !important":""),this.$nextTick((()=>{let t=this.$el.scrollHeight+1;this.minHeight&&(t=t<this.minHeight?this.minHeight:t),this.maxHeight&&(t>this.maxHeight?(t=this.maxHeight,this.maxHeightScroll=!0):this.maxHeightScroll=!1);const n=t+"px";this.height=`${n}${e?" !important":""}`})),this}},created(){this.val=this.value},mounted(){this.resize()},render:function(e,t,n,r,i,s){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("textarea",{style:s.computedStyles,"onUpdate:modelValue":t[1]||(t[1]=e=>i.val=e),onFocus:t[2]||(t[2]=(...e)=>s.resize&&s.resize(...e))},null,36)),[[o.vModelText,i.val]])}},Gt=Jt,Zt={extends:$e,name:Ae.LongText,components:{TextareaAutosize:Gt},data:function(){return{canReceiveFocus:!0}},mounted:function(){window.addEventListener("resize",this.onResizeListener)},beforeUnmount:function(){window.removeEventListener("resize",this.onResizeListener)},methods:{onResizeListener:function(){this.$refs.input.resize()},unsetFocus:function(e){!e&&this.isMobile||(this.focused=!1)},onEnterDown:function(e){this.isMobile||e.preventDefault()},onEnter:function(){this.isMobile||this._onEnter()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("textarea-autosize");return(0,o.openBlock)(),(0,o.createBlock)("span",null,[(0,o.createVNode)(a,{ref:"input",rows:"1",value:e.modelValue,required:e.question.required,onKeydown:[e.onKeyDown,(0,o.withKeys)((0,o.withModifiers)(s.onEnterDown,["exact"]),["enter"])],onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["exact","prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:s.unsetFocus,placeholder:e.placeholder,maxlength:e.question.maxLength},null,8,["value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","maxlength"])])}},Xt=Zt,en={extends:Xt,methods:{validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}},tn={extends:et,name:_t.Password,data:function(){return{inputType:"password"}}};var nn={class:"ffc_q_header"},on={class:"f-text"},rn={class:"f-sub"},sn={class:"ff_custom_button f-enter"};function an(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function ln(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?an(Object(n),!0).forEach((function(t){cn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):an(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const un={extends:rt,name:_t.WelcomeScreen,props:["replaceSmartCodes"],methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0},next:function(){this.$emit("next")}},data:function(){return{extraHtml:"<style>.ff_default_submit_button_wrapper {display: none !important;}</style>"}},computed:{btnStyles:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{backgroundColor:this.question.settings.background_color,color:this.question.settings.color};var e=this.question.settings.normal_styles,t="normal_styles";if("hover_styles"==this.question.settings.current_state&&(t="hover_styles"),!this.question.settings[t])return e;var n=JSON.parse(JSON.stringify(this.question.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,ln(ln({},e),n)},btnStyleClass:function(){return this.question.settings.button_style},btnSize:function(){return"ff-btn-"+this.question.settings.button_size},wrapperStyle:function(){var e={};return e.textAlign=this.question.settings.align,e},enterStyle:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{color:this.question.settings.background_color};var e=this.question.settings.normal_styles,t="normal_styles";return"hover_styles"==this.question.settings.current_state&&(t="hover_styles"),this.question.settings[t]?{color:JSON.parse(JSON.stringify(this.question.settings[t])).backgroundColor}:e}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"fh2 f-welcome-screen",style:s.wrapperStyle},[(0,o.createVNode)("div",nn,[(0,o.createVNode)("h4",on,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.title)),1)]),(0,o.createVNode)("div",rn,[e.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,innerHTML:n.replaceSmartCodes(e.question.subtitle)},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)("div",sn,["default"==e.question.settings.button_ui.type?((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]],type:"button",ref:"button",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:s.btnStyles},[(0,o.createVNode)("span",{innerHTML:e.question.settings.button_ui.text},null,8,["innerHTML"])],6)):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:s.enterStyle,innerHTML:e.language.formatString(e.language.pressEnter)},null,12,["innerHTML"])])],4)}},dn=un;var pn={key:0,class:"f-content"},fn={class:"f-section-text"};const hn={extends:$e,name:Ae.SectionBreak,methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0}},render:function(e,t,n,r,i,s){return e.question.content?((0,o.openBlock)(),(0,o.createBlock)("div",pn,[(0,o.createVNode)("span",fn,(0,o.toDisplayString)(e.question.content),1)])):(0,o.createCommentVNode)("",!0)}},mn=hn,vn={extends:mn,name:_t.SectionBreak,props:["replaceSmartCodes"],render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"f-content",innerHTML:n.replaceSmartCodes(e.question.content)},null,8,["innerHTML"])}},gn=vn;var yn={class:"q-inner"},bn={key:0,class:"f-tagline"},wn={key:0,class:"fh2"},xn={key:1,class:"f-text"},_n=(0,o.createVNode)("span",{"aria-hidden":"true"},"*",-1),kn={key:1,class:"f-answer"},Sn={key:2,class:"f-sub"},Cn={key:0},On={key:2,class:"f-help"},Tn={key:3,class:"f-help"},En={key:3,class:"f-answer f-full-width"},Bn={key:0,class:"f-description"},Mn={key:0},An={key:0,class:"vff-animate f-fade-in f-enter"},Vn={key:0},Nn={key:1},qn={key:2},Fn={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"};var Pn={class:"faux-form"},Ln={key:0,label:" ",value:"",disabled:"",selected:"",hidden:""},Dn=(0,o.createVNode)("span",{class:"f-arrow-down"},[(0,o.createVNode)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-163 254.1 284.9 284.9",style:"","xml:space":"preserve"},[(0,o.createVNode)("g",null,[(0,o.createVNode)("path",{d:"M119.1,330.6l-14.3-14.3c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,1-6.6,2.9L-20.5,428.5l-112.2-112.2c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,0.9-6.6,2.9l-14.3,14.3c-1.9,1.9-2.9,4.1-2.9,6.6c0,2.5,1,4.7,2.9,6.6l133,133c1.9,1.9,4.1,2.9,6.6,2.9s4.7-1,6.6-2.9l133.1-133c1.9-1.9,2.8-4.1,2.8-6.6C121.9,334.7,121,332.5,119.1,330.6z"})])])],-1);const In={extends:$e,name:Ae.Dropdown,computed:{answerLabel:function(){for(var e=0;e<this.question.options.length;e++){var t=this.question.options[e];if(t.choiceValue()===this.dataValue)return t.choiceLabel()}return this.question.placeholder}},methods:{onKeyDownListener:function(e){"ArrowDown"===e.key||"ArrowUp"===e.key?this.setAnswer(this.dataValue):"Enter"===e.key&&this.hasValue&&(this.focused=!1,this.blur())},onKeyUpListener:function(e){"Enter"===e.key&&this.isValid()&&!this.disabled&&(e.stopPropagation(),this._onEnter(),this.$emit("next"))}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("span",Pn,[(0,o.createVNode)("select",{ref:"input",class:"",value:e.dataValue,onChange:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onKeydown:t[2]||(t[2]=function(){return s.onKeyDownListener&&s.onKeyDownListener.apply(s,arguments)}),onKeyup:t[3]||(t[3]=function(){return s.onKeyUpListener&&s.onKeyUpListener.apply(s,arguments)}),required:e.question.required},[e.question.required?((0,o.openBlock)(),(0,o.createBlock)("option",Ln," ")):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("option",{disabled:e.disabled,value:e.choiceValue(),key:"o"+t},(0,o.toDisplayString)(e.choiceLabel()),9,["disabled","value"])})),128))],40,["value","required"]),(0,o.createVNode)("span",null,[(0,o.createVNode)("span",{class:["f-empty",{"f-answered":this.question.answer&&this.question.answered}]},(0,o.toDisplayString)(s.answerLabel),3),Dn])])}},jn=In,$n={extends:Ft,name:Ae.MultiplePictureChoice,data:function(){return{hasImages:!0}}},Rn={extends:Je,name:Ae.Number,data:function(){return{inputType:"tel",allowedChars:"-0123456789."}},methods:{validate:function(){return!(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)&&(!(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)&&(this.hasValue?this.question.mask?this.validateMask():!isNaN(+this.dataValue):!this.question.required||this.hasValue))}}},zn={extends:Je,name:Ae.Password,data:function(){return{inputType:"password"}}},Hn={extends:Je,name:Ae.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}}},Un={extends:Je,name:Ae.Date,data:function(){return{inputType:"date"}},methods:{validate:function(){return!(this.question.min&&this.dataValue<this.question.min)&&(!(this.question.max&&this.dataValue>this.question.max)&&(!this.question.required||this.hasValue))}}};const Kn={extends:Je,name:Ae.File,mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files),this.answer=e,this.question.answered=this.isValid(),this.$emit("update:modelValue",e)},showInvalid:function(){return null!==this.errorMessage},validate:function(){var e=this;if(this.errorMessage=null,this.question.required&&!this.hasValue)return!1;if(this.question.accept&&!Array.from(this.files).every((function(t){return e.mimeTypeRegex.test(t.type)})))return this.errorMessage=this.language.formatString(this.language.errorAllowedFileTypes,{fileTypes:this.question.accept}),!1;if(this.question.multiple){var t=this.files.length;if(null!==this.question.min&&t<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&t>+this.question.max)return this.errorMessage=this.language.formatString(this.language.errorMaxFiles,{max:this.question.max}),!1}if(null!==this.question.maxSize&&Array.from(this.files).reduce((function(e,t){return e+t.size}),0)>+this.question.maxSize)return this.errorMessage=this.language.formatString(this.language.errorMaxFileSize,{size:this.language.formatFileSize(this.question.maxSize)}),!1;return this.$refs.input.checkValidity()}},computed:{files:function(){return this.$refs.input.files}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("input",{ref:"input",type:"file",accept:e.question.accept,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onKeyup:[t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[3]||(t[3]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[4]||(t[4]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[5]||(t[5]=function(){return e.onChange&&e.onChange.apply(e,arguments)})},null,40,["accept","multiple","value","required"])}},Wn={name:"FlowFormQuestion",components:{FlowFormDateType:Un,FlowFormDropdownType:jn,FlowFormEmailType:Rt,FlowFormLongTextType:Xt,FlowFormMultipleChoiceType:Ft,FlowFormMultiplePictureChoiceType:$n,FlowFormNumberType:Rn,FlowFormPasswordType:zn,FlowFormPhoneType:Hn,FlowFormSectionBreakType:mn,FlowFormTextType:Je,FlowFormFileType:Kn,FlowFormUrlType:Ge},props:{question:Fe,language:Le,value:[String,Array,Boolean,Number,Object],active:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},mixins:[je],data:function(){return{QuestionType:Ae,dataValue:null,debounced:!1}},mounted:function(){this.focusField(),this.dataValue=this.question.answer,this.$refs.qanimate.addEventListener("animationend",this.onAnimationEnd)},beforeUnmount:function(){this.$refs.qanimate.removeEventListener("animationend",this.onAnimationEnd)},methods:{focusField:function(){var e=this.$refs.questionComponent;e&&e.focus()},onAnimationEnd:function(){this.focusField()},shouldFocus:function(){var e=this.$refs.questionComponent;return e&&e.canReceiveFocus&&!e.focused},returnFocus:function(){this.$refs.questionComponent;this.shouldFocus()&&this.focusField()},onEnter:function(e){this.checkAnswer(this.emitAnswer)},onTab:function(e){this.checkAnswer(this.emitAnswerTab)},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.isMultipleChoiceType()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},emitAnswer:function(e){e&&(e.focused||this.$emit("answer",e),e.onEnter())},emitAnswerTab:function(e){e&&this.question.type!==Ae.Date&&(this.returnFocus(),this.$emit("answer",e),e.onEnter())},debounce:function(e,t){var n;return this.debounced=!0,clearTimeout(n),void(n=setTimeout(e,t))},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type===Ae.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid())))},showSkip:function(){var e=this.$refs.questionComponent;return!(this.question.required||e&&e.hasValue)},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&e.showInvalid()}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-active":this.active,"q-is-inactive":!this.active,"f-fade-in-down":this.reverse,"f-fade-in-up":!this.reverse,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},showHelperText:function(){return!!this.question.subtitle||!(this.question.type!==Ae.LongText&&!this.question.isMultipleChoiceType())&&this.question.helpTextShow},errorMessage:function(){var e=this.$refs.questionComponent;return e&&e.errorMessage?e.errorMessage:this.language.invalidPrompt}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff-animate q-form",s.mainClasses],ref:"qanimate"},[(0,o.createVNode)("div",yn,[(0,o.createVNode)("div",{class:{"f-section-wrap":n.question.type===i.QuestionType.SectionBreak}},[(0,o.createVNode)("div",{class:{fh2:n.question.type!==i.QuestionType.SectionBreak}},[n.question.tagline?((0,o.openBlock)(),(0,o.createBlock)("span",bn,(0,o.toDisplayString)(n.question.tagline),1)):(0,o.createCommentVNode)("",!0),n.question.title?((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",wn,(0,o.toDisplayString)(n.question.title),1)):((0,o.openBlock)(),(0,o.createBlock)("span",xn,[(0,o.createTextVNode)((0,o.toDisplayString)(n.question.title)+"  ",1),n.question.required?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"f-required","aria-label":n.language.ariaRequired,role:"note"},[_n],8,["aria-label"])):(0,o.createCommentVNode)("",!0),n.question.inline?((0,o.openBlock)(),(0,o.createBlock)("span",kn,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,8,["question","language","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),s.showHelperText?((0,o.openBlock)(),(0,o.createBlock)("span",Sn,[n.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",Cn,(0,o.toDisplayString)(n.question.subtitle),1)):(0,o.createCommentVNode)("",!0),n.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-help",innerHTML:n.question.helpText||n.language.formatString(n.language.longTextHelpText)},null,8,["innerHTML"])),n.question.type===i.QuestionType.MultipleChoice&&n.question.multiple?((0,o.openBlock)(),(0,o.createBlock)("span",On,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpText),1)):n.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createBlock)("span",Tn,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),n.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("div",En,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,8,["question","language","modelValue","active","disabled","onNext"]))]))],2),n.question.description||0!==n.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createBlock)("p",Bn,[n.question.description?((0,o.openBlock)(),(0,o.createBlock)("span",Mn,(0,o.toDisplayString)(n.question.description),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(n.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,["href","target"])})),128))])):(0,o.createCommentVNode)("",!0)],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createBlock)("div",An,[(0,o.createVNode)("button",{class:"o-btn-action",type:"button",ref:"button",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),"aria-label":n.language.ariaOk},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",Vn,(0,o.toDisplayString)(n.language.continue),1)):s.showSkip()?((0,o.openBlock)(),(0,o.createBlock)("span",Nn,(0,o.toDisplayString)(n.language.skip),1)):((0,o.openBlock)(),(0,o.createBlock)("span",qn,(0,o.toDisplayString)(n.language.ok),1))],8,["aria-label"]),n.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"]))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createBlock)("div",Fn,(0,o.toDisplayString)(s.errorMessage),1)):(0,o.createCommentVNode)("",!0)])],2)}},Qn=Wn,Yn={name:"FormQuestion",extends:Qn,components:{Counter:_e,SubmitButton:Te,FlowFormUrlType:Ze,FlowFormTextType:et,FlowFormRateType:It,FlowFormDateType:$t,FlowFormEmailType:zt,FlowFormPhoneType:Ht,FlowFormNumberType:Ut,FlowFormLongTextType:en,FlowFormDropdownType:Yt,FlowFormPasswordType:tn,FlowFormSectionBreakType:gn,FlowFormWelcomeScreenType:dn,FlowFormMultipleChoiceType:Lt,FlowFormTermsAndConditionType:{extends:Lt,name:_t.TermsAndCondition,data:function(){return{hasImages:!0}},methods:{validate:function(){return"on"===this.dataValue?(this.question.error="",!0):!this.question.required||(this.question.error=this.question.requiredMsg,!1)}}},FlowFormMultiplePictureChoiceType:{extends:Lt,name:_t.MultiplePictureChoice,data:function(){return{hasImages:!0}}}},props:{isActiveForm:{type:Boolean,default:!0},lastStep:{type:Boolean,default:!1},submitting:{type:Boolean,default:!1},replaceSmartCodes:{type:Function,default:function(e){return e}}},data:function(){return{QuestionType:_t}},watch:{"question.answer":{handler:function(e){this.$emit("answered",this.question)},deep:!0}},methods:{focusField:function(){if(!this.isActiveForm)return!1;var e=this.$refs.questionComponent;e&&e.canReceiveFocus&&e.focus()},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type!==_t.WelcomeScreen&&(this.question.type===_t.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer&&!this.lastStep)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid()))))},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&(this.question.error||e.showInvalid())}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-inactive":!this.active,"f-fade-in-down":this.reverse&&this.active,"f-fade-in-up":!this.reverse&&this.active,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},layoutClass:{cache:!1,get:function(){return this.question.style_pref.layout}},setAlignment:{cache:!1,get:function(){var e="";return null!=this.question.settings&&(e+="text-align: ".concat(this.question.settings.align,"; ")),e}},layoutStyle:{cache:!1,get:function(){return{backgroundImage:"url("+this.question.style_pref.media+")",height:"90vh",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:this.question.style_pref.media_x_position+"px "+this.question.style_pref.media_y_position+"px"}}},brightness:function(){var e=this.question.style_pref.brightness;if(!e)return!1;var t="";return e>0&&(t+="contrast("+((100-e)/100).toFixed(2)+") "),t+"brightness("+(1+this.question.style_pref.brightness/100)+")"},imagePositionCSS:function(){return("media_right_full"==this.question.style_pref.layout||"media_left_full"==this.question.style_pref.layout)&&this.question.style_pref.media_x_position+"% "+this.question.style_pref.media_y_position+"%"}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("counter"),l=(0,o.resolveComponent)("submit-button");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff-animate q-form",s.mainClasses],ref:"qanimate"},[(0,o.createVNode)("div",{class:["ff_conv_section_wrapper",["ff_conv_layout_"+s.layoutClass,e.question.container_class]]},[(0,o.createVNode)("div",{class:["ff_conv_input q-inner",[e.question.contentAlign]]},[(0,o.createVNode)("div",{class:["ffc_question",{"f-section-wrap":e.question.type===i.QuestionType.SectionBreak}]},[e.question.type===i.QuestionType.WelcomeScreen?((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{key:0,ref:"questionComponent",is:e.question.type,question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),active:e.active,replaceSmartCodes:n.replaceSmartCodes,disabled:e.disabled,onNext:e.onEnter},null,8,["is","question","language","modelValue","active","replaceSmartCodes","disabled","onNext"])):((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[e.question.type!=i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,serial:e.question.counter},null,8,["serial"])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",{class:{fh2:e.question.type!==i.QuestionType.SectionBreak}},[(0,o.createVNode)("div",te,[e.question.title?((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:0},[e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"fh2",innerHTML:n.replaceSmartCodes(e.question.title)},null,8,["innerHTML"])):((0,o.openBlock)(),(0,o.createBlock)("span",ne,[(0,o.createVNode)("span",{innerHTML:n.replaceSmartCodes(e.question.title)},null,8,["innerHTML"]),e.question.required?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"f-required","aria-label":e.language.ariaRequired,role:"note"},[oe],8,["aria-label"])):(0,o.createCommentVNode)("",!0),e.question.inline?((0,o.openBlock)(),(0,o.createBlock)("span",re,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,replaceSmartCodes:n.replaceSmartCodes,modelValue:e.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:e.onEnter},null,8,["question","language","replaceSmartCodes","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),e.question.tagline?((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-tagline",innerHTML:n.replaceSmartCodes(e.question.tagline)},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0)]),e.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("div",ie,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.dataValue=t}),replaceSmartCodes:n.replaceSmartCodes,active:e.active,disabled:e.disabled,onNext:e.onEnter},null,8,["question","language","modelValue","replaceSmartCodes","active","disabled","onNext"]))])),e.showHelperText?((0,o.openBlock)(),(0,o.createBlock)("span",se,[e.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,innerHTML:e.question.subtitle},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0),e.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-help",innerHTML:e.question.helpText||e.language.formatString(e.language.longTextHelpText)},null,8,["innerHTML"])),e.question.type===i.QuestionType.MultipleChoice&&e.question.multiple?((0,o.openBlock)(),(0,o.createBlock)("span",ae,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpText),1)):e.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createBlock)("span",le,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)],2),e.question.description||0!==e.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createBlock)("p",ce,[e.question.description?((0,o.openBlock)(),(0,o.createBlock)("span",ue,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.description)),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,["href","target"])})),128))])):(0,o.createCommentVNode)("",!0)],64))],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createBlock)("div",de,[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,language:e.language,disabled:n.submitting,onSubmit:e.onEnter},null,8,["language","disabled","onSubmit"])):((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[(0,o.createVNode)("button",{class:["o-btn-action",{ffc_submitting:n.submitting}],type:"button",ref:"button",href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),disabled:n.submitting,"aria-label":e.language.ariaOk},[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)("span",pe,(0,o.toDisplayString)(e.language.submitText),1)):e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,innerHTML:e.language.continue},null,8,["innerHTML"])):e.showSkip()?((0,o.openBlock)(),(0,o.createBlock)("span",{key:2,innerHTML:e.language.skip},null,8,["innerHTML"])):((0,o.openBlock)(),(0,o.createBlock)("span",{key:3,innerHTML:e.language.ok},null,8,["innerHTML"]))],10,["disabled","aria-label"]),e.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),innerHTML:e.language.formatString(e.language.pressEnter)},null,8,["innerHTML"]))],64))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createBlock)("div",fe,(0,o.toDisplayString)(e.question.error||e.errorMessage),1)):(0,o.createCommentVNode)("",!0)],2),"default"!=e.question.style_pref.layout?((0,o.openBlock)(),(0,o.createBlock)("div",he,[(0,o.createVNode)("div",{style:{filter:s.brightness},class:["fcc_block_media_attachment","fc_i_layout_"+e.question.style_pref.layout]},[e.question.style_pref.media?((0,o.openBlock)(),(0,o.createBlock)("picture",me,[(0,o.createVNode)("img",{style:{"object-position":s.imagePositionCSS},alt:e.question.style_pref.alt_text,src:e.question.style_pref.media},null,12,["alt","src"])])):(0,o.createCommentVNode)("",!0)],6)])):(0,o.createCommentVNode)("",!0)],2)],2)}},Jn=Yn;function Gn(e){return(Gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function Zn(e,t){return(Zn=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function Xn(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=to(e);if(t){var r=to(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return eo(this,n)}}function eo(e,t){return!t||"object"!==Gn(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function to(e){return(to=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var no=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&Zn(e,t)}(n,e);var t=Xn(n);function n(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=t.call(this,e)).ok=window.fluent_forms_global_var.i18n.confirm_btn,o.continue=window.fluent_forms_global_var.i18n.continue,o.skip=window.fluent_forms_global_var.i18n.skip_btn,o.pressEnter=window.fluent_forms_global_var.i18n.keyboard_instruction,o.multipleChoiceHelpText=window.fluent_forms_global_var.i18n.multi_select_hint,o.multipleChoiceHelpTextSingle=window.fluent_forms_global_var.i18n.single_select_hint,o.longTextHelpText=window.fluent_forms_global_var.i18n.long_text_help,o.percentCompleted=window.fluent_forms_global_var.i18n.progress_text,o.invalidPrompt=window.fluent_forms_global_var.i18n.invalid_prompt,o}return n}(Le),oo={class:"f-container"},ro={class:"f-form-wrap"},io={key:0,class:"vff-animate f-fade-in-up field-submittype"},so={class:"f-section-wrap"},ao={class:"fh2"},lo={key:2,class:"text-success"},co={class:"vff-footer"},uo={class:"footer-inner-wrap"},po={class:"f-progress-bar"},fo={key:1,class:"f-nav"},ho=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),mo={class:"f-nav-text","aria-hidden":"true"},vo=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),go={class:"f-nav-text","aria-hidden":"true"},yo={key:2,class:"f-timer"};var bo={};const wo={name:"FlowForm",components:{FlowFormQuestion:Qn},props:{questions:{type:Array,validator:function(e){return e.every((function(e){return e instanceof Fe}))}},language:{type:Le,default:function(){return new Le}},progressbar:{type:Boolean,default:!0},standalone:{type:Boolean,default:!0},navigation:{type:Boolean,default:!0},timer:{type:Boolean,default:!1},timerStartStep:[String,Number],timerStopStep:[String,Number]},mixins:[je,{methods:{getInstance:function(e){return bo[e]},setInstance:function(){bo[this.id]=this}}}],data:function(){return{questionRefs:[],completed:!1,submitted:!1,activeQuestionIndex:0,questionList:[],questionListActivePath:[],reverse:!1,timerOn:!1,timerInterval:null,time:0,disabled:!1}},mounted:function(){document.addEventListener("keydown",this.onKeyDownListener),document.addEventListener("keyup",this.onKeyUpListener,!0),window.addEventListener("beforeunload",this.onBeforeUnload),this.setQuestions(),this.checkTimer()},beforeUnmount:function(){document.removeEventListener("keydown",this.onKeyDownListener),document.removeEventListener("keyup",this.onKeyUpListener,!0),window.removeEventListener("beforeunload",this.onBeforeUnload),this.stopTimer()},beforeUpdate:function(){this.questionRefs=[]},computed:{numActiveQuestions:function(){return this.questionListActivePath.length},activeQuestion:function(){return this.questionListActivePath[this.activeQuestionIndex]},activeQuestionId:function(){var e=this.questionModels[this.activeQuestionIndex];return this.isOnLastStep?"_submit":e&&e.id?e.id:null},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){t.answered&&++e})),e},percentCompleted:function(){return this.numActiveQuestions?Math.floor(this.numCompletedQuestions/this.numActiveQuestions*100):0},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length},isOnTimerStartStep:function(){return this.activeQuestionId===this.timerStartStep||!this.timerOn&&!this.timerStartStep&&0===this.activeQuestionIndex},isOnTimerStopStep:function(){return!!this.submitted||this.activeQuestionId===this.timerStopStep},questionModels:{cache:!1,get:function(){var e=this;if(this.questions&&this.questions.length)return this.questions;var t=[];if(!this.questions){var n={options:Ne,descriptionLink:qe},o=this.$slots.default(),r=null;o&&o.length&&((r=o[0].children)||(r=o)),r&&r.filter((function(e){return e.type&&-1!==e.type.name.indexOf("Question")})).forEach((function(o){var r=o.props,i=e.getInstance(r.id),s=new Fe;null!==i.question&&(s=i.question),r.modelValue&&(s.answer=r.modelValue),Object.keys(s).forEach((function(e){if(void 0!==r[e])if("boolean"==typeof s[e])s[e]=!1!==r[e];else if(e in n){var t=n[e],o=[];r[e].forEach((function(e){var n=new t;Object.keys(n).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),o.push(n)})),s[e]=o}else switch(e){case"type":if(-1!==Object.values(Ae).indexOf(r[e]))s[e]=r[e];else for(var i in Ae)if(i.toLowerCase()===r[e].toLowerCase()){s[e]=Ae[i];break}break;default:s[e]=r[e]}})),i.question=s,s.resetOptions(),t.push(s)}))}return t}}},methods:{setQuestionRef:function(e){this.questionRefs.push(e)},activeQuestionComponent:function(){return this.questionRefs[this.activeQuestionIndex]},setQuestions:function(){this.setQuestionListActivePath(),this.setQuestionList()},setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t,n=0,o=0;do{var r=this.questionModels[n];if(r.setIndex(o),r.language=this.language,e.push(r),r.jump)if(r.answered)if(t=r.getJumpId()){if("_submit"===t)n=this.questionModels.length;else for(var i=0;i<this.questionModels.length;i++)if(this.questionModels[i].id===t){n=i;break}}else++n;else n=this.questionModels.length;else++n;++o}while(n<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];if(e.push(n),!n.answered){this.completed&&(this.completed=!1);break}}this.questionList=e},onBeforeUnload:function(e){this.activeQuestionIndex>0&&!this.submitted&&(e.preventDefault(),e.returnValue="")},onKeyDownListener:function(e){if("Tab"===e.key&&!this.submitted)if(e.shiftKey)e.stopPropagation(),e.preventDefault(),this.navigation&&this.goToPreviousQuestion();else{var t=this.activeQuestionComponent();t.shouldFocus()?(e.preventDefault(),t.focusField()):(e.stopPropagation(),this.emitTab(),this.reverse=!1)}},onKeyUpListener:function(e){if(!e.shiftKey&&-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();"Tab"===e.key&&t.shouldFocus()?t.focusField():("Enter"===e.key&&this.emitEnter(),e.stopPropagation(),this.reverse=!1)}},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitTab:function(){var e=this.activeQuestionComponent();e?e.onTab():this.emitEnter()},submit:function(){this.emitSubmit(),this.submitted=!0},emitComplete:function(){this.$emit("complete",this.completed,this.questionList)},emitSubmit:function(){this.$emit("submit",this.questionList)},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(!e||e.required)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e.question),this.activeQuestionIndex<this.questionListActivePath.length&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestions(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e?(e.focusField(),t.activeQuestionIndex=e.question.index):t.isOnLastStep&&(t.completed=!0,t.activeQuestionIndex=t.questionListActivePath.length,t.$refs.button&&t.$refs.button.focus()),t.$emit("step",t.activeQuestionId,t.activeQuestion)}))}))):this.completed&&(this.completed=!1)},goToPreviousQuestion:function(){this.blurFocus(),this.activeQuestionIndex>0&&!this.submitted&&(this.isOnTimerStopStep&&this.startTimer(),--this.activeQuestionIndex,this.reverse=!0,this.checkTimer())},goToNextQuestion:function(){this.blurFocus(),this.isNextQuestionAvailable()&&this.emitEnter(),this.reverse=!1},blurFocus:function(){document.activeElement&&document.activeElement.blur&&document.activeElement.blur()},checkTimer:function(){this.timer&&(this.isOnTimerStartStep?this.startTimer():this.isOnTimerStopStep&&this.stopTimer())},startTimer:function(){this.timer&&!this.timerOn&&(this.timerInterval=setInterval(this.incrementTime,1e3),this.timerOn=!0)},stopTimer:function(){this.timerOn&&clearInterval(this.timerInterval),this.timerOn=!1},incrementTime:function(){++this.time,this.$emit("timer",this.time,this.formatTime(this.time))},formatTime:function(e){var t=14,n=5;return e>=3600&&(t=11,n=8),new Date(1e3*e).toISOString().substr(t,n)},setDisabled:function(e){this.disabled=e}},watch:{completed:function(){this.emitComplete()},submitted:function(){this.stopTimer()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-question");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff",{"vff-not-standalone":!n.standalone,"vff-is-mobile":e.isMobile,"vff-is-ios":e.isIos}]},[(0,o.createVNode)("div",oo,[(0,o.createVNode)("div",ro,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(i.questionList,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref:s.setQuestionRef,question:e,language:n.language,key:"q"+t,active:e.index===i.activeQuestionIndex,modelValue:e.answer,"onUpdate:modelValue":function(t){return e.answer=t},onAnswer:s.onQuestionAnswered,reverse:i.reverse,disabled:i.disabled,onDisable:s.setDisabled},null,8,["question","language","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createBlock)("div",io,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createVNode)("div",so,[(0,o.createVNode)("p",null,[(0,o.createVNode)("span",ao,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:"o-btn-action",ref:"button",type:"button",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],8,["aria-label"])),i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])),i.submitted?((0,o.openBlock)(),(0,o.createBlock)("p",lo,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createVNode)("div",co,[(0,o.createVNode)("div",uo,[n.progressbar?((0,o.openBlock)(),(0,o.createBlock)("div",{key:0,class:["f-progress",{"not-started":0===s.percentCompleted,completed:100===s.percentCompleted}]},[(0,o.createVNode)("div",po,[(0,o.createVNode)("div",{class:"f-progress-bar-inner",style:"width: "+s.percentCompleted+"%;"},null,4)]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(n.language.percentCompleted.replace(":percent",s.percentCompleted)),1)],2)):(0,o.createCommentVNode)("",!0),n.navigation?((0,o.openBlock)(),(0,o.createBlock)("div",fo,[(0,o.createVNode)("a",{class:["f-prev",{"f-disabled":0===i.activeQuestionIndex||i.submitted}],href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return s.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[ho,(0,o.createVNode)("span",mo,(0,o.toDisplayString)(n.language.prev),1)],10,["aria-label"]),(0,o.createVNode)("a",{class:["f-next",{"f-disabled":!s.isNextQuestionAvailable()}],href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(e){return s.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[vo,(0,o.createVNode)("span",go,(0,o.toDisplayString)(n.language.next),1)],10,["aria-label"])])):(0,o.createCommentVNode)("",!0),n.timer?((0,o.openBlock)(),(0,o.createBlock)("div",yo,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(s.formatTime(i.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}};function xo(e){return(xo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}const _o={name:"Form",extends:wo,components:{FormQuestion:Jn},props:{language:{type:no,default:function(){return new no}},submitting:{type:Boolean,default:!1},isActiveForm:{type:Boolean,default:!0},globalVars:{Type:Object,default:{}}},data:function(){return{formData:{}}},computed:{numActiveQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){[_t.WelcomeScreen,_t.SectionBreak].includes(t.type)||++e})),e},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){![_t.WelcomeScreen,_t.SectionBreak].includes(t.type)&&t.answered&&++e})),e},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length-1},hasImageLayout:function(){if(this.questionListActivePath[this.activeQuestionIndex])return"default"!=this.questionListActivePath[this.activeQuestionIndex].style_pref.layout},vffClasses:function(){var e=[];if(this.standalone||e.push("vff-not-standalone"),this.isMobile&&e.push("vff-is-mobile"),this.isIos&&e.push("vff-is-ios"),this.hasImageLayout?e.push("has-img-layout"):e.push("has-default-layout"),this.questionListActivePath[this.activeQuestionIndex]){var t=this.questionListActivePath[this.activeQuestionIndex].style_pref;e.push("vff_layout_"+t.layout)}else e.push("vff_layout_default");return this.isOnLastStep&&e.push("ffc_last_step"),e}},methods:{setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t={};this.questionModels.forEach((function(e){e.name&&(t[e.name]=e.answer)}));var n,o=0,r=0,i=0;do{var s=this.questionModels[o];if(s.showQuestion(t)){if(s.setIndex(r),s.language=this.language,[_t.WelcomeScreen,_t.SectionBreak].includes(s.type)||(++i,s.setCounter(i)),e.push(s),s.jump)if(s.answered)if(n=s.getJumpId()){if("_submit"===n)o=this.questionModels.length;else for(var a=0;a<this.questionModels.length;a++)if(this.questionModels[a].id===n){o=a;break}}else++o;else o=this.questionModels.length;else++o;++r}else++o}while(o<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];e.push(n),this.formData[n.name]=n.answer,n.answered||this.completed&&(this.completed=!1)}this.questionList=e},emitSubmit:function(){this.submitting||this.$emit("submit",this.questionList)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e),this.activeQuestionIndex<this.questionListActivePath.length&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestionList(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e?(e.focusField(),t.activeQuestionIndex=e.question.index,e.dataValue=e.question.answer,e.$refs.questionComponent.dataValue=e.$refs.questionComponent.answer=e.question.answer,t.$emit("step",t.activeQuestionId,t.activeQuestion)):(t.completed=!0,t.activeQuestionIndex=t.questionListActivePath.length-1,t.$refs.button&&t.$refs.button.focus(),t.submit())}))}))):this.completed&&(this.completed=!1)},replaceSmartCodes:function(e){if(!e||-1==e.indexOf("{dynamic."))return e;for(var t=/{dynamic.(.*?)}/g,n=!1,o=e;n=t.exec(e);){var r=n[1],i="",s=r.split("|");2===s.length&&(r=s[0],i=s[1]);var a=this.formData[r];a?"object"==xo(a)&&(a=a.join(", ")):a=i,o=o.replace(n[0],a)}return o},onQuestionAnswerChanged:function(){this.setQuestionListActivePath()},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(e&&e.required&&!e.answered)&&(!(!e||e.required||this.isOnLastStep)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1))}},watch:{activeQuestionIndex:function(e){this.$emit("activeQuestionIndexChanged",e)}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("form-question");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff",s.vffClasses]},[(0,o.createVNode)("div",P,[(0,o.createVNode)("div",L,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.questionList,(function(t,r){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref:e.setQuestionRef,question:t,language:n.language,isActiveForm:n.isActiveForm,key:"q"+r,active:t.index===e.activeQuestionIndex,modelValue:t.answer,"onUpdate:modelValue":function(e){return t.answer=e},onAnswer:s.onQuestionAnswered,reverse:e.reverse,disabled:e.disabled,onDisable:e.setDisabled,submitting:n.submitting,lastStep:s.isOnLastStep,replaceSmartCodes:s.replaceSmartCodes,onAnswered:s.onQuestionAnswerChanged},null,8,["question","language","isActiveForm","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","submitting","lastStep","replaceSmartCodes","onAnswered"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createBlock)("div",D,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createVNode)("div",I,[(0,o.createVNode)("p",null,[(0,o.createVNode)("span",j,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:["o-btn-action",{ffc_submitting:n.submitting}],ref:"button",type:"button",href:"#",disabled:n.submitting,onClick:t[1]||(t[1]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],10,["disabled","aria-label"])),e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])),e.submitted?((0,o.openBlock)(),(0,o.createBlock)("p",$,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createVNode)("div",R,[(0,o.createVNode)("div",z,[e.progressbar?((0,o.openBlock)(),(0,o.createBlock)("div",{key:0,class:["f-progress",{"not-started":0===e.percentCompleted,completed:100===e.percentCompleted}]},[n.language.percentCompleted?((0,o.openBlock)(),(0,o.createBlock)("span",H,(0,o.toDisplayString)(n.language.percentCompleted.replace("{percent}",e.percentCompleted).replace("{step}",s.numCompletedQuestions).replace("{total}",s.numActiveQuestions)),1)):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",U,[(0,o.createVNode)("div",{class:"f-progress-bar-inner",style:"width: "+e.percentCompleted+"%;"},null,4)])],2)):(0,o.createCommentVNode)("",!0),e.navigation?((0,o.openBlock)(),(0,o.createBlock)("div",K,["yes"!=n.globalVars.design.disable_branding?((0,o.openBlock)(),(0,o.createBlock)("a",W,[Q,Y])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("a",{class:["f-prev",{"f-disabled":0===e.activeQuestionIndex||e.submitted}],href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(t){return e.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[J,(0,o.createVNode)("span",G,(0,o.toDisplayString)(n.language.prev),1)],10,["aria-label"]),(0,o.createVNode)("a",{class:["f-next",{"f-disabled":!s.isNextQuestionAvailable()}],href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(t){return e.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[Z,(0,o.createVNode)("span",X,(0,o.toDisplayString)(n.language.next),1)],10,["aria-label"])])):(0,o.createCommentVNode)("",!0),e.timer?((0,o.openBlock)(),(0,o.createBlock)("div",ee,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(e.formatTime(e.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}},ko={name:"app",components:{FlowForm:_o},data:function(){return{submitted:!1,completed:!1,language:new no,submissionMessage:"",errorMessage:"",hasError:!1,hasjQuery:"function"==typeof window.jQuery,isActiveForm:!1,submitting:!1,handlingScroll:!1,isScrollInit:!1,scrollDom:null}},computed:{questions:function(){var e=[],t=[_t.Dropdown,_t.MultipleChoice,_t.MultiplePictureChoice,_t.TermsAndCondition,"FlowFormDropdownMultipleType"];return this.globalVars.form.questions.forEach((function(n){t.includes(n.type)&&(n.options=n.options.map((function(e){return n.type===_t.MultiplePictureChoice&&(e.imageSrc=e.image),new Ne(e)}))),e.push(new kt(n))})),e}},watch:{isActiveForm:function(e){e&&!this.isScrollInit?(this.initScrollHandler(),this.isScrollInit=!0):(this.isScrollInit=!1,this.removeScrollHandler())}},mounted:function(){if(this.initActiveFormFocus(),"yes"!=this.globalVars.design.disable_scroll_to_next){var e=document.getElementsByClassName("ff_conv_app_"+this.globalVars.form.id);e.length&&(this.scrollDom=e[0])}},beforeDestroy:function(){document.removeEventListener("keyup",this.onKeyListener)},methods:{onAnswer:function(){this.isActiveForm=!0},initScrollHandler:function(){this.scrollDom&&(this.scrollDom.addEventListener("wheel",this.onMouseScroll),this.scrollDom.addEventListener("swiped",this.onSwipe))},onMouseScroll:function(e){if(this.handlingScroll)return!1;e.deltaY>50?this.handleAutoQChange("next"):e.deltaY<-50&&this.handleAutoQChange("prev"),e.preventDefault()},onSwipe:function(e){var t=e.detail.dir;"up"===t?this.handleAutoQChange("next"):"down"===t&&this.handleAutoQChange("prev")},removeScrollHandler:function(){this.scrollDom.removeEventListener("wheel",this.onMouseScroll),this.scrollDom.removeEventListener("swiped",this.onSwipe)},handleAutoQChange:function(e){var t,n=document.querySelector(".ff_conv_app_"+this.globalVars.form.id+" .f-"+e);!n||(t="f-disabled",(" "+n.className+" ").indexOf(" "+t+" ")>-1)||(this.handlingScroll=!0,n.click())},activeQuestionIndexChanged:function(){var e=this;setTimeout((function(){e.handlingScroll=!1}),1500)},initActiveFormFocus:function(){var e=this;if(this.globalVars.is_inline_form){this.isActiveForm=!1;var t=document.querySelector(".ff_conv_app_frame");document.addEventListener("click",(function(n){e.isActiveForm=t.contains(n.target)})),document.addEventListener("keyup",this.onKeyListener)}else this.isActiveForm=!0,document.addEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){"Enter"===e.key&&this.completed&&!this.submitted&&this.onSendData()},onComplete:function(e,t){this.completed=e},onSubmit:function(e){this.onSendData()},onSendData:function(){var e=this;this.errorMessage="";var t=this.getData(),n=this.globalVars.form.id,o=new FormData;for(var r in this.globalVars.extra_inputs)t+="&"+encodeURIComponent(r)+"="+encodeURIComponent(this.globalVars.extra_inputs[r]);o.append("data",t),o.append("action","fluentform_submit"),o.append("form_id",n);var i=this.globalVars.ajaxurl;var s,a,l=(s="t="+Date.now(),a=i,a+=(a.split("?")[1]?"&":"?")+s);this.submitting=!0,fetch(l,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(t){if(t&&t.data&&t.data.result){if(e.hasjQuery){if(t.data.nextAction)return void jQuery(document.body).trigger("fluentform_next_action_"+t.data.nextAction,{response:t});jQuery(document.body).trigger("fluentform_submission_success",{response:t})}e.$refs.flowform.submitted=e.submitted=!0,t.data.result.message&&(e.submissionMessage=t.data.result.message),"redirectUrl"in t.data.result&&t.data.result.redirectUrl&&(location.href=t.data.result.redirectUrl)}else t.errors?(e.showErrorMessages(t.errors),e.showErrorMessages(t.message)):(e.showErrorMessages(t),e.showErrorMessages(t.message))})).catch((function(t){t.errors?e.showErrorMessages(t.errors):e.showErrorMessages(t)})).finally((function(t){e.submitting=!1}))},getData:function(){var e=[];return this.$refs.flowform.questionList.forEach((function(t){e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.answer))})),e.join("&")},getSubmitText:function(){return this.globalVars.form.submit_button.settings.button_ui.text||"Submit"},showErrorMessages:function(e){var t=this;if(e)if("string"==typeof e)this.errorMessage=e;else{var n=function(n){if("string"==typeof e[n])t.errorMessage=e[n];else for(var o in e[n]){var r=t.questions.filter((function(e){return e.name===n}));r&&r.length?((r=r[0]).error=e[n][o],t.$refs.flowform.submitted=t.submitted=!1,t.$refs.flowform.activeQuestionIndex=r.index,t.$refs.flowform.questionRefs[r.index].focusField()):t.errorMessage=e[n][o];break}return"break"};for(var o in e){if("break"===n(o))break}}}},render:function(e,t,n,p,f,h){var m=(0,o.resolveComponent)("flow-form");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[f.submissionMessage?((0,o.openBlock)(),(0,o.createBlock)("div",a,[(0,o.createVNode)("div",l,[(0,o.createVNode)("div",c,[(0,o.createVNode)("div",u,[(0,o.createVNode)("div",d,[(0,o.createVNode)("div",{class:"ff_conv_input q-inner",innerHTML:f.submissionMessage},null,8,["innerHTML"])])])])])])):((0,o.openBlock)(),(0,o.createBlock)(m,{key:0,ref:"flowform",onComplete:h.onComplete,onSubmit:h.onSubmit,onActiveQuestionIndexChanged:h.activeQuestionIndexChanged,onAnswer:h.onAnswer,questions:h.questions,isActiveForm:f.isActiveForm,language:f.language,globalVars:e.globalVars,standalone:!0,submitting:f.submitting,navigation:1!=e.globalVars.disable_step_naviagtion},{complete:(0,o.withCtx)((function(){return[r]})),completeButton:(0,o.withCtx)((function(){return[i,f.errorMessage?((0,o.openBlock)(),(0,o.createBlock)("div",s,(0,o.toDisplayString)(f.errorMessage),1)):(0,o.createCommentVNode)("",!0)]})),_:1},8,["onComplete","onSubmit","onActiveQuestionIndexChanged","onAnswer","questions","isActiveForm","language","globalVars","submitting","navigation"]))])}},So=ko;function Co(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Oo(e){window.fluent_forms_global_var=window[e.getAttribute("data-var_name")];var t=(0,o.createApp)(So);t.config.globalProperties.globalVars=window.fluent_forms_global_var,t.mount("#"+e.id)}n(6770);var To,Eo=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Co(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Co(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}(document.getElementsByClassName("ffc_conv_form"));try{for(Eo.s();!(To=Eo.n()).done;){Oo(To.value)}}catch(e){Eo.e(e)}finally{Eo.f()}},7484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+g(o,2,"0")+":"+g(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,s=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:p,h:s,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x=function(e){return e instanceof C},_=function(e,t,n){var o;if(!e)return b;if("string"==typeof e)w[e]&&(o=e),t&&(w[e]=t,o=e);else{var r=e.name;w[r]=e,o=r}return!n&&o&&(b=o),o||!n&&b},k=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},S=y;S.l=_,S.i=x,S.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function v(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<k(e)},g.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,o=!!S.u(t)||t,u=S.p(e),f=function(e,t){var r=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(a)},h=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,v):f(0,v+1);case l:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return f(o?g-w:g+(6-w),v);case a:case p:return h(y+"Hours",0);case s:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case r:return h(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=S.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[l],h=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[S.p(e)]()},g.add=function(o,u){var p,f=this;o=Number(o);var h=S.p(u),m=function(e){var t=k(f);return S.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===a)return m(1);if(h===l)return m(7);var v=(p={},p[i]=t,p[s]=n,p[r]=e,p)[h]||1,g=this.$d.getTime()+o*v;return S.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this;if(!this.isValid())return f;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=S.z(this),r=this.$locale(),i=this.$H,s=this.$m,a=this.$M,l=r.weekdays,c=r.months,u=function(e,o,r,i){return e&&(e[o]||e(t,n))||r[o].substr(0,i)},d=function(e){return S.s(i%12||12,e,"0")},p=r.meridiem||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:S.s(a+1,2,"0"),MMM:u(r.monthsShort,a,c,3),MMMM:u(c,a),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:u(r.weekdaysMin,this.$W,l,2),ddd:u(r.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(i),HH:S.s(i,2,"0"),h:d(1),hh:d(2),a:p(i,s,!0),A:p(i,s,!1),m:String(s),mm:S.s(s,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(e,t){return t||h[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(o,p,f){var h,m=S.p(p),v=k(o),g=(v.utcOffset()-this.utcOffset())*t,y=this-v,b=S.m(this,v);return b=(h={},h[d]=b/12,h[c]=b,h[u]=b/3,h[l]=(y-g)/6048e5,h[a]=(y-g)/864e5,h[s]=y/n,h[i]=y/t,h[r]=y/e,h)[m]||y,f?b:S.a(b)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=_(e,t,!0);return o&&(n.$L=o),n},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),O=C.prototype;return k.prototype=O,[["$ms",o],["$s",r],["$m",i],["$H",s],["$W",a],["$M",c],["$y",d],["$D",p]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,C,k),e.$i=!0),k},k.locale=_,k.isDayjs=x,k.unix=function(e){return k(1e3*e)},k.en=w[b],k.Ls=w,k.p={},k}()},1247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6722),r=n(3566),i=n(7363),s=n(9272),a=n(2796);function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(r),u=l(a);const d=new Map;let p;function f(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:n.push(t.arg),function(o,r){const i=t.instance.popperRef,s=o.target,a=null==r?void 0:r.target,l=!t||!t.instance,c=!s||!a,u=e.contains(s)||e.contains(a),d=e===s,p=n.length&&n.some((e=>null==e?void 0:e.contains(s)))||n.length&&n.includes(a),f=i&&(i.contains(s)||i.contains(a));l||c||u||d||p||f||t.value(o,r)}}c.default||(o.on(document,"mousedown",(e=>p=e)),o.on(document,"mouseup",(e=>{for(const{documentHandler:t}of d.values())t(e,p)})));const h={beforeMount(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},updated(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},unmounted(e){d.delete(e)}};var m={beforeMount(e,t){let n,r=null;const i=()=>t.value&&t.value(),s=()=>{Date.now()-n<100&&i(),clearInterval(r),r=null};o.on(e,"mousedown",(e=>{0===e.button&&(n=Date.now(),o.once(document,"mouseup",s),clearInterval(r),r=setInterval(i,100))}))}};const v="_trap-focus-children",g=[],y=e=>{if(0===g.length)return;const t=g[g.length-1][v];if(t.length>0&&e.code===s.EVENT_CODE.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},b={beforeMount(e){e[v]=s.obtainAllFocusableElements(e),g.push(e),g.length<=1&&o.on(document,"keydown",y)},updated(e){i.nextTick((()=>{e[v]=s.obtainAllFocusableElements(e)}))},unmounted(){g.shift(),0===g.length&&o.off(document,"keydown",y)}},w="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,x={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const n=function(e){const n=u.default(e);t&&t.apply(this,[e,n])};w?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}}(e,t.value)}};t.ClickOutside=h,t.Mousewheel=x,t.RepeatClick=m,t.TrapFocus=b},7800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363);function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n(9652));const s="elForm",a={addField:"el.form.addField",removeField:"el.form.removeField"};var l=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(d)for(var n of d(t))f.call(t,n)&&h(e,n,t[n]);return e};var v=o.defineComponent({name:"ElForm",props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},emits:["validate"],setup(e,{emit:t}){const n=i.default(),r=[];o.watch((()=>e.rules),(()=>{r.forEach((e=>{e.removeValidateEvents(),e.addValidateEvents()})),e.validateOnRuleChange&&p((()=>({})))})),n.on(a.addField,(e=>{e&&r.push(e)})),n.on(a.removeField,(e=>{e.prop&&r.splice(r.indexOf(e),1)}));const l=()=>{e.model?r.forEach((e=>{e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},d=(e=[])=>{(e.length?"string"==typeof e?r.filter((t=>e===t.prop)):r.filter((t=>e.indexOf(t.prop)>-1)):r).forEach((e=>{e.clearValidate()}))},p=t=>{if(!e.model)return void console.warn("[Element Warn][Form]model is required for validate to work!");let n;"function"!=typeof t&&(n=new Promise(((e,n)=>{t=function(t,o){t?e(!0):n(o)}}))),0===r.length&&t(!0);let o=!0,i=0,s={};for(const e of r)e.validate("",((e,n)=>{e&&(o=!1),s=m(m({},s),n),++i===r.length&&t(o,s)}));return n},f=(e,t)=>{e=[].concat(e);const n=r.filter((t=>-1!==e.indexOf(t.prop)));r.length?n.forEach((e=>{e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},h=o.reactive(m((v=m({formMitt:n},o.toRefs(e)),c(v,u({resetFields:l,clearValidate:d,validateField:f,emit:t}))),function(){const e=o.ref([]);function t(t){const n=e.value.indexOf(t);return-1===n&&console.warn("[Element Warn][ElementForm]unexpected width "+t),n}return{autoLabelWidth:o.computed((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""})),registerLabelWidth:function(n,o){if(n&&o){const r=t(o);e.value.splice(r,1,n)}else n&&e.value.push(n)},deregisterLabelWidth:function(n){const o=t(n);o>-1&&e.value.splice(o,1)}}}()));var v;return o.provide(s,h),{validate:p,resetFields:l,clearValidate:d,validateField:f}}});v.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("form",{class:["el-form",[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]]},[o.renderSlot(e.$slots,"default")],2)},v.__file="packages/form/src/form.vue",v.install=e=>{e.component(v.name,v)};const g=v;t.default=g,t.elFormEvents=a,t.elFormItemKey="elFormItem",t.elFormKey=s},1002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(3676),i=n(2532),s=n(5450),a=n(3566),l=n(6645),c=n(6801),u=n(7800);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(a);let f;const h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function m(e,t=1,n=null){var o;f||(f=document.createElement("textarea"),document.body.appendChild(f));const{paddingSize:r,borderSize:i,boxSizing:s,contextStyle:a}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:h.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);f.setAttribute("style",`${a};\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`),f.value=e.value||e.placeholder||"";let l=f.scrollHeight;const c={};"border-box"===s?l+=i:"content-box"===s&&(l-=r),f.value="";const u=f.scrollHeight-r;if(null!==t){let e=u*t;"border-box"===s&&(e=e+r+i),l=Math.max(e,l),c.minHeight=`${e}px`}if(null!==n){let e=u*n;"border-box"===s&&(e=e+r+i),l=Math.min(e,l)}return c.height=`${l}px`,null==(o=f.parentNode)||o.removeChild(f),f=null,c}var v=Object.defineProperty,g=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&_(e,n,t[n]);if(b)for(var n of b(t))x.call(t,n)&&_(e,n,t[n]);return e},S=(e,t)=>g(e,y(t));const C={suffix:"append",prefix:"prepend"};var O=o.defineComponent({name:"ElInput",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},size:{type:String,validator:c.isValidComponentSize},resize:{type:String,validator:e=>["none","both","horizontal","vertical"].includes(e)},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off",validator:e=>["on","off"].includes(e)},placeholder:{type:String},form:{type:String,default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:String,default:""},prefixIcon:{type:String,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Object,default:()=>({})}},emits:[i.UPDATE_MODEL_EVENT,"input","change","focus","blur","clear","mouseleave","mouseenter","keydown"],setup(e,t){const n=o.getCurrentInstance(),a=r.useAttrs(),c=s.useGlobalConfig(),d=o.inject(u.elFormKey,{}),f=o.inject(u.elFormItemKey,{}),h=o.ref(null),v=o.ref(null),g=o.ref(!1),y=o.ref(!1),b=o.ref(!1),w=o.ref(!1),x=o.shallowRef(e.inputStyle),_=o.computed((()=>h.value||v.value)),O=o.computed((()=>e.size||f.size||c.size)),T=o.computed((()=>d.statusIcon)),E=o.computed((()=>f.validateState||"")),B=o.computed((()=>i.VALIDATE_STATE_MAP[E.value])),M=o.computed((()=>S(k({},x.value),{resize:e.resize}))),A=o.computed((()=>e.disabled||d.disabled)),V=o.computed((()=>null===e.modelValue||void 0===e.modelValue?"":String(e.modelValue))),N=o.computed((()=>t.attrs.maxlength)),q=o.computed((()=>e.clearable&&!A.value&&!e.readonly&&V.value&&(g.value||y.value))),F=o.computed((()=>e.showPassword&&!A.value&&!e.readonly&&(!!V.value||g.value))),P=o.computed((()=>e.showWordLimit&&t.attrs.maxlength&&("text"===e.type||"textarea"===e.type)&&!A.value&&!e.readonly&&!e.showPassword)),L=o.computed((()=>"number"==typeof e.modelValue?String(e.modelValue).length:(e.modelValue||"").length)),D=o.computed((()=>P.value&&L.value>N.value)),I=()=>{const{type:t,autosize:n}=e;if(!p.default&&"textarea"===t)if(n){const t=s.isObject(n)?n.minRows:void 0,o=s.isObject(n)?n.maxRows:void 0;x.value=k(k({},e.inputStyle),m(v.value,t,o))}else x.value=S(k({},e.inputStyle),{minHeight:m(v.value).minHeight})},j=()=>{const e=_.value;e&&e.value!==V.value&&(e.value=V.value)},$=e=>{const{el:o}=n.vnode,r=Array.from(o.querySelectorAll(`.el-input__${e}`)).find((e=>e.parentNode===o));if(!r)return;const i=C[e];t.slots[i]?r.style.transform=`translateX(${"suffix"===e?"-":""}${o.querySelector(`.el-input-group__${i}`).offsetWidth}px)`:r.removeAttribute("style")},R=()=>{$("prefix"),$("suffix")},z=e=>{const{value:n}=e.target;b.value||n!==V.value&&(t.emit(i.UPDATE_MODEL_EVENT,n),t.emit("input",n),o.nextTick(j))},H=()=>{o.nextTick((()=>{_.value.focus()}))};o.watch((()=>e.modelValue),(t=>{var n;o.nextTick(I),e.validateEvent&&(null==(n=f.formItemMitt)||n.emit("el.form.change",[t]))})),o.watch(V,(()=>{j()})),o.watch((()=>e.type),(()=>{o.nextTick((()=>{j(),I(),R()}))})),o.onMounted((()=>{j(),R(),o.nextTick(I)})),o.onUpdated((()=>{o.nextTick(R)}));return{input:h,textarea:v,attrs:a,inputSize:O,validateState:E,validateIcon:B,computedTextareaStyle:M,resizeTextarea:I,inputDisabled:A,showClear:q,showPwdVisible:F,isWordLimitVisible:P,upperLimit:N,textLength:L,hovering:y,inputExceed:D,passwordVisible:w,inputOrTextarea:_,handleInput:z,handleChange:e=>{t.emit("change",e.target.value)},handleFocus:e=>{g.value=!0,t.emit("focus",e)},handleBlur:n=>{var o;g.value=!1,t.emit("blur",n),e.validateEvent&&(null==(o=f.formItemMitt)||o.emit("el.form.blur",[e.modelValue]))},handleCompositionStart:()=>{b.value=!0},handleCompositionUpdate:e=>{const t=e.target.value,n=t[t.length-1]||"";b.value=!l.isKorean(n)},handleCompositionEnd:e=>{b.value&&(b.value=!1,z(e))},handlePasswordVisible:()=>{w.value=!w.value,H()},clear:()=>{t.emit(i.UPDATE_MODEL_EVENT,""),t.emit("change",""),t.emit("clear")},select:()=>{_.value.select()},focus:H,blur:()=>{_.value.blur()},getSuffixVisible:()=>t.slots.suffix||e.suffixIcon||q.value||e.showPassword||P.value||E.value&&T.value,onMouseLeave:e=>{y.value=!1,t.emit("mouseleave",e)},onMouseEnter:e=>{y.value=!0,t.emit("mouseenter",e)},handleKeydown:e=>{t.emit("keydown",e)}}}});const T={key:0,class:"el-input-group__prepend"},E={key:2,class:"el-input__prefix"},B={key:3,class:"el-input__suffix"},M={class:"el-input__suffix-inner"},A={key:3,class:"el-input__count"},V={class:"el-input__count-inner"},N={key:4,class:"el-input-group__append"},q={key:2,class:"el-input__count"};O.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword,"el-input--suffix--password-clear":e.clearable&&e.showPassword},e.$attrs.class],style:e.$attrs.style,onMouseenter:t[20]||(t[20]=(...t)=>e.onMouseEnter&&e.onMouseEnter(...t)),onMouseleave:t[21]||(t[21]=(...t)=>e.onMouseLeave&&e.onMouseLeave(...t))},["textarea"!==e.type?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.createCommentVNode(" 前置元素 "),e.$slots.prepend?(o.openBlock(),o.createBlock("div",T,[o.renderSlot(e.$slots,"prepend")])):o.createCommentVNode("v-if",!0),"textarea"!==e.type?(o.openBlock(),o.createBlock("input",o.mergeProps({key:1,ref:"input",class:"el-input__inner"},e.attrs,{type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,onCompositionstart:t[1]||(t[1]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[2]||(t[2]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[3]||(t[3]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[4]||(t[4]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[5]||(t[5]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[6]||(t[6]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[7]||(t[7]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[8]||(t[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),null,16,["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 前置内容 "),e.$slots.prefix||e.prefixIcon?(o.openBlock(),o.createBlock("span",E,[o.renderSlot(e.$slots,"prefix"),e.prefixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.prefixIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置内容 "),e.getSuffixVisible()?(o.openBlock(),o.createBlock("span",B,[o.createVNode("span",M,[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"suffix"),e.suffixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.suffixIcon]},null,2)):o.createCommentVNode("v-if",!0)],64)),e.showClear?(o.openBlock(),o.createBlock("i",{key:1,class:"el-input__icon el-icon-circle-close el-input__clear",onMousedown:t[9]||(t[9]=o.withModifiers((()=>{}),["prevent"])),onClick:t[10]||(t[10]=(...t)=>e.clear&&e.clear(...t))},null,32)):o.createCommentVNode("v-if",!0),e.showPwdVisible?(o.openBlock(),o.createBlock("i",{key:2,class:"el-input__icon el-icon-view el-input__clear",onClick:t[11]||(t[11]=(...t)=>e.handlePasswordVisible&&e.handlePasswordVisible(...t))})):o.createCommentVNode("v-if",!0),e.isWordLimitVisible?(o.openBlock(),o.createBlock("span",A,[o.createVNode("span",V,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)])):o.createCommentVNode("v-if",!0)]),e.validateState?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon","el-input__validateIcon",e.validateIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置元素 "),e.$slots.append?(o.openBlock(),o.createBlock("div",N,[o.renderSlot(e.$slots,"append")])):o.createCommentVNode("v-if",!0)],64)):(o.openBlock(),o.createBlock("textarea",o.mergeProps({key:1,ref:"textarea",class:"el-textarea__inner"},e.attrs,{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,style:e.computedTextareaStyle,"aria-label":e.label,placeholder:e.placeholder,onCompositionstart:t[12]||(t[12]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[13]||(t[13]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[14]||(t[14]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[15]||(t[15]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[16]||(t[16]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[17]||(t[17]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[18]||(t[18]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[19]||(t[19]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),"\n ",16,["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"])),e.isWordLimitVisible&&"textarea"===e.type?(o.openBlock(),o.createBlock("span",q,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)):o.createCommentVNode("v-if",!0)],38)},O.__file="packages/input/src/index.vue",O.install=e=>{e.component(O.name,O)};const F=O;t.default=F},3377:(e,t,n)=>{"use strict";const o=n(5853).Option;o.install=e=>{e.component(o.name,o)},t.Z=o},2815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(1617),i=n(4750),s=n(5450),a=n(9169),l=n(6722),c=n(7050),u=n(1247);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(r),f=d(a);function h(e,t=[]){const{arrow:n,arrowOffset:o,offset:r,gpuAcceleration:i,fallbackPlacements:s}=e,a=[{name:"offset",options:{offset:[0,null!=r?r:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:null!=s?s:[]}},{name:"computeStyles",options:{gpuAcceleration:i,adaptive:i}}];return n&&a.push({name:"arrow",options:{element:n,padding:null!=o?o:5}}),a.push(...t),a}var m,v=Object.defineProperty,g=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function k(e,t){return o.computed((()=>{var n,o,r;return o=((e,t)=>{for(var n in t||(t={}))w.call(t,n)&&_(e,n,t[n]);if(b)for(var n of b(t))x.call(t,n)&&_(e,n,t[n]);return e})({placement:e.placement},e.popperOptions),r={modifiers:h({arrow:t.arrow.value,arrowOffset:e.arrowOffset,offset:e.offset,gpuAcceleration:e.gpuAcceleration,fallbackPlacements:e.fallbackPlacements},null==(n=e.popperOptions)?void 0:n.modifiers)},g(o,y(r))}))}(m=t.Effect||(t.Effect={})).DARK="dark",m.LIGHT="light";var S={arrowOffset:{type:Number,default:5},appendToBody:{type:Boolean,default:!0},autoClose:{type:Number,default:0},boundariesPadding:{type:Number,default:0},content:{type:String,default:""},class:{type:String,default:""},style:Object,hideAfter:{type:Number,default:200},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},effect:{type:String,default:t.Effect.DARK},enterable:{type:Boolean,default:!0},manualMode:{type:Boolean,default:!1},showAfter:{type:Number,default:0},offset:{type:Number,default:12},placement:{type:String,default:"bottom"},popperClass:{type:String,default:""},pure:{type:Boolean,default:!1},popperOptions:{type:Object,default:()=>null},showArrow:{type:Boolean,default:!0},strategy:{type:String,default:"fixed"},transition:{type:String,default:"el-fade-in-linear"},trigger:{type:[String,Array],default:"hover"},visible:{type:Boolean,default:void 0},stopPopperMouseEvent:{type:Boolean,default:!0},gpuAcceleration:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:[]}};function C(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=o.ref(null),l=`el-popper-${s.generateId()}`;let c=null,u=null,d=null,p=!1;const h=()=>e.manualMode||"manual"===e.trigger,m=o.ref({zIndex:f.default.nextZIndex()}),v=k(e,{arrow:n}),g=o.reactive({visible:!!e.visible}),y=o.computed({get:()=>!e.disabled&&(s.isBool(e.visible)?e.visible:g.visible),set(n){h()||(s.isBool(e.visible)?t("update:visible",n):g.visible=n)}});function b(){e.autoClose>0&&(d=window.setTimeout((()=>{w()}),e.autoClose)),y.value=!0}function w(){y.value=!1}function x(){clearTimeout(u),clearTimeout(d)}const _=()=>{h()||e.disabled||(x(),0===e.showAfter?b():u=window.setTimeout((()=>{b()}),e.showAfter))},S=()=>{h()||(x(),e.hideAfter>0?d=window.setTimeout((()=>{C()}),e.hideAfter):C())},C=()=>{w(),e.disabled&&T(!0)};function O(){if(!s.$(y))return;const e=s.$(r),t=s.isHTMLElement(e)?e:e.$el;c=i.createPopper(t,s.$(a),s.$(v)),c.update()}function T(e){!c||s.$(y)&&!e||E()}function E(){var e;null==(e=null==c?void 0:c.destroy)||e.call(c),c=null}const B={};if(!h()){const t=()=>{s.$(y)?S():_()},n=e=>{switch(e.stopPropagation(),e.type){case"click":p?p=!1:t();break;case"mouseenter":_();break;case"mouseleave":S();break;case"focus":p=!0,_();break;case"blur":p=!1,S()}},o={click:["onClick"],hover:["onMouseenter","onMouseleave"],focus:["onFocus","onBlur"]},r=e=>{o[e].forEach((e=>{B[e]=n}))};s.isArray(e.trigger)?Object.values(e.trigger).forEach(r):r(e.trigger)}return o.watch(v,(e=>{c&&(c.setOptions(e),c.update())})),o.watch(y,(function(e){e&&(m.value.zIndex=f.default.nextZIndex(),O())})),{update:function(){s.$(y)&&(c?c.update():O())},doDestroy:T,show:_,hide:S,onPopperMouseEnter:function(){e.enterable&&"click"!==e.trigger&&clearTimeout(d)},onPopperMouseLeave:function(){const{trigger:t}=e;s.isString(t)&&("click"===t||"focus"===t)||1===t.length&&("click"===t[0]||"focus"===t[0])||S()},onAfterEnter:()=>{t("after-enter")},onAfterLeave:()=>{E(),t("after-leave")},onBeforeEnter:()=>{t("before-enter")},onBeforeLeave:()=>{t("before-leave")},initializePopper:O,isManualMode:h,arrowRef:n,events:B,popperId:l,popperInstance:c,popperRef:a,popperStyle:m,triggerRef:r,visibility:y}}const O=()=>{};function T(e,t){const{effect:n,name:r,stopPopperMouseEvent:i,popperClass:s,popperStyle:a,popperRef:c,pure:u,popperId:d,visibility:p,onMouseenter:f,onMouseleave:h,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:g,onBeforeLeave:y}=e,b=[s,"el-popper","is-"+n,u?"is-pure":""],w=i?l.stop:O;return o.h(o.Transition,{name:r,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:g,onBeforeLeave:y},{default:o.withCtx((()=>[o.withDirectives(o.h("div",{"aria-hidden":String(!p),class:b,style:null!=a?a:{},id:d,ref:null!=c?c:"popperRef",role:"tooltip",onMouseenter:f,onMouseleave:h,onClick:l.stop,onMousedown:w,onMouseup:w},t),[[o.vShow,p]])]))})}function E(e,t){const n=c.getFirstValidNode(e,1);return n||p.default("renderTrigger","trigger expects single rooted node"),o.cloneVNode(n,t,!0)}function B(e){return e?o.h("div",{ref:"arrowRef",class:"el-popper__arrow","data-popper-arrow":""},null):o.h(o.Comment,null,"")}var M=Object.defineProperty,A=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,q=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const F="ElPopper";var P=o.defineComponent({name:F,props:S,emits:["update:visible","after-enter","after-leave","before-enter","before-leave"],setup(e,t){t.slots.trigger||p.default(F,"Trigger must be provided");const n=C(e,t),r=()=>n.doDestroy(!0);return o.onMounted(n.initializePopper),o.onBeforeUnmount(r),o.onActivated(n.initializePopper),o.onDeactivated(r),n},render(){var e;const{$slots:t,appendToBody:n,class:r,style:i,effect:s,hide:a,onPopperMouseEnter:l,onPopperMouseLeave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,popperClass:m,popperId:v,popperStyle:g,pure:y,showArrow:b,transition:w,visibility:x,stopPopperMouseEvent:_}=this,k=this.isManualMode(),S=B(b),C=T({effect:s,name:w,popperClass:m,popperId:v,popperStyle:g,pure:y,stopPopperMouseEvent:_,onMouseenter:l,onMouseleave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,visibility:x},[o.renderSlot(t,"default",{},(()=>[o.toDisplayString(this.content)])),S]),O=null==(e=t.trigger)?void 0:e.call(t),M=((e,t)=>{for(var n in t||(t={}))V.call(t,n)&&q(e,n,t[n]);if(A)for(var n of A(t))N.call(t,n)&&q(e,n,t[n]);return e})({"aria-describedby":v,class:r,style:i,ref:"triggerRef"},this.events),F=k?E(O,M):o.withDirectives(E(O,M),[[u.ClickOutside,a]]);return o.h(o.Fragment,null,[F,o.h(o.Teleport,{to:"body",disabled:!n},[C])])}});P.__file="packages/popper/src/index.vue",P.install=e=>{e.component(P.name,P)};const L=P;t.default=L,t.defaultProps=S,t.renderArrow=B,t.renderPopper=T,t.renderTrigger=E,t.usePopper=C},4153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2406),r=n(5450),i=n(7363),s=n(6722);const a={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var l=i.defineComponent({name:"Bar",props:{vertical:Boolean,size:String,move:Number},setup(e){const t=i.ref(null),n=i.ref(null),o=i.inject("scrollbar",{}),r=i.inject("scrollbar-wrap",{}),l=i.computed((()=>a[e.vertical?"vertical":"horizontal"])),c=i.ref({}),u=i.ref(null),d=i.ref(null),p=i.ref(!1);let f=null;const h=e=>{e.stopImmediatePropagation(),u.value=!0,s.on(document,"mousemove",m),s.on(document,"mouseup",v),f=document.onselectstart,document.onselectstart=()=>!1},m=e=>{if(!1===u.value)return;const o=c.value[l.value.axis];if(!o)return;const i=100*(-1*(t.value.getBoundingClientRect()[l.value.direction]-e[l.value.client])-(n.value[l.value.offset]-o))/t.value[l.value.offset];r.value[l.value.scroll]=i*r.value[l.value.scrollSize]/100},v=()=>{u.value=!1,c.value[l.value.axis]=0,s.off(document,"mousemove",m),document.onselectstart=f,d.value&&(p.value=!1)},g=i.computed((()=>function({move:e,size:t,bar:n}){const o={},r=`translate${n.axis}(${e}%)`;return o[n.size]=t,o.transform=r,o.msTransform=r,o.webkitTransform=r,o}({size:e.size,move:e.move,bar:l.value}))),y=()=>{d.value=!1,p.value=!!e.size},b=()=>{d.value=!0,p.value=u.value};return i.onMounted((()=>{s.on(o.value,"mousemove",y),s.on(o.value,"mouseleave",b)})),i.onBeforeUnmount((()=>{s.off(document,"mouseup",v),s.off(o.value,"mousemove",y),s.off(o.value,"mouseleave",b)})),{instance:t,thumb:n,bar:l,clickTrackHandler:e=>{const o=100*(Math.abs(e.target.getBoundingClientRect()[l.value.direction]-e[l.value.client])-n.value[l.value.offset]/2)/t.value[l.value.offset];r.value[l.value.scroll]=o*r.value[l.value.scrollSize]/100},clickThumbHandler:e=>{e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button)||(window.getSelection().removeAllRanges(),h(e),c.value[l.value.axis]=e.currentTarget[l.value.offset]-(e[l.value.client]-e.currentTarget.getBoundingClientRect()[l.value.direction]))},thumbStyle:g,visible:p}}});l.render=function(e,t,n,o,r,s){return i.openBlock(),i.createBlock(i.Transition,{name:"el-scrollbar-fade"},{default:i.withCtx((()=>[i.withDirectives(i.createVNode("div",{ref:"instance",class:["el-scrollbar__bar","is-"+e.bar.key],onMousedown:t[2]||(t[2]=(...t)=>e.clickTrackHandler&&e.clickTrackHandler(...t))},[i.createVNode("div",{ref:"thumb",class:"el-scrollbar__thumb",style:e.thumbStyle,onMousedown:t[1]||(t[1]=(...t)=>e.clickThumbHandler&&e.clickThumbHandler(...t))},null,36)],34),[[i.vShow,e.visible]])])),_:1})},l.__file="packages/scrollbar/src/bar.vue";var c=i.defineComponent({name:"ElScrollbar",components:{Bar:l},props:{height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array],default:""},noresize:Boolean,tag:{type:String,default:"div"}},emits:["scroll"],setup(e,{emit:t}){const n=i.ref("0"),s=i.ref("0"),a=i.ref(0),l=i.ref(0),c=i.ref(null),u=i.ref(null),d=i.ref(null);i.provide("scrollbar",c),i.provide("scrollbar-wrap",u);const p=()=>{if(!u.value)return;const e=100*u.value.clientHeight/u.value.scrollHeight,t=100*u.value.clientWidth/u.value.scrollWidth;s.value=e<100?e+"%":"",n.value=t<100?t+"%":""},f=i.computed((()=>{let t=e.wrapStyle;return r.isArray(t)?(t=r.toObject(t),t.height=r.addUnit(e.height),t.maxHeight=r.addUnit(e.maxHeight)):r.isString(t)&&(t+=r.addUnit(e.height)?`height: ${r.addUnit(e.height)};`:"",t+=r.addUnit(e.maxHeight)?`max-height: ${r.addUnit(e.maxHeight)};`:""),t}));return i.onMounted((()=>{e.native||i.nextTick(p),e.noresize||(o.addResizeListener(d.value,p),addEventListener("resize",p))})),i.onBeforeUnmount((()=>{e.noresize||(o.removeResizeListener(d.value,p),removeEventListener("resize",p))})),{moveX:a,moveY:l,sizeWidth:n,sizeHeight:s,style:f,scrollbar:c,wrap:u,resize:d,update:p,handleScroll:()=>{u.value&&(l.value=100*u.value.scrollTop/u.value.clientHeight,a.value=100*u.value.scrollLeft/u.value.clientWidth,t("scroll",{scrollLeft:a.value,scrollTop:l.value}))}}}});const u={ref:"scrollbar",class:"el-scrollbar"};c.render=function(e,t,n,o,r,s){const a=i.resolveComponent("bar");return i.openBlock(),i.createBlock("div",u,[i.createVNode("div",{ref:"wrap",class:[e.wrapClass,"el-scrollbar__wrap",e.native?"":"el-scrollbar__wrap--hidden-default"],style:e.style,onScroll:t[1]||(t[1]=(...t)=>e.handleScroll&&e.handleScroll(...t))},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.tag),{ref:"resize",class:["el-scrollbar__view",e.viewClass],style:e.viewStyle},{default:i.withCtx((()=>[i.renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))],38),e.native?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createBlock(i.Fragment,{key:0},[i.createVNode(a,{move:e.moveX,size:e.sizeWidth},null,8,["move","size"]),i.createVNode(a,{vertical:"",move:e.moveY,size:e.sizeHeight},null,8,["move","size"])],64))],512)},c.__file="packages/scrollbar/src/index.vue",c.install=e=>{e.component(c.name,c)};const d=c;t.default=d},5853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(1002),i=n(5450),s=n(2406),a=n(4912),l=n(2815),c=n(4153),u=n(1247),d=n(7993),p=n(2532),f=n(6801),h=n(9652),m=n(9272),v=n(3566),g=n(4593),y=n(3279),b=n(6645),w=n(7800),x=n(8446),_=n(3676);function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=k(r),C=k(a),O=k(l),T=k(c),E=k(h),B=k(v),M=k(g),A=k(y),V=k(x);const N="ElSelect",q="elOptionQueryChange";var F=o.defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=o.reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l}=function(e,t){const n=o.inject(N),r=o.inject("ElSelectGroup",{disabled:!1}),s=o.computed((()=>"[object object]"===Object.prototype.toString.call(e.value).toLowerCase())),a=o.computed((()=>n.props.multiple?f(n.props.modelValue,e.value):h(e.value,n.props.modelValue))),l=o.computed((()=>{if(n.props.multiple){const e=n.props.modelValue||[];return!a.value&&e.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),c=o.computed((()=>e.label||(s.value?"":e.value))),u=o.computed((()=>e.value||e.label||"")),d=o.computed((()=>e.disabled||t.groupDisabled||l.value)),p=o.getCurrentInstance(),f=(e=[],t)=>{if(s.value){const o=n.props.valueKey;return e&&e.some((e=>i.getValueByPath(e,o)===i.getValueByPath(t,o)))}return e&&e.indexOf(t)>-1},h=(e,t)=>{if(s.value){const{valueKey:o}=n.props;return i.getValueByPath(e,o)===i.getValueByPath(t,o)}return e===t};return o.watch((()=>c.value),(()=>{e.created||n.props.remote||n.setSelected()})),o.watch((()=>e.value),((t,o)=>{const{remote:r,valueKey:i}=n.props;if(!e.created&&!r){if(i&&"object"==typeof t&&"object"==typeof o&&t[i]===o[i])return;n.setSelected()}})),o.watch((()=>r.disabled),(()=>{t.groupDisabled=r.disabled}),{immediate:!0}),n.selectEmitter.on(q,(o=>{const r=new RegExp(i.escapeRegexpString(o),"i");t.visible=r.test(c.value)||e.created,t.visible||n.filteredOptionsCount--})),{select:n,currentLabel:c,currentValue:u,itemSelected:a,isDisabled:d,hoverItem:()=>{e.disabled||r.disabled||(n.hoverIndex=n.optionsArray.indexOf(p))}}}(e,t),{visible:c,hover:u}=o.toRefs(t),d=o.getCurrentInstance().proxy;return a.onOptionCreate(d),o.onBeforeUnmount((()=>{const{selected:t}=a;let n=a.props.multiple?t:[t];const o=a.cachedOptions.has(e.value),r=n.some((e=>e.value===d.value));o&&!r&&a.cachedOptions.delete(e.value),a.onOptionDestroy(e.value)})),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l,visible:c,hover:u,selectOptionClick:function(){!0!==e.disabled&&!0!==t.groupDisabled&&a.handleOptionSelect(d,!0)}}}});F.render=function(e,t,n,r,i,s){return o.withDirectives((o.openBlock(),o.createBlock("li",{class:["el-select-dropdown__item",{selected:e.itemSelected,"is-disabled":e.isDisabled,hover:e.hover}],onMouseenter:t[1]||(t[1]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[2]||(t[2]=o.withModifiers(((...t)=>e.selectOptionClick&&e.selectOptionClick(...t)),["stop"]))},[o.renderSlot(e.$slots,"default",{},(()=>[o.createVNode("span",null,o.toDisplayString(e.currentLabel),1)]))],34)),[[o.vShow,e.visible]])},F.__file="packages/select/src/option.vue";var P=o.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=o.inject(N),t=o.computed((()=>e.props.popperClass)),n=o.computed((()=>e.props.multiple)),r=o.ref("");function i(){var t;r.value=(null==(t=e.selectWrapper)?void 0:t.getBoundingClientRect().width)+"px"}return o.onMounted((()=>{s.addResizeListener(e.selectWrapper,i)})),o.onBeforeUnmount((()=>{s.removeResizeListener(e.selectWrapper,i)})),{minWidth:r,popperClass:t,isMultiple:n}}});P.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["el-select-dropdown",[{"is-multiple":e.isMultiple},e.popperClass]],style:{minWidth:e.minWidth}},[o.renderSlot(e.$slots,"default")],6)},P.__file="packages/select/src/select-dropdown.vue";const L=e=>null!==e&&"object"==typeof e,D=Object.prototype.toString,I=e=>(e=>D.call(e))(e).slice(8,-1);const j=(e,t,n)=>{const r=i.useGlobalConfig(),s=o.ref(null),a=o.ref(null),l=o.ref(null),c=o.ref(null),u=o.ref(null),f=o.ref(null),h=o.ref(-1),v=o.inject(w.elFormKey,{}),g=o.inject(w.elFormItemKey,{}),y=o.computed((()=>!e.filterable||e.multiple||!i.isIE()&&!i.isEdge()&&!t.visible)),x=o.computed((()=>e.disabled||v.disabled)),_=o.computed((()=>{const n=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:void 0!==e.modelValue&&null!==e.modelValue&&""!==e.modelValue;return e.clearable&&!x.value&&t.inputHovering&&n})),k=o.computed((()=>e.remote&&e.filterable?"":t.visible?"arrow-up is-reverse":"arrow-up")),S=o.computed((()=>e.remote?300:0)),C=o.computed((()=>e.loading?e.loadingText||d.t("el.select.loading"):(!e.remote||""!==t.query||0!==t.options.size)&&(e.filterable&&t.query&&t.options.size>0&&0===t.filteredOptionsCount?e.noMatchText||d.t("el.select.noMatch"):0===t.options.size?e.noDataText||d.t("el.select.noData"):null))),O=o.computed((()=>Array.from(t.options.values()))),T=o.computed((()=>Array.from(t.cachedOptions.values()))),E=o.computed((()=>{const n=O.value.filter((e=>!e.created)).some((e=>e.currentLabel===t.query));return e.filterable&&e.allowCreate&&""!==t.query&&!n})),N=o.computed((()=>e.size||g.size||r.size)),q=o.computed((()=>["small","mini"].indexOf(N.value)>-1?"mini":"small")),F=o.computed((()=>t.visible&&!1!==C.value));o.watch((()=>x.value),(()=>{o.nextTick((()=>{P()}))})),o.watch((()=>e.placeholder),(e=>{t.cachedPlaceHolder=t.currentPlaceholder=e})),o.watch((()=>e.modelValue),((n,o)=>{var r;e.multiple&&(P(),n&&n.length>0||a.value&&""!==t.query?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",D(t.query))),R(),e.filterable&&!e.multiple&&(t.inputLength=20),V.default(n,o)||null==(r=g.formItemMitt)||r.emit("el.form.change",n)}),{flush:"post",deep:!0}),o.watch((()=>t.visible),(r=>{var i,s;r?(null==(s=null==(i=l.value)?void 0:i.update)||s.call(i),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?a.value.focus():t.selectedLabel&&(t.currentPlaceholder=t.selectedLabel,t.selectedLabel=""),D(t.query),e.multiple||e.remote||(t.selectEmitter.emit("elOptionQueryChange",""),t.selectEmitter.emit("elOptionGroupQueryChange")))):(a.value&&a.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,H(),o.nextTick((()=>{a.value&&""===a.value.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",r)})),o.watch((()=>t.options.entries()),(()=>{var n,o,r;if(B.default)return;null==(o=null==(n=l.value)?void 0:n.update)||o.call(n),e.multiple&&P();const i=(null==(r=u.value)?void 0:r.querySelectorAll("input"))||[];-1===[].indexOf.call(i,document.activeElement)&&R(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&$()}),{flush:"post"}),o.watch((()=>t.hoverIndex),(e=>{"number"==typeof e&&e>-1&&(h.value=O.value[e]||{}),O.value.forEach((e=>{e.hover=h.value===e}))}));const P=()=>{e.collapseTags&&!e.filterable||o.nextTick((()=>{var e,n;if(!s.value)return;const o=s.value.$el.childNodes,r=[].filter.call(o,(e=>"INPUT"===e.tagName))[0],i=c.value,a=t.initialInputHeight||40;r.style.height=0===t.selected.length?a+"px":Math.max(i?i.clientHeight+(i.clientHeight>a?6:0):0,a)+"px",t.tagInMultiLine=parseFloat(r.style.height)>a,t.visible&&!1!==C.value&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))}))},D=n=>{t.previousQuery===n||t.isOnComposition||(null!==t.previousQuery||"function"!=typeof e.filterMethod&&"function"!=typeof e.remoteMethod?(t.previousQuery=n,o.nextTick((()=>{var e,n;t.visible&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))})),t.hoverIndex=-1,e.multiple&&e.filterable&&o.nextTick((()=>{const n=15*a.value.length+20;t.inputLength=e.collapseTags?Math.min(50,n):n,j(),P()})),e.remote&&"function"==typeof e.remoteMethod?(t.hoverIndex=-1,e.remoteMethod(n)):"function"==typeof e.filterMethod?(e.filterMethod(n),t.selectEmitter.emit("elOptionGroupQueryChange")):(t.filteredOptionsCount=t.optionsCount,t.selectEmitter.emit("elOptionQueryChange",n),t.selectEmitter.emit("elOptionGroupQueryChange")),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&$()):t.previousQuery=n)},j=()=>{""!==t.currentPlaceholder&&(t.currentPlaceholder=a.value.value?"":t.cachedPlaceHolder)},$=()=>{t.hoverIndex=-1;let e=!1;for(let n=t.options.size-1;n>=0;n--)if(O.value[n].created){e=!0,t.hoverIndex=n;break}if(!e)for(let e=0;e!==t.options.size;++e){const n=O.value[e];if(t.query){if(!n.disabled&&!n.groupDisabled&&n.visible){t.hoverIndex=e;break}}else if(n.itemSelected){t.hoverIndex=e;break}}},R=()=>{var n;if(!e.multiple){const o=z(e.modelValue);return(null==(n=o.props)?void 0:n.created)?(t.createdLabel=o.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=o.currentLabel,t.selected=o,void(e.filterable&&(t.query=t.selectedLabel))}const r=[];Array.isArray(e.modelValue)&&e.modelValue.forEach((e=>{r.push(z(e))})),t.selected=r,o.nextTick((()=>{P()}))},z=n=>{let o;const r="object"===I(n).toLowerCase(),s="null"===I(n).toLowerCase(),a="undefined"===I(n).toLowerCase();for(let s=t.cachedOptions.size-1;s>=0;s--){const t=T.value[s];if(r?i.getValueByPath(t.value,e.valueKey)===i.getValueByPath(n,e.valueKey):t.value===n){o={value:n,currentLabel:t.currentLabel,isDisabled:t.isDisabled};break}}if(o)return o;const l={value:n,currentLabel:r||s||a?"":n};return e.multiple&&(l.hitState=!1),l},H=()=>{setTimeout((()=>{e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map((e=>O.value.indexOf(e)))):t.hoverIndex=-1:t.hoverIndex=O.value.indexOf(t.selected)}),300)},U=()=>{var e;t.inputWidth=null==(e=s.value)?void 0:e.$el.getBoundingClientRect().width},K=A.default((()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,D(t.query))}),S.value),W=A.default((e=>{D(e.target.value)}),S.value),Q=t=>{V.default(e.modelValue,t)||n.emit(p.CHANGE_EVENT,t)},Y=o=>{o.stopPropagation();const r=e.multiple?[]:"";if("string"!=typeof r)for(const e of t.selected)e.isDisabled&&r.push(e.value);n.emit(p.UPDATE_MODEL_EVENT,r),Q(r),t.visible=!1,n.emit("clear")},J=(r,i)=>{if(e.multiple){const o=(e.modelValue||[]).slice(),i=G(o,r.value);i>-1?o.splice(i,1):(e.multipleLimit<=0||o.length<e.multipleLimit)&&o.push(r.value),n.emit(p.UPDATE_MODEL_EVENT,o),Q(o),r.created&&(t.query="",D(""),t.inputLength=20),e.filterable&&a.value.focus()}else n.emit(p.UPDATE_MODEL_EVENT,r.value),Q(r.value),t.visible=!1;t.isSilentBlur=i,Z(),t.visible||o.nextTick((()=>{X(r)}))},G=(t=[],n)=>{if(!L(n))return t.indexOf(n);const o=e.valueKey;let r=-1;return t.some(((e,t)=>i.getValueByPath(e,o)===i.getValueByPath(n,o)&&(r=t,!0))),r},Z=()=>{t.softFocus=!0;const e=a.value||s.value;e&&e.focus()},X=e=>{var t,n,o,r;const i=Array.isArray(e)?e[0]:e;let s=null;if(null==i?void 0:i.value){const e=O.value.filter((e=>e.value===i.value));e.length>0&&(s=e[0].$el)}if(l.value&&s){const e=null==(o=null==(n=null==(t=l.value)?void 0:t.popperRef)?void 0:n.querySelector)?void 0:o.call(n,".el-select-dropdown__wrap");e&&M.default(e,s)}null==(r=f.value)||r.handleScroll()},ee=e=>{if(!Array.isArray(t.selected))return;const n=t.selected[t.selected.length-1];return n?!0===e||!1===e?(n.hitState=e,e):(n.hitState=!n.hitState,n.hitState):void 0},te=()=>{e.automaticDropdown||x.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&(a.value||s.value).focus())},ne=o.computed((()=>O.value.filter((e=>e.visible)).every((e=>e.disabled)))),oe=e=>{if(t.visible){if(0!==t.options.size&&0!==t.filteredOptionsCount&&!ne.value){"next"===e?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):"prev"===e&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const n=O.value[t.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||oe(e),o.nextTick((()=>X(h.value)))}}else t.visible=!0};return{optionsArray:O,selectSize:N,handleResize:()=>{var t,n;U(),null==(n=null==(t=l.value)?void 0:t.update)||n.call(t),e.multiple&&P()},debouncedOnInputChange:K,debouncedQueryChange:W,deletePrevTag:o=>{if(o.target.value.length<=0&&!ee()){const t=e.modelValue.slice();t.pop(),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t)}1===o.target.value.length&&0===e.modelValue.length&&(t.currentPlaceholder=t.cachedPlaceHolder)},deleteTag:(o,r)=>{const i=t.selected.indexOf(r);if(i>-1&&!x.value){const t=e.modelValue.slice();t.splice(i,1),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t),n.emit("remove-tag",r.value)}o.stopPropagation()},deleteSelected:Y,handleOptionSelect:J,scrollToOption:X,readonly:y,resetInputHeight:P,showClose:_,iconClass:k,showNewOption:E,collapseTagSize:q,setSelected:R,managePlaceholder:j,selectDisabled:x,emptyText:C,toggleLastOptionHitState:ee,resetInputState:e=>{e.code!==m.EVENT_CODE.backspace&&ee(!1),t.inputLength=15*a.value.length+20,P()},handleComposition:e=>{const n=e.target.value;if("compositionend"===e.type)t.isOnComposition=!1,o.nextTick((()=>D(n)));else{const e=n[n.length-1]||"";t.isOnComposition=!b.isKorean(e)}},onOptionCreate:e=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(e.value,e),t.cachedOptions.set(e.value,e)},onOptionDestroy:e=>{t.optionsCount--,t.filteredOptionsCount--,t.options.delete(e)},handleMenuEnter:()=>{o.nextTick((()=>X(t.selected)))},handleFocus:o=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(t.visible=!0,e.filterable&&(t.menuVisibleOnFocus=!0)),n.emit("focus",o))},blur:()=>{t.visible=!1,s.value.blur()},handleBlur:e=>{o.nextTick((()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",e)})),t.softFocus=!1},handleClearClick:e=>{Y(e)},handleClose:()=>{t.visible=!1},toggleMenu:te,selectOption:()=>{t.visible?O.value[t.hoverIndex]&&J(O.value[t.hoverIndex],void 0):te()},getValueKey:t=>L(t.value)?i.getValueByPath(t.value,e.valueKey):t.value,navigateOptions:oe,dropMenuVisible:F,reference:s,input:a,popper:l,tags:c,selectWrapper:u,scrollbar:f}};var $=o.defineComponent({name:"ElSelect",componentName:"ElSelect",components:{ElInput:S.default,ElSelectMenu:P,ElOption:F,ElTag:C.default,ElScrollbar:T.default,ElPopper:O.default},directives:{ClickOutside:u.ClickOutside},props:{name:String,id:String,modelValue:[Array,String,Number,Boolean,Object],autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:f.isValidComponentSize},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},clearIcon:{type:String,default:"el-icon-circle-close"}},emits:[p.UPDATE_MODEL_EVENT,p.CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=function(e){const t=E.default();return o.reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:d.t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,selectEmitter:t,prefixWidth:null,tagInMultiLine:!1})}(e),{optionsArray:r,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:g,scrollToOption:y,setSelected:b,resetInputHeight:w,managePlaceholder:x,showClose:k,selectDisabled:S,iconClass:C,showNewOption:O,emptyText:T,toggleLastOptionHitState:B,resetInputState:M,handleComposition:A,onOptionCreate:V,onOptionDestroy:q,handleMenuEnter:F,handleFocus:P,blur:L,handleBlur:D,handleClearClick:I,handleClose:$,toggleMenu:R,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,reference:W,input:Q,popper:Y,tags:J,selectWrapper:G,scrollbar:Z}=j(e,n,t),{focus:X}=_.useFocus(W),{inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,cachedOptions:me,optionsCount:ve,prefixWidth:ge,tagInMultiLine:ye}=o.toRefs(n);o.provide(N,o.reactive({props:e,options:he,optionsArray:r,cachedOptions:me,optionsCount:ve,filteredOptionsCount:oe,hoverIndex:ae,handleOptionSelect:g,selectEmitter:n.selectEmitter,onOptionCreate:V,onOptionDestroy:q,selectWrapper:G,selected:te,setSelected:b})),o.onMounted((()=>{if(n.cachedPlaceHolder=ue.value=e.placeholder||d.t("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(ue.value=""),s.addResizeListener(G.value,l),W.value&&W.value.$el){const e={medium:36,small:32,mini:28},t=W.value.input;n.initialInputHeight=t.getBoundingClientRect().height||e[i.value]}e.remote&&e.multiple&&w(),o.nextTick((()=>{if(W.value.$el&&(ee.value=W.value.$el.getBoundingClientRect().width),t.slots.prefix){const e=W.value.$el.childNodes,t=[].filter.call(e,(e=>"INPUT"===e.tagName))[0],o=W.value.$el.querySelector(".el-input__prefix");ge.value=Math.max(o.getBoundingClientRect().width+5,30),n.prefixWidth&&(t.style.paddingLeft=`${Math.max(n.prefixWidth,30)}px`)}})),b()})),o.onBeforeUnmount((()=>{s.removeResizeListener(G.value,l)})),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,"");const be=o.computed((()=>{var e;return null==(e=Y.value)?void 0:e.popperRef}));return{tagInMultiLine:ye,prefixWidth:ge,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:g,scrollToOption:y,inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,resetInputHeight:w,managePlaceholder:x,showClose:k,selectDisabled:S,iconClass:C,showNewOption:O,emptyText:T,toggleLastOptionHitState:B,resetInputState:M,handleComposition:A,handleMenuEnter:F,handleFocus:P,blur:L,handleBlur:D,handleClearClick:I,handleClose:$,toggleMenu:R,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,focus:X,reference:W,input:Q,popper:Y,popperPaneRef:be,tags:J,selectWrapper:G,scrollbar:Z}}});const R={class:"select-trigger"},z={key:0},H={class:"el-select__tags-text"},U={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}},K={key:1,class:"el-select-dropdown__empty"};$.render=function(e,t,n,r,i,s){const a=o.resolveComponent("el-tag"),l=o.resolveComponent("el-input"),c=o.resolveComponent("el-option"),u=o.resolveComponent("el-scrollbar"),d=o.resolveComponent("el-select-menu"),p=o.resolveComponent("el-popper"),f=o.resolveDirective("click-outside");return o.withDirectives((o.openBlock(),o.createBlock("div",{ref:"selectWrapper",class:["el-select",[e.selectSize?"el-select--"+e.selectSize:""]],onClick:t[26]||(t[26]=o.withModifiers(((...t)=>e.toggleMenu&&e.toggleMenu(...t)),["stop"]))},[o.createVNode(p,{ref:"popper",visible:e.dropMenuVisible,"onUpdate:visible":t[25]||(t[25]=t=>e.dropMenuVisible=t),placement:"bottom-start","append-to-body":e.popperAppendToBody,"popper-class":`el-select__popper ${e.popperClass}`,"fallback-placements":["auto"],"manual-mode":"",effect:"light",pure:"",trigger:"click",transition:"el-zoom-in-top","stop-popper-mouse-event":!1,"gpu-acceleration":!1,onBeforeEnter:e.handleMenuEnter},{trigger:o.withCtx((()=>[o.createVNode("div",R,[e.multiple?(o.openBlock(),o.createBlock("div",{key:0,ref:"tags",class:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?(o.openBlock(),o.createBlock("span",z,[o.createVNode(a,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":"",onClose:t[1]||(t[1]=t=>e.deleteTag(t,e.selected[0]))},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-123+"px"}},o.toDisplayString(e.selected[0].currentLabel),5)])),_:1},8,["closable","size","hit"]),e.selected.length>1?(o.openBlock(),o.createBlock(a,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:o.withCtx((()=>[o.createVNode("span",H,"+ "+o.toDisplayString(e.selected.length-1),1)])),_:1},8,["size"])):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" <div> "),e.collapseTags?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Transition,{key:1,onAfterLeave:e.resetInputHeight},{default:o.withCtx((()=>[o.createVNode("span",{style:{marginLeft:e.prefixWidth&&e.selected.length?`${e.prefixWidth}px`:null}},[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(e.selected,(t=>(o.openBlock(),o.createBlock(a,{key:e.getValueKey(t),closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-75+"px"}},o.toDisplayString(t.currentLabel),5)])),_:2},1032,["closable","size","hit","onClose"])))),128))],4)])),_:1},8,["onAfterLeave"])),o.createCommentVNode(" </div> "),e.filterable?o.withDirectives((o.openBlock(),o.createBlock("input",{key:2,ref:"input","onUpdate:modelValue":t[2]||(t[2]=t=>e.query=t),type:"text",class:["el-select__input",[e.selectSize?`is-${e.selectSize}`:""]],disabled:e.selectDisabled,autocomplete:e.autocomplete,style:{marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:null,flexGrow:"1",width:e.inputLength/(e.inputWidth-32)+"%",maxWidth:e.inputWidth-42+"px"},onFocus:t[3]||(t[3]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[4]||(t[4]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onKeyup:t[5]||(t[5]=(...t)=>e.managePlaceholder&&e.managePlaceholder(...t)),onKeydown:[t[6]||(t[6]=(...t)=>e.resetInputState&&e.resetInputState(...t)),t[7]||(t[7]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["prevent"]),["down"])),t[8]||(t[8]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["prevent"]),["up"])),t[9]||(t[9]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[10]||(t[10]=o.withKeys(o.withModifiers(((...t)=>e.selectOption&&e.selectOption(...t)),["stop","prevent"]),["enter"])),t[11]||(t[11]=o.withKeys(((...t)=>e.deletePrevTag&&e.deletePrevTag(...t)),["delete"])),t[12]||(t[12]=o.withKeys((t=>e.visible=!1),["tab"]))],onCompositionstart:t[13]||(t[13]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionupdate:t[14]||(t[14]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionend:t[15]||(t[15]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onInput:t[16]||(t[16]=(...t)=>e.debouncedQueryChange&&e.debouncedQueryChange(...t))},null,46,["disabled","autocomplete"])),[[o.vModelText,e.query]]):o.createCommentVNode("v-if",!0)],4)):o.createCommentVNode("v-if",!0),o.createVNode(l,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[18]||(t[18]=t=>e.selectedLabel=t),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:{"is-focus":e.visible},tabindex:e.multiple&&e.filterable?"-1":null,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onKeydown:[t[19]||(t[19]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["stop","prevent"]),["down"])),t[20]||(t[20]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"])),o.withKeys(o.withModifiers(e.selectOption,["stop","prevent"]),["enter"]),t[21]||(t[21]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[22]||(t[22]=o.withKeys((t=>e.visible=!1),["tab"]))],onMouseenter:t[23]||(t[23]=t=>e.inputHovering=!0),onMouseleave:t[24]||(t[24]=t=>e.inputHovering=!1)},o.createSlots({suffix:o.withCtx((()=>[o.withDirectives(o.createVNode("i",{class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]},null,2),[[o.vShow,!e.showClose]]),e.showClose?(o.openBlock(),o.createBlock("i",{key:0,class:`el-select__caret el-input__icon ${e.clearIcon}`,onClick:t[17]||(t[17]=(...t)=>e.handleClearClick&&e.handleClearClick(...t))},null,2)):o.createCommentVNode("v-if",!0)])),_:2},[e.$slots.prefix?{name:"prefix",fn:o.withCtx((()=>[o.createVNode("div",U,[o.renderSlot(e.$slots,"prefix")])]))}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onKeydown"])])])),default:o.withCtx((()=>[o.createVNode(d,null,{default:o.withCtx((()=>[o.withDirectives(o.createVNode(u,{ref:"scrollbar",tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount}},{default:o.withCtx((()=>[e.showNewOption?(o.openBlock(),o.createBlock(c,{key:0,value:e.query,created:!0},null,8,["value"])):o.createCommentVNode("v-if",!0),o.renderSlot(e.$slots,"default")])),_:3},8,["class"]),[[o.vShow,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.size)?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[e.$slots.empty?o.renderSlot(e.$slots,"empty",{key:0}):(o.openBlock(),o.createBlock("p",K,o.toDisplayString(e.emptyText),1))],2112)):o.createCommentVNode("v-if",!0)])),_:3})])),_:1},8,["visible","append-to-body","popper-class","onBeforeEnter"])],2)),[[f,e.handleClose,e.popperPaneRef]])},$.__file="packages/select/src/select.vue",$.install=e=>{e.component($.name,$)};const W=$;t.Option=F,t.default=W},4912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(5450),i=n(6801),s=o.defineComponent({name:"ElTag",props:{closable:Boolean,type:{type:String,default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,validator:i.isValidComponentSize},effect:{type:String,default:"light",validator:e=>-1!==["dark","light","plain"].indexOf(e)}},emits:["close","click"],setup(e,t){const n=r.useGlobalConfig(),i=o.computed((()=>e.size||n.size)),s=o.computed((()=>{const{type:t,hit:n,effect:o}=e;return["el-tag",t?`el-tag--${t}`:"",i.value?`el-tag--${i.value}`:"",o?`el-tag--${o}`:"",n&&"is-hit"]}));return{tagSize:i,classes:s,handleClose:e=>{e.stopPropagation(),t.emit("close",e)},handleClick:e=>{t.emit("click",e)}}}});s.render=function(e,t,n,r,i,s){return e.disableTransitions?(o.openBlock(),o.createBlock(o.Transition,{key:1,name:"el-zoom-in-center"},{default:o.withCtx((()=>[o.createVNode("span",{class:e.classes,style:{backgroundColor:e.color},onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[3]||(t[3]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6)])),_:3})):(o.openBlock(),o.createBlock("span",{key:0,class:e.classes,style:{backgroundColor:e.color},onClick:t[2]||(t[2]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[1]||(t[1]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6))},s.__file="packages/tag/src/index.vue",s.install=e=>{e.component(s.name,s)};const a=s;t.default=a},3676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(5450),i=n(6722),s=n(6311),a=n(1617),l=n(9272),c=n(3566);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(s),p=u(a);const f=["class","style"],h=/^on[A-Z]/;const m=[],v=e=>{if(0!==m.length&&e.code===l.EVENT_CODE.esc){e.stopPropagation();m[m.length-1].handleClose()}};u(c).default||i.on(document,"keydown",v);t.useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=o.getCurrentInstance(),s=o.shallowRef({}),a=n.concat(f);return i.attrs=o.reactive(i.attrs),o.watchEffect((()=>{const e=r.entries(i.attrs).reduce(((e,[n,o])=>(a.includes(n)||t&&h.test(n)||(e[n]=o),e)),{});s.value=e})),s},t.useEvents=(e,t)=>{o.watch(e,(n=>{n?t.forEach((({name:t,handler:n})=>{i.on(e.value,t,n)})):t.forEach((({name:t,handler:n})=>{i.off(e.value,t,n)}))}))},t.useFocus=e=>({focus:()=>{var t,n;null==(n=null==(t=e.value)?void 0:t.focus)||n.call(t)}}),t.useLockScreen=e=>{o.isRef(e)||p.default("[useLockScreen]","You need to pass a ref param to this function");let t=0,n=!1,r="0",s=0;o.onUnmounted((()=>{a()}));const a=()=>{i.removeClass(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=r)};o.watch(e,(e=>{if(e){n=!i.hasClass(document.body,"el-popup-parent--hidden"),n&&(r=document.body.style.paddingRight,s=parseInt(i.getStyle(document.body,"paddingRight"),10)),t=d.default();const e=document.documentElement.clientHeight<document.body.scrollHeight,o=i.getStyle(document.body,"overflowY");t>0&&(e||"scroll"===o)&&n&&(document.body.style.paddingRight=s+t+"px"),i.addClass(document.body,"el-popup-parent--hidden")}else a()}))},t.useMigrating=function(){o.onMounted((()=>{o.getCurrentInstance()}));const e=function(){return{props:{},events:{}}};return{getMigratingConfig:e}},t.useModal=(e,t)=>{o.watch((()=>t.value),(t=>{t?m.push(e):m.splice(m.findIndex((t=>t===e)),1)}))},t.usePreventGlobal=(e,t,n)=>{const r=e=>{n(e)&&e.stopImmediatePropagation()};o.watch((()=>e.value),(e=>{e?i.on(document,t,r,!0):i.off(document,t,r,!0)}),{immediate:!0})},t.useRestoreActive=(e,t)=>{let n;o.watch((()=>e.value),(e=>{var r,i;e?(n=document.activeElement,o.isRef(t)&&(null==(i=(r=t.value).focus)||i.call(r))):n.focus()}))},t.useThrottleRender=function(e,t=0){if(0===t)return e;const n=o.ref(!1);let r=0;const i=()=>{r&&clearTimeout(r),r=window.setTimeout((()=>{n.value=e.value}),t)};return o.onMounted(i),o.watch((()=>e.value),(e=>{e?i():n.value=e})),n}},7993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2372),r=n(7484);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);let l=s.default,c=null;const u=e=>{c=e};function d(e,t){return e&&t?e.replace(/\{(\w+)\}/g,((e,n)=>t[n])):e}const p=(...e)=>{if(c)return c(...e);const[t,n]=e;let o;const r=t.split(".");let i=l;for(let e=0,t=r.length;e<t;e++){if(o=i[r[e]],e===t-1)return d(o,n);if(!o)return"";i=o}return""},f=e=>{l=e||l,l.name&&a.default.locale(l.name)};var h={use:f,t:p,i18n:u};t.default=h,t.i18n=u,t.t=p,t.use=f},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},9272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e=>{return"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent},o=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r=e=>{var t;return!!o(e)&&(i.IgnoreUtilFocusChanges=!0,null===(t=e.focus)||void 0===t||t.call(e),i.IgnoreUtilFocusChanges=!1,document.activeElement===e)},i={IgnoreUtilFocusChanges:!1,focusFirstDescendant:function(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(r(n)||this.focusFirstDescendant(n))return!0}return!1},focusLastDescendant:function(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(r(n)||this.focusLastDescendant(n))return!0}return!1}};t.EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace"},t.attemptFocus=r,t.default=i,t.isFocusable=o,t.isVisible=n,t.obtainAllFocusableElements=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter(o).filter(n),t.triggerEvent=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e}},544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n={};t.getConfig=e=>n[e],t.setConfig=e=>{n=e}},2532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANGE_EVENT="change",t.INPUT_EVENT="input",t.UPDATE_MODEL_EVENT="update:modelValue",t.VALIDATE_STATE_MAP={validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}},6722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(5450);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o);const a=function(e,t,n,o=!1){e&&t&&n&&e.addEventListener(t,n,o)},l=function(e,t,n,o=!1){e&&t&&n&&e.removeEventListener(t,n,o)};function c(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}const u=function(e,t){if(!s.default){if(!e||!t)return null;"float"===(t=r.camelize(t))&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const o=document.defaultView.getComputedStyle(e,"");return o?o[t]:""}catch(n){return e.style[t]}}};function d(e,t,n){e&&t&&(r.isObject(t)?Object.keys(t).forEach((n=>{d(e,n,t[n])})):(t=r.camelize(t),e.style[t]=n))}const p=(e,t)=>{if(s.default)return;return u(e,null==t?"overflow":t?"overflow-y":"overflow-x").match(/(scroll|auto)/)},f=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t};t.addClass=function(e,t){if(!e)return;let n=e.className;const o=(t||"").split(" ");for(let t=0,r=o.length;t<r;t++){const r=o[t];r&&(e.classList?e.classList.add(r):c(e,r)||(n+=" "+r))}e.classList||(e.className=n)},t.getOffsetTop=f,t.getOffsetTopDistance=(e,t)=>Math.abs(f(e)-f(t)),t.getScrollContainer=(e,t)=>{if(s.default)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(p(n,t))return n;n=n.parentNode}return n},t.getStyle=u,t.hasClass=c,t.isInContainer=(e,t)=>{if(s.default||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},t.isScroll=p,t.off=l,t.on=a,t.once=function(e,t,n){const o=function(...r){n&&n.apply(this,r),l(e,t,o)};a(e,t,o)},t.removeClass=function(e,t){if(!e||!t)return;const n=t.split(" ");let o=" "+e.className+" ";for(let t=0,r=n.length;t<r;t++){const r=n[t];r&&(e.classList?e.classList.remove(r):c(e,r)&&(o=o.replace(" "+r+" "," ")))}e.classList||(e.className=(o||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))},t.removeStyle=function(e,t){e&&t&&(r.isObject(t)?Object.keys(t).forEach((t=>{d(e,t,"")})):d(e,t,""))},t.setStyle=d,t.stop=e=>e.stopPropagation()},1617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(e),this.name="ElementPlusError"}}t.default=(e,t)=>{throw new n(`[${e}] ${t}`)},t.warn=function(e,t){console.warn(new n(`[${e}] ${t}`))}},6645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},3566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof window;t.default=n},9169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(544),i=n(6722),s=n(9272);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(o);const c=e=>{e.preventDefault(),e.stopPropagation()},u=()=>{null==m||m.doOnModalClick()};let d,p=!1;const f=function(){if(l.default)return;let e=m.modalDom;return e?p=!0:(p=!1,e=document.createElement("div"),m.modalDom=e,i.on(e,"touchmove",c),i.on(e,"click",u)),e},h={},m={modalFade:!0,modalDom:void 0,zIndex:d,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return++m.zIndex},modalStack:[],doOnModalClick:function(){const e=m.modalStack[m.modalStack.length-1];if(!e)return;const t=m.getInstance(e.id);t&&t.closeOnClickModal.value&&t.close()},openModal:function(e,t,n,o,r){if(l.default)return;if(!e||void 0===t)return;this.modalFade=r;const s=this.modalStack;for(let t=0,n=s.length;t<n;t++){if(s[t].id===e)return}const a=f();if(i.addClass(a,"v-modal"),this.modalFade&&!p&&i.addClass(a,"v-modal-enter"),o){o.trim().split(/\s+/).forEach((e=>i.addClass(a,e)))}setTimeout((()=>{i.removeClass(a,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(a):document.body.appendChild(a),t&&(a.style.zIndex=String(t)),a.tabIndex=0,a.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:o})},closeModal:function(e){const t=this.modalStack,n=f();if(t.length>0){const o=t[t.length-1];if(o.id===e){if(o.modalClass){o.modalClass.trim().split(/\s+/).forEach((e=>i.removeClass(n,e)))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&i.addClass(n,"v-modal-leave"),setTimeout((()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",m.modalDom=void 0),i.removeClass(n,"v-modal-leave")}),200))}};Object.defineProperty(m,"zIndex",{configurable:!0,get:()=>(void 0===d&&(d=r.getConfig("zIndex")||2e3),d),set(e){d=e}});l.default||i.on(window,"keydown",(function(e){if(e.code===s.EVENT_CODE.esc){const e=function(){if(!l.default&&m.modalStack.length>0){const e=m.modalStack[m.modalStack.length-1];if(!e)return;return m.getInstance(e.id)}}();e&&e.closeOnPressEscape.value&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),t.default=m},2406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1033),r=n(3566);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);const l=function(e){for(const t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach((e=>{e()}))}};t.addResizeListener=function(e,t){!a.default&&e&&(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new s.default(l),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4593:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));t.default=function(e,t){if(r.default)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),s=i+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;i<a?e.scrollTop=i:s>l&&(e.scrollTop=s-e.clientHeight)}},6311:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));let i;t.default=function(){if(r.default)return 0;if(void 0!==i)return i;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const o=n.offsetWidth;return e.parentNode.removeChild(e),i=t-o,i}},5450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(3577),i=n(3566);n(1617);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(i);const l=r.hyphenate,c=e=>"number"==typeof e;Object.defineProperty(t,"isVNode",{enumerable:!0,get:function(){return o.isVNode}}),Object.defineProperty(t,"camelize",{enumerable:!0,get:function(){return r.camelize}}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return r.capitalize}}),Object.defineProperty(t,"extend",{enumerable:!0,get:function(){return r.extend}}),Object.defineProperty(t,"hasOwn",{enumerable:!0,get:function(){return r.hasOwn}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return r.isObject}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"looseEqual",{enumerable:!0,get:function(){return r.looseEqual}}),t.$=function(e){return e.value},t.SCOPE="Util",t.addUnit=function(e){return r.isString(e)?e:c(e)?e+"px":""},t.arrayFind=function(e,t){return e.find(t)},t.arrayFindIndex=function(e,t){return e.findIndex(t)},t.arrayFlat=function e(t){return t.reduce(((t,n)=>{const o=Array.isArray(n)?e(n):n;return t.concat(o)}),[])},t.autoprefixer=function(e){const t=["ms-","webkit-"];return["transform","transition","animation"].forEach((n=>{const o=e[n];n&&o&&t.forEach((t=>{e[t+n]=o}))})),e},t.clearTimer=e=>{clearTimeout(e.value),e.value=null},t.coerceTruthyValueToArray=e=>e||0===e?Array.isArray(e)?e:[e]:[],t.deduplicate=function(e){return Array.from(new Set(e))},t.entries=function(e){return Object.keys(e).map((t=>[t,e[t]]))},t.escapeRegexpString=(e="")=>String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),t.generateId=()=>Math.floor(1e4*Math.random()),t.getPropByPath=function(e,t,n){let o=e;const r=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let i=0;for(;i<r.length-1&&(o||n);i++){const e=r[i];if(!(e in o)){if(n)throw new Error("please transfer a valid prop path to form item!");break}o=o[e]}return{o,k:r[i],v:null==o?void 0:o[r[i]]}},t.getRandomInt=function(e){return Math.floor(Math.random()*Math.floor(e))},t.getValueByPath=(e,t="")=>{let n=e;return t.split(".").map((e=>{n=null==n?void 0:n[e]})),n},t.isBool=e=>"boolean"==typeof e,t.isEdge=function(){return!a.default&&navigator.userAgent.indexOf("Edge")>-1},t.isEmpty=function(e){return!!(!e&&0!==e||r.isArray(e)&&!e.length||r.isObject(e)&&!Object.keys(e).length)},t.isFirefox=function(){return!a.default&&!!window.navigator.userAgent.match(/firefox/i)},t.isHTMLElement=e=>r.toRawType(e).startsWith("HTML"),t.isIE=function(){return!a.default&&!isNaN(Number(document.documentMode))},t.isNumber=c,t.isUndefined=function(e){return void 0===e},t.kebabCase=l,t.rafThrottle=function(e){let t=!1;return function(...n){t||(t=!0,window.requestAnimationFrame((()=>{e.apply(this,n),t=!1})))}},t.toObject=function(e){const t={};for(let n=0;n<e.length;n++)e[n]&&r.extend(t,e[n]);return t},t.useGlobalConfig=function(){const e=o.getCurrentInstance();return"$ELEMENT"in e.proxy?e.proxy.$ELEMENT:{}}},6801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5450);t.isValidComponentSize=e=>["","large","medium","small","mini"].includes(e),t.isValidDatePickType=e=>["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"].includes(e),t.isValidWidthUnit=e=>!!o.isNumber(e)||["px","rem","em","vw","%","vmin","vmax"].some((t=>e.endsWith(t)))},7050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363);var r;(r=t.PatchFlags||(t.PatchFlags={}))[r.TEXT=1]="TEXT",r[r.CLASS=2]="CLASS",r[r.STYLE=4]="STYLE",r[r.PROPS=8]="PROPS",r[r.FULL_PROPS=16]="FULL_PROPS",r[r.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",r[r.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",r[r.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",r[r.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",r[r.NEED_PATCH=512]="NEED_PATCH",r[r.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",r[r.HOISTED=-1]="HOISTED",r[r.BAIL=-2]="BAIL";const i=e=>e.type===o.Fragment,s=e=>e.type===o.Comment,a=e=>"template"===e.type;function l(e,t){if(!s(e))return i(e)||a(e)?t>0?c(e.children,t-1):void 0:e}const c=(e,t=3)=>Array.isArray(e)?l(e[0],t):l(e,t);function u(e,t,n,r,i){return o.openBlock(),o.createBlock(e,t,n,r,i)}t.getFirstValidNode=c,t.isComment=s,t.isFragment=i,t.isTemplate=a,t.isText=e=>e.type===o.Text,t.isValidElementNode=e=>!(i(e)||s(e)),t.renderBlock=u,t.renderIf=function(e,t,n,r,i,s){return e?u(t,n,r,i,s):o.createCommentVNode("v-if",!0)}},8552:(e,t,n)=>{var o=n(852)(n(5639),"DataView");e.exports=o},1989:(e,t,n)=>{var o=n(1789),r=n(401),i=n(7667),s=n(1327),a=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},8407:(e,t,n)=>{var o=n(7040),r=n(4125),i=n(2117),s=n(7518),a=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},7071:(e,t,n)=>{var o=n(852)(n(5639),"Map");e.exports=o},3369:(e,t,n)=>{var o=n(4785),r=n(1285),i=n(6e3),s=n(9916),a=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},3818:(e,t,n)=>{var o=n(852)(n(5639),"Promise");e.exports=o},8525:(e,t,n)=>{var o=n(852)(n(5639),"Set");e.exports=o},8668:(e,t,n)=>{var o=n(3369),r=n(619),i=n(2385);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=i,e.exports=s},6384:(e,t,n)=>{var o=n(8407),r=n(7465),i=n(3779),s=n(7599),a=n(4758),l=n(4309);function c(e){var t=this.__data__=new o(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,e.exports=c},2705:(e,t,n)=>{var o=n(5639).Symbol;e.exports=o},1149:(e,t,n)=>{var o=n(5639).Uint8Array;e.exports=o},577:(e,t,n)=>{var o=n(852)(n(5639),"WeakMap");e.exports=o},4963:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var s=e[n];t(s,n,e)&&(i[r++]=s)}return i}},4636:(e,t,n)=>{var o=n(2545),r=n(5694),i=n(1469),s=n(4144),a=n(5776),l=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),d=!n&&!u&&s(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?o(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||h.push(v);return h}},2488:e=>{e.exports=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var o=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},8866:(e,t,n)=>{var o=n(2488),r=n(1469);e.exports=function(e,t,n){var i=t(e);return r(e)?i:o(i,n(e))}},4239:(e,t,n)=>{var o=n(2705),r=n(9607),i=n(2333),s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):i(e)}},9454:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}},939:(e,t,n)=>{var o=n(2492),r=n(7005);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,s,e,a))}},2492:(e,t,n)=>{var o=n(6384),r=n(7114),i=n(8351),s=n(6096),a=n(4160),l=n(1469),c=n(4144),u=n(6719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=l(e),b=l(t),w=y?p:a(e),x=b?p:a(t),_=(w=w==d?f:w)==f,k=(x=x==d?f:x)==f,S=w==x;if(S&&c(e)){if(!c(t))return!1;y=!0,_=!1}if(S&&!_)return g||(g=new o),y||u(e)?r(e,t,n,m,v,g):i(e,t,w,n,m,v,g);if(!(1&n)){var C=_&&h.call(e,"__wrapped__"),O=k&&h.call(t,"__wrapped__");if(C||O){var T=C?e.value():e,E=O?t.value():t;return g||(g=new o),v(T,E,n,m,g)}}return!!S&&(g||(g=new o),s(e,t,n,m,v,g))}},8458:(e,t,n)=>{var o=n(3560),r=n(5346),i=n(3218),s=n(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?p:a).test(s(e))}},8749:(e,t,n)=>{var o=n(4239),r=n(1780),i=n(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!s[o(e)]}},280:(e,t,n)=>{var o=n(5726),r=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545:e=>{e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},7561:(e,t,n)=>{var o=n(7990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},1717:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4429:(e,t,n)=>{var o=n(5639)["__core-js_shared__"];e.exports=o},7114:(e,t,n)=>{var o=n(8668),r=n(2908),i=n(4757);e.exports=function(e,t,n,s,a,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new o:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var g=e[h],y=t[h];if(s)var b=c?s(y,g,h,t,e,l):s(g,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!i(v,t)&&(g===e||a(g,e,n,s,l)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!a(g,y,n,s,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8351:(e,t,n)=>{var o=n(2705),r=n(1149),i=n(7813),s=n(7114),a=n(8776),l=n(1814),c=o?o.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,o,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var h=1&o;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;o|=2,p.set(e,t);var v=s(f(e),f(t),o,c,d,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,n)=>{var o=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var l=1&n,c=o(e),u=c.length;if(u!=o(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:r.call(t,p)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=l;++d<u;){var g=e[p=c[d]],y=t[p];if(i)var b=l?i(y,g,p,t,e,a):i(g,y,p,e,t,a);if(!(void 0===b?g===y||s(g,y,n,i,a):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(e),a.delete(t),m}},1957:(e,t,n)=>{var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},8234:(e,t,n)=>{var o=n(8866),r=n(9551),i=n(3674);e.exports=function(e){return o(e,i,r)}},5050:(e,t,n)=>{var o=n(7019);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:(e,t,n)=>{var o=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},9607:(e,t,n)=>{var o=n(2705),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var o=!0}catch(e){}var r=s.call(e);return o&&(t?e[a]=n:delete e[a]),r}},9551:(e,t,n)=>{var o=n(4963),r=n(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),o(s(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},4160:(e,t,n)=>{var o=n(8552),r=n(7071),i=n(3818),s=n(8525),a=n(577),l=n(4239),c=n(346),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(o),v=c(r),g=c(i),y=c(s),b=c(a),w=l;(o&&w(new o(new ArrayBuffer(1)))!=h||r&&w(new r)!=u||i&&w(i.resolve())!=d||s&&w(new s)!=p||a&&w(new a)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?c(n):"";if(o)switch(o){case m:return h;case v:return u;case g:return d;case y:return p;case b:return f}return t}),e.exports=w},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1789:(e,t,n)=>{var o=n(4536);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var o=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var o,r=n(4429),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var o=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},2117:(e,t,n)=>{var o=n(8470);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},7518:(e,t,n)=>{var o=n(8470);e.exports=function(e){return o(this.__data__,e)>-1}},4705:(e,t,n)=>{var o=n(8470);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var o=n(1989),r=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},1285:(e,t,n)=>{var o=n(5050);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).get(e)}},9916:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).has(e)}},5265:(e,t,n)=>{var o=n(5050);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},4536:(e,t,n)=>{var o=n(852)(Object,"create");e.exports=o},6916:(e,t,n)=>{var o=n(5569)(Object.keys,Object);e.exports=o},1167:(e,t,n)=>{e=n.nmd(e);var o=n(1957),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var o=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var o=n(8407);e.exports=function(){this.__data__=new o,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var o=n(8407),r=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var o=n(3218),r=n(7771),i=n(4841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function b(e){return h=e,p=setTimeout(x,t),m?y(e):d}function w(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=u}function x(){var e=r();if(w(e))return _(e);p=setTimeout(x,function(e){var n=t-(e-f);return v?a(n,u-(e-h)):n}(e))}function _(e){return p=void 0,g&&l?y(e):(l=c=void 0,d)}function k(){var e=r(),n=w(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return b(f);if(v)return clearTimeout(p),p=setTimeout(x,t),y(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},k.flush=function(){return void 0===p?d:_(r())},k}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:(e,t,n)=>{var o=n(9454),r=n(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var o=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},4144:(e,t,n)=>{e=n.nmd(e);var o=n(5639),r=n(5062),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?o.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},8446:(e,t,n)=>{var o=n(939);e.exports=function(e,t){return o(e,t)}},3560:(e,t,n)=>{var o=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},6719:(e,t,n)=>{var o=n(8749),r=n(1717),i=n(1167),s=i&&i.isTypedArray,a=s?r(s):o;e.exports=a},3674:(e,t,n)=>{var o=n(4636),r=n(280),i=n(8612);e.exports=function(e){return i(e)?o(e):r(e)}},7771:(e,t,n)=>{var o=n(5639);e.exports=function(){return o.Date.now()}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},4841:(e,t,n)=>{var o=n(7561),r=n(3218),i=n(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},7230:()=>{},9652:(e,t,n)=>{"use strict";function o(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o&&o.push(n)||e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&o.splice(o.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map((function(e){e(n)})),(e.get("*")||[]).slice().map((function(e){e(t,n)}))}}}n.r(t),n.d(t,{default:()=>o})},2796:(e,t,n)=>{e.exports=n(643)},3264:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},4518:e=>{var t,n,o,r,i,s,a,l,c,u,d,p,f,h,m,v=!1;function g(){if(!v){v=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),g){(t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:t,n=g[2]?parseFloat(g[2]):NaN,o=g[3]?parseFloat(g[3]):NaN,(r=g[4]?parseFloat(g[4]):NaN)?(g=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=g&&g[1]?parseFloat(g[1]):NaN):i=NaN}else t=n=o=i=r=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!w||parseFloat(w[1].replace("_","."))}else a=!1;l=!!y[2],c=!!y[3]}else a=l=c=!1}}var y={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||s>t},ie64:function(){return y.ie()&&d},firefox:function(){return g()||n},opera:function(){return g()||o},webkit:function(){return g()||r},safari:function(){return y.webkit()},chrome:function(){return g()||i},windows:function(){return g()||l},osx:function(){return g()||a},linux:function(){return g()||c},iphone:function(){return g()||p},mobile:function(){return g()||p||f||u||m},nativeApp:function(){return g()||h},android:function(){return g()||u},ipad:function(){return g()||f}};e.exports=y},6534:(e,t,n)=>{"use strict";var o,r=n(3264);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"==typeof s[n]}return!i&&o&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},643:(e,t,n)=>{"use strict";var o=n(4518),r=n(6534);function i(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}i.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=i},1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){s(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=d(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=f(i)}return t}(o),i=r.left+r.right,s=r.top+r.bottom,a=f(o.width),l=f(o.height);if("border-box"===o.boxSizing&&(Math.round(a+i)!==t&&(a-=h(o,"left","right")+i),Math.round(l+s)!==n&&(l-=h(o,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return y(r.left,r.top,a,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):p}function y(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,o,r,i,s,a,l,c=(o=(n=t).x,r=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:o,y:r,width:i,height:s,top:r,right:o+i,bottom:s+r,left:o}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new o,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new x(t,n,this);_.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:k},6770:()=>{!function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;a=e.target,s=Date.now(),n=e.touches[0].clientX,o=e.touches[0].clientY,r=0,i=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!o)return;var t=e.touches[0].clientX,s=e.touches[0].clientY;r=n-t,i=o-s}),!1),t.addEventListener("touchend",(function(e){if(a!==e.target)return;var t=parseInt(l(a,"data-swipe-threshold","20"),10),c=parseInt(l(a,"data-swipe-timeout","500"),10),u=Date.now()-s,d="",p=e.changedTouches||e.touches||[];Math.abs(r)>Math.abs(i)?Math.abs(r)>t&&u<c&&(d=r>0?"swiped-left":"swiped-right"):Math.abs(i)>t&&u<c&&(d=i>0?"swiped-up":"swiped-down");if(""!==d){var f={dir:d.replace(/swiped-/,""),xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(o,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};a.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:f})),a.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0,detail:f}))}n=null,o=null,s=null}),!1);var n=null,o=null,r=null,i=null,s=null,a=null;function l(e,n,o){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return o}}(window,document)},5460:e=>{e.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleUpperCase()},a:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleLowerCase()},"!":{escape:!0}}},7363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>zt,Comment:()=>ko,Fragment:()=>xo,KeepAlive:()=>tn,Static:()=>So,Suspense:()=>Tt,Teleport:()=>fo,Text:()=>_o,Transition:()=>ri,TransitionGroup:()=>_i,callWithAsyncErrorHandling:()=>Ie,callWithErrorHandling:()=>De,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>$o,compatUtils:()=>Nr,compile:()=>xc,computed:()=>_r,createApp:()=>Xi,createBlock:()=>Vo,createCommentVNode:()=>Ho,createHydrationRenderer:()=>ro,createRenderer:()=>oo,createSSRApp:()=>es,createSlots:()=>Jo,createStaticVNode:()=>zo,createTextVNode:()=>Ro,createVNode:()=>Io,customRef:()=>Be,defineAsyncComponent:()=>Zt,defineComponent:()=>Jt,defineEmit:()=>Sr,defineProps:()=>kr,devtools:()=>ct,getCurrentInstance:()=>ar,getTransitionRawChildren:()=>Yt,h:()=>Or,handleError:()=>je,hydrate:()=>Zi,initCustomFormatter:()=>Br,inject:()=>Nt,isProxy:()=>me,isReactive:()=>fe,isReadonly:()=>he,isRef:()=>be,isRuntimeOnly:()=>fr,isVNode:()=>No,markRaw:()=>ge,mergeProps:()=>Qo,nextTick:()=>et,onActivated:()=>on,onBeforeMount:()=>pn,onBeforeUnmount:()=>vn,onBeforeUpdate:()=>hn,onDeactivated:()=>rn,onErrorCaptured:()=>xn,onMounted:()=>fn,onRenderTracked:()=>wn,onRenderTriggered:()=>bn,onServerPrefetch:()=>yn,onUnmounted:()=>gn,onUpdated:()=>mn,openBlock:()=>To,popScopeId:()=>yt,provide:()=>Vt,proxyRefs:()=>Te,pushScopeId:()=>gt,queuePostFlushCb:()=>rt,reactive:()=>le,readonly:()=>ue,ref:()=>we,registerRuntimeCompiler:()=>hr,render:()=>Gi,renderList:()=>Yo,renderSlot:()=>Go,resolveComponent:()=>mo,resolveDirective:()=>yo,resolveDynamicComponent:()=>go,resolveFilter:()=>Vr,resolveTransitionHooks:()=>Ut,setBlockTracking:()=>Ao,setDevtoolsHook:()=>ut,setTransitionHooks:()=>Qt,shallowReactive:()=>ce,shallowReadonly:()=>de,shallowRef:()=>xe,ssrContextKey:()=>Tr,ssrUtils:()=>Ar,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>Xo,toRaw:()=>ve,toRef:()=>Ve,toRefs:()=>Me,transformVNodeArgs:()=>Fo,triggerRef:()=>Se,unref:()=>Ce,useContext:()=>Cr,useCssModule:()=>Xr,useCssVars:()=>ei,useSSRContext:()=>Er,useTransitionState:()=>$t,vModelCheckbox:()=>Mi,vModelDynamic:()=>Li,vModelRadio:()=>Vi,vModelSelect:()=>Ni,vModelText:()=>Bi,vShow:()=>Hi,version:()=>Mr,warn:()=>Fe,watch:()=>Pt,watchEffect:()=>qt,withCtx:()=>wt,withDirectives:()=>Un,withKeys:()=>zi,withModifiers:()=>$i,withScopeId:()=>bt});var o={};n.r(o),n.d(o,{BaseTransition:()=>zt,Comment:()=>ko,Fragment:()=>xo,KeepAlive:()=>tn,Static:()=>So,Suspense:()=>Tt,Teleport:()=>fo,Text:()=>_o,Transition:()=>ri,TransitionGroup:()=>_i,callWithAsyncErrorHandling:()=>Ie,callWithErrorHandling:()=>De,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>$o,compatUtils:()=>Nr,computed:()=>_r,createApp:()=>Xi,createBlock:()=>Vo,createCommentVNode:()=>Ho,createHydrationRenderer:()=>ro,createRenderer:()=>oo,createSSRApp:()=>es,createSlots:()=>Jo,createStaticVNode:()=>zo,createTextVNode:()=>Ro,createVNode:()=>Io,customRef:()=>Be,defineAsyncComponent:()=>Zt,defineComponent:()=>Jt,defineEmit:()=>Sr,defineProps:()=>kr,devtools:()=>ct,getCurrentInstance:()=>ar,getTransitionRawChildren:()=>Yt,h:()=>Or,handleError:()=>je,hydrate:()=>Zi,initCustomFormatter:()=>Br,inject:()=>Nt,isProxy:()=>me,isReactive:()=>fe,isReadonly:()=>he,isRef:()=>be,isRuntimeOnly:()=>fr,isVNode:()=>No,markRaw:()=>ge,mergeProps:()=>Qo,nextTick:()=>et,onActivated:()=>on,onBeforeMount:()=>pn,onBeforeUnmount:()=>vn,onBeforeUpdate:()=>hn,onDeactivated:()=>rn,onErrorCaptured:()=>xn,onMounted:()=>fn,onRenderTracked:()=>wn,onRenderTriggered:()=>bn,onServerPrefetch:()=>yn,onUnmounted:()=>gn,onUpdated:()=>mn,openBlock:()=>To,popScopeId:()=>yt,provide:()=>Vt,proxyRefs:()=>Te,pushScopeId:()=>gt,queuePostFlushCb:()=>rt,reactive:()=>le,readonly:()=>ue,ref:()=>we,registerRuntimeCompiler:()=>hr,render:()=>Gi,renderList:()=>Yo,renderSlot:()=>Go,resolveComponent:()=>mo,resolveDirective:()=>yo,resolveDynamicComponent:()=>go,resolveFilter:()=>Vr,resolveTransitionHooks:()=>Ut,setBlockTracking:()=>Ao,setDevtoolsHook:()=>ut,setTransitionHooks:()=>Qt,shallowReactive:()=>ce,shallowReadonly:()=>de,shallowRef:()=>xe,ssrContextKey:()=>Tr,ssrUtils:()=>Ar,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>Xo,toRaw:()=>ve,toRef:()=>Ve,toRefs:()=>Me,transformVNodeArgs:()=>Fo,triggerRef:()=>Se,unref:()=>Ce,useContext:()=>Cr,useCssModule:()=>Xr,useCssVars:()=>ei,useSSRContext:()=>Er,useTransitionState:()=>$t,vModelCheckbox:()=>Mi,vModelDynamic:()=>Li,vModelRadio:()=>Vi,vModelSelect:()=>Ni,vModelText:()=>Bi,vShow:()=>Hi,version:()=>Mr,warn:()=>Fe,watch:()=>Pt,watchEffect:()=>qt,withCtx:()=>wt,withDirectives:()=>Un,withKeys:()=>zi,withModifiers:()=>$i,withScopeId:()=>bt});var r=n(3577);const i=new WeakMap,s=[];let a;const l=Symbol(""),c=Symbol("");function u(e,t=r.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return e();if(!s.includes(n)){f(n);try{return m.push(h),h=!0,s.push(n),a=n,e()}finally{s.pop(),g(),a=s[s.length-1]}}};return n.id=p++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function d(e){e.active&&(f(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let p=0;function f(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let h=!0;const m=[];function v(){m.push(h),h=!1}function g(){const e=m.pop();h=void 0===e||e}function y(e,t,n){if(!h||void 0===a)return;let o=i.get(e);o||i.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(a)||(r.add(a),a.deps.push(r))}function b(e,t,n,o,s,u){const d=i.get(e);if(!d)return;const p=new Set,f=e=>{e&&e.forEach((e=>{(e!==a||e.allowRecurse)&&p.add(e)}))};if("clear"===t)d.forEach(f);else if("length"===n&&(0,r.isArray)(e))d.forEach(((e,t)=>{("length"===t||t>=o)&&f(e)}));else switch(void 0!==n&&f(d.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&f(d.get("length")):(f(d.get(l)),(0,r.isMap)(e)&&f(d.get(c)));break;case"delete":(0,r.isArray)(e)||(f(d.get(l)),(0,r.isMap)(e)&&f(d.get(c)));break;case"set":(0,r.isMap)(e)&&f(d.get(l))}p.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const w=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),x=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(r.isSymbol)),_=T(),k=T(!1,!0),S=T(!0),C=T(!0,!0),O={};function T(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&i===(e?t?ae:se:t?ie:re).get(n))return n;const s=(0,r.isArray)(n);if(!e&&s&&(0,r.hasOwn)(O,o))return Reflect.get(O,o,i);const a=Reflect.get(n,o,i);if((0,r.isSymbol)(o)?x.has(o):w(o))return a;if(e||y(n,0,o),t)return a;if(be(a)){return!s||!(0,r.isIntegerKey)(o)?a.value:a}return(0,r.isObject)(a)?e?ue(a):le(a):a}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){const n=ve(this);for(let e=0,t=this.length;e<t;e++)y(n,0,e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(ve)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){v();const n=t.apply(this,e);return g(),n}}));const E=M(),B=M(!0);function M(e=!1){return function(t,n,o,i){let s=t[n];if(!e&&(o=ve(o),s=ve(s),!(0,r.isArray)(t)&&be(s)&&!be(o)))return s.value=o,!0;const a=(0,r.isArray)(t)&&(0,r.isIntegerKey)(n)?Number(n)<t.length:(0,r.hasOwn)(t,n),l=Reflect.set(t,n,o,i);return t===ve(i)&&(a?(0,r.hasChanged)(o,s)&&b(t,"set",n,o):b(t,"add",n,o)),l}}const A={get:_,set:E,deleteProperty:function(e,t){const n=(0,r.hasOwn)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&b(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&x.has(t)||y(e,0,t),n},ownKeys:function(e){return y(e,0,(0,r.isArray)(e)?"length":l),Reflect.ownKeys(e)}},V={get:S,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},N=(0,r.extend)({},A,{get:k,set:B}),q=(0,r.extend)({},V,{get:C}),F=e=>(0,r.isObject)(e)?le(e):e,P=e=>(0,r.isObject)(e)?ue(e):e,L=e=>e,D=e=>Reflect.getPrototypeOf(e);function I(e,t,n=!1,o=!1){const r=ve(e=e.__v_raw),i=ve(t);t!==i&&!n&&y(r,0,t),!n&&y(r,0,i);const{has:s}=D(r),a=o?L:n?P:F;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function j(e,t=!1){const n=this.__v_raw,o=ve(n),r=ve(e);return e!==r&&!t&&y(o,0,e),!t&&y(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function $(e,t=!1){return e=e.__v_raw,!t&&y(ve(e),0,l),Reflect.get(e,"size",e)}function R(e){e=ve(e);const t=ve(this);return D(t).has.call(t,e)||(t.add(e),b(t,"add",e,e)),this}function z(e,t){t=ve(t);const n=ve(this),{has:o,get:i}=D(n);let s=o.call(n,e);s||(e=ve(e),s=o.call(n,e));const a=i.call(n,e);return n.set(e,t),s?(0,r.hasChanged)(t,a)&&b(n,"set",e,t):b(n,"add",e,t),this}function H(e){const t=ve(this),{has:n,get:o}=D(t);let r=n.call(t,e);r||(e=ve(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&b(t,"delete",e,void 0),i}function U(){const e=ve(this),t=0!==e.size,n=e.clear();return t&&b(e,"clear",void 0,void 0),n}function K(e,t){return function(n,o){const r=this,i=r.__v_raw,s=ve(i),a=t?L:e?P:F;return!e&&y(s,0,l),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function W(e,t,n){return function(...o){const i=this.__v_raw,s=ve(i),a=(0,r.isMap)(s),u="entries"===e||e===Symbol.iterator&&a,d="keys"===e&&a,p=i[e](...o),f=n?L:t?P:F;return!t&&y(s,0,d?c:l),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:u?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function Q(e){return function(...t){return"delete"!==e&&this}}const Y={get(e){return I(this,e)},get size(){return $(this)},has:j,add:R,set:z,delete:H,clear:U,forEach:K(!1,!1)},J={get(e){return I(this,e,!1,!0)},get size(){return $(this)},has:j,add:R,set:z,delete:H,clear:U,forEach:K(!1,!0)},G={get(e){return I(this,e,!0)},get size(){return $(this,!0)},has(e){return j.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:K(!0,!1)},Z={get(e){return I(this,e,!0,!0)},get size(){return $(this,!0)},has(e){return j.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:K(!0,!0)};function X(e,t){const n=t?e?Z:J:e?G:Y;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.hasOwn)(n,o)&&o in t?n:t,o,i)}["keys","values","entries",Symbol.iterator].forEach((e=>{Y[e]=W(e,!1,!1),G[e]=W(e,!0,!1),J[e]=W(e,!1,!0),Z[e]=W(e,!0,!0)}));const ee={get:X(!1,!1)},te={get:X(!1,!0)},ne={get:X(!0,!1)},oe={get:X(!0,!0)};const re=new WeakMap,ie=new WeakMap,se=new WeakMap,ae=new WeakMap;function le(e){return e&&e.__v_isReadonly?e:pe(e,!1,A,ee,re)}function ce(e){return pe(e,!1,N,te,ie)}function ue(e){return pe(e,!0,V,ne,se)}function de(e){return pe(e,!0,q,oe,ae)}function pe(e,t,n,o,i){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?o:n);return i.set(e,c),c}function fe(e){return he(e)?fe(e.__v_raw):!(!e||!e.__v_isReactive)}function he(e){return!(!e||!e.__v_isReadonly)}function me(e){return fe(e)||he(e)}function ve(e){return e&&ve(e.__v_raw)||e}function ge(e){return(0,r.def)(e,"__v_skip",!0),e}const ye=e=>(0,r.isObject)(e)?le(e):e;function be(e){return Boolean(e&&!0===e.__v_isRef)}function we(e){return ke(e)}function xe(e){return ke(e,!0)}class _e{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:ye(e)}get value(){return y(ve(this),0,"value"),this._value}set value(e){(0,r.hasChanged)(ve(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:ye(e),b(ve(this),"set","value",e))}}function ke(e,t=!1){return be(e)?e:new _e(e,t)}function Se(e){b(ve(e),"set","value",void 0)}function Ce(e){return be(e)?e.value:e}const Oe={get:(e,t,n)=>Ce(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return be(r)&&!be(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Te(e){return fe(e)?e:new Proxy(e,Oe)}class Ee{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>y(this,0,"value")),(()=>b(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Be(e){return new Ee(e)}function Me(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ve(e,n);return t}class Ae{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function Ve(e,t){return be(e[t])?e[t]:new Ae(e,t)}class Ne{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=u(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,b(ve(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=ve(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),y(e,0,"value"),e._value}set value(e){this._setter(e)}}const qe=[];function Fe(e,...t){v();const n=qe.length?qe[qe.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=qe[qe.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)De(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${wr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${wr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...Pe(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}g()}function Pe(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Le(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Le(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:be(t)?(t=Le(e,ve(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ve(t),n?t:[`${e}=`,t])}function De(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){je(e,t,n)}return r}function Ie(e,t,n,o){if((0,r.isFunction)(e)){const i=De(e,t,n,o);return i&&(0,r.isPromise)(i)&&i.catch((e=>{je(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(Ie(e[r],t,n,o));return i}function je(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void De(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let $e=!1,Re=!1;const ze=[];let He=0;const Ue=[];let Ke=null,We=0;const Qe=[];let Ye=null,Je=0;const Ge=Promise.resolve();let Ze=null,Xe=null;function et(e){const t=Ze||Ge;return e?t.then(this?e.bind(this):e):t}function tt(e){if(!(ze.length&&ze.includes(e,$e&&e.allowRecurse?He+1:He)||e===Xe)){const t=function(e){let t=He+1,n=ze.length;const o=at(e);for(;t<n;){const e=t+n>>>1;at(ze[e])<o?t=e+1:n=e}return t}(e);t>-1?ze.splice(t,0,e):ze.push(e),nt()}}function nt(){$e||Re||(Re=!0,Ze=Ge.then(lt))}function ot(e,t,n,o){(0,r.isArray)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),nt()}function rt(e){ot(e,Ye,Qe,Je)}function it(e,t=null){if(Ue.length){for(Xe=t,Ke=[...new Set(Ue)],Ue.length=0,We=0;We<Ke.length;We++)Ke[We]();Ke=null,We=0,Xe=null,it(e,t)}}function st(e){if(Qe.length){const e=[...new Set(Qe)];if(Qe.length=0,Ye)return void Ye.push(...e);for(Ye=e,Ye.sort(((e,t)=>at(e)-at(t))),Je=0;Je<Ye.length;Je++)Ye[Je]();Ye=null,Je=0}}const at=e=>null==e.id?1/0:e.id;function lt(e){Re=!1,$e=!0,it(e),ze.sort(((e,t)=>at(e)-at(t)));try{for(He=0;He<ze.length;He++){const e=ze[He];e&&!1!==e.active&&De(e,null,14)}}finally{He=0,ze.length=0,st(),$e=!1,Ze=null,(ze.length||Ue.length||Qe.length)&&lt(e)}}new Set;new Map;let ct;function ut(e){ct=e}Object.create(null),Object.create(null);function dt(e,t,...n){const o=e.vnode.props||r.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=o[e]||r.EMPTY_OBJ;s?i=n.map((e=>e.trim())):t&&(i=n.map(r.toNumber))}let l;let c=o[l=(0,r.toHandlerKey)(t)]||o[l=(0,r.toHandlerKey)((0,r.camelize)(t))];!c&&s&&(c=o[l=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),c&&Ie(c,e,6,i);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ie(u,e,6,i)}}function pt(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const s=e.emits;let a={},l=!1;if(!(0,r.isFunction)(e)){const o=e=>{const n=pt(e,t,!0);n&&(l=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?((0,r.isArray)(s)?s.forEach((e=>a[e]=null)):(0,r.extend)(a,s),o.set(e,a),a):(o.set(e,null),null)}function ft(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let ht=null,mt=null;function vt(e){const t=ht;return ht=e,mt=e&&e.type.__scopeId||null,t}function gt(e){mt=e}function yt(){mt=null}const bt=e=>wt;function wt(e,t=ht,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ao(-1);const r=vt(t),i=e(...n);return vt(r),o._d&&Ao(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function xt(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let g;const y=vt(e);try{let e;if(4&n.shapeFlag){const t=i||o;g=Uo(d.call(t,t,p,s,h,f,m)),e=c}else{const n=t;0,g=Uo(n.length>1?n(s,{attrs:c,slots:l,emit:u}):n(s,null)),e=t.props?c:kt(c)}let y=g;if(e&&!1!==v){const t=Object.keys(e),{shapeFlag:n}=y;t.length&&(1&n||6&n)&&(a&&t.some(r.isModelListener)&&(e=St(e,a)),y=$o(y,e))}0,n.dirs&&(y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),g=y}catch(t){Co.length=0,je(t,e,1),g=Io(ko)}return vt(y),g}function _t(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!No(o))return;if(o.type!==ko||"v-if"===o.children){if(t)return;t=o}}return t}const kt=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},St=(e,t)=>{const n={};for(const o in e)(0,r.isModelListener)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Ct(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!ft(n,i))return!0}return!1}function Ot({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Tt={name:"Suspense",__isSuspense:!0,process(e,t,n,o,i,s,a,l,c,u){null==e?function(e,t,n,o,r,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=Et(e,r,o,t,d,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,d,null,o,p,i,s),p.deps>0?(c(null,e.ssFallback,t,n,o,null,i,s),At(p,e.ssFallback)):p.resolve()}(t,n,o,i,s,a,l,c,u):function(e,t,n,o,i,s,a,l,{p:c,um:u,o:{createElement:d}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:v,isInFallback:g,isHydrating:y}=p;if(v)p.pendingBranch=f,qo(f,v)?(c(v,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():g&&(c(m,h,n,o,i,null,s,a,l),At(p,h))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=v):u(v,i,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),g?(c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():(c(m,h,n,o,i,null,s,a,l),At(p,h))):m&&qo(f,m)?(c(m,f,n,o,i,p,s,a,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0&&p.resolve()));else if(m&&qo(f,m))c(m,f,n,o,i,p,s,a,l),At(p,f);else{const e=t.props&&t.props.onPending;if((0,r.isFunction)(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(h)}),e):0===e&&p.fallback(h)}}}(e,t,n,o,i,a,l,c,u)},hydrate:function(e,t,n,o,r,i,s,a,l){const c=t.suspense=Et(t,o,n,e.parentNode,document.createElement("div"),null,r,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&&c.resolve();return u},create:Et,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Bt(o?n.default:n),e.ssFallback=o?Bt(n.fallback):Io(Comment)}};function Et(e,t,n,o,i,s,a,l,c,u,d=!1){const{p,m:f,um:h,n:m,o:{parentNode:v,remove:g}}=u,y=(0,r.toNumber)(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:i,effects:s,parentComponent:a,container:l}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{i===b.pendingId&&f(o,l,t,0)});let{anchor:t}=b;n&&(t=m(n),h(n,a,b,!0)),e||f(o,l,t,0)}At(b,o),b.pendingBranch=null,b.isInFallback=!1;let c=b.parent,u=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),u=!0;break}c=c.parent}u||rt(s),b.effects=[];const d=t.props&&t.props.onResolve;(0,r.isFunction)(d)&&d()},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:i,isSVG:s}=b,a=t.props&&t.props.onFallback;(0,r.isFunction)(a)&&a();const u=m(n),d=()=>{b.isInFallback&&(p(null,e,i,u,o,null,s,l,c),At(b,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=d),h(n,o,null,!0),b.isInFallback=!0,f||d()},move(e,t,n){b.activeBranch&&f(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&m(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{je(t,e,0)})).then((r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;pr(e,r,!1),o&&(i.el=o);const s=!o&&e.subTree.el;t(e,i,v(o||e.subTree.el),o?null:m(e.subTree),b,a,c),s&&g(s),Ot(e,i.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Bt(e){let t;if((0,r.isFunction)(e)){const n=e._c;n&&(e._d=!1,To()),e=e(),n&&(e._d=!0,t=Oo,Eo())}if((0,r.isArray)(e)){const t=_t(e);0,e=t}return e=Uo(e),t&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Mt(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):rt(e)}function At(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Ot(o,r))}function Vt(e,t){if(sr){let n=sr.provides;const o=sr.parent&&sr.parent.provides;o===n&&(n=sr.provides=Object.create(o)),n[e]=t}else 0}function Nt(e,t,n=!1){const o=sr||ht;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t():t}else 0}function qt(e,t){return Lt(e,null,t)}const Ft={};function Pt(e,t,n){return Lt(e,t,n)}function Lt(e,t,{immediate:n,deep:o,flush:i,onTrack:s,onTrigger:a}=r.EMPTY_OBJ,l=sr){let c,p,f=!1,h=!1;if(be(e)?(c=()=>e.value,f=!!e._shallow):fe(e)?(c=()=>e,o=!0):(0,r.isArray)(e)?(h=!0,f=e.some(fe),c=()=>e.map((e=>be(e)?e.value:fe(e)?jt(e):(0,r.isFunction)(e)?De(e,l,2):void 0))):c=(0,r.isFunction)(e)?t?()=>De(e,l,2):()=>{if(!l||!l.isUnmounted)return p&&p(),Ie(e,l,3,[m])}:r.NOOP,t&&o){const e=c;c=()=>jt(e())}let m=e=>{p=b.options.onStop=()=>{De(e,l,4)}},v=h?[]:Ft;const g=()=>{if(b.active)if(t){const e=b();(o||f||(h?e.some(((e,t)=>(0,r.hasChanged)(e,v[t]))):(0,r.hasChanged)(e,v)))&&(p&&p(),Ie(t,l,3,[e,v===Ft?void 0:v,m]),v=e)}else b()};let y;g.allowRecurse=!!t,y="sync"===i?g:"post"===i?()=>to(g,l&&l.suspense):()=>{!l||l.isMounted?function(e){ot(e,Ke,Ue,We)}(g):g()};const b=u(c,{lazy:!0,onTrack:s,onTrigger:a,scheduler:y});return gr(b,l),t?n?g():v=b():"post"===i?to(b,l&&l.suspense):b(),()=>{d(b),l&&(0,r.remove)(l.effects,b)}}function Dt(e,t,n){const o=this.proxy,i=(0,r.isString)(e)?e.includes(".")?It(o,e):()=>o[e]:e.bind(o,o);let s;return(0,r.isFunction)(t)?s=t:(s=t.handler,n=t),Lt(i,s.bind(o),n,this)}function It(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function jt(e,t=new Set){if(!(0,r.isObject)(e)||t.has(e)||e.__v_skip)return e;if(t.add(e),be(e))jt(e.value,t);else if((0,r.isArray)(e))for(let n=0;n<e.length;n++)jt(e[n],t);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{jt(e,t)}));else if((0,r.isPlainObject)(e))for(const n in e)jt(e[n],t);return e}function $t(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fn((()=>{e.isMounted=!0})),vn((()=>{e.isUnmounting=!0})),e}const Rt=[Function,Array],zt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rt,onEnter:Rt,onAfterEnter:Rt,onEnterCancelled:Rt,onBeforeLeave:Rt,onLeave:Rt,onAfterLeave:Rt,onLeaveCancelled:Rt,onBeforeAppear:Rt,onAppear:Rt,onAfterAppear:Rt,onAppearCancelled:Rt},setup(e,{slots:t}){const n=ar(),o=$t();let r;return()=>{const i=t.default&&Yt(t.default(),!0);if(!i||!i.length)return;const s=ve(e),{mode:a}=s;const l=i[0];if(o.isLeaving)return Kt(l);const c=Wt(l);if(!c)return Kt(l);const u=Ut(c,s,o,n);Qt(c,u);const d=n.subTree,p=d&&Wt(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==ko&&(!qo(c,p)||f)){const e=Ut(p,s,o,n);if(Qt(p,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Kt(l);"in-out"===a&&c.type!==ko&&(e.delayLeave=(e,t,n)=>{Ht(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}};function Ht(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ut(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,b=String(e.key),w=Ht(n,e),x=(e,t)=>{e&&Ie(e,o,9,t)},_={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t._leaveCb&&t._leaveCb(!0);const i=w[b];i&&qo(e,i)&&i.el._leaveCb&&i.el._leaveCb(),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=g||c,i=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,x(t?i:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,a),t.length<=1&&a()):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),x(n?h:f,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,p?(p(t,s),p.length<=1&&s()):s()},clone:e=>Ut(e,t,n,o)};return _}function Kt(e){if(en(e))return(e=$o(e)).children=null,e}function Wt(e){return en(e)?e.children?e.children[0]:void 0:e}function Qt(e,t){6&e.shapeFlag&&e.component?Qt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yt(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const i=e[r];i.type===xo?(128&i.patchFlag&&o++,n=n.concat(Yt(i.children,t))):(t||i.type!==ko)&&n.push(i)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Jt(e){return(0,r.isFunction)(e)?{setup:e,name:e.name}:e}const Gt=e=>!!e.type.__asyncLoader;function Zt(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return Jt({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=sr;if(c)return()=>Xt(c,e);const t=t=>{u=null,je(t,e,13,!o)};if(a&&e.suspense)return p().then((t=>()=>Xt(t,e))).catch((e=>(t(e),()=>o?Io(o,{error:e}):null)));const r=we(!1),l=we(),d=we(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),p().then((()=>{r.value=!0,e.parent&&en(e.parent.vnode)&&tt(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>r.value&&c?Xt(c,e):l.value&&o?Io(o,{error:l.value}):n&&!d.value?Io(n):void 0}})}function Xt(e,{vnode:{ref:t,props:n,children:o}}){const r=Io(e,n,o);return r.ref=t,r}const en=e=>e.type.__isKeepAlive,tn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),o=n.ctx;if(!o.renderer)return t.default;const i=new Map,s=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=o,f=p("div");function h(e){ln(e),d(e,n,l)}function m(e){i.forEach(((t,n)=>{const o=br(t.type);!o||e&&e(o)||v(n)}))}function v(e){const t=i.get(e);a&&t.type===a.type?a&&ln(a):h(t),i.delete(e),s.delete(e)}o.activate=(e,t,n,o,i)=>{const s=e.component;u(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,i),to((()=>{s.isDeactivated=!1,s.a&&(0,r.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&so(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;u(e,f,null,1,l),to((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&so(n,t.parent,e),t.isDeactivated=!0}),l)},Pt((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>nn(e,t))),t&&m((e=>!nn(t,e)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&i.set(g,cn(n.subTree))};return fn(y),mn(y),vn((()=>{i.forEach((e=>{const{subTree:t,suspense:o}=n,r=cn(t);if(e.type!==r.type)h(e);else{ln(r);const e=r.component.da;e&&to(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!(No(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return a=null,o;let r=cn(o);const l=r.type,c=br(Gt(r)?r.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&&(!c||!nn(u,c))||d&&c&&nn(d,c))return a=r,o;const f=null==r.key?l:r.key,h=i.get(f);return r.el&&(r=$o(r),128&o.shapeFlag&&(o.ssContent=r)),g=f,h?(r.el=h.el,r.component=h.component,r.transition&&Qt(r,r.transition),r.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),r.shapeFlag|=256,a=r,o}}};function nn(e,t){return(0,r.isArray)(e)?e.some((e=>nn(e,t))):(0,r.isString)(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function on(e,t){sn(e,"a",t)}function rn(e,t){sn(e,"da",t)}function sn(e,t,n=sr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(un(t,o,n),n){let e=n.parent;for(;e&&e.parent;)en(e.parent.vnode)&&an(o,t,n,e),e=e.parent}}function an(e,t,n,o){const i=un(t,e,o,!0);gn((()=>{(0,r.remove)(o[t],i)}),n)}function ln(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function cn(e){return 128&e.shapeFlag?e.ssContent:e}function un(e,t,n=sr,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;v(),lr(n);const r=Ie(t,n,e,o);return lr(null),g(),r});return o?r.unshift(i):r.push(i),i}}const dn=e=>(t,n=sr)=>(!dr||"sp"===e)&&un(e,t,n),pn=dn("bm"),fn=dn("m"),hn=dn("bu"),mn=dn("u"),vn=dn("bum"),gn=dn("um"),yn=dn("sp"),bn=dn("rtg"),wn=dn("rtc");function xn(e,t=sr){un("ec",e,t)}let _n=!0;function kn(e){const t=On(e),n=e.proxy,o=e.ctx;_n=!1,t.beforeCreate&&Sn(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:w,unmounted:x,render:_,renderTracked:k,renderTriggered:S,errorCaptured:C,serverPrefetch:O,expose:T,inheritAttrs:E,components:B,directives:M,filters:A}=t;if(u&&function(e,t,n=r.NOOP){(0,r.isArray)(e)&&(e=Mn(e));for(const n in e){const o=e[n];(0,r.isObject)(o)?t[n]="default"in o?Nt(o.from||n,o.default,!0):Nt(o.from||n):t[n]=Nt(o)}}(u,o,null),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(o[e]=t.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.isObject)(t)&&(e.data=le(t))}if(_n=!0,s)for(const e in s){const t=s[e];0;const i=_r({get:(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP,set:!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const e in l)Cn(l[e],o,n,e);if(c){const e=(0,r.isFunction)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Vt(t,e[t])}))}function V(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Sn(d,e,"c"),V(pn,p),V(fn,f),V(hn,h),V(mn,m),V(on,v),V(rn,g),V(xn,C),V(wn,k),V(bn,S),V(vn,b),V(gn,x),V(yn,O),(0,r.isArray)(T))if(T.length){const t=e.exposed||(e.exposed=Te({}));T.forEach((e=>{t[e]=Ve(n,e)}))}else e.exposed||(e.exposed=r.EMPTY_OBJ);_&&e.render===r.NOOP&&(e.render=_),null!=E&&(e.inheritAttrs=E),B&&(e.components=B),M&&(e.directives=M)}function Sn(e,t,n){Ie((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Cn(e,t,n,o){const i=o.includes(".")?It(n,o):()=>n[o];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&Pt(i,n)}else if((0,r.isFunction)(e))Pt(i,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>Cn(e,t,n,o)));else{const o=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(o)&&Pt(i,o,e)}else 0}function On(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>Tn(l,e,s,!0))),Tn(l,t,s)):l=t,i.set(t,l),l}function Tn(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Tn(e,i,n,!0),r&&r.forEach((t=>Tn(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=En[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const En={data:Bn,props:Vn,emits:Vn,methods:Vn,computed:Vn,beforeCreate:An,created:An,beforeMount:An,mounted:An,beforeUpdate:An,updated:An,beforeDestroy:An,destroyed:An,activated:An,deactivated:An,errorCaptured:An,serverPrefetch:An,components:Vn,directives:Vn,watch:Vn,provide:Bn,inject:function(e,t){return Vn(Mn(e),Mn(t))}};function Bn(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function Mn(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function An(e,t){return e?[...new Set([].concat(e,t))]:t}function Vn(e,t){return e?(0,r.extend)((0,r.extend)(Object.create(null),e),t):t}function Nn(e,t,n,o){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let c in t){if((0,r.isReservedProp)(c))continue;const u=t[c];let d;i&&(0,r.hasOwn)(i,d=(0,r.camelize)(c))?s&&s.includes(d)?(a||(a={}))[d]=u:n[d]=u:ft(e.emitsOptions,c)||u!==o[c]&&(o[c]=u,l=!0)}if(s){const t=ve(n),o=a||r.EMPTY_OBJ;for(let a=0;a<s.length;a++){const l=s[a];n[l]=qn(i,t,l,o[l],e,!(0,r.hasOwn)(o,l))}}return l}function qn(e,t,n,o,i,s){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&(0,r.isFunction)(e)){const{propsDefaults:r}=i;n in r?o=r[n]:(lr(i),o=r[n]=e.call(null,t),lr(null))}else o=e}a[0]&&(s&&!e?o=!1:!a[1]||""!==o&&o!==(0,r.hyphenate)(n)||(o=!0))}return o}function Fn(e,t,n=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const s=e.props,a={},l=[];let c=!1;if(!(0,r.isFunction)(e)){const o=e=>{c=!0;const[n,o]=Fn(e,t,!0);(0,r.extend)(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return o.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(s))for(let e=0;e<s.length;e++){0;const t=(0,r.camelize)(s[e]);Pn(t)&&(a[t]=r.EMPTY_OBJ)}else if(s){0;for(const e in s){const t=(0,r.camelize)(e);if(Pn(t)){const n=s[e],o=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:n;if(o){const e=In(Boolean,o.type),n=In(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(o,"default"))&&l.push(t)}}}}const u=[a,l];return o.set(e,u),u}function Pn(e){return"$"!==e[0]}function Ln(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Dn(e,t){return Ln(e)===Ln(t)}function In(e,t){return(0,r.isArray)(t)?t.findIndex((t=>Dn(t,e))):(0,r.isFunction)(t)&&Dn(t,e)?0:-1}const jn=e=>"_"===e[0]||"$stable"===e,$n=e=>(0,r.isArray)(e)?e.map(Uo):[Uo(e)],Rn=(e,t,n)=>{const o=wt((e=>$n(t(e))),n);return o._c=!1,o},zn=(e,t,n)=>{const o=e._ctx;for(const n in e){if(jn(n))continue;const i=e[n];if((0,r.isFunction)(i))t[n]=Rn(0,i,o);else if(null!=i){0;const e=$n(i);t[n]=()=>e}}},Hn=(e,t)=>{const n=$n(t);e.slots.default=()=>n};function Un(e,t){if(null===ht)return e;const n=ht.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,s,a,l=r.EMPTY_OBJ]=t[e];(0,r.isFunction)(i)&&(i={mounted:i,updated:i}),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l})}return e}function Kn(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(v(),Ie(l,n,8,[e.el,a,e,t]),g())}}function Wn(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qn=0;function Yn(e,t){return function(n,o=null){null==o||(0,r.isObject)(o)||(o=null);const i=Wn(),s=new Set;let a=!1;const l=i.app={_uid:Qn++,_component:n,_props:o,_container:null,_context:i,version:Mr,get config(){return i.config},set config(e){0},use:(e,...t)=>(s.has(e)||(e&&(0,r.isFunction)(e.install)?(s.add(e),e.install(l,...t)):(0,r.isFunction)(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(r,s,c){if(!a){const u=Io(n,o);return u.appContext=i,s&&t?t(u,r):e(u,r,c),a=!0,l._container=r,r.__vue_app__=l,u.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l)};return l}}let Jn=!1;const Gn=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Zn=e=>8===e.nodeType;function Xn(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(n,o,r,a,l,c=!1)=>{const v=Zn(n)&&"["===n.data,g=()=>h(n,o,r,a,l,v),{type:y,ref:b,shapeFlag:w}=o,x=n.nodeType;o.el=n;let _=null;switch(y){case _o:3!==x?_=g():(n.data!==o.children&&(Jn=!0,n.data=o.children),_=i(n));break;case ko:_=8!==x||v?g():i(n);break;case So:if(1===x){_=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=_.outerHTML),t===o.staticCount-1&&(o.anchor=_),_=i(_);return _}_=g();break;case xo:_=v?f(n,o,r,a,l,c):g();break;default:if(1&w)_=1!==x||o.type.toLowerCase()!==n.tagName.toLowerCase()?g():d(n,o,r,a,l,c);else if(6&w){o.slotScopeIds=l;const e=s(n);if(t(o,e,null,r,a,Gn(e),c),_=v?m(n):i(n),Gt(o)){let t;v?(t=Io(xo),t.anchor=_?_.previousSibling:e.lastChild):t=3===n.nodeType?Ro(""):Io("div"),t.el=n,o.component.subTree=t}}else 64&w?_=8!==x?g():o.type.hydrate(n,o,r,a,l,c,e,p):128&w&&(_=o.type.hydrate(n,o,r,a,Gn(s(n)),l,c,e,u))}return null!=b&&no(b,null,a,o),_},d=(e,t,n,i,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:u,shapeFlag:d,dirs:f}=t;if(-1!==u){if(f&&Kn(t,null,n,"created"),c)if(!l||16&u||32&u)for(const t in c)!(0,r.isReservedProp)(t)&&(0,r.isOn)(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let h;if((h=c&&c.onVnodeBeforeMount)&&so(h,n,t),f&&Kn(t,null,n,"beforeMount"),((h=c&&c.onVnodeMounted)||f)&&Mt((()=>{h&&so(h,n,t),f&&Kn(t,null,n,"mounted")}),i),16&d&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,i,s,l);for(;o;){Jn=!0;const e=o;o=o.nextSibling,a(e)}}else 8&d&&e.textContent!==t.children&&(Jn=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,i,s,a)=>{a=a||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t<c;t++){const c=a?l[t]:l[t]=Uo(l[t]);if(e)e=u(e,c,r,i,s,a);else{if(c.type===_o&&!c.children)continue;Jn=!0,n(null,c,o,null,r,i,Gn(o),s)}}return e},f=(e,t,n,o,r,a)=>{const{slotScopeIds:u}=t;u&&(r=r?r.concat(u):u);const d=s(e),f=p(i(e),t,d,n,o,r,a);return f&&Zn(f)&&"]"===f.data?i(t.anchor=f):(Jn=!0,l(t.anchor=c("]"),d,f),f)},h=(e,t,o,r,l,c)=>{if(Jn=!0,t.el=null,c){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;a(n)}}const u=i(e),d=s(e);return a(e),n(null,t,d,u,o,r,Gn(d),l),u},m=e=>{let t=0;for(;e;)if((e=i(e))&&Zn(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return i(e);t--}return e};return[(e,t)=>{Jn=!1,u(t.firstChild,e,null,null,null),st(),Jn&&console.error("Hydration completed but contains mismatches.")},u]}const eo={scheduler:tt,allowRecurse:!0};const to=Mt,no=(e,t,n,o,i=!1)=>{if((0,r.isArray)(e))return void e.forEach(((e,s)=>no(e,t&&((0,r.isArray)(t)?t[s]:t),n,o,i)));if(Gt(o)&&!i)return;const s=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el,a=i?null:s,{i:l,r:c}=e;const u=t&&t.r,d=l.refs===r.EMPTY_OBJ?l.refs={}:l.refs,p=l.setupState;if(null!=u&&u!==c&&((0,r.isString)(u)?(d[u]=null,(0,r.hasOwn)(p,u)&&(p[u]=null)):be(u)&&(u.value=null)),(0,r.isString)(c)){const e=()=>{d[c]=a,(0,r.hasOwn)(p,c)&&(p[c]=a)};a?(e.id=-1,to(e,n)):e()}else if(be(c)){const e=()=>{c.value=a};a?(e.id=-1,to(e,n)):e()}else(0,r.isFunction)(c)&&De(c,l,12,[a,d])};function oo(e){return io(e)}function ro(e){return io(e,Xn)}function io(e,t){const{insert:n,remove:o,patchProp:i,forcePatchProp:s,createElement:a,createText:l,createComment:c,setText:p,setElementText:f,parentNode:h,nextSibling:m,setScopeId:y=r.NOOP,cloneNode:w,insertStaticContent:x}=e,_=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!1)=>{e&&!qo(e,t)&&(o=Y(e),H(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case _o:k(e,t,n,o);break;case ko:S(e,t,n,o);break;case So:null==e&&C(t,n,o,s);break;case xo:q(e,t,n,o,r,i,s,a,l);break;default:1&d?T(e,t,n,o,r,i,s,a,l):6&d?F(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,G)}null!=u&&r&&no(u,e&&e.ref,i,t||e,!t)},k=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=x(e.children,t,n,o)},O=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),o(e),e=n;o(t)},T=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?E(t,n,o,r,i,s,a,l):A(e,t,r,i,s,a,l)},E=(e,t,o,s,l,c,u,d)=>{let p,h;const{type:m,props:v,shapeFlag:g,transition:y,patchFlag:b,dirs:x}=e;if(e.el&&void 0!==w&&-1===b)p=e.el=w(e.el);else{if(p=e.el=a(e.type,c,v&&v.is,v),8&g?f(p,e.children):16&g&&M(e.children,p,null,s,l,c&&"foreignObject"!==m,u,d||!!e.dynamicChildren),x&&Kn(e,null,s,"created"),v){for(const t in v)(0,r.isReservedProp)(t)||i(p,t,null,v[t],c,e.children,s,l,Q);(h=v.onVnodeBeforeMount)&&so(h,s,e)}B(p,e,e.scopeId,u,s)}x&&Kn(e,null,s,"beforeMount");const _=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(p),n(p,t,o),((h=v&&v.onVnodeMounted)||_||x)&&to((()=>{h&&so(h,s,e),_&&y.enter(p),x&&Kn(e,null,s,"mounted")}),l)},B=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let t=0;t<o.length;t++)y(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;B(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},M=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Ko(e[c]):Uo(e[c]);_(null,l,t,n,o,r,i,s,a)}},A=(e,t,n,o,a,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:h}=t;d|=16&e.patchFlag;const m=e.props||r.EMPTY_OBJ,v=t.props||r.EMPTY_OBJ;let g;if((g=v.onVnodeBeforeUpdate)&&so(g,n,t,e),h&&Kn(t,e,n,"beforeUpdate"),d>0){if(16&d)N(u,t,m,v,n,o,a);else if(2&d&&m.class!==v.class&&i(u,"class",null,v.class,a),4&d&&i(u,"style",m.style,v.style,a),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const l=r[t],c=m[l],d=v[l];(d!==c||s&&s(u,l))&&i(u,l,c,d,a,e.children,n,o,Q)}}1&d&&e.children!==t.children&&f(u,t.children)}else c||null!=p||N(u,t,m,v,n,o,a);const y=a&&"foreignObject"!==t.type;p?V(e.dynamicChildren,p,u,n,o,y,l):c||j(e,t,u,null,n,o,y,l,!1),((g=v.onVnodeUpdated)||h)&&to((()=>{g&&so(g,n,t,e),h&&Kn(t,e,n,"updated")}),o)},V=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===xo||!qo(l,c)||6&l.shapeFlag||64&l.shapeFlag)?h(l.el):n;_(l,c,u,null,o,r,i,s,!0)}},N=(e,t,n,o,a,l,c)=>{if(n!==o){for(const u in o){if((0,r.isReservedProp)(u))continue;const d=o[u],p=n[u];(d!==p||s&&s(e,u))&&i(e,u,p,d,c,t.children,a,l,Q)}if(n!==r.EMPTY_OBJ)for(const s in n)(0,r.isReservedProp)(s)||s in o||i(e,s,n[s],null,c,t.children,a,l,Q)}},q=(e,t,o,r,i,s,a,c,u)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;h&&(u=!0),m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),M(t.children,o,p,i,s,a,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(V(e.dynamicChildren,h,o,i,s,a,c),(null!=t.key||i&&t===i.subTree)&&ao(e,t,!0)):j(e,t,o,p,i,s,a,c,u)},F=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):P(t,n,o,r,i,s,l):L(e,t,l)},P=(e,t,n,o,i,s,a)=>{const l=e.component=function(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||rr,s={uid:ir++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fn(o,i),emitsOptions:pt(o,i),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s};return s.root=t?t.root:s,s.emit=dt.bind(null,s),s}(e,o,i);if(en(e)&&(l.ctx.renderer=G),function(e,t=!1){dr=t;const{props:n,children:o}=e.vnode,i=cr(e);(function(e,t,n,o=!1){const i={},s={};(0,r.def)(s,Po,1),e.propsDefaults=Object.create(null),Nn(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:ce(i):e.type.props?e.props=i:e.props=s,e.attrs=s})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ve(t),(0,r.def)(t,"_",n)):zn(t,e.slots={})}else e.slots={},t&&Hn(e,t);(0,r.def)(e.slots,Po,1)})(e,o);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nr),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?vr(e):null;sr=e,v();const i=De(o,e,0,[e.props,n]);if(g(),sr=null,(0,r.isPromise)(i)){if(t)return i.then((n=>{pr(e,n,t)})).catch((t=>{je(t,e,0)}));e.asyncDep=i}else pr(e,i,t)}else mr(e,t)}(e,t):void 0;dr=!1}(l),l.asyncDep){if(i&&i.registerDep(l,D),!e.el){const e=l.subTree=Io(ko);S(null,e,t,n)}}else D(l,e,t,n,i,s,a)},L=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Ct(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Ct(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!ft(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void I(o,t,n);o.next=t,function(e){const t=ze.indexOf(e);t>He&&ze.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},D=(e,t,n,o,i,s,a)=>{e.update=u((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:u}=e,d=n;0,n?(n.el=u.el,I(e,n,a)):n=u,o&&(0,r.invokeArrayFns)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&so(t,c,n,u);const p=xt(e);0;const f=e.subTree;e.subTree=p,_(f,p,h(f.el),Y(f),e,i,s),n.el=p.el,null===d&&Ot(e,p.el),l&&to(l,i),(t=n.props&&n.props.onVnodeUpdated)&&to((()=>so(t,c,n,u)),i)}else{let a;const{el:l,props:c}=t,{bm:u,m:d,parent:p}=e;if(u&&(0,r.invokeArrayFns)(u),(a=c&&c.onVnodeBeforeMount)&&so(a,p,t),l&&X){const n=()=>{e.subTree=xt(e),X(l,e.subTree,e,i,null)};Gt(t)?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=xt(e);0,_(null,r,n,o,e,i,s),t.el=r.el}if(d&&to(d,i),a=c&&c.onVnodeMounted){const e=t;to((()=>so(a,p,e)),i)}256&t.shapeFlag&&e.a&&to(e.a,i),e.isMounted=!0,t=n=o=null}}),eo)},I=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,l=ve(i),[c]=e.propsOptions;let u=!1;if(!(o||a>0)||16&a){let o;Nn(e,t,i,s)&&(u=!0);for(const s in l)t&&((0,r.hasOwn)(t,s)||(o=(0,r.hyphenate)(s))!==s&&(0,r.hasOwn)(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(i[s]=qn(c,l,s,void 0,e,!0)):delete i[s]);if(s!==l)for(const e in s)t&&(0,r.hasOwn)(t,e)||(delete s[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];const d=t[a];if(c)if((0,r.hasOwn)(s,a))d!==s[a]&&(s[a]=d,u=!0);else{const t=(0,r.camelize)(a);i[t]=qn(c,l,t,d,e,!1)}else d!==s[a]&&(s[a]=d,u=!0)}}u&&b(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,a=r.EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,r.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,zn(t,i)),a=t}else t&&(Hn(e,t),a={default:1});if(s)for(const e in i)jn(e)||e in a||delete i[e]})(e,t.children,n),v(),it(void 0,e.update),g()},j=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void R(c,d,n,o,r,i,s,a,l);if(256&p)return void $(c,d,n,o,r,i,s,a,l)}8&h?(16&u&&Q(c,r,i),d!==c&&f(n,d)):16&u?16&h?R(c,d,n,o,r,i,s,a,l):Q(c,r,i,!0):(8&u&&f(n,""),16&h&&M(d,n,o,r,i,s,a,l))},$=(e,t,n,o,i,s,a,l,c)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Ko(t[f]):Uo(t[f]);_(e[f],o,n,null,i,s,a,l,c)}u>d?Q(e,i,s,!0,!1,p):M(t,n,o,i,s,a,l,c,p)},R=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?Ko(t[u]):Uo(t[u]);if(!qo(o,r))break;_(o,r,n,null,i,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?Ko(t[f]):Uo(t[f]);if(!qo(o,r))break;_(o,r,n,null,i,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)_(null,t[u]=c?Ko(t[u]):Uo(t[u]),n,r,i,s,a,l,c),u++}}else if(u>f)for(;u<=p;)H(e[u],i,s,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Ko(t[u]):Uo(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const b=f-m+1;let w=!1,x=0;const k=new Array(b);for(u=0;u<b;u++)k[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){H(o,i,s,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(g=m;g<=f;g++)if(0===k[g-m]&&qo(o,t[g])){r=g;break}void 0===r?H(o,i,s,!0):(k[r-m]=u+1,r>=x?x=r:w=!0,_(o,t[r],n,null,i,s,a,l,c),y++)}const S=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=(i+s)/2|0,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(k):r.EMPTY_ARR;for(g=S.length-1,u=b-1;u>=0;u--){const e=m+u,r=t[e],p=e+1<d?t[e+1].el:o;0===k[u]?_(null,r,n,p,i,s,a,l,c):w&&(g<0||u!==S[g]?z(r,n,p,2):g--)}}},z=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,G);if(a===xo){n(s,t,o);for(let e=0;e<c.length;e++)z(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===So)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=m(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),to((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},H=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&no(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p;let h;if((h=s&&s.onVnodeBeforeUnmount)&&so(h,t,e),6&u)W(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Kn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,G,o):c&&(i!==xo||d>0&&64&d)?Q(c,t,n,!1,!0):(i===xo&&(128&d||256&d)||!r&&16&u)&&Q(l,t,n),o&&U(e)}((h=s&&s.onVnodeUnmounted)||f)&&to((()=>{h&&so(h,t,e),f&&Kn(e,null,t,"unmounted")}),n)},U=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===xo)return void K(n,r);if(t===So)return void O(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),o(e),e=n;o(t)},W=(e,t,n)=>{const{bum:o,effects:i,update:s,subTree:a,um:l}=e;if(o&&(0,r.invokeArrayFns)(o),i)for(let e=0;e<i.length;e++)d(i[e]);s&&(d(s),H(a,e,t,n)),l&&to(l,t),to((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)H(e[s],t,n,o,r)},Y=e=>6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el),J=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),st(),t._vnode=e},G={p:_,um:H,m:z,r:U,mt:P,mc:M,pc:j,pbc:V,n:Y,o:e};let Z,X;return t&&([Z,X]=t(G)),{render:J,hydrate:Z,createApp:Yn(J,Z)}}function so(e,t,n,o=null){Ie(e,t,7,[n,o])}function ao(e,t,n=!1){const o=e.children,i=t.children;if((0,r.isArray)(o)&&(0,r.isArray)(i))for(let e=0;e<o.length;e++){const t=o[e];let r=i[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=i[e]=Ko(i[e]),r.el=t.el),n||ao(t,r))}}const lo=e=>e&&(e.disabled||""===e.disabled),co=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,uo=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){const e=t(n);return e}return null}return n};function po(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||lo(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);d&&o(a,t,n)}const fo={__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:m,createComment:v}}=c,g=lo(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const d=t.target=uo(t.props,h),p=t.targetAnchor=m("");d&&(f(p,d),s=s||co(d));const v=(e,t)=>{16&y&&u(b,e,t,r,i,s,a,l)};g?v(n,c):d&&v(d,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=lo(e.props),v=m?n:u,y=m?o:f;if(s=s||co(u),w?(p(e.dynamicChildren,w,v,r,i,s,a),ao(e,t,!0)):l||d(e,t,v,y,r,i,s,a,!1),g)m||po(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=uo(t.props,h);e&&po(t,e,null,c,0)}else m&&po(t,u,f,c,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),(s||!lo(p))&&(i(c),16&a))for(let e=0;e<l.length;e++){const o=l[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:po,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=uo(t.props,l);if(u){const l=u._lpa||u.firstChild;16&t.shapeFlag&&(lo(t.props)?(t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l):(t.anchor=s(e),t.targetAnchor=c(l,t,u,n,o,r,i)),u._lpa=t.targetAnchor&&s(t.targetAnchor))}return t.anchor&&s(t.anchor)}},ho="components";function mo(e,t){return bo(ho,e,!0,t)||e}const vo=Symbol();function go(e){return(0,r.isString)(e)?bo(ho,e,!1)||e:e||vo}function yo(e){return bo("directives",e)}function bo(e,t,n=!0,o=!1){const i=ht||sr;if(i){const n=i.type;if(e===ho){const e=br(n);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const s=wo(i[e]||n[e],t)||wo(i.appContext[e],t);return!s&&o?n:s}}function wo(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}const xo=Symbol(void 0),_o=Symbol(void 0),ko=Symbol(void 0),So=Symbol(void 0),Co=[];let Oo=null;function To(e=!1){Co.push(Oo=e?null:[])}function Eo(){Co.pop(),Oo=Co[Co.length-1]||null}let Bo,Mo=1;function Ao(e){Mo+=e}function Vo(e,t,n,o,i){const s=Io(e,t,n,o,i,!0);return s.dynamicChildren=Mo>0?Oo||r.EMPTY_ARR:null,Eo(),Mo>0&&Oo&&Oo.push(s),s}function No(e){return!!e&&!0===e.__v_isVNode}function qo(e,t){return e.type===t.type&&e.key===t.key}function Fo(e){Bo=e}const Po="__vInternal",Lo=({key:e})=>null!=e?e:null,Do=({ref:e})=>null!=e?(0,r.isString)(e)||be(e)||(0,r.isFunction)(e)?{i:ht,r:e}:e:null,Io=jo;function jo(e,t=null,n=null,o=0,i=null,s=!1){if(e&&e!==vo||(e=ko),No(e)){const o=$o(e,t,!0);return n&&Wo(o,n),o}if(xr(e)&&(e=e.__vccOpts),t){(me(t)||Po in t)&&(t=(0,r.extend)({},t));let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(me(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}const a=(0,r.isString)(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0;const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lo(t),ref:t&&Do(t),scopeId:mt,slotScopeIds:null,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return Wo(l,n),128&a&&e.normalize(l),Mo>0&&!s&&Oo&&(o>0||6&a)&&32!==o&&Oo.push(l),l}function $o(e,t,n=!1){const{props:o,ref:i,patchFlag:s,children:a}=e,l=t?Qo(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Lo(l),ref:t&&t.ref?n&&i?(0,r.isArray)(i)?i.concat(Do(t)):[i,Do(t)]:Do(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$o(e.ssContent),ssFallback:e.ssFallback&&$o(e.ssFallback),el:e.el,anchor:e.anchor}}function Ro(e=" ",t=0){return Io(_o,null,e,t)}function zo(e,t){const n=Io(So,null,e);return n.staticCount=t,n}function Ho(e="",t=!1){return t?(To(),Vo(ko,null,e)):Io(ko,null,e)}function Uo(e){return null==e||"boolean"==typeof e?Io(ko):(0,r.isArray)(e)?Io(xo,null,e.slice()):"object"==typeof e?Ko(e):Io(_o,null,String(e))}function Ko(e){return null===e.el?e:$o(e)}function Wo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Wo(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Po in t?3===o&&ht&&(1===ht.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ht}}else(0,r.isFunction)(t)?(t={default:t,_ctx:ht},n=32):(t=String(t),64&o?(n=16,t=[Ro(t)]):n=8);e.children=t,e.shapeFlag|=n}function Qo(...e){const t=(0,r.extend)({},e[0]);for(let n=1;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.normalizeClass)([t.class,o.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,o.style]);else if((0,r.isOn)(e)){const n=t[e],r=o[e];n!==r&&(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Yo(e,t){let n;if((0,r.isArray)(e)||(0,r.isString)(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){0,n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if((0,r.isObject)(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,i=o.length;r<i;r++){const i=o[r];n[r]=t(e[i],i,r)}}else n=[];return n}function Jo(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.isArray)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function Go(e,t,n={},o,r){let i=e[t];i&&i._c&&(i._d=!1),To();const s=i&&Zo(i(n)),a=Vo(xo,{key:n.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Zo(e){return e.some((e=>!No(e)||e.type!==ko&&!(e.type===xo&&!Zo(e.children))))?e:null}function Xo(e){const t={};for(const n in e)t[(0,r.toHandlerKey)(n)]=e[n];return t}const er=e=>e?cr(e)?e.exposed?e.exposed:e.proxy:er(e.parent):null,tr=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>er(e.parent),$root:e=>er(e.root),$emit:e=>e.emit,$options:e=>On(e),$forceUpdate:e=>()=>tt(e.update),$nextTick:e=>et.bind(e.proxy),$watch:e=>Dt.bind(e)}),nr={get({_:e},t){const{ctx:n,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=e;if("__v_skip"===t)return!0;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 0:return o[t];case 1:return i[t];case 3:return n[t];case 2:return s[t]}else{if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=0,o[t];if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))return a[t]=1,i[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=2,s[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=3,n[t];_n&&(a[t]=4)}}const d=tr[t];let p,f;return d?("$attrs"===t&&y(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=3,n[t]):(f=c.config.globalProperties,(0,r.hasOwn)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))i[t]=n;else if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))o[t]=n;else if((0,r.hasOwn)(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s}},a){let l;return void 0!==n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||t!==r.EMPTY_OBJ&&(0,r.hasOwn)(t,a)||(l=s[0])&&(0,r.hasOwn)(l,a)||(0,r.hasOwn)(o,a)||(0,r.hasOwn)(tr,a)||(0,r.hasOwn)(i.config.globalProperties,a)}};const or=(0,r.extend)({},nr,{get(e,t){if(t!==Symbol.unscopables)return nr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyWhitelisted)(t)});const rr=Wn();let ir=0;let sr=null;const ar=()=>sr||ht,lr=e=>{sr=e};function cr(e){return 4&e.vnode.shapeFlag}let ur,dr=!1;function pr(e,t,n){(0,r.isFunction)(t)?e.render=t:(0,r.isObject)(t)&&(e.setupState=Te(t)),mr(e,n)}const fr=()=>!ur;function hr(e){ur=e}function mr(e,t,n){const o=e.type;if(!e.render){if(ur&&!o.render){const t=o.template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:a}=o,l=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:s},i),a);o.render=ur(t,l)}}e.render=o.render||r.NOOP,e.render._rc&&(e.withProxy=new Proxy(e.ctx,or))}sr=e,v(),kn(e),g(),sr=null}function vr(e){const t=t=>{e.exposed=Te(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function gr(e,t=sr){t&&(t.effects||(t.effects=[])).push(e)}const yr=/(?:^|[-_])(\w)/g;function br(e){return(0,r.isFunction)(e)&&e.displayName||e.name}function wr(e,t,n=!1){let o=br(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(yr,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function xr(e){return(0,r.isFunction)(e)&&"__vccOpts"in e}function _r(e){const t=function(e){let t,n;return(0,r.isFunction)(e)?(t=e,n=r.NOOP):(t=e.get,n=e.set),new Ne(t,n,(0,r.isFunction)(e)||!e.set)}(e);return gr(t.effect),t}function kr(){return null}function Sr(){return null}function Cr(){const e=ar();return e.setupContext||(e.setupContext=vr(e))}function Or(e,t,n){const o=arguments.length;return 2===o?(0,r.isObject)(t)&&!(0,r.isArray)(t)?No(t)?Io(e,null,[t]):Io(e,t):Io(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&No(n)&&(n=[n]),Io(e,t,n))}const Tr=Symbol(""),Er=()=>{{const e=Nt(Tr);return e||Fe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Br(){return void 0}const Mr="3.1.1",Ar=null,Vr=null,Nr=null,qr="http://www.w3.org/2000/svg",Fr="undefined"!=typeof document?document:null;let Pr,Lr;const Dr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?Fr.createElementNS(qr,e):Fr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Fr.createTextNode(e),createComment:e=>Fr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o){const r=o?Lr||(Lr=Fr.createElementNS(qr,"svg")):Pr||(Pr=Fr.createElement("div"));r.innerHTML=e;const i=r.firstChild;let s=i,a=s;for(;s;)a=s,Dr.insert(s,t,n),s=r.firstChild;return[i,a]}};const Ir=/\s*!important$/;function jr(e,t,n){if((0,r.isArray)(n))n.forEach((n=>jr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Rr[t];if(n)return n;let o=(0,r.camelize)(t);if("filter"!==o&&o in e)return Rr[t]=o;o=(0,r.capitalize)(o);for(let n=0;n<$r.length;n++){const r=$r[n]+o;if(r in e)return Rr[t]=r}return t}(e,t);Ir.test(n)?e.setProperty((0,r.hyphenate)(o),n.replace(Ir,""),"important"):e[o]=n}}const $r=["Webkit","Moz","ms"],Rr={};const zr="http://www.w3.org/1999/xlink";let Hr=Date.now,Ur=!1;if("undefined"!=typeof window){Hr()>document.createEvent("Event").timeStamp&&(Hr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Ur=!!(e&&Number(e[1])<=53)}let Kr=0;const Wr=Promise.resolve(),Qr=()=>{Kr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function Jr(e,t,n,o,i=null){const s=e._vei||(e._vei={}),a=s[t];if(o&&a)a.value=o;else{const[n,l]=function(e){let t;if(Gr.test(e)){let n;for(t={};n=e.match(Gr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,r.hyphenate)(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||Hr();(Ur||o>=n.attached-1)&&Ie(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Kr||(Wr.then(Qr),Kr=Hr()))(),n}(o,i),l)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,l),s[t]=void 0)}}const Gr=/(?:Once|Passive|Capture)$/;const Zr=/^on[a-z]/;function Xr(e="$style"){{const t=ar();if(!t)return r.EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return r.EMPTY_OBJ;const o=n[e];return o||r.EMPTY_OBJ}}function ei(e){const t=ar();if(!t)return;const n=()=>ti(t.subTree,e(t.proxy));fn((()=>qt(n,{flush:"post"}))),mn(n)}function ti(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ti(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===xo&&e.children.forEach((e=>ti(e,t)))}const ni="transition",oi="animation",ri=(e,{slots:t})=>Or(zt,ci(e),t);ri.displayName="Transition";const ii={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},si=ri.props=(0,r.extend)({},zt.props,ii),ai=(e,t=[])=>{(0,r.isArray)(e)?e.forEach((e=>e(...t))):e&&e(...t)},li=e=>!!e&&((0,r.isArray)(e)?e.some((e=>e.length>1)):e.length>1);function ci(e){const t={};for(const n in e)n in ii||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if((0,r.isObject)(e))return[ui(e.enter),ui(e.leave)];{const t=ui(e);return[t,t]}}(i),v=m&&m[0],g=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:_,onBeforeAppear:k=y,onAppear:S=b,onAppearCancelled:C=w}=t,O=(e,t,n)=>{pi(e,t?d:l),pi(e,t?u:a),n&&n()},T=(e,t)=>{pi(e,h),pi(e,f),t&&t()},E=e=>(t,n)=>{const r=e?S:b,i=()=>O(t,e,n);ai(r,[t,i]),fi((()=>{pi(t,e?c:s),di(t,e?d:l),li(r)||mi(t,o,v,i)}))};return(0,r.extend)(t,{onBeforeEnter(e){ai(y,[e]),di(e,s),di(e,a)},onBeforeAppear(e){ai(k,[e]),di(e,c),di(e,u)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){const n=()=>T(e,t);di(e,p),bi(),di(e,f),fi((()=>{pi(e,p),di(e,h),li(x)||mi(e,o,g,n)})),ai(x,[e,n])},onEnterCancelled(e){O(e,!1),ai(w,[e])},onAppearCancelled(e){O(e,!0),ai(C,[e])},onLeaveCancelled(e){T(e),ai(_,[e])}})}function ui(e){return(0,r.toNumber)(e)}function di(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function pi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hi=0;function mi(e,t,n,o){const r=e._endId=++hi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=vi(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function vi(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=gi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=gi(a,l);let u=null,d=0,p=0;t===ni?s>0&&(u=ni,d=s,p=i.length):t===oi?c>0&&(u=oi,d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?ni:oi:null,p=u?u===ni?i.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===ni&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>yi(t)+yi(e[n]))))}function yi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bi(){return document.body.offsetHeight}const wi=new WeakMap,xi=new WeakMap,_i={name:"TransitionGroup",props:(0,r.extend)({},si,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),o=$t();let r,i;return mn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:i}=vi(o);return r.removeChild(o),i}(r[0].el,n.vnode.el,t))return;r.forEach(ki),r.forEach(Si);const o=r.filter(Ci);bi(),o.forEach((e=>{const n=e.el,o=n.style;di(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,pi(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=ve(e),a=ci(s);let l=s.tag||xo;r=i,i=t.default?Yt(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&Qt(t,Ut(t,a,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Qt(t,Ut(t,a,o,n)),wi.set(t,t.el.getBoundingClientRect())}return Io(l,null,i)}}};function ki(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Si(e){xi.set(e,e.el.getBoundingClientRect())}function Ci(e){const t=wi.get(e),n=xi.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const Oi=e=>{const t=e.props["onUpdate:modelValue"];return(0,r.isArray)(t)?e=>(0,r.invokeArrayFns)(t,e):t};function Ti(e){e.target.composing=!0}function Ei(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Bi={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e._assign=Oi(i);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=(0,r.toNumber)(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ti),Yr(e,"compositionend",Ei),Yr(e,"change",Ei))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},i){if(e._assign=Oi(i),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&(0,r.toNumber)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Mi={created(e,t,n){e._assign=Oi(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Fi(e),o=e.checked,i=e._assign;if((0,r.isArray)(t)){const e=(0,r.looseIndexOf)(t,n),s=-1!==e;if(o&&!s)i(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),i(n)}}else if((0,r.isSet)(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(Pi(e,o))}))},mounted:Ai,beforeUpdate(e,t,n){e._assign=Oi(n),Ai(e,t,n)}};function Ai(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.isArray)(t)?e.checked=(0,r.looseIndexOf)(t,o.props.value)>-1:(0,r.isSet)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.looseEqual)(t,Pi(e,!0)))}const Vi={created(e,{value:t},n){e.checked=(0,r.looseEqual)(t,n.props.value),e._assign=Oi(n),Yr(e,"change",(()=>{e._assign(Fi(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Oi(o),t!==n&&(e.checked=(0,r.looseEqual)(t,o.props.value))}},Ni={created(e,{value:t,modifiers:{number:n}},o){const i=(0,r.isSet)(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.toNumber)(Fi(e)):Fi(e)));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=Oi(o)},mounted(e,{value:t}){qi(e,t)},beforeUpdate(e,t,n){e._assign=Oi(n)},updated(e,{value:t}){qi(e,t)}};function qi(e,t){const n=e.multiple;if(!n||(0,r.isArray)(t)||(0,r.isSet)(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],s=Fi(i);if(n)(0,r.isArray)(t)?i.selected=(0,r.looseIndexOf)(t,s)>-1:i.selected=t.has(s);else if((0,r.looseEqual)(Fi(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Fi(e){return"_value"in e?e._value:e.value}function Pi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Li={created(e,t,n){Di(e,t,n,null,"created")},mounted(e,t,n){Di(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Di(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Di(e,t,n,o,"updated")}};function Di(e,t,n,o,r){let i;switch(e.tagName){case"SELECT":i=Ni;break;case"TEXTAREA":i=Bi;break;default:switch(n.props&&n.props.type){case"checkbox":i=Mi;break;case"radio":i=Vi;break;default:i=Bi}}const s=i[r];s&&s(e,t,n,o)}const Ii=["ctrl","shift","alt","meta"],ji={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ii.some((n=>e[`${n}Key`]&&!t.includes(n)))},$i=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=ji[t[e]];if(o&&o(n,t))return}return e(n,...o)},Ri={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zi=(e,t)=>n=>{if(!("key"in n))return;const o=(0,r.hyphenate)(n.key);return t.some((e=>e===o||Ri[e]===o))?e(n):void 0},Hi={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ui(e,!0),o.enter(e)):o.leave(e,(()=>{Ui(e,!1)})):Ui(e,t))},beforeUnmount(e,{value:t}){Ui(e,t)}};function Ui(e,t){e.style.display=t?e._vod:"none"}const Ki=(0,r.extend)({patchProp:(e,t,n,o,i=!1,s,a,l,c)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,i);break;case"style":!function(e,t,n){const o=e.style;if(n)if((0,r.isString)(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)jr(o,e,n[e]);if(t&&!(0,r.isString)(t))for(const e in t)null==n[e]&&jr(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:(0,r.isOn)(t)?(0,r.isModelListener)(t)||Jr(e,t,0,o,a):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&Zr.test(t)&&(0,r.isFunction)(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Zr.test(t)&&(0,r.isString)(n))return!1;return t in e}(e,t,o,i)?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName){e._value=n;const o=null==n?"":n;return e.value!==o&&(e.value=o),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(e){}}(e,t,o,s,a,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(zr,t.slice(6,t.length)):e.setAttributeNS(zr,t,n);else{const o=(0,r.isSpecialBooleanAttr)(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,i))}},forcePatchProp:(e,t)=>"value"===t},Dr);let Wi,Qi=!1;function Yi(){return Wi||(Wi=oo(Ki))}function Ji(){return Wi=Qi?Wi:ro(Ki),Qi=!0,Wi}const Gi=(...e)=>{Yi().render(...e)},Zi=(...e)=>{Ji().hydrate(...e)},Xi=(...e)=>{const t=Yi().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=ts(e);if(!o)return;const i=t._component;(0,r.isFunction)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},es=(...e)=>{const t=Ji().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=ts(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function ts(e){if((0,r.isString)(e)){return document.querySelector(e)}return e}function ns(e){throw e}function os(e){}function rs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const is=Symbol(""),ss=Symbol(""),as=Symbol(""),ls=Symbol(""),cs=Symbol(""),us=Symbol(""),ds=Symbol(""),ps=Symbol(""),fs=Symbol(""),hs=Symbol(""),ms=Symbol(""),vs=Symbol(""),gs=Symbol(""),ys=Symbol(""),bs=Symbol(""),ws=Symbol(""),xs=Symbol(""),_s=Symbol(""),ks=Symbol(""),Ss=Symbol(""),Cs=Symbol(""),Os=Symbol(""),Ts=Symbol(""),Es=Symbol(""),Bs=Symbol(""),Ms=Symbol(""),As=Symbol(""),Vs=Symbol(""),Ns=Symbol(""),qs=Symbol(""),Fs=Symbol(""),Ps=Symbol(""),Ls={[is]:"Fragment",[ss]:"Teleport",[as]:"Suspense",[ls]:"KeepAlive",[cs]:"BaseTransition",[us]:"openBlock",[ds]:"createBlock",[ps]:"createVNode",[fs]:"createCommentVNode",[hs]:"createTextVNode",[ms]:"createStaticVNode",[vs]:"resolveComponent",[gs]:"resolveDynamicComponent",[ys]:"resolveDirective",[bs]:"resolveFilter",[ws]:"withDirectives",[xs]:"renderList",[_s]:"renderSlot",[ks]:"createSlots",[Ss]:"toDisplayString",[Cs]:"mergeProps",[Os]:"toHandlers",[Ts]:"camelize",[Es]:"capitalize",[Bs]:"toHandlerKey",[Ms]:"setBlockTracking",[As]:"pushScopeId",[Vs]:"popScopeId",[Ns]:"withScopeId",[qs]:"withCtx",[Fs]:"unref",[Ps]:"isRef"};const Ds={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Is(e,t,n,o,r,i,s,a=!1,l=!1,c=Ds){return e&&(a?(e.helper(us),e.helper(ds)):e.helper(ps),s&&e.helper(ws)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:i,directives:s,isBlock:a,disableTracking:l,loc:c}}function js(e,t=Ds){return{type:17,loc:t,elements:e}}function $s(e,t=Ds){return{type:15,loc:t,properties:e}}function Rs(e,t){return{type:16,loc:Ds,key:(0,r.isString)(e)?zs(e,!0):e,value:t}}function zs(e,t,n=Ds,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Hs(e,t=Ds){return{type:8,loc:t,children:e}}function Us(e,t=[],n=Ds){return{type:14,loc:n,callee:e,arguments:t}}function Ks(e,t,n=!1,o=!1,r=Ds){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ws(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Ds}}const Qs=e=>4===e.type&&e.isStatic,Ys=(e,t)=>e===t||e===(0,r.hyphenate)(t);function Js(e){return Ys(e,"Teleport")?ss:Ys(e,"Suspense")?as:Ys(e,"KeepAlive")?ls:Ys(e,"BaseTransition")?cs:void 0}const Gs=/^\d|[^\$\w]/,Zs=e=>!Gs.test(e),Xs=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[(.+)\])*$/,ea=e=>{if(!e)return!1;const t=Xs.exec(e.trim());return!!t&&(!t[1]||(!/[\[\]]/.test(t[1])||ea(t[1].trim())))};function ta(e,t,n){const o={source:e.source.substr(t,n),start:na(e.start,e.source,t),end:e.end};return null!=n&&(o.end=na(e.start,e.source,t+n)),o}function na(e,t,n=t.length){return oa((0,r.extend)({},e),t,n)}function oa(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ra(e,t,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&(n||i.exp)&&((0,r.isString)(t)?i.name===t:t.test(i.name)))return i}}function ia(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||o))return i}else if("bind"===i.name&&(i.exp||o)&&sa(i.arg,t))return i}}function sa(e,t){return!(!e||!Qs(e)||e.content!==t)}function aa(e){return 5===e.type||2===e.type}function la(e){return 7===e.type&&"slot"===e.name}function ca(e){return 1===e.type&&3===e.tagType}function ua(e){return 1===e.type&&2===e.tagType}function da(e,t,n){let o;const i=13===e.type?e.props:e.arguments[2];if(null==i||(0,r.isString)(i))o=$s([t]);else if(14===i.type){const e=i.arguments[0];(0,r.isString)(e)||15!==e.type?i.callee===Os?o=Us(n.helper(Cs),[$s([t]),i]):i.arguments.unshift($s([t])):e.properties.unshift(t),!o&&(o=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===n))}e||i.properties.unshift(t),o=i}else o=Us(n.helper(Cs),[$s([t]),i]);13===e.type?e.props=o:e.arguments[2]=o}function pa(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function fa(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ha(e,t){const n=fa("MODE",t),o=fa(e,t);return 3===n?!0===o:!1!==o}function ma(e,t,n,...o){return ha(e,t)}const va=/&(gt|lt|amp|apos|quot);/g,ga={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ya={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isCustomElement:r.NO,decodeEntities:e=>e.replace(va,((e,t)=>ga[t])),onError:ns,onWarn:os,comments:!1};function ba(e,t={}){const n=function(e,t){const n=(0,r.extend)({},ya);for(const e in t)n[e]=t[e]||ya[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Na(n);return function(e,t=Ds){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(wa(n,0,[]),qa(n,o))}function wa(e,t,n){const o=Fa(n),i=o?o.ns:0,s=[];for(;!$a(e,t,n);){const a=e.source;let l;if(0===t||1===t)if(!e.inVPre&&Pa(a,e.options.delimiters[0]))l=Ma(e,t);else if(0===t&&"<"===a[0])if(1===a.length)ja(e,5,1);else if("!"===a[1])Pa(a,"\x3c!--")?l=ka(e):Pa(a,"<!DOCTYPE")?l=Sa(e):Pa(a,"<![CDATA[")?0!==i?l=_a(e,n):(ja(e,1),l=Sa(e)):(ja(e,11),l=Sa(e));else if("/"===a[1])if(2===a.length)ja(e,5,2);else{if(">"===a[2]){ja(e,14,2),La(e,3);continue}if(/[a-z]/i.test(a[2])){ja(e,23),Ta(e,1,o);continue}ja(e,12,2),l=Sa(e)}else/[a-z]/i.test(a[1])?(l=Ca(e,n),ha("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&Oa(e.name)))&&(l=l.children)):"?"===a[1]?(ja(e,21,1),l=Sa(e)):ja(e,12,1);if(l||(l=Aa(e,t)),(0,r.isArray)(l))for(let e=0;e<l.length;e++)xa(s,l[e]);else xa(s,l)}let a=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(a=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(a=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?s.filter(Boolean):s}function xa(e,t){if(2===t.type){const n=Fa(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function _a(e,t){La(e,9);const n=wa(e,3,t);return 0===e.source.length?ja(e,6):La(e,3),n}function ka(e){const t=Na(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&ja(e,0),o[1]&&ja(e,10),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",r));)La(e,i-r+1),i+4<t.length&&ja(e,16),r=i+1;La(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),La(e,e.source.length),ja(e,7);return{type:3,content:n,loc:qa(e,t)}}function Sa(e){const t=Na(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),La(e,e.source.length)):(o=e.source.slice(n,r),La(e,r+1)),{type:3,content:o,loc:qa(e,t)}}function Ca(e,t){const n=e.inPre,o=e.inVPre,r=Fa(t),i=Ta(e,0,r),s=e.inPre&&!n,a=e.inVPre&&!o;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return i;t.push(i);const l=e.options.getTextMode(i,r),c=wa(e,l,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ma("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=qa(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=c,Ra(e.source,i.tag))Ta(e,1,r);else if(ja(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=c[0];t&&Pa(t.loc.source,"\x3c!--")&&ja(e,8)}return i.loc=qa(e,i.loc.start),s&&(e.inPre=!1),a&&(e.inVPre=!1),i}const Oa=(0,r.makeMap)("if,else,else-if,for,slot");function Ta(e,t,n){const o=Na(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=i[1],a=e.options.getNamespace(s,n);La(e,i[0].length),Da(e);const l=Na(e),c=e.source;let u=Ea(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,(0,r.extend)(e,l),e.source=c,u=Ea(e,t).filter((e=>"v-pre"!==e.name)));let d=!1;if(0===e.source.length?ja(e,9):(d=Pa(e.source,"/>"),1===t&&d&&ja(e,4),La(e,d?2:1)),1===t)return;let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const t=u.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!ma("COMPILER_IS_ON_ELEMENT",e,t.loc)||void 0))}));f.isNativeTag&&!t?f.isNativeTag(s)||(p=1):(t||Js(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&u.some((e=>7===e.type&&Oa(e.name)))&&(p=3)}return{type:1,ns:a,tag:s,tagType:p,props:u,isSelfClosing:d,children:[],loc:qa(e,o),codegenNode:void 0}}function Ea(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Pa(e.source,">")&&!Pa(e.source,"/>");){if(Pa(e.source,"/")){ja(e,22),La(e,1),Da(e);continue}1===t&&ja(e,3);const r=Ba(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&ja(e,15),Da(e)}return n}function Ba(e,t){const n=Na(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&ja(e,2),t.add(o),"="===o[0]&&ja(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(o);)ja(e,17,n.index)}let r;La(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Da(e),La(e,1),Da(e),r=function(e){const t=Na(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){La(e,1);const t=e.source.indexOf(o);-1===t?n=Va(e,e.source.length,4):(n=Va(e,t,4),La(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)ja(e,18,r.index);n=Va(e,t[0].length,4)}return{content:n,isQuoted:r,loc:qa(e,t)}}(e),r||ja(e,13));const i=qa(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let s,a=t[1]||(Pa(o,":")?"bind":Pa(o,"@")?"on":"slot");if(t[2]){const r="slot"===a,i=o.lastIndexOf(t[2]),l=qa(e,Ia(e,n,i),Ia(e,n,i+t[2].length+(r&&t[3]||"").length));let c=t[2],u=!0;c.startsWith("[")?(u=!1,c.endsWith("]")||ja(e,26),c=c.substr(1,c.length-2)):r&&(c+=t[3]||""),s={type:4,content:c,isStatic:u,constType:u?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=na(e.start,r.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===a&&s&&l.includes("sync")&&ma("COMPILER_V_BIND_SYNC",e,0,s.loc.source)&&(a="model",l.splice(l.indexOf("sync"),1)),{type:7,name:a,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:s,modifiers:l,loc:i}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:i}}function Ma(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void ja(e,25);const i=Na(e);La(e,n.length);const s=Na(e),a=Na(e),l=r-n.length,c=e.source.slice(0,l),u=Va(e,l,t),d=u.trim(),p=u.indexOf(d);p>0&&oa(s,c,p);return oa(a,c,l-(u.length-d.length-p)),La(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:qa(e,s,a)},loc:qa(e,i)}}function Aa(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Na(e);return{type:2,content:Va(e,o,t),loc:qa(e,r)}}function Va(e,t,n){const o=e.source.slice(0,t);return La(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Na(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function qa(e,t,n){return{start:t,end:n=n||Na(e),source:e.originalSource.slice(t.offset,n.offset)}}function Fa(e){return e[e.length-1]}function Pa(e,t){return e.startsWith(t)}function La(e,t){const{source:n}=e;oa(e,n,t),e.source=n.slice(t)}function Da(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&La(e,t[0].length)}function Ia(e,t,n){return na(t,e.originalSource.slice(t.offset,n),n)}function ja(e,t,n,o=Na(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(rs(t,{start:o,end:o,source:""}))}function $a(e,t,n){const o=e.source;switch(t){case 0:if(Pa(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ra(o,n[e].tag))return!0;break;case 1:case 2:{const e=Fa(n);if(e&&Ra(o,e.tag))return!0;break}case 3:if(Pa(o,"]]>"))return!0}return!o}function Ra(e,t){return Pa(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function za(e,t){Ua(e,t,Ha(e,e.children[0]))}function Ha(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ua(t)}function Ua(e,t,n=!1){let o=!1,r=!0;const{children:i}=e;for(let e=0;e<i.length;e++){const s=i[e];if(1===s.type&&0===s.tagType){const e=n?0:Ka(s,t);if(e>0){if(e<3&&(r=!1),e>=2){s.codegenNode.patchFlag="-1",s.codegenNode=t.hoist(s.codegenNode),o=!0;continue}}else{const e=s.codegenNode;if(13===e.type){const n=Ya(e);if((!n||512===n||1===n)&&Wa(s,t)>=2){const n=Qa(s);n&&(e.props=t.hoist(n))}}}}else if(12===s.type){const e=Ka(s.content,t);e>0&&(e<3&&(r=!1),e>=2&&(s.codegenNode=t.hoist(s.codegenNode),o=!0))}if(1===s.type){const e=1===s.tagType;e&&t.scopes.vSlot++,Ua(s,t),e&&t.scopes.vSlot--}else if(11===s.type)Ua(s,t,1===s.children.length);else if(9===s.type)for(let e=0;e<s.branches.length;e++)Ua(s.branches[e],t,1===s.branches[e].children.length)}r&&o&&t.transformHoist&&t.transformHoist(i,t,e)}function Ka(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const i=e.codegenNode;if(13!==i.type)return 0;if(Ya(i))return n.set(e,0),0;{let o=3;const r=Wa(e,t);if(0===r)return n.set(e,0),0;r<o&&(o=r);for(let r=0;r<e.children.length;r++){const i=Ka(e.children[r],t);if(0===i)return n.set(e,0),0;i<o&&(o=i)}if(o>1)for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"bind"===i.name&&i.exp){const r=Ka(i.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return i.isBlock&&(t.removeHelper(us),t.removeHelper(ds),i.isBlock=!1,t.helper(ps)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ka(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if((0,r.isString)(o)||(0,r.isSymbol)(o))continue;const i=Ka(o,t);if(0===i)return 0;i<s&&(s=i)}return s;default:return 0}}function Wa(e,t){let n=3;const o=Qa(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:i}=e[o],s=Ka(r,t);if(0===s)return s;if(s<n&&(n=s),4!==i.type)return 0;const a=Ka(i,t);if(0===a)return a;a<n&&(n=a)}}return n}function Qa(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ya(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ja(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=r.NOOP,isCustomElement:u=r.NOOP,expressionPlugins:d=[],scopeId:p=null,slotted:f=!0,ssr:h=!1,ssrCssVars:m="",bindingMetadata:v=r.EMPTY_OBJ,inline:g=!1,isTS:y=!1,onError:b=ns,onWarn:w=os,compatConfig:x}){const _=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),k={selfName:_&&(0,r.capitalize)((0,r.camelize)(_[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:p,slotted:f,ssr:h,ssrCssVars:m,bindingMetadata:v,inline:g,isTS:y,onError:b,onWarn:w,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){const t=k.helpers.get(e);if(t){const n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString:e=>`_${Ls[k.helper(e)]}`,replaceNode(e){k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){const t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;e&&e!==k.currentNode?k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()):(k.currentNode=null,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){k.hoists.push(e);const t=zs(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Ds}}(++k.cached,e,t)};return k.filters=new Set,k}function Ga(e,t){const n=Ja(e,t);Za(e,n),t.hoistStatic&&za(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:i}=e;if(1===i.length){const t=i[0];if(Ha(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(ps),r.isBlock=!0,n(us),n(ds))),e.codegenNode=r}else e.codegenNode=t}else if(i.length>1){let o=64;r.PatchFlagNames[64];0,e.codegenNode=Is(t,n(is),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Za(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let i=0;i<n.length;i++){const s=n[i](e,t);if(s&&((0,r.isArray)(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(fs);break;case 5:t.ssr||t.helper(Ss);break;case 9:for(let n=0;n<e.branches.length;n++)Za(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];(0,r.isString)(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Za(i,t))}}(e,t)}t.currentNode=e;let i=o.length;for(;i--;)o[i]()}function Xa(e,t){const n=(0,r.isString)(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(la))return;const i=[];for(let s=0;s<r.length;s++){const a=r[s];if(7===a.type&&n(a.name)){r.splice(s,1),s--;const n=t(e,a,o);n&&i.push(n)}}return i}}}const el="/*#__PURE__*/";function tl(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssr:c=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:l,ssr:c,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Ls[e]}`,push(e,t){u.code+=e},indent(){d(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:d(--u.indentLevel)},newline(){d(u.indentLevel)}};function d(e){u.push("\n"+" ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:i,indent:s,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=e.helpers.length>0,p=!i&&"module"!==o;!function(e,t){const{ssr:n,prefixIdentifiers:o,push:r,newline:i,runtimeModuleName:s,runtimeGlobalName:a}=t,l=a,c=e=>`${Ls[e]}: _${Ls[e]}`;if(e.helpers.length>0&&(r(`const _Vue = ${l}\n`),e.hoists.length)){r(`const { ${[ps,fs,hs,ms].filter((t=>e.helpers.includes(t))).map(c).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o,helper:r,scopeId:i,mode:s}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),il(e,t),o())})),t.pure=!1})(e.hoists,t),i(),r("return ")}(e,n);if(r(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),p&&(r("with (_ctx) {"),s(),d&&(r(`const { ${e.helpers.map((e=>`${Ls[e]}: _${Ls[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(nl(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nl(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nl(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),u||r("return "),e.codegenNode?il(e.codegenNode,n):r("null"),p&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nl(e,t,{helper:n,push:o,newline:r}){const i=n("filter"===t?bs:"component"===t?vs:ys);for(let n=0;n<e.length;n++){let s=e[n];const a=s.endsWith("__self");a&&(s=s.slice(0,-6)),o(`const ${pa(s,t)} = ${i}(${JSON.stringify(s)}${a?", true":""})`),n<e.length-1&&r()}}function ol(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rl(e,t,n),n&&t.deindent(),t.push("]")}function rl(e,t,n=!1,o=!0){const{push:i,newline:s}=t;for(let a=0;a<e.length;a++){const l=e[a];(0,r.isString)(l)?i(l):(0,r.isArray)(l)?ol(l,t):il(l,t),a<e.length-1&&(n?(o&&i(","),s()):o&&i(", "))}}function il(e,t){if((0,r.isString)(e))t.push(e);else if((0,r.isSymbol)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:il(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:sl(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(el);n(`${o(Ss)}(`),il(e.content,t),n(")")}(e,t);break;case 12:il(e.codegenNode,t);break;case 8:al(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(el);n(`${o(fs)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:i,props:s,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:p}=e;u&&n(o(ws)+"(");d&&n(`(${o(us)}(${p?"true":""}), `);r&&n(el);n(o(d?ds:ps)+"(",e),rl(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,s,a,l,c]),t),n(")"),d&&n(")");u&&(n(", "),il(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:i}=t,s=(0,r.isString)(e.callee)?e.callee:o(e.callee);i&&n(el);n(s+"(",e),rl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:i}=t,{properties:s}=e;if(!s.length)return void n("{}",e);const a=s.length>1||!1;n(a?"{":"{ "),a&&o();for(let e=0;e<s.length;e++){const{key:o,value:r}=s[e];ll(o,t),n(": "),il(r,t),e<s.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){ol(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:i,scopeId:s,mode:a}=t,{params:l,returns:c,body:u,newline:d,isSlot:p}=e;p&&n(`_${Ls[qs]}(`);n("(",e),(0,r.isArray)(l)?rl(l,t):l&&il(l,t);n(") => "),(d||u)&&(n("{"),o());c?(d&&n("return "),(0,r.isArray)(c)?ol(c,t):il(c,t)):u&&il(u,t);(d||u)&&(i(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:i}=e,{push:s,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Zs(n.content);e&&s("("),sl(n,t),e&&s(")")}else s("("),il(n,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),il(o,t),t.indentLevel--,i&&c(),i||s(" "),s(": ");const u=19===r.type;u||t.indentLevel++;il(r,t),u||t.indentLevel--;i&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:i,newline:s}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Ms)}(-1),`),s());n(`_cache[${e.index}] = `),il(e.value,t),e.isVNode&&(n(","),s(),n(`${o(Ms)}(1),`),s(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:case 22:case 23:case 24:case 25:case 26:case 10:break;default:0}}function sl(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function al(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];(0,r.isString)(o)?t.push(o):il(o,t)}}function ll(e,t){const{push:n}=t;if(8===e.type)n("["),al(e,t),n("]");else if(e.isStatic){n(Zs(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const cl=Xa(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(rs(27,t.loc)),t.exp=zs("true",!1,o)}0;if("if"===t.name){const r=ul(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),o)return o(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-- >=-1;){const s=r[i];if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){n.removeNode();const r=ul(e,t);0,s.branches.push(r);const i=o&&o(s,r,!1);Za(r,n),i&&i(),n.currentNode=null}else n.onError(rs(29,e.loc));break}n.removeNode(s)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let i=r.indexOf(e),s=0;for(;i-- >=0;){const e=r[i];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(o)e.codegenNode=dl(t,s,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=dl(t,s+e.branches.length-1,n)}}}))));function ul(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||ra(e,"for")?[e]:e.children,userKey:ia(e,"key")}}function dl(e,t,n){return e.condition?Ws(e.condition,pl(e,t,n),Us(n.helper(fs),['""',"true"])):pl(e,t,n)}function pl(e,t,n){const{helper:o,removeHelper:i}=n,s=Rs("key",zs(`${t}`,!1,Ds,2)),{children:a}=e,l=a[0];if(1!==a.length||1!==l.type){if(1===a.length&&11===l.type){const e=l.codegenNode;return da(e,s,n),e}{let t=64;r.PatchFlagNames[64];return Is(n,o(is),$s([s]),a,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(i(ps),e.isBlock=!0,o(us),o(ds)),da(e,s,n),e}}const fl=Xa("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return void n.onError(rs(30,t.loc));const r=gl(t.exp,n);if(!r)return void n.onError(rs(31,t.loc));const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=n,{source:l,value:c,key:u,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:r,children:ca(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const f=o&&o(p);return()=>{a.vFor--,f&&f()}}(e,t,n,(t=>{const i=Us(o(xs),[t.source]),s=ia(e,"key"),a=s?Rs("key",6===s.type?zs(s.value.content,!0):s.exp):null,l=4===t.source.type&&t.source.constType>0,c=l?64:s?128:256;return t.codegenNode=Is(n,o(is),void 0,i,c+"",void 0,void 0,!0,!l,e.loc),()=>{let s;const c=ca(e),{children:u}=t;const d=1!==u.length||1!==u[0].type,p=ua(e)?e:c&&1===e.children.length&&ua(e.children[0])?e.children[0]:null;p?(s=p.codegenNode,c&&a&&da(s,a,n)):d?s=Is(n,o(is),a?$s([a]):void 0,e.children,"64",void 0,void 0,!0):(s=u[0].codegenNode,c&&a&&da(s,a,n),s.isBlock!==!l&&(s.isBlock?(r(us),r(ds)):r(ps)),s.isBlock=!l,s.isBlock?(o(us),o(ds)):o(ps)),i.arguments.push(Ks(bl(t.parseResult),s,!0))}}))}));const hl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ml=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,vl=/^\(|\)$/g;function gl(e,t){const n=e.loc,o=e.content,r=o.match(hl);if(!r)return;const[,i,s]=r,a={source:yl(n,s.trim(),o.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(vl,"").trim();const c=i.indexOf(l),u=l.match(ml);if(u){l=l.replace(ml,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,c+l.length),a.key=yl(n,e,t)),u[2]){const r=u[2].trim();r&&(a.index=yl(n,r,o.indexOf(r,a.key?t+e.length:c+l.length)))}}return l&&(a.value=yl(n,l,c)),a}function yl(e,t,n){return zs(t,!1,ta(e,n,t.length))}function bl({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(zs("_",!1)),o.push(t)),n&&(t||(e||o.push(zs("_",!1)),o.push(zs("__",!1))),o.push(n)),o}const wl=zs("undefined",!1),xl=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=ra(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},_l=(e,t,n)=>Ks(e,t,!1,!0,t.length?t[0].loc:n);function kl(e,t,n=_l){t.helper(qs);const{children:o,loc:r}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=ra(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Qs(e)&&(a=!0),i.push(Rs(e||zs("default",!0),n(t,o,r)))}let c=!1,u=!1;const d=[],p=new Set;for(let e=0;e<o.length;e++){const r=o[e];let f;if(!ca(r)||!(f=ra(r,"slot",!0))){3!==r.type&&d.push(r);continue}if(l){t.onError(rs(36,f.loc));break}c=!0;const{children:h,loc:m}=r,{arg:v=zs("default",!0),exp:g,loc:y}=f;let b;Qs(v)?b=v?v.content:"default":a=!0;const w=n(g,h,m);let x,_,k;if(x=ra(r,"if"))a=!0,s.push(Ws(x.exp,Sl(v,w),wl));else if(_=ra(r,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&(n=o[r],3===n.type););if(n&&ca(n)&&ra(n,"if")){o.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=_.exp?Ws(_.exp,Sl(v,w),wl):Sl(v,w)}else t.onError(rs(29,_.loc))}else if(k=ra(r,"for")){a=!0;const e=k.parseResult||gl(k.exp);e?s.push(Us(t.helper(xs),[e.source,Ks(bl(e),Sl(v,w),!0)])):t.onError(rs(31,k.loc))}else{if(b){if(p.has(b)){t.onError(rs(37,y));continue}p.add(b),"default"===b&&(u=!0)}i.push(Rs(v,w))}}if(!l){const e=(e,o)=>{const i=n(e,o,r);return t.compatConfig&&(i.isNonScopedSlot=!0),Rs("default",i)};c?d.length&&d.some((e=>Ol(e)))&&(u?t.onError(rs(38,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,o))}const f=a?2:Cl(e.children)?3:1;let h=$s(i.concat(Rs("_",zs(f+"",!1))),r);return s.length&&(h=Us(t.helper(ks),[h,js(s)])),{slots:h,hasDynamicSlots:a}}function Sl(e,t){return $s([Rs("name",e),Rs("fn",t)])}function Cl(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&Cl(n.children))return!0;break;case 9:if(Cl(n.branches))return!0;break;case 10:case 11:if(Cl(n.children))return!0}}return!1}function Ol(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Ol(e.content))}const Tl=new WeakMap,El=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,i=1===e.tagType;let s=i?function(e,t,n=!1){let{tag:o}=e;const r=Vl(o),i=ia(e,"is")||!r&&ra(e,"is");if(i)if(r||6!==i.type){const e=6===i.type?i.value&&zs(i.value.content,!0):i.exp;if(e)return Us(t.helper(gs),[e])}else o=i.value.content.replace(/^vue:/,"");const s=Js(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(vs),t.components.add(o),pa(o,"component")}(e,t):`"${n}"`;let a,l,c,u,d,p,f=0,h=(0,r.isObject)(s)&&s.callee===gs||s===ss||s===as||!i&&("svg"===n||"foreignObject"===n||ia(e,"key",!0));if(o.length>0){const n=Bl(e,t);a=n.props,f=n.patchFlag,d=n.dynamicPropNames;const o=n.directives;p=o&&o.length?js(o.map((e=>function(e,t){const n=[],o=Tl.get(e);o?n.push(t.helperString(o)):(t.helper(ys),t.directives.add(e.name),n.push(pa(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=zs("true",!1,r);n.push($s(e.modifiers.map((e=>Rs(e,t))),r))}return js(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ls&&(h=!0,f|=1024);if(i&&s!==ss&&s!==ls){const{slots:n,hasDynamicSlots:o}=kl(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==ss){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ka(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),d&&d.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(d))),e.codegenNode=Is(t,s,a,l,c,u,p,!!h,!1,e.loc)};function Bl(e,t,n=e.props,o=!1){const{tag:i,loc:s}=e,a=1===e.tagType;let l=[];const c=[],u=[];let d=0,p=!1,f=!1,h=!1,m=!1,v=!1,g=!1;const y=[],b=({key:e,value:n})=>{if(Qs(e)){const o=e.content,i=(0,r.isOn)(o);if(a||!i||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||(0,r.isReservedProp)(o)||(m=!0),i&&(0,r.isReservedProp)(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ka(n,t)>0)return;"ref"===o?p=!0:"class"!==o||a?"style"!==o||a?"key"===o||y.includes(o)||y.push(o):h=!0:f=!0}else v=!0};for(let d=0;d<n.length;d++){const f=n[d];if(6===f.type){const{loc:e,name:t,value:n}=f;let o=!0;if("ref"===t&&(p=!0),"is"===t&&(Vl(i)||n&&n.content.startsWith("vue:")))continue;l.push(Rs(zs(t,!0,ta(e,0,t.length)),zs(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:d,exp:p,loc:h}=f,m="bind"===n,g="on"===n;if("slot"===n){a||t.onError(rs(39,h));continue}if("once"===n)continue;if("is"===n||m&&Vl(i)&&sa(d,"is"))continue;if(g&&o)continue;if(!d&&(m||g)){if(v=!0,p)if(l.length&&(c.push($s(Ml(l),s)),l=[]),m){if(ha("COMPILER_V_BIND_OBJECT_ORDER",t)){c.unshift(p);continue}c.push(p)}else c.push({type:14,loc:h,callee:t.helper(Os),arguments:[p]});else t.onError(rs(m?33:34,h));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:i}=y(f,e,t);!o&&n.forEach(b),l.push(...n),i&&(u.push(f),(0,r.isSymbol)(i)&&Tl.set(f,i))}else u.push(f)}6===f.type&&"ref"===f.name&&t.scopes.vFor>0&&ma("COMPILER_V_FOR_REF",t,f.loc)&&l.push(Rs(zs("refInFor",!0),zs("true",!1)))}let w;return c.length?(l.length&&c.push($s(Ml(l),s)),w=c.length>1?Us(t.helper(Cs),c,s):c[0]):l.length&&(w=$s(Ml(l),s)),v?d|=16:(f&&(d|=2),h&&(d|=4),y.length&&(d|=8),m&&(d|=32)),0!==d&&32!==d||!(p||g||u.length>0)||(d|=512),{props:w,directives:u,patchFlag:d,dynamicPropNames:y}}function Ml(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,s=t.get(i);s?("style"===i||"class"===i||i.startsWith("on"))&&Al(s,r):(t.set(i,r),n.push(r))}return n}function Al(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=js([e.value,t.value],e.loc)}function Vl(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Nl=/-(\w)/g,ql=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(Nl,((e,t)=>t?t.toUpperCase():"")))),Fl=(e,t)=>{if(ua(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:i}=function(e,t){let n,o='"default"';const r=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?o=JSON.stringify(n.value.content):(n.name=ql(n.name),r.push(n))):"bind"===n.name&&sa(n.arg,"name")?n.exp&&(o=n.exp):("bind"===n.name&&n.arg&&Qs(n.arg)&&(n.arg.content=ql(n.arg.content)),r.push(n))}if(r.length>0){const{props:o,directives:i}=Bl(e,t,r);n=o,i.length&&t.onError(rs(35,i[0].loc))}return{slotName:o,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];i&&s.push(i),n.length&&(i||s.push("{}"),s.push(Ks([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(i||s.push("{}"),n.length||s.push("undefined"),s.push("true")),e.codegenNode=Us(t.helper(_s),s,o)}};const Pl=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Ll=(e,t,n,o)=>{const{loc:i,modifiers:s,arg:a}=e;let l;if(e.exp||s.length||n.onError(rs(34,i)),4===a.type)if(a.isStatic){const e=a.content;l=zs((0,r.toHandlerKey)((0,r.camelize)(e)),!0,a.loc)}else l=Hs([`${n.helperString(Bs)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(Bs)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c;if(c){const e=ea(c.content),t=!(e||Pl.test(c.content)),n=c.content.includes(";");0,(t||u&&e)&&(c=Hs([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let d={props:[Rs(l,c||zs("() => {}",!1,i))]};return o&&(d=o(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d},Dl=(e,t,n)=>{const{exp:o,modifiers:i,loc:s}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(4===a.type?a.isStatic?a.content=(0,r.camelize)(a.content):a.content=`${n.helperString(Ts)}(${a.content})`:(a.children.unshift(`${n.helperString(Ts)}(`),a.children.push(")"))),!o||4===o.type&&!o.content.trim()?(n.onError(rs(33,s)),{props:[Rs(a,zs("",!0,s))]}):{props:[Rs(a,o)]}},Il=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(aa(t)){r=!0;for(let r=e+1;r<n.length;r++){const i=n[r];if(!aa(i)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",i),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(aa(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ka(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Us(t.helper(hs),r)}}}}},jl=new WeakSet,$l=(e,t)=>{if(1===e.type&&ra(e,"once",!0)){if(jl.has(e))return;return jl.add(e),t.helper(Ms),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Rl=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(rs(40,e.loc)),zl();const i=o.loc.source,s=4===o.type?o.content:i;n.bindingMetadata[i];if(!ea(s))return n.onError(rs(41,o.loc)),zl();const a=r||zs("modelValue",!0),l=r?Qs(r)?`onUpdate:${r.content}`:Hs(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Hs([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const u=[Rs(a,e.exp),Rs(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Zs(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Qs(r)?`${r.content}Modifiers`:Hs([r,' + "Modifiers"']):"modelModifiers";u.push(Rs(n,zs(`{ ${t} }`,!1,e.loc,2)))}return zl(u)};function zl(e=[]){return{props:e}}const Hl=/[\w).+\-_$\]]/,Ul=(e,t)=>{ha("COMPILER_FILTER",t)&&(5===e.type&&Kl(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Kl(e.exp,t)})))};function Kl(e,t){if(4===e.type)Wl(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Wl(o,t):8===o.type?Kl(e,t):5===o.type&&Kl(o.content,t))}}function Wl(e,t){const n=e.content;let o,r,i,s,a=!1,l=!1,c=!1,u=!1,d=0,p=0,f=0,h=0,m=[];for(i=0;i<n.length;i++)if(r=o,o=n.charCodeAt(i),a)39===o&&92!==r&&(a=!1);else if(l)34===o&&92!==r&&(l=!1);else if(c)96===o&&92!==r&&(c=!1);else if(u)47===o&&92!==r&&(u=!1);else if(124!==o||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||p||f){switch(o){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===o){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Hl.test(e)||(u=!0)}}else void 0===s?(h=i+1,s=n.slice(0,i).trim()):v();function v(){m.push(n.slice(h,i).trim()),h=i+1}if(void 0===s?s=n.slice(0,i).trim():0!==h&&v(),m.length){for(i=0;i<m.length;i++)s=Ql(s,m[i],t);e.content=s}}function Ql(e,t,n){n.helper(bs);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${pa(t,"filter")}(${e})`;{const r=t.slice(0,o),i=t.slice(o+1);return n.filters.add(r),`${pa(r,"filter")}(${e}${")"!==i?","+i:i}`}}function Yl(e,t={}){const n=t.onError||ns,o="module"===t.mode;!0===t.prefixIdentifiers?n(rs(45)):o&&n(rs(46));t.cacheHandlers&&n(rs(47)),t.scopeId&&!o&&n(rs(48));const i=(0,r.isString)(e)?ba(e,t):e,[s,a]=[[$l,cl,fl,Ul,Fl,El,xl,Il],{on:Ll,bind:Dl,model:Rl}];return Ga(i,(0,r.extend)({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},a,t.directiveTransforms||{})})),tl(i,(0,r.extend)({},t,{prefixIdentifiers:false}))}const Jl=Symbol(""),Gl=Symbol(""),Zl=Symbol(""),Xl=Symbol(""),ec=Symbol(""),tc=Symbol(""),nc=Symbol(""),oc=Symbol(""),rc=Symbol(""),ic=Symbol("");var sc;let ac;sc={[Jl]:"vModelRadio",[Gl]:"vModelCheckbox",[Zl]:"vModelText",[Xl]:"vModelSelect",[ec]:"vModelDynamic",[tc]:"withModifiers",[nc]:"withKeys",[oc]:"vShow",[rc]:"Transition",[ic]:"TransitionGroup"},Object.getOwnPropertySymbols(sc).forEach((e=>{Ls[e]=sc[e]}));const lc=(0,r.makeMap)("style,iframe,script,noscript",!0),cc={isVoidTag:r.isVoidTag,isNativeTag:e=>(0,r.isHTMLTag)(e)||(0,r.isSVGTag)(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ac||(ac=document.createElement("div")),t?(ac.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ac.children[0].getAttribute("foo")):(ac.innerHTML=e,ac.textContent)},isBuiltInComponent:e=>Ys(e,"Transition")?rc:Ys(e,"TransitionGroup")?ic:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(lc(e))return 2}return 0}},uc=(e,t)=>{const n=(0,r.parseStringStyle)(e);return zs(JSON.stringify(n),!1,t,3)};function dc(e,t){return rs(e,t)}const pc=(0,r.makeMap)("passive,once,capture"),fc=(0,r.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),hc=(0,r.makeMap)("left,right"),mc=(0,r.makeMap)("onkeyup,onkeydown,onkeypress",!0),vc=(e,t)=>Qs(e)&&"onclick"===e.content.toLowerCase()?zs(t,!0):4!==e.type?Hs(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const gc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(dc(59,e.loc)),t.removeNode())},yc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:zs("style",!0,t.loc),exp:uc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],bc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(49,r)),t.children.length&&(n.onError(dc(50,r)),t.children.length=0),{props:[Rs(zs("innerHTML",!0,r),o||zs("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(51,r)),t.children.length&&(n.onError(dc(52,r)),t.children.length=0),{props:[Rs(zs("textContent",!0),o?Us(n.helperString(Ss),[o],r):zs("",!0))]}},model:(e,t,n)=>{const o=Rl(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(dc(54,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||i){let s=Zl,a=!1;if("input"===r||i){const o=ia(t,"type");if(o){if(7===o.type)s=ec;else if(o.value)switch(o.value.content){case"radio":s=Jl;break;case"checkbox":s=Gl;break;case"file":a=!0,n.onError(dc(55,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(s=ec)}else"select"===r&&(s=Xl);a||(o.needRuntime=n.helper(s))}else n.onError(dc(53,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Ll(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:i,value:s}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n,o)=>{const r=[],i=[],s=[];for(let o=0;o<t.length;o++){const a=t[o];"native"===a&&ma("COMPILER_V_ON_NATIVE",n)||pc(a)?s.push(a):hc(a)?Qs(e)?mc(e.content)?r.push(a):i.push(a):(r.push(a),i.push(a)):fc(a)?i.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:s}})(i,o,n,e.loc);if(l.includes("right")&&(i=vc(i,"onContextmenu")),l.includes("middle")&&(i=vc(i,"onMouseup")),l.length&&(s=Us(n.helper(tc),[s,JSON.stringify(l)])),!a.length||Qs(i)&&!mc(i.content)||(s=Us(n.helper(nc),[s,JSON.stringify(a)])),c.length){const e=c.map(r.capitalize).join("");i=Qs(i)?zs(`${i.content}${e}`,!0):Hs(["(",i,`) + "${e}"`])}return{props:[Rs(i,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(57,r)),{props:[],needRuntime:n.helper(oc)}}};const wc=Object.create(null);function xc(e,t){if(!(0,r.isString)(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const n=e,i=wc[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const{code:s}=function(e,t={}){return Yl(e,(0,r.extend)({},cc,t,{nodeTransforms:[gc,...yc,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},bc,t.directiveTransforms||{}),transformHoist:null}))}(e,(0,r.extend)({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},t));const a=new Function("Vue",s)(o);return a._rc=!0,wc[n]=a}hr(xc)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=t,e=[],o.O=(t,n,r,i)=>{if(!n){var s=1/0;for(c=0;c<e.length;c++){for(var[n,r,i]=e[c],a=!0,l=0;l<n.length;l++)(!1&i||s>=i)&&Object.keys(o.O).every((e=>o.O[e](n[l])))?n.splice(l--,1):(a=!1,i<s&&(s=i));a&&(e.splice(c--,1),t=r())}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,r,i]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={926:0,627:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var r,i,[s,a,l]=n,c=0;for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(l)var u=l(o);for(t&&t(n);c<s.length;c++)i=s[c],o.o(e,i)&&e[i]&&e[i][0](),e[s[c]]=0;return o.O(u)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),o.O(void 0,[627],(()=>o(3958)));var r=o.O(void 0,[627],(()=>o(7230)));r=o.O(r)})();
1
  /*! For license information please see conversationalForm.js.LICENSE.txt */
2
+ (()=>{var e,t={4750:(e,t,n)=>{"use strict";n.r(t),n.d(t,{afterMain:()=>_,afterRead:()=>b,afterWrite:()=>C,applyStyles:()=>V,arrow:()=>J,auto:()=>a,basePlacements:()=>l,beforeMain:()=>w,beforeRead:()=>g,beforeWrite:()=>k,bottom:()=>r,clippingParents:()=>d,computeStyles:()=>X,createPopper:()=>Me,createPopperBase:()=>Be,createPopperLite:()=>Ae,detectOverflow:()=>ve,end:()=>u,eventListeners:()=>te,flip:()=>ge,hide:()=>we,left:()=>s,main:()=>x,modifierPhases:()=>O,offset:()=>xe,placements:()=>v,popper:()=>f,popperGenerator:()=>Ee,popperOffsets:()=>_e,preventOverflow:()=>ke,read:()=>y,reference:()=>h,right:()=>i,start:()=>c,top:()=>o,variationPlacements:()=>m,viewport:()=>p,write:()=>S});var o="top",r="bottom",i="right",s="left",a="auto",l=[o,r,i,s],c="start",u="end",d="clippingParents",p="viewport",f="popper",h="reference",m=l.reduce((function(e,t){return e.concat([t+"-"+c,t+"-"+u])}),[]),v=[].concat(l,[a]).reduce((function(e,t){return e.concat([t,t+"-"+c,t+"-"+u])}),[]),g="beforeRead",y="read",b="afterRead",w="beforeMain",x="main",_="afterMain",k="beforeWrite",S="write",C="afterWrite",O=[g,y,b,w,x,_,k,S,C];function T(e){return e?(e.nodeName||"").toLowerCase():null}function E(e){if(null==e)return window;if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function B(e){return e instanceof E(e).Element||e instanceof Element}function M(e){return e instanceof E(e).HTMLElement||e instanceof HTMLElement}function A(e){return"undefined"!=typeof ShadowRoot&&(e instanceof E(e).ShadowRoot||e instanceof ShadowRoot)}const V={name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach((function(e){var n=t.styles[e]||{},o=t.attributes[e]||{},r=t.elements[e];M(r)&&T(r)&&(Object.assign(r.style,n),Object.keys(o).forEach((function(e){var t=o[e];!1===t?r.removeAttribute(e):r.setAttribute(e,!0===t?"":t)})))}))},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.styles=n,t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach((function(e){var o=t.elements[e],r=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce((function(e,t){return e[t]="",e}),{});M(o)&&T(o)&&(Object.assign(o.style,i),Object.keys(r).forEach((function(e){o.removeAttribute(e)})))}))}},requires:["computeStyles"]};function N(e){return e.split("-")[0]}function q(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function F(e){var t=q(e),n=e.offsetWidth,o=e.offsetHeight;return Math.abs(t.width-n)<=1&&(n=t.width),Math.abs(t.height-o)<=1&&(o=t.height),{x:e.offsetLeft,y:e.offsetTop,width:n,height:o}}function P(e,t){var n=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(n&&A(n)){var o=t;do{if(o&&e.isSameNode(o))return!0;o=o.parentNode||o.host}while(o)}return!1}function L(e){return E(e).getComputedStyle(e)}function D(e){return["table","td","th"].indexOf(T(e))>=0}function I(e){return((B(e)?e.ownerDocument:e.document)||window.document).documentElement}function j(e){return"html"===T(e)?e:e.assignedSlot||e.parentNode||(A(e)?e.host:null)||I(e)}function $(e){return M(e)&&"fixed"!==L(e).position?e.offsetParent:null}function R(e){for(var t=E(e),n=$(e);n&&D(n)&&"static"===L(n).position;)n=$(n);return n&&("html"===T(n)||"body"===T(n)&&"static"===L(n).position)?t:n||function(e){var t=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&M(e)&&"fixed"===L(e).position)return null;for(var n=j(e);M(n)&&["html","body"].indexOf(T(n))<0;){var o=L(n);if("none"!==o.transform||"none"!==o.perspective||"paint"===o.contain||-1!==["transform","perspective"].indexOf(o.willChange)||t&&"filter"===o.willChange||t&&o.filter&&"none"!==o.filter)return n;n=n.parentNode}return null}(e)||t}function z(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}var H=Math.max,U=Math.min,K=Math.round;function W(e,t,n){return H(e,U(t,n))}function Q(e){return Object.assign({},{top:0,right:0,bottom:0,left:0},e)}function Y(e,t){return t.reduce((function(t,n){return t[n]=e,t}),{})}const J={name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,a=e.name,c=e.options,u=n.elements.arrow,d=n.modifiersData.popperOffsets,p=N(n.placement),f=z(p),h=[s,i].indexOf(p)>=0?"height":"width";if(u&&d){var m=function(e,t){return Q("number"!=typeof(e="function"==typeof e?e(Object.assign({},t.rects,{placement:t.placement})):e)?e:Y(e,l))}(c.padding,n),v=F(u),g="y"===f?o:s,y="y"===f?r:i,b=n.rects.reference[h]+n.rects.reference[f]-d[f]-n.rects.popper[h],w=d[f]-n.rects.reference[f],x=R(u),_=x?"y"===f?x.clientHeight||0:x.clientWidth||0:0,k=b/2-w/2,S=m[g],C=_-v[h]-m[y],O=_/2-v[h]/2+k,T=W(S,O,C),E=f;n.modifiersData[a]=((t={})[E]=T,t.centerOffset=T-O,t)}},effect:function(e){var t=e.state,n=e.options.element,o=void 0===n?"[data-popper-arrow]":n;null!=o&&("string"!=typeof o||(o=t.elements.popper.querySelector(o)))&&P(t.elements.popper,o)&&(t.elements.arrow=o)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};var G={top:"auto",right:"auto",bottom:"auto",left:"auto"};function Z(e){var t,n=e.popper,a=e.popperRect,l=e.placement,c=e.offsets,u=e.position,d=e.gpuAcceleration,p=e.adaptive,f=e.roundOffsets,h=!0===f?function(e){var t=e.x,n=e.y,o=window.devicePixelRatio||1;return{x:K(K(t*o)/o)||0,y:K(K(n*o)/o)||0}}(c):"function"==typeof f?f(c):c,m=h.x,v=void 0===m?0:m,g=h.y,y=void 0===g?0:g,b=c.hasOwnProperty("x"),w=c.hasOwnProperty("y"),x=s,_=o,k=window;if(p){var S=R(n),C="clientHeight",O="clientWidth";S===E(n)&&"static"!==L(S=I(n)).position&&(C="scrollHeight",O="scrollWidth"),S=S,l===o&&(_=r,y-=S[C]-a.height,y*=d?1:-1),l===s&&(x=i,v-=S[O]-a.width,v*=d?1:-1)}var T,B=Object.assign({position:u},p&&G);return d?Object.assign({},B,((T={})[_]=w?"0":"",T[x]=b?"0":"",T.transform=(k.devicePixelRatio||1)<2?"translate("+v+"px, "+y+"px)":"translate3d("+v+"px, "+y+"px, 0)",T)):Object.assign({},B,((t={})[_]=w?y+"px":"",t[x]=b?v+"px":"",t.transform="",t))}const X={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,o=n.gpuAcceleration,r=void 0===o||o,i=n.adaptive,s=void 0===i||i,a=n.roundOffsets,l=void 0===a||a,c={placement:N(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign({},t.styles.popper,Z(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:s,roundOffsets:l})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign({},t.styles.arrow,Z(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:l})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})},data:{}};var ee={passive:!0};const te={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,o=e.options,r=o.scroll,i=void 0===r||r,s=o.resize,a=void 0===s||s,l=E(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&c.forEach((function(e){e.addEventListener("scroll",n.update,ee)})),a&&l.addEventListener("resize",n.update,ee),function(){i&&c.forEach((function(e){e.removeEventListener("scroll",n.update,ee)})),a&&l.removeEventListener("resize",n.update,ee)}},data:{}};var ne={left:"right",right:"left",bottom:"top",top:"bottom"};function oe(e){return e.replace(/left|right|bottom|top/g,(function(e){return ne[e]}))}var re={start:"end",end:"start"};function ie(e){return e.replace(/start|end/g,(function(e){return re[e]}))}function se(e){var t=E(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function ae(e){return q(I(e)).left+se(e).scrollLeft}function le(e){var t=L(e),n=t.overflow,o=t.overflowX,r=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+r+o)}function ce(e){return["html","body","#document"].indexOf(T(e))>=0?e.ownerDocument.body:M(e)&&le(e)?e:ce(j(e))}function ue(e,t){var n;void 0===t&&(t=[]);var o=ce(e),r=o===(null==(n=e.ownerDocument)?void 0:n.body),i=E(o),s=r?[i].concat(i.visualViewport||[],le(o)?o:[]):o,a=t.concat(s);return r?a:a.concat(ue(j(s)))}function de(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pe(e,t){return t===p?de(function(e){var t=E(e),n=I(e),o=t.visualViewport,r=n.clientWidth,i=n.clientHeight,s=0,a=0;return o&&(r=o.width,i=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,a=o.offsetTop)),{width:r,height:i,x:s+ae(e),y:a}}(e)):M(t)?function(e){var t=q(e);return t.top=t.top+e.clientTop,t.left=t.left+e.clientLeft,t.bottom=t.top+e.clientHeight,t.right=t.left+e.clientWidth,t.width=e.clientWidth,t.height=e.clientHeight,t.x=t.left,t.y=t.top,t}(t):de(function(e){var t,n=I(e),o=se(e),r=null==(t=e.ownerDocument)?void 0:t.body,i=H(n.scrollWidth,n.clientWidth,r?r.scrollWidth:0,r?r.clientWidth:0),s=H(n.scrollHeight,n.clientHeight,r?r.scrollHeight:0,r?r.clientHeight:0),a=-o.scrollLeft+ae(e),l=-o.scrollTop;return"rtl"===L(r||n).direction&&(a+=H(n.clientWidth,r?r.clientWidth:0)-i),{width:i,height:s,x:a,y:l}}(I(e)))}function fe(e,t,n){var o="clippingParents"===t?function(e){var t=ue(j(e)),n=["absolute","fixed"].indexOf(L(e).position)>=0&&M(e)?R(e):e;return B(n)?t.filter((function(e){return B(e)&&P(e,n)&&"body"!==T(e)})):[]}(e):[].concat(t),r=[].concat(o,[n]),i=r[0],s=r.reduce((function(t,n){var o=pe(e,n);return t.top=H(o.top,t.top),t.right=U(o.right,t.right),t.bottom=U(o.bottom,t.bottom),t.left=H(o.left,t.left),t}),pe(e,i));return s.width=s.right-s.left,s.height=s.bottom-s.top,s.x=s.left,s.y=s.top,s}function he(e){return e.split("-")[1]}function me(e){var t,n=e.reference,a=e.element,l=e.placement,d=l?N(l):null,p=l?he(l):null,f=n.x+n.width/2-a.width/2,h=n.y+n.height/2-a.height/2;switch(d){case o:t={x:f,y:n.y-a.height};break;case r:t={x:f,y:n.y+n.height};break;case i:t={x:n.x+n.width,y:h};break;case s:t={x:n.x-a.width,y:h};break;default:t={x:n.x,y:n.y}}var m=d?z(d):null;if(null!=m){var v="y"===m?"height":"width";switch(p){case c:t[m]=t[m]-(n[v]/2-a[v]/2);break;case u:t[m]=t[m]+(n[v]/2-a[v]/2)}}return t}function ve(e,t){void 0===t&&(t={});var n=t,s=n.placement,a=void 0===s?e.placement:s,c=n.boundary,u=void 0===c?d:c,m=n.rootBoundary,v=void 0===m?p:m,g=n.elementContext,y=void 0===g?f:g,b=n.altBoundary,w=void 0!==b&&b,x=n.padding,_=void 0===x?0:x,k=Q("number"!=typeof _?_:Y(_,l)),S=y===f?h:f,C=e.elements.reference,O=e.rects.popper,T=e.elements[w?S:y],E=fe(B(T)?T:T.contextElement||I(e.elements.popper),u,v),M=q(C),A=me({reference:M,element:O,strategy:"absolute",placement:a}),V=de(Object.assign({},O,A)),N=y===f?V:M,F={top:E.top-N.top+k.top,bottom:N.bottom-E.bottom+k.bottom,left:E.left-N.left+k.left,right:N.right-E.right+k.right},P=e.modifiersData.offset;if(y===f&&P){var L=P[a];Object.keys(F).forEach((function(e){var t=[i,r].indexOf(e)>=0?1:-1,n=[o,r].indexOf(e)>=0?"y":"x";F[e]+=L[n]*t}))}return F}const ge={name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,u=e.name;if(!t.modifiersData[u]._skip){for(var d=n.mainAxis,p=void 0===d||d,f=n.altAxis,h=void 0===f||f,g=n.fallbackPlacements,y=n.padding,b=n.boundary,w=n.rootBoundary,x=n.altBoundary,_=n.flipVariations,k=void 0===_||_,S=n.allowedAutoPlacements,C=t.options.placement,O=N(C),T=g||(O===C||!k?[oe(C)]:function(e){if(N(e)===a)return[];var t=oe(e);return[ie(e),t,ie(t)]}(C)),E=[C].concat(T).reduce((function(e,n){return e.concat(N(n)===a?function(e,t){void 0===t&&(t={});var n=t,o=n.placement,r=n.boundary,i=n.rootBoundary,s=n.padding,a=n.flipVariations,c=n.allowedAutoPlacements,u=void 0===c?v:c,d=he(o),p=d?a?m:m.filter((function(e){return he(e)===d})):l,f=p.filter((function(e){return u.indexOf(e)>=0}));0===f.length&&(f=p);var h=f.reduce((function(t,n){return t[n]=ve(e,{placement:n,boundary:r,rootBoundary:i,padding:s})[N(n)],t}),{});return Object.keys(h).sort((function(e,t){return h[e]-h[t]}))}(t,{placement:n,boundary:b,rootBoundary:w,padding:y,flipVariations:k,allowedAutoPlacements:S}):n)}),[]),B=t.rects.reference,M=t.rects.popper,A=new Map,V=!0,q=E[0],F=0;F<E.length;F++){var P=E[F],L=N(P),D=he(P)===c,I=[o,r].indexOf(L)>=0,j=I?"width":"height",$=ve(t,{placement:P,boundary:b,rootBoundary:w,altBoundary:x,padding:y}),R=I?D?i:s:D?r:o;B[j]>M[j]&&(R=oe(R));var z=oe(R),H=[];if(p&&H.push($[L]<=0),h&&H.push($[R]<=0,$[z]<=0),H.every((function(e){return e}))){q=P,V=!1;break}A.set(P,H)}if(V)for(var U=function(e){var t=E.find((function(t){var n=A.get(t);if(n)return n.slice(0,e).every((function(e){return e}))}));if(t)return q=t,"break"},K=k?3:1;K>0;K--){if("break"===U(K))break}t.placement!==q&&(t.modifiersData[u]._skip=!0,t.placement=q,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}};function ye(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function be(e){return[o,i,r,s].some((function(t){return e[t]>=0}))}const we={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,o=t.rects.reference,r=t.rects.popper,i=t.modifiersData.preventOverflow,s=ve(t,{elementContext:"reference"}),a=ve(t,{altBoundary:!0}),l=ye(s,o),c=ye(a,r,i),u=be(l),d=be(c);t.modifiersData[n]={referenceClippingOffsets:l,popperEscapeOffsets:c,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":u,"data-popper-escaped":d})}};const xe={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,a=n.offset,l=void 0===a?[0,0]:a,c=v.reduce((function(e,n){return e[n]=function(e,t,n){var r=N(e),a=[s,o].indexOf(r)>=0?-1:1,l="function"==typeof n?n(Object.assign({},t,{placement:e})):n,c=l[0],u=l[1];return c=c||0,u=(u||0)*a,[s,i].indexOf(r)>=0?{x:u,y:c}:{x:c,y:u}}(n,t.rects,l),e}),{}),u=c[t.placement],d=u.x,p=u.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=d,t.modifiersData.popperOffsets.y+=p),t.modifiersData[r]=c}};const _e={name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=me({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}};const ke={name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,a=e.name,l=n.mainAxis,u=void 0===l||l,d=n.altAxis,p=void 0!==d&&d,f=n.boundary,h=n.rootBoundary,m=n.altBoundary,v=n.padding,g=n.tether,y=void 0===g||g,b=n.tetherOffset,w=void 0===b?0:b,x=ve(t,{boundary:f,rootBoundary:h,padding:v,altBoundary:m}),_=N(t.placement),k=he(t.placement),S=!k,C=z(_),O="x"===C?"y":"x",T=t.modifiersData.popperOffsets,E=t.rects.reference,B=t.rects.popper,M="function"==typeof w?w(Object.assign({},t.rects,{placement:t.placement})):w,A={x:0,y:0};if(T){if(u||p){var V="y"===C?o:s,q="y"===C?r:i,P="y"===C?"height":"width",L=T[C],D=T[C]+x[V],I=T[C]-x[q],j=y?-B[P]/2:0,$=k===c?E[P]:B[P],K=k===c?-B[P]:-E[P],Q=t.elements.arrow,Y=y&&Q?F(Q):{width:0,height:0},J=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},G=J[V],Z=J[q],X=W(0,E[P],Y[P]),ee=S?E[P]/2-j-X-G-M:$-X-G-M,te=S?-E[P]/2+j+X+Z+M:K+X+Z+M,ne=t.elements.arrow&&R(t.elements.arrow),oe=ne?"y"===C?ne.clientTop||0:ne.clientLeft||0:0,re=t.modifiersData.offset?t.modifiersData.offset[t.placement][C]:0,ie=T[C]+ee-re-oe,se=T[C]+te-re;if(u){var ae=W(y?U(D,ie):D,L,y?H(I,se):I);T[C]=ae,A[C]=ae-L}if(p){var le="x"===C?o:s,ce="x"===C?r:i,ue=T[O],de=ue+x[le],pe=ue-x[ce],fe=W(y?U(de,ie):de,ue,y?H(pe,se):pe);T[O]=fe,A[O]=fe-ue}}t.modifiersData[a]=A}},requiresIfExists:["offset"]};function Se(e,t,n){void 0===n&&(n=!1);var o,r,i=I(t),s=q(e),a=M(t),l={scrollLeft:0,scrollTop:0},c={x:0,y:0};return(a||!a&&!n)&&(("body"!==T(t)||le(i))&&(l=(o=t)!==E(o)&&M(o)?{scrollLeft:(r=o).scrollLeft,scrollTop:r.scrollTop}:se(o)),M(t)?((c=q(t)).x+=t.clientLeft,c.y+=t.clientTop):i&&(c.x=ae(i))),{x:s.left+l.scrollLeft-c.x,y:s.top+l.scrollTop-c.y,width:s.width,height:s.height}}function Ce(e){var t=new Map,n=new Set,o=[];function r(e){n.add(e.name),[].concat(e.requires||[],e.requiresIfExists||[]).forEach((function(e){if(!n.has(e)){var o=t.get(e);o&&r(o)}})),o.push(e)}return e.forEach((function(e){t.set(e.name,e)})),e.forEach((function(e){n.has(e.name)||r(e)})),o}var Oe={placement:"bottom",modifiers:[],strategy:"absolute"};function Te(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some((function(e){return!(e&&"function"==typeof e.getBoundingClientRect)}))}function Ee(e){void 0===e&&(e={});var t=e,n=t.defaultModifiers,o=void 0===n?[]:n,r=t.defaultOptions,i=void 0===r?Oe:r;return function(e,t,n){void 0===n&&(n=i);var r,s,a={placement:"bottom",orderedModifiers:[],options:Object.assign({},Oe,i),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},l=[],c=!1,u={state:a,setOptions:function(n){d(),a.options=Object.assign({},i,a.options,n),a.scrollParents={reference:B(e)?ue(e):e.contextElement?ue(e.contextElement):[],popper:ue(t)};var r=function(e){var t=Ce(e);return O.reduce((function(e,n){return e.concat(t.filter((function(e){return e.phase===n})))}),[])}(function(e){var t=e.reduce((function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign({},n,t,{options:Object.assign({},n.options,t.options),data:Object.assign({},n.data,t.data)}):t,e}),{});return Object.keys(t).map((function(e){return t[e]}))}([].concat(o,a.options.modifiers)));return a.orderedModifiers=r.filter((function(e){return e.enabled})),a.orderedModifiers.forEach((function(e){var t=e.name,n=e.options,o=void 0===n?{}:n,r=e.effect;if("function"==typeof r){var i=r({state:a,name:t,instance:u,options:o}),s=function(){};l.push(i||s)}})),u.update()},forceUpdate:function(){if(!c){var e=a.elements,t=e.reference,n=e.popper;if(Te(t,n)){a.rects={reference:Se(t,R(n),"fixed"===a.options.strategy),popper:F(n)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach((function(e){return a.modifiersData[e.name]=Object.assign({},e.data)}));for(var o=0;o<a.orderedModifiers.length;o++)if(!0!==a.reset){var r=a.orderedModifiers[o],i=r.fn,s=r.options,l=void 0===s?{}:s,d=r.name;"function"==typeof i&&(a=i({state:a,options:l,name:d,instance:u})||a)}else a.reset=!1,o=-1}}},update:(r=function(){return new Promise((function(e){u.forceUpdate(),e(a)}))},function(){return s||(s=new Promise((function(e){Promise.resolve().then((function(){s=void 0,e(r())}))}))),s}),destroy:function(){d(),c=!0}};if(!Te(e,t))return u;function d(){l.forEach((function(e){return e()})),l=[]}return u.setOptions(n).then((function(e){!c&&n.onFirstUpdate&&n.onFirstUpdate(e)})),u}}var Be=Ee(),Me=Ee({defaultModifiers:[te,_e,X,V,xe,ge,ke,J,we]}),Ae=Ee({defaultModifiers:[te,_e,X,V]})},3577:(e,t,n)=>{"use strict";function o(e,t){const n=Object.create(null),o=e.split(",");for(let e=0;e<o.length;e++)n[o[e]]=!0;return t?e=>!!n[e.toLowerCase()]:e=>!!n[e]}n.r(t),n.d(t,{EMPTY_ARR:()=>P,EMPTY_OBJ:()=>F,NO:()=>D,NOOP:()=>L,PatchFlagNames:()=>r,babelParserDefaultPlugins:()=>q,camelize:()=>ce,capitalize:()=>pe,def:()=>ve,escapeHtml:()=>T,escapeHtmlComment:()=>B,extend:()=>R,generateCodeFrame:()=>a,getGlobalThis:()=>be,hasChanged:()=>he,hasOwn:()=>U,hyphenate:()=>de,invokeArrayFns:()=>me,isArray:()=>K,isBooleanAttr:()=>u,isDate:()=>Y,isFunction:()=>J,isGloballyWhitelisted:()=>s,isHTMLTag:()=>k,isIntegerKey:()=>ie,isKnownAttr:()=>v,isMap:()=>W,isModelListener:()=>$,isNoUnitNumericStyleProp:()=>m,isObject:()=>X,isOn:()=>j,isPlainObject:()=>re,isPromise:()=>ee,isReservedProp:()=>se,isSSRSafeAttrName:()=>f,isSVGTag:()=>S,isSet:()=>Q,isSpecialBooleanAttr:()=>c,isString:()=>G,isSymbol:()=>Z,isVoidTag:()=>C,looseEqual:()=>M,looseIndexOf:()=>A,makeMap:()=>o,normalizeClass:()=>_,normalizeStyle:()=>g,objectToString:()=>te,parseStringStyle:()=>w,propsToAttrMap:()=>h,remove:()=>z,slotFlagsText:()=>i,stringifyStyle:()=>x,toDisplayString:()=>V,toHandlerKey:()=>fe,toNumber:()=>ge,toRawType:()=>oe,toTypeString:()=>ne});const r={1:"TEXT",2:"CLASS",4:"STYLE",8:"PROPS",16:"FULL_PROPS",32:"HYDRATE_EVENTS",64:"STABLE_FRAGMENT",128:"KEYED_FRAGMENT",256:"UNKEYED_FRAGMENT",512:"NEED_PATCH",1024:"DYNAMIC_SLOTS",2048:"DEV_ROOT_FRAGMENT",[-1]:"HOISTED",[-2]:"BAIL"},i={1:"STABLE",2:"DYNAMIC",3:"FORWARDED"},s=o("Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt");function a(e,t=0,n=e.length){const o=e.split(/\r?\n/);let r=0;const i=[];for(let e=0;e<o.length;e++)if(r+=o[e].length+1,r>=t){for(let s=e-2;s<=e+2||n>r;s++){if(s<0||s>=o.length)continue;const a=s+1;i.push(`${a}${" ".repeat(Math.max(3-String(a).length,0))}| ${o[s]}`);const l=o[s].length;if(s===e){const e=t-(r-l)+1,o=Math.max(1,n>r?l-e:n-t);i.push(" | "+" ".repeat(e)+"^".repeat(o))}else if(s>e){if(n>r){const e=Math.max(Math.min(n-r,l),1);i.push(" | "+"^".repeat(e))}r+=l+1}}break}return i.join("\n")}const l="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",c=o(l),u=o(l+",async,autofocus,autoplay,controls,default,defer,disabled,hidden,loop,open,required,reversed,scoped,seamless,checked,muted,multiple,selected"),d=/[>/="'\u0009\u000a\u000c\u0020]/,p={};function f(e){if(p.hasOwnProperty(e))return p[e];const t=d.test(e);return t&&console.error(`unsafe attribute name: ${e}`),p[e]=!t}const h={acceptCharset:"accept-charset",className:"class",htmlFor:"for",httpEquiv:"http-equiv"},m=o("animation-iteration-count,border-image-outset,border-image-slice,border-image-width,box-flex,box-flex-group,box-ordinal-group,column-count,columns,flex,flex-grow,flex-positive,flex-shrink,flex-negative,flex-order,grid-row,grid-row-end,grid-row-span,grid-row-start,grid-column,grid-column-end,grid-column-span,grid-column-start,font-weight,line-clamp,line-height,opacity,order,orphans,tab-size,widows,z-index,zoom,fill-opacity,flood-opacity,stop-opacity,stroke-dasharray,stroke-dashoffset,stroke-miterlimit,stroke-opacity,stroke-width"),v=o("accept,accept-charset,accesskey,action,align,allow,alt,async,autocapitalize,autocomplete,autofocus,autoplay,background,bgcolor,border,buffered,capture,challenge,charset,checked,cite,class,code,codebase,color,cols,colspan,content,contenteditable,contextmenu,controls,coords,crossorigin,csp,data,datetime,decoding,default,defer,dir,dirname,disabled,download,draggable,dropzone,enctype,enterkeyhint,for,form,formaction,formenctype,formmethod,formnovalidate,formtarget,headers,height,hidden,high,href,hreflang,http-equiv,icon,id,importance,integrity,ismap,itemprop,keytype,kind,label,lang,language,loading,list,loop,low,manifest,max,maxlength,minlength,media,min,multiple,muted,name,novalidate,open,optimum,pattern,ping,placeholder,poster,preload,radiogroup,readonly,referrerpolicy,rel,required,reversed,rows,rowspan,sandbox,scope,scoped,selected,shape,size,sizes,slot,span,spellcheck,src,srcdoc,srclang,srcset,start,step,style,summary,tabindex,target,title,translate,type,usemap,value,width,wrap");function g(e){if(K(e)){const t={};for(let n=0;n<e.length;n++){const o=e[n],r=g(G(o)?w(o):o);if(r)for(const e in r)t[e]=r[e]}return t}if(X(e))return e}const y=/;(?![^(]*\))/g,b=/:(.+)/;function w(e){const t={};return e.split(y).forEach((e=>{if(e){const n=e.split(b);n.length>1&&(t[n[0].trim()]=n[1].trim())}})),t}function x(e){let t="";if(!e)return t;for(const n in e){const o=e[n],r=n.startsWith("--")?n:de(n);(G(o)||"number"==typeof o&&m(r))&&(t+=`${r}:${o};`)}return t}function _(e){let t="";if(G(e))t=e;else if(K(e))for(let n=0;n<e.length;n++){const o=_(e[n]);o&&(t+=o+" ")}else if(X(e))for(const n in e)e[n]&&(t+=n+" ");return t.trim()}const k=o("html,body,base,head,link,meta,style,title,address,article,aside,footer,header,h1,h2,h3,h4,h5,h6,hgroup,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,rtc,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot"),S=o("svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistanceLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view"),C=o("area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr"),O=/["'&<>]/;function T(e){const t=""+e,n=O.exec(t);if(!n)return t;let o,r,i="",s=0;for(r=n.index;r<t.length;r++){switch(t.charCodeAt(r)){case 34:o="&quot;";break;case 38:o="&amp;";break;case 39:o="&#39;";break;case 60:o="&lt;";break;case 62:o="&gt;";break;default:continue}s!==r&&(i+=t.substring(s,r)),s=r+1,i+=o}return s!==r?i+t.substring(s,r):i}const E=/^-?>|<!--|-->|--!>|<!-$/g;function B(e){return e.replace(E,"")}function M(e,t){if(e===t)return!0;let n=Y(e),o=Y(t);if(n||o)return!(!n||!o)&&e.getTime()===t.getTime();if(n=K(e),o=K(t),n||o)return!(!n||!o)&&function(e,t){if(e.length!==t.length)return!1;let n=!0;for(let o=0;n&&o<e.length;o++)n=M(e[o],t[o]);return n}(e,t);if(n=X(e),o=X(t),n||o){if(!n||!o)return!1;if(Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e){const o=e.hasOwnProperty(n),r=t.hasOwnProperty(n);if(o&&!r||!o&&r||!M(e[n],t[n]))return!1}}return String(e)===String(t)}function A(e,t){return e.findIndex((e=>M(e,t)))}const V=e=>null==e?"":X(e)?JSON.stringify(e,N,2):String(e),N=(e,t)=>W(t)?{[`Map(${t.size})`]:[...t.entries()].reduce(((e,[t,n])=>(e[`${t} =>`]=n,e)),{})}:Q(t)?{[`Set(${t.size})`]:[...t.values()]}:!X(t)||K(t)||re(t)?t:String(t),q=["bigInt","optionalChaining","nullishCoalescingOperator"],F={},P=[],L=()=>{},D=()=>!1,I=/^on[^a-z]/,j=e=>I.test(e),$=e=>e.startsWith("onUpdate:"),R=Object.assign,z=(e,t)=>{const n=e.indexOf(t);n>-1&&e.splice(n,1)},H=Object.prototype.hasOwnProperty,U=(e,t)=>H.call(e,t),K=Array.isArray,W=e=>"[object Map]"===ne(e),Q=e=>"[object Set]"===ne(e),Y=e=>e instanceof Date,J=e=>"function"==typeof e,G=e=>"string"==typeof e,Z=e=>"symbol"==typeof e,X=e=>null!==e&&"object"==typeof e,ee=e=>X(e)&&J(e.then)&&J(e.catch),te=Object.prototype.toString,ne=e=>te.call(e),oe=e=>ne(e).slice(8,-1),re=e=>"[object Object]"===ne(e),ie=e=>G(e)&&"NaN"!==e&&"-"!==e[0]&&""+parseInt(e,10)===e,se=o(",key,ref,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),ae=e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))},le=/-(\w)/g,ce=ae((e=>e.replace(le,((e,t)=>t?t.toUpperCase():"")))),ue=/\B([A-Z])/g,de=ae((e=>e.replace(ue,"-$1").toLowerCase())),pe=ae((e=>e.charAt(0).toUpperCase()+e.slice(1))),fe=ae((e=>e?`on${pe(e)}`:"")),he=(e,t)=>e!==t&&(e==e||t==t),me=(e,t)=>{for(let n=0;n<e.length;n++)e[n](t)},ve=(e,t,n)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,value:n})},ge=e=>{const t=parseFloat(e);return isNaN(t)?e:t};let ye;const be=()=>ye||(ye="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{})},3682:(e,t,n)=>{"use strict";var o=n(7363),r=(0,o.createVNode)("div",{class:"f-section-wrap"},null,-1),i=(0,o.createVNode)("div",null,null,-1),s={key:0,class:"f-invalid",role:"alert","aria-live":"assertive"},a={key:1,class:"text-success ff_completed ff-response ff-section-text"},l={class:"vff vff_layout_default"},c={class:"f-container"},u={class:"f-form-wrap"},d={class:"vff-animate q-form f-fade-in-up field-welcomescreen"};var p="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof self&&self||void 0!==p&&p,f="URLSearchParams"in p,h="Symbol"in p&&"iterator"in Symbol,m="FileReader"in p&&"Blob"in p&&function(){try{return new Blob,!0}catch(e){return!1}}(),v="FormData"in p,g="ArrayBuffer"in p;if(g)var y=["[object Int8Array]","[object Uint8Array]","[object Uint8ClampedArray]","[object Int16Array]","[object Uint16Array]","[object Int32Array]","[object Uint32Array]","[object Float32Array]","[object Float64Array]"],b=ArrayBuffer.isView||function(e){return e&&y.indexOf(Object.prototype.toString.call(e))>-1};function w(e){if("string"!=typeof e&&(e=String(e)),/[^a-z0-9\-#$%&'*+.^_`|~!]/i.test(e)||""===e)throw new TypeError('Invalid character in header field name: "'+e+'"');return e.toLowerCase()}function x(e){return"string"!=typeof e&&(e=String(e)),e}function _(e){var t={next:function(){var t=e.shift();return{done:void 0===t,value:t}}};return h&&(t[Symbol.iterator]=function(){return t}),t}function k(e){this.map={},e instanceof k?e.forEach((function(e,t){this.append(t,e)}),this):Array.isArray(e)?e.forEach((function(e){this.append(e[0],e[1])}),this):e&&Object.getOwnPropertyNames(e).forEach((function(t){this.append(t,e[t])}),this)}function S(e){if(e.bodyUsed)return Promise.reject(new TypeError("Already read"));e.bodyUsed=!0}function C(e){return new Promise((function(t,n){e.onload=function(){t(e.result)},e.onerror=function(){n(e.error)}}))}function O(e){var t=new FileReader,n=C(t);return t.readAsArrayBuffer(e),n}function T(e){if(e.slice)return e.slice(0);var t=new Uint8Array(e.byteLength);return t.set(new Uint8Array(e)),t.buffer}function E(){return this.bodyUsed=!1,this._initBody=function(e){var t;this.bodyUsed=this.bodyUsed,this._bodyInit=e,e?"string"==typeof e?this._bodyText=e:m&&Blob.prototype.isPrototypeOf(e)?this._bodyBlob=e:v&&FormData.prototype.isPrototypeOf(e)?this._bodyFormData=e:f&&URLSearchParams.prototype.isPrototypeOf(e)?this._bodyText=e.toString():g&&m&&((t=e)&&DataView.prototype.isPrototypeOf(t))?(this._bodyArrayBuffer=T(e.buffer),this._bodyInit=new Blob([this._bodyArrayBuffer])):g&&(ArrayBuffer.prototype.isPrototypeOf(e)||b(e))?this._bodyArrayBuffer=T(e):this._bodyText=e=Object.prototype.toString.call(e):this._bodyText="",this.headers.get("content-type")||("string"==typeof e?this.headers.set("content-type","text/plain;charset=UTF-8"):this._bodyBlob&&this._bodyBlob.type?this.headers.set("content-type",this._bodyBlob.type):f&&URLSearchParams.prototype.isPrototypeOf(e)&&this.headers.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"))},m&&(this.blob=function(){var e=S(this);if(e)return e;if(this._bodyBlob)return Promise.resolve(this._bodyBlob);if(this._bodyArrayBuffer)return Promise.resolve(new Blob([this._bodyArrayBuffer]));if(this._bodyFormData)throw new Error("could not read FormData body as blob");return Promise.resolve(new Blob([this._bodyText]))},this.arrayBuffer=function(){if(this._bodyArrayBuffer){var e=S(this);return e||(ArrayBuffer.isView(this._bodyArrayBuffer)?Promise.resolve(this._bodyArrayBuffer.buffer.slice(this._bodyArrayBuffer.byteOffset,this._bodyArrayBuffer.byteOffset+this._bodyArrayBuffer.byteLength)):Promise.resolve(this._bodyArrayBuffer))}return this.blob().then(O)}),this.text=function(){var e,t,n,o=S(this);if(o)return o;if(this._bodyBlob)return e=this._bodyBlob,t=new FileReader,n=C(t),t.readAsText(e),n;if(this._bodyArrayBuffer)return Promise.resolve(function(e){for(var t=new Uint8Array(e),n=new Array(t.length),o=0;o<t.length;o++)n[o]=String.fromCharCode(t[o]);return n.join("")}(this._bodyArrayBuffer));if(this._bodyFormData)throw new Error("could not read FormData body as text");return Promise.resolve(this._bodyText)},v&&(this.formData=function(){return this.text().then(A)}),this.json=function(){return this.text().then(JSON.parse)},this}k.prototype.append=function(e,t){e=w(e),t=x(t);var n=this.map[e];this.map[e]=n?n+", "+t:t},k.prototype.delete=function(e){delete this.map[w(e)]},k.prototype.get=function(e){return e=w(e),this.has(e)?this.map[e]:null},k.prototype.has=function(e){return this.map.hasOwnProperty(w(e))},k.prototype.set=function(e,t){this.map[w(e)]=x(t)},k.prototype.forEach=function(e,t){for(var n in this.map)this.map.hasOwnProperty(n)&&e.call(t,this.map[n],n,this)},k.prototype.keys=function(){var e=[];return this.forEach((function(t,n){e.push(n)})),_(e)},k.prototype.values=function(){var e=[];return this.forEach((function(t){e.push(t)})),_(e)},k.prototype.entries=function(){var e=[];return this.forEach((function(t,n){e.push([n,t])})),_(e)},h&&(k.prototype[Symbol.iterator]=k.prototype.entries);var B=["DELETE","GET","HEAD","OPTIONS","POST","PUT"];function M(e,t){if(!(this instanceof M))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');var n,o,r=(t=t||{}).body;if(e instanceof M){if(e.bodyUsed)throw new TypeError("Already read");this.url=e.url,this.credentials=e.credentials,t.headers||(this.headers=new k(e.headers)),this.method=e.method,this.mode=e.mode,this.signal=e.signal,r||null==e._bodyInit||(r=e._bodyInit,e.bodyUsed=!0)}else this.url=String(e);if(this.credentials=t.credentials||this.credentials||"same-origin",!t.headers&&this.headers||(this.headers=new k(t.headers)),this.method=(n=t.method||this.method||"GET",o=n.toUpperCase(),B.indexOf(o)>-1?o:n),this.mode=t.mode||this.mode||null,this.signal=t.signal||this.signal,this.referrer=null,("GET"===this.method||"HEAD"===this.method)&&r)throw new TypeError("Body not allowed for GET or HEAD requests");if(this._initBody(r),!("GET"!==this.method&&"HEAD"!==this.method||"no-store"!==t.cache&&"no-cache"!==t.cache)){var i=/([?&])_=[^&]*/;if(i.test(this.url))this.url=this.url.replace(i,"$1_="+(new Date).getTime());else{this.url+=(/\?/.test(this.url)?"&":"?")+"_="+(new Date).getTime()}}}function A(e){var t=new FormData;return e.trim().split("&").forEach((function(e){if(e){var n=e.split("="),o=n.shift().replace(/\+/g," "),r=n.join("=").replace(/\+/g," ");t.append(decodeURIComponent(o),decodeURIComponent(r))}})),t}function V(e,t){if(!(this instanceof V))throw new TypeError('Please use the "new" operator, this DOM object constructor cannot be called as a function.');t||(t={}),this.type="default",this.status=void 0===t.status?200:t.status,this.ok=this.status>=200&&this.status<300,this.statusText=void 0===t.statusText?"":""+t.statusText,this.headers=new k(t.headers),this.url=t.url||"",this._initBody(e)}M.prototype.clone=function(){return new M(this,{body:this._bodyInit})},E.call(M.prototype),E.call(V.prototype),V.prototype.clone=function(){return new V(this._bodyInit,{status:this.status,statusText:this.statusText,headers:new k(this.headers),url:this.url})},V.error=function(){var e=new V(null,{status:0,statusText:""});return e.type="error",e};var N=[301,302,303,307,308];V.redirect=function(e,t){if(-1===N.indexOf(t))throw new RangeError("Invalid status code");return new V(null,{status:t,headers:{location:e}})};var q=p.DOMException;try{new q}catch(e){(q=function(e,t){this.message=e,this.name=t;var n=Error(e);this.stack=n.stack}).prototype=Object.create(Error.prototype),q.prototype.constructor=q}function F(e,t){return new Promise((function(n,o){var r=new M(e,t);if(r.signal&&r.signal.aborted)return o(new q("Aborted","AbortError"));var i=new XMLHttpRequest;function s(){i.abort()}i.onload=function(){var e,t,o={status:i.status,statusText:i.statusText,headers:(e=i.getAllResponseHeaders()||"",t=new k,e.replace(/\r?\n[\t ]+/g," ").split("\r").map((function(e){return 0===e.indexOf("\n")?e.substr(1,e.length):e})).forEach((function(e){var n=e.split(":"),o=n.shift().trim();if(o){var r=n.join(":").trim();t.append(o,r)}})),t)};o.url="responseURL"in i?i.responseURL:o.headers.get("X-Request-URL");var r="response"in i?i.response:i.responseText;setTimeout((function(){n(new V(r,o))}),0)},i.onerror=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.ontimeout=function(){setTimeout((function(){o(new TypeError("Network request failed"))}),0)},i.onabort=function(){setTimeout((function(){o(new q("Aborted","AbortError"))}),0)},i.open(r.method,function(e){try{return""===e&&p.location.href?p.location.href:e}catch(t){return e}}(r.url),!0),"include"===r.credentials?i.withCredentials=!0:"omit"===r.credentials&&(i.withCredentials=!1),"responseType"in i&&(m?i.responseType="blob":g&&r.headers.get("Content-Type")&&-1!==r.headers.get("Content-Type").indexOf("application/octet-stream")&&(i.responseType="arraybuffer")),!t||"object"!=typeof t.headers||t.headers instanceof k?r.headers.forEach((function(e,t){i.setRequestHeader(t,e)})):Object.getOwnPropertyNames(t.headers).forEach((function(e){i.setRequestHeader(e,x(t.headers[e]))})),r.signal&&(r.signal.addEventListener("abort",s),i.onreadystatechange=function(){4===i.readyState&&r.signal.removeEventListener("abort",s)}),i.send(void 0===r._bodyInit?null:r._bodyInit)}))}F.polyfill=!0,p.fetch||(p.fetch=F,p.Headers=k,p.Request=M,p.Response=V);var P={class:"f-container"},L={class:"f-form-wrap"},D={key:0,class:"vff-animate f-fade-in-up field-submittype"},I={class:"f-section-wrap"},j={class:"fh2"},$={key:2,class:"text-success"},R={class:"vff-footer"},z={class:"footer-inner-wrap"},H={key:0,class:"ffc_progress_label"},U={class:"f-progress-bar"},K={key:1,class:"f-nav"},W={key:0,href:"https://fluentforms.com/",target:"_blank",rel:"noopener",class:"ffc_power"},Q=(0,o.createTextVNode)(" Powered by "),Y=(0,o.createVNode)("b",null,"FluentForms",-1),J=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),G={class:"f-nav-text","aria-hidden":"true"},Z=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),X={class:"f-nav-text","aria-hidden":"true"},ee={key:2,class:"f-timer"};var te={class:"ffc_q_header"},ne={key:1,class:"f-text"},oe=(0,o.createVNode)("span",{"aria-hidden":"true"},"*",-1),re={key:1,class:"f-answer"},ie={key:0,class:"f-answer f-full-width"},se={key:1,class:"f-sub"},ae={key:2,class:"f-help"},le={key:3,class:"f-help"},ce={key:1,class:"f-description"},ue={key:0},de={key:0,class:"vff-animate f-fade-in f-enter"},pe={key:0},fe={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"},he={key:0,class:"ff_conv_media_holder"},me={key:0,class:"fc_image_holder"};var ve={class:"ffc-counter"},ge={class:"ffc-counter-in"},ye={class:"ffc-counter-div"},be={class:"counter-value"},we=(0,o.createVNode)("div",{class:" counter-icon-container"},[(0,o.createVNode)("span",{class:"counter-icon-span"},[(0,o.createVNode)("svg",{height:"10",width:"11"},[(0,o.createVNode)("path",{d:"M7.586 5L4.293 1.707 5.707.293 10.414 5 5.707 9.707 4.293 8.293z"}),(0,o.createVNode)("path",{d:"M8 4v2H0V4z"})])])],-1);const xe={name:"Counter",props:["serial"],render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",ve,[(0,o.createVNode)("div",ge,[(0,o.createVNode)("div",ye,[(0,o.createVNode)("span",be,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.serial),1)]),we])])])}},_e=xe;function ke(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function Se(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ke(Object(n),!0).forEach((function(t){Ce(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ke(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Ce(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const Oe={name:"SubmitButton",props:["language","disabled"],data:function(){return{hover:!1}},computed:{button:function(){return this.globalVars.form.submit_button},btnStyles:function(){if(""!=this.button.settings.button_style)return"default"===this.button.settings.button_style?{}:{backgroundColor:this.button.settings.background_color,color:this.button.settings.color};var e=this.button.settings.normal_styles,t="normal_styles";this.hover&&(t="hover_styles");var n=JSON.parse(JSON.stringify(this.button.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,Se(Se({},e),n)},btnStyleClass:function(){return this.button.settings.button_style},btnSize:function(){return"ff-btn-"+this.button.settings.button_size}},methods:{submit:function(){this.$emit("submit")},toggleHover:function(e){this.hover=e}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"ff-btn-submit-"+s.button.settings.align},["default"==s.button.settings.button_ui.type?((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,type:"button",class:["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]],style:s.btnStyles,"aria-label":n.language.ariaSubmitText,disabled:n.disabled,onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),onMouseenter:t[2]||(t[2]=function(e){return s.toggleHover(!0)}),onMouseleave:t[3]||(t[3]=function(e){return s.toggleHover(!1)})},[(0,o.createVNode)("span",{innerHTML:s.button.settings.button_ui.text},null,8,["innerHTML"])],46,["aria-label","disabled"])):((0,o.openBlock)(),(0,o.createBlock)("img",{key:1,disabled:n.disabled,src:s.button.settings.button_ui.img_url,"aria-label":n.language.ariaSubmitText,style:{"max-width":"200px"},onClick:t[4]||(t[4]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"]))},null,8,["disabled","src","aria-label"])),(0,o.createVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[5]||(t[5]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])],2)}},Te=Oe;function Ee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Be(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function Me(e,t,n){return t&&Be(e.prototype,t),n&&Be(e,n),e}var Ae=Object.freeze({Date:"FlowFormDateType",Dropdown:"FlowFormDropdownType",Email:"FlowFormEmailType",File:"FlowFormFileType",LongText:"FlowFormLongTextType",MultipleChoice:"FlowFormMultipleChoiceType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType",Number:"FlowFormNumberType",Password:"FlowFormPasswordType",Phone:"FlowFormPhoneType",SectionBreak:"FlowFormSectionBreakType",Text:"FlowFormTextType",Url:"FlowFormUrlType"}),Ve=(Object.freeze({label:"",value:"",disabled:!0}),Object.freeze({Date:"##/##/####",DateIso:"####-##-##",PhoneUs:"(###) ###-####"})),Ne=function(){function e(t){Ee(this,e),this.label="",this.value=null,this.selected=!1,this.imageSrc=null,this.imageAlt=null,Object.assign(this,t)}return Me(e,[{key:"choiceLabel",value:function(){return this.label||this.value}},{key:"choiceValue",value:function(){return null!==this.value?this.value:this.label||this.imageAlt||this.imageSrc}},{key:"toggle",value:function(){this.selected=!this.selected}}]),e}(),qe=function e(t){Ee(this,e),this.url="",this.text="",this.target="_blank",Object.assign(this,t)},Fe=function(){function e(t){Ee(this,e),this.id=null,this.answer=null,this.answered=!1,this.index=0,this.options=[],this.description="",this.className="",this.type=null,this.html=null,this.required=!1,this.jump=null,this.placeholder=null,this.mask="",this.multiple=!1,this.allowOther=!1,this.other=null,this.language=null,this.tagline=null,this.title=null,this.subtitle=null,this.content=null,this.inline=!1,this.helpText=null,this.helpTextShow=!0,this.descriptionLink=[],this.min=null,this.max=null,this.maxLength=null,this.nextStepOnAnswer=!1,this.accept=null,this.maxSize=null,Object.assign(this,t),this.type===Ae.Phone&&(this.mask||(this.mask=Ve.Phone),this.placeholder||(this.placeholder=this.mask)),this.type===Ae.Url&&(this.mask=null),this.type!==Ae.Date||this.placeholder||(this.placeholder="yyyy-mm-dd"),this.multiple&&!Array.isArray(this.answer)&&(this.answer=this.answer?[this.answer]:[]),this.resetOptions()}return Me(e,[{key:"getJumpId",value:function(){var e=null;return"function"==typeof this.jump?e=this.jump.call(this):this.jump[this.answer]?e=this.jump[this.answer]:this.jump._other&&(e=this.jump._other),e}},{key:"setAnswer",value:function(e){this.type!==Ae.Number||""===e||isNaN(+e)||(e=+e),this.answer=e}},{key:"setIndex",value:function(e){this.id||(this.id="q_"+e),this.index=e}},{key:"resetOptions",value:function(){var e=this;if(this.options){var t=Array.isArray(this.answer),n=0;if(this.options.forEach((function(o){var r=o.choiceValue();(e.answer===r||t&&-1!==e.answer.indexOf(r))&&(o.selected=!0,++n)})),this.allowOther){var o=null;t?this.answer.length&&this.answer.length!==n&&(o=this.answer[this.answer.length-1]):-1===this.options.map((function(e){return e.choiceValue()})).indexOf(this.answer)&&(o=this.answer),null!==o&&(this.other=o)}}}},{key:"isMultipleChoiceType",value:function(){return[Ae.MultipleChoice,Ae.MultiplePictureChoice].includes(this.type)}}]),e}();function Pe(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}var Le=function(){function e(t){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.enterKey="Enter",this.shiftKey="Shift",this.ok="OK",this.continue="Continue",this.skip="Skip",this.pressEnter="Press :enterKey",this.multipleChoiceHelpText="Choose as many as you like",this.multipleChoiceHelpTextSingle="Choose only one answer",this.otherPrompt="Other",this.placeholder="Type your answer here...",this.submitText="Submit",this.longTextHelpText=":shiftKey + :enterKey to make a line break.",this.prev="Prev",this.next="Next",this.percentCompleted=":percent% completed",this.invalidPrompt="Please fill out the field correctly",this.thankYouText="Thank you!",this.successText="Your submission has been sent.",this.ariaOk="Press to continue",this.ariaRequired="This step is required",this.ariaPrev="Previous step",this.ariaNext="Next step",this.ariaSubmitText="Press to submit",this.ariaMultipleChoice="Press :letter to select",this.ariaTypeAnswer="Type your answer here",this.errorAllowedFileTypes="Invalid file type. Allowed file types: :fileTypes.",this.errorMaxFileSize="File(s) too large. Maximum allowed file size: :size.",this.errorMinFiles="Too few files added. Minimum allowed files: :min.",this.errorMaxFiles="Too many files added. Maximum allowed files: :max.",Object.assign(this,t||{})}var t,n,o;return t=e,(n=[{key:"formatString",value:function(e,t){var n=this;return e.replace(/:(\w+)/g,(function(e,o){return n[o]?'<span class="f-string-em">'+n[o]+"</span>":t&&t[o]?t[o]:e}))}},{key:"formatFileSize",value:function(e){var t=e>0?Math.floor(Math.log(e)/Math.log(1024)):0;return 1*(e/Math.pow(1024,t)).toFixed(2)+" "+["B","kB","MB","GB","TB"][t]}}])&&Pe(t.prototype,n),o&&Pe(t,o),e}(),De=!1,Ie=!1;"undefined"!=typeof navigator&&"undefined"!=typeof document&&(De=navigator.userAgent.match(/iphone|ipad|ipod/i)||-1!==navigator.userAgent.indexOf("Mac")&&"ontouchend"in document,Ie=De||navigator.userAgent.match(/android/i));var je={data:function(){return{isIos:De,isMobile:Ie}}};const $e={name:"FlowFormBaseType",props:{language:Le,question:Fe,active:Boolean,disabled:Boolean,modelValue:[String,Array,Boolean,Number,Object]},mixins:[je],data:function(){return{dirty:!1,dataValue:null,answer:null,enterPressed:!1,allowedChars:null,alwaysAllowedKeys:["ArrowLeft","ArrowRight","Delete","Backspace"],focused:!1,canReceiveFocus:!1,errorMessage:null}},mounted:function(){this.question.answer?this.dataValue=this.answer=this.question.answer:this.question.multiple&&(this.dataValue=[])},methods:{fixAnswer:function(e){return e},getElement:function(){for(var e=this.$refs.input;e&&e.$el;)e=e.$el;return e},setFocus:function(){this.focused=!0},unsetFocus:function(e){this.focused=!1},focus:function(){if(!this.focused){var e=this.getElement();e&&e.focus()}},blur:function(){var e=this.getElement();e&&e.blur()},onKeyDown:function(e){this.enterPressed=!1,clearTimeout(this.timeoutId),e&&("Enter"!==e.key||e.shiftKey||this.unsetFocus(),null!==this.allowedChars&&-1===this.alwaysAllowedKeys.indexOf(e.key)&&-1===this.allowedChars.indexOf(e.key)&&e.preventDefault())},onChange:function(e){this.dirty=!0,this.dataValue=e.target.value,this.onKeyDown(),this.setAnswer(this.dataValue)},onEnter:function(){this._onEnter()},_onEnter:function(){this.enterPressed=!0,this.dataValue=this.fixAnswer(this.dataValue),this.setAnswer(this.dataValue),this.isValid()?this.blur():this.focus()},setAnswer:function(e){this.question.setAnswer(e),this.answer=this.question.answer,this.question.answered=this.isValid(),this.$emit("update:modelValue",this.answer)},showInvalid:function(){return this.dirty&&this.enterPressed&&!this.isValid()},isValid:function(){return!(this.question.required||this.hasValue||!this.dirty)||!!this.validate()},validate:function(){return!this.question.required||this.hasValue}},computed:{placeholder:function(){return this.question.placeholder||this.language.placeholder},hasValue:function(){if(null!==this.dataValue){var e=this.dataValue;return e.trim?e.trim().length>0:!Array.isArray(e)||e.length>0}return!1}}};function Re(e,t,n=!0,o){e=e||"",t=t||"";for(var r=0,i=0,s="";r<t.length&&i<e.length;){var a=o[u=t[r]],l=e[i];a&&!a.escape?(a.pattern.test(l)&&(s+=a.transform?a.transform(l):l,r++),i++):(a&&a.escape&&(u=t[++r]),n&&(s+=u),l===u&&i++,r++)}for(var c="";r<t.length&&n;){var u;if(o[u=t[r]]){c="";break}c+=u,r++}return s+c}function ze(e,t,n=!0,o){return Array.isArray(t)?function(e,t,n){return t=t.sort(((e,t)=>e.length-t.length)),function(o,r,i=!0){for(var s=0;s<t.length;){var a=t[s];s++;var l=t[s];if(!(l&&e(o,l,!0,n).length>a.length))return e(o,a,i,n)}return""}}(Re,t,o)(e,t,n,o):Re(e,t,n,o)}var He=n(5460),Ue=n.n(He);function Ke(e){var t=document.createEvent("Event");return t.initEvent(e,!0,!0),t}const We={name:"TheMask",props:{value:[String,Number],mask:{type:[String,Array],required:!0},masked:{type:Boolean,default:!1},tokens:{type:Object,default:()=>Ue()}},directives:{mask:function(e,t){var n=t.value;if((Array.isArray(n)||"string"==typeof n)&&(n={mask:n,tokens:Ue()}),"INPUT"!==e.tagName.toLocaleUpperCase()){var o=e.getElementsByTagName("input");if(1!==o.length)throw new Error("v-mask directive requires 1 input, found "+o.length);e=o[0]}e.oninput=function(t){if(t.isTrusted){var o=e.selectionEnd,r=e.value[o-1];for(e.value=ze(e.value,n.mask,!0,n.tokens);o<e.value.length&&e.value.charAt(o-1)!==r;)o++;e===document.activeElement&&(e.setSelectionRange(o,o),setTimeout((function(){e.setSelectionRange(o,o)}),0)),e.dispatchEvent(Ke("input"))}};var r=ze(e.value,n.mask,!0,n.tokens);r!==e.value&&(e.value=r,e.dispatchEvent(Ke("input")))}},data(){return{lastValue:null,display:this.value}},watch:{value(e){e!==this.lastValue&&(this.display=e)},masked(){this.refresh(this.display)}},computed:{config(){return{mask:this.mask,tokens:this.tokens,masked:this.masked}}},methods:{onInput(e){e.isTrusted||this.refresh(e.target.value)},refresh(e){this.display=e,(e=ze(e,this.mask,this.masked,this.tokens))!==this.lastValue&&(this.lastValue=e,this.$emit("input",e))}},render:function(e,t,n,r,i,s){const a=(0,o.resolveDirective)("mask");return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{type:"text",value:i.display,onInput:t[1]||(t[1]=(...e)=>s.onInput&&s.onInput(...e))},null,40,["value"])),[[a,s.config]])}},Qe=We,Ye={extends:$e,name:Ae.Text,components:{TheMask:Qe},data:function(){return{inputType:"text",canReceiveFocus:!0}},methods:{validate:function(){return this.question.mask&&this.hasValue?this.validateMask():!this.question.required||this.hasValue},validateMask:function(){var e=this;return Array.isArray(this.question.mask)?this.question.mask.some((function(t){return t.length===e.dataValue.length})):this.dataValue.length===this.question.mask.length}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createBlock)("span",{"data-placeholder":"date"===i.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",mask:e.question.mask,masked:!1,type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["mask","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,ref:"input",type:i.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[1]||(t[1]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[5]||(t[5]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[6]||(t[6]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder,maxlength:e.question.maxLength},null,40,["type","value","required","min","max","placeholder","maxlength"]))],8,["data-placeholder"])}},Je=Ye,Ge={extends:Je,name:Ae.Url,data:function(){return{inputType:"url"}},methods:{fixAnswer:function(e){return e&&-1===e.indexOf("://")&&(e="https://"+e),e},validate:function(){if(this.hasValue)try{new URL(this.fixAnswer(this.dataValue));return!0}catch(e){return!1}return!this.question.required}}},Ze={extends:Ge,methods:{validate:function(){if(this.hasValue&&!new RegExp("^(http|https|ftp|ftps)://([a-zA-Z0-9.-]+(:[a-zA-Z0-9.&amp;%$-]+)*@)*((25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[1-9]|0).(25[0-5]|2[0-4][0-9]|[0-1]{1}[0-9]{2}|[1-9]{1}[0-9]{1}|[0-9])|([a-zA-Z0-9-]+.)*[a-zA-Z0-9-]+.(com|[a-zA-Z]{2,10}))(:[0-9]+)*(/($|[a-zA-Z0-9.,?'\\+&amp;%$#=~_-]+))*$").test(this.fixAnswer(this.dataValue)))return this.errorMessage=this.question.validationRules.url.message,!1;return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}};const Xe={extends:Je,data:function(){return{tokens:{"*":{pattern:/[0-9a-zA-Z]/},0:{pattern:/\d/},9:{pattern:/\d/,optional:!0},"#":{pattern:/\d/,recursive:!0},A:{pattern:/[a-zA-Z0-9]/},S:{pattern:/[a-zA-Z]/}}}},methods:{validate:function(){if(this.question.mask&&this.hasValue){var e=this.validateMask();return e||(this.errorMessage=this.language.invalidPrompt),e}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("the-mask");return(0,o.openBlock)(),(0,o.createBlock)("span",{"data-placeholder":"date"===e.inputType?e.placeholder:null},[e.question.mask?((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,ref:"input",mask:e.question.mask,masked:!1,tokens:i.tokens,type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:e.onKeyDown,onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(e.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:e.unsetFocus,placeholder:e.placeholder,min:e.question.min,max:e.question.max,onChange:e.onChange},null,8,["mask","tokens","type","value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","min","max","onChange"])):((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,ref:"input",type:e.inputType,value:e.modelValue,required:e.question.required,onKeydown:t[1]||(t[1]=function(){return e.onKeyDown&&e.onKeyDown.apply(e,arguments)}),onKeyup:[t[2]||(t[2]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[5]||(t[5]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[6]||(t[6]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),min:e.question.min,max:e.question.max,onChange:t[7]||(t[7]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),placeholder:e.placeholder},null,40,["type","value","required","min","max","placeholder"]))],8,["data-placeholder"])}},et=Xe;var tt={class:"star-rating"},nt=(0,o.createVNode)("div",{class:"star"},"★",-1),ot={class:"number"};const rt={name:"FormBaseType",extends:$e};var it={class:"f-radios-wrap"},st={key:0,class:"f-image"},at={class:"f-label-wrap"},lt={title:"Press the key to select",class:"f-key"},ct={key:0,class:"f-label"},ut=(0,o.createVNode)("span",{class:"ffc_check_svg"},[(0,o.createVNode)("svg",{height:"13",width:"16"},[(0,o.createVNode)("path",{d:"M14.293.293l1.414 1.414L5 12.414.293 7.707l1.414-1.414L5 9.586z"})])],-1),dt={class:"f-label-wrap"},pt={key:0,class:"f-key"},ft={key:2,class:"f-selected"},ht={class:"f-label"},mt={key:3,class:"f-label"};function vt(e){return(vt="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function gt(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function yt(e,t){return(yt=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function bt(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=xt(e);if(t){var r=xt(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return wt(this,n)}}function wt(e,t){return!t||"object"!==vt(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function xt(e){return(xt=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var _t=Object.assign({Rate:"FlowFormRateType",Text:"FlowFormTextType",Email:"FlowFormEmailType",Phone:"FlowFormPhoneType",Hidden:"FlowFormHiddenType",SectionBreak:"FlowFormSectionBreakType",WelcomeScreen:"FlowFormWelcomeScreenType",MultipleChoice:"FlowFormMultipleChoiceType",DropdownMultiple:"FlowFormDropdownMultipleType",TermsAndCondition:"FlowFormTermsAndConditionType",MultiplePictureChoice:"FlowFormMultiplePictureChoiceType"},Ae),kt=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&yt(e,t)}(i,e);var t,n,o,r=bt(i);function i(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,i),(t=r.call(this,e)).counter=0,t}return t=i,(n=[{key:"setCounter",value:function(e){this.counter=e}},{key:"showQuestion",value:function(e){if(this.type===_t.Hidden)return!1;var t=!1;if(this.conditional_logics.status){for(var n=0;n<this.conditional_logics.conditions.length;n++){var o=this.evaluateCondition(this.conditional_logics.conditions[n],e[this.conditional_logics.conditions[n].field]);if("any"===this.conditional_logics.type){if(o){t=!0;break}}else{if(!o){t=!1;break}t=!0}}return t}return!0}},{key:"evaluateCondition",value:function(e,t){return"="==e.operator?"object"==vt(t)?null!==t&&-1!=t.indexOf(e.value):t==e.value:"!="==e.operator?"object"==vt(t)?null!==t&&-1==t.indexOf(e.value):t!=e.value:">"==e.operator?t&&t>Number(e.value):"<"==e.operator?t&&t<Number(e.value):">="==e.operator?t&&t>=Number(e.value):"<="==e.operator?t&&t<=Number(e.value):"startsWith"==e.operator?t.startsWith(e.value):"endsWith"==e.operator?t.endsWith(e.value):"contains"==e.operator?null!==t&&-1!=t.indexOf(e.value):"doNotContains"==e.operator&&null!==t&&-1==t.indexOf(e.value)}},{key:"isMultipleChoiceType",value:function(){return[_t.MultipleChoice,_t.MultiplePictureChoice,_t.DropdownMultiple].includes(this.type)}}])&&gt(t.prototype,n),o&&gt(t,o),i}(Fe),St={class:"f-radios-wrap"},Ct={key:0,class:"f-image"},Ot={class:"f-label-wrap"},Tt={class:"f-key"},Et={key:0,class:"f-label"},Bt={class:"f-label-wrap"},Mt={key:0,class:"f-key"},At={key:2,class:"f-selected"},Vt={class:"f-label"},Nt={key:3,class:"f-label"};const qt={extends:$e,name:Ae.MultipleChoice,data:function(){return{editingOther:!1,hasImages:!1}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},watch:{active:function(e){e?(this.addKeyListener(),this.question.multiple&&this.question.answered&&(this.enterPressed=!1)):this.removeKeyListener()}},methods:{addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){if(this.active&&!this.editingOther&&e.key&&1===e.key.length){var t=e.key.toUpperCase().charCodeAt(0);if(t>=65&&t<=90){var n=t-65;if(n>-1){var o=this.question.options[n];o?this.toggleAnswer(o):this.question.allowOther&&n===this.question.options.length&&this.startEditOther()}}}},getLabel:function(e){return this.language.ariaMultipleChoice.replace(":letter",this.getToggleKey(e))},getToggleKey:function(e){var t=65+e;return t<=90?String.fromCharCode(t):""},toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&this._toggleAnswer(n)}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(t)&&this.dataValue.push(t):this._removeAnswer(t)):this.dataValue=e.selected?t:null,this.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple&&!this.disabled&&this.$emit("next"),this.setAnswer(this.dataValue)},_removeAnswer:function(e){var t=this.dataValue.indexOf(e);-1!==t&&this.dataValue.splice(t,1)},startEditOther:function(){var e=this;this.editingOther=!0,this.enterPressed=!1,this.$nextTick((function(){e.$refs.otherInput.focus()}))},onChangeOther:function(){if(this.editingOther){var e=[],t=this;this.question.options.forEach((function(n){n.selected&&(t.question.multiple?e.push(n.choiceValue()):n.toggle())})),this.question.other&&this.question.multiple?e.push(this.question.other):this.question.multiple||(e=this.question.other),this.dataValue=e,this.setAnswer(this.dataValue)}},stopEditOther:function(){this.editingOther=!1}},computed:{hasValue:function(){return!!this.question.options.filter((function(e){return e.selected})).length||!!this.question.allowOther&&(this.question.other&&this.question.other.trim().length>0)}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",St,[(0,o.createVNode)("ul",{class:["f-radios",{"f-multiple":e.question.multiple}],role:"listbox"},[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("li",{onClick:(0,o.withModifiers)((function(t){return s.toggleAnswer(e)}),["prevent"]),class:{"f-selected":e.selected},key:"m"+t,"aria-label":s.getLabel(t),role:"option"},[i.hasImages&&e.imageSrc?((0,o.openBlock)(),(0,o.createBlock)("span",Ct,[(0,o.createVNode)("img",{src:e.imageSrc,alt:e.imageAlt},null,8,["src","alt"])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",Ot,[(0,o.createVNode)("span",Tt,(0,o.toDisplayString)(s.getToggleKey(t)),1),e.choiceLabel()?((0,o.openBlock)(),(0,o.createBlock)("span",Et,(0,o.toDisplayString)(e.choiceLabel()),1)):(0,o.createCommentVNode)("",!0)])],10,["onClick","aria-label"])})),128)),!i.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createBlock)("li",{key:0,class:["f-other",{"f-selected":e.question.other,"f-focus":i.editingOther}],onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return s.startEditOther&&s.startEditOther.apply(s,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createVNode)("div",Bt,[i.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",Mt,(0,o.toDisplayString)(s.getToggleKey(e.question.options.length)),1)),i.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[2]||(t[2]=function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),onKeyup:[t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return s.stopEditOther&&s.stopEditOther.apply(s,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)})],onChange:t[5]||(t[5]=function(){return s.onChangeOther&&s.onChangeOther.apply(s,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createBlock)("span",At,[(0,o.createVNode)("span",Vt,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createBlock)("span",Nt,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,["aria-label"])):(0,o.createCommentVNode)("",!0)],2)])}},Ft=qt,Pt={extends:Ft,name:_t.MultipleChoice,methods:{toggleAnswer:function(e){if(!this.question.multiple){this.question.allowOther&&(this.question.other=this.dataValue=null,this.setAnswer(this.dataValue));for(var t=0;t<this.question.options.length;t++){var n=this.question.options[t];n.selected&&n.toggle()}}this._toggleAnswer(e)},_toggleAnswer:function(e){var t=this,n=e.choiceValue();e.toggle(),this.question.multiple?(this.enterPressed=!1,e.selected?-1===this.dataValue.indexOf(n)&&this.dataValue.push(n):this._removeAnswer(n)):this.dataValue=e.selected?n:null,this.$nextTick((function(){!t.isValid()||!t.question.nextStepOnAnswer||t.question.multiple||t.disabled||t.$parent.lastStep||t.$emit("next")})),this.setAnswer(this.dataValue)},validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",it,[(0,o.createVNode)("ul",{class:["f-radios",e.question.multiple?"f-multiple":"f-single"],role:"listbox"},[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(t,n){return(0,o.openBlock)(),(0,o.createBlock)("li",{onClick:(0,o.withModifiers)((function(e){return s.toggleAnswer(t)}),["prevent"]),class:{"f-selected":t.selected},key:"m"+n,"aria-label":e.getLabel(n),role:"option"},[e.hasImages&&t.imageSrc?((0,o.openBlock)(),(0,o.createBlock)("span",st,[(0,o.createVNode)("img",{src:t.imageSrc,alt:t.imageAlt},null,8,["src","alt"])])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",at,[(0,o.createVNode)("span",lt,(0,o.toDisplayString)(e.getToggleKey(n)),1),t.choiceLabel()?((0,o.openBlock)(),(0,o.createBlock)("span",ct,(0,o.toDisplayString)(t.choiceLabel()),1)):(0,o.createCommentVNode)("",!0),ut])],10,["onClick","aria-label"])})),128)),!e.hasImages&&e.question.allowOther?((0,o.openBlock)(),(0,o.createBlock)("li",{key:0,class:["f-other",{"f-selected":e.question.other,"f-focus":e.editingOther}],onClick:t[6]||(t[6]=(0,o.withModifiers)((function(){return e.startEditOther&&e.startEditOther.apply(e,arguments)}),["prevent"])),"aria-label":e.language.ariaTypeAnswer,role:"option"},[(0,o.createVNode)("div",dt,[e.editingOther?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",pt,(0,o.toDisplayString)(e.getToggleKey(e.question.options.length)),1)),e.editingOther?(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("input",{key:1,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.question.other=t}),type:"text",ref:"otherInput",onBlur:t[2]||(t[2]=function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),onKeyup:[t[3]||(t[3]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.stopEditOther&&e.stopEditOther.apply(e,arguments)}),["prevent"]),["enter"])),t[4]||(t[4]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)})],onChange:t[5]||(t[5]=function(){return e.onChangeOther&&e.onChangeOther.apply(e,arguments)}),maxlength:"256"},null,544)),[[o.vModelText,e.question.other]]):e.question.other?((0,o.openBlock)(),(0,o.createBlock)("span",ft,[(0,o.createVNode)("span",ht,(0,o.toDisplayString)(e.question.other),1)])):((0,o.openBlock)(),(0,o.createBlock)("span",mt,(0,o.toDisplayString)(e.language.otherPrompt),1))])],10,["aria-label"])):(0,o.createCommentVNode)("",!0)],2)])}},Lt=Pt,Dt={extends:rt,name:_t.Rate,data:function(){return{temp_value:null,rateText:null,rateTimeOut:null,keyPressed:[]}},watch:{active:function(e){e?this.addKeyListener():this.removeKeyListener()}},computed:{ratings:function(){return this.question.rateOptions}},methods:{starOver:function(e,t){this.temp_value=parseInt(e),this.rateText=t},starOut:function(){this.temp_value=this.dataValue,this.dataValue?this.rateText=this.ratings[this.dataValue]:this.rateText=null},set:function(e,t){this.dataValue=parseInt(e),this.temp_value=parseInt(e),this.rateText=t,this.dataValue&&(this.setAnswer(this.dataValue),this.disabled||this.$parent.lastStep||this.$emit("next"))},getClassObject:function(e){return e=parseInt(e),{"is-selected":this.temp_value>=e&&null!=this.temp_value,"is-disabled":this.disabled,blink:this.dataValue===e}},addKeyListener:function(){this.removeKeyListener(),document.addEventListener("keyup",this.onKeyListener)},removeKeyListener:function(){document.removeEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){var t=this;if(clearTimeout(this.rateTimeOut),this.active&&!this.editingOther&&e.key&&1===e.key.length){var n=parseInt(e.key);this.keyPressed.push(n),this.rateTimeOut=setTimeout((function(){var e=parseInt(t.keyPressed.join("")),n=t.question.rateOptions[e];n?(t.set(e,n),t.keyPressed=[]):t.keyPressed=[]}),1e3)}}},mounted:function(){this.addKeyListener()},beforeUnmount:function(){this.removeKeyListener()},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",tt,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(s.ratings,(function(n,r){return(0,o.openBlock)(),(0,o.createBlock)("label",{class:["star-rating__star",s.getClassObject(r)],onClick:function(e){return s.set(r,n)},onMouseover:function(e){return s.starOver(r,n)},onMouseout:t[2]||(t[2]=function(){return s.starOut&&s.starOut.apply(s,arguments)})},[(0,o.withDirectives)((0,o.createVNode)("input",{class:"star-rating star-rating__checkbox",type:"radio",value:r,name:e.question.name,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),disabled:e.disabled},null,8,["value","name","disabled"]),[[o.vModelRadio,e.dataValue]]),nt,(0,o.createVNode)("div",ot,(0,o.toDisplayString)(r),1)],42,["onClick","onMouseover"])})),256)),(0,o.withDirectives)((0,o.createVNode)("span",{class:"star-rating-text"},(0,o.toDisplayString)(i.rateText),513),[[o.vShow,"yes"===e.question.show_text]])])}},It=Dt;const jt={extends:et,name:_t.Date,data:function(){return{inputType:"date",canReceiveFocus:!1}},methods:{init:function(){var e=this;if("undefined"!=typeof flatpickr){flatpickr.localize(this.globalVars.date_i18n);var t=Object.assign({},this.question.dateConfig,this.question.dateCustomConfig);t.locale||(t.locale="default"),t.defaultDate=this.question.answer,flatpickr(this.getElement(),t).config.onChange.push((function(t,n,o){e.dataValue=n}))}},validate:function(){return this.question.min&&this.dataValue<this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):this.question.max&&this.dataValue>this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}},mounted:function(){this.init()},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("input",{ref:"input",required:e.question.required,placeholder:e.placeholder,value:e.modelValue},null,8,["required","placeholder","value"])}},$t=jt;const Rt={name:"HiddenType",extends:rt,render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("input",{type:"hidden",value:e.modelValue},null,8,["value"])}},zt=Rt,Ht={extends:Je,name:Ae.Email,data:function(){return{inputType:"email"}},methods:{validate:function(){return this.hasValue?/^[^@]+@.+[^.]$/.test(this.dataValue):!this.question.required}}},Ut={extends:Ht,name:_t.Email,methods:{validate:function(){if(this.hasValue){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(this.dataValue)||(this.errorMessage=this.language.invalidPrompt,!1)}return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}},Kt={extends:et,name:_t.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}},methods:{validate:function(){return this.hasValue?this.iti.isValidNumber():!this.question.required},init:function(){var e=this;if("undefined"!=typeof intlTelInput&&0!=this.question.phone_settings.enabled){var t=this.getElement(),n=JSON.parse(this.question.phone_settings.itlOptions);this.question.phone_settings.ipLookupUrl&&(n.geoIpLookup=function(t,n){fetch(e.question.phone_settings.ipLookupUrl,{headers:{Accept:"application/json"}}).then((function(e){return e.json()})).then((function(e){var n=e&&e.country?e.country:"";t(n)}))}),this.iti=intlTelInput(t,n),t.addEventListener("change",(function(){e.itiFormat()})),t.addEventListener("keyup",(function(){e.itiFormat()}))}},itiFormat:function(){if("undefined"!=typeof intlTelInputUtils){var e=this.iti.getNumber(intlTelInputUtils.numberFormat.E164);this.iti.isValidNumber()&&"string"==typeof e&&this.iti.setNumber(e),this.dataValue=this.iti.getNumber()}}},mounted:function(){this.init()}},Wt={extends:et,name:_t.Number,data:function(){return{inputType:"number",allowedChars:"-0123456789."}},methods:{fixAnswer:function(e){return e=null===e?"":e},validate:function(){return null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min?(this.errorMessage=this.question.validationRules.min.message,!1):null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max?(this.errorMessage=this.question.validationRules.max.message,!1):this.hasValue?this.question.mask?(this.errorMessage=this.language.invalidPrompt,this.validateMask()):!isNaN(+this.dataValue):!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}};var Qt=n(3377),Yt=n(5853);const Jt={extends:rt,name:_t.Dropdown,components:{ElSelect:Yt.default,ElOption:Qt.Z},watch:{active:function(e){e||this.$refs.input.blur()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("el-option"),l=(0,o.resolveComponent)("el-select");return(0,o.openBlock)(),(0,o.createBlock)(l,{ref:"input",multiple:e.question.multiple,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),placeholder:e.question.placeholder,"multiple-limit":e.question.max_selection,clearable:!0,filterable:"yes"===e.question.searchable,class:"f-full-width",onChange:e.setAnswer},{default:(0,o.withCtx)((function(){return[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e){return(0,o.openBlock)(),(0,o.createBlock)(a,{key:e.value,label:e.label,value:e.value},null,8,["label","value"])})),128))]})),_:1},8,["multiple","modelValue","placeholder","multiple-limit","filterable","onChange"])}},Gt=Jt;const Zt={name:"TextareaAutosize",props:{value:{type:[String,Number],default:""},autosize:{type:Boolean,default:!0},minHeight:{type:[Number],default:null},maxHeight:{type:[Number],default:null},important:{type:[Boolean,Array],default:!1}},data:()=>({val:null,maxHeightScroll:!1,height:"auto"}),computed:{computedStyles(){return this.autosize?{resize:this.isResizeImportant?"none !important":"none",height:this.height,overflow:this.maxHeightScroll?"auto":this.isOverflowImportant?"hidden !important":"hidden"}:{}},isResizeImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("resize")},isOverflowImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("overflow")},isHeightImportant(){const e=this.important;return!0===e||Array.isArray(e)&&e.includes("height")}},watch:{value(e){this.val=e},val(e){this.$nextTick(this.resize),this.$emit("input",e)},minHeight(){this.$nextTick(this.resize)},maxHeight(){this.$nextTick(this.resize)},autosize(e){e&&this.resize()}},methods:{resize(){const e=this.isHeightImportant?"important":"";return this.height="auto"+(e?" !important":""),this.$nextTick((()=>{let t=this.$el.scrollHeight+1;this.minHeight&&(t=t<this.minHeight?this.minHeight:t),this.maxHeight&&(t>this.maxHeight?(t=this.maxHeight,this.maxHeightScroll=!0):this.maxHeightScroll=!1);const n=t+"px";this.height=`${n}${e?" !important":""}`})),this}},created(){this.val=this.value},mounted(){this.resize()},render:function(e,t,n,r,i,s){return(0,o.withDirectives)(((0,o.openBlock)(),(0,o.createBlock)("textarea",{style:s.computedStyles,"onUpdate:modelValue":t[1]||(t[1]=e=>i.val=e),onFocus:t[2]||(t[2]=(...e)=>s.resize&&s.resize(...e))},null,36)),[[o.vModelText,i.val]])}},Xt=Zt,en={extends:$e,name:Ae.LongText,components:{TextareaAutosize:Xt},data:function(){return{canReceiveFocus:!0}},mounted:function(){window.addEventListener("resize",this.onResizeListener)},beforeUnmount:function(){window.removeEventListener("resize",this.onResizeListener)},methods:{onResizeListener:function(){this.$refs.input.resize()},unsetFocus:function(e){!e&&this.isMobile||(this.focused=!1)},onEnterDown:function(e){this.isMobile||e.preventDefault()},onEnter:function(){this.isMobile||this._onEnter()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("textarea-autosize");return(0,o.openBlock)(),(0,o.createBlock)("span",null,[(0,o.createVNode)(a,{ref:"input",rows:"1",value:e.modelValue,required:e.question.required,onKeydown:[e.onKeyDown,(0,o.withKeys)((0,o.withModifiers)(s.onEnterDown,["exact"]),["enter"])],onKeyup:[e.onChange,(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["exact","prevent"]),["enter"]),(0,o.withKeys)((0,o.withModifiers)(s.onEnter,["prevent"]),["tab"])],onFocus:e.setFocus,onBlur:s.unsetFocus,placeholder:e.placeholder,maxlength:e.question.maxLength},null,8,["value","required","onKeydown","onKeyup","onFocus","onBlur","placeholder","maxlength"])])}},tn=en,nn={extends:tn,methods:{validate:function(){return!(this.question.required&&!this.hasValue)||(this.errorMessage=this.question.validationRules.required.message,!1)}}},on={extends:et,name:_t.Password,data:function(){return{inputType:"password"}}};var rn={key:0,class:"f-content"},sn={class:"f-section-text"};const an={extends:$e,name:Ae.SectionBreak,methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0}},render:function(e,t,n,r,i,s){return e.question.content?((0,o.openBlock)(),(0,o.createBlock)("div",rn,[(0,o.createVNode)("span",sn,(0,o.toDisplayString)(e.question.content),1)])):(0,o.createCommentVNode)("",!0)}},ln=an,cn={extends:ln,name:_t.SectionBreak,props:["replaceSmartCodes"],render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"f-content",innerHTML:n.replaceSmartCodes(e.question.content)},null,8,["innerHTML"])}},un=cn;var dn={class:"ffc_q_header"},pn={class:"f-text"},fn={class:"f-sub"},hn={class:"ff_custom_button f-enter"};function mn(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,o)}return n}function vn(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mn(Object(n),!0).forEach((function(t){gn(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mn(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function gn(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}const yn={extends:rt,name:_t.WelcomeScreen,props:["replaceSmartCodes"],methods:{onEnter:function(){this.dirty=!0,this._onEnter()},isValid:function(){return!0},next:function(){this.$emit("next")}},data:function(){return{extraHtml:"<style>.ff_default_submit_button_wrapper {display: none !important;}</style>"}},computed:{btnStyles:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{backgroundColor:this.question.settings.background_color,color:this.question.settings.color};var e=this.question.settings.normal_styles,t="normal_styles";if("hover_styles"==this.question.settings.current_state&&(t="hover_styles"),!this.question.settings[t])return e;var n=JSON.parse(JSON.stringify(this.question.settings[t]));return n.borderRadius?n.borderRadius=n.borderRadius+"px":delete n.borderRadius,n.minWidth||delete n.minWidth,vn(vn({},e),n)},btnStyleClass:function(){return this.question.settings.button_style},btnSize:function(){return"ff-btn-"+this.question.settings.button_size},wrapperStyle:function(){var e={};return e.textAlign=this.question.settings.align,e},enterStyle:function(){if(""!=this.question.settings.button_style)return"default"===this.question.settings.button_style?{}:{color:this.question.settings.background_color};var e=this.question.settings.normal_styles,t="normal_styles";return"hover_styles"==this.question.settings.current_state&&(t="hover_styles"),this.question.settings[t]?{color:JSON.parse(JSON.stringify(this.question.settings[t])).backgroundColor}:e}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:"fh2 f-welcome-screen",style:s.wrapperStyle},[(0,o.createVNode)("div",dn,[(0,o.createVNode)("h4",pn,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.title)),1)]),(0,o.createVNode)("div",fn,[e.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,innerHTML:n.replaceSmartCodes(e.question.subtitle)},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0)]),(0,o.createVNode)("div",hn,["default"==e.question.settings.button_ui.type?((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:["ff-btn o-btn-action",[s.btnSize,s.btnStyleClass]],type:"button",ref:"button",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:s.btnStyles},[(0,o.createVNode)("span",{innerHTML:e.question.settings.button_ui.text},null,8,["innerHTML"])],6)):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("a",{class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(){return s.next&&s.next.apply(s,arguments)}),["prevent"])),style:s.enterStyle,innerHTML:e.language.formatString(e.language.pressEnter)},null,12,["innerHTML"])])],4)}},bn=yn,wn={extends:Lt,name:_t.TermsAndCondition,data:function(){return{hasImages:!0}},methods:{validate:function(){return"on"===this.dataValue?(this.question.error="",!0):!this.question.required||(this.question.error=this.question.requiredMsg,!1)}}};var xn={class:"q-inner"},_n={key:0,class:"f-tagline"},kn={key:0,class:"fh2"},Sn={key:1,class:"f-text"},Cn=(0,o.createVNode)("span",{"aria-hidden":"true"},"*",-1),On={key:1,class:"f-answer"},Tn={key:2,class:"f-sub"},En={key:0},Bn={key:2,class:"f-help"},Mn={key:3,class:"f-help"},An={key:3,class:"f-answer f-full-width"},Vn={key:0,class:"f-description"},Nn={key:0},qn={key:0,class:"vff-animate f-fade-in f-enter"},Fn={key:0},Pn={key:1},Ln={key:2},Dn={key:1,class:"f-invalid",role:"alert","aria-live":"assertive"};var In={class:"faux-form"},jn={key:0,label:" ",value:"",disabled:"",selected:"",hidden:""},$n=(0,o.createVNode)("span",{class:"f-arrow-down"},[(0,o.createVNode)("svg",{version:"1.1",id:"Capa_1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",viewBox:"-163 254.1 284.9 284.9",style:"","xml:space":"preserve"},[(0,o.createVNode)("g",null,[(0,o.createVNode)("path",{d:"M119.1,330.6l-14.3-14.3c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,1-6.6,2.9L-20.5,428.5l-112.2-112.2c-1.9-1.9-4.1-2.9-6.6-2.9c-2.5,0-4.7,0.9-6.6,2.9l-14.3,14.3c-1.9,1.9-2.9,4.1-2.9,6.6c0,2.5,1,4.7,2.9,6.6l133,133c1.9,1.9,4.1,2.9,6.6,2.9s4.7-1,6.6-2.9l133.1-133c1.9-1.9,2.8-4.1,2.8-6.6C121.9,334.7,121,332.5,119.1,330.6z"})])])],-1);const Rn={extends:$e,name:Ae.Dropdown,computed:{answerLabel:function(){for(var e=0;e<this.question.options.length;e++){var t=this.question.options[e];if(t.choiceValue()===this.dataValue)return t.choiceLabel()}return this.question.placeholder}},methods:{onKeyDownListener:function(e){"ArrowDown"===e.key||"ArrowUp"===e.key?this.setAnswer(this.dataValue):"Enter"===e.key&&this.hasValue&&(this.focused=!1,this.blur())},onKeyUpListener:function(e){"Enter"===e.key&&this.isValid()&&!this.disabled&&(e.stopPropagation(),this._onEnter(),this.$emit("next"))}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("span",In,[(0,o.createVNode)("select",{ref:"input",class:"",value:e.dataValue,onChange:t[1]||(t[1]=function(){return e.onChange&&e.onChange.apply(e,arguments)}),onKeydown:t[2]||(t[2]=function(){return s.onKeyDownListener&&s.onKeyDownListener.apply(s,arguments)}),onKeyup:t[3]||(t[3]=function(){return s.onKeyUpListener&&s.onKeyUpListener.apply(s,arguments)}),required:e.question.required},[e.question.required?((0,o.openBlock)(),(0,o.createBlock)("option",jn," ")):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.options,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("option",{disabled:e.disabled,value:e.choiceValue(),key:"o"+t},(0,o.toDisplayString)(e.choiceLabel()),9,["disabled","value"])})),128))],40,["value","required"]),(0,o.createVNode)("span",null,[(0,o.createVNode)("span",{class:["f-empty",{"f-answered":this.question.answer&&this.question.answered}]},(0,o.toDisplayString)(s.answerLabel),3),$n])])}},zn=Rn,Hn={extends:Ft,name:Ae.MultiplePictureChoice,data:function(){return{hasImages:!0}}},Un={extends:Je,name:Ae.Number,data:function(){return{inputType:"tel",allowedChars:"-0123456789."}},methods:{validate:function(){return!(null!==this.question.min&&!isNaN(this.question.min)&&+this.dataValue<+this.question.min)&&(!(null!==this.question.max&&!isNaN(this.question.max)&&+this.dataValue>+this.question.max)&&(this.hasValue?this.question.mask?this.validateMask():!isNaN(+this.dataValue):!this.question.required||this.hasValue))}}},Kn={extends:Je,name:Ae.Password,data:function(){return{inputType:"password"}}},Wn={extends:Je,name:Ae.Phone,data:function(){return{inputType:"tel",canReceiveFocus:!0}}},Qn={extends:Je,name:Ae.Date,data:function(){return{inputType:"date"}},methods:{validate:function(){return!(this.question.min&&this.dataValue<this.question.min)&&(!(this.question.max&&this.dataValue>this.question.max)&&(!this.question.required||this.hasValue))}}};const Yn={extends:Je,name:Ae.File,mounted:function(){this.question.accept&&(this.mimeTypeRegex=new RegExp(this.question.accept.replace("*","[^\\/,]+")))},methods:{setAnswer:function(e){this.question.setAnswer(this.files),this.answer=e,this.question.answered=this.isValid(),this.$emit("update:modelValue",e)},showInvalid:function(){return null!==this.errorMessage},validate:function(){var e=this;if(this.errorMessage=null,this.question.required&&!this.hasValue)return!1;if(this.question.accept&&!Array.from(this.files).every((function(t){return e.mimeTypeRegex.test(t.type)})))return this.errorMessage=this.language.formatString(this.language.errorAllowedFileTypes,{fileTypes:this.question.accept}),!1;if(this.question.multiple){var t=this.files.length;if(null!==this.question.min&&t<+this.question.min)return this.errorMessage=this.language.formatString(this.language.errorMinFiles,{min:this.question.min}),!1;if(null!==this.question.max&&t>+this.question.max)return this.errorMessage=this.language.formatString(this.language.errorMaxFiles,{max:this.question.max}),!1}if(null!==this.question.maxSize&&Array.from(this.files).reduce((function(e,t){return e+t.size}),0)>+this.question.maxSize)return this.errorMessage=this.language.formatString(this.language.errorMaxFileSize,{size:this.language.formatFileSize(this.question.maxSize)}),!1;return this.$refs.input.checkValidity()}},computed:{files:function(){return this.$refs.input.files}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("input",{ref:"input",type:"file",accept:e.question.accept,multiple:e.question.multiple,value:e.modelValue,required:e.question.required,onKeyup:[t[1]||(t[1]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["enter"])),t[2]||(t[2]=(0,o.withKeys)((0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"]),["tab"]))],onFocus:t[3]||(t[3]=function(){return e.setFocus&&e.setFocus.apply(e,arguments)}),onBlur:t[4]||(t[4]=function(){return e.unsetFocus&&e.unsetFocus.apply(e,arguments)}),onChange:t[5]||(t[5]=function(){return e.onChange&&e.onChange.apply(e,arguments)})},null,40,["accept","multiple","value","required"])}},Jn={name:"FlowFormQuestion",components:{FlowFormDateType:Qn,FlowFormDropdownType:zn,FlowFormEmailType:Ht,FlowFormLongTextType:tn,FlowFormMultipleChoiceType:Ft,FlowFormMultiplePictureChoiceType:Hn,FlowFormNumberType:Un,FlowFormPasswordType:Kn,FlowFormPhoneType:Wn,FlowFormSectionBreakType:ln,FlowFormTextType:Je,FlowFormFileType:Yn,FlowFormUrlType:Ge},props:{question:Fe,language:Le,value:[String,Array,Boolean,Number,Object],active:{type:Boolean,default:!1},reverse:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},mixins:[je],data:function(){return{QuestionType:Ae,dataValue:null,debounced:!1}},mounted:function(){this.focusField(),this.dataValue=this.question.answer,this.$refs.qanimate.addEventListener("animationend",this.onAnimationEnd)},beforeUnmount:function(){this.$refs.qanimate.removeEventListener("animationend",this.onAnimationEnd)},methods:{focusField:function(){var e=this.$refs.questionComponent;e&&e.focus()},onAnimationEnd:function(){this.focusField()},shouldFocus:function(){var e=this.$refs.questionComponent;return e&&e.canReceiveFocus&&!e.focused},returnFocus:function(){this.$refs.questionComponent;this.shouldFocus()&&this.focusField()},onEnter:function(e){this.checkAnswer(this.emitAnswer)},onTab:function(e){this.checkAnswer(this.emitAnswerTab)},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.isMultipleChoiceType()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},emitAnswer:function(e){e&&(e.focused||this.$emit("answer",e),e.onEnter())},emitAnswerTab:function(e){e&&this.question.type!==Ae.Date&&(this.returnFocus(),this.$emit("answer",e),e.onEnter())},debounce:function(e,t){var n;return this.debounced=!0,clearTimeout(n),void(n=setTimeout(e,t))},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type===Ae.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid())))},showSkip:function(){var e=this.$refs.questionComponent;return!(this.question.required||e&&e.hasValue)},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&e.showInvalid()}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-active":this.active,"q-is-inactive":!this.active,"f-fade-in-down":this.reverse,"f-fade-in-up":!this.reverse,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},showHelperText:function(){return!!this.question.subtitle||!(this.question.type!==Ae.LongText&&!this.question.isMultipleChoiceType())&&this.question.helpTextShow},errorMessage:function(){var e=this.$refs.questionComponent;return e&&e.errorMessage?e.errorMessage:this.language.invalidPrompt}},render:function(e,t,n,r,i,s){return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff-animate q-form",s.mainClasses],ref:"qanimate"},[(0,o.createVNode)("div",xn,[(0,o.createVNode)("div",{class:{"f-section-wrap":n.question.type===i.QuestionType.SectionBreak}},[(0,o.createVNode)("div",{class:{fh2:n.question.type!==i.QuestionType.SectionBreak}},[n.question.tagline?((0,o.openBlock)(),(0,o.createBlock)("span",_n,(0,o.toDisplayString)(n.question.tagline),1)):(0,o.createCommentVNode)("",!0),n.question.title?((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",kn,(0,o.toDisplayString)(n.question.title),1)):((0,o.openBlock)(),(0,o.createBlock)("span",Sn,[(0,o.createTextVNode)((0,o.toDisplayString)(n.question.title)+"  ",1),n.question.required?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"f-required","aria-label":n.language.ariaRequired,role:"note"},[Cn],8,["aria-label"])):(0,o.createCommentVNode)("",!0),n.question.inline?((0,o.openBlock)(),(0,o.createBlock)("span",On,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,8,["question","language","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),s.showHelperText?((0,o.openBlock)(),(0,o.createBlock)("span",Tn,[n.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",En,(0,o.toDisplayString)(n.question.subtitle),1)):(0,o.createCommentVNode)("",!0),n.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-help",innerHTML:n.question.helpText||n.language.formatString(n.language.longTextHelpText)},null,8,["innerHTML"])),n.question.type===i.QuestionType.MultipleChoice&&n.question.multiple?((0,o.openBlock)(),(0,o.createBlock)("span",Bn,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpText),1)):n.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createBlock)("span",Mn,(0,o.toDisplayString)(n.question.helpText||n.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0),n.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("div",An,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(n.question.type),{ref:"questionComponent",question:n.question,language:n.language,modelValue:i.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(e){return i.dataValue=e}),active:n.active,disabled:n.disabled,onNext:s.onEnter},null,8,["question","language","modelValue","active","disabled","onNext"]))]))],2),n.question.description||0!==n.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createBlock)("p",Vn,[n.question.description?((0,o.openBlock)(),(0,o.createBlock)("span",Nn,(0,o.toDisplayString)(n.question.description),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(n.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,["href","target"])})),128))])):(0,o.createCommentVNode)("",!0)],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createBlock)("div",qn,[(0,o.createVNode)("button",{class:"o-btn-action",type:"button",ref:"button",href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),"aria-label":n.language.ariaOk},[n.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",Fn,(0,o.toDisplayString)(n.language.continue),1)):s.showSkip()?((0,o.openBlock)(),(0,o.createBlock)("span",Pn,(0,o.toDisplayString)(n.language.skip),1)):((0,o.openBlock)(),(0,o.createBlock)("span",Ln,(0,o.toDisplayString)(n.language.ok),1))],8,["aria-label"]),n.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(){return s.onEnter&&s.onEnter.apply(s,arguments)}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"]))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createBlock)("div",Dn,(0,o.toDisplayString)(s.errorMessage),1)):(0,o.createCommentVNode)("",!0)])],2)}},Gn=Jn,Zn={name:"FormQuestion",extends:Gn,components:{Counter:_e,SubmitButton:Te,FlowFormUrlType:Ze,FlowFormTextType:et,FlowFormRateType:It,FlowFormDateType:$t,FlowFormEmailType:Ut,FlowFormPhoneType:Kt,FlowFormNumberType:Wt,FlowFormHiddenType:zt,FlowFormLongTextType:nn,FlowFormDropdownType:Gt,FlowFormPasswordType:on,FlowFormSectionBreakType:un,FlowFormWelcomeScreenType:bn,FlowFormMultipleChoiceType:Lt,FlowFormTermsAndConditionType:wn,FlowFormMultiplePictureChoiceType:{extends:Lt,name:_t.MultiplePictureChoice,data:function(){return{hasImages:!0}}}},props:{isActiveForm:{type:Boolean,default:!0},lastStep:{type:Boolean,default:!1},submitting:{type:Boolean,default:!1},replaceSmartCodes:{type:Function,default:function(e){return e}}},data:function(){return{QuestionType:_t}},watch:{"question.answer":{handler:function(e){this.$emit("answered",this.question)},deep:!0}},methods:{focusField:function(){if(!this.isActiveForm)return!1;var e=this.$refs.questionComponent;this.active&&e&&e.canReceiveFocus&&e.focus()},checkAnswer:function(e){var t=this,n=this.$refs.questionComponent;n.isValid()&&this.question.nextStepOnAnswer&&!this.question.multiple?(this.$emit("disable",!0),this.debounce((function(){e(n),t.$emit("disable",!1)}),350)):e(n)},showOkButton:function(){var e=this.$refs.questionComponent;return this.question.type!==_t.WelcomeScreen&&(this.question.type===_t.SectionBreak?this.active:!this.question.required||(!(!this.question.allowOther||!this.question.other)||!(this.question.isMultipleChoiceType()&&!this.question.multiple&&this.question.nextStepOnAnswer&&!this.lastStep)&&(!(!e||null===this.dataValue)&&(e.hasValue&&e.isValid()))))},showInvalid:function(){var e=this.$refs.questionComponent;return!(!e||null===this.dataValue)&&(e&&this.dataValue&&(e.dirty=!0,e.enterPressed=!0),this.question.error||e.showInvalid())},onSubmit:function(e){this.$emit("submit",!0),this.onEnter(e)}},computed:{mainClasses:{cache:!1,get:function(){var e={"q-is-inactive":!this.active,"f-fade-in-down":this.reverse&&this.active,"f-fade-in-up":!this.reverse&&this.active,"f-focused":this.$refs.questionComponent&&this.$refs.questionComponent.focused,"f-has-value":this.$refs.questionComponent&&this.$refs.questionComponent.hasValue};return e["field-"+this.question.type.toLowerCase().substring(8,this.question.type.length-4)]=!0,e}},layoutClass:{cache:!1,get:function(){return this.question.style_pref.layout}},setAlignment:{cache:!1,get:function(){var e="";return null!=this.question.settings&&(e+="text-align: ".concat(this.question.settings.align,"; ")),e}},layoutStyle:{cache:!1,get:function(){return{backgroundImage:"url("+this.question.style_pref.media+")",height:"90vh",backgroundRepeat:"no-repeat",backgroundSize:"cover",backgroundPosition:this.question.style_pref.media_x_position+"px "+this.question.style_pref.media_y_position+"px"}}},brightness:function(){var e=this.question.style_pref.brightness;if(!e)return!1;var t="";return e>0&&(t+="contrast("+((100-e)/100).toFixed(2)+") "),t+"brightness("+(1+this.question.style_pref.brightness/100)+")"},imagePositionCSS:function(){return("media_right_full"==this.question.style_pref.layout||"media_left_full"==this.question.style_pref.layout)&&this.question.style_pref.media_x_position+"% "+this.question.style_pref.media_y_position+"%"}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("counter"),l=(0,o.resolveComponent)("submit-button");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff-animate q-form",s.mainClasses],ref:"qanimate"},[(0,o.createVNode)("div",{class:["ff_conv_section_wrapper",["ff_conv_layout_"+s.layoutClass,e.question.container_class]]},[(0,o.createVNode)("div",{class:["ff_conv_input q-inner",[e.question.contentAlign]]},[(0,o.createVNode)("div",{class:["ffc_question",{"f-section-wrap":e.question.type===i.QuestionType.SectionBreak}]},[e.question.type===i.QuestionType.WelcomeScreen?((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{key:0,ref:"questionComponent",is:e.question.type,question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[1]||(t[1]=function(t){return e.dataValue=t}),active:e.active,replaceSmartCodes:n.replaceSmartCodes,disabled:e.disabled,onNext:e.onEnter},null,8,["is","question","language","modelValue","active","replaceSmartCodes","disabled","onNext"])):((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[[i.QuestionType.SectionBreak,i.QuestionType.Hidden].includes(e.question.type)?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)(a,{key:0,serial:e.question.counter},null,8,["serial"])),(0,o.createVNode)("div",{class:{fh2:e.question.type!==i.QuestionType.SectionBreak}},[(0,o.createVNode)("div",te,[e.question.title?((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:0},[e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"fh2",innerHTML:n.replaceSmartCodes(e.question.title)},null,8,["innerHTML"])):((0,o.openBlock)(),(0,o.createBlock)("span",ne,[(0,o.createVNode)("span",{innerHTML:n.replaceSmartCodes(e.question.title)},null,8,["innerHTML"]),e.question.required?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,class:"f-required","aria-label":e.language.ariaRequired,role:"note"},[oe],8,["aria-label"])):(0,o.createCommentVNode)("",!0),e.question.inline?((0,o.openBlock)(),(0,o.createBlock)("span",re,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,replaceSmartCodes:n.replaceSmartCodes,modelValue:e.dataValue,"onUpdate:modelValue":t[2]||(t[2]=function(t){return e.dataValue=t}),active:e.active,disabled:e.disabled,onNext:e.onEnter},null,8,["question","language","replaceSmartCodes","modelValue","active","disabled","onNext"]))])):(0,o.createCommentVNode)("",!0)]))],64)):(0,o.createCommentVNode)("",!0),e.question.tagline?((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-tagline",innerHTML:n.replaceSmartCodes(e.question.tagline)},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0)]),e.question.inline?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("div",ie,[((0,o.openBlock)(),(0,o.createBlock)((0,o.resolveDynamicComponent)(e.question.type),{ref:"questionComponent",question:e.question,language:e.language,modelValue:e.dataValue,"onUpdate:modelValue":t[3]||(t[3]=function(t){return e.dataValue=t}),replaceSmartCodes:n.replaceSmartCodes,active:e.active,disabled:e.disabled,onNext:e.onEnter},null,8,["question","language","modelValue","replaceSmartCodes","active","disabled","onNext"]))])),e.showHelperText?((0,o.openBlock)(),(0,o.createBlock)("span",se,[e.question.subtitle?((0,o.openBlock)(),(0,o.createBlock)("span",{key:0,innerHTML:e.question.subtitle},null,8,["innerHTML"])):(0,o.createCommentVNode)("",!0),e.question.type!==i.QuestionType.LongText||e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,class:"f-help",innerHTML:e.question.helpText||e.language.formatString(e.language.longTextHelpText)},null,8,["innerHTML"])),e.question.type===i.QuestionType.MultipleChoice&&e.question.multiple?((0,o.openBlock)(),(0,o.createBlock)("span",ae,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpText),1)):e.question.type===i.QuestionType.MultipleChoice?((0,o.openBlock)(),(0,o.createBlock)("span",le,(0,o.toDisplayString)(e.question.helpText||e.language.multipleChoiceHelpTextSingle),1)):(0,o.createCommentVNode)("",!0)])):(0,o.createCommentVNode)("",!0)],2),e.question.description||0!==e.question.descriptionLink.length?((0,o.openBlock)(),(0,o.createBlock)("p",ce,[e.question.description?((0,o.openBlock)(),(0,o.createBlock)("span",ue,(0,o.toDisplayString)(n.replaceSmartCodes(e.question.description)),1)):(0,o.createCommentVNode)("",!0),((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.question.descriptionLink,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)("a",{class:"f-link",key:"m"+t,href:e.url,target:e.target},(0,o.toDisplayString)(e.text||e.url),9,["href","target"])})),128))])):(0,o.createCommentVNode)("",!0)],64))],2),s.showOkButton()?((0,o.openBlock)(),(0,o.createBlock)("div",de,[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)(l,{key:0,language:e.language,disabled:n.submitting,onSubmit:s.onSubmit},null,8,["language","disabled","onSubmit"])):((0,o.openBlock)(),(0,o.createBlock)(o.Fragment,{key:1},[(0,o.createVNode)("button",{class:["o-btn-action",{ffc_submitting:n.submitting}],type:"button",ref:"button",href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),disabled:n.submitting,"aria-label":e.language.ariaOk},[n.lastStep?((0,o.openBlock)(),(0,o.createBlock)("span",pe,(0,o.toDisplayString)(e.language.submitText),1)):e.question.type===i.QuestionType.SectionBreak?((0,o.openBlock)(),(0,o.createBlock)("span",{key:1,innerHTML:e.language.continue},null,8,["innerHTML"])):e.showSkip()?((0,o.openBlock)(),(0,o.createBlock)("span",{key:2,innerHTML:e.language.skip},null,8,["innerHTML"])):((0,o.openBlock)(),(0,o.createBlock)("span",{key:3,innerHTML:e.language.ok},null,8,["innerHTML"]))],10,["disabled","aria-label"]),e.question.type===i.QuestionType.LongText&&e.isMobile?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:0,class:"f-enter-desc",href:"#",onClick:t[5]||(t[5]=(0,o.withModifiers)((function(){return e.onEnter&&e.onEnter.apply(e,arguments)}),["prevent"])),innerHTML:e.language.formatString(e.language.pressEnter)},null,8,["innerHTML"]))],64))])):(0,o.createCommentVNode)("",!0),s.showInvalid()?((0,o.openBlock)(),(0,o.createBlock)("div",fe,(0,o.toDisplayString)(e.question.error||e.errorMessage),1)):(0,o.createCommentVNode)("",!0)],2),"default"!=e.question.style_pref.layout?((0,o.openBlock)(),(0,o.createBlock)("div",he,[(0,o.createVNode)("div",{style:{filter:s.brightness},class:["fcc_block_media_attachment","fc_i_layout_"+e.question.style_pref.layout]},[e.question.style_pref.media?((0,o.openBlock)(),(0,o.createBlock)("picture",me,[(0,o.createVNode)("img",{style:{"object-position":s.imagePositionCSS},alt:e.question.style_pref.alt_text,src:e.question.style_pref.media},null,12,["alt","src"])])):(0,o.createCommentVNode)("",!0)],6)])):(0,o.createCommentVNode)("",!0)],2)],2)}},Xn=Zn;function eo(e){return(eo="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function to(e,t){return(to=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e})(e,t)}function no(e){var t=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}();return function(){var n,o=ro(e);if(t){var r=ro(this).constructor;n=Reflect.construct(o,arguments,r)}else n=o.apply(this,arguments);return oo(this,n)}}function oo(e,t){return!t||"object"!==eo(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e):t}function ro(e){return(ro=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var io=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&to(e,t)}(n,e);var t=no(n);function n(e){var o;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,n),(o=t.call(this,e)).ok=window.fluent_forms_global_var.i18n.confirm_btn,o.continue=window.fluent_forms_global_var.i18n.continue,o.skip=window.fluent_forms_global_var.i18n.skip_btn,o.pressEnter=window.fluent_forms_global_var.i18n.keyboard_instruction,o.multipleChoiceHelpText=window.fluent_forms_global_var.i18n.multi_select_hint,o.multipleChoiceHelpTextSingle=window.fluent_forms_global_var.i18n.single_select_hint,o.longTextHelpText=window.fluent_forms_global_var.i18n.long_text_help,o.percentCompleted=window.fluent_forms_global_var.i18n.progress_text,o.invalidPrompt=window.fluent_forms_global_var.i18n.invalid_prompt,o}return n}(Le),so={class:"f-container"},ao={class:"f-form-wrap"},lo={key:0,class:"vff-animate f-fade-in-up field-submittype"},co={class:"f-section-wrap"},uo={class:"fh2"},po={key:2,class:"text-success"},fo={class:"vff-footer"},ho={class:"footer-inner-wrap"},mo={class:"f-progress-bar"},vo={key:1,class:"f-nav"},go=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M82.039,31.971L100,11.442l17.959,20.529L120,30.187L101.02,8.492c-0.258-0.295-0.629-0.463-1.02-0.463c-0.39,0-0.764,0.168-1.02,0.463L80,30.187L82.039,31.971z"})],-1),yo={class:"f-nav-text","aria-hidden":"true"},bo=(0,o.createVNode)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg","xmlns:xlink":"http://www.w3.org/1999/xlink",x:"0px",y:"0px",width:"42.333px",height:"28.334px",viewBox:"78.833 5.5 42.333 28.334","aria-hidden":"true"},[(0,o.createVNode)("path",{d:"M117.963,8.031l-17.961,20.529L82.042,8.031l-2.041,1.784l18.98,21.695c0.258,0.295,0.629,0.463,1.02,0.463c0.39,0,0.764-0.168,1.02-0.463l18.98-21.695L117.963,8.031z"})],-1),wo={class:"f-nav-text","aria-hidden":"true"},xo={key:2,class:"f-timer"};var _o={};const ko={name:"FlowForm",components:{FlowFormQuestion:Gn},props:{questions:{type:Array,validator:function(e){return e.every((function(e){return e instanceof Fe}))}},language:{type:Le,default:function(){return new Le}},progressbar:{type:Boolean,default:!0},standalone:{type:Boolean,default:!0},navigation:{type:Boolean,default:!0},timer:{type:Boolean,default:!1},timerStartStep:[String,Number],timerStopStep:[String,Number]},mixins:[je,{methods:{getInstance:function(e){return _o[e]},setInstance:function(){_o[this.id]=this}}}],data:function(){return{questionRefs:[],completed:!1,submitted:!1,activeQuestionIndex:0,questionList:[],questionListActivePath:[],reverse:!1,timerOn:!1,timerInterval:null,time:0,disabled:!1}},mounted:function(){document.addEventListener("keydown",this.onKeyDownListener),document.addEventListener("keyup",this.onKeyUpListener,!0),window.addEventListener("beforeunload",this.onBeforeUnload),this.setQuestions(),this.checkTimer()},beforeUnmount:function(){document.removeEventListener("keydown",this.onKeyDownListener),document.removeEventListener("keyup",this.onKeyUpListener,!0),window.removeEventListener("beforeunload",this.onBeforeUnload),this.stopTimer()},beforeUpdate:function(){this.questionRefs=[]},computed:{numActiveQuestions:function(){return this.questionListActivePath.length},activeQuestion:function(){return this.questionListActivePath[this.activeQuestionIndex]},activeQuestionId:function(){var e=this.questionModels[this.activeQuestionIndex];return this.isOnLastStep?"_submit":e&&e.id?e.id:null},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){t.answered&&++e})),e},percentCompleted:function(){return this.numActiveQuestions?Math.floor(this.numCompletedQuestions/this.numActiveQuestions*100):0},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length},isOnTimerStartStep:function(){return this.activeQuestionId===this.timerStartStep||!this.timerOn&&!this.timerStartStep&&0===this.activeQuestionIndex},isOnTimerStopStep:function(){return!!this.submitted||this.activeQuestionId===this.timerStopStep},questionModels:{cache:!1,get:function(){var e=this;if(this.questions&&this.questions.length)return this.questions;var t=[];if(!this.questions){var n={options:Ne,descriptionLink:qe},o=this.$slots.default(),r=null;o&&o.length&&((r=o[0].children)||(r=o)),r&&r.filter((function(e){return e.type&&-1!==e.type.name.indexOf("Question")})).forEach((function(o){var r=o.props,i=e.getInstance(r.id),s=new Fe;null!==i.question&&(s=i.question),r.modelValue&&(s.answer=r.modelValue),Object.keys(s).forEach((function(e){if(void 0!==r[e])if("boolean"==typeof s[e])s[e]=!1!==r[e];else if(e in n){var t=n[e],o=[];r[e].forEach((function(e){var n=new t;Object.keys(n).forEach((function(t){void 0!==e[t]&&(n[t]=e[t])})),o.push(n)})),s[e]=o}else switch(e){case"type":if(-1!==Object.values(Ae).indexOf(r[e]))s[e]=r[e];else for(var i in Ae)if(i.toLowerCase()===r[e].toLowerCase()){s[e]=Ae[i];break}break;default:s[e]=r[e]}})),i.question=s,s.resetOptions(),t.push(s)}))}return t}}},methods:{setQuestionRef:function(e){this.questionRefs.push(e)},activeQuestionComponent:function(){return this.questionRefs[this.activeQuestionIndex]},setQuestions:function(){this.setQuestionListActivePath(),this.setQuestionList()},setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t,n=0,o=0;do{var r=this.questionModels[n];if(r.setIndex(o),r.language=this.language,e.push(r),r.jump)if(r.answered)if(t=r.getJumpId()){if("_submit"===t)n=this.questionModels.length;else for(var i=0;i<this.questionModels.length;i++)if(this.questionModels[i].id===t){n=i;break}}else++n;else n=this.questionModels.length;else++n;++o}while(n<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];if(e.push(n),!n.answered){this.completed&&(this.completed=!1);break}}this.questionList=e},onBeforeUnload:function(e){this.activeQuestionIndex>0&&!this.submitted&&(e.preventDefault(),e.returnValue="")},onKeyDownListener:function(e){if("Tab"===e.key&&!this.submitted)if(e.shiftKey)e.stopPropagation(),e.preventDefault(),this.navigation&&this.goToPreviousQuestion();else{var t=this.activeQuestionComponent();t.shouldFocus()?(e.preventDefault(),t.focusField()):(e.stopPropagation(),this.emitTab(),this.reverse=!1)}},onKeyUpListener:function(e){if(!e.shiftKey&&-1!==["Tab","Enter"].indexOf(e.key)&&!this.submitted){var t=this.activeQuestionComponent();"Tab"===e.key&&t.shouldFocus()?t.focusField():("Enter"===e.key&&this.emitEnter(),e.stopPropagation(),this.reverse=!1)}},emitEnter:function(){if(!this.disabled){var e=this.activeQuestionComponent();e?e.onEnter():this.completed&&this.isOnLastStep&&this.submit()}},emitTab:function(){var e=this.activeQuestionComponent();e?e.onTab():this.emitEnter()},submit:function(){this.emitSubmit(),this.submitted=!0},emitComplete:function(){this.$emit("complete",this.completed,this.questionList)},emitSubmit:function(){this.$emit("submit",this.questionList)},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(!e||e.required)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e.question),this.activeQuestionIndex<this.questionListActivePath.length&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestions(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e?(e.focusField(),t.activeQuestionIndex=e.question.index):t.isOnLastStep&&(t.completed=!0,t.activeQuestionIndex=t.questionListActivePath.length,t.$refs.button&&t.$refs.button.focus()),t.$emit("step",t.activeQuestionId,t.activeQuestion)}))}))):this.completed&&(this.completed=!1)},goToPreviousQuestion:function(){this.blurFocus(),this.activeQuestionIndex>0&&!this.submitted&&(this.isOnTimerStopStep&&this.startTimer(),--this.activeQuestionIndex,this.reverse=!0,this.checkTimer())},goToNextQuestion:function(){this.blurFocus(),this.isNextQuestionAvailable()&&this.emitEnter(),this.reverse=!1},blurFocus:function(){document.activeElement&&document.activeElement.blur&&document.activeElement.blur()},checkTimer:function(){this.timer&&(this.isOnTimerStartStep?this.startTimer():this.isOnTimerStopStep&&this.stopTimer())},startTimer:function(){this.timer&&!this.timerOn&&(this.timerInterval=setInterval(this.incrementTime,1e3),this.timerOn=!0)},stopTimer:function(){this.timerOn&&clearInterval(this.timerInterval),this.timerOn=!1},incrementTime:function(){++this.time,this.$emit("timer",this.time,this.formatTime(this.time))},formatTime:function(e){var t=14,n=5;return e>=3600&&(t=11,n=8),new Date(1e3*e).toISOString().substr(t,n)},setDisabled:function(e){this.disabled=e}},watch:{completed:function(){this.emitComplete()},submitted:function(){this.stopTimer()}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("flow-form-question");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff",{"vff-not-standalone":!n.standalone,"vff-is-mobile":e.isMobile,"vff-is-ios":e.isIos}]},[(0,o.createVNode)("div",so,[(0,o.createVNode)("div",ao,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(i.questionList,(function(e,t){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref:s.setQuestionRef,question:e,language:n.language,key:"q"+t,active:e.index===i.activeQuestionIndex,modelValue:e.answer,"onUpdate:modelValue":function(t){return e.answer=t},onAnswer:s.onQuestionAnswered,reverse:i.reverse,disabled:i.disabled,onDisable:s.setDisabled},null,8,["question","language","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createBlock)("div",lo,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createVNode)("div",co,[(0,o.createVNode)("p",null,[(0,o.createVNode)("span",uo,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:"o-btn-action",ref:"button",type:"button",href:"#",onClick:t[1]||(t[1]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],8,["aria-label"])),i.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(e){return s.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])),i.submitted?((0,o.openBlock)(),(0,o.createBlock)("p",po,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createVNode)("div",fo,[(0,o.createVNode)("div",ho,[n.progressbar?((0,o.openBlock)(),(0,o.createBlock)("div",{key:0,class:["f-progress",{"not-started":0===s.percentCompleted,completed:100===s.percentCompleted}]},[(0,o.createVNode)("div",mo,[(0,o.createVNode)("div",{class:"f-progress-bar-inner",style:"width: "+s.percentCompleted+"%;"},null,4)]),(0,o.createTextVNode)(" "+(0,o.toDisplayString)(n.language.percentCompleted.replace(":percent",s.percentCompleted)),1)],2)):(0,o.createCommentVNode)("",!0),n.navigation?((0,o.openBlock)(),(0,o.createBlock)("div",vo,[(0,o.createVNode)("a",{class:["f-prev",{"f-disabled":0===i.activeQuestionIndex||i.submitted}],href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(e){return s.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[go,(0,o.createVNode)("span",yo,(0,o.toDisplayString)(n.language.prev),1)],10,["aria-label"]),(0,o.createVNode)("a",{class:["f-next",{"f-disabled":!s.isNextQuestionAvailable()}],href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(e){return s.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[bo,(0,o.createVNode)("span",wo,(0,o.toDisplayString)(n.language.next),1)],10,["aria-label"])])):(0,o.createCommentVNode)("",!0),n.timer?((0,o.openBlock)(),(0,o.createBlock)("div",xo,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(s.formatTime(i.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}};function So(e){return(So="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}const Co={name:"Form",extends:ko,components:{FormQuestion:Xn},props:{language:{type:io,default:function(){return new io}},submitting:{type:Boolean,default:!1},isActiveForm:{type:Boolean,default:!0},globalVars:{Type:Object,default:{}}},data:function(){return{formData:{},submitClicked:!1}},computed:{numActiveQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){[_t.WelcomeScreen,_t.SectionBreak,_t.Hidden].includes(t.type)||++e})),e},numCompletedQuestions:function(){var e=0;return this.questionListActivePath.forEach((function(t){![_t.WelcomeScreen,_t.SectionBreak,_t.Hidden].includes(t.type)&&t.answered&&++e})),e},isOnLastStep:function(){return this.numActiveQuestions>0&&this.activeQuestionIndex===this.questionListActivePath.length-1},hasImageLayout:function(){if(this.questionListActivePath[this.activeQuestionIndex])return"default"!=this.questionListActivePath[this.activeQuestionIndex].style_pref.layout},vffClasses:function(){var e=[];if(this.standalone||e.push("vff-not-standalone"),this.isMobile&&e.push("vff-is-mobile"),this.isIos&&e.push("vff-is-ios"),this.hasImageLayout?e.push("has-img-layout"):e.push("has-default-layout"),this.questionListActivePath[this.activeQuestionIndex]){var t=this.questionListActivePath[this.activeQuestionIndex].style_pref;e.push("vff_layout_"+t.layout)}else e.push("vff_layout_default");return this.isOnLastStep&&e.push("ffc_last_step"),e}},methods:{setQuestionListActivePath:function(){var e=[];if(this.questionModels.length){var t={};this.questionModels.forEach((function(e){e.name&&(t[e.name]=e.answer)}));var n,o=0,r=0,i=0;do{var s=this.questionModels[o];if(s.showQuestion(t)){if(s.setIndex(r),s.language=this.language,[_t.WelcomeScreen,_t.SectionBreak].includes(s.type)||(++i,s.setCounter(i)),e.push(s),s.jump)if(s.answered)if(n=s.getJumpId()){if("_submit"===n)o=this.questionModels.length;else for(var a=0;a<this.questionModels.length;a++)if(this.questionModels[a].id===n){o=a;break}}else++o;else o=this.questionModels.length;else++o;++r}else++o}while(o<this.questionModels.length);this.questionListActivePath=e}},setQuestionList:function(){for(var e=[],t=0;t<this.questionListActivePath.length;t++){var n=this.questionListActivePath[t];e.push(n),this.formData[n.name]=n.answer,n.answered||this.completed&&(this.completed=!1)}this.questionList=e},emitSubmit:function(){this.submitting||this.$emit("submit",this.questionList)},onQuestionAnswered:function(e){var t=this;e.isValid()?(this.$emit("answer",e),this.activeQuestionIndex<this.questionListActivePath.length-1&&++this.activeQuestionIndex,this.$nextTick((function(){t.reverse=!1,t.setQuestionList(),t.checkTimer(),t.$nextTick((function(){var e=t.activeQuestionComponent();e&&!t.submitClicked?(e.focusField(),t.activeQuestionIndex=e.question.index,e.dataValue=e.question.answer,e.$refs.questionComponent.dataValue=e.$refs.questionComponent.answer=e.question.answer,t.$emit("step",t.activeQuestionId,t.activeQuestion)):(t.completed=!0,t.$refs.button&&t.$refs.button.focus(),t.submit())}))}))):this.completed&&(this.completed=!1)},replaceSmartCodes:function(e){if(!e||-1==e.indexOf("{dynamic."))return e;for(var t=/{dynamic.(.*?)}/g,n=!1,o=e;n=t.exec(e);){var r=n[1],i="",s=r.split("|");2===s.length&&(r=s[0],i=s[1]);var a=this.formData[r];a?"object"==So(a)&&(a=a.join(", ")):a=i,o=o.replace(n[0],a)}return o},onQuestionAnswerChanged:function(){this.setQuestionListActivePath()},isNextQuestionAvailable:function(){if(this.submitted)return!1;var e=this.activeQuestion;return!(e&&e.required&&!e.answered)&&(!(!e||e.required||this.isOnLastStep)||(!(!this.completed||this.isOnLastStep)||this.activeQuestionIndex<this.questionList.length-1))},onSubmit:function(){this.submitClicked=!0}},watch:{activeQuestionIndex:function(e){this.$emit("activeQuestionIndexChanged",e)}},render:function(e,t,n,r,i,s){var a=(0,o.resolveComponent)("form-question");return(0,o.openBlock)(),(0,o.createBlock)("div",{class:["vff",s.vffClasses]},[(0,o.createVNode)("div",P,[(0,o.createVNode)("div",L,[((0,o.openBlock)(!0),(0,o.createBlock)(o.Fragment,null,(0,o.renderList)(e.questionList,(function(t,r){return(0,o.openBlock)(),(0,o.createBlock)(a,{ref:e.setQuestionRef,question:t,language:n.language,isActiveForm:n.isActiveForm,key:"q"+r,active:t.index===e.activeQuestionIndex,modelValue:t.answer,"onUpdate:modelValue":function(e){return t.answer=e},onAnswer:s.onQuestionAnswered,reverse:e.reverse,disabled:e.disabled,onDisable:e.setDisabled,submitting:n.submitting,lastStep:s.isOnLastStep,replaceSmartCodes:s.replaceSmartCodes,onAnswered:s.onQuestionAnswerChanged,onSubmit:s.onSubmit},null,8,["question","language","isActiveForm","active","modelValue","onUpdate:modelValue","onAnswer","reverse","disabled","onDisable","submitting","lastStep","replaceSmartCodes","onAnswered","onSubmit"])})),128)),(0,o.renderSlot)(e.$slots,"default"),s.isOnLastStep?((0,o.openBlock)(),(0,o.createBlock)("div",D,[(0,o.renderSlot)(e.$slots,"complete",{},(function(){return[(0,o.createVNode)("div",I,[(0,o.createVNode)("p",null,[(0,o.createVNode)("span",j,(0,o.toDisplayString)(n.language.thankYouText),1)])])]})),(0,o.renderSlot)(e.$slots,"completeButton",{},(function(){return[e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("button",{key:0,class:["o-btn-action",{ffc_submitting:n.submitting}],ref:"button",type:"button",href:"#",disabled:n.submitting,onClick:t[1]||(t[1]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),"aria-label":n.language.ariaSubmitText},[(0,o.createVNode)("span",null,(0,o.toDisplayString)(n.language.submitText),1)],10,["disabled","aria-label"])),e.submitted?(0,o.createCommentVNode)("",!0):((0,o.openBlock)(),(0,o.createBlock)("a",{key:1,class:"f-enter-desc",href:"#",onClick:t[2]||(t[2]=(0,o.withModifiers)((function(t){return e.submit()}),["prevent"])),innerHTML:n.language.formatString(n.language.pressEnter)},null,8,["innerHTML"])),e.submitted?((0,o.openBlock)(),(0,o.createBlock)("p",$,(0,o.toDisplayString)(n.language.successText),1)):(0,o.createCommentVNode)("",!0)]}))])):(0,o.createCommentVNode)("",!0)])]),(0,o.createVNode)("div",R,[(0,o.createVNode)("div",z,[e.progressbar?((0,o.openBlock)(),(0,o.createBlock)("div",{key:0,class:["f-progress",{"not-started":0===e.percentCompleted,completed:100===e.percentCompleted}]},[n.language.percentCompleted?((0,o.openBlock)(),(0,o.createBlock)("span",H,(0,o.toDisplayString)(n.language.percentCompleted.replace("{percent}",e.percentCompleted).replace("{step}",s.numCompletedQuestions).replace("{total}",s.numActiveQuestions)),1)):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("div",U,[(0,o.createVNode)("div",{class:"f-progress-bar-inner",style:"width: "+e.percentCompleted+"%;"},null,4)])],2)):(0,o.createCommentVNode)("",!0),e.navigation?((0,o.openBlock)(),(0,o.createBlock)("div",K,["yes"!=n.globalVars.design.disable_branding?((0,o.openBlock)(),(0,o.createBlock)("a",W,[Q,Y])):(0,o.createCommentVNode)("",!0),(0,o.createVNode)("a",{class:["f-prev",{"f-disabled":0===e.activeQuestionIndex||e.submitted}],href:"#",onClick:t[3]||(t[3]=(0,o.withModifiers)((function(t){return e.goToPreviousQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaPrev},[J,(0,o.createVNode)("span",G,(0,o.toDisplayString)(n.language.prev),1)],10,["aria-label"]),(0,o.createVNode)("a",{class:["f-next",{"f-disabled":!s.isNextQuestionAvailable()}],href:"#",onClick:t[4]||(t[4]=(0,o.withModifiers)((function(t){return e.goToNextQuestion()}),["prevent"])),role:"button","aria-label":n.language.ariaNext},[Z,(0,o.createVNode)("span",X,(0,o.toDisplayString)(n.language.next),1)],10,["aria-label"])])):(0,o.createCommentVNode)("",!0),e.timer?((0,o.openBlock)(),(0,o.createBlock)("div",ee,[(0,o.createVNode)("span",null,(0,o.toDisplayString)(e.formatTime(e.time)),1)])):(0,o.createCommentVNode)("",!0)])])],2)}},Oo={name:"app",components:{FlowForm:Co},data:function(){return{submitted:!1,completed:!1,language:new io,submissionMessage:"",errorMessage:"",hasError:!1,hasjQuery:"function"==typeof window.jQuery,isActiveForm:!1,submitting:!1,handlingScroll:!1,isScrollInit:!1,scrollDom:null}},computed:{questions:function(){var e=[],t=[_t.Dropdown,_t.MultipleChoice,_t.MultiplePictureChoice,_t.TermsAndCondition,"FlowFormDropdownMultipleType"];return this.globalVars.form.questions.forEach((function(n){t.includes(n.type)&&(n.options=n.options.map((function(e){return n.type===_t.MultiplePictureChoice&&(e.imageSrc=e.image),new Ne(e)}))),e.push(new kt(n))})),e}},watch:{isActiveForm:function(e){e&&!this.isScrollInit?(this.initScrollHandler(),this.isScrollInit=!0):(this.isScrollInit=!1,this.removeScrollHandler())}},mounted:function(){if(this.initActiveFormFocus(),"yes"!=this.globalVars.design.disable_scroll_to_next){var e=document.getElementsByClassName("ff_conv_app_"+this.globalVars.form.id);e.length&&(this.scrollDom=e[0])}},beforeDestroy:function(){document.removeEventListener("keyup",this.onKeyListener)},methods:{onAnswer:function(){this.isActiveForm=!0},initScrollHandler:function(){this.scrollDom&&(this.scrollDom.addEventListener("wheel",this.onMouseScroll),this.scrollDom.addEventListener("swiped",this.onSwipe))},onMouseScroll:function(e){if(this.handlingScroll)return!1;e.deltaY>50?this.handleAutoQChange("next"):e.deltaY<-50&&this.handleAutoQChange("prev"),e.preventDefault()},onSwipe:function(e){var t=e.detail.dir;"up"===t?this.handleAutoQChange("next"):"down"===t&&this.handleAutoQChange("prev")},removeScrollHandler:function(){this.scrollDom.removeEventListener("wheel",this.onMouseScroll),this.scrollDom.removeEventListener("swiped",this.onSwipe)},handleAutoQChange:function(e){var t,n=document.querySelector(".ff_conv_app_"+this.globalVars.form.id+" .f-"+e);!n||(t="f-disabled",(" "+n.className+" ").indexOf(" "+t+" ")>-1)||(this.handlingScroll=!0,n.click())},activeQuestionIndexChanged:function(){var e=this;setTimeout((function(){e.handlingScroll=!1}),1500)},initActiveFormFocus:function(){var e=this;if(this.globalVars.is_inline_form){this.isActiveForm=!1;var t=document.querySelector(".ff_conv_app_frame");document.addEventListener("click",(function(n){e.isActiveForm=t.contains(n.target)})),document.addEventListener("keyup",this.onKeyListener)}else this.isActiveForm=!0,document.addEventListener("keyup",this.onKeyListener)},onKeyListener:function(e){"Enter"===e.key&&this.completed&&!this.submitted&&this.onSendData()},onComplete:function(e,t){this.completed=e},onSubmit:function(e){this.onSendData()},onSendData:function(){var e=this;this.errorMessage="";var t=this.getData(),n=this.globalVars.form.id,o=new FormData;for(var r in this.globalVars.extra_inputs)t+="&"+encodeURIComponent(r)+"="+encodeURIComponent(this.globalVars.extra_inputs[r]);o.append("data",t),o.append("action","fluentform_submit"),o.append("form_id",n);var i=this.globalVars.ajaxurl;var s,a,l=(s="t="+Date.now(),a=i,a+=(a.split("?")[1]?"&":"?")+s);this.submitting=!0,fetch(l,{method:"POST",body:o}).then((function(e){return e.json()})).then((function(t){if(t&&t.data&&t.data.result){if(e.hasjQuery){if(t.data.nextAction)return void jQuery(document.body).trigger("fluentform_next_action_"+t.data.nextAction,{response:t});jQuery(document.body).trigger("fluentform_submission_success",{response:t})}e.$refs.flowform.submitted=e.submitted=!0,t.data.result.message&&(e.submissionMessage=t.data.result.message),"redirectUrl"in t.data.result&&t.data.result.redirectUrl&&(location.href=t.data.result.redirectUrl)}else t.errors?(e.showErrorMessages(t.errors),e.showErrorMessages(t.message)):(e.showErrorMessages(t),e.showErrorMessages(t.message))})).catch((function(t){t.errors?e.showErrorMessages(t.errors):e.showErrorMessages(t)})).finally((function(t){e.submitting=!1}))},getData:function(){var e=[];return this.$refs.flowform.questionList.forEach((function(t){null!==t.answer&&e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.answer))})),this.questions.forEach((function(t){t.type===_t.Hidden&&null!==t.answer&&e.push(encodeURIComponent(t.name)+"="+encodeURIComponent(t.answer))})),e.join("&")},getSubmitText:function(){return this.globalVars.form.submit_button.settings.button_ui.text||"Submit"},showErrorMessages:function(e){var t=this;if(e)if("string"==typeof e)this.errorMessage=e;else{var n=function(n){if("string"==typeof e[n])t.errorMessage=e[n];else for(var o in e[n]){var r=t.questions.filter((function(e){return e.name===n}));r&&r.length?((r=r[0]).error=e[n][o],t.$refs.flowform.submitted=t.submitted=!1,t.$refs.flowform.submitClicked=!1,t.$refs.flowform.activeQuestionIndex=r.index,t.$refs.flowform.questionRefs[r.index].focusField()):t.errorMessage=e[n][o];break}return"break"};for(var o in e){if("break"===n(o))break}}}},render:function(e,t,n,p,f,h){var m=(0,o.resolveComponent)("flow-form");return(0,o.openBlock)(),(0,o.createBlock)("div",null,[f.submissionMessage?((0,o.openBlock)(),(0,o.createBlock)("div",a,[(0,o.createVNode)("div",l,[(0,o.createVNode)("div",c,[(0,o.createVNode)("div",u,[(0,o.createVNode)("div",d,[(0,o.createVNode)("div",{class:"ff_conv_input q-inner",innerHTML:f.submissionMessage},null,8,["innerHTML"])])])])])])):((0,o.openBlock)(),(0,o.createBlock)(m,{key:0,ref:"flowform",onComplete:h.onComplete,onSubmit:h.onSubmit,onActiveQuestionIndexChanged:h.activeQuestionIndexChanged,onAnswer:h.onAnswer,questions:h.questions,isActiveForm:f.isActiveForm,language:f.language,globalVars:e.globalVars,standalone:!0,submitting:f.submitting,navigation:1!=e.globalVars.disable_step_naviagtion},{complete:(0,o.withCtx)((function(){return[r]})),completeButton:(0,o.withCtx)((function(){return[i,f.errorMessage?((0,o.openBlock)(),(0,o.createBlock)("div",s,(0,o.toDisplayString)(f.errorMessage),1)):(0,o.createCommentVNode)("",!0)]})),_:1},8,["onComplete","onSubmit","onActiveQuestionIndexChanged","onAnswer","questions","isActiveForm","language","globalVars","submitting","navigation"]))])}},To=Oo;function Eo(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,o=new Array(t);n<t;n++)o[n]=e[n];return o}function Bo(e){window.fluent_forms_global_var=window[e.getAttribute("data-var_name")];var t=(0,o.createApp)(To);t.config.globalProperties.globalVars=window.fluent_forms_global_var,t.mount("#"+e.id)}n(6770);var Mo,Ao=function(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(!e)return;if("string"==typeof e)return Eo(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);"Object"===n&&e.constructor&&(n=e.constructor.name);if("Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Eo(e,t)}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var o=0,r=function(){};return{s:r,n:function(){return o>=e.length?{done:!0}:{done:!1,value:e[o++]}},e:function(e){throw e},f:r}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,s=!0,a=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return s=e.done,e},e:function(e){a=!0,i=e},f:function(){try{s||null==n.return||n.return()}finally{if(a)throw i}}}}(document.getElementsByClassName("ffc_conv_form"));try{for(Ao.s();!(Mo=Ao.n()).done;){Bo(Mo.value)}}catch(e){Ao.e(e)}finally{Ao.f()}},7484:function(e){e.exports=function(){"use strict";var e=1e3,t=6e4,n=36e5,o="millisecond",r="second",i="minute",s="hour",a="day",l="week",c="month",u="quarter",d="year",p="date",f="Invalid Date",h=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,m=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,v={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},g=function(e,t,n){var o=String(e);return!o||o.length>=t?e:""+Array(t+1-o.length).join(n)+e},y={s:g,z:function(e){var t=-e.utcOffset(),n=Math.abs(t),o=Math.floor(n/60),r=n%60;return(t<=0?"+":"-")+g(o,2,"0")+":"+g(r,2,"0")},m:function e(t,n){if(t.date()<n.date())return-e(n,t);var o=12*(n.year()-t.year())+(n.month()-t.month()),r=t.clone().add(o,c),i=n-r<0,s=t.clone().add(o+(i?-1:1),c);return+(-(o+(n-r)/(i?r-s:s-r))||0)},a:function(e){return e<0?Math.ceil(e)||0:Math.floor(e)},p:function(e){return{M:c,y:d,w:l,d:a,D:p,h:s,m:i,s:r,ms:o,Q:u}[e]||String(e||"").toLowerCase().replace(/s$/,"")},u:function(e){return void 0===e}},b="en",w={};w[b]=v;var x=function(e){return e instanceof C},_=function(e,t,n){var o;if(!e)return b;if("string"==typeof e)w[e]&&(o=e),t&&(w[e]=t,o=e);else{var r=e.name;w[r]=e,o=r}return!n&&o&&(b=o),o||!n&&b},k=function(e,t){if(x(e))return e.clone();var n="object"==typeof t?t:{};return n.date=e,n.args=arguments,new C(n)},S=y;S.l=_,S.i=x,S.w=function(e,t){return k(e,{locale:t.$L,utc:t.$u,x:t.$x,$offset:t.$offset})};var C=function(){function v(e){this.$L=_(e.locale,null,!0),this.parse(e)}var g=v.prototype;return g.parse=function(e){this.$d=function(e){var t=e.date,n=e.utc;if(null===t)return new Date(NaN);if(S.u(t))return new Date;if(t instanceof Date)return new Date(t);if("string"==typeof t&&!/Z$/i.test(t)){var o=t.match(h);if(o){var r=o[2]-1||0,i=(o[7]||"0").substring(0,3);return n?new Date(Date.UTC(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)):new Date(o[1],r,o[3]||1,o[4]||0,o[5]||0,o[6]||0,i)}}return new Date(t)}(e),this.$x=e.x||{},this.init()},g.init=function(){var e=this.$d;this.$y=e.getFullYear(),this.$M=e.getMonth(),this.$D=e.getDate(),this.$W=e.getDay(),this.$H=e.getHours(),this.$m=e.getMinutes(),this.$s=e.getSeconds(),this.$ms=e.getMilliseconds()},g.$utils=function(){return S},g.isValid=function(){return!(this.$d.toString()===f)},g.isSame=function(e,t){var n=k(e);return this.startOf(t)<=n&&n<=this.endOf(t)},g.isAfter=function(e,t){return k(e)<this.startOf(t)},g.isBefore=function(e,t){return this.endOf(t)<k(e)},g.$g=function(e,t,n){return S.u(e)?this[t]:this.set(n,e)},g.unix=function(){return Math.floor(this.valueOf()/1e3)},g.valueOf=function(){return this.$d.getTime()},g.startOf=function(e,t){var n=this,o=!!S.u(t)||t,u=S.p(e),f=function(e,t){var r=S.w(n.$u?Date.UTC(n.$y,t,e):new Date(n.$y,t,e),n);return o?r:r.endOf(a)},h=function(e,t){return S.w(n.toDate()[e].apply(n.toDate("s"),(o?[0,0,0,0]:[23,59,59,999]).slice(t)),n)},m=this.$W,v=this.$M,g=this.$D,y="set"+(this.$u?"UTC":"");switch(u){case d:return o?f(1,0):f(31,11);case c:return o?f(1,v):f(0,v+1);case l:var b=this.$locale().weekStart||0,w=(m<b?m+7:m)-b;return f(o?g-w:g+(6-w),v);case a:case p:return h(y+"Hours",0);case s:return h(y+"Minutes",1);case i:return h(y+"Seconds",2);case r:return h(y+"Milliseconds",3);default:return this.clone()}},g.endOf=function(e){return this.startOf(e,!1)},g.$set=function(e,t){var n,l=S.p(e),u="set"+(this.$u?"UTC":""),f=(n={},n[a]=u+"Date",n[p]=u+"Date",n[c]=u+"Month",n[d]=u+"FullYear",n[s]=u+"Hours",n[i]=u+"Minutes",n[r]=u+"Seconds",n[o]=u+"Milliseconds",n)[l],h=l===a?this.$D+(t-this.$W):t;if(l===c||l===d){var m=this.clone().set(p,1);m.$d[f](h),m.init(),this.$d=m.set(p,Math.min(this.$D,m.daysInMonth())).$d}else f&&this.$d[f](h);return this.init(),this},g.set=function(e,t){return this.clone().$set(e,t)},g.get=function(e){return this[S.p(e)]()},g.add=function(o,u){var p,f=this;o=Number(o);var h=S.p(u),m=function(e){var t=k(f);return S.w(t.date(t.date()+Math.round(e*o)),f)};if(h===c)return this.set(c,this.$M+o);if(h===d)return this.set(d,this.$y+o);if(h===a)return m(1);if(h===l)return m(7);var v=(p={},p[i]=t,p[s]=n,p[r]=e,p)[h]||1,g=this.$d.getTime()+o*v;return S.w(g,this)},g.subtract=function(e,t){return this.add(-1*e,t)},g.format=function(e){var t=this;if(!this.isValid())return f;var n=e||"YYYY-MM-DDTHH:mm:ssZ",o=S.z(this),r=this.$locale(),i=this.$H,s=this.$m,a=this.$M,l=r.weekdays,c=r.months,u=function(e,o,r,i){return e&&(e[o]||e(t,n))||r[o].substr(0,i)},d=function(e){return S.s(i%12||12,e,"0")},p=r.meridiem||function(e,t,n){var o=e<12?"AM":"PM";return n?o.toLowerCase():o},h={YY:String(this.$y).slice(-2),YYYY:this.$y,M:a+1,MM:S.s(a+1,2,"0"),MMM:u(r.monthsShort,a,c,3),MMMM:u(c,a),D:this.$D,DD:S.s(this.$D,2,"0"),d:String(this.$W),dd:u(r.weekdaysMin,this.$W,l,2),ddd:u(r.weekdaysShort,this.$W,l,3),dddd:l[this.$W],H:String(i),HH:S.s(i,2,"0"),h:d(1),hh:d(2),a:p(i,s,!0),A:p(i,s,!1),m:String(s),mm:S.s(s,2,"0"),s:String(this.$s),ss:S.s(this.$s,2,"0"),SSS:S.s(this.$ms,3,"0"),Z:o};return n.replace(m,(function(e,t){return t||h[e]||o.replace(":","")}))},g.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},g.diff=function(o,p,f){var h,m=S.p(p),v=k(o),g=(v.utcOffset()-this.utcOffset())*t,y=this-v,b=S.m(this,v);return b=(h={},h[d]=b/12,h[c]=b,h[u]=b/3,h[l]=(y-g)/6048e5,h[a]=(y-g)/864e5,h[s]=y/n,h[i]=y/t,h[r]=y/e,h)[m]||y,f?b:S.a(b)},g.daysInMonth=function(){return this.endOf(c).$D},g.$locale=function(){return w[this.$L]},g.locale=function(e,t){if(!e)return this.$L;var n=this.clone(),o=_(e,t,!0);return o&&(n.$L=o),n},g.clone=function(){return S.w(this.$d,this)},g.toDate=function(){return new Date(this.valueOf())},g.toJSON=function(){return this.isValid()?this.toISOString():null},g.toISOString=function(){return this.$d.toISOString()},g.toString=function(){return this.$d.toUTCString()},v}(),O=C.prototype;return k.prototype=O,[["$ms",o],["$s",r],["$m",i],["$H",s],["$W",a],["$M",c],["$y",d],["$D",p]].forEach((function(e){O[e[1]]=function(t){return this.$g(t,e[0],e[1])}})),k.extend=function(e,t){return e.$i||(e(t,C,k),e.$i=!0),k},k.locale=_,k.isDayjs=x,k.unix=function(e){return k(1e3*e)},k.en=w[b],k.Ls=w,k.p={},k}()},1247:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(6722),r=n(3566),i=n(7363),s=n(9272),a=n(2796);function l(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var c=l(r),u=l(a);const d=new Map;let p;function f(e,t){let n=[];return Array.isArray(t.arg)?n=t.arg:n.push(t.arg),function(o,r){const i=t.instance.popperRef,s=o.target,a=null==r?void 0:r.target,l=!t||!t.instance,c=!s||!a,u=e.contains(s)||e.contains(a),d=e===s,p=n.length&&n.some((e=>null==e?void 0:e.contains(s)))||n.length&&n.includes(a),f=i&&(i.contains(s)||i.contains(a));l||c||u||d||p||f||t.value(o,r)}}c.default||(o.on(document,"mousedown",(e=>p=e)),o.on(document,"mouseup",(e=>{for(const{documentHandler:t}of d.values())t(e,p)})));const h={beforeMount(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},updated(e,t){d.set(e,{documentHandler:f(e,t),bindingFn:t.value})},unmounted(e){d.delete(e)}};var m={beforeMount(e,t){let n,r=null;const i=()=>t.value&&t.value(),s=()=>{Date.now()-n<100&&i(),clearInterval(r),r=null};o.on(e,"mousedown",(e=>{0===e.button&&(n=Date.now(),o.once(document,"mouseup",s),clearInterval(r),r=setInterval(i,100))}))}};const v="_trap-focus-children",g=[],y=e=>{if(0===g.length)return;const t=g[g.length-1][v];if(t.length>0&&e.code===s.EVENT_CODE.tab){if(1===t.length)return e.preventDefault(),void(document.activeElement!==t[0]&&t[0].focus());const n=e.shiftKey,o=e.target===t[0],r=e.target===t[t.length-1];o&&n&&(e.preventDefault(),t[t.length-1].focus()),r&&!n&&(e.preventDefault(),t[0].focus())}},b={beforeMount(e){e[v]=s.obtainAllFocusableElements(e),g.push(e),g.length<=1&&o.on(document,"keydown",y)},updated(e){i.nextTick((()=>{e[v]=s.obtainAllFocusableElements(e)}))},unmounted(){g.shift(),0===g.length&&o.off(document,"keydown",y)}},w="undefined"!=typeof navigator&&navigator.userAgent.toLowerCase().indexOf("firefox")>-1,x={beforeMount(e,t){!function(e,t){if(e&&e.addEventListener){const n=function(e){const n=u.default(e);t&&t.apply(this,[e,n])};w?e.addEventListener("DOMMouseScroll",n):e.onmousewheel=n}}(e,t.value)}};t.ClickOutside=h,t.Mousewheel=x,t.RepeatClick=m,t.TrapFocus=b},7800:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363);function r(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var i=r(n(9652));const s="elForm",a={addField:"el.form.addField",removeField:"el.form.removeField"};var l=Object.defineProperty,c=Object.defineProperties,u=Object.getOwnPropertyDescriptors,d=Object.getOwnPropertySymbols,p=Object.prototype.hasOwnProperty,f=Object.prototype.propertyIsEnumerable,h=(e,t,n)=>t in e?l(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,m=(e,t)=>{for(var n in t||(t={}))p.call(t,n)&&h(e,n,t[n]);if(d)for(var n of d(t))f.call(t,n)&&h(e,n,t[n]);return e};var v=o.defineComponent({name:"ElForm",props:{model:Object,rules:Object,labelPosition:String,labelWidth:String,labelSuffix:{type:String,default:""},inline:Boolean,inlineMessage:Boolean,statusIcon:Boolean,showMessage:{type:Boolean,default:!0},size:String,disabled:Boolean,validateOnRuleChange:{type:Boolean,default:!0},hideRequiredAsterisk:{type:Boolean,default:!1}},emits:["validate"],setup(e,{emit:t}){const n=i.default(),r=[];o.watch((()=>e.rules),(()=>{r.forEach((e=>{e.removeValidateEvents(),e.addValidateEvents()})),e.validateOnRuleChange&&p((()=>({})))})),n.on(a.addField,(e=>{e&&r.push(e)})),n.on(a.removeField,(e=>{e.prop&&r.splice(r.indexOf(e),1)}));const l=()=>{e.model?r.forEach((e=>{e.resetField()})):console.warn("[Element Warn][Form]model is required for resetFields to work.")},d=(e=[])=>{(e.length?"string"==typeof e?r.filter((t=>e===t.prop)):r.filter((t=>e.indexOf(t.prop)>-1)):r).forEach((e=>{e.clearValidate()}))},p=t=>{if(!e.model)return void console.warn("[Element Warn][Form]model is required for validate to work!");let n;"function"!=typeof t&&(n=new Promise(((e,n)=>{t=function(t,o){t?e(!0):n(o)}}))),0===r.length&&t(!0);let o=!0,i=0,s={};for(const e of r)e.validate("",((e,n)=>{e&&(o=!1),s=m(m({},s),n),++i===r.length&&t(o,s)}));return n},f=(e,t)=>{e=[].concat(e);const n=r.filter((t=>-1!==e.indexOf(t.prop)));r.length?n.forEach((e=>{e.validate("",t)})):console.warn("[Element Warn]please pass correct props!")},h=o.reactive(m((v=m({formMitt:n},o.toRefs(e)),c(v,u({resetFields:l,clearValidate:d,validateField:f,emit:t}))),function(){const e=o.ref([]);function t(t){const n=e.value.indexOf(t);return-1===n&&console.warn("[Element Warn][ElementForm]unexpected width "+t),n}return{autoLabelWidth:o.computed((()=>{if(!e.value.length)return"0";const t=Math.max(...e.value);return t?`${t}px`:""})),registerLabelWidth:function(n,o){if(n&&o){const r=t(o);e.value.splice(r,1,n)}else n&&e.value.push(n)},deregisterLabelWidth:function(n){const o=t(n);o>-1&&e.value.splice(o,1)}}}()));var v;return o.provide(s,h),{validate:p,resetFields:l,clearValidate:d,validateField:f}}});v.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("form",{class:["el-form",[e.labelPosition?"el-form--label-"+e.labelPosition:"",{"el-form--inline":e.inline}]]},[o.renderSlot(e.$slots,"default")],2)},v.__file="packages/form/src/form.vue",v.install=e=>{e.component(v.name,v)};const g=v;t.default=g,t.elFormEvents=a,t.elFormItemKey="elFormItem",t.elFormKey=s},1002:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(3676),i=n(2532),s=n(5450),a=n(3566),l=n(6645),c=n(6801),u=n(7800);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(a);let f;const h=["letter-spacing","line-height","padding-top","padding-bottom","font-family","font-weight","font-size","text-rendering","text-transform","width","text-indent","padding-left","padding-right","border-width","box-sizing"];function m(e,t=1,n=null){var o;f||(f=document.createElement("textarea"),document.body.appendChild(f));const{paddingSize:r,borderSize:i,boxSizing:s,contextStyle:a}=function(e){const t=window.getComputedStyle(e),n=t.getPropertyValue("box-sizing"),o=parseFloat(t.getPropertyValue("padding-bottom"))+parseFloat(t.getPropertyValue("padding-top")),r=parseFloat(t.getPropertyValue("border-bottom-width"))+parseFloat(t.getPropertyValue("border-top-width"));return{contextStyle:h.map((e=>`${e}:${t.getPropertyValue(e)}`)).join(";"),paddingSize:o,borderSize:r,boxSizing:n}}(e);f.setAttribute("style",`${a};\n height:0 !important;\n visibility:hidden !important;\n overflow:hidden !important;\n position:absolute !important;\n z-index:-1000 !important;\n top:0 !important;\n right:0 !important;\n`),f.value=e.value||e.placeholder||"";let l=f.scrollHeight;const c={};"border-box"===s?l+=i:"content-box"===s&&(l-=r),f.value="";const u=f.scrollHeight-r;if(null!==t){let e=u*t;"border-box"===s&&(e=e+r+i),l=Math.max(e,l),c.minHeight=`${e}px`}if(null!==n){let e=u*n;"border-box"===s&&(e=e+r+i),l=Math.min(e,l)}return c.height=`${l}px`,null==(o=f.parentNode)||o.removeChild(f),f=null,c}var v=Object.defineProperty,g=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,k=(e,t)=>{for(var n in t||(t={}))w.call(t,n)&&_(e,n,t[n]);if(b)for(var n of b(t))x.call(t,n)&&_(e,n,t[n]);return e},S=(e,t)=>g(e,y(t));const C={suffix:"append",prefix:"prepend"};var O=o.defineComponent({name:"ElInput",inheritAttrs:!1,props:{modelValue:{type:[String,Number],default:""},type:{type:String,default:"text"},size:{type:String,validator:c.isValidComponentSize},resize:{type:String,validator:e=>["none","both","horizontal","vertical"].includes(e)},autosize:{type:[Boolean,Object],default:!1},autocomplete:{type:String,default:"off",validator:e=>["on","off"].includes(e)},placeholder:{type:String},form:{type:String,default:""},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},clearable:{type:Boolean,default:!1},showPassword:{type:Boolean,default:!1},showWordLimit:{type:Boolean,default:!1},suffixIcon:{type:String,default:""},prefixIcon:{type:String,default:""},label:{type:String},tabindex:{type:[Number,String]},validateEvent:{type:Boolean,default:!0},inputStyle:{type:Object,default:()=>({})}},emits:[i.UPDATE_MODEL_EVENT,"input","change","focus","blur","clear","mouseleave","mouseenter","keydown"],setup(e,t){const n=o.getCurrentInstance(),a=r.useAttrs(),c=s.useGlobalConfig(),d=o.inject(u.elFormKey,{}),f=o.inject(u.elFormItemKey,{}),h=o.ref(null),v=o.ref(null),g=o.ref(!1),y=o.ref(!1),b=o.ref(!1),w=o.ref(!1),x=o.shallowRef(e.inputStyle),_=o.computed((()=>h.value||v.value)),O=o.computed((()=>e.size||f.size||c.size)),T=o.computed((()=>d.statusIcon)),E=o.computed((()=>f.validateState||"")),B=o.computed((()=>i.VALIDATE_STATE_MAP[E.value])),M=o.computed((()=>S(k({},x.value),{resize:e.resize}))),A=o.computed((()=>e.disabled||d.disabled)),V=o.computed((()=>null===e.modelValue||void 0===e.modelValue?"":String(e.modelValue))),N=o.computed((()=>t.attrs.maxlength)),q=o.computed((()=>e.clearable&&!A.value&&!e.readonly&&V.value&&(g.value||y.value))),F=o.computed((()=>e.showPassword&&!A.value&&!e.readonly&&(!!V.value||g.value))),P=o.computed((()=>e.showWordLimit&&t.attrs.maxlength&&("text"===e.type||"textarea"===e.type)&&!A.value&&!e.readonly&&!e.showPassword)),L=o.computed((()=>"number"==typeof e.modelValue?String(e.modelValue).length:(e.modelValue||"").length)),D=o.computed((()=>P.value&&L.value>N.value)),I=()=>{const{type:t,autosize:n}=e;if(!p.default&&"textarea"===t)if(n){const t=s.isObject(n)?n.minRows:void 0,o=s.isObject(n)?n.maxRows:void 0;x.value=k(k({},e.inputStyle),m(v.value,t,o))}else x.value=S(k({},e.inputStyle),{minHeight:m(v.value).minHeight})},j=()=>{const e=_.value;e&&e.value!==V.value&&(e.value=V.value)},$=e=>{const{el:o}=n.vnode,r=Array.from(o.querySelectorAll(`.el-input__${e}`)).find((e=>e.parentNode===o));if(!r)return;const i=C[e];t.slots[i]?r.style.transform=`translateX(${"suffix"===e?"-":""}${o.querySelector(`.el-input-group__${i}`).offsetWidth}px)`:r.removeAttribute("style")},R=()=>{$("prefix"),$("suffix")},z=e=>{const{value:n}=e.target;b.value||n!==V.value&&(t.emit(i.UPDATE_MODEL_EVENT,n),t.emit("input",n),o.nextTick(j))},H=()=>{o.nextTick((()=>{_.value.focus()}))};o.watch((()=>e.modelValue),(t=>{var n;o.nextTick(I),e.validateEvent&&(null==(n=f.formItemMitt)||n.emit("el.form.change",[t]))})),o.watch(V,(()=>{j()})),o.watch((()=>e.type),(()=>{o.nextTick((()=>{j(),I(),R()}))})),o.onMounted((()=>{j(),R(),o.nextTick(I)})),o.onUpdated((()=>{o.nextTick(R)}));return{input:h,textarea:v,attrs:a,inputSize:O,validateState:E,validateIcon:B,computedTextareaStyle:M,resizeTextarea:I,inputDisabled:A,showClear:q,showPwdVisible:F,isWordLimitVisible:P,upperLimit:N,textLength:L,hovering:y,inputExceed:D,passwordVisible:w,inputOrTextarea:_,handleInput:z,handleChange:e=>{t.emit("change",e.target.value)},handleFocus:e=>{g.value=!0,t.emit("focus",e)},handleBlur:n=>{var o;g.value=!1,t.emit("blur",n),e.validateEvent&&(null==(o=f.formItemMitt)||o.emit("el.form.blur",[e.modelValue]))},handleCompositionStart:()=>{b.value=!0},handleCompositionUpdate:e=>{const t=e.target.value,n=t[t.length-1]||"";b.value=!l.isKorean(n)},handleCompositionEnd:e=>{b.value&&(b.value=!1,z(e))},handlePasswordVisible:()=>{w.value=!w.value,H()},clear:()=>{t.emit(i.UPDATE_MODEL_EVENT,""),t.emit("change",""),t.emit("clear")},select:()=>{_.value.select()},focus:H,blur:()=>{_.value.blur()},getSuffixVisible:()=>t.slots.suffix||e.suffixIcon||q.value||e.showPassword||P.value||E.value&&T.value,onMouseLeave:e=>{y.value=!1,t.emit("mouseleave",e)},onMouseEnter:e=>{y.value=!0,t.emit("mouseenter",e)},handleKeydown:e=>{t.emit("keydown",e)}}}});const T={key:0,class:"el-input-group__prepend"},E={key:2,class:"el-input__prefix"},B={key:3,class:"el-input__suffix"},M={class:"el-input__suffix-inner"},A={key:3,class:"el-input__count"},V={class:"el-input__count-inner"},N={key:4,class:"el-input-group__append"},q={key:2,class:"el-input__count"};O.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["textarea"===e.type?"el-textarea":"el-input",e.inputSize?"el-input--"+e.inputSize:"",{"is-disabled":e.inputDisabled,"is-exceed":e.inputExceed,"el-input-group":e.$slots.prepend||e.$slots.append,"el-input-group--append":e.$slots.append,"el-input-group--prepend":e.$slots.prepend,"el-input--prefix":e.$slots.prefix||e.prefixIcon,"el-input--suffix":e.$slots.suffix||e.suffixIcon||e.clearable||e.showPassword,"el-input--suffix--password-clear":e.clearable&&e.showPassword},e.$attrs.class],style:e.$attrs.style,onMouseenter:t[20]||(t[20]=(...t)=>e.onMouseEnter&&e.onMouseEnter(...t)),onMouseleave:t[21]||(t[21]=(...t)=>e.onMouseLeave&&e.onMouseLeave(...t))},["textarea"!==e.type?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.createCommentVNode(" 前置元素 "),e.$slots.prepend?(o.openBlock(),o.createBlock("div",T,[o.renderSlot(e.$slots,"prepend")])):o.createCommentVNode("v-if",!0),"textarea"!==e.type?(o.openBlock(),o.createBlock("input",o.mergeProps({key:1,ref:"input",class:"el-input__inner"},e.attrs,{type:e.showPassword?e.passwordVisible?"text":"password":e.type,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,tabindex:e.tabindex,"aria-label":e.label,placeholder:e.placeholder,style:e.inputStyle,onCompositionstart:t[1]||(t[1]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[2]||(t[2]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[3]||(t[3]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[4]||(t[4]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[5]||(t[5]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[6]||(t[6]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[7]||(t[7]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[8]||(t[8]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),null,16,["type","disabled","readonly","autocomplete","tabindex","aria-label","placeholder"])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 前置内容 "),e.$slots.prefix||e.prefixIcon?(o.openBlock(),o.createBlock("span",E,[o.renderSlot(e.$slots,"prefix"),e.prefixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.prefixIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置内容 "),e.getSuffixVisible()?(o.openBlock(),o.createBlock("span",B,[o.createVNode("span",M,[e.showClear&&e.showPwdVisible&&e.isWordLimitVisible?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Fragment,{key:0},[o.renderSlot(e.$slots,"suffix"),e.suffixIcon?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon",e.suffixIcon]},null,2)):o.createCommentVNode("v-if",!0)],64)),e.showClear?(o.openBlock(),o.createBlock("i",{key:1,class:"el-input__icon el-icon-circle-close el-input__clear",onMousedown:t[9]||(t[9]=o.withModifiers((()=>{}),["prevent"])),onClick:t[10]||(t[10]=(...t)=>e.clear&&e.clear(...t))},null,32)):o.createCommentVNode("v-if",!0),e.showPwdVisible?(o.openBlock(),o.createBlock("i",{key:2,class:"el-input__icon el-icon-view el-input__clear",onClick:t[11]||(t[11]=(...t)=>e.handlePasswordVisible&&e.handlePasswordVisible(...t))})):o.createCommentVNode("v-if",!0),e.isWordLimitVisible?(o.openBlock(),o.createBlock("span",A,[o.createVNode("span",V,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)])):o.createCommentVNode("v-if",!0)]),e.validateState?(o.openBlock(),o.createBlock("i",{key:0,class:["el-input__icon","el-input__validateIcon",e.validateIcon]},null,2)):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" 后置元素 "),e.$slots.append?(o.openBlock(),o.createBlock("div",N,[o.renderSlot(e.$slots,"append")])):o.createCommentVNode("v-if",!0)],64)):(o.openBlock(),o.createBlock("textarea",o.mergeProps({key:1,ref:"textarea",class:"el-textarea__inner"},e.attrs,{tabindex:e.tabindex,disabled:e.inputDisabled,readonly:e.readonly,autocomplete:e.autocomplete,style:e.computedTextareaStyle,"aria-label":e.label,placeholder:e.placeholder,onCompositionstart:t[12]||(t[12]=(...t)=>e.handleCompositionStart&&e.handleCompositionStart(...t)),onCompositionupdate:t[13]||(t[13]=(...t)=>e.handleCompositionUpdate&&e.handleCompositionUpdate(...t)),onCompositionend:t[14]||(t[14]=(...t)=>e.handleCompositionEnd&&e.handleCompositionEnd(...t)),onInput:t[15]||(t[15]=(...t)=>e.handleInput&&e.handleInput(...t)),onFocus:t[16]||(t[16]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[17]||(t[17]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onChange:t[18]||(t[18]=(...t)=>e.handleChange&&e.handleChange(...t)),onKeydown:t[19]||(t[19]=(...t)=>e.handleKeydown&&e.handleKeydown(...t))}),"\n ",16,["tabindex","disabled","readonly","autocomplete","aria-label","placeholder"])),e.isWordLimitVisible&&"textarea"===e.type?(o.openBlock(),o.createBlock("span",q,o.toDisplayString(e.textLength)+"/"+o.toDisplayString(e.upperLimit),1)):o.createCommentVNode("v-if",!0)],38)},O.__file="packages/input/src/index.vue",O.install=e=>{e.component(O.name,O)};const F=O;t.default=F},3377:(e,t,n)=>{"use strict";const o=n(5853).Option;o.install=e=>{e.component(o.name,o)},t.Z=o},2815:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(1617),i=n(4750),s=n(5450),a=n(9169),l=n(6722),c=n(7050),u=n(1247);function d(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var p=d(r),f=d(a);function h(e,t=[]){const{arrow:n,arrowOffset:o,offset:r,gpuAcceleration:i,fallbackPlacements:s}=e,a=[{name:"offset",options:{offset:[0,null!=r?r:12]}},{name:"preventOverflow",options:{padding:{top:2,bottom:2,left:5,right:5}}},{name:"flip",options:{padding:5,fallbackPlacements:null!=s?s:[]}},{name:"computeStyles",options:{gpuAcceleration:i,adaptive:i}}];return n&&a.push({name:"arrow",options:{element:n,padding:null!=o?o:5}}),a.push(...t),a}var m,v=Object.defineProperty,g=Object.defineProperties,y=Object.getOwnPropertyDescriptors,b=Object.getOwnPropertySymbols,w=Object.prototype.hasOwnProperty,x=Object.prototype.propertyIsEnumerable,_=(e,t,n)=>t in e?v(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;function k(e,t){return o.computed((()=>{var n,o,r;return o=((e,t)=>{for(var n in t||(t={}))w.call(t,n)&&_(e,n,t[n]);if(b)for(var n of b(t))x.call(t,n)&&_(e,n,t[n]);return e})({placement:e.placement},e.popperOptions),r={modifiers:h({arrow:t.arrow.value,arrowOffset:e.arrowOffset,offset:e.offset,gpuAcceleration:e.gpuAcceleration,fallbackPlacements:e.fallbackPlacements},null==(n=e.popperOptions)?void 0:n.modifiers)},g(o,y(r))}))}(m=t.Effect||(t.Effect={})).DARK="dark",m.LIGHT="light";var S={arrowOffset:{type:Number,default:5},appendToBody:{type:Boolean,default:!0},autoClose:{type:Number,default:0},boundariesPadding:{type:Number,default:0},content:{type:String,default:""},class:{type:String,default:""},style:Object,hideAfter:{type:Number,default:200},cutoff:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1},effect:{type:String,default:t.Effect.DARK},enterable:{type:Boolean,default:!0},manualMode:{type:Boolean,default:!1},showAfter:{type:Number,default:0},offset:{type:Number,default:12},placement:{type:String,default:"bottom"},popperClass:{type:String,default:""},pure:{type:Boolean,default:!1},popperOptions:{type:Object,default:()=>null},showArrow:{type:Boolean,default:!0},strategy:{type:String,default:"fixed"},transition:{type:String,default:"el-fade-in-linear"},trigger:{type:[String,Array],default:"hover"},visible:{type:Boolean,default:void 0},stopPopperMouseEvent:{type:Boolean,default:!0},gpuAcceleration:{type:Boolean,default:!0},fallbackPlacements:{type:Array,default:[]}};function C(e,{emit:t}){const n=o.ref(null),r=o.ref(null),a=o.ref(null),l=`el-popper-${s.generateId()}`;let c=null,u=null,d=null,p=!1;const h=()=>e.manualMode||"manual"===e.trigger,m=o.ref({zIndex:f.default.nextZIndex()}),v=k(e,{arrow:n}),g=o.reactive({visible:!!e.visible}),y=o.computed({get:()=>!e.disabled&&(s.isBool(e.visible)?e.visible:g.visible),set(n){h()||(s.isBool(e.visible)?t("update:visible",n):g.visible=n)}});function b(){e.autoClose>0&&(d=window.setTimeout((()=>{w()}),e.autoClose)),y.value=!0}function w(){y.value=!1}function x(){clearTimeout(u),clearTimeout(d)}const _=()=>{h()||e.disabled||(x(),0===e.showAfter?b():u=window.setTimeout((()=>{b()}),e.showAfter))},S=()=>{h()||(x(),e.hideAfter>0?d=window.setTimeout((()=>{C()}),e.hideAfter):C())},C=()=>{w(),e.disabled&&T(!0)};function O(){if(!s.$(y))return;const e=s.$(r),t=s.isHTMLElement(e)?e:e.$el;c=i.createPopper(t,s.$(a),s.$(v)),c.update()}function T(e){!c||s.$(y)&&!e||E()}function E(){var e;null==(e=null==c?void 0:c.destroy)||e.call(c),c=null}const B={};if(!h()){const t=()=>{s.$(y)?S():_()},n=e=>{switch(e.stopPropagation(),e.type){case"click":p?p=!1:t();break;case"mouseenter":_();break;case"mouseleave":S();break;case"focus":p=!0,_();break;case"blur":p=!1,S()}},o={click:["onClick"],hover:["onMouseenter","onMouseleave"],focus:["onFocus","onBlur"]},r=e=>{o[e].forEach((e=>{B[e]=n}))};s.isArray(e.trigger)?Object.values(e.trigger).forEach(r):r(e.trigger)}return o.watch(v,(e=>{c&&(c.setOptions(e),c.update())})),o.watch(y,(function(e){e&&(m.value.zIndex=f.default.nextZIndex(),O())})),{update:function(){s.$(y)&&(c?c.update():O())},doDestroy:T,show:_,hide:S,onPopperMouseEnter:function(){e.enterable&&"click"!==e.trigger&&clearTimeout(d)},onPopperMouseLeave:function(){const{trigger:t}=e;s.isString(t)&&("click"===t||"focus"===t)||1===t.length&&("click"===t[0]||"focus"===t[0])||S()},onAfterEnter:()=>{t("after-enter")},onAfterLeave:()=>{E(),t("after-leave")},onBeforeEnter:()=>{t("before-enter")},onBeforeLeave:()=>{t("before-leave")},initializePopper:O,isManualMode:h,arrowRef:n,events:B,popperId:l,popperInstance:c,popperRef:a,popperStyle:m,triggerRef:r,visibility:y}}const O=()=>{};function T(e,t){const{effect:n,name:r,stopPopperMouseEvent:i,popperClass:s,popperStyle:a,popperRef:c,pure:u,popperId:d,visibility:p,onMouseenter:f,onMouseleave:h,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:g,onBeforeLeave:y}=e,b=[s,"el-popper","is-"+n,u?"is-pure":""],w=i?l.stop:O;return o.h(o.Transition,{name:r,onAfterEnter:m,onAfterLeave:v,onBeforeEnter:g,onBeforeLeave:y},{default:o.withCtx((()=>[o.withDirectives(o.h("div",{"aria-hidden":String(!p),class:b,style:null!=a?a:{},id:d,ref:null!=c?c:"popperRef",role:"tooltip",onMouseenter:f,onMouseleave:h,onClick:l.stop,onMousedown:w,onMouseup:w},t),[[o.vShow,p]])]))})}function E(e,t){const n=c.getFirstValidNode(e,1);return n||p.default("renderTrigger","trigger expects single rooted node"),o.cloneVNode(n,t,!0)}function B(e){return e?o.h("div",{ref:"arrowRef",class:"el-popper__arrow","data-popper-arrow":""},null):o.h(o.Comment,null,"")}var M=Object.defineProperty,A=Object.getOwnPropertySymbols,V=Object.prototype.hasOwnProperty,N=Object.prototype.propertyIsEnumerable,q=(e,t,n)=>t in e?M(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n;const F="ElPopper";var P=o.defineComponent({name:F,props:S,emits:["update:visible","after-enter","after-leave","before-enter","before-leave"],setup(e,t){t.slots.trigger||p.default(F,"Trigger must be provided");const n=C(e,t),r=()=>n.doDestroy(!0);return o.onMounted(n.initializePopper),o.onBeforeUnmount(r),o.onActivated(n.initializePopper),o.onDeactivated(r),n},render(){var e;const{$slots:t,appendToBody:n,class:r,style:i,effect:s,hide:a,onPopperMouseEnter:l,onPopperMouseLeave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,popperClass:m,popperId:v,popperStyle:g,pure:y,showArrow:b,transition:w,visibility:x,stopPopperMouseEvent:_}=this,k=this.isManualMode(),S=B(b),C=T({effect:s,name:w,popperClass:m,popperId:v,popperStyle:g,pure:y,stopPopperMouseEvent:_,onMouseenter:l,onMouseleave:c,onAfterEnter:d,onAfterLeave:p,onBeforeEnter:f,onBeforeLeave:h,visibility:x},[o.renderSlot(t,"default",{},(()=>[o.toDisplayString(this.content)])),S]),O=null==(e=t.trigger)?void 0:e.call(t),M=((e,t)=>{for(var n in t||(t={}))V.call(t,n)&&q(e,n,t[n]);if(A)for(var n of A(t))N.call(t,n)&&q(e,n,t[n]);return e})({"aria-describedby":v,class:r,style:i,ref:"triggerRef"},this.events),F=k?E(O,M):o.withDirectives(E(O,M),[[u.ClickOutside,a]]);return o.h(o.Fragment,null,[F,o.h(o.Teleport,{to:"body",disabled:!n},[C])])}});P.__file="packages/popper/src/index.vue",P.install=e=>{e.component(P.name,P)};const L=P;t.default=L,t.defaultProps=S,t.renderArrow=B,t.renderPopper=T,t.renderTrigger=E,t.usePopper=C},4153:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2406),r=n(5450),i=n(7363),s=n(6722);const a={vertical:{offset:"offsetHeight",scroll:"scrollTop",scrollSize:"scrollHeight",size:"height",key:"vertical",axis:"Y",client:"clientY",direction:"top"},horizontal:{offset:"offsetWidth",scroll:"scrollLeft",scrollSize:"scrollWidth",size:"width",key:"horizontal",axis:"X",client:"clientX",direction:"left"}};var l=i.defineComponent({name:"Bar",props:{vertical:Boolean,size:String,move:Number},setup(e){const t=i.ref(null),n=i.ref(null),o=i.inject("scrollbar",{}),r=i.inject("scrollbar-wrap",{}),l=i.computed((()=>a[e.vertical?"vertical":"horizontal"])),c=i.ref({}),u=i.ref(null),d=i.ref(null),p=i.ref(!1);let f=null;const h=e=>{e.stopImmediatePropagation(),u.value=!0,s.on(document,"mousemove",m),s.on(document,"mouseup",v),f=document.onselectstart,document.onselectstart=()=>!1},m=e=>{if(!1===u.value)return;const o=c.value[l.value.axis];if(!o)return;const i=100*(-1*(t.value.getBoundingClientRect()[l.value.direction]-e[l.value.client])-(n.value[l.value.offset]-o))/t.value[l.value.offset];r.value[l.value.scroll]=i*r.value[l.value.scrollSize]/100},v=()=>{u.value=!1,c.value[l.value.axis]=0,s.off(document,"mousemove",m),document.onselectstart=f,d.value&&(p.value=!1)},g=i.computed((()=>function({move:e,size:t,bar:n}){const o={},r=`translate${n.axis}(${e}%)`;return o[n.size]=t,o.transform=r,o.msTransform=r,o.webkitTransform=r,o}({size:e.size,move:e.move,bar:l.value}))),y=()=>{d.value=!1,p.value=!!e.size},b=()=>{d.value=!0,p.value=u.value};return i.onMounted((()=>{s.on(o.value,"mousemove",y),s.on(o.value,"mouseleave",b)})),i.onBeforeUnmount((()=>{s.off(document,"mouseup",v),s.off(o.value,"mousemove",y),s.off(o.value,"mouseleave",b)})),{instance:t,thumb:n,bar:l,clickTrackHandler:e=>{const o=100*(Math.abs(e.target.getBoundingClientRect()[l.value.direction]-e[l.value.client])-n.value[l.value.offset]/2)/t.value[l.value.offset];r.value[l.value.scroll]=o*r.value[l.value.scrollSize]/100},clickThumbHandler:e=>{e.stopPropagation(),e.ctrlKey||[1,2].includes(e.button)||(window.getSelection().removeAllRanges(),h(e),c.value[l.value.axis]=e.currentTarget[l.value.offset]-(e[l.value.client]-e.currentTarget.getBoundingClientRect()[l.value.direction]))},thumbStyle:g,visible:p}}});l.render=function(e,t,n,o,r,s){return i.openBlock(),i.createBlock(i.Transition,{name:"el-scrollbar-fade"},{default:i.withCtx((()=>[i.withDirectives(i.createVNode("div",{ref:"instance",class:["el-scrollbar__bar","is-"+e.bar.key],onMousedown:t[2]||(t[2]=(...t)=>e.clickTrackHandler&&e.clickTrackHandler(...t))},[i.createVNode("div",{ref:"thumb",class:"el-scrollbar__thumb",style:e.thumbStyle,onMousedown:t[1]||(t[1]=(...t)=>e.clickThumbHandler&&e.clickThumbHandler(...t))},null,36)],34),[[i.vShow,e.visible]])])),_:1})},l.__file="packages/scrollbar/src/bar.vue";var c=i.defineComponent({name:"ElScrollbar",components:{Bar:l},props:{height:{type:[String,Number],default:""},maxHeight:{type:[String,Number],default:""},native:{type:Boolean,default:!1},wrapStyle:{type:[String,Array],default:""},wrapClass:{type:[String,Array],default:""},viewClass:{type:[String,Array],default:""},viewStyle:{type:[String,Array],default:""},noresize:Boolean,tag:{type:String,default:"div"}},emits:["scroll"],setup(e,{emit:t}){const n=i.ref("0"),s=i.ref("0"),a=i.ref(0),l=i.ref(0),c=i.ref(null),u=i.ref(null),d=i.ref(null);i.provide("scrollbar",c),i.provide("scrollbar-wrap",u);const p=()=>{if(!u.value)return;const e=100*u.value.clientHeight/u.value.scrollHeight,t=100*u.value.clientWidth/u.value.scrollWidth;s.value=e<100?e+"%":"",n.value=t<100?t+"%":""},f=i.computed((()=>{let t=e.wrapStyle;return r.isArray(t)?(t=r.toObject(t),t.height=r.addUnit(e.height),t.maxHeight=r.addUnit(e.maxHeight)):r.isString(t)&&(t+=r.addUnit(e.height)?`height: ${r.addUnit(e.height)};`:"",t+=r.addUnit(e.maxHeight)?`max-height: ${r.addUnit(e.maxHeight)};`:""),t}));return i.onMounted((()=>{e.native||i.nextTick(p),e.noresize||(o.addResizeListener(d.value,p),addEventListener("resize",p))})),i.onBeforeUnmount((()=>{e.noresize||(o.removeResizeListener(d.value,p),removeEventListener("resize",p))})),{moveX:a,moveY:l,sizeWidth:n,sizeHeight:s,style:f,scrollbar:c,wrap:u,resize:d,update:p,handleScroll:()=>{u.value&&(l.value=100*u.value.scrollTop/u.value.clientHeight,a.value=100*u.value.scrollLeft/u.value.clientWidth,t("scroll",{scrollLeft:a.value,scrollTop:l.value}))}}}});const u={ref:"scrollbar",class:"el-scrollbar"};c.render=function(e,t,n,o,r,s){const a=i.resolveComponent("bar");return i.openBlock(),i.createBlock("div",u,[i.createVNode("div",{ref:"wrap",class:[e.wrapClass,"el-scrollbar__wrap",e.native?"":"el-scrollbar__wrap--hidden-default"],style:e.style,onScroll:t[1]||(t[1]=(...t)=>e.handleScroll&&e.handleScroll(...t))},[(i.openBlock(),i.createBlock(i.resolveDynamicComponent(e.tag),{ref:"resize",class:["el-scrollbar__view",e.viewClass],style:e.viewStyle},{default:i.withCtx((()=>[i.renderSlot(e.$slots,"default")])),_:3},8,["class","style"]))],38),e.native?i.createCommentVNode("v-if",!0):(i.openBlock(),i.createBlock(i.Fragment,{key:0},[i.createVNode(a,{move:e.moveX,size:e.sizeWidth},null,8,["move","size"]),i.createVNode(a,{vertical:"",move:e.moveY,size:e.sizeHeight},null,8,["move","size"])],64))],512)},c.__file="packages/scrollbar/src/index.vue",c.install=e=>{e.component(c.name,c)};const d=c;t.default=d},5853:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(1002),i=n(5450),s=n(2406),a=n(4912),l=n(2815),c=n(4153),u=n(1247),d=n(7993),p=n(2532),f=n(6801),h=n(9652),m=n(9272),v=n(3566),g=n(4593),y=n(3279),b=n(6645),w=n(7800),x=n(8446),_=n(3676);function k(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var S=k(r),C=k(a),O=k(l),T=k(c),E=k(h),B=k(v),M=k(g),A=k(y),V=k(x);const N="ElSelect",q="elOptionQueryChange";var F=o.defineComponent({name:"ElOption",componentName:"ElOption",props:{value:{required:!0,type:[String,Number,Boolean,Object]},label:[String,Number],created:Boolean,disabled:{type:Boolean,default:!1}},setup(e){const t=o.reactive({index:-1,groupDisabled:!1,visible:!0,hitState:!1,hover:!1}),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l}=function(e,t){const n=o.inject(N),r=o.inject("ElSelectGroup",{disabled:!1}),s=o.computed((()=>"[object object]"===Object.prototype.toString.call(e.value).toLowerCase())),a=o.computed((()=>n.props.multiple?f(n.props.modelValue,e.value):h(e.value,n.props.modelValue))),l=o.computed((()=>{if(n.props.multiple){const e=n.props.modelValue||[];return!a.value&&e.length>=n.props.multipleLimit&&n.props.multipleLimit>0}return!1})),c=o.computed((()=>e.label||(s.value?"":e.value))),u=o.computed((()=>e.value||e.label||"")),d=o.computed((()=>e.disabled||t.groupDisabled||l.value)),p=o.getCurrentInstance(),f=(e=[],t)=>{if(s.value){const o=n.props.valueKey;return e&&e.some((e=>i.getValueByPath(e,o)===i.getValueByPath(t,o)))}return e&&e.indexOf(t)>-1},h=(e,t)=>{if(s.value){const{valueKey:o}=n.props;return i.getValueByPath(e,o)===i.getValueByPath(t,o)}return e===t};return o.watch((()=>c.value),(()=>{e.created||n.props.remote||n.setSelected()})),o.watch((()=>e.value),((t,o)=>{const{remote:r,valueKey:i}=n.props;if(!e.created&&!r){if(i&&"object"==typeof t&&"object"==typeof o&&t[i]===o[i])return;n.setSelected()}})),o.watch((()=>r.disabled),(()=>{t.groupDisabled=r.disabled}),{immediate:!0}),n.selectEmitter.on(q,(o=>{const r=new RegExp(i.escapeRegexpString(o),"i");t.visible=r.test(c.value)||e.created,t.visible||n.filteredOptionsCount--})),{select:n,currentLabel:c,currentValue:u,itemSelected:a,isDisabled:d,hoverItem:()=>{e.disabled||r.disabled||(n.hoverIndex=n.optionsArray.indexOf(p))}}}(e,t),{visible:c,hover:u}=o.toRefs(t),d=o.getCurrentInstance().proxy;return a.onOptionCreate(d),o.onBeforeUnmount((()=>{const{selected:t}=a;let n=a.props.multiple?t:[t];const o=a.cachedOptions.has(e.value),r=n.some((e=>e.value===d.value));o&&!r&&a.cachedOptions.delete(e.value),a.onOptionDestroy(e.value)})),{currentLabel:n,itemSelected:r,isDisabled:s,select:a,hoverItem:l,visible:c,hover:u,selectOptionClick:function(){!0!==e.disabled&&!0!==t.groupDisabled&&a.handleOptionSelect(d,!0)}}}});F.render=function(e,t,n,r,i,s){return o.withDirectives((o.openBlock(),o.createBlock("li",{class:["el-select-dropdown__item",{selected:e.itemSelected,"is-disabled":e.isDisabled,hover:e.hover}],onMouseenter:t[1]||(t[1]=(...t)=>e.hoverItem&&e.hoverItem(...t)),onClick:t[2]||(t[2]=o.withModifiers(((...t)=>e.selectOptionClick&&e.selectOptionClick(...t)),["stop"]))},[o.renderSlot(e.$slots,"default",{},(()=>[o.createVNode("span",null,o.toDisplayString(e.currentLabel),1)]))],34)),[[o.vShow,e.visible]])},F.__file="packages/select/src/option.vue";var P=o.defineComponent({name:"ElSelectDropdown",componentName:"ElSelectDropdown",setup(){const e=o.inject(N),t=o.computed((()=>e.props.popperClass)),n=o.computed((()=>e.props.multiple)),r=o.ref("");function i(){var t;r.value=(null==(t=e.selectWrapper)?void 0:t.getBoundingClientRect().width)+"px"}return o.onMounted((()=>{s.addResizeListener(e.selectWrapper,i)})),o.onBeforeUnmount((()=>{s.removeResizeListener(e.selectWrapper,i)})),{minWidth:r,popperClass:t,isMultiple:n}}});P.render=function(e,t,n,r,i,s){return o.openBlock(),o.createBlock("div",{class:["el-select-dropdown",[{"is-multiple":e.isMultiple},e.popperClass]],style:{minWidth:e.minWidth}},[o.renderSlot(e.$slots,"default")],6)},P.__file="packages/select/src/select-dropdown.vue";const L=e=>null!==e&&"object"==typeof e,D=Object.prototype.toString,I=e=>(e=>D.call(e))(e).slice(8,-1);const j=(e,t,n)=>{const r=i.useGlobalConfig(),s=o.ref(null),a=o.ref(null),l=o.ref(null),c=o.ref(null),u=o.ref(null),f=o.ref(null),h=o.ref(-1),v=o.inject(w.elFormKey,{}),g=o.inject(w.elFormItemKey,{}),y=o.computed((()=>!e.filterable||e.multiple||!i.isIE()&&!i.isEdge()&&!t.visible)),x=o.computed((()=>e.disabled||v.disabled)),_=o.computed((()=>{const n=e.multiple?Array.isArray(e.modelValue)&&e.modelValue.length>0:void 0!==e.modelValue&&null!==e.modelValue&&""!==e.modelValue;return e.clearable&&!x.value&&t.inputHovering&&n})),k=o.computed((()=>e.remote&&e.filterable?"":t.visible?"arrow-up is-reverse":"arrow-up")),S=o.computed((()=>e.remote?300:0)),C=o.computed((()=>e.loading?e.loadingText||d.t("el.select.loading"):(!e.remote||""!==t.query||0!==t.options.size)&&(e.filterable&&t.query&&t.options.size>0&&0===t.filteredOptionsCount?e.noMatchText||d.t("el.select.noMatch"):0===t.options.size?e.noDataText||d.t("el.select.noData"):null))),O=o.computed((()=>Array.from(t.options.values()))),T=o.computed((()=>Array.from(t.cachedOptions.values()))),E=o.computed((()=>{const n=O.value.filter((e=>!e.created)).some((e=>e.currentLabel===t.query));return e.filterable&&e.allowCreate&&""!==t.query&&!n})),N=o.computed((()=>e.size||g.size||r.size)),q=o.computed((()=>["small","mini"].indexOf(N.value)>-1?"mini":"small")),F=o.computed((()=>t.visible&&!1!==C.value));o.watch((()=>x.value),(()=>{o.nextTick((()=>{P()}))})),o.watch((()=>e.placeholder),(e=>{t.cachedPlaceHolder=t.currentPlaceholder=e})),o.watch((()=>e.modelValue),((n,o)=>{var r;e.multiple&&(P(),n&&n.length>0||a.value&&""!==t.query?t.currentPlaceholder="":t.currentPlaceholder=t.cachedPlaceHolder,e.filterable&&!e.reserveKeyword&&(t.query="",D(t.query))),R(),e.filterable&&!e.multiple&&(t.inputLength=20),V.default(n,o)||null==(r=g.formItemMitt)||r.emit("el.form.change",n)}),{flush:"post",deep:!0}),o.watch((()=>t.visible),(r=>{var i,s;r?(null==(s=null==(i=l.value)?void 0:i.update)||s.call(i),e.filterable&&(t.filteredOptionsCount=t.optionsCount,t.query=e.remote?"":t.selectedLabel,e.multiple?a.value.focus():t.selectedLabel&&(t.currentPlaceholder=t.selectedLabel,t.selectedLabel=""),D(t.query),e.multiple||e.remote||(t.selectEmitter.emit("elOptionQueryChange",""),t.selectEmitter.emit("elOptionGroupQueryChange")))):(a.value&&a.value.blur(),t.query="",t.previousQuery=null,t.selectedLabel="",t.inputLength=20,t.menuVisibleOnFocus=!1,H(),o.nextTick((()=>{a.value&&""===a.value.value&&0===t.selected.length&&(t.currentPlaceholder=t.cachedPlaceHolder)})),e.multiple||(t.selected&&(e.filterable&&e.allowCreate&&t.createdSelected&&t.createdLabel?t.selectedLabel=t.createdLabel:t.selectedLabel=t.selected.currentLabel,e.filterable&&(t.query=t.selectedLabel)),e.filterable&&(t.currentPlaceholder=t.cachedPlaceHolder))),n.emit("visible-change",r)})),o.watch((()=>t.options.entries()),(()=>{var n,o,r;if(B.default)return;null==(o=null==(n=l.value)?void 0:n.update)||o.call(n),e.multiple&&P();const i=(null==(r=u.value)?void 0:r.querySelectorAll("input"))||[];-1===[].indexOf.call(i,document.activeElement)&&R(),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&$()}),{flush:"post"}),o.watch((()=>t.hoverIndex),(e=>{"number"==typeof e&&e>-1&&(h.value=O.value[e]||{}),O.value.forEach((e=>{e.hover=h.value===e}))}));const P=()=>{e.collapseTags&&!e.filterable||o.nextTick((()=>{var e,n;if(!s.value)return;const o=s.value.$el.childNodes,r=[].filter.call(o,(e=>"INPUT"===e.tagName))[0],i=c.value,a=t.initialInputHeight||40;r.style.height=0===t.selected.length?a+"px":Math.max(i?i.clientHeight+(i.clientHeight>a?6:0):0,a)+"px",t.tagInMultiLine=parseFloat(r.style.height)>a,t.visible&&!1!==C.value&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))}))},D=n=>{t.previousQuery===n||t.isOnComposition||(null!==t.previousQuery||"function"!=typeof e.filterMethod&&"function"!=typeof e.remoteMethod?(t.previousQuery=n,o.nextTick((()=>{var e,n;t.visible&&(null==(n=null==(e=l.value)?void 0:e.update)||n.call(e))})),t.hoverIndex=-1,e.multiple&&e.filterable&&o.nextTick((()=>{const n=15*a.value.length+20;t.inputLength=e.collapseTags?Math.min(50,n):n,j(),P()})),e.remote&&"function"==typeof e.remoteMethod?(t.hoverIndex=-1,e.remoteMethod(n)):"function"==typeof e.filterMethod?(e.filterMethod(n),t.selectEmitter.emit("elOptionGroupQueryChange")):(t.filteredOptionsCount=t.optionsCount,t.selectEmitter.emit("elOptionQueryChange",n),t.selectEmitter.emit("elOptionGroupQueryChange")),e.defaultFirstOption&&(e.filterable||e.remote)&&t.filteredOptionsCount&&$()):t.previousQuery=n)},j=()=>{""!==t.currentPlaceholder&&(t.currentPlaceholder=a.value.value?"":t.cachedPlaceHolder)},$=()=>{t.hoverIndex=-1;let e=!1;for(let n=t.options.size-1;n>=0;n--)if(O.value[n].created){e=!0,t.hoverIndex=n;break}if(!e)for(let e=0;e!==t.options.size;++e){const n=O.value[e];if(t.query){if(!n.disabled&&!n.groupDisabled&&n.visible){t.hoverIndex=e;break}}else if(n.itemSelected){t.hoverIndex=e;break}}},R=()=>{var n;if(!e.multiple){const o=z(e.modelValue);return(null==(n=o.props)?void 0:n.created)?(t.createdLabel=o.props.value,t.createdSelected=!0):t.createdSelected=!1,t.selectedLabel=o.currentLabel,t.selected=o,void(e.filterable&&(t.query=t.selectedLabel))}const r=[];Array.isArray(e.modelValue)&&e.modelValue.forEach((e=>{r.push(z(e))})),t.selected=r,o.nextTick((()=>{P()}))},z=n=>{let o;const r="object"===I(n).toLowerCase(),s="null"===I(n).toLowerCase(),a="undefined"===I(n).toLowerCase();for(let s=t.cachedOptions.size-1;s>=0;s--){const t=T.value[s];if(r?i.getValueByPath(t.value,e.valueKey)===i.getValueByPath(n,e.valueKey):t.value===n){o={value:n,currentLabel:t.currentLabel,isDisabled:t.isDisabled};break}}if(o)return o;const l={value:n,currentLabel:r||s||a?"":n};return e.multiple&&(l.hitState=!1),l},H=()=>{setTimeout((()=>{e.multiple?t.selected.length>0?t.hoverIndex=Math.min.apply(null,t.selected.map((e=>O.value.indexOf(e)))):t.hoverIndex=-1:t.hoverIndex=O.value.indexOf(t.selected)}),300)},U=()=>{var e;t.inputWidth=null==(e=s.value)?void 0:e.$el.getBoundingClientRect().width},K=A.default((()=>{e.filterable&&t.query!==t.selectedLabel&&(t.query=t.selectedLabel,D(t.query))}),S.value),W=A.default((e=>{D(e.target.value)}),S.value),Q=t=>{V.default(e.modelValue,t)||n.emit(p.CHANGE_EVENT,t)},Y=o=>{o.stopPropagation();const r=e.multiple?[]:"";if("string"!=typeof r)for(const e of t.selected)e.isDisabled&&r.push(e.value);n.emit(p.UPDATE_MODEL_EVENT,r),Q(r),t.visible=!1,n.emit("clear")},J=(r,i)=>{if(e.multiple){const o=(e.modelValue||[]).slice(),i=G(o,r.value);i>-1?o.splice(i,1):(e.multipleLimit<=0||o.length<e.multipleLimit)&&o.push(r.value),n.emit(p.UPDATE_MODEL_EVENT,o),Q(o),r.created&&(t.query="",D(""),t.inputLength=20),e.filterable&&a.value.focus()}else n.emit(p.UPDATE_MODEL_EVENT,r.value),Q(r.value),t.visible=!1;t.isSilentBlur=i,Z(),t.visible||o.nextTick((()=>{X(r)}))},G=(t=[],n)=>{if(!L(n))return t.indexOf(n);const o=e.valueKey;let r=-1;return t.some(((e,t)=>i.getValueByPath(e,o)===i.getValueByPath(n,o)&&(r=t,!0))),r},Z=()=>{t.softFocus=!0;const e=a.value||s.value;e&&e.focus()},X=e=>{var t,n,o,r;const i=Array.isArray(e)?e[0]:e;let s=null;if(null==i?void 0:i.value){const e=O.value.filter((e=>e.value===i.value));e.length>0&&(s=e[0].$el)}if(l.value&&s){const e=null==(o=null==(n=null==(t=l.value)?void 0:t.popperRef)?void 0:n.querySelector)?void 0:o.call(n,".el-select-dropdown__wrap");e&&M.default(e,s)}null==(r=f.value)||r.handleScroll()},ee=e=>{if(!Array.isArray(t.selected))return;const n=t.selected[t.selected.length-1];return n?!0===e||!1===e?(n.hitState=e,e):(n.hitState=!n.hitState,n.hitState):void 0},te=()=>{e.automaticDropdown||x.value||(t.menuVisibleOnFocus?t.menuVisibleOnFocus=!1:t.visible=!t.visible,t.visible&&(a.value||s.value).focus())},ne=o.computed((()=>O.value.filter((e=>e.visible)).every((e=>e.disabled)))),oe=e=>{if(t.visible){if(0!==t.options.size&&0!==t.filteredOptionsCount&&!ne.value){"next"===e?(t.hoverIndex++,t.hoverIndex===t.options.size&&(t.hoverIndex=0)):"prev"===e&&(t.hoverIndex--,t.hoverIndex<0&&(t.hoverIndex=t.options.size-1));const n=O.value[t.hoverIndex];!0!==n.disabled&&!0!==n.groupDisabled&&n.visible||oe(e),o.nextTick((()=>X(h.value)))}}else t.visible=!0};return{optionsArray:O,selectSize:N,handleResize:()=>{var t,n;U(),null==(n=null==(t=l.value)?void 0:t.update)||n.call(t),e.multiple&&P()},debouncedOnInputChange:K,debouncedQueryChange:W,deletePrevTag:o=>{if(o.target.value.length<=0&&!ee()){const t=e.modelValue.slice();t.pop(),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t)}1===o.target.value.length&&0===e.modelValue.length&&(t.currentPlaceholder=t.cachedPlaceHolder)},deleteTag:(o,r)=>{const i=t.selected.indexOf(r);if(i>-1&&!x.value){const t=e.modelValue.slice();t.splice(i,1),n.emit(p.UPDATE_MODEL_EVENT,t),Q(t),n.emit("remove-tag",r.value)}o.stopPropagation()},deleteSelected:Y,handleOptionSelect:J,scrollToOption:X,readonly:y,resetInputHeight:P,showClose:_,iconClass:k,showNewOption:E,collapseTagSize:q,setSelected:R,managePlaceholder:j,selectDisabled:x,emptyText:C,toggleLastOptionHitState:ee,resetInputState:e=>{e.code!==m.EVENT_CODE.backspace&&ee(!1),t.inputLength=15*a.value.length+20,P()},handleComposition:e=>{const n=e.target.value;if("compositionend"===e.type)t.isOnComposition=!1,o.nextTick((()=>D(n)));else{const e=n[n.length-1]||"";t.isOnComposition=!b.isKorean(e)}},onOptionCreate:e=>{t.optionsCount++,t.filteredOptionsCount++,t.options.set(e.value,e),t.cachedOptions.set(e.value,e)},onOptionDestroy:e=>{t.optionsCount--,t.filteredOptionsCount--,t.options.delete(e)},handleMenuEnter:()=>{o.nextTick((()=>X(t.selected)))},handleFocus:o=>{t.softFocus?t.softFocus=!1:((e.automaticDropdown||e.filterable)&&(t.visible=!0,e.filterable&&(t.menuVisibleOnFocus=!0)),n.emit("focus",o))},blur:()=>{t.visible=!1,s.value.blur()},handleBlur:e=>{o.nextTick((()=>{t.isSilentBlur?t.isSilentBlur=!1:n.emit("blur",e)})),t.softFocus=!1},handleClearClick:e=>{Y(e)},handleClose:()=>{t.visible=!1},toggleMenu:te,selectOption:()=>{t.visible?O.value[t.hoverIndex]&&J(O.value[t.hoverIndex],void 0):te()},getValueKey:t=>L(t.value)?i.getValueByPath(t.value,e.valueKey):t.value,navigateOptions:oe,dropMenuVisible:F,reference:s,input:a,popper:l,tags:c,selectWrapper:u,scrollbar:f}};var $=o.defineComponent({name:"ElSelect",componentName:"ElSelect",components:{ElInput:S.default,ElSelectMenu:P,ElOption:F,ElTag:C.default,ElScrollbar:T.default,ElPopper:O.default},directives:{ClickOutside:u.ClickOutside},props:{name:String,id:String,modelValue:[Array,String,Number,Boolean,Object],autocomplete:{type:String,default:"off"},automaticDropdown:Boolean,size:{type:String,validator:f.isValidComponentSize},disabled:Boolean,clearable:Boolean,filterable:Boolean,allowCreate:Boolean,loading:Boolean,popperClass:{type:String,default:""},remote:Boolean,loadingText:String,noMatchText:String,noDataText:String,remoteMethod:Function,filterMethod:Function,multiple:Boolean,multipleLimit:{type:Number,default:0},placeholder:{type:String},defaultFirstOption:Boolean,reserveKeyword:Boolean,valueKey:{type:String,default:"value"},collapseTags:Boolean,popperAppendToBody:{type:Boolean,default:!0},clearIcon:{type:String,default:"el-icon-circle-close"}},emits:[p.UPDATE_MODEL_EVENT,p.CHANGE_EVENT,"remove-tag","clear","visible-change","focus","blur"],setup(e,t){const n=function(e){const t=E.default();return o.reactive({options:new Map,cachedOptions:new Map,createdLabel:null,createdSelected:!1,selected:e.multiple?[]:{},inputLength:20,inputWidth:0,initialInputHeight:0,optionsCount:0,filteredOptionsCount:0,visible:!1,softFocus:!1,selectedLabel:"",hoverIndex:-1,query:"",previousQuery:null,inputHovering:!1,cachedPlaceHolder:"",currentPlaceholder:d.t("el.select.placeholder"),menuVisibleOnFocus:!1,isOnComposition:!1,isSilentBlur:!1,selectEmitter:t,prefixWidth:null,tagInMultiLine:!1})}(e),{optionsArray:r,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:g,scrollToOption:y,setSelected:b,resetInputHeight:w,managePlaceholder:x,showClose:k,selectDisabled:S,iconClass:C,showNewOption:O,emptyText:T,toggleLastOptionHitState:B,resetInputState:M,handleComposition:A,onOptionCreate:V,onOptionDestroy:q,handleMenuEnter:F,handleFocus:P,blur:L,handleBlur:D,handleClearClick:I,handleClose:$,toggleMenu:R,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,reference:W,input:Q,popper:Y,tags:J,selectWrapper:G,scrollbar:Z}=j(e,n,t),{focus:X}=_.useFocus(W),{inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,cachedOptions:me,optionsCount:ve,prefixWidth:ge,tagInMultiLine:ye}=o.toRefs(n);o.provide(N,o.reactive({props:e,options:he,optionsArray:r,cachedOptions:me,optionsCount:ve,filteredOptionsCount:oe,hoverIndex:ae,handleOptionSelect:g,selectEmitter:n.selectEmitter,onOptionCreate:V,onOptionDestroy:q,selectWrapper:G,selected:te,setSelected:b})),o.onMounted((()=>{if(n.cachedPlaceHolder=ue.value=e.placeholder||d.t("el.select.placeholder"),e.multiple&&Array.isArray(e.modelValue)&&e.modelValue.length>0&&(ue.value=""),s.addResizeListener(G.value,l),W.value&&W.value.$el){const e={medium:36,small:32,mini:28},t=W.value.input;n.initialInputHeight=t.getBoundingClientRect().height||e[i.value]}e.remote&&e.multiple&&w(),o.nextTick((()=>{if(W.value.$el&&(ee.value=W.value.$el.getBoundingClientRect().width),t.slots.prefix){const e=W.value.$el.childNodes,t=[].filter.call(e,(e=>"INPUT"===e.tagName))[0],o=W.value.$el.querySelector(".el-input__prefix");ge.value=Math.max(o.getBoundingClientRect().width+5,30),n.prefixWidth&&(t.style.paddingLeft=`${Math.max(n.prefixWidth,30)}px`)}})),b()})),o.onBeforeUnmount((()=>{s.removeResizeListener(G.value,l)})),e.multiple&&!Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,[]),!e.multiple&&Array.isArray(e.modelValue)&&t.emit(p.UPDATE_MODEL_EVENT,"");const be=o.computed((()=>{var e;return null==(e=Y.value)?void 0:e.popperRef}));return{tagInMultiLine:ye,prefixWidth:ge,selectSize:i,readonly:a,handleResize:l,collapseTagSize:c,debouncedOnInputChange:u,debouncedQueryChange:f,deletePrevTag:h,deleteTag:m,deleteSelected:v,handleOptionSelect:g,scrollToOption:y,inputWidth:ee,selected:te,inputLength:ne,filteredOptionsCount:oe,visible:re,softFocus:ie,selectedLabel:se,hoverIndex:ae,query:le,inputHovering:ce,currentPlaceholder:ue,menuVisibleOnFocus:de,isOnComposition:pe,isSilentBlur:fe,options:he,resetInputHeight:w,managePlaceholder:x,showClose:k,selectDisabled:S,iconClass:C,showNewOption:O,emptyText:T,toggleLastOptionHitState:B,resetInputState:M,handleComposition:A,handleMenuEnter:F,handleFocus:P,blur:L,handleBlur:D,handleClearClick:I,handleClose:$,toggleMenu:R,selectOption:z,getValueKey:H,navigateOptions:U,dropMenuVisible:K,focus:X,reference:W,input:Q,popper:Y,popperPaneRef:be,tags:J,selectWrapper:G,scrollbar:Z}}});const R={class:"select-trigger"},z={key:0},H={class:"el-select__tags-text"},U={style:{height:"100%",display:"flex","justify-content":"center","align-items":"center"}},K={key:1,class:"el-select-dropdown__empty"};$.render=function(e,t,n,r,i,s){const a=o.resolveComponent("el-tag"),l=o.resolveComponent("el-input"),c=o.resolveComponent("el-option"),u=o.resolveComponent("el-scrollbar"),d=o.resolveComponent("el-select-menu"),p=o.resolveComponent("el-popper"),f=o.resolveDirective("click-outside");return o.withDirectives((o.openBlock(),o.createBlock("div",{ref:"selectWrapper",class:["el-select",[e.selectSize?"el-select--"+e.selectSize:""]],onClick:t[26]||(t[26]=o.withModifiers(((...t)=>e.toggleMenu&&e.toggleMenu(...t)),["stop"]))},[o.createVNode(p,{ref:"popper",visible:e.dropMenuVisible,"onUpdate:visible":t[25]||(t[25]=t=>e.dropMenuVisible=t),placement:"bottom-start","append-to-body":e.popperAppendToBody,"popper-class":`el-select__popper ${e.popperClass}`,"fallback-placements":["auto"],"manual-mode":"",effect:"light",pure:"",trigger:"click",transition:"el-zoom-in-top","stop-popper-mouse-event":!1,"gpu-acceleration":!1,onBeforeEnter:e.handleMenuEnter},{trigger:o.withCtx((()=>[o.createVNode("div",R,[e.multiple?(o.openBlock(),o.createBlock("div",{key:0,ref:"tags",class:"el-select__tags",style:{"max-width":e.inputWidth-32+"px",width:"100%"}},[e.collapseTags&&e.selected.length?(o.openBlock(),o.createBlock("span",z,[o.createVNode(a,{closable:!e.selectDisabled&&!e.selected[0].isDisabled,size:e.collapseTagSize,hit:e.selected[0].hitState,type:"info","disable-transitions":"",onClose:t[1]||(t[1]=t=>e.deleteTag(t,e.selected[0]))},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-123+"px"}},o.toDisplayString(e.selected[0].currentLabel),5)])),_:1},8,["closable","size","hit"]),e.selected.length>1?(o.openBlock(),o.createBlock(a,{key:0,closable:!1,size:e.collapseTagSize,type:"info","disable-transitions":""},{default:o.withCtx((()=>[o.createVNode("span",H,"+ "+o.toDisplayString(e.selected.length-1),1)])),_:1},8,["size"])):o.createCommentVNode("v-if",!0)])):o.createCommentVNode("v-if",!0),o.createCommentVNode(" <div> "),e.collapseTags?o.createCommentVNode("v-if",!0):(o.openBlock(),o.createBlock(o.Transition,{key:1,onAfterLeave:e.resetInputHeight},{default:o.withCtx((()=>[o.createVNode("span",{style:{marginLeft:e.prefixWidth&&e.selected.length?`${e.prefixWidth}px`:null}},[(o.openBlock(!0),o.createBlock(o.Fragment,null,o.renderList(e.selected,(t=>(o.openBlock(),o.createBlock(a,{key:e.getValueKey(t),closable:!e.selectDisabled&&!t.isDisabled,size:e.collapseTagSize,hit:t.hitState,type:"info","disable-transitions":"",onClose:n=>e.deleteTag(n,t)},{default:o.withCtx((()=>[o.createVNode("span",{class:"el-select__tags-text",style:{"max-width":e.inputWidth-75+"px"}},o.toDisplayString(t.currentLabel),5)])),_:2},1032,["closable","size","hit","onClose"])))),128))],4)])),_:1},8,["onAfterLeave"])),o.createCommentVNode(" </div> "),e.filterable?o.withDirectives((o.openBlock(),o.createBlock("input",{key:2,ref:"input","onUpdate:modelValue":t[2]||(t[2]=t=>e.query=t),type:"text",class:["el-select__input",[e.selectSize?`is-${e.selectSize}`:""]],disabled:e.selectDisabled,autocomplete:e.autocomplete,style:{marginLeft:e.prefixWidth&&!e.selected.length||e.tagInMultiLine?`${e.prefixWidth}px`:null,flexGrow:"1",width:e.inputLength/(e.inputWidth-32)+"%",maxWidth:e.inputWidth-42+"px"},onFocus:t[3]||(t[3]=(...t)=>e.handleFocus&&e.handleFocus(...t)),onBlur:t[4]||(t[4]=(...t)=>e.handleBlur&&e.handleBlur(...t)),onKeyup:t[5]||(t[5]=(...t)=>e.managePlaceholder&&e.managePlaceholder(...t)),onKeydown:[t[6]||(t[6]=(...t)=>e.resetInputState&&e.resetInputState(...t)),t[7]||(t[7]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["prevent"]),["down"])),t[8]||(t[8]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["prevent"]),["up"])),t[9]||(t[9]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[10]||(t[10]=o.withKeys(o.withModifiers(((...t)=>e.selectOption&&e.selectOption(...t)),["stop","prevent"]),["enter"])),t[11]||(t[11]=o.withKeys(((...t)=>e.deletePrevTag&&e.deletePrevTag(...t)),["delete"])),t[12]||(t[12]=o.withKeys((t=>e.visible=!1),["tab"]))],onCompositionstart:t[13]||(t[13]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionupdate:t[14]||(t[14]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onCompositionend:t[15]||(t[15]=(...t)=>e.handleComposition&&e.handleComposition(...t)),onInput:t[16]||(t[16]=(...t)=>e.debouncedQueryChange&&e.debouncedQueryChange(...t))},null,46,["disabled","autocomplete"])),[[o.vModelText,e.query]]):o.createCommentVNode("v-if",!0)],4)):o.createCommentVNode("v-if",!0),o.createVNode(l,{id:e.id,ref:"reference",modelValue:e.selectedLabel,"onUpdate:modelValue":t[18]||(t[18]=t=>e.selectedLabel=t),type:"text",placeholder:e.currentPlaceholder,name:e.name,autocomplete:e.autocomplete,size:e.selectSize,disabled:e.selectDisabled,readonly:e.readonly,"validate-event":!1,class:{"is-focus":e.visible},tabindex:e.multiple&&e.filterable?"-1":null,onFocus:e.handleFocus,onBlur:e.handleBlur,onInput:e.debouncedOnInputChange,onPaste:e.debouncedOnInputChange,onKeydown:[t[19]||(t[19]=o.withKeys(o.withModifiers((t=>e.navigateOptions("next")),["stop","prevent"]),["down"])),t[20]||(t[20]=o.withKeys(o.withModifiers((t=>e.navigateOptions("prev")),["stop","prevent"]),["up"])),o.withKeys(o.withModifiers(e.selectOption,["stop","prevent"]),["enter"]),t[21]||(t[21]=o.withKeys(o.withModifiers((t=>e.visible=!1),["stop","prevent"]),["esc"])),t[22]||(t[22]=o.withKeys((t=>e.visible=!1),["tab"]))],onMouseenter:t[23]||(t[23]=t=>e.inputHovering=!0),onMouseleave:t[24]||(t[24]=t=>e.inputHovering=!1)},o.createSlots({suffix:o.withCtx((()=>[o.withDirectives(o.createVNode("i",{class:["el-select__caret","el-input__icon","el-icon-"+e.iconClass]},null,2),[[o.vShow,!e.showClose]]),e.showClose?(o.openBlock(),o.createBlock("i",{key:0,class:`el-select__caret el-input__icon ${e.clearIcon}`,onClick:t[17]||(t[17]=(...t)=>e.handleClearClick&&e.handleClearClick(...t))},null,2)):o.createCommentVNode("v-if",!0)])),_:2},[e.$slots.prefix?{name:"prefix",fn:o.withCtx((()=>[o.createVNode("div",U,[o.renderSlot(e.$slots,"prefix")])]))}:void 0]),1032,["id","modelValue","placeholder","name","autocomplete","size","disabled","readonly","class","tabindex","onFocus","onBlur","onInput","onPaste","onKeydown"])])])),default:o.withCtx((()=>[o.createVNode(d,null,{default:o.withCtx((()=>[o.withDirectives(o.createVNode(u,{ref:"scrollbar",tag:"ul","wrap-class":"el-select-dropdown__wrap","view-class":"el-select-dropdown__list",class:{"is-empty":!e.allowCreate&&e.query&&0===e.filteredOptionsCount}},{default:o.withCtx((()=>[e.showNewOption?(o.openBlock(),o.createBlock(c,{key:0,value:e.query,created:!0},null,8,["value"])):o.createCommentVNode("v-if",!0),o.renderSlot(e.$slots,"default")])),_:3},8,["class"]),[[o.vShow,e.options.size>0&&!e.loading]]),e.emptyText&&(!e.allowCreate||e.loading||e.allowCreate&&0===e.options.size)?(o.openBlock(),o.createBlock(o.Fragment,{key:0},[e.$slots.empty?o.renderSlot(e.$slots,"empty",{key:0}):(o.openBlock(),o.createBlock("p",K,o.toDisplayString(e.emptyText),1))],2112)):o.createCommentVNode("v-if",!0)])),_:3})])),_:1},8,["visible","append-to-body","popper-class","onBeforeEnter"])],2)),[[f,e.handleClose,e.popperPaneRef]])},$.__file="packages/select/src/select.vue",$.install=e=>{e.component($.name,$)};const W=$;t.Option=F,t.default=W},4912:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(5450),i=n(6801),s=o.defineComponent({name:"ElTag",props:{closable:Boolean,type:{type:String,default:""},hit:Boolean,disableTransitions:Boolean,color:{type:String,default:""},size:{type:String,validator:i.isValidComponentSize},effect:{type:String,default:"light",validator:e=>-1!==["dark","light","plain"].indexOf(e)}},emits:["close","click"],setup(e,t){const n=r.useGlobalConfig(),i=o.computed((()=>e.size||n.size)),s=o.computed((()=>{const{type:t,hit:n,effect:o}=e;return["el-tag",t?`el-tag--${t}`:"",i.value?`el-tag--${i.value}`:"",o?`el-tag--${o}`:"",n&&"is-hit"]}));return{tagSize:i,classes:s,handleClose:e=>{e.stopPropagation(),t.emit("close",e)},handleClick:e=>{t.emit("click",e)}}}});s.render=function(e,t,n,r,i,s){return e.disableTransitions?(o.openBlock(),o.createBlock(o.Transition,{key:1,name:"el-zoom-in-center"},{default:o.withCtx((()=>[o.createVNode("span",{class:e.classes,style:{backgroundColor:e.color},onClick:t[4]||(t[4]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[3]||(t[3]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6)])),_:3})):(o.openBlock(),o.createBlock("span",{key:0,class:e.classes,style:{backgroundColor:e.color},onClick:t[2]||(t[2]=(...t)=>e.handleClick&&e.handleClick(...t))},[o.renderSlot(e.$slots,"default"),e.closable?(o.openBlock(),o.createBlock("i",{key:0,class:"el-tag__close el-icon-close",onClick:t[1]||(t[1]=(...t)=>e.handleClose&&e.handleClose(...t))})):o.createCommentVNode("v-if",!0)],6))},s.__file="packages/tag/src/index.vue",s.install=e=>{e.component(s.name,s)};const a=s;t.default=a},3676:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(5450),i=n(6722),s=n(6311),a=n(1617),l=n(9272),c=n(3566);function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var d=u(s),p=u(a);const f=["class","style"],h=/^on[A-Z]/;const m=[],v=e=>{if(0!==m.length&&e.code===l.EVENT_CODE.esc){e.stopPropagation();m[m.length-1].handleClose()}};u(c).default||i.on(document,"keydown",v);t.useAttrs=(e={})=>{const{excludeListeners:t=!1,excludeKeys:n=[]}=e,i=o.getCurrentInstance(),s=o.shallowRef({}),a=n.concat(f);return i.attrs=o.reactive(i.attrs),o.watchEffect((()=>{const e=r.entries(i.attrs).reduce(((e,[n,o])=>(a.includes(n)||t&&h.test(n)||(e[n]=o),e)),{});s.value=e})),s},t.useEvents=(e,t)=>{o.watch(e,(n=>{n?t.forEach((({name:t,handler:n})=>{i.on(e.value,t,n)})):t.forEach((({name:t,handler:n})=>{i.off(e.value,t,n)}))}))},t.useFocus=e=>({focus:()=>{var t,n;null==(n=null==(t=e.value)?void 0:t.focus)||n.call(t)}}),t.useLockScreen=e=>{o.isRef(e)||p.default("[useLockScreen]","You need to pass a ref param to this function");let t=0,n=!1,r="0",s=0;o.onUnmounted((()=>{a()}));const a=()=>{i.removeClass(document.body,"el-popup-parent--hidden"),n&&(document.body.style.paddingRight=r)};o.watch(e,(e=>{if(e){n=!i.hasClass(document.body,"el-popup-parent--hidden"),n&&(r=document.body.style.paddingRight,s=parseInt(i.getStyle(document.body,"paddingRight"),10)),t=d.default();const e=document.documentElement.clientHeight<document.body.scrollHeight,o=i.getStyle(document.body,"overflowY");t>0&&(e||"scroll"===o)&&n&&(document.body.style.paddingRight=s+t+"px"),i.addClass(document.body,"el-popup-parent--hidden")}else a()}))},t.useMigrating=function(){o.onMounted((()=>{o.getCurrentInstance()}));const e=function(){return{props:{},events:{}}};return{getMigratingConfig:e}},t.useModal=(e,t)=>{o.watch((()=>t.value),(t=>{t?m.push(e):m.splice(m.findIndex((t=>t===e)),1)}))},t.usePreventGlobal=(e,t,n)=>{const r=e=>{n(e)&&e.stopImmediatePropagation()};o.watch((()=>e.value),(e=>{e?i.on(document,t,r,!0):i.off(document,t,r,!0)}),{immediate:!0})},t.useRestoreActive=(e,t)=>{let n;o.watch((()=>e.value),(e=>{var r,i;e?(n=document.activeElement,o.isRef(t)&&(null==(i=(r=t.value).focus)||i.call(r))):n.focus()}))},t.useThrottleRender=function(e,t=0){if(0===t)return e;const n=o.ref(!1);let r=0;const i=()=>{r&&clearTimeout(r),r=window.setTimeout((()=>{n.value=e.value}),t)};return o.onMounted(i),o.watch((()=>e.value),(e=>{e?i():n.value=e})),n}},7993:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(2372),r=n(7484);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);let l=s.default,c=null;const u=e=>{c=e};function d(e,t){return e&&t?e.replace(/\{(\w+)\}/g,((e,n)=>t[n])):e}const p=(...e)=>{if(c)return c(...e);const[t,n]=e;let o;const r=t.split(".");let i=l;for(let e=0,t=r.length;e<t;e++){if(o=i[r[e]],e===t-1)return d(o,n);if(!o)return"";i=o}return""},f=e=>{l=e||l,l.name&&a.default.locale(l.name)};var h={use:f,t:p,i18n:u};t.default=h,t.i18n=u,t.t=p,t.use=f},2372:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.default={name:"en",el:{colorpicker:{confirm:"OK",clear:"Clear"},datepicker:{now:"Now",today:"Today",cancel:"Cancel",clear:"Clear",confirm:"OK",selectDate:"Select date",selectTime:"Select time",startDate:"Start Date",startTime:"Start Time",endDate:"End Date",endTime:"End Time",prevYear:"Previous Year",nextYear:"Next Year",prevMonth:"Previous Month",nextMonth:"Next Month",year:"",month1:"January",month2:"February",month3:"March",month4:"April",month5:"May",month6:"June",month7:"July",month8:"August",month9:"September",month10:"October",month11:"November",month12:"December",week:"week",weeks:{sun:"Sun",mon:"Mon",tue:"Tue",wed:"Wed",thu:"Thu",fri:"Fri",sat:"Sat"},months:{jan:"Jan",feb:"Feb",mar:"Mar",apr:"Apr",may:"May",jun:"Jun",jul:"Jul",aug:"Aug",sep:"Sep",oct:"Oct",nov:"Nov",dec:"Dec"}},select:{loading:"Loading",noMatch:"No matching data",noData:"No data",placeholder:"Select"},cascader:{noMatch:"No matching data",loading:"Loading",placeholder:"Select",noData:"No data"},pagination:{goto:"Go to",pagesize:"/page",total:"Total {total}",pageClassifier:""},messagebox:{title:"Message",confirm:"OK",cancel:"Cancel",error:"Illegal input"},upload:{deleteTip:"press delete to remove",delete:"Delete",preview:"Preview",continue:"Continue"},table:{emptyText:"No Data",confirmFilter:"Confirm",resetFilter:"Reset",clearFilter:"All",sumText:"Sum"},tree:{emptyText:"No Data"},transfer:{noMatch:"No matching data",noData:"No data",titles:["List 1","List 2"],filterPlaceholder:"Enter keyword",noCheckedFormat:"{total} items",hasCheckedFormat:"{checked}/{total} checked"},image:{error:"FAILED"},pageHeader:{title:"Back"},popconfirm:{confirmButtonText:"Yes",cancelButtonText:"No"}}}},9272:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e=>{return"fixed"!==getComputedStyle(e).position&&null!==e.offsetParent},o=e=>{if(e.tabIndex>0||0===e.tabIndex&&null!==e.getAttribute("tabIndex"))return!0;if(e.disabled)return!1;switch(e.nodeName){case"A":return!!e.href&&"ignore"!==e.rel;case"INPUT":return!("hidden"===e.type||"file"===e.type);case"BUTTON":case"SELECT":case"TEXTAREA":return!0;default:return!1}},r=e=>{var t;return!!o(e)&&(i.IgnoreUtilFocusChanges=!0,null===(t=e.focus)||void 0===t||t.call(e),i.IgnoreUtilFocusChanges=!1,document.activeElement===e)},i={IgnoreUtilFocusChanges:!1,focusFirstDescendant:function(e){for(let t=0;t<e.childNodes.length;t++){const n=e.childNodes[t];if(r(n)||this.focusFirstDescendant(n))return!0}return!1},focusLastDescendant:function(e){for(let t=e.childNodes.length-1;t>=0;t--){const n=e.childNodes[t];if(r(n)||this.focusLastDescendant(n))return!0}return!1}};t.EVENT_CODE={tab:"Tab",enter:"Enter",space:"Space",left:"ArrowLeft",up:"ArrowUp",right:"ArrowRight",down:"ArrowDown",esc:"Escape",delete:"Delete",backspace:"Backspace"},t.attemptFocus=r,t.default=i,t.isFocusable=o,t.isVisible=n,t.obtainAllFocusableElements=e=>Array.from(e.querySelectorAll('a[href],button:not([disabled]),button:not([hidden]),:not([tabindex="-1"]),input:not([disabled]),input:not([type="hidden"]),select:not([disabled]),textarea:not([disabled])')).filter(o).filter(n),t.triggerEvent=function(e,t,...n){let o;o=t.includes("mouse")||t.includes("click")?"MouseEvents":t.includes("key")?"KeyboardEvent":"HTMLEvents";const r=document.createEvent(o);return r.initEvent(t,...n),e.dispatchEvent(r),e}},544:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});let n={};t.getConfig=e=>n[e],t.setConfig=e=>{n=e}},2532:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});t.CHANGE_EVENT="change",t.INPUT_EVENT="input",t.UPDATE_MODEL_EVENT="update:modelValue",t.VALIDATE_STATE_MAP={validating:"el-icon-loading",success:"el-icon-circle-check",error:"el-icon-circle-close"}},6722:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(5450);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o);const a=function(e,t,n,o=!1){e&&t&&n&&e.addEventListener(t,n,o)},l=function(e,t,n,o=!1){e&&t&&n&&e.removeEventListener(t,n,o)};function c(e,t){if(!e||!t)return!1;if(-1!==t.indexOf(" "))throw new Error("className should not contain space.");return e.classList?e.classList.contains(t):(" "+e.className+" ").indexOf(" "+t+" ")>-1}const u=function(e,t){if(!s.default){if(!e||!t)return null;"float"===(t=r.camelize(t))&&(t="cssFloat");try{const n=e.style[t];if(n)return n;const o=document.defaultView.getComputedStyle(e,"");return o?o[t]:""}catch(n){return e.style[t]}}};function d(e,t,n){e&&t&&(r.isObject(t)?Object.keys(t).forEach((n=>{d(e,n,t[n])})):(t=r.camelize(t),e.style[t]=n))}const p=(e,t)=>{if(s.default)return;return u(e,null==t?"overflow":t?"overflow-y":"overflow-x").match(/(scroll|auto)/)},f=e=>{let t=0,n=e;for(;n;)t+=n.offsetTop,n=n.offsetParent;return t};t.addClass=function(e,t){if(!e)return;let n=e.className;const o=(t||"").split(" ");for(let t=0,r=o.length;t<r;t++){const r=o[t];r&&(e.classList?e.classList.add(r):c(e,r)||(n+=" "+r))}e.classList||(e.className=n)},t.getOffsetTop=f,t.getOffsetTopDistance=(e,t)=>Math.abs(f(e)-f(t)),t.getScrollContainer=(e,t)=>{if(s.default)return;let n=e;for(;n;){if([window,document,document.documentElement].includes(n))return window;if(p(n,t))return n;n=n.parentNode}return n},t.getStyle=u,t.hasClass=c,t.isInContainer=(e,t)=>{if(s.default||!e||!t)return!1;const n=e.getBoundingClientRect();let o;return o=[window,document,document.documentElement,null,void 0].includes(t)?{top:0,right:window.innerWidth,bottom:window.innerHeight,left:0}:t.getBoundingClientRect(),n.top<o.bottom&&n.bottom>o.top&&n.right>o.left&&n.left<o.right},t.isScroll=p,t.off=l,t.on=a,t.once=function(e,t,n){const o=function(...r){n&&n.apply(this,r),l(e,t,o)};a(e,t,o)},t.removeClass=function(e,t){if(!e||!t)return;const n=t.split(" ");let o=" "+e.className+" ";for(let t=0,r=n.length;t<r;t++){const r=n[t];r&&(e.classList?e.classList.remove(r):c(e,r)&&(o=o.replace(" "+r+" "," ")))}e.classList||(e.className=(o||"").replace(/^[\s\uFEFF]+|[\s\uFEFF]+$/g,""))},t.removeStyle=function(e,t){e&&t&&(r.isObject(t)?Object.keys(t).forEach((t=>{d(e,t,"")})):d(e,t,""))},t.setStyle=d,t.stop=e=>e.stopPropagation()},1617:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});class n extends Error{constructor(e){super(e),this.name="ElementPlusError"}}t.default=(e,t)=>{throw new n(`[${e}] ${t}`)},t.warn=function(e,t){console.warn(new n(`[${e}] ${t}`))}},6645:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.isKorean=function(e){return/([(\uAC00-\uD7AF)|(\u3130-\u318F)])+/gi.test(e)}},3566:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n="undefined"==typeof window;t.default=n},9169:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(3566),r=n(544),i=n(6722),s=n(9272);function a(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var l=a(o);const c=e=>{e.preventDefault(),e.stopPropagation()},u=()=>{null==m||m.doOnModalClick()};let d,p=!1;const f=function(){if(l.default)return;let e=m.modalDom;return e?p=!0:(p=!1,e=document.createElement("div"),m.modalDom=e,i.on(e,"touchmove",c),i.on(e,"click",u)),e},h={},m={modalFade:!0,modalDom:void 0,zIndex:d,getInstance:function(e){return h[e]},register:function(e,t){e&&t&&(h[e]=t)},deregister:function(e){e&&(h[e]=null,delete h[e])},nextZIndex:function(){return++m.zIndex},modalStack:[],doOnModalClick:function(){const e=m.modalStack[m.modalStack.length-1];if(!e)return;const t=m.getInstance(e.id);t&&t.closeOnClickModal.value&&t.close()},openModal:function(e,t,n,o,r){if(l.default)return;if(!e||void 0===t)return;this.modalFade=r;const s=this.modalStack;for(let t=0,n=s.length;t<n;t++){if(s[t].id===e)return}const a=f();if(i.addClass(a,"v-modal"),this.modalFade&&!p&&i.addClass(a,"v-modal-enter"),o){o.trim().split(/\s+/).forEach((e=>i.addClass(a,e)))}setTimeout((()=>{i.removeClass(a,"v-modal-enter")}),200),n&&n.parentNode&&11!==n.parentNode.nodeType?n.parentNode.appendChild(a):document.body.appendChild(a),t&&(a.style.zIndex=String(t)),a.tabIndex=0,a.style.display="",this.modalStack.push({id:e,zIndex:t,modalClass:o})},closeModal:function(e){const t=this.modalStack,n=f();if(t.length>0){const o=t[t.length-1];if(o.id===e){if(o.modalClass){o.modalClass.trim().split(/\s+/).forEach((e=>i.removeClass(n,e)))}t.pop(),t.length>0&&(n.style.zIndex=t[t.length-1].zIndex)}else for(let n=t.length-1;n>=0;n--)if(t[n].id===e){t.splice(n,1);break}}0===t.length&&(this.modalFade&&i.addClass(n,"v-modal-leave"),setTimeout((()=>{0===t.length&&(n.parentNode&&n.parentNode.removeChild(n),n.style.display="none",m.modalDom=void 0),i.removeClass(n,"v-modal-leave")}),200))}};Object.defineProperty(m,"zIndex",{configurable:!0,get:()=>(void 0===d&&(d=r.getConfig("zIndex")||2e3),d),set(e){d=e}});l.default||i.on(window,"keydown",(function(e){if(e.code===s.EVENT_CODE.esc){const e=function(){if(!l.default&&m.modalStack.length>0){const e=m.modalStack[m.modalStack.length-1];if(!e)return;return m.getInstance(e.id)}}();e&&e.closeOnPressEscape.value&&(e.handleClose?e.handleClose():e.handleAction?e.handleAction("cancel"):e.close())}})),t.default=m},2406:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(1033),r=n(3566);function i(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var s=i(o),a=i(r);const l=function(e){for(const t of e){const e=t.target.__resizeListeners__||[];e.length&&e.forEach((e=>{e()}))}};t.addResizeListener=function(e,t){!a.default&&e&&(e.__resizeListeners__||(e.__resizeListeners__=[],e.__ro__=new s.default(l),e.__ro__.observe(e)),e.__resizeListeners__.push(t))},t.removeResizeListener=function(e,t){e&&e.__resizeListeners__&&(e.__resizeListeners__.splice(e.__resizeListeners__.indexOf(t),1),e.__resizeListeners__.length||e.__ro__.disconnect())}},4593:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));t.default=function(e,t){if(r.default)return;if(!t)return void(e.scrollTop=0);const n=[];let o=t.offsetParent;for(;null!==o&&e!==o&&e.contains(o);)n.push(o),o=o.offsetParent;const i=t.offsetTop+n.reduce(((e,t)=>e+t.offsetTop),0),s=i+t.offsetHeight,a=e.scrollTop,l=a+e.clientHeight;i<a?e.scrollTop=i:s>l&&(e.scrollTop=s-e.clientHeight)}},6311:(e,t,n)=>{"use strict";function o(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}Object.defineProperty(t,"__esModule",{value:!0});var r=o(n(3566));let i;t.default=function(){if(r.default)return 0;if(void 0!==i)return i;const e=document.createElement("div");e.className="el-scrollbar__wrap",e.style.visibility="hidden",e.style.width="100px",e.style.position="absolute",e.style.top="-9999px",document.body.appendChild(e);const t=e.offsetWidth;e.style.overflow="scroll";const n=document.createElement("div");n.style.width="100%",e.appendChild(n);const o=n.offsetWidth;return e.parentNode.removeChild(e),i=t-o,i}},5450:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363),r=n(3577),i=n(3566);n(1617);function s(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=s(i);const l=r.hyphenate,c=e=>"number"==typeof e;Object.defineProperty(t,"isVNode",{enumerable:!0,get:function(){return o.isVNode}}),Object.defineProperty(t,"camelize",{enumerable:!0,get:function(){return r.camelize}}),Object.defineProperty(t,"capitalize",{enumerable:!0,get:function(){return r.capitalize}}),Object.defineProperty(t,"extend",{enumerable:!0,get:function(){return r.extend}}),Object.defineProperty(t,"hasOwn",{enumerable:!0,get:function(){return r.hasOwn}}),Object.defineProperty(t,"isArray",{enumerable:!0,get:function(){return r.isArray}}),Object.defineProperty(t,"isObject",{enumerable:!0,get:function(){return r.isObject}}),Object.defineProperty(t,"isString",{enumerable:!0,get:function(){return r.isString}}),Object.defineProperty(t,"looseEqual",{enumerable:!0,get:function(){return r.looseEqual}}),t.$=function(e){return e.value},t.SCOPE="Util",t.addUnit=function(e){return r.isString(e)?e:c(e)?e+"px":""},t.arrayFind=function(e,t){return e.find(t)},t.arrayFindIndex=function(e,t){return e.findIndex(t)},t.arrayFlat=function e(t){return t.reduce(((t,n)=>{const o=Array.isArray(n)?e(n):n;return t.concat(o)}),[])},t.autoprefixer=function(e){const t=["ms-","webkit-"];return["transform","transition","animation"].forEach((n=>{const o=e[n];n&&o&&t.forEach((t=>{e[t+n]=o}))})),e},t.clearTimer=e=>{clearTimeout(e.value),e.value=null},t.coerceTruthyValueToArray=e=>e||0===e?Array.isArray(e)?e:[e]:[],t.deduplicate=function(e){return Array.from(new Set(e))},t.entries=function(e){return Object.keys(e).map((t=>[t,e[t]]))},t.escapeRegexpString=(e="")=>String(e).replace(/[|\\{}()[\]^$+*?.]/g,"\\$&"),t.generateId=()=>Math.floor(1e4*Math.random()),t.getPropByPath=function(e,t,n){let o=e;const r=(t=(t=t.replace(/\[(\w+)\]/g,".$1")).replace(/^\./,"")).split(".");let i=0;for(;i<r.length-1&&(o||n);i++){const e=r[i];if(!(e in o)){if(n)throw new Error("please transfer a valid prop path to form item!");break}o=o[e]}return{o,k:r[i],v:null==o?void 0:o[r[i]]}},t.getRandomInt=function(e){return Math.floor(Math.random()*Math.floor(e))},t.getValueByPath=(e,t="")=>{let n=e;return t.split(".").map((e=>{n=null==n?void 0:n[e]})),n},t.isBool=e=>"boolean"==typeof e,t.isEdge=function(){return!a.default&&navigator.userAgent.indexOf("Edge")>-1},t.isEmpty=function(e){return!!(!e&&0!==e||r.isArray(e)&&!e.length||r.isObject(e)&&!Object.keys(e).length)},t.isFirefox=function(){return!a.default&&!!window.navigator.userAgent.match(/firefox/i)},t.isHTMLElement=e=>r.toRawType(e).startsWith("HTML"),t.isIE=function(){return!a.default&&!isNaN(Number(document.documentMode))},t.isNumber=c,t.isUndefined=function(e){return void 0===e},t.kebabCase=l,t.rafThrottle=function(e){let t=!1;return function(...n){t||(t=!0,window.requestAnimationFrame((()=>{e.apply(this,n),t=!1})))}},t.toObject=function(e){const t={};for(let n=0;n<e.length;n++)e[n]&&r.extend(t,e[n]);return t},t.useGlobalConfig=function(){const e=o.getCurrentInstance();return"$ELEMENT"in e.proxy?e.proxy.$ELEMENT:{}}},6801:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(5450);t.isValidComponentSize=e=>["","large","medium","small","mini"].includes(e),t.isValidDatePickType=e=>["year","month","date","dates","week","datetime","datetimerange","daterange","monthrange"].includes(e),t.isValidWidthUnit=e=>!!o.isNumber(e)||["px","rem","em","vw","%","vmin","vmax"].some((t=>e.endsWith(t)))},7050:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n(7363);var r;(r=t.PatchFlags||(t.PatchFlags={}))[r.TEXT=1]="TEXT",r[r.CLASS=2]="CLASS",r[r.STYLE=4]="STYLE",r[r.PROPS=8]="PROPS",r[r.FULL_PROPS=16]="FULL_PROPS",r[r.HYDRATE_EVENTS=32]="HYDRATE_EVENTS",r[r.STABLE_FRAGMENT=64]="STABLE_FRAGMENT",r[r.KEYED_FRAGMENT=128]="KEYED_FRAGMENT",r[r.UNKEYED_FRAGMENT=256]="UNKEYED_FRAGMENT",r[r.NEED_PATCH=512]="NEED_PATCH",r[r.DYNAMIC_SLOTS=1024]="DYNAMIC_SLOTS",r[r.HOISTED=-1]="HOISTED",r[r.BAIL=-2]="BAIL";const i=e=>e.type===o.Fragment,s=e=>e.type===o.Comment,a=e=>"template"===e.type;function l(e,t){if(!s(e))return i(e)||a(e)?t>0?c(e.children,t-1):void 0:e}const c=(e,t=3)=>Array.isArray(e)?l(e[0],t):l(e,t);function u(e,t,n,r,i){return o.openBlock(),o.createBlock(e,t,n,r,i)}t.getFirstValidNode=c,t.isComment=s,t.isFragment=i,t.isTemplate=a,t.isText=e=>e.type===o.Text,t.isValidElementNode=e=>!(i(e)||s(e)),t.renderBlock=u,t.renderIf=function(e,t,n,r,i,s){return e?u(t,n,r,i,s):o.createCommentVNode("v-if",!0)}},8552:(e,t,n)=>{var o=n(852)(n(5639),"DataView");e.exports=o},1989:(e,t,n)=>{var o=n(1789),r=n(401),i=n(7667),s=n(1327),a=n(1866);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},8407:(e,t,n)=>{var o=n(7040),r=n(4125),i=n(2117),s=n(7518),a=n(4705);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},7071:(e,t,n)=>{var o=n(852)(n(5639),"Map");e.exports=o},3369:(e,t,n)=>{var o=n(4785),r=n(1285),i=n(6e3),s=n(9916),a=n(5265);function l(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var o=e[t];this.set(o[0],o[1])}}l.prototype.clear=o,l.prototype.delete=r,l.prototype.get=i,l.prototype.has=s,l.prototype.set=a,e.exports=l},3818:(e,t,n)=>{var o=n(852)(n(5639),"Promise");e.exports=o},8525:(e,t,n)=>{var o=n(852)(n(5639),"Set");e.exports=o},8668:(e,t,n)=>{var o=n(3369),r=n(619),i=n(2385);function s(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new o;++t<n;)this.add(e[t])}s.prototype.add=s.prototype.push=r,s.prototype.has=i,e.exports=s},6384:(e,t,n)=>{var o=n(8407),r=n(7465),i=n(3779),s=n(7599),a=n(4758),l=n(4309);function c(e){var t=this.__data__=new o(e);this.size=t.size}c.prototype.clear=r,c.prototype.delete=i,c.prototype.get=s,c.prototype.has=a,c.prototype.set=l,e.exports=c},2705:(e,t,n)=>{var o=n(5639).Symbol;e.exports=o},1149:(e,t,n)=>{var o=n(5639).Uint8Array;e.exports=o},577:(e,t,n)=>{var o=n(852)(n(5639),"WeakMap");e.exports=o},4963:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length,r=0,i=[];++n<o;){var s=e[n];t(s,n,e)&&(i[r++]=s)}return i}},4636:(e,t,n)=>{var o=n(2545),r=n(5694),i=n(1469),s=n(4144),a=n(5776),l=n(6719),c=Object.prototype.hasOwnProperty;e.exports=function(e,t){var n=i(e),u=!n&&r(e),d=!n&&!u&&s(e),p=!n&&!u&&!d&&l(e),f=n||u||d||p,h=f?o(e.length,String):[],m=h.length;for(var v in e)!t&&!c.call(e,v)||f&&("length"==v||d&&("offset"==v||"parent"==v)||p&&("buffer"==v||"byteLength"==v||"byteOffset"==v)||a(v,m))||h.push(v);return h}},2488:e=>{e.exports=function(e,t){for(var n=-1,o=t.length,r=e.length;++n<o;)e[r+n]=t[n];return e}},2908:e=>{e.exports=function(e,t){for(var n=-1,o=null==e?0:e.length;++n<o;)if(t(e[n],n,e))return!0;return!1}},8470:(e,t,n)=>{var o=n(7813);e.exports=function(e,t){for(var n=e.length;n--;)if(o(e[n][0],t))return n;return-1}},8866:(e,t,n)=>{var o=n(2488),r=n(1469);e.exports=function(e,t,n){var i=t(e);return r(e)?i:o(i,n(e))}},4239:(e,t,n)=>{var o=n(2705),r=n(9607),i=n(2333),s=o?o.toStringTag:void 0;e.exports=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":s&&s in Object(e)?r(e):i(e)}},9454:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return r(e)&&"[object Arguments]"==o(e)}},939:(e,t,n)=>{var o=n(2492),r=n(7005);e.exports=function e(t,n,i,s,a){return t===n||(null==t||null==n||!r(t)&&!r(n)?t!=t&&n!=n:o(t,n,i,s,e,a))}},2492:(e,t,n)=>{var o=n(6384),r=n(7114),i=n(8351),s=n(6096),a=n(4160),l=n(1469),c=n(4144),u=n(6719),d="[object Arguments]",p="[object Array]",f="[object Object]",h=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,m,v,g){var y=l(e),b=l(t),w=y?p:a(e),x=b?p:a(t),_=(w=w==d?f:w)==f,k=(x=x==d?f:x)==f,S=w==x;if(S&&c(e)){if(!c(t))return!1;y=!0,_=!1}if(S&&!_)return g||(g=new o),y||u(e)?r(e,t,n,m,v,g):i(e,t,w,n,m,v,g);if(!(1&n)){var C=_&&h.call(e,"__wrapped__"),O=k&&h.call(t,"__wrapped__");if(C||O){var T=C?e.value():e,E=O?t.value():t;return g||(g=new o),v(T,E,n,m,g)}}return!!S&&(g||(g=new o),s(e,t,n,m,v,g))}},8458:(e,t,n)=>{var o=n(3560),r=n(5346),i=n(3218),s=n(346),a=/^\[object .+?Constructor\]$/,l=Function.prototype,c=Object.prototype,u=l.toString,d=c.hasOwnProperty,p=RegExp("^"+u.call(d).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");e.exports=function(e){return!(!i(e)||r(e))&&(o(e)?p:a).test(s(e))}},8749:(e,t,n)=>{var o=n(4239),r=n(1780),i=n(7005),s={};s["[object Float32Array]"]=s["[object Float64Array]"]=s["[object Int8Array]"]=s["[object Int16Array]"]=s["[object Int32Array]"]=s["[object Uint8Array]"]=s["[object Uint8ClampedArray]"]=s["[object Uint16Array]"]=s["[object Uint32Array]"]=!0,s["[object Arguments]"]=s["[object Array]"]=s["[object ArrayBuffer]"]=s["[object Boolean]"]=s["[object DataView]"]=s["[object Date]"]=s["[object Error]"]=s["[object Function]"]=s["[object Map]"]=s["[object Number]"]=s["[object Object]"]=s["[object RegExp]"]=s["[object Set]"]=s["[object String]"]=s["[object WeakMap]"]=!1,e.exports=function(e){return i(e)&&r(e.length)&&!!s[o(e)]}},280:(e,t,n)=>{var o=n(5726),r=n(6916),i=Object.prototype.hasOwnProperty;e.exports=function(e){if(!o(e))return r(e);var t=[];for(var n in Object(e))i.call(e,n)&&"constructor"!=n&&t.push(n);return t}},2545:e=>{e.exports=function(e,t){for(var n=-1,o=Array(e);++n<e;)o[n]=t(n);return o}},7561:(e,t,n)=>{var o=n(7990),r=/^\s+/;e.exports=function(e){return e?e.slice(0,o(e)+1).replace(r,""):e}},1717:e=>{e.exports=function(e){return function(t){return e(t)}}},4757:e=>{e.exports=function(e,t){return e.has(t)}},4429:(e,t,n)=>{var o=n(5639)["__core-js_shared__"];e.exports=o},7114:(e,t,n)=>{var o=n(8668),r=n(2908),i=n(4757);e.exports=function(e,t,n,s,a,l){var c=1&n,u=e.length,d=t.length;if(u!=d&&!(c&&d>u))return!1;var p=l.get(e),f=l.get(t);if(p&&f)return p==t&&f==e;var h=-1,m=!0,v=2&n?new o:void 0;for(l.set(e,t),l.set(t,e);++h<u;){var g=e[h],y=t[h];if(s)var b=c?s(y,g,h,t,e,l):s(g,y,h,e,t,l);if(void 0!==b){if(b)continue;m=!1;break}if(v){if(!r(t,(function(e,t){if(!i(v,t)&&(g===e||a(g,e,n,s,l)))return v.push(t)}))){m=!1;break}}else if(g!==y&&!a(g,y,n,s,l)){m=!1;break}}return l.delete(e),l.delete(t),m}},8351:(e,t,n)=>{var o=n(2705),r=n(1149),i=n(7813),s=n(7114),a=n(8776),l=n(1814),c=o?o.prototype:void 0,u=c?c.valueOf:void 0;e.exports=function(e,t,n,o,c,d,p){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!d(new r(e),new r(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return i(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var f=a;case"[object Set]":var h=1&o;if(f||(f=l),e.size!=t.size&&!h)return!1;var m=p.get(e);if(m)return m==t;o|=2,p.set(e,t);var v=s(f(e),f(t),o,c,d,p);return p.delete(e),v;case"[object Symbol]":if(u)return u.call(e)==u.call(t)}return!1}},6096:(e,t,n)=>{var o=n(8234),r=Object.prototype.hasOwnProperty;e.exports=function(e,t,n,i,s,a){var l=1&n,c=o(e),u=c.length;if(u!=o(t).length&&!l)return!1;for(var d=u;d--;){var p=c[d];if(!(l?p in t:r.call(t,p)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var m=!0;a.set(e,t),a.set(t,e);for(var v=l;++d<u;){var g=e[p=c[d]],y=t[p];if(i)var b=l?i(y,g,p,t,e,a):i(g,y,p,e,t,a);if(!(void 0===b?g===y||s(g,y,n,i,a):b)){m=!1;break}v||(v="constructor"==p)}if(m&&!v){var w=e.constructor,x=t.constructor;w==x||!("constructor"in e)||!("constructor"in t)||"function"==typeof w&&w instanceof w&&"function"==typeof x&&x instanceof x||(m=!1)}return a.delete(e),a.delete(t),m}},1957:(e,t,n)=>{var o="object"==typeof n.g&&n.g&&n.g.Object===Object&&n.g;e.exports=o},8234:(e,t,n)=>{var o=n(8866),r=n(9551),i=n(3674);e.exports=function(e){return o(e,i,r)}},5050:(e,t,n)=>{var o=n(7019);e.exports=function(e,t){var n=e.__data__;return o(t)?n["string"==typeof t?"string":"hash"]:n.map}},852:(e,t,n)=>{var o=n(8458),r=n(7801);e.exports=function(e,t){var n=r(e,t);return o(n)?n:void 0}},9607:(e,t,n)=>{var o=n(2705),r=Object.prototype,i=r.hasOwnProperty,s=r.toString,a=o?o.toStringTag:void 0;e.exports=function(e){var t=i.call(e,a),n=e[a];try{e[a]=void 0;var o=!0}catch(e){}var r=s.call(e);return o&&(t?e[a]=n:delete e[a]),r}},9551:(e,t,n)=>{var o=n(4963),r=n(479),i=Object.prototype.propertyIsEnumerable,s=Object.getOwnPropertySymbols,a=s?function(e){return null==e?[]:(e=Object(e),o(s(e),(function(t){return i.call(e,t)})))}:r;e.exports=a},4160:(e,t,n)=>{var o=n(8552),r=n(7071),i=n(3818),s=n(8525),a=n(577),l=n(4239),c=n(346),u="[object Map]",d="[object Promise]",p="[object Set]",f="[object WeakMap]",h="[object DataView]",m=c(o),v=c(r),g=c(i),y=c(s),b=c(a),w=l;(o&&w(new o(new ArrayBuffer(1)))!=h||r&&w(new r)!=u||i&&w(i.resolve())!=d||s&&w(new s)!=p||a&&w(new a)!=f)&&(w=function(e){var t=l(e),n="[object Object]"==t?e.constructor:void 0,o=n?c(n):"";if(o)switch(o){case m:return h;case v:return u;case g:return d;case y:return p;case b:return f}return t}),e.exports=w},7801:e=>{e.exports=function(e,t){return null==e?void 0:e[t]}},1789:(e,t,n)=>{var o=n(4536);e.exports=function(){this.__data__=o?o(null):{},this.size=0}},401:e=>{e.exports=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}},7667:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;if(o){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return r.call(t,e)?t[e]:void 0}},1327:(e,t,n)=>{var o=n(4536),r=Object.prototype.hasOwnProperty;e.exports=function(e){var t=this.__data__;return o?void 0!==t[e]:r.call(t,e)}},1866:(e,t,n)=>{var o=n(4536);e.exports=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=o&&void 0===t?"__lodash_hash_undefined__":t,this}},5776:e=>{var t=/^(?:0|[1-9]\d*)$/;e.exports=function(e,n){var o=typeof e;return!!(n=null==n?9007199254740991:n)&&("number"==o||"symbol"!=o&&t.test(e))&&e>-1&&e%1==0&&e<n}},7019:e=>{e.exports=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}},5346:(e,t,n)=>{var o,r=n(4429),i=(o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||""))?"Symbol(src)_1."+o:"";e.exports=function(e){return!!i&&i in e}},5726:e=>{var t=Object.prototype;e.exports=function(e){var n=e&&e.constructor;return e===("function"==typeof n&&n.prototype||t)}},7040:e=>{e.exports=function(){this.__data__=[],this.size=0}},4125:(e,t,n)=>{var o=n(8470),r=Array.prototype.splice;e.exports=function(e){var t=this.__data__,n=o(t,e);return!(n<0)&&(n==t.length-1?t.pop():r.call(t,n,1),--this.size,!0)}},2117:(e,t,n)=>{var o=n(8470);e.exports=function(e){var t=this.__data__,n=o(t,e);return n<0?void 0:t[n][1]}},7518:(e,t,n)=>{var o=n(8470);e.exports=function(e){return o(this.__data__,e)>-1}},4705:(e,t,n)=>{var o=n(8470);e.exports=function(e,t){var n=this.__data__,r=o(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this}},4785:(e,t,n)=>{var o=n(1989),r=n(8407),i=n(7071);e.exports=function(){this.size=0,this.__data__={hash:new o,map:new(i||r),string:new o}}},1285:(e,t,n)=>{var o=n(5050);e.exports=function(e){var t=o(this,e).delete(e);return this.size-=t?1:0,t}},6e3:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).get(e)}},9916:(e,t,n)=>{var o=n(5050);e.exports=function(e){return o(this,e).has(e)}},5265:(e,t,n)=>{var o=n(5050);e.exports=function(e,t){var n=o(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this}},8776:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,o){n[++t]=[o,e]})),n}},4536:(e,t,n)=>{var o=n(852)(Object,"create");e.exports=o},6916:(e,t,n)=>{var o=n(5569)(Object.keys,Object);e.exports=o},1167:(e,t,n)=>{e=n.nmd(e);var o=n(1957),r=t&&!t.nodeType&&t,i=r&&e&&!e.nodeType&&e,s=i&&i.exports===r&&o.process,a=function(){try{var e=i&&i.require&&i.require("util").types;return e||s&&s.binding&&s.binding("util")}catch(e){}}();e.exports=a},2333:e=>{var t=Object.prototype.toString;e.exports=function(e){return t.call(e)}},5569:e=>{e.exports=function(e,t){return function(n){return e(t(n))}}},5639:(e,t,n)=>{var o=n(1957),r="object"==typeof self&&self&&self.Object===Object&&self,i=o||r||Function("return this")();e.exports=i},619:e=>{e.exports=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this}},2385:e=>{e.exports=function(e){return this.__data__.has(e)}},1814:e=>{e.exports=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}},7465:(e,t,n)=>{var o=n(8407);e.exports=function(){this.__data__=new o,this.size=0}},3779:e=>{e.exports=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n}},7599:e=>{e.exports=function(e){return this.__data__.get(e)}},4758:e=>{e.exports=function(e){return this.__data__.has(e)}},4309:(e,t,n)=>{var o=n(8407),r=n(7071),i=n(3369);e.exports=function(e,t){var n=this.__data__;if(n instanceof o){var s=n.__data__;if(!r||s.length<199)return s.push([e,t]),this.size=++n.size,this;n=this.__data__=new i(s)}return n.set(e,t),this.size=n.size,this}},346:e=>{var t=Function.prototype.toString;e.exports=function(e){if(null!=e){try{return t.call(e)}catch(e){}try{return e+""}catch(e){}}return""}},7990:e=>{var t=/\s/;e.exports=function(e){for(var n=e.length;n--&&t.test(e.charAt(n)););return n}},3279:(e,t,n)=>{var o=n(3218),r=n(7771),i=n(4841),s=Math.max,a=Math.min;e.exports=function(e,t,n){var l,c,u,d,p,f,h=0,m=!1,v=!1,g=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function y(t){var n=l,o=c;return l=c=void 0,h=t,d=e.apply(o,n)}function b(e){return h=e,p=setTimeout(x,t),m?y(e):d}function w(e){var n=e-f;return void 0===f||n>=t||n<0||v&&e-h>=u}function x(){var e=r();if(w(e))return _(e);p=setTimeout(x,function(e){var n=t-(e-f);return v?a(n,u-(e-h)):n}(e))}function _(e){return p=void 0,g&&l?y(e):(l=c=void 0,d)}function k(){var e=r(),n=w(e);if(l=arguments,c=this,f=e,n){if(void 0===p)return b(f);if(v)return clearTimeout(p),p=setTimeout(x,t),y(f)}return void 0===p&&(p=setTimeout(x,t)),d}return t=i(t)||0,o(n)&&(m=!!n.leading,u=(v="maxWait"in n)?s(i(n.maxWait)||0,t):u,g="trailing"in n?!!n.trailing:g),k.cancel=function(){void 0!==p&&clearTimeout(p),h=0,l=f=c=p=void 0},k.flush=function(){return void 0===p?d:_(r())},k}},7813:e=>{e.exports=function(e,t){return e===t||e!=e&&t!=t}},5694:(e,t,n)=>{var o=n(9454),r=n(7005),i=Object.prototype,s=i.hasOwnProperty,a=i.propertyIsEnumerable,l=o(function(){return arguments}())?o:function(e){return r(e)&&s.call(e,"callee")&&!a.call(e,"callee")};e.exports=l},1469:e=>{var t=Array.isArray;e.exports=t},8612:(e,t,n)=>{var o=n(3560),r=n(1780);e.exports=function(e){return null!=e&&r(e.length)&&!o(e)}},4144:(e,t,n)=>{e=n.nmd(e);var o=n(5639),r=n(5062),i=t&&!t.nodeType&&t,s=i&&e&&!e.nodeType&&e,a=s&&s.exports===i?o.Buffer:void 0,l=(a?a.isBuffer:void 0)||r;e.exports=l},8446:(e,t,n)=>{var o=n(939);e.exports=function(e,t){return o(e,t)}},3560:(e,t,n)=>{var o=n(4239),r=n(3218);e.exports=function(e){if(!r(e))return!1;var t=o(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t}},1780:e=>{e.exports=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991}},3218:e=>{e.exports=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}},7005:e=>{e.exports=function(e){return null!=e&&"object"==typeof e}},3448:(e,t,n)=>{var o=n(4239),r=n(7005);e.exports=function(e){return"symbol"==typeof e||r(e)&&"[object Symbol]"==o(e)}},6719:(e,t,n)=>{var o=n(8749),r=n(1717),i=n(1167),s=i&&i.isTypedArray,a=s?r(s):o;e.exports=a},3674:(e,t,n)=>{var o=n(4636),r=n(280),i=n(8612);e.exports=function(e){return i(e)?o(e):r(e)}},7771:(e,t,n)=>{var o=n(5639);e.exports=function(){return o.Date.now()}},479:e=>{e.exports=function(){return[]}},5062:e=>{e.exports=function(){return!1}},4841:(e,t,n)=>{var o=n(7561),r=n(3218),i=n(3448),s=/^[-+]0x[0-9a-f]+$/i,a=/^0b[01]+$/i,l=/^0o[0-7]+$/i,c=parseInt;e.exports=function(e){if("number"==typeof e)return e;if(i(e))return NaN;if(r(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=r(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=o(e);var n=a.test(e);return n||l.test(e)?c(e.slice(2),n?2:8):s.test(e)?NaN:+e}},7230:()=>{},9652:(e,t,n)=>{"use strict";function o(e){return{all:e=e||new Map,on:function(t,n){var o=e.get(t);o&&o.push(n)||e.set(t,[n])},off:function(t,n){var o=e.get(t);o&&o.splice(o.indexOf(n)>>>0,1)},emit:function(t,n){(e.get(t)||[]).slice().map((function(e){e(n)})),(e.get("*")||[]).slice().map((function(e){e(t,n)}))}}}n.r(t),n.d(t,{default:()=>o})},2796:(e,t,n)=>{e.exports=n(643)},3264:e=>{"use strict";var t=!("undefined"==typeof window||!window.document||!window.document.createElement),n={canUseDOM:t,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:t&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:t&&!!window.screen,isInWorker:!t};e.exports=n},4518:e=>{var t,n,o,r,i,s,a,l,c,u,d,p,f,h,m,v=!1;function g(){if(!v){v=!0;var e=navigator.userAgent,g=/(?:MSIE.(\d+\.\d+))|(?:(?:Firefox|GranParadiso|Iceweasel).(\d+\.\d+))|(?:Opera(?:.+Version.|.)(\d+\.\d+))|(?:AppleWebKit.(\d+(?:\.\d+)?))|(?:Trident\/\d+\.\d+.*rv:(\d+\.\d+))/.exec(e),y=/(Mac OS X)|(Windows)|(Linux)/.exec(e);if(p=/\b(iPhone|iP[ao]d)/.exec(e),f=/\b(iP[ao]d)/.exec(e),u=/Android/i.exec(e),h=/FBAN\/\w+;/i.exec(e),m=/Mobile/i.exec(e),d=!!/Win64/.exec(e),g){(t=g[1]?parseFloat(g[1]):g[5]?parseFloat(g[5]):NaN)&&document&&document.documentMode&&(t=document.documentMode);var b=/(?:Trident\/(\d+.\d+))/.exec(e);s=b?parseFloat(b[1])+4:t,n=g[2]?parseFloat(g[2]):NaN,o=g[3]?parseFloat(g[3]):NaN,(r=g[4]?parseFloat(g[4]):NaN)?(g=/(?:Chrome\/(\d+\.\d+))/.exec(e),i=g&&g[1]?parseFloat(g[1]):NaN):i=NaN}else t=n=o=i=r=NaN;if(y){if(y[1]){var w=/(?:Mac OS X (\d+(?:[._]\d+)?))/.exec(e);a=!w||parseFloat(w[1].replace("_","."))}else a=!1;l=!!y[2],c=!!y[3]}else a=l=c=!1}}var y={ie:function(){return g()||t},ieCompatibilityMode:function(){return g()||s>t},ie64:function(){return y.ie()&&d},firefox:function(){return g()||n},opera:function(){return g()||o},webkit:function(){return g()||r},safari:function(){return y.webkit()},chrome:function(){return g()||i},windows:function(){return g()||l},osx:function(){return g()||a},linux:function(){return g()||c},iphone:function(){return g()||p},mobile:function(){return g()||p||f||u||m},nativeApp:function(){return g()||h},android:function(){return g()||u},ipad:function(){return g()||f}};e.exports=y},6534:(e,t,n)=>{"use strict";var o,r=n(3264);r.canUseDOM&&(o=document.implementation&&document.implementation.hasFeature&&!0!==document.implementation.hasFeature("","")),e.exports=function(e,t){if(!r.canUseDOM||t&&!("addEventListener"in document))return!1;var n="on"+e,i=n in document;if(!i){var s=document.createElement("div");s.setAttribute(n,"return;"),i="function"==typeof s[n]}return!i&&o&&"wheel"===e&&(i=document.implementation.hasFeature("Events.wheel","3.0")),i}},643:(e,t,n)=>{"use strict";var o=n(4518),r=n(6534);function i(e){var t=0,n=0,o=0,r=0;return"detail"in e&&(n=e.detail),"wheelDelta"in e&&(n=-e.wheelDelta/120),"wheelDeltaY"in e&&(n=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=n,n=0),o=10*t,r=10*n,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(o=e.deltaX),(o||r)&&e.deltaMode&&(1==e.deltaMode?(o*=40,r*=40):(o*=800,r*=800)),o&&!t&&(t=o<1?-1:1),r&&!n&&(n=r<1?-1:1),{spinX:t,spinY:n,pixelX:o,pixelY:r}}i.getEventType=function(){return o.firefox()?"DOMMouseScroll":r("wheel")?"wheel":"mousewheel"},e.exports=i},1033:(e,t,n)=>{"use strict";n.r(t),n.d(t,{default:()=>S});var o=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some((function(e,o){return e[0]===t&&(n=o,!0)})),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),o=this.__entries__[n];return o&&o[1]},t.prototype.set=function(t,n){var o=e(this.__entries__,t);~o?this.__entries__[o][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,o=e(n,t);~o&&n.splice(o,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,o=this.__entries__;n<o.length;n++){var r=o[n];e.call(t,r[1],r[0])}},t}()}(),r="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,i=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),s="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(i):function(e){return setTimeout((function(){return e(Date.now())}),1e3/60)};var a=["top","right","bottom","left","width","height","size","weight"],l="undefined"!=typeof MutationObserver,c=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,o=!1,r=0;function i(){n&&(n=!1,e()),o&&l()}function a(){s(i)}function l(){var e=Date.now();if(n){if(e-r<2)return;o=!0}else n=!0,o=!1,setTimeout(a,t);r=e}return l}(this.refresh.bind(this),20)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter((function(e){return e.gatherActive(),e.hasActive()}));return e.forEach((function(e){return e.broadcastActive()})),e.length>0},e.prototype.connect_=function(){r&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),l?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){r&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;a.some((function(e){return!!~n.indexOf(e)}))&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),u=function(e,t){for(var n=0,o=Object.keys(t);n<o.length;n++){var r=o[n];Object.defineProperty(e,r,{value:t[r],enumerable:!1,writable:!1,configurable:!0})}return e},d=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||i},p=y(0,0,0,0);function f(e){return parseFloat(e)||0}function h(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce((function(t,n){return t+f(e["border-"+n+"-width"])}),0)}function m(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return p;var o=d(e).getComputedStyle(e),r=function(e){for(var t={},n=0,o=["top","right","bottom","left"];n<o.length;n++){var r=o[n],i=e["padding-"+r];t[r]=f(i)}return t}(o),i=r.left+r.right,s=r.top+r.bottom,a=f(o.width),l=f(o.height);if("border-box"===o.boxSizing&&(Math.round(a+i)!==t&&(a-=h(o,"left","right")+i),Math.round(l+s)!==n&&(l-=h(o,"top","bottom")+s)),!function(e){return e===d(e).document.documentElement}(e)){var c=Math.round(a+i)-t,u=Math.round(l+s)-n;1!==Math.abs(c)&&(a-=c),1!==Math.abs(u)&&(l-=u)}return y(r.left,r.top,a,l)}var v="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof d(e).SVGGraphicsElement}:function(e){return e instanceof d(e).SVGElement&&"function"==typeof e.getBBox};function g(e){return r?v(e)?function(e){var t=e.getBBox();return y(0,0,t.width,t.height)}(e):m(e):p}function y(e,t,n,o){return{x:e,y:t,width:n,height:o}}var b=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=y(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=g(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),w=function(e,t){var n,o,r,i,s,a,l,c=(o=(n=t).x,r=n.y,i=n.width,s=n.height,a="undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object,l=Object.create(a.prototype),u(l,{x:o,y:r,width:i,height:s,top:r,right:o+i,bottom:s+r,left:o}),l);u(this,{target:e,contentRect:c})},x=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new o,"function"!=typeof e)throw new TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new b(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof d(e).Element))throw new TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach((function(t){t.isActive()&&e.activeObservations_.push(t)}))},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map((function(e){return new w(e.target,e.broadcastRect())}));this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),_="undefined"!=typeof WeakMap?new WeakMap:new o,k=function e(t){if(!(this instanceof e))throw new TypeError("Cannot call a class as a function.");if(!arguments.length)throw new TypeError("1 argument required, but only 0 present.");var n=c.getInstance(),o=new x(t,n,this);_.set(this,o)};["observe","unobserve","disconnect"].forEach((function(e){k.prototype[e]=function(){var t;return(t=_.get(this))[e].apply(t,arguments)}}));const S=void 0!==i.ResizeObserver?i.ResizeObserver:k},6770:()=>{!function(e,t){"use strict";"function"!=typeof e.CustomEvent&&(e.CustomEvent=function(e,n){n=n||{bubbles:!1,cancelable:!1,detail:void 0};var o=t.createEvent("CustomEvent");return o.initCustomEvent(e,n.bubbles,n.cancelable,n.detail),o},e.CustomEvent.prototype=e.Event.prototype),t.addEventListener("touchstart",(function(e){if("true"===e.target.getAttribute("data-swipe-ignore"))return;a=e.target,s=Date.now(),n=e.touches[0].clientX,o=e.touches[0].clientY,r=0,i=0}),!1),t.addEventListener("touchmove",(function(e){if(!n||!o)return;var t=e.touches[0].clientX,s=e.touches[0].clientY;r=n-t,i=o-s}),!1),t.addEventListener("touchend",(function(e){if(a!==e.target)return;var t=parseInt(l(a,"data-swipe-threshold","20"),10),c=parseInt(l(a,"data-swipe-timeout","500"),10),u=Date.now()-s,d="",p=e.changedTouches||e.touches||[];Math.abs(r)>Math.abs(i)?Math.abs(r)>t&&u<c&&(d=r>0?"swiped-left":"swiped-right"):Math.abs(i)>t&&u<c&&(d=i>0?"swiped-up":"swiped-down");if(""!==d){var f={dir:d.replace(/swiped-/,""),xStart:parseInt(n,10),xEnd:parseInt((p[0]||{}).clientX||-1,10),yStart:parseInt(o,10),yEnd:parseInt((p[0]||{}).clientY||-1,10)};a.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:f})),a.dispatchEvent(new CustomEvent(d,{bubbles:!0,cancelable:!0,detail:f}))}n=null,o=null,s=null}),!1);var n=null,o=null,r=null,i=null,s=null,a=null;function l(e,n,o){for(;e&&e!==t.documentElement;){var r=e.getAttribute(n);if(r)return r;e=e.parentNode}return o}}(window,document)},5460:e=>{e.exports={"#":{pattern:/\d/},X:{pattern:/[0-9a-zA-Z]/},S:{pattern:/[a-zA-Z]/},A:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleUpperCase()},a:{pattern:/[a-zA-Z]/,transform:e=>e.toLocaleLowerCase()},"!":{escape:!0}}},7363:(e,t,n)=>{"use strict";n.r(t),n.d(t,{BaseTransition:()=>zt,Comment:()=>ko,Fragment:()=>xo,KeepAlive:()=>tn,Static:()=>So,Suspense:()=>Tt,Teleport:()=>fo,Text:()=>_o,Transition:()=>ri,TransitionGroup:()=>_i,callWithAsyncErrorHandling:()=>Ie,callWithErrorHandling:()=>De,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>$o,compatUtils:()=>Nr,compile:()=>xc,computed:()=>_r,createApp:()=>Xi,createBlock:()=>Vo,createCommentVNode:()=>Ho,createHydrationRenderer:()=>ro,createRenderer:()=>oo,createSSRApp:()=>es,createSlots:()=>Jo,createStaticVNode:()=>zo,createTextVNode:()=>Ro,createVNode:()=>Io,customRef:()=>Be,defineAsyncComponent:()=>Zt,defineComponent:()=>Jt,defineEmit:()=>Sr,defineProps:()=>kr,devtools:()=>ct,getCurrentInstance:()=>ar,getTransitionRawChildren:()=>Yt,h:()=>Or,handleError:()=>je,hydrate:()=>Zi,initCustomFormatter:()=>Br,inject:()=>Nt,isProxy:()=>me,isReactive:()=>fe,isReadonly:()=>he,isRef:()=>be,isRuntimeOnly:()=>fr,isVNode:()=>No,markRaw:()=>ge,mergeProps:()=>Qo,nextTick:()=>et,onActivated:()=>on,onBeforeMount:()=>pn,onBeforeUnmount:()=>vn,onBeforeUpdate:()=>hn,onDeactivated:()=>rn,onErrorCaptured:()=>xn,onMounted:()=>fn,onRenderTracked:()=>wn,onRenderTriggered:()=>bn,onServerPrefetch:()=>yn,onUnmounted:()=>gn,onUpdated:()=>mn,openBlock:()=>To,popScopeId:()=>yt,provide:()=>Vt,proxyRefs:()=>Te,pushScopeId:()=>gt,queuePostFlushCb:()=>rt,reactive:()=>le,readonly:()=>ue,ref:()=>we,registerRuntimeCompiler:()=>hr,render:()=>Gi,renderList:()=>Yo,renderSlot:()=>Go,resolveComponent:()=>mo,resolveDirective:()=>yo,resolveDynamicComponent:()=>go,resolveFilter:()=>Vr,resolveTransitionHooks:()=>Ut,setBlockTracking:()=>Ao,setDevtoolsHook:()=>ut,setTransitionHooks:()=>Qt,shallowReactive:()=>ce,shallowReadonly:()=>de,shallowRef:()=>xe,ssrContextKey:()=>Tr,ssrUtils:()=>Ar,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>Xo,toRaw:()=>ve,toRef:()=>Ve,toRefs:()=>Me,transformVNodeArgs:()=>Fo,triggerRef:()=>Se,unref:()=>Ce,useContext:()=>Cr,useCssModule:()=>Xr,useCssVars:()=>ei,useSSRContext:()=>Er,useTransitionState:()=>$t,vModelCheckbox:()=>Mi,vModelDynamic:()=>Li,vModelRadio:()=>Vi,vModelSelect:()=>Ni,vModelText:()=>Bi,vShow:()=>Hi,version:()=>Mr,warn:()=>Fe,watch:()=>Pt,watchEffect:()=>qt,withCtx:()=>wt,withDirectives:()=>Un,withKeys:()=>zi,withModifiers:()=>$i,withScopeId:()=>bt});var o={};n.r(o),n.d(o,{BaseTransition:()=>zt,Comment:()=>ko,Fragment:()=>xo,KeepAlive:()=>tn,Static:()=>So,Suspense:()=>Tt,Teleport:()=>fo,Text:()=>_o,Transition:()=>ri,TransitionGroup:()=>_i,callWithAsyncErrorHandling:()=>Ie,callWithErrorHandling:()=>De,camelize:()=>r.camelize,capitalize:()=>r.capitalize,cloneVNode:()=>$o,compatUtils:()=>Nr,computed:()=>_r,createApp:()=>Xi,createBlock:()=>Vo,createCommentVNode:()=>Ho,createHydrationRenderer:()=>ro,createRenderer:()=>oo,createSSRApp:()=>es,createSlots:()=>Jo,createStaticVNode:()=>zo,createTextVNode:()=>Ro,createVNode:()=>Io,customRef:()=>Be,defineAsyncComponent:()=>Zt,defineComponent:()=>Jt,defineEmit:()=>Sr,defineProps:()=>kr,devtools:()=>ct,getCurrentInstance:()=>ar,getTransitionRawChildren:()=>Yt,h:()=>Or,handleError:()=>je,hydrate:()=>Zi,initCustomFormatter:()=>Br,inject:()=>Nt,isProxy:()=>me,isReactive:()=>fe,isReadonly:()=>he,isRef:()=>be,isRuntimeOnly:()=>fr,isVNode:()=>No,markRaw:()=>ge,mergeProps:()=>Qo,nextTick:()=>et,onActivated:()=>on,onBeforeMount:()=>pn,onBeforeUnmount:()=>vn,onBeforeUpdate:()=>hn,onDeactivated:()=>rn,onErrorCaptured:()=>xn,onMounted:()=>fn,onRenderTracked:()=>wn,onRenderTriggered:()=>bn,onServerPrefetch:()=>yn,onUnmounted:()=>gn,onUpdated:()=>mn,openBlock:()=>To,popScopeId:()=>yt,provide:()=>Vt,proxyRefs:()=>Te,pushScopeId:()=>gt,queuePostFlushCb:()=>rt,reactive:()=>le,readonly:()=>ue,ref:()=>we,registerRuntimeCompiler:()=>hr,render:()=>Gi,renderList:()=>Yo,renderSlot:()=>Go,resolveComponent:()=>mo,resolveDirective:()=>yo,resolveDynamicComponent:()=>go,resolveFilter:()=>Vr,resolveTransitionHooks:()=>Ut,setBlockTracking:()=>Ao,setDevtoolsHook:()=>ut,setTransitionHooks:()=>Qt,shallowReactive:()=>ce,shallowReadonly:()=>de,shallowRef:()=>xe,ssrContextKey:()=>Tr,ssrUtils:()=>Ar,toDisplayString:()=>r.toDisplayString,toHandlerKey:()=>r.toHandlerKey,toHandlers:()=>Xo,toRaw:()=>ve,toRef:()=>Ve,toRefs:()=>Me,transformVNodeArgs:()=>Fo,triggerRef:()=>Se,unref:()=>Ce,useContext:()=>Cr,useCssModule:()=>Xr,useCssVars:()=>ei,useSSRContext:()=>Er,useTransitionState:()=>$t,vModelCheckbox:()=>Mi,vModelDynamic:()=>Li,vModelRadio:()=>Vi,vModelSelect:()=>Ni,vModelText:()=>Bi,vShow:()=>Hi,version:()=>Mr,warn:()=>Fe,watch:()=>Pt,watchEffect:()=>qt,withCtx:()=>wt,withDirectives:()=>Un,withKeys:()=>zi,withModifiers:()=>$i,withScopeId:()=>bt});var r=n(3577);const i=new WeakMap,s=[];let a;const l=Symbol(""),c=Symbol("");function u(e,t=r.EMPTY_OBJ){(function(e){return e&&!0===e._isEffect})(e)&&(e=e.raw);const n=function(e,t){const n=function(){if(!n.active)return e();if(!s.includes(n)){f(n);try{return m.push(h),h=!0,s.push(n),a=n,e()}finally{s.pop(),g(),a=s[s.length-1]}}};return n.id=p++,n.allowRecurse=!!t.allowRecurse,n._isEffect=!0,n.active=!0,n.raw=e,n.deps=[],n.options=t,n}(e,t);return t.lazy||n(),n}function d(e){e.active&&(f(e),e.options.onStop&&e.options.onStop(),e.active=!1)}let p=0;function f(e){const{deps:t}=e;if(t.length){for(let n=0;n<t.length;n++)t[n].delete(e);t.length=0}}let h=!0;const m=[];function v(){m.push(h),h=!1}function g(){const e=m.pop();h=void 0===e||e}function y(e,t,n){if(!h||void 0===a)return;let o=i.get(e);o||i.set(e,o=new Map);let r=o.get(n);r||o.set(n,r=new Set),r.has(a)||(r.add(a),a.deps.push(r))}function b(e,t,n,o,s,u){const d=i.get(e);if(!d)return;const p=new Set,f=e=>{e&&e.forEach((e=>{(e!==a||e.allowRecurse)&&p.add(e)}))};if("clear"===t)d.forEach(f);else if("length"===n&&(0,r.isArray)(e))d.forEach(((e,t)=>{("length"===t||t>=o)&&f(e)}));else switch(void 0!==n&&f(d.get(n)),t){case"add":(0,r.isArray)(e)?(0,r.isIntegerKey)(n)&&f(d.get("length")):(f(d.get(l)),(0,r.isMap)(e)&&f(d.get(c)));break;case"delete":(0,r.isArray)(e)||(f(d.get(l)),(0,r.isMap)(e)&&f(d.get(c)));break;case"set":(0,r.isMap)(e)&&f(d.get(l))}p.forEach((e=>{e.options.scheduler?e.options.scheduler(e):e()}))}const w=(0,r.makeMap)("__proto__,__v_isRef,__isVue"),x=new Set(Object.getOwnPropertyNames(Symbol).map((e=>Symbol[e])).filter(r.isSymbol)),_=T(),k=T(!1,!0),S=T(!0),C=T(!0,!0),O={};function T(e=!1,t=!1){return function(n,o,i){if("__v_isReactive"===o)return!e;if("__v_isReadonly"===o)return e;if("__v_raw"===o&&i===(e?t?ae:se:t?ie:re).get(n))return n;const s=(0,r.isArray)(n);if(!e&&s&&(0,r.hasOwn)(O,o))return Reflect.get(O,o,i);const a=Reflect.get(n,o,i);if((0,r.isSymbol)(o)?x.has(o):w(o))return a;if(e||y(n,0,o),t)return a;if(be(a)){return!s||!(0,r.isIntegerKey)(o)?a.value:a}return(0,r.isObject)(a)?e?ue(a):le(a):a}}["includes","indexOf","lastIndexOf"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){const n=ve(this);for(let e=0,t=this.length;e<t;e++)y(n,0,e+"");const o=t.apply(n,e);return-1===o||!1===o?t.apply(n,e.map(ve)):o}})),["push","pop","shift","unshift","splice"].forEach((e=>{const t=Array.prototype[e];O[e]=function(...e){v();const n=t.apply(this,e);return g(),n}}));const E=M(),B=M(!0);function M(e=!1){return function(t,n,o,i){let s=t[n];if(!e&&(o=ve(o),s=ve(s),!(0,r.isArray)(t)&&be(s)&&!be(o)))return s.value=o,!0;const a=(0,r.isArray)(t)&&(0,r.isIntegerKey)(n)?Number(n)<t.length:(0,r.hasOwn)(t,n),l=Reflect.set(t,n,o,i);return t===ve(i)&&(a?(0,r.hasChanged)(o,s)&&b(t,"set",n,o):b(t,"add",n,o)),l}}const A={get:_,set:E,deleteProperty:function(e,t){const n=(0,r.hasOwn)(e,t),o=(e[t],Reflect.deleteProperty(e,t));return o&&n&&b(e,"delete",t,void 0),o},has:function(e,t){const n=Reflect.has(e,t);return(0,r.isSymbol)(t)&&x.has(t)||y(e,0,t),n},ownKeys:function(e){return y(e,0,(0,r.isArray)(e)?"length":l),Reflect.ownKeys(e)}},V={get:S,set:(e,t)=>!0,deleteProperty:(e,t)=>!0},N=(0,r.extend)({},A,{get:k,set:B}),q=(0,r.extend)({},V,{get:C}),F=e=>(0,r.isObject)(e)?le(e):e,P=e=>(0,r.isObject)(e)?ue(e):e,L=e=>e,D=e=>Reflect.getPrototypeOf(e);function I(e,t,n=!1,o=!1){const r=ve(e=e.__v_raw),i=ve(t);t!==i&&!n&&y(r,0,t),!n&&y(r,0,i);const{has:s}=D(r),a=o?L:n?P:F;return s.call(r,t)?a(e.get(t)):s.call(r,i)?a(e.get(i)):void(e!==r&&e.get(t))}function j(e,t=!1){const n=this.__v_raw,o=ve(n),r=ve(e);return e!==r&&!t&&y(o,0,e),!t&&y(o,0,r),e===r?n.has(e):n.has(e)||n.has(r)}function $(e,t=!1){return e=e.__v_raw,!t&&y(ve(e),0,l),Reflect.get(e,"size",e)}function R(e){e=ve(e);const t=ve(this);return D(t).has.call(t,e)||(t.add(e),b(t,"add",e,e)),this}function z(e,t){t=ve(t);const n=ve(this),{has:o,get:i}=D(n);let s=o.call(n,e);s||(e=ve(e),s=o.call(n,e));const a=i.call(n,e);return n.set(e,t),s?(0,r.hasChanged)(t,a)&&b(n,"set",e,t):b(n,"add",e,t),this}function H(e){const t=ve(this),{has:n,get:o}=D(t);let r=n.call(t,e);r||(e=ve(e),r=n.call(t,e));o&&o.call(t,e);const i=t.delete(e);return r&&b(t,"delete",e,void 0),i}function U(){const e=ve(this),t=0!==e.size,n=e.clear();return t&&b(e,"clear",void 0,void 0),n}function K(e,t){return function(n,o){const r=this,i=r.__v_raw,s=ve(i),a=t?L:e?P:F;return!e&&y(s,0,l),i.forEach(((e,t)=>n.call(o,a(e),a(t),r)))}}function W(e,t,n){return function(...o){const i=this.__v_raw,s=ve(i),a=(0,r.isMap)(s),u="entries"===e||e===Symbol.iterator&&a,d="keys"===e&&a,p=i[e](...o),f=n?L:t?P:F;return!t&&y(s,0,d?c:l),{next(){const{value:e,done:t}=p.next();return t?{value:e,done:t}:{value:u?[f(e[0]),f(e[1])]:f(e),done:t}},[Symbol.iterator](){return this}}}}function Q(e){return function(...t){return"delete"!==e&&this}}const Y={get(e){return I(this,e)},get size(){return $(this)},has:j,add:R,set:z,delete:H,clear:U,forEach:K(!1,!1)},J={get(e){return I(this,e,!1,!0)},get size(){return $(this)},has:j,add:R,set:z,delete:H,clear:U,forEach:K(!1,!0)},G={get(e){return I(this,e,!0)},get size(){return $(this,!0)},has(e){return j.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:K(!0,!1)},Z={get(e){return I(this,e,!0,!0)},get size(){return $(this,!0)},has(e){return j.call(this,e,!0)},add:Q("add"),set:Q("set"),delete:Q("delete"),clear:Q("clear"),forEach:K(!0,!0)};function X(e,t){const n=t?e?Z:J:e?G:Y;return(t,o,i)=>"__v_isReactive"===o?!e:"__v_isReadonly"===o?e:"__v_raw"===o?t:Reflect.get((0,r.hasOwn)(n,o)&&o in t?n:t,o,i)}["keys","values","entries",Symbol.iterator].forEach((e=>{Y[e]=W(e,!1,!1),G[e]=W(e,!0,!1),J[e]=W(e,!1,!0),Z[e]=W(e,!0,!0)}));const ee={get:X(!1,!1)},te={get:X(!1,!0)},ne={get:X(!0,!1)},oe={get:X(!0,!0)};const re=new WeakMap,ie=new WeakMap,se=new WeakMap,ae=new WeakMap;function le(e){return e&&e.__v_isReadonly?e:pe(e,!1,A,ee,re)}function ce(e){return pe(e,!1,N,te,ie)}function ue(e){return pe(e,!0,V,ne,se)}function de(e){return pe(e,!0,q,oe,ae)}function pe(e,t,n,o,i){if(!(0,r.isObject)(e))return e;if(e.__v_raw&&(!t||!e.__v_isReactive))return e;const s=i.get(e);if(s)return s;const a=(l=e).__v_skip||!Object.isExtensible(l)?0:function(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}((0,r.toRawType)(l));var l;if(0===a)return e;const c=new Proxy(e,2===a?o:n);return i.set(e,c),c}function fe(e){return he(e)?fe(e.__v_raw):!(!e||!e.__v_isReactive)}function he(e){return!(!e||!e.__v_isReadonly)}function me(e){return fe(e)||he(e)}function ve(e){return e&&ve(e.__v_raw)||e}function ge(e){return(0,r.def)(e,"__v_skip",!0),e}const ye=e=>(0,r.isObject)(e)?le(e):e;function be(e){return Boolean(e&&!0===e.__v_isRef)}function we(e){return ke(e)}function xe(e){return ke(e,!0)}class _e{constructor(e,t=!1){this._rawValue=e,this._shallow=t,this.__v_isRef=!0,this._value=t?e:ye(e)}get value(){return y(ve(this),0,"value"),this._value}set value(e){(0,r.hasChanged)(ve(e),this._rawValue)&&(this._rawValue=e,this._value=this._shallow?e:ye(e),b(ve(this),"set","value",e))}}function ke(e,t=!1){return be(e)?e:new _e(e,t)}function Se(e){b(ve(e),"set","value",void 0)}function Ce(e){return be(e)?e.value:e}const Oe={get:(e,t,n)=>Ce(Reflect.get(e,t,n)),set:(e,t,n,o)=>{const r=e[t];return be(r)&&!be(n)?(r.value=n,!0):Reflect.set(e,t,n,o)}};function Te(e){return fe(e)?e:new Proxy(e,Oe)}class Ee{constructor(e){this.__v_isRef=!0;const{get:t,set:n}=e((()=>y(this,0,"value")),(()=>b(this,"set","value")));this._get=t,this._set=n}get value(){return this._get()}set value(e){this._set(e)}}function Be(e){return new Ee(e)}function Me(e){const t=(0,r.isArray)(e)?new Array(e.length):{};for(const n in e)t[n]=Ve(e,n);return t}class Ae{constructor(e,t){this._object=e,this._key=t,this.__v_isRef=!0}get value(){return this._object[this._key]}set value(e){this._object[this._key]=e}}function Ve(e,t){return be(e[t])?e[t]:new Ae(e,t)}class Ne{constructor(e,t,n){this._setter=t,this._dirty=!0,this.__v_isRef=!0,this.effect=u(e,{lazy:!0,scheduler:()=>{this._dirty||(this._dirty=!0,b(ve(this),"set","value"))}}),this.__v_isReadonly=n}get value(){const e=ve(this);return e._dirty&&(e._value=this.effect(),e._dirty=!1),y(e,0,"value"),e._value}set value(e){this._setter(e)}}const qe=[];function Fe(e,...t){v();const n=qe.length?qe[qe.length-1].component:null,o=n&&n.appContext.config.warnHandler,r=function(){let e=qe[qe.length-1];if(!e)return[];const t=[];for(;e;){const n=t[0];n&&n.vnode===e?n.recurseCount++:t.push({vnode:e,recurseCount:0});const o=e.component&&e.component.parent;e=o&&o.vnode}return t}();if(o)De(o,n,11,[e+t.join(""),n&&n.proxy,r.map((({vnode:e})=>`at <${wr(n,e.type)}>`)).join("\n"),r]);else{const n=[`[Vue warn]: ${e}`,...t];r.length&&n.push("\n",...function(e){const t=[];return e.forEach(((e,n)=>{t.push(...0===n?[]:["\n"],...function({vnode:e,recurseCount:t}){const n=t>0?`... (${t} recursive calls)`:"",o=!!e.component&&null==e.component.parent,r=` at <${wr(e.component,e.type,o)}`,i=">"+n;return e.props?[r,...Pe(e.props),i]:[r+i]}(e))})),t}(r)),console.warn(...n)}g()}function Pe(e){const t=[],n=Object.keys(e);return n.slice(0,3).forEach((n=>{t.push(...Le(n,e[n]))})),n.length>3&&t.push(" ..."),t}function Le(e,t,n){return(0,r.isString)(t)?(t=JSON.stringify(t),n?t:[`${e}=${t}`]):"number"==typeof t||"boolean"==typeof t||null==t?n?t:[`${e}=${t}`]:be(t)?(t=Le(e,ve(t.value),!0),n?t:[`${e}=Ref<`,t,">"]):(0,r.isFunction)(t)?[`${e}=fn${t.name?`<${t.name}>`:""}`]:(t=ve(t),n?t:[`${e}=`,t])}function De(e,t,n,o){let r;try{r=o?e(...o):e()}catch(e){je(e,t,n)}return r}function Ie(e,t,n,o){if((0,r.isFunction)(e)){const i=De(e,t,n,o);return i&&(0,r.isPromise)(i)&&i.catch((e=>{je(e,t,n)})),i}const i=[];for(let r=0;r<e.length;r++)i.push(Ie(e[r],t,n,o));return i}function je(e,t,n,o=!0){t&&t.vnode;if(t){let o=t.parent;const r=t.proxy,i=n;for(;o;){const t=o.ec;if(t)for(let n=0;n<t.length;n++)if(!1===t[n](e,r,i))return;o=o.parent}const s=t.appContext.config.errorHandler;if(s)return void De(s,null,10,[e,r,i])}!function(e,t,n,o=!0){console.error(e)}(e,0,0,o)}let $e=!1,Re=!1;const ze=[];let He=0;const Ue=[];let Ke=null,We=0;const Qe=[];let Ye=null,Je=0;const Ge=Promise.resolve();let Ze=null,Xe=null;function et(e){const t=Ze||Ge;return e?t.then(this?e.bind(this):e):t}function tt(e){if(!(ze.length&&ze.includes(e,$e&&e.allowRecurse?He+1:He)||e===Xe)){const t=function(e){let t=He+1,n=ze.length;const o=at(e);for(;t<n;){const e=t+n>>>1;at(ze[e])<o?t=e+1:n=e}return t}(e);t>-1?ze.splice(t,0,e):ze.push(e),nt()}}function nt(){$e||Re||(Re=!0,Ze=Ge.then(lt))}function ot(e,t,n,o){(0,r.isArray)(e)?n.push(...e):t&&t.includes(e,e.allowRecurse?o+1:o)||n.push(e),nt()}function rt(e){ot(e,Ye,Qe,Je)}function it(e,t=null){if(Ue.length){for(Xe=t,Ke=[...new Set(Ue)],Ue.length=0,We=0;We<Ke.length;We++)Ke[We]();Ke=null,We=0,Xe=null,it(e,t)}}function st(e){if(Qe.length){const e=[...new Set(Qe)];if(Qe.length=0,Ye)return void Ye.push(...e);for(Ye=e,Ye.sort(((e,t)=>at(e)-at(t))),Je=0;Je<Ye.length;Je++)Ye[Je]();Ye=null,Je=0}}const at=e=>null==e.id?1/0:e.id;function lt(e){Re=!1,$e=!0,it(e),ze.sort(((e,t)=>at(e)-at(t)));try{for(He=0;He<ze.length;He++){const e=ze[He];e&&!1!==e.active&&De(e,null,14)}}finally{He=0,ze.length=0,st(),$e=!1,Ze=null,(ze.length||Ue.length||Qe.length)&&lt(e)}}new Set;new Map;let ct;function ut(e){ct=e}Object.create(null),Object.create(null);function dt(e,t,...n){const o=e.vnode.props||r.EMPTY_OBJ;let i=n;const s=t.startsWith("update:"),a=s&&t.slice(7);if(a&&a in o){const e=`${"modelValue"===a?"model":a}Modifiers`,{number:t,trim:s}=o[e]||r.EMPTY_OBJ;s?i=n.map((e=>e.trim())):t&&(i=n.map(r.toNumber))}let l;let c=o[l=(0,r.toHandlerKey)(t)]||o[l=(0,r.toHandlerKey)((0,r.camelize)(t))];!c&&s&&(c=o[l=(0,r.toHandlerKey)((0,r.hyphenate)(t))]),c&&Ie(c,e,6,i);const u=o[l+"Once"];if(u){if(e.emitted){if(e.emitted[l])return}else(e.emitted={})[l]=!0;Ie(u,e,6,i)}}function pt(e,t,n=!1){const o=t.emitsCache,i=o.get(e);if(void 0!==i)return i;const s=e.emits;let a={},l=!1;if(!(0,r.isFunction)(e)){const o=e=>{const n=pt(e,t,!0);n&&(l=!0,(0,r.extend)(a,n))};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}return s||l?((0,r.isArray)(s)?s.forEach((e=>a[e]=null)):(0,r.extend)(a,s),o.set(e,a),a):(o.set(e,null),null)}function ft(e,t){return!(!e||!(0,r.isOn)(t))&&(t=t.slice(2).replace(/Once$/,""),(0,r.hasOwn)(e,t[0].toLowerCase()+t.slice(1))||(0,r.hasOwn)(e,(0,r.hyphenate)(t))||(0,r.hasOwn)(e,t))}let ht=null,mt=null;function vt(e){const t=ht;return ht=e,mt=e&&e.type.__scopeId||null,t}function gt(e){mt=e}function yt(){mt=null}const bt=e=>wt;function wt(e,t=ht,n){if(!t)return e;if(e._n)return e;const o=(...n)=>{o._d&&Ao(-1);const r=vt(t),i=e(...n);return vt(r),o._d&&Ao(1),i};return o._n=!0,o._c=!0,o._d=!0,o}function xt(e){const{type:t,vnode:n,proxy:o,withProxy:i,props:s,propsOptions:[a],slots:l,attrs:c,emit:u,render:d,renderCache:p,data:f,setupState:h,ctx:m,inheritAttrs:v}=e;let g;const y=vt(e);try{let e;if(4&n.shapeFlag){const t=i||o;g=Uo(d.call(t,t,p,s,h,f,m)),e=c}else{const n=t;0,g=Uo(n.length>1?n(s,{attrs:c,slots:l,emit:u}):n(s,null)),e=t.props?c:kt(c)}let y=g;if(e&&!1!==v){const t=Object.keys(e),{shapeFlag:n}=y;t.length&&(1&n||6&n)&&(a&&t.some(r.isModelListener)&&(e=St(e,a)),y=$o(y,e))}0,n.dirs&&(y.dirs=y.dirs?y.dirs.concat(n.dirs):n.dirs),n.transition&&(y.transition=n.transition),g=y}catch(t){Co.length=0,je(t,e,1),g=Io(ko)}return vt(y),g}function _t(e){let t;for(let n=0;n<e.length;n++){const o=e[n];if(!No(o))return;if(o.type!==ko||"v-if"===o.children){if(t)return;t=o}}return t}const kt=e=>{let t;for(const n in e)("class"===n||"style"===n||(0,r.isOn)(n))&&((t||(t={}))[n]=e[n]);return t},St=(e,t)=>{const n={};for(const o in e)(0,r.isModelListener)(o)&&o.slice(9)in t||(n[o]=e[o]);return n};function Ct(e,t,n){const o=Object.keys(t);if(o.length!==Object.keys(e).length)return!0;for(let r=0;r<o.length;r++){const i=o[r];if(t[i]!==e[i]&&!ft(n,i))return!0}return!1}function Ot({vnode:e,parent:t},n){for(;t&&t.subTree===e;)(e=t.vnode).el=n,t=t.parent}const Tt={name:"Suspense",__isSuspense:!0,process(e,t,n,o,i,s,a,l,c,u){null==e?function(e,t,n,o,r,i,s,a,l){const{p:c,o:{createElement:u}}=l,d=u("div"),p=e.suspense=Et(e,r,o,t,d,n,i,s,a,l);c(null,p.pendingBranch=e.ssContent,d,null,o,p,i,s),p.deps>0?(c(null,e.ssFallback,t,n,o,null,i,s),At(p,e.ssFallback)):p.resolve()}(t,n,o,i,s,a,l,c,u):function(e,t,n,o,i,s,a,l,{p:c,um:u,o:{createElement:d}}){const p=t.suspense=e.suspense;p.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:m,pendingBranch:v,isInFallback:g,isHydrating:y}=p;if(v)p.pendingBranch=f,qo(f,v)?(c(v,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():g&&(c(m,h,n,o,i,null,s,a,l),At(p,h))):(p.pendingId++,y?(p.isHydrating=!1,p.activeBranch=v):u(v,i,p),p.deps=0,p.effects.length=0,p.hiddenContainer=d("div"),g?(c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0?p.resolve():(c(m,h,n,o,i,null,s,a,l),At(p,h))):m&&qo(f,m)?(c(m,f,n,o,i,p,s,a,l),p.resolve(!0)):(c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0&&p.resolve()));else if(m&&qo(f,m))c(m,f,n,o,i,p,s,a,l),At(p,f);else{const e=t.props&&t.props.onPending;if((0,r.isFunction)(e)&&e(),p.pendingBranch=f,p.pendingId++,c(null,f,p.hiddenContainer,null,i,p,s,a,l),p.deps<=0)p.resolve();else{const{timeout:e,pendingId:t}=p;e>0?setTimeout((()=>{p.pendingId===t&&p.fallback(h)}),e):0===e&&p.fallback(h)}}}(e,t,n,o,i,a,l,c,u)},hydrate:function(e,t,n,o,r,i,s,a,l){const c=t.suspense=Et(t,o,n,e.parentNode,document.createElement("div"),null,r,i,s,a,!0),u=l(e,c.pendingBranch=t.ssContent,n,c,i,s);0===c.deps&&c.resolve();return u},create:Et,normalize:function(e){const{shapeFlag:t,children:n}=e,o=32&t;e.ssContent=Bt(o?n.default:n),e.ssFallback=o?Bt(n.fallback):Io(Comment)}};function Et(e,t,n,o,i,s,a,l,c,u,d=!1){const{p,m:f,um:h,n:m,o:{parentNode:v,remove:g}}=u,y=(0,r.toNumber)(e.props&&e.props.timeout),b={vnode:e,parent:t,parentComponent:n,isSVG:a,container:o,hiddenContainer:i,anchor:s,deps:0,pendingId:0,timeout:"number"==typeof y?y:-1,activeBranch:null,pendingBranch:null,isInFallback:!0,isHydrating:d,isUnmounted:!1,effects:[],resolve(e=!1){const{vnode:t,activeBranch:n,pendingBranch:o,pendingId:i,effects:s,parentComponent:a,container:l}=b;if(b.isHydrating)b.isHydrating=!1;else if(!e){const e=n&&o.transition&&"out-in"===o.transition.mode;e&&(n.transition.afterLeave=()=>{i===b.pendingId&&f(o,l,t,0)});let{anchor:t}=b;n&&(t=m(n),h(n,a,b,!0)),e||f(o,l,t,0)}At(b,o),b.pendingBranch=null,b.isInFallback=!1;let c=b.parent,u=!1;for(;c;){if(c.pendingBranch){c.effects.push(...s),u=!0;break}c=c.parent}u||rt(s),b.effects=[];const d=t.props&&t.props.onResolve;(0,r.isFunction)(d)&&d()},fallback(e){if(!b.pendingBranch)return;const{vnode:t,activeBranch:n,parentComponent:o,container:i,isSVG:s}=b,a=t.props&&t.props.onFallback;(0,r.isFunction)(a)&&a();const u=m(n),d=()=>{b.isInFallback&&(p(null,e,i,u,o,null,s,l,c),At(b,e))},f=e.transition&&"out-in"===e.transition.mode;f&&(n.transition.afterLeave=d),h(n,o,null,!0),b.isInFallback=!0,f||d()},move(e,t,n){b.activeBranch&&f(b.activeBranch,e,t,n),b.container=e},next:()=>b.activeBranch&&m(b.activeBranch),registerDep(e,t){const n=!!b.pendingBranch;n&&b.deps++;const o=e.vnode.el;e.asyncDep.catch((t=>{je(t,e,0)})).then((r=>{if(e.isUnmounted||b.isUnmounted||b.pendingId!==e.suspenseId)return;e.asyncResolved=!0;const{vnode:i}=e;pr(e,r,!1),o&&(i.el=o);const s=!o&&e.subTree.el;t(e,i,v(o||e.subTree.el),o?null:m(e.subTree),b,a,c),s&&g(s),Ot(e,i.el),n&&0==--b.deps&&b.resolve()}))},unmount(e,t){b.isUnmounted=!0,b.activeBranch&&h(b.activeBranch,n,e,t),b.pendingBranch&&h(b.pendingBranch,n,e,t)}};return b}function Bt(e){let t;if((0,r.isFunction)(e)){const n=e._c;n&&(e._d=!1,To()),e=e(),n&&(e._d=!0,t=Oo,Eo())}if((0,r.isArray)(e)){const t=_t(e);0,e=t}return e=Uo(e),t&&(e.dynamicChildren=t.filter((t=>t!==e))),e}function Mt(e,t){t&&t.pendingBranch?(0,r.isArray)(e)?t.effects.push(...e):t.effects.push(e):rt(e)}function At(e,t){e.activeBranch=t;const{vnode:n,parentComponent:o}=e,r=n.el=t.el;o&&o.subTree===n&&(o.vnode.el=r,Ot(o,r))}function Vt(e,t){if(sr){let n=sr.provides;const o=sr.parent&&sr.parent.provides;o===n&&(n=sr.provides=Object.create(o)),n[e]=t}else 0}function Nt(e,t,n=!1){const o=sr||ht;if(o){const i=null==o.parent?o.vnode.appContext&&o.vnode.appContext.provides:o.parent.provides;if(i&&e in i)return i[e];if(arguments.length>1)return n&&(0,r.isFunction)(t)?t():t}else 0}function qt(e,t){return Lt(e,null,t)}const Ft={};function Pt(e,t,n){return Lt(e,t,n)}function Lt(e,t,{immediate:n,deep:o,flush:i,onTrack:s,onTrigger:a}=r.EMPTY_OBJ,l=sr){let c,p,f=!1,h=!1;if(be(e)?(c=()=>e.value,f=!!e._shallow):fe(e)?(c=()=>e,o=!0):(0,r.isArray)(e)?(h=!0,f=e.some(fe),c=()=>e.map((e=>be(e)?e.value:fe(e)?jt(e):(0,r.isFunction)(e)?De(e,l,2):void 0))):c=(0,r.isFunction)(e)?t?()=>De(e,l,2):()=>{if(!l||!l.isUnmounted)return p&&p(),Ie(e,l,3,[m])}:r.NOOP,t&&o){const e=c;c=()=>jt(e())}let m=e=>{p=b.options.onStop=()=>{De(e,l,4)}},v=h?[]:Ft;const g=()=>{if(b.active)if(t){const e=b();(o||f||(h?e.some(((e,t)=>(0,r.hasChanged)(e,v[t]))):(0,r.hasChanged)(e,v)))&&(p&&p(),Ie(t,l,3,[e,v===Ft?void 0:v,m]),v=e)}else b()};let y;g.allowRecurse=!!t,y="sync"===i?g:"post"===i?()=>to(g,l&&l.suspense):()=>{!l||l.isMounted?function(e){ot(e,Ke,Ue,We)}(g):g()};const b=u(c,{lazy:!0,onTrack:s,onTrigger:a,scheduler:y});return gr(b,l),t?n?g():v=b():"post"===i?to(b,l&&l.suspense):b(),()=>{d(b),l&&(0,r.remove)(l.effects,b)}}function Dt(e,t,n){const o=this.proxy,i=(0,r.isString)(e)?e.includes(".")?It(o,e):()=>o[e]:e.bind(o,o);let s;return(0,r.isFunction)(t)?s=t:(s=t.handler,n=t),Lt(i,s.bind(o),n,this)}function It(e,t){const n=t.split(".");return()=>{let t=e;for(let e=0;e<n.length&&t;e++)t=t[n[e]];return t}}function jt(e,t=new Set){if(!(0,r.isObject)(e)||t.has(e)||e.__v_skip)return e;if(t.add(e),be(e))jt(e.value,t);else if((0,r.isArray)(e))for(let n=0;n<e.length;n++)jt(e[n],t);else if((0,r.isSet)(e)||(0,r.isMap)(e))e.forEach((e=>{jt(e,t)}));else if((0,r.isPlainObject)(e))for(const n in e)jt(e[n],t);return e}function $t(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return fn((()=>{e.isMounted=!0})),vn((()=>{e.isUnmounting=!0})),e}const Rt=[Function,Array],zt={name:"BaseTransition",props:{mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:Rt,onEnter:Rt,onAfterEnter:Rt,onEnterCancelled:Rt,onBeforeLeave:Rt,onLeave:Rt,onAfterLeave:Rt,onLeaveCancelled:Rt,onBeforeAppear:Rt,onAppear:Rt,onAfterAppear:Rt,onAppearCancelled:Rt},setup(e,{slots:t}){const n=ar(),o=$t();let r;return()=>{const i=t.default&&Yt(t.default(),!0);if(!i||!i.length)return;const s=ve(e),{mode:a}=s;const l=i[0];if(o.isLeaving)return Kt(l);const c=Wt(l);if(!c)return Kt(l);const u=Ut(c,s,o,n);Qt(c,u);const d=n.subTree,p=d&&Wt(d);let f=!1;const{getTransitionKey:h}=c.type;if(h){const e=h();void 0===r?r=e:e!==r&&(r=e,f=!0)}if(p&&p.type!==ko&&(!qo(c,p)||f)){const e=Ut(p,s,o,n);if(Qt(p,e),"out-in"===a)return o.isLeaving=!0,e.afterLeave=()=>{o.isLeaving=!1,n.update()},Kt(l);"in-out"===a&&c.type!==ko&&(e.delayLeave=(e,t,n)=>{Ht(o,p)[String(p.key)]=p,e._leaveCb=()=>{t(),e._leaveCb=void 0,delete u.delayedLeave},u.delayedLeave=n})}return l}}};function Ht(e,t){const{leavingVNodes:n}=e;let o=n.get(t.type);return o||(o=Object.create(null),n.set(t.type,o)),o}function Ut(e,t,n,o){const{appear:r,mode:i,persisted:s=!1,onBeforeEnter:a,onEnter:l,onAfterEnter:c,onEnterCancelled:u,onBeforeLeave:d,onLeave:p,onAfterLeave:f,onLeaveCancelled:h,onBeforeAppear:m,onAppear:v,onAfterAppear:g,onAppearCancelled:y}=t,b=String(e.key),w=Ht(n,e),x=(e,t)=>{e&&Ie(e,o,9,t)},_={mode:i,persisted:s,beforeEnter(t){let o=a;if(!n.isMounted){if(!r)return;o=m||a}t._leaveCb&&t._leaveCb(!0);const i=w[b];i&&qo(e,i)&&i.el._leaveCb&&i.el._leaveCb(),x(o,[t])},enter(e){let t=l,o=c,i=u;if(!n.isMounted){if(!r)return;t=v||l,o=g||c,i=y||u}let s=!1;const a=e._enterCb=t=>{s||(s=!0,x(t?i:o,[e]),_.delayedLeave&&_.delayedLeave(),e._enterCb=void 0)};t?(t(e,a),t.length<=1&&a()):a()},leave(t,o){const r=String(e.key);if(t._enterCb&&t._enterCb(!0),n.isUnmounting)return o();x(d,[t]);let i=!1;const s=t._leaveCb=n=>{i||(i=!0,o(),x(n?h:f,[t]),t._leaveCb=void 0,w[r]===e&&delete w[r])};w[r]=e,p?(p(t,s),p.length<=1&&s()):s()},clone:e=>Ut(e,t,n,o)};return _}function Kt(e){if(en(e))return(e=$o(e)).children=null,e}function Wt(e){return en(e)?e.children?e.children[0]:void 0:e}function Qt(e,t){6&e.shapeFlag&&e.component?Qt(e.component.subTree,t):128&e.shapeFlag?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Yt(e,t=!1){let n=[],o=0;for(let r=0;r<e.length;r++){const i=e[r];i.type===xo?(128&i.patchFlag&&o++,n=n.concat(Yt(i.children,t))):(t||i.type!==ko)&&n.push(i)}if(o>1)for(let e=0;e<n.length;e++)n[e].patchFlag=-2;return n}function Jt(e){return(0,r.isFunction)(e)?{setup:e,name:e.name}:e}const Gt=e=>!!e.type.__asyncLoader;function Zt(e){(0,r.isFunction)(e)&&(e={loader:e});const{loader:t,loadingComponent:n,errorComponent:o,delay:i=200,timeout:s,suspensible:a=!0,onError:l}=e;let c,u=null,d=0;const p=()=>{let e;return u||(e=u=t().catch((e=>{if(e=e instanceof Error?e:new Error(String(e)),l)return new Promise(((t,n)=>{l(e,(()=>t((d++,u=null,p()))),(()=>n(e)),d+1)}));throw e})).then((t=>e!==u&&u?u:(t&&(t.__esModule||"Module"===t[Symbol.toStringTag])&&(t=t.default),c=t,t))))};return Jt({name:"AsyncComponentWrapper",__asyncLoader:p,get __asyncResolved(){return c},setup(){const e=sr;if(c)return()=>Xt(c,e);const t=t=>{u=null,je(t,e,13,!o)};if(a&&e.suspense)return p().then((t=>()=>Xt(t,e))).catch((e=>(t(e),()=>o?Io(o,{error:e}):null)));const r=we(!1),l=we(),d=we(!!i);return i&&setTimeout((()=>{d.value=!1}),i),null!=s&&setTimeout((()=>{if(!r.value&&!l.value){const e=new Error(`Async component timed out after ${s}ms.`);t(e),l.value=e}}),s),p().then((()=>{r.value=!0,e.parent&&en(e.parent.vnode)&&tt(e.parent.update)})).catch((e=>{t(e),l.value=e})),()=>r.value&&c?Xt(c,e):l.value&&o?Io(o,{error:l.value}):n&&!d.value?Io(n):void 0}})}function Xt(e,{vnode:{ref:t,props:n,children:o}}){const r=Io(e,n,o);return r.ref=t,r}const en=e=>e.type.__isKeepAlive,tn={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const n=ar(),o=n.ctx;if(!o.renderer)return t.default;const i=new Map,s=new Set;let a=null;const l=n.suspense,{renderer:{p:c,m:u,um:d,o:{createElement:p}}}=o,f=p("div");function h(e){ln(e),d(e,n,l)}function m(e){i.forEach(((t,n)=>{const o=br(t.type);!o||e&&e(o)||v(n)}))}function v(e){const t=i.get(e);a&&t.type===a.type?a&&ln(a):h(t),i.delete(e),s.delete(e)}o.activate=(e,t,n,o,i)=>{const s=e.component;u(e,t,n,0,l),c(s.vnode,e,t,n,s,l,o,e.slotScopeIds,i),to((()=>{s.isDeactivated=!1,s.a&&(0,r.invokeArrayFns)(s.a);const t=e.props&&e.props.onVnodeMounted;t&&so(t,s.parent,e)}),l)},o.deactivate=e=>{const t=e.component;u(e,f,null,1,l),to((()=>{t.da&&(0,r.invokeArrayFns)(t.da);const n=e.props&&e.props.onVnodeUnmounted;n&&so(n,t.parent,e),t.isDeactivated=!0}),l)},Pt((()=>[e.include,e.exclude]),(([e,t])=>{e&&m((t=>nn(e,t))),t&&m((e=>!nn(t,e)))}),{flush:"post",deep:!0});let g=null;const y=()=>{null!=g&&i.set(g,cn(n.subTree))};return fn(y),mn(y),vn((()=>{i.forEach((e=>{const{subTree:t,suspense:o}=n,r=cn(t);if(e.type!==r.type)h(e);else{ln(r);const e=r.component.da;e&&to(e,o)}}))})),()=>{if(g=null,!t.default)return null;const n=t.default(),o=n[0];if(n.length>1)return a=null,n;if(!(No(o)&&(4&o.shapeFlag||128&o.shapeFlag)))return a=null,o;let r=cn(o);const l=r.type,c=br(Gt(r)?r.type.__asyncResolved||{}:l),{include:u,exclude:d,max:p}=e;if(u&&(!c||!nn(u,c))||d&&c&&nn(d,c))return a=r,o;const f=null==r.key?l:r.key,h=i.get(f);return r.el&&(r=$o(r),128&o.shapeFlag&&(o.ssContent=r)),g=f,h?(r.el=h.el,r.component=h.component,r.transition&&Qt(r,r.transition),r.shapeFlag|=512,s.delete(f),s.add(f)):(s.add(f),p&&s.size>parseInt(p,10)&&v(s.values().next().value)),r.shapeFlag|=256,a=r,o}}};function nn(e,t){return(0,r.isArray)(e)?e.some((e=>nn(e,t))):(0,r.isString)(e)?e.split(",").indexOf(t)>-1:!!e.test&&e.test(t)}function on(e,t){sn(e,"a",t)}function rn(e,t){sn(e,"da",t)}function sn(e,t,n=sr){const o=e.__wdc||(e.__wdc=()=>{let t=n;for(;t;){if(t.isDeactivated)return;t=t.parent}e()});if(un(t,o,n),n){let e=n.parent;for(;e&&e.parent;)en(e.parent.vnode)&&an(o,t,n,e),e=e.parent}}function an(e,t,n,o){const i=un(t,e,o,!0);gn((()=>{(0,r.remove)(o[t],i)}),n)}function ln(e){let t=e.shapeFlag;256&t&&(t-=256),512&t&&(t-=512),e.shapeFlag=t}function cn(e){return 128&e.shapeFlag?e.ssContent:e}function un(e,t,n=sr,o=!1){if(n){const r=n[e]||(n[e]=[]),i=t.__weh||(t.__weh=(...o)=>{if(n.isUnmounted)return;v(),lr(n);const r=Ie(t,n,e,o);return lr(null),g(),r});return o?r.unshift(i):r.push(i),i}}const dn=e=>(t,n=sr)=>(!dr||"sp"===e)&&un(e,t,n),pn=dn("bm"),fn=dn("m"),hn=dn("bu"),mn=dn("u"),vn=dn("bum"),gn=dn("um"),yn=dn("sp"),bn=dn("rtg"),wn=dn("rtc");function xn(e,t=sr){un("ec",e,t)}let _n=!0;function kn(e){const t=On(e),n=e.proxy,o=e.ctx;_n=!1,t.beforeCreate&&Sn(t.beforeCreate,e,"bc");const{data:i,computed:s,methods:a,watch:l,provide:c,inject:u,created:d,beforeMount:p,mounted:f,beforeUpdate:h,updated:m,activated:v,deactivated:g,beforeDestroy:y,beforeUnmount:b,destroyed:w,unmounted:x,render:_,renderTracked:k,renderTriggered:S,errorCaptured:C,serverPrefetch:O,expose:T,inheritAttrs:E,components:B,directives:M,filters:A}=t;if(u&&function(e,t,n=r.NOOP){(0,r.isArray)(e)&&(e=Mn(e));for(const n in e){const o=e[n];(0,r.isObject)(o)?t[n]="default"in o?Nt(o.from||n,o.default,!0):Nt(o.from||n):t[n]=Nt(o)}}(u,o,null),a)for(const e in a){const t=a[e];(0,r.isFunction)(t)&&(o[e]=t.bind(n))}if(i){0;const t=i.call(n,n);0,(0,r.isObject)(t)&&(e.data=le(t))}if(_n=!0,s)for(const e in s){const t=s[e];0;const i=_r({get:(0,r.isFunction)(t)?t.bind(n,n):(0,r.isFunction)(t.get)?t.get.bind(n,n):r.NOOP,set:!(0,r.isFunction)(t)&&(0,r.isFunction)(t.set)?t.set.bind(n):r.NOOP});Object.defineProperty(o,e,{enumerable:!0,configurable:!0,get:()=>i.value,set:e=>i.value=e})}if(l)for(const e in l)Cn(l[e],o,n,e);if(c){const e=(0,r.isFunction)(c)?c.call(n):c;Reflect.ownKeys(e).forEach((t=>{Vt(t,e[t])}))}function V(e,t){(0,r.isArray)(t)?t.forEach((t=>e(t.bind(n)))):t&&e(t.bind(n))}if(d&&Sn(d,e,"c"),V(pn,p),V(fn,f),V(hn,h),V(mn,m),V(on,v),V(rn,g),V(xn,C),V(wn,k),V(bn,S),V(vn,b),V(gn,x),V(yn,O),(0,r.isArray)(T))if(T.length){const t=e.exposed||(e.exposed=Te({}));T.forEach((e=>{t[e]=Ve(n,e)}))}else e.exposed||(e.exposed=r.EMPTY_OBJ);_&&e.render===r.NOOP&&(e.render=_),null!=E&&(e.inheritAttrs=E),B&&(e.components=B),M&&(e.directives=M)}function Sn(e,t,n){Ie((0,r.isArray)(e)?e.map((e=>e.bind(t.proxy))):e.bind(t.proxy),t,n)}function Cn(e,t,n,o){const i=o.includes(".")?It(n,o):()=>n[o];if((0,r.isString)(e)){const n=t[e];(0,r.isFunction)(n)&&Pt(i,n)}else if((0,r.isFunction)(e))Pt(i,e.bind(n));else if((0,r.isObject)(e))if((0,r.isArray)(e))e.forEach((e=>Cn(e,t,n,o)));else{const o=(0,r.isFunction)(e.handler)?e.handler.bind(n):t[e.handler];(0,r.isFunction)(o)&&Pt(i,o,e)}else 0}function On(e){const t=e.type,{mixins:n,extends:o}=t,{mixins:r,optionsCache:i,config:{optionMergeStrategies:s}}=e.appContext,a=i.get(t);let l;return a?l=a:r.length||n||o?(l={},r.length&&r.forEach((e=>Tn(l,e,s,!0))),Tn(l,t,s)):l=t,i.set(t,l),l}function Tn(e,t,n,o=!1){const{mixins:r,extends:i}=t;i&&Tn(e,i,n,!0),r&&r.forEach((t=>Tn(e,t,n,!0)));for(const r in t)if(o&&"expose"===r);else{const o=En[r]||n&&n[r];e[r]=o?o(e[r],t[r]):t[r]}return e}const En={data:Bn,props:Vn,emits:Vn,methods:Vn,computed:Vn,beforeCreate:An,created:An,beforeMount:An,mounted:An,beforeUpdate:An,updated:An,beforeDestroy:An,destroyed:An,activated:An,deactivated:An,errorCaptured:An,serverPrefetch:An,components:Vn,directives:Vn,watch:Vn,provide:Bn,inject:function(e,t){return Vn(Mn(e),Mn(t))}};function Bn(e,t){return t?e?function(){return(0,r.extend)((0,r.isFunction)(e)?e.call(this,this):e,(0,r.isFunction)(t)?t.call(this,this):t)}:t:e}function Mn(e){if((0,r.isArray)(e)){const t={};for(let n=0;n<e.length;n++)t[e[n]]=e[n];return t}return e}function An(e,t){return e?[...new Set([].concat(e,t))]:t}function Vn(e,t){return e?(0,r.extend)((0,r.extend)(Object.create(null),e),t):t}function Nn(e,t,n,o){const[i,s]=e.propsOptions;let a,l=!1;if(t)for(let c in t){if((0,r.isReservedProp)(c))continue;const u=t[c];let d;i&&(0,r.hasOwn)(i,d=(0,r.camelize)(c))?s&&s.includes(d)?(a||(a={}))[d]=u:n[d]=u:ft(e.emitsOptions,c)||u!==o[c]&&(o[c]=u,l=!0)}if(s){const t=ve(n),o=a||r.EMPTY_OBJ;for(let a=0;a<s.length;a++){const l=s[a];n[l]=qn(i,t,l,o[l],e,!(0,r.hasOwn)(o,l))}}return l}function qn(e,t,n,o,i,s){const a=e[n];if(null!=a){const e=(0,r.hasOwn)(a,"default");if(e&&void 0===o){const e=a.default;if(a.type!==Function&&(0,r.isFunction)(e)){const{propsDefaults:r}=i;n in r?o=r[n]:(lr(i),o=r[n]=e.call(null,t),lr(null))}else o=e}a[0]&&(s&&!e?o=!1:!a[1]||""!==o&&o!==(0,r.hyphenate)(n)||(o=!0))}return o}function Fn(e,t,n=!1){const o=t.propsCache,i=o.get(e);if(i)return i;const s=e.props,a={},l=[];let c=!1;if(!(0,r.isFunction)(e)){const o=e=>{c=!0;const[n,o]=Fn(e,t,!0);(0,r.extend)(a,n),o&&l.push(...o)};!n&&t.mixins.length&&t.mixins.forEach(o),e.extends&&o(e.extends),e.mixins&&e.mixins.forEach(o)}if(!s&&!c)return o.set(e,r.EMPTY_ARR),r.EMPTY_ARR;if((0,r.isArray)(s))for(let e=0;e<s.length;e++){0;const t=(0,r.camelize)(s[e]);Pn(t)&&(a[t]=r.EMPTY_OBJ)}else if(s){0;for(const e in s){const t=(0,r.camelize)(e);if(Pn(t)){const n=s[e],o=a[t]=(0,r.isArray)(n)||(0,r.isFunction)(n)?{type:n}:n;if(o){const e=In(Boolean,o.type),n=In(String,o.type);o[0]=e>-1,o[1]=n<0||e<n,(e>-1||(0,r.hasOwn)(o,"default"))&&l.push(t)}}}}const u=[a,l];return o.set(e,u),u}function Pn(e){return"$"!==e[0]}function Ln(e){const t=e&&e.toString().match(/^\s*function (\w+)/);return t?t[1]:""}function Dn(e,t){return Ln(e)===Ln(t)}function In(e,t){return(0,r.isArray)(t)?t.findIndex((t=>Dn(t,e))):(0,r.isFunction)(t)&&Dn(t,e)?0:-1}const jn=e=>"_"===e[0]||"$stable"===e,$n=e=>(0,r.isArray)(e)?e.map(Uo):[Uo(e)],Rn=(e,t,n)=>{const o=wt((e=>$n(t(e))),n);return o._c=!1,o},zn=(e,t,n)=>{const o=e._ctx;for(const n in e){if(jn(n))continue;const i=e[n];if((0,r.isFunction)(i))t[n]=Rn(0,i,o);else if(null!=i){0;const e=$n(i);t[n]=()=>e}}},Hn=(e,t)=>{const n=$n(t);e.slots.default=()=>n};function Un(e,t){if(null===ht)return e;const n=ht.proxy,o=e.dirs||(e.dirs=[]);for(let e=0;e<t.length;e++){let[i,s,a,l=r.EMPTY_OBJ]=t[e];(0,r.isFunction)(i)&&(i={mounted:i,updated:i}),o.push({dir:i,instance:n,value:s,oldValue:void 0,arg:a,modifiers:l})}return e}function Kn(e,t,n,o){const r=e.dirs,i=t&&t.dirs;for(let s=0;s<r.length;s++){const a=r[s];i&&(a.oldValue=i[s].value);let l=a.dir[o];l&&(v(),Ie(l,n,8,[e.el,a,e,t]),g())}}function Wn(){return{app:null,config:{isNativeTag:r.NO,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Qn=0;function Yn(e,t){return function(n,o=null){null==o||(0,r.isObject)(o)||(o=null);const i=Wn(),s=new Set;let a=!1;const l=i.app={_uid:Qn++,_component:n,_props:o,_container:null,_context:i,version:Mr,get config(){return i.config},set config(e){0},use:(e,...t)=>(s.has(e)||(e&&(0,r.isFunction)(e.install)?(s.add(e),e.install(l,...t)):(0,r.isFunction)(e)&&(s.add(e),e(l,...t))),l),mixin:e=>(i.mixins.includes(e)||i.mixins.push(e),l),component:(e,t)=>t?(i.components[e]=t,l):i.components[e],directive:(e,t)=>t?(i.directives[e]=t,l):i.directives[e],mount(r,s,c){if(!a){const u=Io(n,o);return u.appContext=i,s&&t?t(u,r):e(u,r,c),a=!0,l._container=r,r.__vue_app__=l,u.component.proxy}},unmount(){a&&(e(null,l._container),delete l._container.__vue_app__)},provide:(e,t)=>(i.provides[e]=t,l)};return l}}let Jn=!1;const Gn=e=>/svg/.test(e.namespaceURI)&&"foreignObject"!==e.tagName,Zn=e=>8===e.nodeType;function Xn(e){const{mt:t,p:n,o:{patchProp:o,nextSibling:i,parentNode:s,remove:a,insert:l,createComment:c}}=e,u=(n,o,r,a,l,c=!1)=>{const v=Zn(n)&&"["===n.data,g=()=>h(n,o,r,a,l,v),{type:y,ref:b,shapeFlag:w}=o,x=n.nodeType;o.el=n;let _=null;switch(y){case _o:3!==x?_=g():(n.data!==o.children&&(Jn=!0,n.data=o.children),_=i(n));break;case ko:_=8!==x||v?g():i(n);break;case So:if(1===x){_=n;const e=!o.children.length;for(let t=0;t<o.staticCount;t++)e&&(o.children+=_.outerHTML),t===o.staticCount-1&&(o.anchor=_),_=i(_);return _}_=g();break;case xo:_=v?f(n,o,r,a,l,c):g();break;default:if(1&w)_=1!==x||o.type.toLowerCase()!==n.tagName.toLowerCase()?g():d(n,o,r,a,l,c);else if(6&w){o.slotScopeIds=l;const e=s(n);if(t(o,e,null,r,a,Gn(e),c),_=v?m(n):i(n),Gt(o)){let t;v?(t=Io(xo),t.anchor=_?_.previousSibling:e.lastChild):t=3===n.nodeType?Ro(""):Io("div"),t.el=n,o.component.subTree=t}}else 64&w?_=8!==x?g():o.type.hydrate(n,o,r,a,l,c,e,p):128&w&&(_=o.type.hydrate(n,o,r,a,Gn(s(n)),l,c,e,u))}return null!=b&&no(b,null,a,o),_},d=(e,t,n,i,s,l)=>{l=l||!!t.dynamicChildren;const{props:c,patchFlag:u,shapeFlag:d,dirs:f}=t;if(-1!==u){if(f&&Kn(t,null,n,"created"),c)if(!l||16&u||32&u)for(const t in c)!(0,r.isReservedProp)(t)&&(0,r.isOn)(t)&&o(e,t,null,c[t]);else c.onClick&&o(e,"onClick",null,c.onClick);let h;if((h=c&&c.onVnodeBeforeMount)&&so(h,n,t),f&&Kn(t,null,n,"beforeMount"),((h=c&&c.onVnodeMounted)||f)&&Mt((()=>{h&&so(h,n,t),f&&Kn(t,null,n,"mounted")}),i),16&d&&(!c||!c.innerHTML&&!c.textContent)){let o=p(e.firstChild,t,e,n,i,s,l);for(;o;){Jn=!0;const e=o;o=o.nextSibling,a(e)}}else 8&d&&e.textContent!==t.children&&(Jn=!0,e.textContent=t.children)}return e.nextSibling},p=(e,t,o,r,i,s,a)=>{a=a||!!t.dynamicChildren;const l=t.children,c=l.length;for(let t=0;t<c;t++){const c=a?l[t]:l[t]=Uo(l[t]);if(e)e=u(e,c,r,i,s,a);else{if(c.type===_o&&!c.children)continue;Jn=!0,n(null,c,o,null,r,i,Gn(o),s)}}return e},f=(e,t,n,o,r,a)=>{const{slotScopeIds:u}=t;u&&(r=r?r.concat(u):u);const d=s(e),f=p(i(e),t,d,n,o,r,a);return f&&Zn(f)&&"]"===f.data?i(t.anchor=f):(Jn=!0,l(t.anchor=c("]"),d,f),f)},h=(e,t,o,r,l,c)=>{if(Jn=!0,t.el=null,c){const t=m(e);for(;;){const n=i(e);if(!n||n===t)break;a(n)}}const u=i(e),d=s(e);return a(e),n(null,t,d,u,o,r,Gn(d),l),u},m=e=>{let t=0;for(;e;)if((e=i(e))&&Zn(e)&&("["===e.data&&t++,"]"===e.data)){if(0===t)return i(e);t--}return e};return[(e,t)=>{Jn=!1,u(t.firstChild,e,null,null,null),st(),Jn&&console.error("Hydration completed but contains mismatches.")},u]}const eo={scheduler:tt,allowRecurse:!0};const to=Mt,no=(e,t,n,o,i=!1)=>{if((0,r.isArray)(e))return void e.forEach(((e,s)=>no(e,t&&((0,r.isArray)(t)?t[s]:t),n,o,i)));if(Gt(o)&&!i)return;const s=4&o.shapeFlag?o.component.exposed||o.component.proxy:o.el,a=i?null:s,{i:l,r:c}=e;const u=t&&t.r,d=l.refs===r.EMPTY_OBJ?l.refs={}:l.refs,p=l.setupState;if(null!=u&&u!==c&&((0,r.isString)(u)?(d[u]=null,(0,r.hasOwn)(p,u)&&(p[u]=null)):be(u)&&(u.value=null)),(0,r.isString)(c)){const e=()=>{d[c]=a,(0,r.hasOwn)(p,c)&&(p[c]=a)};a?(e.id=-1,to(e,n)):e()}else if(be(c)){const e=()=>{c.value=a};a?(e.id=-1,to(e,n)):e()}else(0,r.isFunction)(c)&&De(c,l,12,[a,d])};function oo(e){return io(e)}function ro(e){return io(e,Xn)}function io(e,t){const{insert:n,remove:o,patchProp:i,forcePatchProp:s,createElement:a,createText:l,createComment:c,setText:p,setElementText:f,parentNode:h,nextSibling:m,setScopeId:y=r.NOOP,cloneNode:w,insertStaticContent:x}=e,_=(e,t,n,o=null,r=null,i=null,s=!1,a=null,l=!1)=>{e&&!qo(e,t)&&(o=Y(e),H(e,r,i,!0),e=null),-2===t.patchFlag&&(l=!1,t.dynamicChildren=null);const{type:c,ref:u,shapeFlag:d}=t;switch(c){case _o:k(e,t,n,o);break;case ko:S(e,t,n,o);break;case So:null==e&&C(t,n,o,s);break;case xo:q(e,t,n,o,r,i,s,a,l);break;default:1&d?T(e,t,n,o,r,i,s,a,l):6&d?F(e,t,n,o,r,i,s,a,l):(64&d||128&d)&&c.process(e,t,n,o,r,i,s,a,l,G)}null!=u&&r&&no(u,e&&e.ref,i,t||e,!t)},k=(e,t,o,r)=>{if(null==e)n(t.el=l(t.children),o,r);else{const n=t.el=e.el;t.children!==e.children&&p(n,t.children)}},S=(e,t,o,r)=>{null==e?n(t.el=c(t.children||""),o,r):t.el=e.el},C=(e,t,n,o)=>{[e.el,e.anchor]=x(e.children,t,n,o)},O=({el:e,anchor:t})=>{let n;for(;e&&e!==t;)n=m(e),o(e),e=n;o(t)},T=(e,t,n,o,r,i,s,a,l)=>{s=s||"svg"===t.type,null==e?E(t,n,o,r,i,s,a,l):A(e,t,r,i,s,a,l)},E=(e,t,o,s,l,c,u,d)=>{let p,h;const{type:m,props:v,shapeFlag:g,transition:y,patchFlag:b,dirs:x}=e;if(e.el&&void 0!==w&&-1===b)p=e.el=w(e.el);else{if(p=e.el=a(e.type,c,v&&v.is,v),8&g?f(p,e.children):16&g&&M(e.children,p,null,s,l,c&&"foreignObject"!==m,u,d||!!e.dynamicChildren),x&&Kn(e,null,s,"created"),v){for(const t in v)(0,r.isReservedProp)(t)||i(p,t,null,v[t],c,e.children,s,l,Q);(h=v.onVnodeBeforeMount)&&so(h,s,e)}B(p,e,e.scopeId,u,s)}x&&Kn(e,null,s,"beforeMount");const _=(!l||l&&!l.pendingBranch)&&y&&!y.persisted;_&&y.beforeEnter(p),n(p,t,o),((h=v&&v.onVnodeMounted)||_||x)&&to((()=>{h&&so(h,s,e),_&&y.enter(p),x&&Kn(e,null,s,"mounted")}),l)},B=(e,t,n,o,r)=>{if(n&&y(e,n),o)for(let t=0;t<o.length;t++)y(e,o[t]);if(r){if(t===r.subTree){const t=r.vnode;B(e,t,t.scopeId,t.slotScopeIds,r.parent)}}},M=(e,t,n,o,r,i,s,a,l=0)=>{for(let c=l;c<e.length;c++){const l=e[c]=a?Ko(e[c]):Uo(e[c]);_(null,l,t,n,o,r,i,s,a)}},A=(e,t,n,o,a,l,c)=>{const u=t.el=e.el;let{patchFlag:d,dynamicChildren:p,dirs:h}=t;d|=16&e.patchFlag;const m=e.props||r.EMPTY_OBJ,v=t.props||r.EMPTY_OBJ;let g;if((g=v.onVnodeBeforeUpdate)&&so(g,n,t,e),h&&Kn(t,e,n,"beforeUpdate"),d>0){if(16&d)N(u,t,m,v,n,o,a);else if(2&d&&m.class!==v.class&&i(u,"class",null,v.class,a),4&d&&i(u,"style",m.style,v.style,a),8&d){const r=t.dynamicProps;for(let t=0;t<r.length;t++){const l=r[t],c=m[l],d=v[l];(d!==c||s&&s(u,l))&&i(u,l,c,d,a,e.children,n,o,Q)}}1&d&&e.children!==t.children&&f(u,t.children)}else c||null!=p||N(u,t,m,v,n,o,a);const y=a&&"foreignObject"!==t.type;p?V(e.dynamicChildren,p,u,n,o,y,l):c||j(e,t,u,null,n,o,y,l,!1),((g=v.onVnodeUpdated)||h)&&to((()=>{g&&so(g,n,t,e),h&&Kn(t,e,n,"updated")}),o)},V=(e,t,n,o,r,i,s)=>{for(let a=0;a<t.length;a++){const l=e[a],c=t[a],u=l.el&&(l.type===xo||!qo(l,c)||6&l.shapeFlag||64&l.shapeFlag)?h(l.el):n;_(l,c,u,null,o,r,i,s,!0)}},N=(e,t,n,o,a,l,c)=>{if(n!==o){for(const u in o){if((0,r.isReservedProp)(u))continue;const d=o[u],p=n[u];(d!==p||s&&s(e,u))&&i(e,u,p,d,c,t.children,a,l,Q)}if(n!==r.EMPTY_OBJ)for(const s in n)(0,r.isReservedProp)(s)||s in o||i(e,s,n[s],null,c,t.children,a,l,Q)}},q=(e,t,o,r,i,s,a,c,u)=>{const d=t.el=e?e.el:l(""),p=t.anchor=e?e.anchor:l("");let{patchFlag:f,dynamicChildren:h,slotScopeIds:m}=t;h&&(u=!0),m&&(c=c?c.concat(m):m),null==e?(n(d,o,r),n(p,o,r),M(t.children,o,p,i,s,a,c,u)):f>0&&64&f&&h&&e.dynamicChildren?(V(e.dynamicChildren,h,o,i,s,a,c),(null!=t.key||i&&t===i.subTree)&&ao(e,t,!0)):j(e,t,o,p,i,s,a,c,u)},F=(e,t,n,o,r,i,s,a,l)=>{t.slotScopeIds=a,null==e?512&t.shapeFlag?r.ctx.activate(t,n,o,s,l):P(t,n,o,r,i,s,l):L(e,t,l)},P=(e,t,n,o,i,s,a)=>{const l=e.component=function(e,t,n){const o=e.type,i=(t?t.appContext:e.appContext)||rr,s={uid:ir++,vnode:e,type:o,parent:t,appContext:i,root:null,next:null,subTree:null,update:null,render:null,proxy:null,exposed:null,withProxy:null,effects:null,provides:t?t.provides:Object.create(i.provides),accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Fn(o,i),emitsOptions:pt(o,i),emit:null,emitted:null,propsDefaults:r.EMPTY_OBJ,inheritAttrs:o.inheritAttrs,ctx:r.EMPTY_OBJ,data:r.EMPTY_OBJ,props:r.EMPTY_OBJ,attrs:r.EMPTY_OBJ,slots:r.EMPTY_OBJ,refs:r.EMPTY_OBJ,setupState:r.EMPTY_OBJ,setupContext:null,suspense:n,suspenseId:n?n.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};s.ctx={_:s};return s.root=t?t.root:s,s.emit=dt.bind(null,s),s}(e,o,i);if(en(e)&&(l.ctx.renderer=G),function(e,t=!1){dr=t;const{props:n,children:o}=e.vnode,i=cr(e);(function(e,t,n,o=!1){const i={},s={};(0,r.def)(s,Po,1),e.propsDefaults=Object.create(null),Nn(e,t,i,s);for(const t in e.propsOptions[0])t in i||(i[t]=void 0);n?e.props=o?i:ce(i):e.type.props?e.props=i:e.props=s,e.attrs=s})(e,n,i,t),((e,t)=>{if(32&e.vnode.shapeFlag){const n=t._;n?(e.slots=ve(t),(0,r.def)(t,"_",n)):zn(t,e.slots={})}else e.slots={},t&&Hn(e,t);(0,r.def)(e.slots,Po,1)})(e,o);const s=i?function(e,t){const n=e.type;0;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,nr),!1;const{setup:o}=n;if(o){const n=e.setupContext=o.length>1?vr(e):null;sr=e,v();const i=De(o,e,0,[e.props,n]);if(g(),sr=null,(0,r.isPromise)(i)){if(t)return i.then((n=>{pr(e,n,t)})).catch((t=>{je(t,e,0)}));e.asyncDep=i}else pr(e,i,t)}else mr(e,t)}(e,t):void 0;dr=!1}(l),l.asyncDep){if(i&&i.registerDep(l,D),!e.el){const e=l.subTree=Io(ko);S(null,e,t,n)}}else D(l,e,t,n,i,s,a)},L=(e,t,n)=>{const o=t.component=e.component;if(function(e,t,n){const{props:o,children:r,component:i}=e,{props:s,children:a,patchFlag:l}=t,c=i.emitsOptions;if(t.dirs||t.transition)return!0;if(!(n&&l>=0))return!(!r&&!a||a&&a.$stable)||o!==s&&(o?!s||Ct(o,s,c):!!s);if(1024&l)return!0;if(16&l)return o?Ct(o,s,c):!!s;if(8&l){const e=t.dynamicProps;for(let t=0;t<e.length;t++){const n=e[t];if(s[n]!==o[n]&&!ft(c,n))return!0}}return!1}(e,t,n)){if(o.asyncDep&&!o.asyncResolved)return void I(o,t,n);o.next=t,function(e){const t=ze.indexOf(e);t>He&&ze.splice(t,1)}(o.update),o.update()}else t.component=e.component,t.el=e.el,o.vnode=t},D=(e,t,n,o,i,s,a)=>{e.update=u((function(){if(e.isMounted){let t,{next:n,bu:o,u:l,parent:c,vnode:u}=e,d=n;0,n?(n.el=u.el,I(e,n,a)):n=u,o&&(0,r.invokeArrayFns)(o),(t=n.props&&n.props.onVnodeBeforeUpdate)&&so(t,c,n,u);const p=xt(e);0;const f=e.subTree;e.subTree=p,_(f,p,h(f.el),Y(f),e,i,s),n.el=p.el,null===d&&Ot(e,p.el),l&&to(l,i),(t=n.props&&n.props.onVnodeUpdated)&&to((()=>so(t,c,n,u)),i)}else{let a;const{el:l,props:c}=t,{bm:u,m:d,parent:p}=e;if(u&&(0,r.invokeArrayFns)(u),(a=c&&c.onVnodeBeforeMount)&&so(a,p,t),l&&X){const n=()=>{e.subTree=xt(e),X(l,e.subTree,e,i,null)};Gt(t)?t.type.__asyncLoader().then((()=>!e.isUnmounted&&n())):n()}else{0;const r=e.subTree=xt(e);0,_(null,r,n,o,e,i,s),t.el=r.el}if(d&&to(d,i),a=c&&c.onVnodeMounted){const e=t;to((()=>so(a,p,e)),i)}256&t.shapeFlag&&e.a&&to(e.a,i),e.isMounted=!0,t=n=o=null}}),eo)},I=(e,t,n)=>{t.component=e;const o=e.vnode.props;e.vnode=t,e.next=null,function(e,t,n,o){const{props:i,attrs:s,vnode:{patchFlag:a}}=e,l=ve(i),[c]=e.propsOptions;let u=!1;if(!(o||a>0)||16&a){let o;Nn(e,t,i,s)&&(u=!0);for(const s in l)t&&((0,r.hasOwn)(t,s)||(o=(0,r.hyphenate)(s))!==s&&(0,r.hasOwn)(t,o))||(c?!n||void 0===n[s]&&void 0===n[o]||(i[s]=qn(c,l,s,void 0,e,!0)):delete i[s]);if(s!==l)for(const e in s)t&&(0,r.hasOwn)(t,e)||(delete s[e],u=!0)}else if(8&a){const n=e.vnode.dynamicProps;for(let o=0;o<n.length;o++){let a=n[o];const d=t[a];if(c)if((0,r.hasOwn)(s,a))d!==s[a]&&(s[a]=d,u=!0);else{const t=(0,r.camelize)(a);i[t]=qn(c,l,t,d,e,!1)}else d!==s[a]&&(s[a]=d,u=!0)}}u&&b(e,"set","$attrs")}(e,t.props,o,n),((e,t,n)=>{const{vnode:o,slots:i}=e;let s=!0,a=r.EMPTY_OBJ;if(32&o.shapeFlag){const e=t._;e?n&&1===e?s=!1:((0,r.extend)(i,t),n||1!==e||delete i._):(s=!t.$stable,zn(t,i)),a=t}else t&&(Hn(e,t),a={default:1});if(s)for(const e in i)jn(e)||e in a||delete i[e]})(e,t.children,n),v(),it(void 0,e.update),g()},j=(e,t,n,o,r,i,s,a,l=!1)=>{const c=e&&e.children,u=e?e.shapeFlag:0,d=t.children,{patchFlag:p,shapeFlag:h}=t;if(p>0){if(128&p)return void R(c,d,n,o,r,i,s,a,l);if(256&p)return void $(c,d,n,o,r,i,s,a,l)}8&h?(16&u&&Q(c,r,i),d!==c&&f(n,d)):16&u?16&h?R(c,d,n,o,r,i,s,a,l):Q(c,r,i,!0):(8&u&&f(n,""),16&h&&M(d,n,o,r,i,s,a,l))},$=(e,t,n,o,i,s,a,l,c)=>{e=e||r.EMPTY_ARR,t=t||r.EMPTY_ARR;const u=e.length,d=t.length,p=Math.min(u,d);let f;for(f=0;f<p;f++){const o=t[f]=c?Ko(t[f]):Uo(t[f]);_(e[f],o,n,null,i,s,a,l,c)}u>d?Q(e,i,s,!0,!1,p):M(t,n,o,i,s,a,l,c,p)},R=(e,t,n,o,i,s,a,l,c)=>{let u=0;const d=t.length;let p=e.length-1,f=d-1;for(;u<=p&&u<=f;){const o=e[u],r=t[u]=c?Ko(t[u]):Uo(t[u]);if(!qo(o,r))break;_(o,r,n,null,i,s,a,l,c),u++}for(;u<=p&&u<=f;){const o=e[p],r=t[f]=c?Ko(t[f]):Uo(t[f]);if(!qo(o,r))break;_(o,r,n,null,i,s,a,l,c),p--,f--}if(u>p){if(u<=f){const e=f+1,r=e<d?t[e].el:o;for(;u<=f;)_(null,t[u]=c?Ko(t[u]):Uo(t[u]),n,r,i,s,a,l,c),u++}}else if(u>f)for(;u<=p;)H(e[u],i,s,!0),u++;else{const h=u,m=u,v=new Map;for(u=m;u<=f;u++){const e=t[u]=c?Ko(t[u]):Uo(t[u]);null!=e.key&&v.set(e.key,u)}let g,y=0;const b=f-m+1;let w=!1,x=0;const k=new Array(b);for(u=0;u<b;u++)k[u]=0;for(u=h;u<=p;u++){const o=e[u];if(y>=b){H(o,i,s,!0);continue}let r;if(null!=o.key)r=v.get(o.key);else for(g=m;g<=f;g++)if(0===k[g-m]&&qo(o,t[g])){r=g;break}void 0===r?H(o,i,s,!0):(k[r-m]=u+1,r>=x?x=r:w=!0,_(o,t[r],n,null,i,s,a,l,c),y++)}const S=w?function(e){const t=e.slice(),n=[0];let o,r,i,s,a;const l=e.length;for(o=0;o<l;o++){const l=e[o];if(0!==l){if(r=n[n.length-1],e[r]<l){t[o]=r,n.push(o);continue}for(i=0,s=n.length-1;i<s;)a=(i+s)/2|0,e[n[a]]<l?i=a+1:s=a;l<e[n[i]]&&(i>0&&(t[o]=n[i-1]),n[i]=o)}}i=n.length,s=n[i-1];for(;i-- >0;)n[i]=s,s=t[s];return n}(k):r.EMPTY_ARR;for(g=S.length-1,u=b-1;u>=0;u--){const e=m+u,r=t[e],p=e+1<d?t[e+1].el:o;0===k[u]?_(null,r,n,p,i,s,a,l,c):w&&(g<0||u!==S[g]?z(r,n,p,2):g--)}}},z=(e,t,o,r,i=null)=>{const{el:s,type:a,transition:l,children:c,shapeFlag:u}=e;if(6&u)return void z(e.component.subTree,t,o,r);if(128&u)return void e.suspense.move(t,o,r);if(64&u)return void a.move(e,t,o,G);if(a===xo){n(s,t,o);for(let e=0;e<c.length;e++)z(c[e],t,o,r);return void n(e.anchor,t,o)}if(a===So)return void(({el:e,anchor:t},o,r)=>{let i;for(;e&&e!==t;)i=m(e),n(e,o,r),e=i;n(t,o,r)})(e,t,o);if(2!==r&&1&u&&l)if(0===r)l.beforeEnter(s),n(s,t,o),to((()=>l.enter(s)),i);else{const{leave:e,delayLeave:r,afterLeave:i}=l,a=()=>n(s,t,o),c=()=>{e(s,(()=>{a(),i&&i()}))};r?r(s,a,c):c()}else n(s,t,o)},H=(e,t,n,o=!1,r=!1)=>{const{type:i,props:s,ref:a,children:l,dynamicChildren:c,shapeFlag:u,patchFlag:d,dirs:p}=e;if(null!=a&&no(a,null,n,e,!0),256&u)return void t.ctx.deactivate(e);const f=1&u&&p;let h;if((h=s&&s.onVnodeBeforeUnmount)&&so(h,t,e),6&u)W(e.component,n,o);else{if(128&u)return void e.suspense.unmount(n,o);f&&Kn(e,null,t,"beforeUnmount"),64&u?e.type.remove(e,t,n,r,G,o):c&&(i!==xo||d>0&&64&d)?Q(c,t,n,!1,!0):(i===xo&&(128&d||256&d)||!r&&16&u)&&Q(l,t,n),o&&U(e)}((h=s&&s.onVnodeUnmounted)||f)&&to((()=>{h&&so(h,t,e),f&&Kn(e,null,t,"unmounted")}),n)},U=e=>{const{type:t,el:n,anchor:r,transition:i}=e;if(t===xo)return void K(n,r);if(t===So)return void O(e);const s=()=>{o(n),i&&!i.persisted&&i.afterLeave&&i.afterLeave()};if(1&e.shapeFlag&&i&&!i.persisted){const{leave:t,delayLeave:o}=i,r=()=>t(n,s);o?o(e.el,s,r):r()}else s()},K=(e,t)=>{let n;for(;e!==t;)n=m(e),o(e),e=n;o(t)},W=(e,t,n)=>{const{bum:o,effects:i,update:s,subTree:a,um:l}=e;if(o&&(0,r.invokeArrayFns)(o),i)for(let e=0;e<i.length;e++)d(i[e]);s&&(d(s),H(a,e,t,n)),l&&to(l,t),to((()=>{e.isUnmounted=!0}),t),t&&t.pendingBranch&&!t.isUnmounted&&e.asyncDep&&!e.asyncResolved&&e.suspenseId===t.pendingId&&(t.deps--,0===t.deps&&t.resolve())},Q=(e,t,n,o=!1,r=!1,i=0)=>{for(let s=i;s<e.length;s++)H(e[s],t,n,o,r)},Y=e=>6&e.shapeFlag?Y(e.component.subTree):128&e.shapeFlag?e.suspense.next():m(e.anchor||e.el),J=(e,t,n)=>{null==e?t._vnode&&H(t._vnode,null,null,!0):_(t._vnode||null,e,t,null,null,null,n),st(),t._vnode=e},G={p:_,um:H,m:z,r:U,mt:P,mc:M,pc:j,pbc:V,n:Y,o:e};let Z,X;return t&&([Z,X]=t(G)),{render:J,hydrate:Z,createApp:Yn(J,Z)}}function so(e,t,n,o=null){Ie(e,t,7,[n,o])}function ao(e,t,n=!1){const o=e.children,i=t.children;if((0,r.isArray)(o)&&(0,r.isArray)(i))for(let e=0;e<o.length;e++){const t=o[e];let r=i[e];1&r.shapeFlag&&!r.dynamicChildren&&((r.patchFlag<=0||32===r.patchFlag)&&(r=i[e]=Ko(i[e]),r.el=t.el),n||ao(t,r))}}const lo=e=>e&&(e.disabled||""===e.disabled),co=e=>"undefined"!=typeof SVGElement&&e instanceof SVGElement,uo=(e,t)=>{const n=e&&e.to;if((0,r.isString)(n)){if(t){const e=t(n);return e}return null}return n};function po(e,t,n,{o:{insert:o},m:r},i=2){0===i&&o(e.targetAnchor,t,n);const{el:s,anchor:a,shapeFlag:l,children:c,props:u}=e,d=2===i;if(d&&o(s,t,n),(!d||lo(u))&&16&l)for(let e=0;e<c.length;e++)r(c[e],t,n,2);d&&o(a,t,n)}const fo={__isTeleport:!0,process(e,t,n,o,r,i,s,a,l,c){const{mc:u,pc:d,pbc:p,o:{insert:f,querySelector:h,createText:m,createComment:v}}=c,g=lo(t.props);let{shapeFlag:y,children:b,dynamicChildren:w}=t;if(null==e){const e=t.el=m(""),c=t.anchor=m("");f(e,n,o),f(c,n,o);const d=t.target=uo(t.props,h),p=t.targetAnchor=m("");d&&(f(p,d),s=s||co(d));const v=(e,t)=>{16&y&&u(b,e,t,r,i,s,a,l)};g?v(n,c):d&&v(d,p)}else{t.el=e.el;const o=t.anchor=e.anchor,u=t.target=e.target,f=t.targetAnchor=e.targetAnchor,m=lo(e.props),v=m?n:u,y=m?o:f;if(s=s||co(u),w?(p(e.dynamicChildren,w,v,r,i,s,a),ao(e,t,!0)):l||d(e,t,v,y,r,i,s,a,!1),g)m||po(t,n,o,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const e=t.target=uo(t.props,h);e&&po(t,e,null,c,0)}else m&&po(t,u,f,c,1)}},remove(e,t,n,o,{um:r,o:{remove:i}},s){const{shapeFlag:a,children:l,anchor:c,targetAnchor:u,target:d,props:p}=e;if(d&&i(u),(s||!lo(p))&&(i(c),16&a))for(let e=0;e<l.length;e++){const o=l[e];r(o,t,n,!0,!!o.dynamicChildren)}},move:po,hydrate:function(e,t,n,o,r,i,{o:{nextSibling:s,parentNode:a,querySelector:l}},c){const u=t.target=uo(t.props,l);if(u){const l=u._lpa||u.firstChild;16&t.shapeFlag&&(lo(t.props)?(t.anchor=c(s(e),t,a(e),n,o,r,i),t.targetAnchor=l):(t.anchor=s(e),t.targetAnchor=c(l,t,u,n,o,r,i)),u._lpa=t.targetAnchor&&s(t.targetAnchor))}return t.anchor&&s(t.anchor)}},ho="components";function mo(e,t){return bo(ho,e,!0,t)||e}const vo=Symbol();function go(e){return(0,r.isString)(e)?bo(ho,e,!1)||e:e||vo}function yo(e){return bo("directives",e)}function bo(e,t,n=!0,o=!1){const i=ht||sr;if(i){const n=i.type;if(e===ho){const e=br(n);if(e&&(e===t||e===(0,r.camelize)(t)||e===(0,r.capitalize)((0,r.camelize)(t))))return n}const s=wo(i[e]||n[e],t)||wo(i.appContext[e],t);return!s&&o?n:s}}function wo(e,t){return e&&(e[t]||e[(0,r.camelize)(t)]||e[(0,r.capitalize)((0,r.camelize)(t))])}const xo=Symbol(void 0),_o=Symbol(void 0),ko=Symbol(void 0),So=Symbol(void 0),Co=[];let Oo=null;function To(e=!1){Co.push(Oo=e?null:[])}function Eo(){Co.pop(),Oo=Co[Co.length-1]||null}let Bo,Mo=1;function Ao(e){Mo+=e}function Vo(e,t,n,o,i){const s=Io(e,t,n,o,i,!0);return s.dynamicChildren=Mo>0?Oo||r.EMPTY_ARR:null,Eo(),Mo>0&&Oo&&Oo.push(s),s}function No(e){return!!e&&!0===e.__v_isVNode}function qo(e,t){return e.type===t.type&&e.key===t.key}function Fo(e){Bo=e}const Po="__vInternal",Lo=({key:e})=>null!=e?e:null,Do=({ref:e})=>null!=e?(0,r.isString)(e)||be(e)||(0,r.isFunction)(e)?{i:ht,r:e}:e:null,Io=jo;function jo(e,t=null,n=null,o=0,i=null,s=!1){if(e&&e!==vo||(e=ko),No(e)){const o=$o(e,t,!0);return n&&Wo(o,n),o}if(xr(e)&&(e=e.__vccOpts),t){(me(t)||Po in t)&&(t=(0,r.extend)({},t));let{class:e,style:n}=t;e&&!(0,r.isString)(e)&&(t.class=(0,r.normalizeClass)(e)),(0,r.isObject)(n)&&(me(n)&&!(0,r.isArray)(n)&&(n=(0,r.extend)({},n)),t.style=(0,r.normalizeStyle)(n))}const a=(0,r.isString)(e)?1:(e=>e.__isSuspense)(e)?128:(e=>e.__isTeleport)(e)?64:(0,r.isObject)(e)?4:(0,r.isFunction)(e)?2:0;const l={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&Lo(t),ref:t&&Do(t),scopeId:mt,slotScopeIds:null,children:null,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:a,patchFlag:o,dynamicProps:i,dynamicChildren:null,appContext:null};return Wo(l,n),128&a&&e.normalize(l),Mo>0&&!s&&Oo&&(o>0||6&a)&&32!==o&&Oo.push(l),l}function $o(e,t,n=!1){const{props:o,ref:i,patchFlag:s,children:a}=e,l=t?Qo(o||{},t):o;return{__v_isVNode:!0,__v_skip:!0,type:e.type,props:l,key:l&&Lo(l),ref:t&&t.ref?n&&i?(0,r.isArray)(i)?i.concat(Do(t)):[i,Do(t)]:Do(t):i,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:a,target:e.target,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==xo?-1===s?16:16|s:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:e.transition,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&$o(e.ssContent),ssFallback:e.ssFallback&&$o(e.ssFallback),el:e.el,anchor:e.anchor}}function Ro(e=" ",t=0){return Io(_o,null,e,t)}function zo(e,t){const n=Io(So,null,e);return n.staticCount=t,n}function Ho(e="",t=!1){return t?(To(),Vo(ko,null,e)):Io(ko,null,e)}function Uo(e){return null==e||"boolean"==typeof e?Io(ko):(0,r.isArray)(e)?Io(xo,null,e.slice()):"object"==typeof e?Ko(e):Io(_o,null,String(e))}function Ko(e){return null===e.el?e:$o(e)}function Wo(e,t){let n=0;const{shapeFlag:o}=e;if(null==t)t=null;else if((0,r.isArray)(t))n=16;else if("object"==typeof t){if(1&o||64&o){const n=t.default;return void(n&&(n._c&&(n._d=!1),Wo(e,n()),n._c&&(n._d=!0)))}{n=32;const o=t._;o||Po in t?3===o&&ht&&(1===ht.slots._?t._=1:(t._=2,e.patchFlag|=1024)):t._ctx=ht}}else(0,r.isFunction)(t)?(t={default:t,_ctx:ht},n=32):(t=String(t),64&o?(n=16,t=[Ro(t)]):n=8);e.children=t,e.shapeFlag|=n}function Qo(...e){const t=(0,r.extend)({},e[0]);for(let n=1;n<e.length;n++){const o=e[n];for(const e in o)if("class"===e)t.class!==o.class&&(t.class=(0,r.normalizeClass)([t.class,o.class]));else if("style"===e)t.style=(0,r.normalizeStyle)([t.style,o.style]);else if((0,r.isOn)(e)){const n=t[e],r=o[e];n!==r&&(t[e]=n?[].concat(n,r):r)}else""!==e&&(t[e]=o[e])}return t}function Yo(e,t){let n;if((0,r.isArray)(e)||(0,r.isString)(e)){n=new Array(e.length);for(let o=0,r=e.length;o<r;o++)n[o]=t(e[o],o)}else if("number"==typeof e){0,n=new Array(e);for(let o=0;o<e;o++)n[o]=t(o+1,o)}else if((0,r.isObject)(e))if(e[Symbol.iterator])n=Array.from(e,t);else{const o=Object.keys(e);n=new Array(o.length);for(let r=0,i=o.length;r<i;r++){const i=o[r];n[r]=t(e[i],i,r)}}else n=[];return n}function Jo(e,t){for(let n=0;n<t.length;n++){const o=t[n];if((0,r.isArray)(o))for(let t=0;t<o.length;t++)e[o[t].name]=o[t].fn;else o&&(e[o.name]=o.fn)}return e}function Go(e,t,n={},o,r){let i=e[t];i&&i._c&&(i._d=!1),To();const s=i&&Zo(i(n)),a=Vo(xo,{key:n.key||`_${t}`},s||(o?o():[]),s&&1===e._?64:-2);return!r&&a.scopeId&&(a.slotScopeIds=[a.scopeId+"-s"]),i&&i._c&&(i._d=!0),a}function Zo(e){return e.some((e=>!No(e)||e.type!==ko&&!(e.type===xo&&!Zo(e.children))))?e:null}function Xo(e){const t={};for(const n in e)t[(0,r.toHandlerKey)(n)]=e[n];return t}const er=e=>e?cr(e)?e.exposed?e.exposed:e.proxy:er(e.parent):null,tr=(0,r.extend)(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>er(e.parent),$root:e=>er(e.root),$emit:e=>e.emit,$options:e=>On(e),$forceUpdate:e=>()=>tt(e.update),$nextTick:e=>et.bind(e.proxy),$watch:e=>Dt.bind(e)}),nr={get({_:e},t){const{ctx:n,setupState:o,data:i,props:s,accessCache:a,type:l,appContext:c}=e;if("__v_skip"===t)return!0;let u;if("$"!==t[0]){const l=a[t];if(void 0!==l)switch(l){case 0:return o[t];case 1:return i[t];case 3:return n[t];case 2:return s[t]}else{if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))return a[t]=0,o[t];if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))return a[t]=1,i[t];if((u=e.propsOptions[0])&&(0,r.hasOwn)(u,t))return a[t]=2,s[t];if(n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t))return a[t]=3,n[t];_n&&(a[t]=4)}}const d=tr[t];let p,f;return d?("$attrs"===t&&y(e,0,t),d(e)):(p=l.__cssModules)&&(p=p[t])?p:n!==r.EMPTY_OBJ&&(0,r.hasOwn)(n,t)?(a[t]=3,n[t]):(f=c.config.globalProperties,(0,r.hasOwn)(f,t)?f[t]:void 0)},set({_:e},t,n){const{data:o,setupState:i,ctx:s}=e;if(i!==r.EMPTY_OBJ&&(0,r.hasOwn)(i,t))i[t]=n;else if(o!==r.EMPTY_OBJ&&(0,r.hasOwn)(o,t))o[t]=n;else if((0,r.hasOwn)(e.props,t))return!1;return("$"!==t[0]||!(t.slice(1)in e))&&(s[t]=n,!0)},has({_:{data:e,setupState:t,accessCache:n,ctx:o,appContext:i,propsOptions:s}},a){let l;return void 0!==n[a]||e!==r.EMPTY_OBJ&&(0,r.hasOwn)(e,a)||t!==r.EMPTY_OBJ&&(0,r.hasOwn)(t,a)||(l=s[0])&&(0,r.hasOwn)(l,a)||(0,r.hasOwn)(o,a)||(0,r.hasOwn)(tr,a)||(0,r.hasOwn)(i.config.globalProperties,a)}};const or=(0,r.extend)({},nr,{get(e,t){if(t!==Symbol.unscopables)return nr.get(e,t,e)},has:(e,t)=>"_"!==t[0]&&!(0,r.isGloballyWhitelisted)(t)});const rr=Wn();let ir=0;let sr=null;const ar=()=>sr||ht,lr=e=>{sr=e};function cr(e){return 4&e.vnode.shapeFlag}let ur,dr=!1;function pr(e,t,n){(0,r.isFunction)(t)?e.render=t:(0,r.isObject)(t)&&(e.setupState=Te(t)),mr(e,n)}const fr=()=>!ur;function hr(e){ur=e}function mr(e,t,n){const o=e.type;if(!e.render){if(ur&&!o.render){const t=o.template;if(t){0;const{isCustomElement:n,compilerOptions:i}=e.appContext.config,{delimiters:s,compilerOptions:a}=o,l=(0,r.extend)((0,r.extend)({isCustomElement:n,delimiters:s},i),a);o.render=ur(t,l)}}e.render=o.render||r.NOOP,e.render._rc&&(e.withProxy=new Proxy(e.ctx,or))}sr=e,v(),kn(e),g(),sr=null}function vr(e){const t=t=>{e.exposed=Te(t)};return{attrs:e.attrs,slots:e.slots,emit:e.emit,expose:t}}function gr(e,t=sr){t&&(t.effects||(t.effects=[])).push(e)}const yr=/(?:^|[-_])(\w)/g;function br(e){return(0,r.isFunction)(e)&&e.displayName||e.name}function wr(e,t,n=!1){let o=br(t);if(!o&&t.__file){const e=t.__file.match(/([^/\\]+)\.\w+$/);e&&(o=e[1])}if(!o&&e&&e.parent){const n=e=>{for(const n in e)if(e[n]===t)return n};o=n(e.components||e.parent.type.components)||n(e.appContext.components)}return o?o.replace(yr,(e=>e.toUpperCase())).replace(/[-_]/g,""):n?"App":"Anonymous"}function xr(e){return(0,r.isFunction)(e)&&"__vccOpts"in e}function _r(e){const t=function(e){let t,n;return(0,r.isFunction)(e)?(t=e,n=r.NOOP):(t=e.get,n=e.set),new Ne(t,n,(0,r.isFunction)(e)||!e.set)}(e);return gr(t.effect),t}function kr(){return null}function Sr(){return null}function Cr(){const e=ar();return e.setupContext||(e.setupContext=vr(e))}function Or(e,t,n){const o=arguments.length;return 2===o?(0,r.isObject)(t)&&!(0,r.isArray)(t)?No(t)?Io(e,null,[t]):Io(e,t):Io(e,null,t):(o>3?n=Array.prototype.slice.call(arguments,2):3===o&&No(n)&&(n=[n]),Io(e,t,n))}const Tr=Symbol(""),Er=()=>{{const e=Nt(Tr);return e||Fe("Server rendering context not provided. Make sure to only call useSSRContext() conditionally in the server build."),e}};function Br(){return void 0}const Mr="3.1.1",Ar=null,Vr=null,Nr=null,qr="http://www.w3.org/2000/svg",Fr="undefined"!=typeof document?document:null;let Pr,Lr;const Dr={insert:(e,t,n)=>{t.insertBefore(e,n||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,n,o)=>{const r=t?Fr.createElementNS(qr,e):Fr.createElement(e,n?{is:n}:void 0);return"select"===e&&o&&null!=o.multiple&&r.setAttribute("multiple",o.multiple),r},createText:e=>Fr.createTextNode(e),createComment:e=>Fr.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Fr.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},cloneNode(e){const t=e.cloneNode(!0);return"_value"in e&&(t._value=e._value),t},insertStaticContent(e,t,n,o){const r=o?Lr||(Lr=Fr.createElementNS(qr,"svg")):Pr||(Pr=Fr.createElement("div"));r.innerHTML=e;const i=r.firstChild;let s=i,a=s;for(;s;)a=s,Dr.insert(s,t,n),s=r.firstChild;return[i,a]}};const Ir=/\s*!important$/;function jr(e,t,n){if((0,r.isArray)(n))n.forEach((n=>jr(e,t,n)));else if(t.startsWith("--"))e.setProperty(t,n);else{const o=function(e,t){const n=Rr[t];if(n)return n;let o=(0,r.camelize)(t);if("filter"!==o&&o in e)return Rr[t]=o;o=(0,r.capitalize)(o);for(let n=0;n<$r.length;n++){const r=$r[n]+o;if(r in e)return Rr[t]=r}return t}(e,t);Ir.test(n)?e.setProperty((0,r.hyphenate)(o),n.replace(Ir,""),"important"):e[o]=n}}const $r=["Webkit","Moz","ms"],Rr={};const zr="http://www.w3.org/1999/xlink";let Hr=Date.now,Ur=!1;if("undefined"!=typeof window){Hr()>document.createEvent("Event").timeStamp&&(Hr=()=>performance.now());const e=navigator.userAgent.match(/firefox\/(\d+)/i);Ur=!!(e&&Number(e[1])<=53)}let Kr=0;const Wr=Promise.resolve(),Qr=()=>{Kr=0};function Yr(e,t,n,o){e.addEventListener(t,n,o)}function Jr(e,t,n,o,i=null){const s=e._vei||(e._vei={}),a=s[t];if(o&&a)a.value=o;else{const[n,l]=function(e){let t;if(Gr.test(e)){let n;for(t={};n=e.match(Gr);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[(0,r.hyphenate)(e.slice(2)),t]}(t);if(o){Yr(e,n,s[t]=function(e,t){const n=e=>{const o=e.timeStamp||Hr();(Ur||o>=n.attached-1)&&Ie(function(e,t){if((0,r.isArray)(t)){const n=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{n.call(e),e._stopped=!0},t.map((e=>t=>!t._stopped&&e(t)))}return t}(e,n.value),t,5,[e])};return n.value=e,n.attached=(()=>Kr||(Wr.then(Qr),Kr=Hr()))(),n}(o,i),l)}else a&&(!function(e,t,n,o){e.removeEventListener(t,n,o)}(e,n,a,l),s[t]=void 0)}}const Gr=/(?:Once|Passive|Capture)$/;const Zr=/^on[a-z]/;function Xr(e="$style"){{const t=ar();if(!t)return r.EMPTY_OBJ;const n=t.type.__cssModules;if(!n)return r.EMPTY_OBJ;const o=n[e];return o||r.EMPTY_OBJ}}function ei(e){const t=ar();if(!t)return;const n=()=>ti(t.subTree,e(t.proxy));fn((()=>qt(n,{flush:"post"}))),mn(n)}function ti(e,t){if(128&e.shapeFlag){const n=e.suspense;e=n.activeBranch,n.pendingBranch&&!n.isHydrating&&n.effects.push((()=>{ti(n.activeBranch,t)}))}for(;e.component;)e=e.component.subTree;if(1&e.shapeFlag&&e.el){const n=e.el.style;for(const e in t)n.setProperty(`--${e}`,t[e])}else e.type===xo&&e.children.forEach((e=>ti(e,t)))}const ni="transition",oi="animation",ri=(e,{slots:t})=>Or(zt,ci(e),t);ri.displayName="Transition";const ii={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},si=ri.props=(0,r.extend)({},zt.props,ii),ai=(e,t=[])=>{(0,r.isArray)(e)?e.forEach((e=>e(...t))):e&&e(...t)},li=e=>!!e&&((0,r.isArray)(e)?e.some((e=>e.length>1)):e.length>1);function ci(e){const t={};for(const n in e)n in ii||(t[n]=e[n]);if(!1===e.css)return t;const{name:n="v",type:o,duration:i,enterFromClass:s=`${n}-enter-from`,enterActiveClass:a=`${n}-enter-active`,enterToClass:l=`${n}-enter-to`,appearFromClass:c=s,appearActiveClass:u=a,appearToClass:d=l,leaveFromClass:p=`${n}-leave-from`,leaveActiveClass:f=`${n}-leave-active`,leaveToClass:h=`${n}-leave-to`}=e,m=function(e){if(null==e)return null;if((0,r.isObject)(e))return[ui(e.enter),ui(e.leave)];{const t=ui(e);return[t,t]}}(i),v=m&&m[0],g=m&&m[1],{onBeforeEnter:y,onEnter:b,onEnterCancelled:w,onLeave:x,onLeaveCancelled:_,onBeforeAppear:k=y,onAppear:S=b,onAppearCancelled:C=w}=t,O=(e,t,n)=>{pi(e,t?d:l),pi(e,t?u:a),n&&n()},T=(e,t)=>{pi(e,h),pi(e,f),t&&t()},E=e=>(t,n)=>{const r=e?S:b,i=()=>O(t,e,n);ai(r,[t,i]),fi((()=>{pi(t,e?c:s),di(t,e?d:l),li(r)||mi(t,o,v,i)}))};return(0,r.extend)(t,{onBeforeEnter(e){ai(y,[e]),di(e,s),di(e,a)},onBeforeAppear(e){ai(k,[e]),di(e,c),di(e,u)},onEnter:E(!1),onAppear:E(!0),onLeave(e,t){const n=()=>T(e,t);di(e,p),bi(),di(e,f),fi((()=>{pi(e,p),di(e,h),li(x)||mi(e,o,g,n)})),ai(x,[e,n])},onEnterCancelled(e){O(e,!1),ai(w,[e])},onAppearCancelled(e){O(e,!0),ai(C,[e])},onLeaveCancelled(e){T(e),ai(_,[e])}})}function ui(e){return(0,r.toNumber)(e)}function di(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.add(t))),(e._vtc||(e._vtc=new Set)).add(t)}function pi(e,t){t.split(/\s+/).forEach((t=>t&&e.classList.remove(t)));const{_vtc:n}=e;n&&(n.delete(t),n.size||(e._vtc=void 0))}function fi(e){requestAnimationFrame((()=>{requestAnimationFrame(e)}))}let hi=0;function mi(e,t,n,o){const r=e._endId=++hi,i=()=>{r===e._endId&&o()};if(n)return setTimeout(i,n);const{type:s,timeout:a,propCount:l}=vi(e,t);if(!s)return o();const c=s+"end";let u=0;const d=()=>{e.removeEventListener(c,p),i()},p=t=>{t.target===e&&++u>=l&&d()};setTimeout((()=>{u<l&&d()}),a+1),e.addEventListener(c,p)}function vi(e,t){const n=window.getComputedStyle(e),o=e=>(n[e]||"").split(", "),r=o("transitionDelay"),i=o("transitionDuration"),s=gi(r,i),a=o("animationDelay"),l=o("animationDuration"),c=gi(a,l);let u=null,d=0,p=0;t===ni?s>0&&(u=ni,d=s,p=i.length):t===oi?c>0&&(u=oi,d=c,p=l.length):(d=Math.max(s,c),u=d>0?s>c?ni:oi:null,p=u?u===ni?i.length:l.length:0);return{type:u,timeout:d,propCount:p,hasTransform:u===ni&&/\b(transform|all)(,|$)/.test(n.transitionProperty)}}function gi(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map(((t,n)=>yi(t)+yi(e[n]))))}function yi(e){return 1e3*Number(e.slice(0,-1).replace(",","."))}function bi(){return document.body.offsetHeight}const wi=new WeakMap,xi=new WeakMap,_i={name:"TransitionGroup",props:(0,r.extend)({},si,{tag:String,moveClass:String}),setup(e,{slots:t}){const n=ar(),o=$t();let r,i;return mn((()=>{if(!r.length)return;const t=e.moveClass||`${e.name||"v"}-move`;if(!function(e,t,n){const o=e.cloneNode();e._vtc&&e._vtc.forEach((e=>{e.split(/\s+/).forEach((e=>e&&o.classList.remove(e)))}));n.split(/\s+/).forEach((e=>e&&o.classList.add(e))),o.style.display="none";const r=1===t.nodeType?t:t.parentNode;r.appendChild(o);const{hasTransform:i}=vi(o);return r.removeChild(o),i}(r[0].el,n.vnode.el,t))return;r.forEach(ki),r.forEach(Si);const o=r.filter(Ci);bi(),o.forEach((e=>{const n=e.el,o=n.style;di(n,t),o.transform=o.webkitTransform=o.transitionDuration="";const r=n._moveCb=e=>{e&&e.target!==n||e&&!/transform$/.test(e.propertyName)||(n.removeEventListener("transitionend",r),n._moveCb=null,pi(n,t))};n.addEventListener("transitionend",r)}))})),()=>{const s=ve(e),a=ci(s);let l=s.tag||xo;r=i,i=t.default?Yt(t.default()):[];for(let e=0;e<i.length;e++){const t=i[e];null!=t.key&&Qt(t,Ut(t,a,o,n))}if(r)for(let e=0;e<r.length;e++){const t=r[e];Qt(t,Ut(t,a,o,n)),wi.set(t,t.el.getBoundingClientRect())}return Io(l,null,i)}}};function ki(e){const t=e.el;t._moveCb&&t._moveCb(),t._enterCb&&t._enterCb()}function Si(e){xi.set(e,e.el.getBoundingClientRect())}function Ci(e){const t=wi.get(e),n=xi.get(e),o=t.left-n.left,r=t.top-n.top;if(o||r){const t=e.el.style;return t.transform=t.webkitTransform=`translate(${o}px,${r}px)`,t.transitionDuration="0s",e}}const Oi=e=>{const t=e.props["onUpdate:modelValue"];return(0,r.isArray)(t)?e=>(0,r.invokeArrayFns)(t,e):t};function Ti(e){e.target.composing=!0}function Ei(e){const t=e.target;t.composing&&(t.composing=!1,function(e,t){const n=document.createEvent("HTMLEvents");n.initEvent(t,!0,!0),e.dispatchEvent(n)}(t,"input"))}const Bi={created(e,{modifiers:{lazy:t,trim:n,number:o}},i){e._assign=Oi(i);const s=o||"number"===e.type;Yr(e,t?"change":"input",(t=>{if(t.target.composing)return;let o=e.value;n?o=o.trim():s&&(o=(0,r.toNumber)(o)),e._assign(o)})),n&&Yr(e,"change",(()=>{e.value=e.value.trim()})),t||(Yr(e,"compositionstart",Ti),Yr(e,"compositionend",Ei),Yr(e,"change",Ei))},mounted(e,{value:t}){e.value=null==t?"":t},beforeUpdate(e,{value:t,modifiers:{trim:n,number:o}},i){if(e._assign=Oi(i),e.composing)return;if(document.activeElement===e){if(n&&e.value.trim()===t)return;if((o||"number"===e.type)&&(0,r.toNumber)(e.value)===t)return}const s=null==t?"":t;e.value!==s&&(e.value=s)}},Mi={created(e,t,n){e._assign=Oi(n),Yr(e,"change",(()=>{const t=e._modelValue,n=Fi(e),o=e.checked,i=e._assign;if((0,r.isArray)(t)){const e=(0,r.looseIndexOf)(t,n),s=-1!==e;if(o&&!s)i(t.concat(n));else if(!o&&s){const n=[...t];n.splice(e,1),i(n)}}else if((0,r.isSet)(t)){const e=new Set(t);o?e.add(n):e.delete(n),i(e)}else i(Pi(e,o))}))},mounted:Ai,beforeUpdate(e,t,n){e._assign=Oi(n),Ai(e,t,n)}};function Ai(e,{value:t,oldValue:n},o){e._modelValue=t,(0,r.isArray)(t)?e.checked=(0,r.looseIndexOf)(t,o.props.value)>-1:(0,r.isSet)(t)?e.checked=t.has(o.props.value):t!==n&&(e.checked=(0,r.looseEqual)(t,Pi(e,!0)))}const Vi={created(e,{value:t},n){e.checked=(0,r.looseEqual)(t,n.props.value),e._assign=Oi(n),Yr(e,"change",(()=>{e._assign(Fi(e))}))},beforeUpdate(e,{value:t,oldValue:n},o){e._assign=Oi(o),t!==n&&(e.checked=(0,r.looseEqual)(t,o.props.value))}},Ni={created(e,{value:t,modifiers:{number:n}},o){const i=(0,r.isSet)(t);Yr(e,"change",(()=>{const t=Array.prototype.filter.call(e.options,(e=>e.selected)).map((e=>n?(0,r.toNumber)(Fi(e)):Fi(e)));e._assign(e.multiple?i?new Set(t):t:t[0])})),e._assign=Oi(o)},mounted(e,{value:t}){qi(e,t)},beforeUpdate(e,t,n){e._assign=Oi(n)},updated(e,{value:t}){qi(e,t)}};function qi(e,t){const n=e.multiple;if(!n||(0,r.isArray)(t)||(0,r.isSet)(t)){for(let o=0,i=e.options.length;o<i;o++){const i=e.options[o],s=Fi(i);if(n)(0,r.isArray)(t)?i.selected=(0,r.looseIndexOf)(t,s)>-1:i.selected=t.has(s);else if((0,r.looseEqual)(Fi(i),t))return void(e.selectedIndex!==o&&(e.selectedIndex=o))}n||-1===e.selectedIndex||(e.selectedIndex=-1)}}function Fi(e){return"_value"in e?e._value:e.value}function Pi(e,t){const n=t?"_trueValue":"_falseValue";return n in e?e[n]:t}const Li={created(e,t,n){Di(e,t,n,null,"created")},mounted(e,t,n){Di(e,t,n,null,"mounted")},beforeUpdate(e,t,n,o){Di(e,t,n,o,"beforeUpdate")},updated(e,t,n,o){Di(e,t,n,o,"updated")}};function Di(e,t,n,o,r){let i;switch(e.tagName){case"SELECT":i=Ni;break;case"TEXTAREA":i=Bi;break;default:switch(n.props&&n.props.type){case"checkbox":i=Mi;break;case"radio":i=Vi;break;default:i=Bi}}const s=i[r];s&&s(e,t,n,o)}const Ii=["ctrl","shift","alt","meta"],ji={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&0!==e.button,middle:e=>"button"in e&&1!==e.button,right:e=>"button"in e&&2!==e.button,exact:(e,t)=>Ii.some((n=>e[`${n}Key`]&&!t.includes(n)))},$i=(e,t)=>(n,...o)=>{for(let e=0;e<t.length;e++){const o=ji[t[e]];if(o&&o(n,t))return}return e(n,...o)},Ri={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},zi=(e,t)=>n=>{if(!("key"in n))return;const o=(0,r.hyphenate)(n.key);return t.some((e=>e===o||Ri[e]===o))?e(n):void 0},Hi={beforeMount(e,{value:t},{transition:n}){e._vod="none"===e.style.display?"":e.style.display,n&&t?n.beforeEnter(e):Ui(e,t)},mounted(e,{value:t},{transition:n}){n&&t&&n.enter(e)},updated(e,{value:t,oldValue:n},{transition:o}){!t!=!n&&(o?t?(o.beforeEnter(e),Ui(e,!0),o.enter(e)):o.leave(e,(()=>{Ui(e,!1)})):Ui(e,t))},beforeUnmount(e,{value:t}){Ui(e,t)}};function Ui(e,t){e.style.display=t?e._vod:"none"}const Ki=(0,r.extend)({patchProp:(e,t,n,o,i=!1,s,a,l,c)=>{switch(t){case"class":!function(e,t,n){if(null==t&&(t=""),n)e.setAttribute("class",t);else{const n=e._vtc;n&&(t=(t?[t,...n]:[...n]).join(" ")),e.className=t}}(e,o,i);break;case"style":!function(e,t,n){const o=e.style;if(n)if((0,r.isString)(n)){if(t!==n){const t=o.display;o.cssText=n,"_vod"in e&&(o.display=t)}}else{for(const e in n)jr(o,e,n[e]);if(t&&!(0,r.isString)(t))for(const e in t)null==n[e]&&jr(o,e,"")}else e.removeAttribute("style")}(e,n,o);break;default:(0,r.isOn)(t)?(0,r.isModelListener)(t)||Jr(e,t,0,o,a):function(e,t,n,o){if(o)return"innerHTML"===t||!!(t in e&&Zr.test(t)&&(0,r.isFunction)(n));if("spellcheck"===t||"draggable"===t)return!1;if("form"===t)return!1;if("list"===t&&"INPUT"===e.tagName)return!1;if("type"===t&&"TEXTAREA"===e.tagName)return!1;if(Zr.test(t)&&(0,r.isString)(n))return!1;return t in e}(e,t,o,i)?function(e,t,n,o,r,i,s){if("innerHTML"===t||"textContent"===t)return o&&s(o,r,i),void(e[t]=null==n?"":n);if("value"===t&&"PROGRESS"!==e.tagName){e._value=n;const o=null==n?"":n;return e.value!==o&&(e.value=o),void(null==n&&e.removeAttribute(t))}if(""===n||null==n){const o=typeof e[t];if(""===n&&"boolean"===o)return void(e[t]=!0);if(null==n&&"string"===o)return e[t]="",void e.removeAttribute(t);if("number"===o)return e[t]=0,void e.removeAttribute(t)}try{e[t]=n}catch(e){}}(e,t,o,s,a,l,c):("true-value"===t?e._trueValue=o:"false-value"===t&&(e._falseValue=o),function(e,t,n,o,i){if(o&&t.startsWith("xlink:"))null==n?e.removeAttributeNS(zr,t.slice(6,t.length)):e.setAttributeNS(zr,t,n);else{const o=(0,r.isSpecialBooleanAttr)(t);null==n||o&&!1===n?e.removeAttribute(t):e.setAttribute(t,o?"":n)}}(e,t,o,i))}},forcePatchProp:(e,t)=>"value"===t},Dr);let Wi,Qi=!1;function Yi(){return Wi||(Wi=oo(Ki))}function Ji(){return Wi=Qi?Wi:ro(Ki),Qi=!0,Wi}const Gi=(...e)=>{Yi().render(...e)},Zi=(...e)=>{Ji().hydrate(...e)},Xi=(...e)=>{const t=Yi().createApp(...e);const{mount:n}=t;return t.mount=e=>{const o=ts(e);if(!o)return;const i=t._component;(0,r.isFunction)(i)||i.render||i.template||(i.template=o.innerHTML),o.innerHTML="";const s=n(o,!1,o instanceof SVGElement);return o instanceof Element&&(o.removeAttribute("v-cloak"),o.setAttribute("data-v-app","")),s},t},es=(...e)=>{const t=Ji().createApp(...e);const{mount:n}=t;return t.mount=e=>{const t=ts(e);if(t)return n(t,!0,t instanceof SVGElement)},t};function ts(e){if((0,r.isString)(e)){return document.querySelector(e)}return e}function ns(e){throw e}function os(e){}function rs(e,t,n,o){const r=new SyntaxError(String(e));return r.code=e,r.loc=t,r}const is=Symbol(""),ss=Symbol(""),as=Symbol(""),ls=Symbol(""),cs=Symbol(""),us=Symbol(""),ds=Symbol(""),ps=Symbol(""),fs=Symbol(""),hs=Symbol(""),ms=Symbol(""),vs=Symbol(""),gs=Symbol(""),ys=Symbol(""),bs=Symbol(""),ws=Symbol(""),xs=Symbol(""),_s=Symbol(""),ks=Symbol(""),Ss=Symbol(""),Cs=Symbol(""),Os=Symbol(""),Ts=Symbol(""),Es=Symbol(""),Bs=Symbol(""),Ms=Symbol(""),As=Symbol(""),Vs=Symbol(""),Ns=Symbol(""),qs=Symbol(""),Fs=Symbol(""),Ps=Symbol(""),Ls={[is]:"Fragment",[ss]:"Teleport",[as]:"Suspense",[ls]:"KeepAlive",[cs]:"BaseTransition",[us]:"openBlock",[ds]:"createBlock",[ps]:"createVNode",[fs]:"createCommentVNode",[hs]:"createTextVNode",[ms]:"createStaticVNode",[vs]:"resolveComponent",[gs]:"resolveDynamicComponent",[ys]:"resolveDirective",[bs]:"resolveFilter",[ws]:"withDirectives",[xs]:"renderList",[_s]:"renderSlot",[ks]:"createSlots",[Ss]:"toDisplayString",[Cs]:"mergeProps",[Os]:"toHandlers",[Ts]:"camelize",[Es]:"capitalize",[Bs]:"toHandlerKey",[Ms]:"setBlockTracking",[As]:"pushScopeId",[Vs]:"popScopeId",[Ns]:"withScopeId",[qs]:"withCtx",[Fs]:"unref",[Ps]:"isRef"};const Ds={source:"",start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0}};function Is(e,t,n,o,r,i,s,a=!1,l=!1,c=Ds){return e&&(a?(e.helper(us),e.helper(ds)):e.helper(ps),s&&e.helper(ws)),{type:13,tag:t,props:n,children:o,patchFlag:r,dynamicProps:i,directives:s,isBlock:a,disableTracking:l,loc:c}}function js(e,t=Ds){return{type:17,loc:t,elements:e}}function $s(e,t=Ds){return{type:15,loc:t,properties:e}}function Rs(e,t){return{type:16,loc:Ds,key:(0,r.isString)(e)?zs(e,!0):e,value:t}}function zs(e,t,n=Ds,o=0){return{type:4,loc:n,content:e,isStatic:t,constType:t?3:o}}function Hs(e,t=Ds){return{type:8,loc:t,children:e}}function Us(e,t=[],n=Ds){return{type:14,loc:n,callee:e,arguments:t}}function Ks(e,t,n=!1,o=!1,r=Ds){return{type:18,params:e,returns:t,newline:n,isSlot:o,loc:r}}function Ws(e,t,n,o=!0){return{type:19,test:e,consequent:t,alternate:n,newline:o,loc:Ds}}const Qs=e=>4===e.type&&e.isStatic,Ys=(e,t)=>e===t||e===(0,r.hyphenate)(t);function Js(e){return Ys(e,"Teleport")?ss:Ys(e,"Suspense")?as:Ys(e,"KeepAlive")?ls:Ys(e,"BaseTransition")?cs:void 0}const Gs=/^\d|[^\$\w]/,Zs=e=>!Gs.test(e),Xs=/^[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*(?:\s*\.\s*[A-Za-z_$\xA0-\uFFFF][\w$\xA0-\uFFFF]*|\[(.+)\])*$/,ea=e=>{if(!e)return!1;const t=Xs.exec(e.trim());return!!t&&(!t[1]||(!/[\[\]]/.test(t[1])||ea(t[1].trim())))};function ta(e,t,n){const o={source:e.source.substr(t,n),start:na(e.start,e.source,t),end:e.end};return null!=n&&(o.end=na(e.start,e.source,t+n)),o}function na(e,t,n=t.length){return oa((0,r.extend)({},e),t,n)}function oa(e,t,n=t.length){let o=0,r=-1;for(let e=0;e<n;e++)10===t.charCodeAt(e)&&(o++,r=e);return e.offset+=n,e.line+=o,e.column=-1===r?e.column+n:n-r,e}function ra(e,t,n=!1){for(let o=0;o<e.props.length;o++){const i=e.props[o];if(7===i.type&&(n||i.exp)&&((0,r.isString)(t)?i.name===t:t.test(i.name)))return i}}function ia(e,t,n=!1,o=!1){for(let r=0;r<e.props.length;r++){const i=e.props[r];if(6===i.type){if(n)continue;if(i.name===t&&(i.value||o))return i}else if("bind"===i.name&&(i.exp||o)&&sa(i.arg,t))return i}}function sa(e,t){return!(!e||!Qs(e)||e.content!==t)}function aa(e){return 5===e.type||2===e.type}function la(e){return 7===e.type&&"slot"===e.name}function ca(e){return 1===e.type&&3===e.tagType}function ua(e){return 1===e.type&&2===e.tagType}function da(e,t,n){let o;const i=13===e.type?e.props:e.arguments[2];if(null==i||(0,r.isString)(i))o=$s([t]);else if(14===i.type){const e=i.arguments[0];(0,r.isString)(e)||15!==e.type?i.callee===Os?o=Us(n.helper(Cs),[$s([t]),i]):i.arguments.unshift($s([t])):e.properties.unshift(t),!o&&(o=i)}else if(15===i.type){let e=!1;if(4===t.key.type){const n=t.key.content;e=i.properties.some((e=>4===e.key.type&&e.key.content===n))}e||i.properties.unshift(t),o=i}else o=Us(n.helper(Cs),[$s([t]),i]);13===e.type?e.props=o:e.arguments[2]=o}function pa(e,t){return`_${t}_${e.replace(/[^\w]/g,"_")}`}function fa(e,t){const n=t.options?t.options.compatConfig:t.compatConfig,o=n&&n[e];return"MODE"===e?o||3:o}function ha(e,t){const n=fa("MODE",t),o=fa(e,t);return 3===n?!0===o:!1!==o}function ma(e,t,n,...o){return ha(e,t)}const va=/&(gt|lt|amp|apos|quot);/g,ga={gt:">",lt:"<",amp:"&",apos:"'",quot:'"'},ya={delimiters:["{{","}}"],getNamespace:()=>0,getTextMode:()=>0,isVoidTag:r.NO,isPreTag:r.NO,isCustomElement:r.NO,decodeEntities:e=>e.replace(va,((e,t)=>ga[t])),onError:ns,onWarn:os,comments:!1};function ba(e,t={}){const n=function(e,t){const n=(0,r.extend)({},ya);for(const e in t)n[e]=t[e]||ya[e];return{options:n,column:1,line:1,offset:0,originalSource:e,source:e,inPre:!1,inVPre:!1,onWarn:n.onWarn}}(e,t),o=Na(n);return function(e,t=Ds){return{type:0,children:e,helpers:[],components:[],directives:[],hoists:[],imports:[],cached:0,temps:0,codegenNode:void 0,loc:t}}(wa(n,0,[]),qa(n,o))}function wa(e,t,n){const o=Fa(n),i=o?o.ns:0,s=[];for(;!$a(e,t,n);){const a=e.source;let l;if(0===t||1===t)if(!e.inVPre&&Pa(a,e.options.delimiters[0]))l=Ma(e,t);else if(0===t&&"<"===a[0])if(1===a.length)ja(e,5,1);else if("!"===a[1])Pa(a,"\x3c!--")?l=ka(e):Pa(a,"<!DOCTYPE")?l=Sa(e):Pa(a,"<![CDATA[")?0!==i?l=_a(e,n):(ja(e,1),l=Sa(e)):(ja(e,11),l=Sa(e));else if("/"===a[1])if(2===a.length)ja(e,5,2);else{if(">"===a[2]){ja(e,14,2),La(e,3);continue}if(/[a-z]/i.test(a[2])){ja(e,23),Ta(e,1,o);continue}ja(e,12,2),l=Sa(e)}else/[a-z]/i.test(a[1])?(l=Ca(e,n),ha("COMPILER_NATIVE_TEMPLATE",e)&&l&&"template"===l.tag&&!l.props.some((e=>7===e.type&&Oa(e.name)))&&(l=l.children)):"?"===a[1]?(ja(e,21,1),l=Sa(e)):ja(e,12,1);if(l||(l=Aa(e,t)),(0,r.isArray)(l))for(let e=0;e<l.length;e++)xa(s,l[e]);else xa(s,l)}let a=!1;if(2!==t&&1!==t){const t="preserve"===e.options.whitespace;for(let n=0;n<s.length;n++){const o=s[n];if(!e.inPre&&2===o.type)if(/[^\t\r\n\f ]/.test(o.content))t||(o.content=o.content.replace(/[\t\r\n\f ]+/g," "));else{const e=s[n-1],r=s[n+1];!e||!r||!t&&(3===e.type||3===r.type||1===e.type&&1===r.type&&/[\r\n]/.test(o.content))?(a=!0,s[n]=null):o.content=" "}3!==o.type||e.options.comments||(a=!0,s[n]=null)}if(e.inPre&&o&&e.options.isPreTag(o.tag)){const e=s[0];e&&2===e.type&&(e.content=e.content.replace(/^\r?\n/,""))}}return a?s.filter(Boolean):s}function xa(e,t){if(2===t.type){const n=Fa(e);if(n&&2===n.type&&n.loc.end.offset===t.loc.start.offset)return n.content+=t.content,n.loc.end=t.loc.end,void(n.loc.source+=t.loc.source)}e.push(t)}function _a(e,t){La(e,9);const n=wa(e,3,t);return 0===e.source.length?ja(e,6):La(e,3),n}function ka(e){const t=Na(e);let n;const o=/--(\!)?>/.exec(e.source);if(o){o.index<=3&&ja(e,0),o[1]&&ja(e,10),n=e.source.slice(4,o.index);const t=e.source.slice(0,o.index);let r=1,i=0;for(;-1!==(i=t.indexOf("\x3c!--",r));)La(e,i-r+1),i+4<t.length&&ja(e,16),r=i+1;La(e,o.index+o[0].length-r+1)}else n=e.source.slice(4),La(e,e.source.length),ja(e,7);return{type:3,content:n,loc:qa(e,t)}}function Sa(e){const t=Na(e),n="?"===e.source[1]?1:2;let o;const r=e.source.indexOf(">");return-1===r?(o=e.source.slice(n),La(e,e.source.length)):(o=e.source.slice(n,r),La(e,r+1)),{type:3,content:o,loc:qa(e,t)}}function Ca(e,t){const n=e.inPre,o=e.inVPre,r=Fa(t),i=Ta(e,0,r),s=e.inPre&&!n,a=e.inVPre&&!o;if(i.isSelfClosing||e.options.isVoidTag(i.tag))return i;t.push(i);const l=e.options.getTextMode(i,r),c=wa(e,l,t);t.pop();{const t=i.props.find((e=>6===e.type&&"inline-template"===e.name));if(t&&ma("COMPILER_INLINE_TEMPLATE",e,t.loc)){const n=qa(e,i.loc.end);t.value={type:2,content:n.source,loc:n}}}if(i.children=c,Ra(e.source,i.tag))Ta(e,1,r);else if(ja(e,24,0,i.loc.start),0===e.source.length&&"script"===i.tag.toLowerCase()){const t=c[0];t&&Pa(t.loc.source,"\x3c!--")&&ja(e,8)}return i.loc=qa(e,i.loc.start),s&&(e.inPre=!1),a&&(e.inVPre=!1),i}const Oa=(0,r.makeMap)("if,else,else-if,for,slot");function Ta(e,t,n){const o=Na(e),i=/^<\/?([a-z][^\t\r\n\f />]*)/i.exec(e.source),s=i[1],a=e.options.getNamespace(s,n);La(e,i[0].length),Da(e);const l=Na(e),c=e.source;let u=Ea(e,t);e.options.isPreTag(s)&&(e.inPre=!0),0===t&&!e.inVPre&&u.some((e=>7===e.type&&"pre"===e.name))&&(e.inVPre=!0,(0,r.extend)(e,l),e.source=c,u=Ea(e,t).filter((e=>"v-pre"!==e.name)));let d=!1;if(0===e.source.length?ja(e,9):(d=Pa(e.source,"/>"),1===t&&d&&ja(e,4),La(e,d?2:1)),1===t)return;let p=0;const f=e.options;if(!e.inVPre&&!f.isCustomElement(s)){const t=u.some((t=>{if("is"===t.name)return 7===t.type||(!(!t.value||!t.value.content.startsWith("vue:"))||(!!ma("COMPILER_IS_ON_ELEMENT",e,t.loc)||void 0))}));f.isNativeTag&&!t?f.isNativeTag(s)||(p=1):(t||Js(s)||f.isBuiltInComponent&&f.isBuiltInComponent(s)||/^[A-Z]/.test(s)||"component"===s)&&(p=1),"slot"===s?p=2:"template"===s&&u.some((e=>7===e.type&&Oa(e.name)))&&(p=3)}return{type:1,ns:a,tag:s,tagType:p,props:u,isSelfClosing:d,children:[],loc:qa(e,o),codegenNode:void 0}}function Ea(e,t){const n=[],o=new Set;for(;e.source.length>0&&!Pa(e.source,">")&&!Pa(e.source,"/>");){if(Pa(e.source,"/")){ja(e,22),La(e,1),Da(e);continue}1===t&&ja(e,3);const r=Ba(e,o);0===t&&n.push(r),/^[^\t\r\n\f />]/.test(e.source)&&ja(e,15),Da(e)}return n}function Ba(e,t){const n=Na(e),o=/^[^\t\r\n\f />][^\t\r\n\f />=]*/.exec(e.source)[0];t.has(o)&&ja(e,2),t.add(o),"="===o[0]&&ja(e,19);{const t=/["'<]/g;let n;for(;n=t.exec(o);)ja(e,17,n.index)}let r;La(e,o.length),/^[\t\r\n\f ]*=/.test(e.source)&&(Da(e),La(e,1),Da(e),r=function(e){const t=Na(e);let n;const o=e.source[0],r='"'===o||"'"===o;if(r){La(e,1);const t=e.source.indexOf(o);-1===t?n=Va(e,e.source.length,4):(n=Va(e,t,4),La(e,1))}else{const t=/^[^\t\r\n\f >]+/.exec(e.source);if(!t)return;const o=/["'<=`]/g;let r;for(;r=o.exec(t[0]);)ja(e,18,r.index);n=Va(e,t[0].length,4)}return{content:n,isQuoted:r,loc:qa(e,t)}}(e),r||ja(e,13));const i=qa(e,n);if(!e.inVPre&&/^(v-|:|@|#)/.test(o)){const t=/(?:^v-([a-z0-9-]+))?(?:(?::|^@|^#)(\[[^\]]+\]|[^\.]+))?(.+)?$/i.exec(o);let s,a=t[1]||(Pa(o,":")?"bind":Pa(o,"@")?"on":"slot");if(t[2]){const r="slot"===a,i=o.lastIndexOf(t[2]),l=qa(e,Ia(e,n,i),Ia(e,n,i+t[2].length+(r&&t[3]||"").length));let c=t[2],u=!0;c.startsWith("[")?(u=!1,c.endsWith("]")||ja(e,26),c=c.substr(1,c.length-2)):r&&(c+=t[3]||""),s={type:4,content:c,isStatic:u,constType:u?3:0,loc:l}}if(r&&r.isQuoted){const e=r.loc;e.start.offset++,e.start.column++,e.end=na(e.start,r.content),e.source=e.source.slice(1,-1)}const l=t[3]?t[3].substr(1).split("."):[];return"bind"===a&&s&&l.includes("sync")&&ma("COMPILER_V_BIND_SYNC",e,0,s.loc.source)&&(a="model",l.splice(l.indexOf("sync"),1)),{type:7,name:a,exp:r&&{type:4,content:r.content,isStatic:!1,constType:0,loc:r.loc},arg:s,modifiers:l,loc:i}}return{type:6,name:o,value:r&&{type:2,content:r.content,loc:r.loc},loc:i}}function Ma(e,t){const[n,o]=e.options.delimiters,r=e.source.indexOf(o,n.length);if(-1===r)return void ja(e,25);const i=Na(e);La(e,n.length);const s=Na(e),a=Na(e),l=r-n.length,c=e.source.slice(0,l),u=Va(e,l,t),d=u.trim(),p=u.indexOf(d);p>0&&oa(s,c,p);return oa(a,c,l-(u.length-d.length-p)),La(e,o.length),{type:5,content:{type:4,isStatic:!1,constType:0,content:d,loc:qa(e,s,a)},loc:qa(e,i)}}function Aa(e,t){const n=["<",e.options.delimiters[0]];3===t&&n.push("]]>");let o=e.source.length;for(let t=0;t<n.length;t++){const r=e.source.indexOf(n[t],1);-1!==r&&o>r&&(o=r)}const r=Na(e);return{type:2,content:Va(e,o,t),loc:qa(e,r)}}function Va(e,t,n){const o=e.source.slice(0,t);return La(e,t),2===n||3===n||-1===o.indexOf("&")?o:e.options.decodeEntities(o,4===n)}function Na(e){const{column:t,line:n,offset:o}=e;return{column:t,line:n,offset:o}}function qa(e,t,n){return{start:t,end:n=n||Na(e),source:e.originalSource.slice(t.offset,n.offset)}}function Fa(e){return e[e.length-1]}function Pa(e,t){return e.startsWith(t)}function La(e,t){const{source:n}=e;oa(e,n,t),e.source=n.slice(t)}function Da(e){const t=/^[\t\r\n\f ]+/.exec(e.source);t&&La(e,t[0].length)}function Ia(e,t,n){return na(t,e.originalSource.slice(t.offset,n),n)}function ja(e,t,n,o=Na(e)){n&&(o.offset+=n,o.column+=n),e.options.onError(rs(t,{start:o,end:o,source:""}))}function $a(e,t,n){const o=e.source;switch(t){case 0:if(Pa(o,"</"))for(let e=n.length-1;e>=0;--e)if(Ra(o,n[e].tag))return!0;break;case 1:case 2:{const e=Fa(n);if(e&&Ra(o,e.tag))return!0;break}case 3:if(Pa(o,"]]>"))return!0}return!o}function Ra(e,t){return Pa(e,"</")&&e.substr(2,t.length).toLowerCase()===t.toLowerCase()&&/[\t\r\n\f />]/.test(e[2+t.length]||">")}function za(e,t){Ua(e,t,Ha(e,e.children[0]))}function Ha(e,t){const{children:n}=e;return 1===n.length&&1===t.type&&!ua(t)}function Ua(e,t,n=!1){let o=!1,r=!0;const{children:i}=e;for(let e=0;e<i.length;e++){const s=i[e];if(1===s.type&&0===s.tagType){const e=n?0:Ka(s,t);if(e>0){if(e<3&&(r=!1),e>=2){s.codegenNode.patchFlag="-1",s.codegenNode=t.hoist(s.codegenNode),o=!0;continue}}else{const e=s.codegenNode;if(13===e.type){const n=Ya(e);if((!n||512===n||1===n)&&Wa(s,t)>=2){const n=Qa(s);n&&(e.props=t.hoist(n))}}}}else if(12===s.type){const e=Ka(s.content,t);e>0&&(e<3&&(r=!1),e>=2&&(s.codegenNode=t.hoist(s.codegenNode),o=!0))}if(1===s.type){const e=1===s.tagType;e&&t.scopes.vSlot++,Ua(s,t),e&&t.scopes.vSlot--}else if(11===s.type)Ua(s,t,1===s.children.length);else if(9===s.type)for(let e=0;e<s.branches.length;e++)Ua(s.branches[e],t,1===s.branches[e].children.length)}r&&o&&t.transformHoist&&t.transformHoist(i,t,e)}function Ka(e,t){const{constantCache:n}=t;switch(e.type){case 1:if(0!==e.tagType)return 0;const o=n.get(e);if(void 0!==o)return o;const i=e.codegenNode;if(13!==i.type)return 0;if(Ya(i))return n.set(e,0),0;{let o=3;const r=Wa(e,t);if(0===r)return n.set(e,0),0;r<o&&(o=r);for(let r=0;r<e.children.length;r++){const i=Ka(e.children[r],t);if(0===i)return n.set(e,0),0;i<o&&(o=i)}if(o>1)for(let r=0;r<e.props.length;r++){const i=e.props[r];if(7===i.type&&"bind"===i.name&&i.exp){const r=Ka(i.exp,t);if(0===r)return n.set(e,0),0;r<o&&(o=r)}}return i.isBlock&&(t.removeHelper(us),t.removeHelper(ds),i.isBlock=!1,t.helper(ps)),n.set(e,o),o}case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Ka(e.content,t);case 4:return e.constType;case 8:let s=3;for(let n=0;n<e.children.length;n++){const o=e.children[n];if((0,r.isString)(o)||(0,r.isSymbol)(o))continue;const i=Ka(o,t);if(0===i)return 0;i<s&&(s=i)}return s;default:return 0}}function Wa(e,t){let n=3;const o=Qa(e);if(o&&15===o.type){const{properties:e}=o;for(let o=0;o<e.length;o++){const{key:r,value:i}=e[o],s=Ka(r,t);if(0===s)return s;if(s<n&&(n=s),4!==i.type)return 0;const a=Ka(i,t);if(0===a)return a;a<n&&(n=a)}}return n}function Qa(e){const t=e.codegenNode;if(13===t.type)return t.props}function Ya(e){const t=e.patchFlag;return t?parseInt(t,10):void 0}function Ja(e,{filename:t="",prefixIdentifiers:n=!1,hoistStatic:o=!1,cacheHandlers:i=!1,nodeTransforms:s=[],directiveTransforms:a={},transformHoist:l=null,isBuiltInComponent:c=r.NOOP,isCustomElement:u=r.NOOP,expressionPlugins:d=[],scopeId:p=null,slotted:f=!0,ssr:h=!1,ssrCssVars:m="",bindingMetadata:v=r.EMPTY_OBJ,inline:g=!1,isTS:y=!1,onError:b=ns,onWarn:w=os,compatConfig:x}){const _=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),k={selfName:_&&(0,r.capitalize)((0,r.camelize)(_[1])),prefixIdentifiers:n,hoistStatic:o,cacheHandlers:i,nodeTransforms:s,directiveTransforms:a,transformHoist:l,isBuiltInComponent:c,isCustomElement:u,expressionPlugins:d,scopeId:p,slotted:f,ssr:h,ssrCssVars:m,bindingMetadata:v,inline:g,isTS:y,onError:b,onWarn:w,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],constantCache:new Map,temps:0,cached:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,currentNode:e,childIndex:0,helper(e){const t=k.helpers.get(e)||0;return k.helpers.set(e,t+1),e},removeHelper(e){const t=k.helpers.get(e);if(t){const n=t-1;n?k.helpers.set(e,n):k.helpers.delete(e)}},helperString:e=>`_${Ls[k.helper(e)]}`,replaceNode(e){k.parent.children[k.childIndex]=k.currentNode=e},removeNode(e){const t=k.parent.children,n=e?t.indexOf(e):k.currentNode?k.childIndex:-1;e&&e!==k.currentNode?k.childIndex>n&&(k.childIndex--,k.onNodeRemoved()):(k.currentNode=null,k.onNodeRemoved()),k.parent.children.splice(n,1)},onNodeRemoved:()=>{},addIdentifiers(e){},removeIdentifiers(e){},hoist(e){k.hoists.push(e);const t=zs(`_hoisted_${k.hoists.length}`,!1,e.loc,2);return t.hoisted=e,t},cache:(e,t=!1)=>function(e,t,n=!1){return{type:20,index:e,value:t,isVNode:n,loc:Ds}}(++k.cached,e,t)};return k.filters=new Set,k}function Ga(e,t){const n=Ja(e,t);Za(e,n),t.hoistStatic&&za(e,n),t.ssr||function(e,t){const{helper:n,removeHelper:o}=t,{children:i}=e;if(1===i.length){const t=i[0];if(Ha(e,t)&&t.codegenNode){const r=t.codegenNode;13===r.type&&(r.isBlock||(o(ps),r.isBlock=!0,n(us),n(ds))),e.codegenNode=r}else e.codegenNode=t}else if(i.length>1){let o=64;r.PatchFlagNames[64];0,e.codegenNode=Is(t,n(is),void 0,e.children,o+"",void 0,void 0,!0)}}(e,n),e.helpers=[...n.helpers.keys()],e.components=[...n.components],e.directives=[...n.directives],e.imports=n.imports,e.hoists=n.hoists,e.temps=n.temps,e.cached=n.cached,e.filters=[...n.filters]}function Za(e,t){t.currentNode=e;const{nodeTransforms:n}=t,o=[];for(let i=0;i<n.length;i++){const s=n[i](e,t);if(s&&((0,r.isArray)(s)?o.push(...s):o.push(s)),!t.currentNode)return;e=t.currentNode}switch(e.type){case 3:t.ssr||t.helper(fs);break;case 5:t.ssr||t.helper(Ss);break;case 9:for(let n=0;n<e.branches.length;n++)Za(e.branches[n],t);break;case 10:case 11:case 1:case 0:!function(e,t){let n=0;const o=()=>{n--};for(;n<e.children.length;n++){const i=e.children[n];(0,r.isString)(i)||(t.parent=e,t.childIndex=n,t.onNodeRemoved=o,Za(i,t))}}(e,t)}t.currentNode=e;let i=o.length;for(;i--;)o[i]()}function Xa(e,t){const n=(0,r.isString)(e)?t=>t===e:t=>e.test(t);return(e,o)=>{if(1===e.type){const{props:r}=e;if(3===e.tagType&&r.some(la))return;const i=[];for(let s=0;s<r.length;s++){const a=r[s];if(7===a.type&&n(a.name)){r.splice(s,1),s--;const n=t(e,a,o);n&&i.push(n)}}return i}}}const el="/*#__PURE__*/";function tl(e,t={}){const n=function(e,{mode:t="function",prefixIdentifiers:n="module"===t,sourceMap:o=!1,filename:r="template.vue.html",scopeId:i=null,optimizeImports:s=!1,runtimeGlobalName:a="Vue",runtimeModuleName:l="vue",ssr:c=!1}){const u={mode:t,prefixIdentifiers:n,sourceMap:o,filename:r,scopeId:i,optimizeImports:s,runtimeGlobalName:a,runtimeModuleName:l,ssr:c,source:e.loc.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper:e=>`_${Ls[e]}`,push(e,t){u.code+=e},indent(){d(++u.indentLevel)},deindent(e=!1){e?--u.indentLevel:d(--u.indentLevel)},newline(){d(u.indentLevel)}};function d(e){u.push("\n"+" ".repeat(e))}return u}(e,t);t.onContextCreated&&t.onContextCreated(n);const{mode:o,push:r,prefixIdentifiers:i,indent:s,deindent:a,newline:l,scopeId:c,ssr:u}=n,d=e.helpers.length>0,p=!i&&"module"!==o;!function(e,t){const{ssr:n,prefixIdentifiers:o,push:r,newline:i,runtimeModuleName:s,runtimeGlobalName:a}=t,l=a,c=e=>`${Ls[e]}: _${Ls[e]}`;if(e.helpers.length>0&&(r(`const _Vue = ${l}\n`),e.hoists.length)){r(`const { ${[ps,fs,hs,ms].filter((t=>e.helpers.includes(t))).map(c).join(", ")} } = _Vue\n`)}(function(e,t){if(!e.length)return;t.pure=!0;const{push:n,newline:o,helper:r,scopeId:i,mode:s}=t;o(),e.forEach(((e,r)=>{e&&(n(`const _hoisted_${r+1} = `),il(e,t),o())})),t.pure=!1})(e.hoists,t),i(),r("return ")}(e,n);if(r(`function ${u?"ssrRender":"render"}(${(u?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ")}) {`),s(),p&&(r("with (_ctx) {"),s(),d&&(r(`const { ${e.helpers.map((e=>`${Ls[e]}: _${Ls[e]}`)).join(", ")} } = _Vue`),r("\n"),l())),e.components.length&&(nl(e.components,"component",n),(e.directives.length||e.temps>0)&&l()),e.directives.length&&(nl(e.directives,"directive",n),e.temps>0&&l()),e.filters&&e.filters.length&&(l(),nl(e.filters,"filter",n),l()),e.temps>0){r("let ");for(let t=0;t<e.temps;t++)r(`${t>0?", ":""}_temp${t}`)}return(e.components.length||e.directives.length||e.temps)&&(r("\n"),l()),u||r("return "),e.codegenNode?il(e.codegenNode,n):r("null"),p&&(a(),r("}")),a(),r("}"),{ast:e,code:n.code,preamble:"",map:n.map?n.map.toJSON():void 0}}function nl(e,t,{helper:n,push:o,newline:r}){const i=n("filter"===t?bs:"component"===t?vs:ys);for(let n=0;n<e.length;n++){let s=e[n];const a=s.endsWith("__self");a&&(s=s.slice(0,-6)),o(`const ${pa(s,t)} = ${i}(${JSON.stringify(s)}${a?", true":""})`),n<e.length-1&&r()}}function ol(e,t){const n=e.length>3||!1;t.push("["),n&&t.indent(),rl(e,t,n),n&&t.deindent(),t.push("]")}function rl(e,t,n=!1,o=!0){const{push:i,newline:s}=t;for(let a=0;a<e.length;a++){const l=e[a];(0,r.isString)(l)?i(l):(0,r.isArray)(l)?ol(l,t):il(l,t),a<e.length-1&&(n?(o&&i(","),s()):o&&i(", "))}}function il(e,t){if((0,r.isString)(e))t.push(e);else if((0,r.isSymbol)(e))t.push(t.helper(e));else switch(e.type){case 1:case 9:case 11:il(e.codegenNode,t);break;case 2:!function(e,t){t.push(JSON.stringify(e.content),e)}(e,t);break;case 4:sl(e,t);break;case 5:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(el);n(`${o(Ss)}(`),il(e.content,t),n(")")}(e,t);break;case 12:il(e.codegenNode,t);break;case 8:al(e,t);break;case 3:!function(e,t){const{push:n,helper:o,pure:r}=t;r&&n(el);n(`${o(fs)}(${JSON.stringify(e.content)})`,e)}(e,t);break;case 13:!function(e,t){const{push:n,helper:o,pure:r}=t,{tag:i,props:s,children:a,patchFlag:l,dynamicProps:c,directives:u,isBlock:d,disableTracking:p}=e;u&&n(o(ws)+"(");d&&n(`(${o(us)}(${p?"true":""}), `);r&&n(el);n(o(d?ds:ps)+"(",e),rl(function(e){let t=e.length;for(;t--&&null==e[t];);return e.slice(0,t+1).map((e=>e||"null"))}([i,s,a,l,c]),t),n(")"),d&&n(")");u&&(n(", "),il(u,t),n(")"))}(e,t);break;case 14:!function(e,t){const{push:n,helper:o,pure:i}=t,s=(0,r.isString)(e.callee)?e.callee:o(e.callee);i&&n(el);n(s+"(",e),rl(e.arguments,t),n(")")}(e,t);break;case 15:!function(e,t){const{push:n,indent:o,deindent:r,newline:i}=t,{properties:s}=e;if(!s.length)return void n("{}",e);const a=s.length>1||!1;n(a?"{":"{ "),a&&o();for(let e=0;e<s.length;e++){const{key:o,value:r}=s[e];ll(o,t),n(": "),il(r,t),e<s.length-1&&(n(","),i())}a&&r(),n(a?"}":" }")}(e,t);break;case 17:!function(e,t){ol(e.elements,t)}(e,t);break;case 18:!function(e,t){const{push:n,indent:o,deindent:i,scopeId:s,mode:a}=t,{params:l,returns:c,body:u,newline:d,isSlot:p}=e;p&&n(`_${Ls[qs]}(`);n("(",e),(0,r.isArray)(l)?rl(l,t):l&&il(l,t);n(") => "),(d||u)&&(n("{"),o());c?(d&&n("return "),(0,r.isArray)(c)?ol(c,t):il(c,t)):u&&il(u,t);(d||u)&&(i(),n("}"));p&&(e.isNonScopedSlot&&n(", undefined, true"),n(")"))}(e,t);break;case 19:!function(e,t){const{test:n,consequent:o,alternate:r,newline:i}=e,{push:s,indent:a,deindent:l,newline:c}=t;if(4===n.type){const e=!Zs(n.content);e&&s("("),sl(n,t),e&&s(")")}else s("("),il(n,t),s(")");i&&a(),t.indentLevel++,i||s(" "),s("? "),il(o,t),t.indentLevel--,i&&c(),i||s(" "),s(": ");const u=19===r.type;u||t.indentLevel++;il(r,t),u||t.indentLevel--;i&&l(!0)}(e,t);break;case 20:!function(e,t){const{push:n,helper:o,indent:r,deindent:i,newline:s}=t;n(`_cache[${e.index}] || (`),e.isVNode&&(r(),n(`${o(Ms)}(-1),`),s());n(`_cache[${e.index}] = `),il(e.value,t),e.isVNode&&(n(","),s(),n(`${o(Ms)}(1),`),s(),n(`_cache[${e.index}]`),i());n(")")}(e,t);break;case 21:case 22:case 23:case 24:case 25:case 26:case 10:break;default:0}}function sl(e,t){const{content:n,isStatic:o}=e;t.push(o?JSON.stringify(n):n,e)}function al(e,t){for(let n=0;n<e.children.length;n++){const o=e.children[n];(0,r.isString)(o)?t.push(o):il(o,t)}}function ll(e,t){const{push:n}=t;if(8===e.type)n("["),al(e,t),n("]");else if(e.isStatic){n(Zs(e.content)?e.content:JSON.stringify(e.content),e)}else n(`[${e.content}]`,e)}new RegExp("\\b"+"do,if,for,let,new,try,var,case,else,with,await,break,catch,class,const,super,throw,while,yield,delete,export,import,return,switch,default,extends,finally,continue,debugger,function,arguments,typeof,void".split(",").join("\\b|\\b")+"\\b");const cl=Xa(/^(if|else|else-if)$/,((e,t,n)=>function(e,t,n,o){if(!("else"===t.name||t.exp&&t.exp.content.trim())){const o=t.exp?t.exp.loc:e.loc;n.onError(rs(27,t.loc)),t.exp=zs("true",!1,o)}0;if("if"===t.name){const r=ul(e,t),i={type:9,loc:e.loc,branches:[r]};if(n.replaceNode(i),o)return o(i,r,!0)}else{const r=n.parent.children;let i=r.indexOf(e);for(;i-- >=-1;){const s=r[i];if(!s||2!==s.type||s.content.trim().length){if(s&&9===s.type){n.removeNode();const r=ul(e,t);0,s.branches.push(r);const i=o&&o(s,r,!1);Za(r,n),i&&i(),n.currentNode=null}else n.onError(rs(29,e.loc));break}n.removeNode(s)}}}(e,t,n,((e,t,o)=>{const r=n.parent.children;let i=r.indexOf(e),s=0;for(;i-- >=0;){const e=r[i];e&&9===e.type&&(s+=e.branches.length)}return()=>{if(o)e.codegenNode=dl(t,s,n);else{(function(e){for(;;)if(19===e.type){if(19!==e.alternate.type)return e;e=e.alternate}else 20===e.type&&(e=e.value)}(e.codegenNode)).alternate=dl(t,s+e.branches.length-1,n)}}}))));function ul(e,t){return{type:10,loc:e.loc,condition:"else"===t.name?void 0:t.exp,children:3!==e.tagType||ra(e,"for")?[e]:e.children,userKey:ia(e,"key")}}function dl(e,t,n){return e.condition?Ws(e.condition,pl(e,t,n),Us(n.helper(fs),['""',"true"])):pl(e,t,n)}function pl(e,t,n){const{helper:o,removeHelper:i}=n,s=Rs("key",zs(`${t}`,!1,Ds,2)),{children:a}=e,l=a[0];if(1!==a.length||1!==l.type){if(1===a.length&&11===l.type){const e=l.codegenNode;return da(e,s,n),e}{let t=64;r.PatchFlagNames[64];return Is(n,o(is),$s([s]),a,t+"",void 0,void 0,!0,!1,e.loc)}}{const e=l.codegenNode;return 13!==e.type||e.isBlock||(i(ps),e.isBlock=!0,o(us),o(ds)),da(e,s,n),e}}const fl=Xa("for",((e,t,n)=>{const{helper:o,removeHelper:r}=n;return function(e,t,n,o){if(!t.exp)return void n.onError(rs(30,t.loc));const r=gl(t.exp,n);if(!r)return void n.onError(rs(31,t.loc));const{addIdentifiers:i,removeIdentifiers:s,scopes:a}=n,{source:l,value:c,key:u,index:d}=r,p={type:11,loc:t.loc,source:l,valueAlias:c,keyAlias:u,objectIndexAlias:d,parseResult:r,children:ca(e)?e.children:[e]};n.replaceNode(p),a.vFor++;const f=o&&o(p);return()=>{a.vFor--,f&&f()}}(e,t,n,(t=>{const i=Us(o(xs),[t.source]),s=ia(e,"key"),a=s?Rs("key",6===s.type?zs(s.value.content,!0):s.exp):null,l=4===t.source.type&&t.source.constType>0,c=l?64:s?128:256;return t.codegenNode=Is(n,o(is),void 0,i,c+"",void 0,void 0,!0,!l,e.loc),()=>{let s;const c=ca(e),{children:u}=t;const d=1!==u.length||1!==u[0].type,p=ua(e)?e:c&&1===e.children.length&&ua(e.children[0])?e.children[0]:null;p?(s=p.codegenNode,c&&a&&da(s,a,n)):d?s=Is(n,o(is),a?$s([a]):void 0,e.children,"64",void 0,void 0,!0):(s=u[0].codegenNode,c&&a&&da(s,a,n),s.isBlock!==!l&&(s.isBlock?(r(us),r(ds)):r(ps)),s.isBlock=!l,s.isBlock?(o(us),o(ds)):o(ps)),i.arguments.push(Ks(bl(t.parseResult),s,!0))}}))}));const hl=/([\s\S]*?)\s+(?:in|of)\s+([\s\S]*)/,ml=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,vl=/^\(|\)$/g;function gl(e,t){const n=e.loc,o=e.content,r=o.match(hl);if(!r)return;const[,i,s]=r,a={source:yl(n,s.trim(),o.indexOf(s,i.length)),value:void 0,key:void 0,index:void 0};let l=i.trim().replace(vl,"").trim();const c=i.indexOf(l),u=l.match(ml);if(u){l=l.replace(ml,"").trim();const e=u[1].trim();let t;if(e&&(t=o.indexOf(e,c+l.length),a.key=yl(n,e,t)),u[2]){const r=u[2].trim();r&&(a.index=yl(n,r,o.indexOf(r,a.key?t+e.length:c+l.length)))}}return l&&(a.value=yl(n,l,c)),a}function yl(e,t,n){return zs(t,!1,ta(e,n,t.length))}function bl({value:e,key:t,index:n}){const o=[];return e&&o.push(e),t&&(e||o.push(zs("_",!1)),o.push(t)),n&&(t||(e||o.push(zs("_",!1)),o.push(zs("__",!1))),o.push(n)),o}const wl=zs("undefined",!1),xl=(e,t)=>{if(1===e.type&&(1===e.tagType||3===e.tagType)){const n=ra(e,"slot");if(n)return n.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},_l=(e,t,n)=>Ks(e,t,!1,!0,t.length?t[0].loc:n);function kl(e,t,n=_l){t.helper(qs);const{children:o,loc:r}=e,i=[],s=[];let a=t.scopes.vSlot>0||t.scopes.vFor>0;const l=ra(e,"slot",!0);if(l){const{arg:e,exp:t}=l;e&&!Qs(e)&&(a=!0),i.push(Rs(e||zs("default",!0),n(t,o,r)))}let c=!1,u=!1;const d=[],p=new Set;for(let e=0;e<o.length;e++){const r=o[e];let f;if(!ca(r)||!(f=ra(r,"slot",!0))){3!==r.type&&d.push(r);continue}if(l){t.onError(rs(36,f.loc));break}c=!0;const{children:h,loc:m}=r,{arg:v=zs("default",!0),exp:g,loc:y}=f;let b;Qs(v)?b=v?v.content:"default":a=!0;const w=n(g,h,m);let x,_,k;if(x=ra(r,"if"))a=!0,s.push(Ws(x.exp,Sl(v,w),wl));else if(_=ra(r,/^else(-if)?$/,!0)){let n,r=e;for(;r--&&(n=o[r],3===n.type););if(n&&ca(n)&&ra(n,"if")){o.splice(e,1),e--;let t=s[s.length-1];for(;19===t.alternate.type;)t=t.alternate;t.alternate=_.exp?Ws(_.exp,Sl(v,w),wl):Sl(v,w)}else t.onError(rs(29,_.loc))}else if(k=ra(r,"for")){a=!0;const e=k.parseResult||gl(k.exp);e?s.push(Us(t.helper(xs),[e.source,Ks(bl(e),Sl(v,w),!0)])):t.onError(rs(31,k.loc))}else{if(b){if(p.has(b)){t.onError(rs(37,y));continue}p.add(b),"default"===b&&(u=!0)}i.push(Rs(v,w))}}if(!l){const e=(e,o)=>{const i=n(e,o,r);return t.compatConfig&&(i.isNonScopedSlot=!0),Rs("default",i)};c?d.length&&d.some((e=>Ol(e)))&&(u?t.onError(rs(38,d[0].loc)):i.push(e(void 0,d))):i.push(e(void 0,o))}const f=a?2:Cl(e.children)?3:1;let h=$s(i.concat(Rs("_",zs(f+"",!1))),r);return s.length&&(h=Us(t.helper(ks),[h,js(s)])),{slots:h,hasDynamicSlots:a}}function Sl(e,t){return $s([Rs("name",e),Rs("fn",t)])}function Cl(e){for(let t=0;t<e.length;t++){const n=e[t];switch(n.type){case 1:if(2===n.tagType||0===n.tagType&&Cl(n.children))return!0;break;case 9:if(Cl(n.branches))return!0;break;case 10:case 11:if(Cl(n.children))return!0}}return!1}function Ol(e){return 2!==e.type&&12!==e.type||(2===e.type?!!e.content.trim():Ol(e.content))}const Tl=new WeakMap,El=(e,t)=>function(){if(1!==(e=t.currentNode).type||0!==e.tagType&&1!==e.tagType)return;const{tag:n,props:o}=e,i=1===e.tagType;let s=i?function(e,t,n=!1){let{tag:o}=e;const r=Vl(o),i=ia(e,"is")||!r&&ra(e,"is");if(i)if(r||6!==i.type){const e=6===i.type?i.value&&zs(i.value.content,!0):i.exp;if(e)return Us(t.helper(gs),[e])}else o=i.value.content.replace(/^vue:/,"");const s=Js(o)||t.isBuiltInComponent(o);if(s)return n||t.helper(s),s;return t.helper(vs),t.components.add(o),pa(o,"component")}(e,t):`"${n}"`;let a,l,c,u,d,p,f=0,h=(0,r.isObject)(s)&&s.callee===gs||s===ss||s===as||!i&&("svg"===n||"foreignObject"===n||ia(e,"key",!0));if(o.length>0){const n=Bl(e,t);a=n.props,f=n.patchFlag,d=n.dynamicPropNames;const o=n.directives;p=o&&o.length?js(o.map((e=>function(e,t){const n=[],o=Tl.get(e);o?n.push(t.helperString(o)):(t.helper(ys),t.directives.add(e.name),n.push(pa(e.name,"directive")));const{loc:r}=e;e.exp&&n.push(e.exp);e.arg&&(e.exp||n.push("void 0"),n.push(e.arg));if(Object.keys(e.modifiers).length){e.arg||(e.exp||n.push("void 0"),n.push("void 0"));const t=zs("true",!1,r);n.push($s(e.modifiers.map((e=>Rs(e,t))),r))}return js(n,e.loc)}(e,t)))):void 0}if(e.children.length>0){s===ls&&(h=!0,f|=1024);if(i&&s!==ss&&s!==ls){const{slots:n,hasDynamicSlots:o}=kl(e,t);l=n,o&&(f|=1024)}else if(1===e.children.length&&s!==ss){const n=e.children[0],o=n.type,r=5===o||8===o;r&&0===Ka(n,t)&&(f|=1),l=r||2===o?n:e.children}else l=e.children}0!==f&&(c=String(f),d&&d.length&&(u=function(e){let t="[";for(let n=0,o=e.length;n<o;n++)t+=JSON.stringify(e[n]),n<o-1&&(t+=", ");return t+"]"}(d))),e.codegenNode=Is(t,s,a,l,c,u,p,!!h,!1,e.loc)};function Bl(e,t,n=e.props,o=!1){const{tag:i,loc:s}=e,a=1===e.tagType;let l=[];const c=[],u=[];let d=0,p=!1,f=!1,h=!1,m=!1,v=!1,g=!1;const y=[],b=({key:e,value:n})=>{if(Qs(e)){const o=e.content,i=(0,r.isOn)(o);if(a||!i||"onclick"===o.toLowerCase()||"onUpdate:modelValue"===o||(0,r.isReservedProp)(o)||(m=!0),i&&(0,r.isReservedProp)(o)&&(g=!0),20===n.type||(4===n.type||8===n.type)&&Ka(n,t)>0)return;"ref"===o?p=!0:"class"!==o||a?"style"!==o||a?"key"===o||y.includes(o)||y.push(o):h=!0:f=!0}else v=!0};for(let d=0;d<n.length;d++){const f=n[d];if(6===f.type){const{loc:e,name:t,value:n}=f;let o=!0;if("ref"===t&&(p=!0),"is"===t&&(Vl(i)||n&&n.content.startsWith("vue:")))continue;l.push(Rs(zs(t,!0,ta(e,0,t.length)),zs(n?n.content:"",o,n?n.loc:e)))}else{const{name:n,arg:d,exp:p,loc:h}=f,m="bind"===n,g="on"===n;if("slot"===n){a||t.onError(rs(39,h));continue}if("once"===n)continue;if("is"===n||m&&Vl(i)&&sa(d,"is"))continue;if(g&&o)continue;if(!d&&(m||g)){if(v=!0,p)if(l.length&&(c.push($s(Ml(l),s)),l=[]),m){if(ha("COMPILER_V_BIND_OBJECT_ORDER",t)){c.unshift(p);continue}c.push(p)}else c.push({type:14,loc:h,callee:t.helper(Os),arguments:[p]});else t.onError(rs(m?33:34,h));continue}const y=t.directiveTransforms[n];if(y){const{props:n,needRuntime:i}=y(f,e,t);!o&&n.forEach(b),l.push(...n),i&&(u.push(f),(0,r.isSymbol)(i)&&Tl.set(f,i))}else u.push(f)}6===f.type&&"ref"===f.name&&t.scopes.vFor>0&&ma("COMPILER_V_FOR_REF",t,f.loc)&&l.push(Rs(zs("refInFor",!0),zs("true",!1)))}let w;return c.length?(l.length&&c.push($s(Ml(l),s)),w=c.length>1?Us(t.helper(Cs),c,s):c[0]):l.length&&(w=$s(Ml(l),s)),v?d|=16:(f&&(d|=2),h&&(d|=4),y.length&&(d|=8),m&&(d|=32)),0!==d&&32!==d||!(p||g||u.length>0)||(d|=512),{props:w,directives:u,patchFlag:d,dynamicPropNames:y}}function Ml(e){const t=new Map,n=[];for(let o=0;o<e.length;o++){const r=e[o];if(8===r.key.type||!r.key.isStatic){n.push(r);continue}const i=r.key.content,s=t.get(i);s?("style"===i||"class"===i||i.startsWith("on"))&&Al(s,r):(t.set(i,r),n.push(r))}return n}function Al(e,t){17===e.value.type?e.value.elements.push(t.value):e.value=js([e.value,t.value],e.loc)}function Vl(e){return e[0].toLowerCase()+e.slice(1)==="component"}const Nl=/-(\w)/g,ql=(e=>{const t=Object.create(null);return n=>t[n]||(t[n]=e(n))})((e=>e.replace(Nl,((e,t)=>t?t.toUpperCase():"")))),Fl=(e,t)=>{if(ua(e)){const{children:n,loc:o}=e,{slotName:r,slotProps:i}=function(e,t){let n,o='"default"';const r=[];for(let t=0;t<e.props.length;t++){const n=e.props[t];6===n.type?n.value&&("name"===n.name?o=JSON.stringify(n.value.content):(n.name=ql(n.name),r.push(n))):"bind"===n.name&&sa(n.arg,"name")?n.exp&&(o=n.exp):("bind"===n.name&&n.arg&&Qs(n.arg)&&(n.arg.content=ql(n.arg.content)),r.push(n))}if(r.length>0){const{props:o,directives:i}=Bl(e,t,r);n=o,i.length&&t.onError(rs(35,i[0].loc))}return{slotName:o,slotProps:n}}(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",r];i&&s.push(i),n.length&&(i||s.push("{}"),s.push(Ks([],n,!1,!1,o))),t.scopeId&&!t.slotted&&(i||s.push("{}"),n.length||s.push("undefined"),s.push("true")),e.codegenNode=Us(t.helper(_s),s,o)}};const Pl=/^\s*([\w$_]+|\([^)]*?\))\s*=>|^\s*function(?:\s+[\w$]+)?\s*\(/,Ll=(e,t,n,o)=>{const{loc:i,modifiers:s,arg:a}=e;let l;if(e.exp||s.length||n.onError(rs(34,i)),4===a.type)if(a.isStatic){const e=a.content;l=zs((0,r.toHandlerKey)((0,r.camelize)(e)),!0,a.loc)}else l=Hs([`${n.helperString(Bs)}(`,a,")"]);else l=a,l.children.unshift(`${n.helperString(Bs)}(`),l.children.push(")");let c=e.exp;c&&!c.content.trim()&&(c=void 0);let u=n.cacheHandlers&&!c;if(c){const e=ea(c.content),t=!(e||Pl.test(c.content)),n=c.content.includes(";");0,(t||u&&e)&&(c=Hs([`${t?"$event":"(...args)"} => ${n?"{":"("}`,c,n?"}":")"]))}let d={props:[Rs(l,c||zs("() => {}",!1,i))]};return o&&(d=o(d)),u&&(d.props[0].value=n.cache(d.props[0].value)),d},Dl=(e,t,n)=>{const{exp:o,modifiers:i,loc:s}=e,a=e.arg;return 4!==a.type?(a.children.unshift("("),a.children.push(') || ""')):a.isStatic||(a.content=`${a.content} || ""`),i.includes("camel")&&(4===a.type?a.isStatic?a.content=(0,r.camelize)(a.content):a.content=`${n.helperString(Ts)}(${a.content})`:(a.children.unshift(`${n.helperString(Ts)}(`),a.children.push(")"))),!o||4===o.type&&!o.content.trim()?(n.onError(rs(33,s)),{props:[Rs(a,zs("",!0,s))]}):{props:[Rs(a,o)]}},Il=(e,t)=>{if(0===e.type||1===e.type||11===e.type||10===e.type)return()=>{const n=e.children;let o,r=!1;for(let e=0;e<n.length;e++){const t=n[e];if(aa(t)){r=!0;for(let r=e+1;r<n.length;r++){const i=n[r];if(!aa(i)){o=void 0;break}o||(o=n[e]={type:8,loc:t.loc,children:[t]}),o.children.push(" + ",i),n.splice(r,1),r--}}}if(r&&(1!==n.length||0!==e.type&&(1!==e.type||0!==e.tagType||e.props.find((e=>7===e.type&&!t.directiveTransforms[e.name]))||"template"===e.tag)))for(let e=0;e<n.length;e++){const o=n[e];if(aa(o)||8===o.type){const r=[];2===o.type&&" "===o.content||r.push(o),t.ssr||0!==Ka(o,t)||r.push("1"),n[e]={type:12,content:o,loc:o.loc,codegenNode:Us(t.helper(hs),r)}}}}},jl=new WeakSet,$l=(e,t)=>{if(1===e.type&&ra(e,"once",!0)){if(jl.has(e))return;return jl.add(e),t.helper(Ms),()=>{const e=t.currentNode;e.codegenNode&&(e.codegenNode=t.cache(e.codegenNode,!0))}}},Rl=(e,t,n)=>{const{exp:o,arg:r}=e;if(!o)return n.onError(rs(40,e.loc)),zl();const i=o.loc.source,s=4===o.type?o.content:i;n.bindingMetadata[i];if(!ea(s))return n.onError(rs(41,o.loc)),zl();const a=r||zs("modelValue",!0),l=r?Qs(r)?`onUpdate:${r.content}`:Hs(['"onUpdate:" + ',r]):"onUpdate:modelValue";let c;c=Hs([`${n.isTS?"($event: any)":"$event"} => (`,o," = $event)"]);const u=[Rs(a,e.exp),Rs(l,c)];if(e.modifiers.length&&1===t.tagType){const t=e.modifiers.map((e=>(Zs(e)?e:JSON.stringify(e))+": true")).join(", "),n=r?Qs(r)?`${r.content}Modifiers`:Hs([r,' + "Modifiers"']):"modelModifiers";u.push(Rs(n,zs(`{ ${t} }`,!1,e.loc,2)))}return zl(u)};function zl(e=[]){return{props:e}}const Hl=/[\w).+\-_$\]]/,Ul=(e,t)=>{ha("COMPILER_FILTER",t)&&(5===e.type&&Kl(e.content,t),1===e.type&&e.props.forEach((e=>{7===e.type&&"for"!==e.name&&e.exp&&Kl(e.exp,t)})))};function Kl(e,t){if(4===e.type)Wl(e,t);else for(let n=0;n<e.children.length;n++){const o=e.children[n];"object"==typeof o&&(4===o.type?Wl(o,t):8===o.type?Kl(e,t):5===o.type&&Kl(o.content,t))}}function Wl(e,t){const n=e.content;let o,r,i,s,a=!1,l=!1,c=!1,u=!1,d=0,p=0,f=0,h=0,m=[];for(i=0;i<n.length;i++)if(r=o,o=n.charCodeAt(i),a)39===o&&92!==r&&(a=!1);else if(l)34===o&&92!==r&&(l=!1);else if(c)96===o&&92!==r&&(c=!1);else if(u)47===o&&92!==r&&(u=!1);else if(124!==o||124===n.charCodeAt(i+1)||124===n.charCodeAt(i-1)||d||p||f){switch(o){case 34:l=!0;break;case 39:a=!0;break;case 96:c=!0;break;case 40:f++;break;case 41:f--;break;case 91:p++;break;case 93:p--;break;case 123:d++;break;case 125:d--}if(47===o){let e,t=i-1;for(;t>=0&&(e=n.charAt(t)," "===e);t--);e&&Hl.test(e)||(u=!0)}}else void 0===s?(h=i+1,s=n.slice(0,i).trim()):v();function v(){m.push(n.slice(h,i).trim()),h=i+1}if(void 0===s?s=n.slice(0,i).trim():0!==h&&v(),m.length){for(i=0;i<m.length;i++)s=Ql(s,m[i],t);e.content=s}}function Ql(e,t,n){n.helper(bs);const o=t.indexOf("(");if(o<0)return n.filters.add(t),`${pa(t,"filter")}(${e})`;{const r=t.slice(0,o),i=t.slice(o+1);return n.filters.add(r),`${pa(r,"filter")}(${e}${")"!==i?","+i:i}`}}function Yl(e,t={}){const n=t.onError||ns,o="module"===t.mode;!0===t.prefixIdentifiers?n(rs(45)):o&&n(rs(46));t.cacheHandlers&&n(rs(47)),t.scopeId&&!o&&n(rs(48));const i=(0,r.isString)(e)?ba(e,t):e,[s,a]=[[$l,cl,fl,Ul,Fl,El,xl,Il],{on:Ll,bind:Dl,model:Rl}];return Ga(i,(0,r.extend)({},t,{prefixIdentifiers:false,nodeTransforms:[...s,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},a,t.directiveTransforms||{})})),tl(i,(0,r.extend)({},t,{prefixIdentifiers:false}))}const Jl=Symbol(""),Gl=Symbol(""),Zl=Symbol(""),Xl=Symbol(""),ec=Symbol(""),tc=Symbol(""),nc=Symbol(""),oc=Symbol(""),rc=Symbol(""),ic=Symbol("");var sc;let ac;sc={[Jl]:"vModelRadio",[Gl]:"vModelCheckbox",[Zl]:"vModelText",[Xl]:"vModelSelect",[ec]:"vModelDynamic",[tc]:"withModifiers",[nc]:"withKeys",[oc]:"vShow",[rc]:"Transition",[ic]:"TransitionGroup"},Object.getOwnPropertySymbols(sc).forEach((e=>{Ls[e]=sc[e]}));const lc=(0,r.makeMap)("style,iframe,script,noscript",!0),cc={isVoidTag:r.isVoidTag,isNativeTag:e=>(0,r.isHTMLTag)(e)||(0,r.isSVGTag)(e),isPreTag:e=>"pre"===e,decodeEntities:function(e,t=!1){return ac||(ac=document.createElement("div")),t?(ac.innerHTML=`<div foo="${e.replace(/"/g,"&quot;")}">`,ac.children[0].getAttribute("foo")):(ac.innerHTML=e,ac.textContent)},isBuiltInComponent:e=>Ys(e,"Transition")?rc:Ys(e,"TransitionGroup")?ic:void 0,getNamespace(e,t){let n=t?t.ns:0;if(t&&2===n)if("annotation-xml"===t.tag){if("svg"===e)return 1;t.props.some((e=>6===e.type&&"encoding"===e.name&&null!=e.value&&("text/html"===e.value.content||"application/xhtml+xml"===e.value.content)))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&"mglyph"!==e&&"malignmark"!==e&&(n=0);else t&&1===n&&("foreignObject"!==t.tag&&"desc"!==t.tag&&"title"!==t.tag||(n=0));if(0===n){if("svg"===e)return 1;if("math"===e)return 2}return n},getTextMode({tag:e,ns:t}){if(0===t){if("textarea"===e||"title"===e)return 1;if(lc(e))return 2}return 0}},uc=(e,t)=>{const n=(0,r.parseStringStyle)(e);return zs(JSON.stringify(n),!1,t,3)};function dc(e,t){return rs(e,t)}const pc=(0,r.makeMap)("passive,once,capture"),fc=(0,r.makeMap)("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),hc=(0,r.makeMap)("left,right"),mc=(0,r.makeMap)("onkeyup,onkeydown,onkeypress",!0),vc=(e,t)=>Qs(e)&&"onclick"===e.content.toLowerCase()?zs(t,!0):4!==e.type?Hs(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e;const gc=(e,t)=>{1!==e.type||0!==e.tagType||"script"!==e.tag&&"style"!==e.tag||(t.onError(dc(59,e.loc)),t.removeNode())},yc=[e=>{1===e.type&&e.props.forEach(((t,n)=>{6===t.type&&"style"===t.name&&t.value&&(e.props[n]={type:7,name:"bind",arg:zs("style",!0,t.loc),exp:uc(t.value.content,t.loc),modifiers:[],loc:t.loc})}))}],bc={cloak:()=>({props:[]}),html:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(49,r)),t.children.length&&(n.onError(dc(50,r)),t.children.length=0),{props:[Rs(zs("innerHTML",!0,r),o||zs("",!0))]}},text:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(51,r)),t.children.length&&(n.onError(dc(52,r)),t.children.length=0),{props:[Rs(zs("textContent",!0),o?Us(n.helperString(Ss),[o],r):zs("",!0))]}},model:(e,t,n)=>{const o=Rl(e,t,n);if(!o.props.length||1===t.tagType)return o;e.arg&&n.onError(dc(54,e.arg.loc));const{tag:r}=t,i=n.isCustomElement(r);if("input"===r||"textarea"===r||"select"===r||i){let s=Zl,a=!1;if("input"===r||i){const o=ia(t,"type");if(o){if(7===o.type)s=ec;else if(o.value)switch(o.value.content){case"radio":s=Jl;break;case"checkbox":s=Gl;break;case"file":a=!0,n.onError(dc(55,e.loc))}}else(function(e){return e.props.some((e=>!(7!==e.type||"bind"!==e.name||e.arg&&4===e.arg.type&&e.arg.isStatic)))})(t)&&(s=ec)}else"select"===r&&(s=Xl);a||(o.needRuntime=n.helper(s))}else n.onError(dc(53,e.loc));return o.props=o.props.filter((e=>!(4===e.key.type&&"modelValue"===e.key.content))),o},on:(e,t,n)=>Ll(e,0,n,(t=>{const{modifiers:o}=e;if(!o.length)return t;let{key:i,value:s}=t.props[0];const{keyModifiers:a,nonKeyModifiers:l,eventOptionModifiers:c}=((e,t,n,o)=>{const r=[],i=[],s=[];for(let o=0;o<t.length;o++){const a=t[o];"native"===a&&ma("COMPILER_V_ON_NATIVE",n)||pc(a)?s.push(a):hc(a)?Qs(e)?mc(e.content)?r.push(a):i.push(a):(r.push(a),i.push(a)):fc(a)?i.push(a):r.push(a)}return{keyModifiers:r,nonKeyModifiers:i,eventOptionModifiers:s}})(i,o,n,e.loc);if(l.includes("right")&&(i=vc(i,"onContextmenu")),l.includes("middle")&&(i=vc(i,"onMouseup")),l.length&&(s=Us(n.helper(tc),[s,JSON.stringify(l)])),!a.length||Qs(i)&&!mc(i.content)||(s=Us(n.helper(nc),[s,JSON.stringify(a)])),c.length){const e=c.map(r.capitalize).join("");i=Qs(i)?zs(`${i.content}${e}`,!0):Hs(["(",i,`) + "${e}"`])}return{props:[Rs(i,s)]}})),show:(e,t,n)=>{const{exp:o,loc:r}=e;return o||n.onError(dc(57,r)),{props:[],needRuntime:n.helper(oc)}}};const wc=Object.create(null);function xc(e,t){if(!(0,r.isString)(e)){if(!e.nodeType)return r.NOOP;e=e.innerHTML}const n=e,i=wc[n];if(i)return i;if("#"===e[0]){const t=document.querySelector(e);0,e=t?t.innerHTML:""}const{code:s}=function(e,t={}){return Yl(e,(0,r.extend)({},cc,t,{nodeTransforms:[gc,...yc,...t.nodeTransforms||[]],directiveTransforms:(0,r.extend)({},bc,t.directiveTransforms||{}),transformHoist:null}))}(e,(0,r.extend)({hoistStatic:!0,onError:void 0,onWarn:r.NOOP},t));const a=new Function("Vue",s)(o);return a._rc=!0,wc[n]=a}hr(xc)}},n={};function o(e){var r=n[e];if(void 0!==r)return r.exports;var i=n[e]={id:e,loaded:!1,exports:{}};return t[e].call(i.exports,i,i.exports,o),i.loaded=!0,i.exports}o.m=t,e=[],o.O=(t,n,r,i)=>{if(!n){var s=1/0;for(c=0;c<e.length;c++){for(var[n,r,i]=e[c],a=!0,l=0;l<n.length;l++)(!1&i||s>=i)&&Object.keys(o.O).every((e=>o.O[e](n[l])))?n.splice(l--,1):(a=!1,i<s&&(s=i));a&&(e.splice(c--,1),t=r())}return t}i=i||0;for(var c=e.length;c>0&&e[c-1][2]>i;c--)e[c]=e[c-1];e[c]=[n,r,i]},o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{var e={926:0,627:0};o.O.j=t=>0===e[t];var t=(t,n)=>{var r,i,[s,a,l]=n,c=0;for(r in a)o.o(a,r)&&(o.m[r]=a[r]);if(l)var u=l(o);for(t&&t(n);c<s.length;c++)i=s[c],o.o(e,i)&&e[i]&&e[i][0](),e[s[c]]=0;return o.O(u)},n=self.webpackChunk=self.webpackChunk||[];n.forEach(t.bind(null,0)),n.push=t.bind(null,n.push.bind(n))})(),o.O(void 0,[627],(()=>o(3682)));var r=o.O(void 0,[627],(()=>o(7230)));r=o.O(r)})();
app/Services/FormBuilder/Components/Address.php CHANGED
@@ -2,64 +2,76 @@
2
 
3
  namespace FluentForm\App\Services\FormBuilder\Components;
4
 
 
 
5
  class Address extends BaseComponent
6
  {
7
  /**
8
  * Wrapper class for address element
9
  * @var string
10
  */
11
- protected $wrapperClass = 'fluent-address';
12
 
13
  /**
14
  * Compile and echo the html element
15
- * @param array $data [element data]
16
- * @param stdClass $form [Form Object]
17
  * @return viod
18
  */
19
- public function compile($data, $form)
20
- {
21
  $elementName = $data['element'];
22
- $data = apply_filters('fluentform_rendering_field_data_'.$elementName, $data, $form);
 
23
 
24
  $rootName = $data['attributes']['name'];
25
- $hasConditions = $this->hasConditions($data) ? 'has-conditions ' : '';
26
- $data['attributes']['class'] .= ' ff-name-address-wrapper ' . $this->wrapperClass . ' ' . $hasConditions;
27
- $data['attributes']['class'] = trim($data['attributes']['class']);
28
- $atts = $this->buildAttributes(
 
 
 
 
 
 
29
  \FluentForm\Framework\Helpers\ArrayHelper::except($data['attributes'], 'name')
30
  );
31
- ob_start();
32
- echo "<div {$atts}>";
33
- if($data['settings']['label']):
34
- echo "<div class='ff-el-input--label'>";
35
- echo "<label>{$data['settings']['label']}</label>";
36
- echo "</div>";
37
- endif;
38
- echo "<div class='ff-el-input--content'>";
39
 
40
- $visibleFields = array_chunk(array_filter($data['fields'], function($field) {
 
 
 
 
 
 
 
 
 
 
41
  return $field['settings']['visible'];
42
  }), 2);
43
 
44
  foreach ($visibleFields as $chunked) {
45
  echo "<div class='ff-t-container'>";
46
  foreach ($chunked as $item) {
47
- if($item['settings']['visible']) {
48
  $itemName = $item['attributes']['name'];
49
- $item['attributes']['name'] = $rootName.'['.$itemName.']';
 
50
  $item = apply_filters('fluentform_before_render_item', $item, $form);
51
  echo "<div class='ff-t-cell'>";
52
- do_action('fluentform_render_item_'.$item['element'], $item, $form);
53
  echo "</div>";
54
  }
55
  }
56
  echo "</div>";
57
  }
58
 
59
- echo "</div>";
60
- echo "</div>";
61
 
62
- $html = ob_get_clean();
63
- echo apply_filters('fluentform_rendering_field_html_'.$elementName, $html, $data, $form);
64
  }
65
  }
2
 
3
  namespace FluentForm\App\Services\FormBuilder\Components;
4
 
5
+ use FluentForm\Framework\Helpers\ArrayHelper;
6
+
7
  class Address extends BaseComponent
8
  {
9
  /**
10
  * Wrapper class for address element
11
  * @var string
12
  */
13
+ protected $wrapperClass = 'fluent-address';
14
 
15
  /**
16
  * Compile and echo the html element
17
+ * @param array $data [element data]
18
+ * @param stdClass $form [Form Object]
19
  * @return viod
20
  */
21
+ public function compile($data, $form)
22
+ {
23
  $elementName = $data['element'];
24
+
25
+ $data = apply_filters('fluentform_rendering_field_data_' . $elementName, $data, $form);
26
 
27
  $rootName = $data['attributes']['name'];
28
+ $hasConditions = $this->hasConditions($data) ? 'has-conditions ' : '';
29
+ $data['attributes']['class'] .= ' ff-name-address-wrapper ' . $this->wrapperClass . ' ' . $hasConditions;
30
+ $data['attributes']['class'] = trim($data['attributes']['class']);
31
+
32
+ if(ArrayHelper::get($data, 'settings.enable_g_autocomplete') == 'yes') {
33
+ $data['attributes']['class'] .= ' ff_map_autocomplete';
34
+ do_action('fluentform_address_map_autocomplete', $data, $form);
35
+ }
36
+
37
+ $atts = $this->buildAttributes(
38
  \FluentForm\Framework\Helpers\ArrayHelper::except($data['attributes'], 'name')
39
  );
 
 
 
 
 
 
 
 
40
 
41
+ ob_start();
42
+ echo "<div {$atts}>";
43
+ do_action('fluentform_rendering_address_field', $data, $form);
44
+ if ($data['settings']['label']):
45
+ echo "<div class='ff-el-input--label'>";
46
+ echo "<label>{$data['settings']['label']}</label>";
47
+ echo "</div>";
48
+ endif;
49
+ echo "<div class='ff-el-input--content'>";
50
+
51
+ $visibleFields = array_chunk(array_filter($data['fields'], function ($field) {
52
  return $field['settings']['visible'];
53
  }), 2);
54
 
55
  foreach ($visibleFields as $chunked) {
56
  echo "<div class='ff-t-container'>";
57
  foreach ($chunked as $item) {
58
+ if ($item['settings']['visible']) {
59
  $itemName = $item['attributes']['name'];
60
+ $item['attributes']['data-key_name'] = $itemName;
61
+ $item['attributes']['name'] = $rootName . '[' . $itemName . ']';
62
  $item = apply_filters('fluentform_before_render_item', $item, $form);
63
  echo "<div class='ff-t-cell'>";
64
+ do_action('fluentform_render_item_' . $item['element'], $item, $form);
65
  echo "</div>";
66
  }
67
  }
68
  echo "</div>";
69
  }
70
 
71
+ echo "</div>";
72
+ echo "</div>";
73
 
74
+ $html = ob_get_clean();
75
+ echo apply_filters('fluentform_rendering_field_html_' . $elementName, $html, $data, $form);
76
  }
77
  }
app/Services/FormBuilder/Components/CustomSubmitButton.php CHANGED
@@ -110,19 +110,28 @@ class CustomSubmitButton extends BaseFieldManager
110
  $elementName = $data['element'];
111
  $data = apply_filters('fluentform_rendering_field_data_' . $elementName, $data, $form);
112
 
 
 
113
  $btnSize = 'ff-btn-';
114
- $color = isset($data['settings']['color']) ? $data['settings']['color'] : '#ffffff';
115
  $btnSize .= isset($data['settings']['button_size']) ? $data['settings']['button_size'] : 'md';
116
- $backgroundColor = isset($data['settings']['background_color']) ? $data['settings']['background_color'] : '#409EFF';
117
  $oldBtnType = isset($data['settings']['button_style']) ? '' : ' ff-btn-primary ';
118
 
119
  $align = 'ff-el-group ff-text-' . @$data['settings']['align'];
120
- $data['attributes']['class'] = trim(
121
- 'ff-btn ff-btn-submit ' . ' ' .
122
- $oldBtnType . ' ' .
123
- $btnSize . ' ' .
 
124
  $data['attributes']['class']
125
- );
 
 
 
 
 
 
 
 
126
 
127
  if($tabIndex = \FluentForm\App\Helpers\Helper::getNextTabIndex()) {
128
  $data['attributes']['tabindex'] = $tabIndex;
@@ -161,7 +170,7 @@ class CustomSubmitButton extends BaseFieldManager
161
  if ($hoverStates) {
162
  $styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit:hover { ' . $hoverStates . ' } ';
163
  }
164
- } else {
165
  $styles .= 'form.fluent_form_' . $form->id . ' .ff-btn-submit { background-color: ' . ArrayHelper::get($data, 'settings.background_color') . '; color: ' . ArrayHelper::get($data, 'settings.color') . '; }';
166
  }
167
 
110
  $elementName = $data['element'];
111
  $data = apply_filters('fluentform_rendering_field_data_' . $elementName, $data, $form);
112
 
113
+ $btnStyle = ArrayHelper::get($data['settings'], 'button_style');
114
+
115
  $btnSize = 'ff-btn-';
 
116
  $btnSize .= isset($data['settings']['button_size']) ? $data['settings']['button_size'] : 'md';
 
117
  $oldBtnType = isset($data['settings']['button_style']) ? '' : ' ff-btn-primary ';
118
 
119
  $align = 'ff-el-group ff-text-' . @$data['settings']['align'];
120
+
121
+ $btnClasses = [
122
+ 'ff-btn ff-btn-submit',
123
+ $oldBtnType,
124
+ $btnSize,
125
  $data['attributes']['class']
126
+ ];
127
+
128
+ if($btnStyle == 'no_style') {
129
+ $btnClasses[] = 'ff_btn_no_style';
130
+ } else {
131
+ $btnClasses[] = 'ff_btn_style';
132
+ }
133
+
134
+ $data['attributes']['class'] = trim(implode(' ', array_filter($btnClasses)));
135
 
136
  if($tabIndex = \FluentForm\App\Helpers\Helper::getNextTabIndex()) {
137
  $data['attributes']['tabindex'] = $tabIndex;
170
  if ($hoverStates) {
171
  $styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit:hover { ' . $hoverStates . ' } ';
172
  }
173
+ } else if($btnStyle != 'no_style') {
174
  $styles .= 'form.fluent_form_' . $form->id . ' .ff-btn-submit { background-color: ' . ArrayHelper::get($data, 'settings.background_color') . '; color: ' . ArrayHelper::get($data, 'settings.color') . '; }';
175
  }
176
 
app/Services/FormBuilder/Components/SubmitButton.php CHANGED
@@ -9,35 +9,43 @@ class SubmitButton extends BaseComponent
9
  {
10
  /**
11
  * Compile and echo the html element
12
- * @param array $data [element data]
13
- * @param stdClass $form [Form Object]
14
  * @return viod
15
  */
16
  public function compile($data, $form)
17
  {
18
 
19
- if(apply_filters('fluentform_is_hide_submit_btn_'.$form->id, false)) {
20
  return '';
21
  }
22
 
23
  $elementName = $data['element'];
24
- $data = apply_filters('fluentform_rendering_field_data_'.$elementName, $data, $form);
25
 
 
 
 
26
  $btnSize = 'ff-btn-';
27
- $color = isset($data['settings']['color']) ? $data['settings']['color'] : '#ffffff';
28
  $btnSize .= isset($data['settings']['button_size']) ? $data['settings']['button_size'] : 'md';
29
- $backgroundColor = isset($data['settings']['background_color']) ? $data['settings']['background_color'] : '#409EFF';
30
  $oldBtnType = isset($data['settings']['button_style']) ? '' : ' ff-btn-primary ';
31
 
32
- $align = 'ff-el-group ff-text-' . @$data['settings']['align'];
33
- $data['attributes']['class'] = trim(
34
- 'ff-btn ff-btn-submit ' . ' ' .
35
- $oldBtnType . ' ' .
36
- $btnSize . ' ' .
37
  $data['attributes']['class']
38
- );
 
 
 
 
 
 
39
 
40
- if($tabIndex = \FluentForm\App\Helpers\Helper::getNextTabIndex()) {
 
 
 
41
  $data['attributes']['tabindex'] = $tabIndex;
42
  }
43
 
@@ -74,14 +82,13 @@ class SubmitButton extends BaseComponent
74
  if ($hoverStates) {
75
  $styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit:hover { ' . $hoverStates . ' } ';
76
  }
77
- } else {
78
- $styles .= 'form.fluent_form_' . $form->id . ' .ff-btn-submit { background-color: '.ArrayHelper::get($data, 'settings.background_color').'; color: '.ArrayHelper::get($data, 'settings.color').'; }';
79
  }
80
 
81
  $atts = $this->buildAttributes($data['attributes']);
82
  $cls = trim($align . ' ' . $data['settings']['container_class']);
83
 
84
-
85
  $html = "<div class='{$cls} ff_submit_btn_wrapper'>";
86
 
87
  // ADDED IN v1.2.6 - updated in 1.4.4
@@ -95,18 +102,18 @@ class SubmitButton extends BaseComponent
95
  $html .= '<button ' . $atts . '>' . $data['settings']['btn_text'] . '</button>';
96
  }
97
 
98
- if($styles) {
99
- if(did_action('wp_footer')) {
100
- $html .= '<style>'.$styles.'</style>';
101
  } else {
102
  add_action('wp_footer', function () use ($styles) {
103
- echo '<style>'.$styles.'</style>';
104
  });
105
  }
106
  }
107
 
108
  $html .= '</div>';
109
 
110
- echo apply_filters('fluentform_rendering_field_html_'.$elementName, $html, $data, $form);
111
  }
112
  }
9
  {
10
  /**
11
  * Compile and echo the html element
12
+ * @param array $data [element data]
13
+ * @param stdClass $form [Form Object]
14
  * @return viod
15
  */
16
  public function compile($data, $form)
17
  {
18
 
19
+ if (apply_filters('fluentform_is_hide_submit_btn_' . $form->id, false)) {
20
  return '';
21
  }
22
 
23
  $elementName = $data['element'];
 
24
 
25
+ $data = apply_filters('fluentform_rendering_field_data_' . $elementName, $data, $form);
26
+
27
+ $btnStyle = ArrayHelper::get($data['settings'], 'button_style');
28
  $btnSize = 'ff-btn-';
 
29
  $btnSize .= isset($data['settings']['button_size']) ? $data['settings']['button_size'] : 'md';
 
30
  $oldBtnType = isset($data['settings']['button_style']) ? '' : ' ff-btn-primary ';
31
 
32
+ $btnClasses = [
33
+ 'ff-btn ff-btn-submit',
34
+ $oldBtnType,
35
+ $btnSize,
 
36
  $data['attributes']['class']
37
+ ];
38
+
39
+ if($btnStyle == 'no_style') {
40
+ $btnClasses[] = 'ff_btn_no_style';
41
+ } else {
42
+ $btnClasses[] = 'ff_btn_style';
43
+ }
44
 
45
+ $align = 'ff-el-group ff-text-' . @$data['settings']['align'];
46
+ $data['attributes']['class'] = trim(implode(' ', array_filter($btnClasses)));
47
+
48
+ if ($tabIndex = \FluentForm\App\Helpers\Helper::getNextTabIndex()) {
49
  $data['attributes']['tabindex'] = $tabIndex;
50
  }
51
 
82
  if ($hoverStates) {
83
  $styles .= 'form.fluent_form_' . $form->id . ' .wpf_has_custom_css.ff-btn-submit:hover { ' . $hoverStates . ' } ';
84
  }
85
+ } else if($btnStyle != 'no_style') {
86
+ $styles .= 'form.fluent_form_' . $form->id . ' .ff-btn-submit { background-color: ' . ArrayHelper::get($data, 'settings.background_color') . '; color: ' . ArrayHelper::get($data, 'settings.color') . '; }';
87
  }
88
 
89
  $atts = $this->buildAttributes($data['attributes']);
90
  $cls = trim($align . ' ' . $data['settings']['container_class']);
91
 
 
92
  $html = "<div class='{$cls} ff_submit_btn_wrapper'>";
93
 
94
  // ADDED IN v1.2.6 - updated in 1.4.4
102
  $html .= '<button ' . $atts . '>' . $data['settings']['btn_text'] . '</button>';
103
  }
104
 
105
+ if ($styles) {
106
+ if (did_action('wp_footer')) {
107
+ $html .= '<style>' . $styles . '</style>';
108
  } else {
109
  add_action('wp_footer', function () use ($styles) {
110
+ echo '<style>' . $styles . '</style>';
111
  });
112
  }
113
  }
114
 
115
  $html .= '</div>';
116
 
117
+ echo apply_filters('fluentform_rendering_field_html_' . $elementName, $html, $data, $form);
118
  }
119
  }
app/Services/FormBuilder/DefaultElements.php CHANGED
@@ -281,6 +281,7 @@ $defaultElements = array(
281
  ),
282
  'settings' => array(
283
  'label' => __('Address', 'fluentform'),
 
284
  'admin_field_label' => 'Address',
285
  'conditional_logics' => array(),
286
  ),
@@ -457,7 +458,7 @@ $defaultElements = array(
457
  'visible_list' => array(),
458
  'hidden_list' => array(),
459
  ),
460
- 'conditional_logics' => array(),
461
  ),
462
  'options' => array(
463
  'US' => 'US of America',
281
  ),
282
  'settings' => array(
283
  'label' => __('Address', 'fluentform'),
284
+ 'enable_g_autocomplete' => 'no',
285
  'admin_field_label' => 'Address',
286
  'conditional_logics' => array(),
287
  ),
458
  'visible_list' => array(),
459
  'hidden_list' => array(),
460
  ),
461
+ 'conditional_logics' => array()
462
  ),
463
  'options' => array(
464
  'US' => 'US of America',
app/Services/FormBuilder/ElementCustomization.php CHANGED
@@ -145,6 +145,11 @@ $element_customization_settings = array(
145
  'label' => __('Payment Items', 'fluentform'),
146
  'help_text' => __('Set your product type and corresponding prices', 'fluentform'),
147
  ),
 
 
 
 
 
148
  'validation_rules' => array(
149
  'template' => 'validationRulesForm',
150
  'label' => __('Validation Rules', 'fluentform'),
145
  'label' => __('Payment Items', 'fluentform'),
146
  'help_text' => __('Set your product type and corresponding prices', 'fluentform'),
147
  ),
148
+ 'subscription_options' => array(
149
+ 'template' => 'subscriptionOptions',
150
+ 'label' => __('Subscription Items', 'fluentform'),
151
+ 'help_text' => __('Set your subscription plans', 'fluentform'),
152
+ ),
153
  'validation_rules' => array(
154
  'template' => 'validationRulesForm',
155
  'label' => __('Validation Rules', 'fluentform'),
app/Services/FormBuilder/FormBuilder.php CHANGED
@@ -48,7 +48,7 @@ class FormBuilder
48
  * @param \StdClass $form [Form entry from database]
49
  * @return mixed
50
  */
51
- public function build($form, $extraCssClass = '', $instanceCssClass = '')
52
  {
53
  $this->form = $form;
54
  $hasStepWrapper = isset($form->fields['stepsWrapper']) && $form->fields['stepsWrapper'];
@@ -84,14 +84,17 @@ class FormBuilder
84
  'data-form_id' => $form->id,
85
  'id' => 'fluentform_'.$form->id,
86
  'class' => $formClass,
87
- 'data-form_instance' => $instanceCssClass
 
88
  ], $form);
89
 
90
  $formAtts = $this->buildAttributes($formAttributes);
91
 
92
  ob_start();
 
 
93
 
94
- echo "<div class='fluentform fluentform_wrapper_".$form->id."'>";
95
 
96
  do_action('fluentform_before_form_render', $form);
97
 
48
  * @param \StdClass $form [Form entry from database]
49
  * @return mixed
50
  */
51
+ public function build($form, $extraCssClass = '', $instanceCssClass = '', $atts = [])
52
  {
53
  $this->form = $form;
54
  $hasStepWrapper = isset($form->fields['stepsWrapper']) && $form->fields['stepsWrapper'];
84
  'data-form_id' => $form->id,
85
  'id' => 'fluentform_'.$form->id,
86
  'class' => $formClass,
87
+ 'data-form_instance' => $instanceCssClass,
88
+ 'method' => 'POST'
89
  ], $form);
90
 
91
  $formAtts = $this->buildAttributes($formAttributes);
92
 
93
  ob_start();
94
+
95
+ $wrapperClasses = trim('fluentform fluentform_wrapper_'.$form->id.' '.ArrayHelper::get($atts, 'css_classes'));
96
 
97
+ echo "<div class='".$wrapperClasses."'>";
98
 
99
  do_action('fluentform_before_form_render', $form);
100
 
app/Services/Integrations/GlobalNotificationManager.php CHANGED
@@ -25,17 +25,21 @@ class GlobalNotificationManager
25
  $feedKeys = apply_filters('fluentform_global_notification_active_types', [], $form->id);
26
 
27
  if (!$feedKeys) {
 
28
  return;
29
  }
30
 
31
  $feedMetaKeys = array_keys($feedKeys);
32
 
 
33
  $feeds = wpFluent()->table('fluentform_form_meta')
34
  ->where('form_id', $form->id)
35
  ->whereIn('meta_key', $feedMetaKeys)
36
  ->orderBy('id', 'ASC')
37
  ->get();
 
38
  if (!$feeds) {
 
39
  return;
40
  }
41
 
@@ -140,10 +144,12 @@ class GlobalNotificationManager
140
  {
141
  // Let's get the password fields
142
  $inputs = FormFieldsParser::getInputsByElementTypes($form, ['input_password']);
 
143
  if(!$inputs) {
144
  return;
145
  }
146
  $passwordKeys = array_keys($inputs);
 
147
  // Let's delete from entry details
148
  wpFluent()->table('fluentform_entry_details')
149
  ->where('form_id', $form->id)
@@ -155,6 +161,7 @@ class GlobalNotificationManager
155
  $submission = wpFluent()->table('fluentform_submissions')
156
  ->where('id', $entryId)
157
  ->first();
 
158
  if(!$submission) {
159
  return;
160
  }
25
  $feedKeys = apply_filters('fluentform_global_notification_active_types', [], $form->id);
26
 
27
  if (!$feedKeys) {
28
+ do_action('fluentform_global_notify_completed', $insertId, $form);
29
  return;
30
  }
31
 
32
  $feedMetaKeys = array_keys($feedKeys);
33
 
34
+
35
  $feeds = wpFluent()->table('fluentform_form_meta')
36
  ->where('form_id', $form->id)
37
  ->whereIn('meta_key', $feedMetaKeys)
38
  ->orderBy('id', 'ASC')
39
  ->get();
40
+
41
  if (!$feeds) {
42
+ do_action('fluentform_global_notify_completed', $insertId, $form);
43
  return;
44
  }
45
 
144
  {
145
  // Let's get the password fields
146
  $inputs = FormFieldsParser::getInputsByElementTypes($form, ['input_password']);
147
+
148
  if(!$inputs) {
149
  return;
150
  }
151
  $passwordKeys = array_keys($inputs);
152
+
153
  // Let's delete from entry details
154
  wpFluent()->table('fluentform_entry_details')
155
  ->where('form_id', $form->id)
161
  $submission = wpFluent()->table('fluentform_submissions')
162
  ->where('id', $entryId)
163
  ->first();
164
+
165
  if(!$submission) {
166
  return;
167
  }
app/Services/Integrations/MailChimp/MailChimpSubscriber.php CHANGED
@@ -113,8 +113,20 @@ trait MailChimpSubscriber
113
  $tags = array_map('trim', $tags);
114
  $tags = array_filter($tags);
115
 
 
 
 
 
 
 
 
 
 
 
 
 
116
  if ($tags) {
117
- $arguments['tags'] = $tags;
118
  }
119
 
120
  $note = '';
113
  $tags = array_map('trim', $tags);
114
  $tags = array_filter($tags);
115
 
116
+ //explode dynamic commas values to array
117
+ $tagsFormatted = [];
118
+ foreach ($tags as $tag) {
119
+ if (strpos($tag, ',') !== false) {
120
+ $innerTags = explode(',', $tag);
121
+ foreach ($innerTags as $t) {
122
+ $tagsFormatted[] = $t;
123
+ }
124
+ } else {
125
+ $tagsFormatted[] = $tag;
126
+ }
127
+ }
128
  if ($tags) {
129
+ $arguments['tags'] = array_map('trim', $tagsFormatted);
130
  }
131
 
132
  $note = '';
app/Services/Parser/Form.php CHANGED
@@ -278,7 +278,8 @@ class Form
278
  'multi_payment_component',
279
  'payment_method',
280
  'item_quantity_component',
281
- 'payment_coupon'
 
282
  ]);
283
 
284
  return array_filter($fields, function ($field) use ($paymentElements) {
@@ -320,7 +321,8 @@ class Form
320
  'multi_payment_component',
321
  'payment_method',
322
  'item_quantity_component',
323
- 'payment_coupon'
 
324
  ]);
325
 
326
  foreach ($fields as $field) {
278
  'multi_payment_component',
279
  'payment_method',
280
  'item_quantity_component',
281
+ 'payment_coupon',
282
+ 'subscription_payment_component'
283
  ]);
284
 
285
  return array_filter($fields, function ($field) use ($paymentElements) {
321
  'multi_payment_component',
322
  'payment_method',
323
  'item_quantity_component',
324
+ 'payment_coupon',
325
+ 'subscription_payment_component'
326
  ]);
327
 
328
  foreach ($fields as $field) {
fluentform.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  Plugin Name: Fluent Forms
4
  Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin
5
- Version: 4.1.51
6
  Author: Contact Form - WPManageNinja LLC
7
  Author URI: https://fluentforms.com
8
  Plugin URI: https://wpmanageninja.com/wp-fluent-form/
@@ -16,7 +16,7 @@ defined('ABSPATH') or die;
16
  defined('FLUENTFORM') or define('FLUENTFORM', true);
17
  define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__));
18
 
19
- defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '4.1.51');
20
 
21
  if (!defined('FLUENTFORM_HAS_NIA')) {
22
  define('FLUENTFORM_HAS_NIA', true);
2
  /*
3
  Plugin Name: Fluent Forms
4
  Description: Contact Form By Fluent Forms is the advanced Contact form plugin with drag and drop, multi column supported form builder plugin
5
+ Version: 4.2.20
6
  Author: Contact Form - WPManageNinja LLC
7
  Author URI: https://fluentforms.com
8
  Plugin URI: https://wpmanageninja.com/wp-fluent-form/
16
  defined('FLUENTFORM') or define('FLUENTFORM', true);
17
  define('FLUENTFORM_DIR_PATH', plugin_dir_path(__FILE__));
18
 
19
+ defined('FLUENTFORM_VERSION') or define('FLUENTFORM_VERSION', '4.2.20');
20
 
21
  if (!defined('FLUENTFORM_HAS_NIA')) {
22
  define('FLUENTFORM_HAS_NIA', true);
glue.json CHANGED
@@ -2,7 +2,7 @@
2
  "plugin_name": "FluentForm",
3
  "plugin_slug": "fluentform",
4
  "plugin_text_domain": "fluentform",
5
- "plugin_version": "4.1.51",
6
  "plugin_description": "The most advanced drag and drop form builder plugin for WordPress",
7
  "plugin_uri": "https://wpfluentforms.com",
8
  "plugin_license": "GPLv2 or later",
2
  "plugin_name": "FluentForm",
3
  "plugin_slug": "fluentform",
4
  "plugin_text_domain": "fluentform",
5
+ "plugin_version": "4.2.20",
6
  "plugin_description": "The most advanced drag and drop form builder plugin for WordPress",
7
  "plugin_uri": "https://wpfluentforms.com",
8
  "plugin_license": "GPLv2 or later",
public/css/fluent-all-forms.css CHANGED
@@ -1 +1 @@
1
- .ff_form_wrap{margin:0}.ff_form_wrap *{box-sizing:border-box}.ff_form_wrap .ff_form_wrap_area{padding:15px 0;overflow:hidden;display:block}.ff_form_wrap .ff_form_wrap_area>h2{margin-top:0}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{-webkit-appearance:none;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;color:#606266;box-shadow:none;margin:0;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{box-shadow:none}input[type=color].el-select__input,input[type=date].el-select__input,input[type=datetime-local].el-select__input,input[type=datetime].el-select__input,input[type=email].el-select__input,input[type=month].el-select__input,input[type=number].el-select__input,input[type=password].el-select__input,input[type=search].el-select__input,input[type=tel].el-select__input,input[type=text].el-select__input,input[type=time].el-select__input,input[type=url].el-select__input,input[type=week].el-select__input,textarea.el-select__input{border:none;background-color:transparent}p{margin-top:0;margin-bottom:10px}.icon{font:normal normal normal 14px/1 ultimateform;display:inline-block}.mr15{margin-right:15px}.mb15{margin-bottom:15px}.pull-left{float:left!important}.pull-right{float:right!important}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.el-icon-clickable{cursor:pointer}.help-text{margin:0;font-style:italic;font-size:.9em}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:500;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-block{width:100%}.clearfix:after,.clearfix:before,.form-editor:after,.form-editor:before{display:table;content:" "}.clearfix:after,.form-editor:after{clear:both}.el-notification__content p{text-align:left}.label-lh-1-5 label{line-height:1.5}.ff_form_main_nav{display:block;width:auto;overflow:hidden;border-bottom:1px solid #ddd;background:#fff;margin:0 -20px;padding:10px 20px 0;box-sizing:border-box}.ff_form_main_nav span.plugin-name{font-size:16px;color:#6e6e6e;margin-right:30px}.ff_form_main_nav .ninja-tab{padding:10px 10px 18px;display:inline-block;text-decoration:none;color:#000;font-size:15px;line-height:16px;margin-right:15px;border-bottom:2px solid transparent}.ff_form_main_nav .ninja-tab:focus{box-shadow:none}.ff_form_main_nav .ninja-tab.ninja-tab-active{font-weight:700;border-bottom:2px solid #ffd65b}.ff_form_main_nav .ninja-tab.buy_pro_tab{background:#e04f5e;padding:10px 25px;color:#fff}.el-dialog__wrapper .el-dialog{background:transparent}.el-dialog__wrapper .el-dialog__header{display:block;overflow:hidden;background:#f5f5f5;border:1px solid #ddd;padding:10px;border-top-left-radius:5px;border-top-right-radius:5px}.el-dialog__wrapper .el-dialog__header .el-dialog__headerbtn{top:12px}.el-dialog__wrapper .el-dialog__footer{background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.el-dialog__wrapper .el-dialog__body{padding:20px;background:#fff;border-radius:0}.el-dialog__wrapper .el-dialog__body .dialog-footer{padding:10px 20px 20px;text-align:right;box-sizing:border-box;background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px;width:auto;display:block;margin:0 -20px -20px}.ff_nav_top{overflow:hidden;display:block;margin-bottom:15px;width:100%}.ff_nav_top .ff_nav_title{float:left;width:50%}.ff_nav_top .ff_nav_title h3{float:left;margin:0;padding:0;line-height:28px}.ff_nav_top .ff_nav_title .ff_nav_sub_actions{display:inline-block;margin-left:20px}.ff_nav_top .ff_nav_action{float:left;width:50%;text-align:right}.ff_nav_top .ff_search_inline{width:200px;text-align:right;display:inline-block}.el-table__header-wrapper table.el-table__header tr th{background-color:#f5f9f9!important;color:rgba(0,0,0,.6)!important}.ff_global_notices{display:block;width:100%;overflow:hidden;margin-top:20px;box-sizing:border-box}.ff_global_notices .ff_global_notice{background:#fff;margin-right:20px;display:block;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.ff_global_notices .ff_global_notice.ff_notice_error{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.ff_global_notices .ff_global_notice.ff_notice_success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.el-select-dropdown.el-popper{z-index:99999999999!important}ul.ff_entry_list{list-style:disc;margin-left:20px}span.ff_new_badge{background:#ff4747;padding:0 5px 3px;border-radius:4px;font-size:11px;vertical-align:super;color:#fff;line-height:100%;margin-left:5px}label.el-checkbox,label.el-radio{display:inline-block}.el-time-spinner__list .el-time-spinner__item{margin-bottom:0!important}.ff_card_block{padding:15px 20px;background:#f1f1f1;border-radius:5px}.ff_card_block h3{padding:0;margin:0 0 15px}#wpbody-content{padding-right:30px}#wpbody-content,#wpbody-content *{box-sizing:border-box}.videoWrapper{position:relative;padding-bottom:56.25%;height:0}.videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}.ff-left-spaced{margin-left:10px!important}.doc_video_wrapper{text-align:center;background:#fff;padding:20px 0 0;max-width:800px;margin:0 auto}.el-big-items .el-select-dropdown__wrap{max-height:350px}.ff_email_resend_inline{display:inline-block}.ff_settings_off{background-color:#f7fafc;padding:10px 15px;margin:-15px -35px}.ff_settings_off .ff_settings_block{background:#fff;padding:20px;margin-top:20px;margin-bottom:30px;border-radius:6px;box-shadow:0 0 35px 0 rgba(16,64,112,.15)}.ff_settings_header{margin-left:-15px;margin-right:-15px;margin-top:-10px;padding:10px 20px;border-bottom:1px solid #e0dbdb}.ff_settings_header h2{margin:0;line-height:30px}.el-text-primary{color:#20a0ff}.el-text-info{color:#58b7ff}.el-text-success{color:#13ce66}.el-text-warning{color:#f7ba2a}.el-text-danger{color:#ff4949}.el-notification__content{text-align:left}.el-input-group--append .el-input-group__append{left:-2px}.action-buttons .el-button+.el-button{margin-left:0}.el-box-card{box-shadow:none}.el-box-footer,.el-box-header{background-color:#edf1f6;padding:15px}.el-box-body{padding:15px}.el-form-item__force-inline.el-form-item__label{float:left;padding:11px 12px 11px 0}.el-form-item .el-form-item{margin-bottom:10px}.el-form-item__content .line{text-align:center}.el-basic-collapse{border:0;margin-bottom:15px}.el-basic-collapse .el-collapse-item__header{padding-left:0;display:inline-block;border:0}.el-basic-collapse .el-collapse-item__wrap{border:0}.el-basic-collapse .el-collapse-item__content{padding:0;background-color:#fff}.el-collapse-settings{margin-bottom:15px}.el-collapse-settings .el-collapse-item__header{background:#f1f1f1;padding-left:20px}.el-collapse-settings .el-collapse-item__content{padding-bottom:0;margin-top:15px}.el-collapse-settings .el-collapse-item__arrow{line-height:48px}.el-popover{text-align:left}.option-fields-section--content .el-form-item{margin-bottom:10px}.option-fields-section--content .el-form-item__label{padding-bottom:5px;font-size:13px;line-height:1}.option-fields-section--content .el-input__inner{height:30px;padding:0 8px}.option-fields-section--content .el-form-item__content{line-height:1.5;margin-bottom:5px}.el-dropdown-list{border:0;margin:5px 0;box-shadow:none;padding:0;z-index:10;position:static;min-width:auto;max-height:280px;overflow-y:scroll}.el-dropdown-list .el-dropdown-menu__item{font-size:13px;line-height:18px;padding:4px 10px;border-bottom:1px solid #f1f1f1}.el-dropdown-list .el-dropdown-menu__item:last-of-type{border-bottom:0}.el-form-nested.el-form--label-left .el-form-item__label{float:left;padding:10px 5px 10px 0}.el-message{top:40px}.el-button{text-decoration:none}.form-editor-elements:not(.el-form--label-left):not(.el-form--label-right) .el-form-item__label{line-height:1}.folded .el-dialog__wrapper{left:36px}.el-dialog__wrapper{left:160px}.ff-el-banner{width:200px;height:250px;border:1px solid #dce0e5;float:left;display:inline-block;padding:5px;transition:border .3s}.ff-el-banner,.ff-el-banner-group{overflow:hidden}.ff-el-banner-group .ff-el-banner{margin-right:10px;margin-bottom:30px}.ff-el-banner+.ff-el-banner{margin-right:10px}.ff-el-banner img{width:100%;height:auto;display:block}.ff-el-banner-header{text-align:center;margin:0;background:#909399;padding:3px 6px;font-size:13px;color:#fff;font-weight:400}.ff-el-banner-inner-item{position:relative;overflow:hidden;height:inherit}.ff-el-banner:hover .ff-el-banner-text-inside{opacity:1!important;visibility:visible!important}.ff-el-banner-text-inside{display:flex;justify-content:center;flex-direction:column}.ff-el-banner-text-inside-hoverable{position:absolute;transition:all .3s;color:#fff;top:0;left:0;right:0;bottom:0;padding:10px}.ff-el-banner-text-inside .form-title{color:#fff;margin:0 0 10px}.ff_backdrop{background:rgba(0,0,0,.5);position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999999}.compact td>.cell,.compact th>.cell{white-space:nowrap}@media (max-width:768px){.form_internal_menu{width:100%;left:0!important;top:44px!important}.form_internal_menu .ff-navigation-right{display:none}.form_internal_menu ul.ff_setting_menu{float:right;padding-right:10px!important}.form_internal_menu ul.ff_setting_menu li a{padding:10px 3px!important}.form_internal_menu .ff_form_name{padding:10px 5px!important;max-width:120px!important}.ff_nav_action{float:right!important;text-align:left!important}div#wpbody-content{padding-right:10px!important}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{min-height:30px}.ff_form_main_nav .plugin-name{display:none}.row-actions{display:inline-block!important}.el-form .el-form-item .el-form-item__label{width:100%!important}.el-form .el-form-item .el-form-item__content{margin-left:0!important}.ff_settings_container{margin:0!important;padding:0 10px!important}.ff_settings_wrapper .ff_settings_sidebar{width:120px!important}.ff_settings_wrapper .ff_settings_sidebar ul.ff_settings_list li a{padding:10px 5px;font-size:10px}.settings_app{min-width:500px}.el-tabs__content{padding:20px 10px!important}.wpf_each_entry a{word-break:break-all}div#js-form-editor--body{padding:20px 0}div#js-form-editor--body .form-editor__body-content{padding:60px 0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu{top:0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{display:block}}@media (max-width:425px){.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{margin-right:0}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right a,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right button,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right span{font-size:10px;padding:5px 4px!important;margin:0 3px}#ff_form_entries_app .ff_nav_top .ff_nav_action,#ff_form_entries_app .ff_nav_top .ff_nav_title{width:100%;margin-bottom:10px}.form_internal_menu{position:relative;display:block!important;background:#fff;overflow:hidden;top:0!important;margin:0 -10px;width:auto}.form_internal_menu ul.ff_setting_menu li a{font-size:11px}.ff_form_application_container{margin-top:0!important}.ff_form_main_nav .ninja-tab{font-size:12px;padding:10px 5px;margin:0}ul.el-pager{display:none!important}.ff_settings_wrapper{min-width:600px}.ff_form_wrap .ff_form_wrap_area{overflow:scroll}button.el-button.pull-right{float:left!important}.entry_header h3{display:block;width:100%!important;clear:both}.v-row .v-col--33{width:100%!important;padding-right:0;margin-bottom:15px}.v-row .v-col--33:last-child{margin-bottom:0}.option-fields-section--content{padding:15px 5px}}.el-popover{text-align:left!important;word-break:inherit!important}.ff_all_forms .pull-right{float:right}.ff_all_forms .form_navigation{margin-bottom:20px}.v-modal{display:none!important}.mtb10{margin-top:10px;margin-bottom:10px}.predefinedModal .el-dialog{overflow-y:scroll;height:600px}.predefinedModal .el-dialog .el-dialog__body{height:484px;overflow:scroll}.ff_form_group{position:relative;width:100%;overflow:hidden}.form_item_group,.form_item_group label{display:inline-block}.form_item_group.form_item_group_search{float:right}.form_action_navigations{margin:-20px -20px 0;padding:10px 20px;background:#f5f5f5;border-bottom:1px solid #ddd}.ff-el-banner{padding:0!important;word-break:break-word}.ff-el-banner:hover{background:#009cff;transition:background-color .1s linear}.item_has_image .ff-el-banner-text-inside.ff-el-banner-text-inside-hoverable{opacity:0;visibility:hidden}.item_has_image:hover .ff-el-banner-text-inside-hoverable{display:flex;background:#009cff;transition:background-color .1s linear}.item_no_image .ff-el-banner-header{position:absolute;z-index:999999;left:0;right:0;top:0;bottom:0;padding-top:110px;font-size:15px;font-weight:700;background:transparent;word-break:break-word}.item_no_image:hover .ff-el-banner-header{display:none;visibility:hidden}.item_no_image:hover .ff-el-banner-text-inside-hoverable{display:flex}.item_no_image .ff-el-banner-text-inside-hoverable{display:none}.ff-el-banner-text-inside{cursor:pointer}.item_education{background-color:#4b77be}.item_government{background-color:#8e44ad}.item_healthcare{background-color:#26a587}.item_hr{background-color:#c3272b}.item_it{background-color:#1f97c1}.item_finance{background-color:#083a82}.item_technology{background-color:#ea7f13}.item_website{background-color:#c93756}.item_product{background-color:#9574a8}.item_marketing{background-color:#f1828d}.item_newsletter{background-color:#d64c84}.item_nonprofit{background-color:#ce9138}.item_social{background-color:#4caf50}.el-notification.right{z-index:9999999999!important}button.el-button.ff_create_post_form.el-button--info.el-button--mini{float:left!important}.el-dialog.el-dialog.post-type-selection{height:165px!important}.el-dialog.el-dialog.post-type-selection .el-dialog__body{height:118px!important;overflow:hidden}small{font-weight:400;font-size:13px;margin-left:15px}.shortcode_btn{width:250px;overflow:hidden;display:block;height:26px;font-size:11px;border-radius:4px}.classic_shortcode{margin-bottom:7px}
1
+ .ff_form_wrap{margin:0}.ff_form_wrap *{box-sizing:border-box}.ff_form_wrap .ff_form_wrap_area{padding:15px 0;overflow:hidden;display:block}.ff_form_wrap .ff_form_wrap_area>h2{margin-top:0}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{-webkit-appearance:none;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;color:#606266;box-shadow:none;margin:0;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{box-shadow:none}input[type=color].el-select__input,input[type=date].el-select__input,input[type=datetime-local].el-select__input,input[type=datetime].el-select__input,input[type=email].el-select__input,input[type=month].el-select__input,input[type=number].el-select__input,input[type=password].el-select__input,input[type=search].el-select__input,input[type=tel].el-select__input,input[type=text].el-select__input,input[type=time].el-select__input,input[type=url].el-select__input,input[type=week].el-select__input,textarea.el-select__input{border:none;background-color:transparent}p{margin-top:0;margin-bottom:10px}.icon{font:normal normal normal 14px/1 ultimateform;display:inline-block}.mr15{margin-right:15px}.mb15{margin-bottom:15px}.pull-left{float:left!important}.pull-right{float:right!important}.text-left{text-align:left}.text-right{text-align:right}.text-center{text-align:center}.el-icon-clickable{cursor:pointer}.help-text{margin:0;font-style:italic;font-size:.9em}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:500;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-block{width:100%}.clearfix:after,.clearfix:before,.form-editor:after,.form-editor:before{display:table;content:" "}.clearfix:after,.form-editor:after{clear:both}.el-notification__content p{text-align:left}.label-lh-1-5 label{line-height:1.5}.ff_form_main_nav{display:block;width:auto;overflow:hidden;border-bottom:1px solid #ddd;background:#fff;margin:0 -20px;padding:10px 20px 0;box-sizing:border-box}.ff_form_main_nav span.plugin-name{font-size:16px;color:#6e6e6e;margin-right:30px}.ff_form_main_nav .ninja-tab{padding:10px 10px 18px;display:inline-block;text-decoration:none;color:#000;font-size:15px;line-height:16px;margin-right:15px;border-bottom:2px solid transparent}.ff_form_main_nav .ninja-tab:focus{box-shadow:none}.ff_form_main_nav .ninja-tab.ninja-tab-active{font-weight:700;border-bottom:2px solid #ffd65b}.ff_form_main_nav .ninja-tab.buy_pro_tab{background:#e04f5e;padding:10px 25px;color:#fff}.el-dialog__wrapper .el-dialog{background:transparent}.el-dialog__wrapper .el-dialog__header{display:block;overflow:hidden;background:#f5f5f5;border:1px solid #ddd;padding:10px;border-top-left-radius:5px;border-top-right-radius:5px}.el-dialog__wrapper .el-dialog__header .el-dialog__headerbtn{top:12px}.el-dialog__wrapper .el-dialog__footer{background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.el-dialog__wrapper .el-dialog__body{padding:20px;background:#fff;border-radius:0}.el-dialog__wrapper .el-dialog__body .dialog-footer{padding:10px 20px 20px;text-align:right;box-sizing:border-box;background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px;width:auto;display:block;margin:0 -20px -20px}.ff_nav_top{overflow:hidden;display:block;margin-bottom:15px;width:100%}.ff_nav_top .ff_nav_title{float:left;width:50%}.ff_nav_top .ff_nav_title h3{float:left;margin:0;padding:0;line-height:28px}.ff_nav_top .ff_nav_title .ff_nav_sub_actions{display:inline-block;margin-left:20px}.ff_nav_top .ff_nav_action{float:left;width:50%;text-align:right}.ff_nav_top .ff_search_inline{width:200px;text-align:right;display:inline-block}.el-table__header-wrapper table.el-table__header tr th{background-color:#f5f9f9!important;color:rgba(0,0,0,.6)!important}.ff_global_notices{display:block;width:100%;overflow:hidden;margin-top:20px;box-sizing:border-box}.ff_global_notices .ff_global_notice{background:#fff;margin-right:20px;display:block;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.ff_global_notices .ff_global_notice.ff_notice_error{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.ff_global_notices .ff_global_notice.ff_notice_success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.el-select-dropdown.el-popper{z-index:99999999999!important}ul.ff_entry_list{list-style:disc;margin-left:20px}span.ff_new_badge{background:#ff4747;padding:0 5px 3px;border-radius:4px;font-size:11px;vertical-align:super;color:#fff;line-height:100%;margin-left:5px}label.el-checkbox,label.el-radio{display:inline-block}.el-time-spinner__list .el-time-spinner__item{margin-bottom:0!important}.ff_card_block{padding:15px 20px;background:#f1f1f1;border-radius:5px}.ff_card_block h3{padding:0;margin:0 0 15px}#wpbody-content{padding-right:30px}#wpbody-content,#wpbody-content *{box-sizing:border-box}.videoWrapper{position:relative;padding-bottom:56.25%;height:0}.videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}.ff-left-spaced{margin-left:10px!important}.doc_video_wrapper{text-align:center;background:#fff;padding:20px 0 0;max-width:800px;margin:0 auto}.el-big-items .el-select-dropdown__wrap{max-height:350px}.ff_email_resend_inline{display:inline-block}.ff_settings_off{background-color:#f7fafc;padding:10px 15px;margin:-15px -35px}.ff_settings_off .ff_settings_block{background:#fff;padding:20px;margin-top:20px;margin-bottom:30px;border-radius:6px;box-shadow:0 0 35px 0 rgba(16,64,112,.15)}.ff_settings_header{margin-left:-15px;margin-right:-15px;margin-top:-10px;padding:10px 20px;border-bottom:1px solid #e0dbdb}.ff_settings_header h2{margin:0;line-height:30px}.el-text-primary{color:#20a0ff}.el-text-info{color:#58b7ff}.el-text-success{color:#13ce66}.el-text-warning{color:#f7ba2a}.el-text-danger{color:#ff4949}.el-notification__content{text-align:left}.el-input-group--append .el-input-group__append{left:-2px}.action-buttons .el-button+.el-button{margin-left:0}.el-box-card{box-shadow:none}.el-box-footer,.el-box-header{background-color:#edf1f6;padding:15px}.el-box-body{padding:15px}.el-form-item__force-inline.el-form-item__label{float:left;padding:11px 12px 11px 0}.el-form-item .el-form-item{margin-bottom:10px}.el-form-item__content .line{text-align:center}.el-basic-collapse{border:0;margin-bottom:15px}.el-basic-collapse .el-collapse-item__header{padding-left:0;display:inline-block;border:0}.el-basic-collapse .el-collapse-item__wrap{border:0}.el-basic-collapse .el-collapse-item__content{padding:0;background-color:#fff}.el-collapse-settings{margin-bottom:15px}.el-collapse-settings .el-collapse-item__header{background:#f1f1f1;padding-left:20px}.el-collapse-settings .el-collapse-item__content{padding-bottom:0;margin-top:15px}.el-collapse-settings .el-collapse-item__arrow{line-height:48px}.el-popover{text-align:left}.option-fields-section--content .el-form-item{margin-bottom:10px}.option-fields-section--content .el-form-item__label{padding-bottom:5px;font-size:13px;line-height:1}.option-fields-section--content .el-input__inner{height:30px;padding:0 8px}.option-fields-section--content .el-form-item__content{line-height:1.5;margin-bottom:5px}.option-fields-section--content .el-input-number--mini{line-height:28px}.el-dropdown-list{border:0;margin:5px 0;box-shadow:none;padding:0;z-index:10;position:static;min-width:auto;max-height:280px;overflow-y:scroll}.el-dropdown-list .el-dropdown-menu__item{font-size:13px;line-height:18px;padding:4px 10px;border-bottom:1px solid #f1f1f1}.el-dropdown-list .el-dropdown-menu__item:last-of-type{border-bottom:0}.el-form-nested.el-form--label-left .el-form-item__label{float:left;padding:10px 5px 10px 0}.el-message{top:40px}.el-button{text-decoration:none}.form-editor-elements:not(.el-form--label-left):not(.el-form--label-right) .el-form-item__label{line-height:1}.folded .el-dialog__wrapper{left:36px}.el-dialog__wrapper{left:160px}.ff-el-banner{width:200px;height:250px;border:1px solid #dce0e5;float:left;display:inline-block;padding:5px;transition:border .3s}.ff-el-banner,.ff-el-banner-group{overflow:hidden}.ff-el-banner-group .ff-el-banner{margin-right:10px;margin-bottom:30px}.ff-el-banner+.ff-el-banner{margin-right:10px}.ff-el-banner img{width:100%;height:auto;display:block}.ff-el-banner-header{text-align:center;margin:0;background:#909399;padding:3px 6px;font-size:13px;color:#fff;font-weight:400}.ff-el-banner-inner-item{position:relative;overflow:hidden;height:inherit}.ff-el-banner:hover .ff-el-banner-text-inside{opacity:1!important;visibility:visible!important}.ff-el-banner-text-inside{display:flex;justify-content:center;flex-direction:column}.ff-el-banner-text-inside-hoverable{position:absolute;transition:all .3s;color:#fff;top:0;left:0;right:0;bottom:0;padding:10px}.ff-el-banner-text-inside .form-title{color:#fff;margin:0 0 10px}.ff_backdrop{background:rgba(0,0,0,.5);position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999999}.compact td>.cell,.compact th>.cell{white-space:nowrap}@media (max-width:768px){.form_internal_menu{width:100%;left:0!important;top:44px!important}.form_internal_menu .ff-navigation-right{display:none}.form_internal_menu ul.ff_setting_menu{float:right;padding-right:10px!important}.form_internal_menu ul.ff_setting_menu li a{padding:10px 3px!important}.form_internal_menu .ff_form_name{padding:10px 5px!important;max-width:120px!important}.ff_nav_action{float:right!important;text-align:left!important}div#wpbody-content{padding-right:10px!important}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{min-height:30px}.ff_form_main_nav .plugin-name{display:none}.row-actions{display:inline-block!important}.el-form .el-form-item .el-form-item__label{width:100%!important}.el-form .el-form-item .el-form-item__content{margin-left:0!important}.ff_settings_container{margin:0!important;padding:0 10px!important}.ff_settings_wrapper .ff_settings_sidebar{width:120px!important}.ff_settings_wrapper .ff_settings_sidebar ul.ff_settings_list li a{padding:10px 5px;font-size:10px}.settings_app{min-width:500px}.el-tabs__content{padding:20px 10px!important}.wpf_each_entry a{word-break:break-all}div#js-form-editor--body{padding:20px 0}div#js-form-editor--body .form-editor__body-content{padding:60px 0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu{top:0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{display:block}}@media (max-width:425px){.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{margin-right:0}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right a,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right button,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right span{font-size:10px;padding:5px 4px!important;margin:0 3px}#ff_form_entries_app .ff_nav_top .ff_nav_action,#ff_form_entries_app .ff_nav_top .ff_nav_title{width:100%;margin-bottom:10px}.form_internal_menu{position:relative;display:block!important;background:#fff;overflow:hidden;top:0!important;margin:0 -10px;width:auto}.form_internal_menu ul.ff_setting_menu li a{font-size:11px}.ff_form_application_container{margin-top:0!important}.ff_form_main_nav .ninja-tab{font-size:12px;padding:10px 5px;margin:0}ul.el-pager{display:none!important}.ff_settings_wrapper{min-width:600px}.ff_form_wrap .ff_form_wrap_area{overflow:scroll}button.el-button.pull-right{float:left!important}.entry_header h3{display:block;width:100%!important;clear:both}.v-row .v-col--33{width:100%!important;padding-right:0;margin-bottom:15px}.v-row .v-col--33:last-child{margin-bottom:0}.option-fields-section--content{padding:15px 5px}}.el-popover{text-align:left!important;word-break:inherit!important}.ff_all_forms .pull-right{float:right}.ff_all_forms .form_navigation{margin-bottom:20px}.v-modal{display:none!important}.mtb10{margin-top:10px;margin-bottom:10px}.predefinedModal .el-dialog{overflow-y:scroll;height:600px}.predefinedModal .el-dialog .el-dialog__body{height:484px;overflow:scroll}.ff_form_group{position:relative;width:100%;overflow:hidden}.form_item_group,.form_item_group label{display:inline-block}.form_item_group.form_item_group_search{float:right}.form_action_navigations{margin:-20px -20px 0;padding:10px 20px;background:#f5f5f5;border-bottom:1px solid #ddd}.ff-el-banner{padding:0!important;word-break:break-word}.ff-el-banner:hover{background:#009cff;transition:background-color .1s linear}.item_has_image .ff-el-banner-text-inside.ff-el-banner-text-inside-hoverable{opacity:0;visibility:hidden}.item_has_image:hover .ff-el-banner-text-inside-hoverable{display:flex;background:#009cff;transition:background-color .1s linear}.item_no_image .ff-el-banner-header{position:absolute;z-index:999999;left:0;right:0;top:0;bottom:0;padding-top:110px;font-size:15px;font-weight:700;background:transparent;word-break:break-word}.item_no_image:hover .ff-el-banner-header{display:none;visibility:hidden}.item_no_image:hover .ff-el-banner-text-inside-hoverable{display:flex}.item_no_image .ff-el-banner-text-inside-hoverable{display:none}.ff-el-banner-text-inside{cursor:pointer}.item_education{background-color:#4b77be}.item_government{background-color:#8e44ad}.item_healthcare{background-color:#26a587}.item_hr{background-color:#c3272b}.item_it{background-color:#1f97c1}.item_finance{background-color:#083a82}.item_technology{background-color:#ea7f13}.item_website{background-color:#c93756}.item_product{background-color:#9574a8}.item_marketing{background-color:#f1828d}.item_newsletter{background-color:#d64c84}.item_nonprofit{background-color:#ce9138}.item_social{background-color:#4caf50}.el-notification.right{z-index:9999999999!important}button.el-button.ff_create_post_form.el-button--info.el-button--mini{float:left!important}.el-dialog.el-dialog.post-type-selection{height:165px!important}.el-dialog.el-dialog.post-type-selection .el-dialog__body{height:118px!important;overflow:hidden}small{font-weight:400;font-size:13px;margin-left:15px}.shortcode_btn{width:250px;overflow:hidden;display:block;height:26px;font-size:11px;border-radius:4px}.classic_shortcode{margin-bottom:7px}
public/css/fluent-forms-admin-sass.css CHANGED
@@ -1 +1 @@
1
- /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}@font-face{font-family:element-icons;src:url(../fonts/element-icons.woff?535877f50039c0cb49a6196a5b7517cd) format("woff"),url(../fonts/element-icons.ttf?732389ded34cb9c52dd88271f1345af9) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\E6A0"}.el-icon-ice-cream-square:before{content:"\E6A3"}.el-icon-lollipop:before{content:"\E6A4"}.el-icon-potato-strips:before{content:"\E6A5"}.el-icon-milk-tea:before{content:"\E6A6"}.el-icon-ice-drink:before{content:"\E6A7"}.el-icon-ice-tea:before{content:"\E6A9"}.el-icon-coffee:before{content:"\E6AA"}.el-icon-orange:before{content:"\E6AB"}.el-icon-pear:before{content:"\E6AC"}.el-icon-apple:before{content:"\E6AD"}.el-icon-cherry:before{content:"\E6AE"}.el-icon-watermelon:before{content:"\E6AF"}.el-icon-grape:before{content:"\E6B0"}.el-icon-refrigerator:before{content:"\E6B1"}.el-icon-goblet-square-full:before{content:"\E6B2"}.el-icon-goblet-square:before{content:"\E6B3"}.el-icon-goblet-full:before{content:"\E6B4"}.el-icon-goblet:before{content:"\E6B5"}.el-icon-cold-drink:before{content:"\E6B6"}.el-icon-coffee-cup:before{content:"\E6B8"}.el-icon-water-cup:before{content:"\E6B9"}.el-icon-hot-water:before{content:"\E6BA"}.el-icon-ice-cream:before{content:"\E6BB"}.el-icon-dessert:before{content:"\E6BC"}.el-icon-sugar:before{content:"\E6BD"}.el-icon-tableware:before{content:"\E6BE"}.el-icon-burger:before{content:"\E6BF"}.el-icon-knife-fork:before{content:"\E6C1"}.el-icon-fork-spoon:before{content:"\E6C2"}.el-icon-chicken:before{content:"\E6C3"}.el-icon-food:before{content:"\E6C4"}.el-icon-dish-1:before{content:"\E6C5"}.el-icon-dish:before{content:"\E6C6"}.el-icon-moon-night:before{content:"\E6EE"}.el-icon-moon:before{content:"\E6F0"}.el-icon-cloudy-and-sunny:before{content:"\E6F1"}.el-icon-partly-cloudy:before{content:"\E6F2"}.el-icon-cloudy:before{content:"\E6F3"}.el-icon-sunny:before{content:"\E6F6"}.el-icon-sunset:before{content:"\E6F7"}.el-icon-sunrise-1:before{content:"\E6F8"}.el-icon-sunrise:before{content:"\E6F9"}.el-icon-heavy-rain:before{content:"\E6FA"}.el-icon-lightning:before{content:"\E6FB"}.el-icon-light-rain:before{content:"\E6FC"}.el-icon-wind-power:before{content:"\E6FD"}.el-icon-baseball:before{content:"\E712"}.el-icon-soccer:before{content:"\E713"}.el-icon-football:before{content:"\E715"}.el-icon-basketball:before{content:"\E716"}.el-icon-ship:before{content:"\E73F"}.el-icon-truck:before{content:"\E740"}.el-icon-bicycle:before{content:"\E741"}.el-icon-mobile-phone:before{content:"\E6D3"}.el-icon-service:before{content:"\E6D4"}.el-icon-key:before{content:"\E6E2"}.el-icon-unlock:before{content:"\E6E4"}.el-icon-lock:before{content:"\E6E5"}.el-icon-watch:before{content:"\E6FE"}.el-icon-watch-1:before{content:"\E6FF"}.el-icon-timer:before{content:"\E702"}.el-icon-alarm-clock:before{content:"\E703"}.el-icon-map-location:before{content:"\E704"}.el-icon-delete-location:before{content:"\E705"}.el-icon-add-location:before{content:"\E706"}.el-icon-location-information:before{content:"\E707"}.el-icon-location-outline:before{content:"\E708"}.el-icon-location:before{content:"\E79E"}.el-icon-place:before{content:"\E709"}.el-icon-discover:before{content:"\E70A"}.el-icon-first-aid-kit:before{content:"\E70B"}.el-icon-trophy-1:before{content:"\E70C"}.el-icon-trophy:before{content:"\E70D"}.el-icon-medal:before{content:"\E70E"}.el-icon-medal-1:before{content:"\E70F"}.el-icon-stopwatch:before{content:"\E710"}.el-icon-mic:before{content:"\E711"}.el-icon-copy-document:before{content:"\E718"}.el-icon-full-screen:before{content:"\E719"}.el-icon-switch-button:before{content:"\E71B"}.el-icon-aim:before{content:"\E71C"}.el-icon-crop:before{content:"\E71D"}.el-icon-odometer:before{content:"\E71E"}.el-icon-time:before{content:"\E71F"}.el-icon-bangzhu:before{content:"\E724"}.el-icon-close-notification:before{content:"\E726"}.el-icon-microphone:before{content:"\E727"}.el-icon-turn-off-microphone:before{content:"\E728"}.el-icon-position:before{content:"\E729"}.el-icon-postcard:before{content:"\E72A"}.el-icon-message:before{content:"\E72B"}.el-icon-chat-line-square:before{content:"\E72D"}.el-icon-chat-dot-square:before{content:"\E72E"}.el-icon-chat-dot-round:before{content:"\E72F"}.el-icon-chat-square:before{content:"\E730"}.el-icon-chat-line-round:before{content:"\E731"}.el-icon-chat-round:before{content:"\E732"}.el-icon-set-up:before{content:"\E733"}.el-icon-turn-off:before{content:"\E734"}.el-icon-open:before{content:"\E735"}.el-icon-connection:before{content:"\E736"}.el-icon-link:before{content:"\E737"}.el-icon-cpu:before{content:"\E738"}.el-icon-thumb:before{content:"\E739"}.el-icon-female:before{content:"\E73A"}.el-icon-male:before{content:"\E73B"}.el-icon-guide:before{content:"\E73C"}.el-icon-news:before{content:"\E73E"}.el-icon-price-tag:before{content:"\E744"}.el-icon-discount:before{content:"\E745"}.el-icon-wallet:before{content:"\E747"}.el-icon-coin:before{content:"\E748"}.el-icon-money:before{content:"\E749"}.el-icon-bank-card:before{content:"\E74A"}.el-icon-box:before{content:"\E74B"}.el-icon-present:before{content:"\E74C"}.el-icon-sell:before{content:"\E6D5"}.el-icon-sold-out:before{content:"\E6D6"}.el-icon-shopping-bag-2:before{content:"\E74D"}.el-icon-shopping-bag-1:before{content:"\E74E"}.el-icon-shopping-cart-2:before{content:"\E74F"}.el-icon-shopping-cart-1:before{content:"\E750"}.el-icon-shopping-cart-full:before{content:"\E751"}.el-icon-smoking:before{content:"\E752"}.el-icon-no-smoking:before{content:"\E753"}.el-icon-house:before{content:"\E754"}.el-icon-table-lamp:before{content:"\E755"}.el-icon-school:before{content:"\E756"}.el-icon-office-building:before{content:"\E757"}.el-icon-toilet-paper:before{content:"\E758"}.el-icon-notebook-2:before{content:"\E759"}.el-icon-notebook-1:before{content:"\E75A"}.el-icon-files:before{content:"\E75B"}.el-icon-collection:before{content:"\E75C"}.el-icon-receiving:before{content:"\E75D"}.el-icon-suitcase-1:before{content:"\E760"}.el-icon-suitcase:before{content:"\E761"}.el-icon-film:before{content:"\E763"}.el-icon-collection-tag:before{content:"\E765"}.el-icon-data-analysis:before{content:"\E766"}.el-icon-pie-chart:before{content:"\E767"}.el-icon-data-board:before{content:"\E768"}.el-icon-data-line:before{content:"\E76D"}.el-icon-reading:before{content:"\E769"}.el-icon-magic-stick:before{content:"\E76A"}.el-icon-coordinate:before{content:"\E76B"}.el-icon-mouse:before{content:"\E76C"}.el-icon-brush:before{content:"\E76E"}.el-icon-headset:before{content:"\E76F"}.el-icon-umbrella:before{content:"\E770"}.el-icon-scissors:before{content:"\E771"}.el-icon-mobile:before{content:"\E773"}.el-icon-attract:before{content:"\E774"}.el-icon-monitor:before{content:"\E775"}.el-icon-search:before{content:"\E778"}.el-icon-takeaway-box:before{content:"\E77A"}.el-icon-paperclip:before{content:"\E77D"}.el-icon-printer:before{content:"\E77E"}.el-icon-document-add:before{content:"\E782"}.el-icon-document:before{content:"\E785"}.el-icon-document-checked:before{content:"\E786"}.el-icon-document-copy:before{content:"\E787"}.el-icon-document-delete:before{content:"\E788"}.el-icon-document-remove:before{content:"\E789"}.el-icon-tickets:before{content:"\E78B"}.el-icon-folder-checked:before{content:"\E77F"}.el-icon-folder-delete:before{content:"\E780"}.el-icon-folder-remove:before{content:"\E781"}.el-icon-folder-add:before{content:"\E783"}.el-icon-folder-opened:before{content:"\E784"}.el-icon-folder:before{content:"\E78A"}.el-icon-edit-outline:before{content:"\E764"}.el-icon-edit:before{content:"\E78C"}.el-icon-date:before{content:"\E78E"}.el-icon-c-scale-to-original:before{content:"\E7C6"}.el-icon-view:before{content:"\E6CE"}.el-icon-loading:before{content:"\E6CF"}.el-icon-rank:before{content:"\E6D1"}.el-icon-sort-down:before{content:"\E7C4"}.el-icon-sort-up:before{content:"\E7C5"}.el-icon-sort:before{content:"\E6D2"}.el-icon-finished:before{content:"\E6CD"}.el-icon-refresh-left:before{content:"\E6C7"}.el-icon-refresh-right:before{content:"\E6C8"}.el-icon-refresh:before{content:"\E6D0"}.el-icon-video-play:before{content:"\E7C0"}.el-icon-video-pause:before{content:"\E7C1"}.el-icon-d-arrow-right:before{content:"\E6DC"}.el-icon-d-arrow-left:before{content:"\E6DD"}.el-icon-arrow-up:before{content:"\E6E1"}.el-icon-arrow-down:before{content:"\E6DF"}.el-icon-arrow-right:before{content:"\E6E0"}.el-icon-arrow-left:before{content:"\E6DE"}.el-icon-top-right:before{content:"\E6E7"}.el-icon-top-left:before{content:"\E6E8"}.el-icon-top:before{content:"\E6E6"}.el-icon-bottom:before{content:"\E6EB"}.el-icon-right:before{content:"\E6E9"}.el-icon-back:before{content:"\E6EA"}.el-icon-bottom-right:before{content:"\E6EC"}.el-icon-bottom-left:before{content:"\E6ED"}.el-icon-caret-top:before{content:"\E78F"}.el-icon-caret-bottom:before{content:"\E790"}.el-icon-caret-right:before{content:"\E791"}.el-icon-caret-left:before{content:"\E792"}.el-icon-d-caret:before{content:"\E79A"}.el-icon-share:before{content:"\E793"}.el-icon-menu:before{content:"\E798"}.el-icon-s-grid:before{content:"\E7A6"}.el-icon-s-check:before{content:"\E7A7"}.el-icon-s-data:before{content:"\E7A8"}.el-icon-s-opportunity:before{content:"\E7AA"}.el-icon-s-custom:before{content:"\E7AB"}.el-icon-s-claim:before{content:"\E7AD"}.el-icon-s-finance:before{content:"\E7AE"}.el-icon-s-comment:before{content:"\E7AF"}.el-icon-s-flag:before{content:"\E7B0"}.el-icon-s-marketing:before{content:"\E7B1"}.el-icon-s-shop:before{content:"\E7B4"}.el-icon-s-open:before{content:"\E7B5"}.el-icon-s-management:before{content:"\E7B6"}.el-icon-s-ticket:before{content:"\E7B7"}.el-icon-s-release:before{content:"\E7B8"}.el-icon-s-home:before{content:"\E7B9"}.el-icon-s-promotion:before{content:"\E7BA"}.el-icon-s-operation:before{content:"\E7BB"}.el-icon-s-unfold:before{content:"\E7BC"}.el-icon-s-fold:before{content:"\E7A9"}.el-icon-s-platform:before{content:"\E7BD"}.el-icon-s-order:before{content:"\E7BE"}.el-icon-s-cooperation:before{content:"\E7BF"}.el-icon-bell:before{content:"\E725"}.el-icon-message-solid:before{content:"\E799"}.el-icon-video-camera:before{content:"\E772"}.el-icon-video-camera-solid:before{content:"\E796"}.el-icon-camera:before{content:"\E779"}.el-icon-camera-solid:before{content:"\E79B"}.el-icon-download:before{content:"\E77C"}.el-icon-upload2:before{content:"\E77B"}.el-icon-upload:before{content:"\E7C3"}.el-icon-picture-outline-round:before{content:"\E75F"}.el-icon-picture-outline:before{content:"\E75E"}.el-icon-picture:before{content:"\E79F"}.el-icon-close:before{content:"\E6DB"}.el-icon-check:before{content:"\E6DA"}.el-icon-plus:before{content:"\E6D9"}.el-icon-minus:before{content:"\E6D8"}.el-icon-help:before{content:"\E73D"}.el-icon-s-help:before{content:"\E7B3"}.el-icon-circle-close:before{content:"\E78D"}.el-icon-circle-check:before{content:"\E720"}.el-icon-circle-plus-outline:before{content:"\E723"}.el-icon-remove-outline:before{content:"\E722"}.el-icon-zoom-out:before{content:"\E776"}.el-icon-zoom-in:before{content:"\E777"}.el-icon-error:before{content:"\E79D"}.el-icon-success:before{content:"\E79C"}.el-icon-circle-plus:before{content:"\E7A0"}.el-icon-remove:before{content:"\E7A2"}.el-icon-info:before{content:"\E7A1"}.el-icon-question:before{content:"\E7A4"}.el-icon-warning-outline:before{content:"\E6C9"}.el-icon-warning:before{content:"\E7A3"}.el-icon-goods:before{content:"\E7C2"}.el-icon-s-goods:before{content:"\E7B2"}.el-icon-star-off:before{content:"\E717"}.el-icon-star-on:before{content:"\E797"}.el-icon-more-outline:before{content:"\E6CC"}.el-icon-more:before{content:"\E794"}.el-icon-phone-outline:before{content:"\E6CB"}.el-icon-phone:before{content:"\E795"}.el-icon-user:before{content:"\E6E3"}.el-icon-user-solid:before{content:"\E7A5"}.el-icon-setting:before{content:"\E6CA"}.el-icon-s-tools:before{content:"\E7AC"}.el-icon-delete:before{content:"\E6D7"}.el-icon-delete-solid:before{content:"\E7C9"}.el-icon-eleme:before{content:"\E7C7"}.el-icon-platform-eleme:before{content:"\E7CA"}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@font-face{font-family:fluentform;src:url(../fonts/fluentform.eot?bd247f4736d5cb3fc5fcb8b8650cc549);src:url(../fonts/fluentform.eot?bd247f4736d5cb3fc5fcb8b8650cc549?#iefix) format("embedded-opentype"),url(../fonts/fluentform.woff?483735301c8b46d6edb8fded7b6c75d7) format("woff"),url(../fonts/fluentform.ttf?9209f40bff8597892e6b2e91e8a79507) format("truetype"),url(../fonts/fluentform.svg?ce3318fa2f1123ecc0fde93bd4a30375#fluentform) format("svg");font-weight:400;font-style:normal}[data-icon]:before{content:attr(data-icon)}[class*=" icon-"]:before,[class^=icon-]:before,[data-icon]:before{font-family:fluentform!important;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-trash-o:before{content:"\E000"}.icon-pencil:before{content:"\E001"}.icon-clone:before{content:"\E002"}.icon-arrows:before{content:"\E003"}.icon-user:before{content:"\E004"}.icon-text-width:before{content:"\E005"}.icon-unlock-alt:before{content:"\E006"}.icon-paragraph:before{content:"\E007"}.icon-columns:before{content:"\E008"}.icon-plus-circle:before{content:"\E009"}.icon-minus-circle:before{content:"\E00A"}.icon-link:before{content:"\E00B"}.icon-envelope-o:before{content:"\E00C"}.icon-caret-square-o-down:before{content:"\E00D"}.icon-list-ul:before{content:"\E00E"}.icon-dot-circle-o:before{content:"\E00F"}.icon-check-square-o:before{content:"\E010"}.icon-eye-slash:before{content:"\E011"}.icon-picture-o:before{content:"\E012"}.icon-calendar-o:before{content:"\E013"}.icon-upload:before{content:"\E014"}.icon-globe:before{content:"\E015"}.icon-pound:before{content:"\E016"}.icon-map-marker:before{content:"\E017"}.icon-credit-card:before{content:"\E018"}.icon-step-forward:before{content:"\E019"}.icon-code:before{content:"\E01A"}.icon-html5:before{content:"\E01B"}.icon-qrcode:before{content:"\E01C"}.icon-certificate:before{content:"\E01D"}.icon-star-half-o:before{content:"\E01E"}.icon-eye:before{content:"\E01F"}.icon-save:before{content:"\E020"}.icon-puzzle-piece:before{content:"\E021"}.icon-slack:before{content:"\E022"}.icon-trash:before{content:"\E023"}.icon-lock:before{content:"\E024"}.icon-chevron-down:before{content:"\E025"}.icon-chevron-up:before{content:"\E026"}.icon-chevron-right:before{content:"\E027"}.icon-chevron-left:before{content:"\E028"}.icon-circle-o:before{content:"\E029"}.icon-cog:before{content:"\E02A"}.icon-info:before{content:"\E02C"}.icon-info-circle:before{content:"\E02B"}.icon-ink-pen:before{content:"\E02D"}.icon-keyboard-o:before{content:"\E02E"}@font-face{font-family:fluentformeditors;src:url(../fonts/fluentformeditors.eot?a038536a0a1cc2bc001758da589bec20);src:url(../fonts/fluentformeditors.eot?a038536a0a1cc2bc001758da589bec20?#iefix) format("embedded-opentype"),url(../fonts/fluentformeditors.woff?239e1c8f54d107e3d9a1b4d16f7b00ee) format("woff"),url(../fonts/fluentformeditors.ttf?f02d86d8c42f8966121c9a432d3decb0) format("truetype"),url(../fonts/fluentformeditors.svg?be1434b6a10d2f8df2694a86009f6f5d#fluentformeditors) format("svg");font-weight:400;font-style:normal}[class*=" ff-edit-"]:before,[class^=ff-edit-]:before{font-family:fluentformeditors!important;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ff-edit-column-2:before{content:"b"}.ff-edit-rating:before{content:"c"}.ff-edit-checkable-grid:before{content:"d"}.ff-edit-hidden-field:before{content:"e"}.ff-edit-section-break:before{content:"f"}.ff-edit-recaptha:before{content:"g"}.ff-edit-html:before{content:"h"}.ff-edit-shortcode:before{content:"i"}.ff-edit-terms-condition:before{content:"j"}.ff-edit-action-hook:before{content:"k"}.ff-edit-step:before{content:"l"}.ff-edit-name:before{content:"m"}.ff-edit-email:before{content:"n"}.ff-edit-text:before{content:"o"}.ff-edit-mask:before{content:"p"}.ff-edit-textarea:before{content:"q"}.ff-edit-address:before{content:"r"}.ff-edit-country:before{content:"s"}.ff-edit-dropdown:before{content:"u"}.ff-edit-radio:before{content:"v"}.ff-edit-checkbox-1:before{content:"w"}.ff-edit-multiple-choice:before{content:"x"}.ff-edit-website-url:before{content:"y"}.ff-edit-password:before{content:"z"}.ff-edit-date:before{content:"A"}.ff-edit-files:before{content:"B"}.ff-edit-images:before{content:"C"}.ff-edit-gdpr:before{content:"E"}.ff-edit-three-column:before{content:"G"}.ff-edit-repeat:before{content:"F"}.ff-edit-numeric:before{content:"t"}.ff-edit-credit-card:before{content:"a"}.ff-edit-keyboard-o:before{content:"D"}.ff-edit-shopping-cart:before{content:"H"}.ff-edit-link:before{content:"I"}.ff-edit-ios-cart-outline:before{content:"J"}.ff-edit-tint:before{content:"K"}.ff_form_wrap{margin:0}.ff_form_wrap *{box-sizing:border-box}.ff_form_wrap .ff_form_wrap_area{padding:15px 0;overflow:hidden;display:block}.ff_form_wrap .ff_form_wrap_area>h2{margin-top:0}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{-webkit-appearance:none;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;color:#606266;box-shadow:none;margin:0;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{box-shadow:none}input[type=color].el-select__input,input[type=date].el-select__input,input[type=datetime-local].el-select__input,input[type=datetime].el-select__input,input[type=email].el-select__input,input[type=month].el-select__input,input[type=number].el-select__input,input[type=password].el-select__input,input[type=search].el-select__input,input[type=tel].el-select__input,input[type=text].el-select__input,input[type=time].el-select__input,input[type=url].el-select__input,input[type=week].el-select__input,textarea.el-select__input{border:none;background-color:transparent}p{margin-top:0;margin-bottom:10px}.icon{font:normal normal normal 14px/1 ultimateform;display:inline-block}.mr15{margin-right:15px}.mb15{margin-bottom:15px}.pull-left{float:left!important}.pull-right{float:right!important}.text-left{text-align:left}.text-center{text-align:center}.el-icon-clickable{cursor:pointer}.help-text{margin:0;font-style:italic;font-size:.9em}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:500;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-block{width:100%}.clearfix:after,.clearfix:before,.form-editor:after,.form-editor:before{display:table;content:" "}.clearfix:after,.form-editor:after{clear:both}.el-notification__content p{text-align:left}.label-lh-1-5 label{line-height:1.5}.ff_form_main_nav{display:block;width:auto;overflow:hidden;border-bottom:1px solid #ddd;background:#fff;margin:0 -20px;padding:10px 20px 0;box-sizing:border-box}.ff_form_main_nav span.plugin-name{font-size:16px;color:#6e6e6e;margin-right:30px}.ff_form_main_nav .ninja-tab{padding:10px 10px 18px;display:inline-block;text-decoration:none;color:#000;font-size:15px;line-height:16px;margin-right:15px;border-bottom:2px solid transparent}.ff_form_main_nav .ninja-tab:focus{box-shadow:none}.ff_form_main_nav .ninja-tab.ninja-tab-active{font-weight:700;border-bottom:2px solid #ffd65b}.ff_form_main_nav .ninja-tab.buy_pro_tab{background:#e04f5e;padding:10px 25px;color:#fff}.el-dialog__wrapper .el-dialog{background:transparent}.el-dialog__wrapper .el-dialog__header{display:block;overflow:hidden;background:#f5f5f5;border:1px solid #ddd;padding:10px;border-top-left-radius:5px;border-top-right-radius:5px}.el-dialog__wrapper .el-dialog__header .el-dialog__headerbtn{top:12px}.el-dialog__wrapper .el-dialog__footer{background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.el-dialog__wrapper .el-dialog__body{padding:20px;background:#fff;border-radius:0}.el-dialog__wrapper .el-dialog__body .dialog-footer{padding:10px 20px 20px;text-align:right;box-sizing:border-box;background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px;width:auto;display:block;margin:0 -20px -20px}.ff_nav_top{overflow:hidden;display:block;margin-bottom:15px;width:100%}.ff_nav_top .ff_nav_title{float:left;width:50%}.ff_nav_top .ff_nav_title h3{float:left;margin:0;padding:0;line-height:28px}.ff_nav_top .ff_nav_title .ff_nav_sub_actions{display:inline-block;margin-left:20px}.ff_nav_top .ff_nav_action{float:left;width:50%;text-align:right}.ff_nav_top .ff_search_inline{width:200px;text-align:right;display:inline-block}.el-table__header-wrapper table.el-table__header tr th{background-color:#f5f9f9!important;color:rgba(0,0,0,.6)!important}.ff_global_notices{display:block;width:100%;overflow:hidden;margin-top:20px;box-sizing:border-box}.ff_global_notices .ff_global_notice{background:#fff;margin-right:20px;display:block;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.ff_global_notices .ff_global_notice.ff_notice_error{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.ff_global_notices .ff_global_notice.ff_notice_success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.el-select-dropdown.el-popper{z-index:99999999999!important}ul.ff_entry_list{list-style:disc;margin-left:20px}span.ff_new_badge{background:#ff4747;padding:0 5px 3px;border-radius:4px;font-size:11px;vertical-align:super;color:#fff;line-height:100%;margin-left:5px}label.el-checkbox,label.el-radio{display:inline-block}.el-time-spinner__list .el-time-spinner__item{margin-bottom:0!important}.ff_card_block{padding:15px 20px;background:#f1f1f1;border-radius:5px}.ff_card_block h3{padding:0;margin:0 0 15px}#wpbody-content{padding-right:30px}#wpbody-content,#wpbody-content *{box-sizing:border-box}.videoWrapper{position:relative;padding-bottom:56.25%;height:0}.videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}.ff-left-spaced{margin-left:10px!important}.doc_video_wrapper{text-align:center;background:#fff;padding:20px 0 0;max-width:800px;margin:0 auto}.el-big-items .el-select-dropdown__wrap{max-height:350px}.ff_email_resend_inline{display:inline-block}.ff_settings_off{background-color:#f7fafc;padding:10px 15px;margin:-15px -35px}.ff_settings_off .ff_settings_block{background:#fff;padding:20px;margin-top:20px;margin-bottom:30px;border-radius:6px;box-shadow:0 0 35px 0 rgba(16,64,112,.15)}.ff_settings_header{margin-left:-15px;margin-right:-15px;margin-top:-10px;padding:10px 20px;border-bottom:1px solid #e0dbdb}.ff_settings_header h2{margin:0;line-height:30px}.ultimate-nav-menu{background-color:#fff;border-radius:4px}.ultimate-nav-menu>ul{margin:0}.ultimate-nav-menu>ul>li{display:inline-block;margin:0;font-weight:600}.ultimate-nav-menu>ul>li+li{margin-left:-4px}.ultimate-nav-menu>ul>li a{padding:10px;display:block;text-decoration:none;color:#23282d}.ultimate-nav-menu>ul>li a:hover{background-color:#337ab7;color:#fff}.ultimate-nav-menu>ul>li:first-of-type a{border-radius:4px 0 0 4px}.ultimate-nav-menu>ul>li.active a{background-color:#337ab7;color:#fff}.nav-tabs *{box-sizing:border-box}.nav-tab-list{margin:0}.nav-tab-list li{display:inline-block;margin-bottom:0;text-align:center;background-color:#f5f5f5}.nav-tab-list li+li{margin-left:-4x;border-left:1px solid #e2e4e7}.nav-tab-list li:hover{background-color:#e2e4e7}.nav-tab-list li.active{background-color:#fff;border-bottom-color:#fff;font-size:15px}.nav-tab-list li a{color:#000;display:block;padding:12px;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-tab-list li a:focus{box-shadow:none}.toggle-fields-options{overflow:hidden}.toggle-fields-options li{width:50%;float:left}.nav-tab-items{background-color:#fff}.vddl-draggable,.vddl-list{position:relative}.vddl-dragging{opacity:1}.vddl-dragging-source{display:none}.select{min-width:200px}.new-elements .btn-element{padding:10px 5px;background-color:#fff;display:block;color:#636a84;cursor:move;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .05s;text-align:center;border-radius:0;box-shadow:0 1px 2px 0 #d9d9da}.new-elements .btn-element:hover{background-color:#636a84;color:#fff}.new-elements .btn-element:active:not([draggable=false]){box-shadow:inset 0 2px 7px -4px rgba(0,0,0,.5);transform:translateY(1px)}.new-elements .btn-element i{display:block;text-align:center;margin:0 auto}.new-elements .btn-element[draggable=false]{opacity:.5;cursor:pointer}.mtb15{margin-top:15px;margin-bottom:15px}.text-right{text-align:right}.container,footer{max-width:980px;min-width:730px;margin:0 auto}.help-text{margin-bottom:0}.demo-content{width:100%}.vddl-list__handle div.vddl-nodrag{display:flex;align-items:center;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vddl-list__handle input[type=radio]{margin-right:0}.vddl-list__handle .nodrag div{margin-right:6px}.vddl-list__handle .nodrag div:last-of-type{margin-right:0}.vddl-list__handle .handle{cursor:move;width:25px;height:16px;background:url(../images/handle.png?e2ed9fef1f5e01da3fbe7239f619d775) 50% no-repeat;background-size:20px 20px}.vddl-draggable .el-form-item{margin-bottom:5px}.tooltip-icon{color:#828f96;vertical-align:middle!important}.option-fields-section{border-bottom:1px solid #dfdfdf;background:#fff}.option-fields-section:last-child{margin-bottom:-5px}.option-fields-section.option-fields-section_active{background:#f3f4f5}.option-fields-section:first-child .option-fields-section--title{border-top:1px solid #e3e5e8!important;background:#fff}.option-fields-section:first-child .option-fields-section--title.active{border-top:0}.option-fields-section--title{padding:14px 20px;margin:0;font-size:13px;font-weight:600;cursor:pointer;overflow:hidden;position:relative}.option-fields-section--title:after{content:"\E025";position:absolute;right:20px;font-family:fluentform;vertical-align:middle}.option-fields-section--title.active{font-weight:700}.option-fields-section--title.active:after{content:"\E026"}.option-fields-section--icon{float:right;vertical-align:middle;margin-top:3px}.option-fields-section--content{max-height:1050vh;padding:15px 20px}.slide-fade-enter-active,.slide-fade-leave-active{overflow:hidden;transition:all .2s ease-in-out}.slide-fade-enter,.slide-fade-leave-to{max-height:0!important;opacity:.2;transform:translateY(-11px)}.ff_conv_section_wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-grow:1;flex-basis:50%}.ff_conv_section_wrapper.ff_conv_layout_default{padding:10px 0}.ff_conv_section_wrapper.ff_conv_layout_default .ff_conv_media_preview{display:none!important}.ff_conv_section_wrapper.ff_conv_layout_default .ff_conv_input{padding-left:30px;width:100%}.ff_conv_section_wrapper .ff_conv_input{width:100%;padding:0 20px 0 30px;display:flex;flex-direction:column-reverse}.ff_conv_section_wrapper .ff_conv_input label.el-form-item__label{font-size:18px;margin-bottom:5px}.ff_conv_section_wrapper .ff_conv_input .help-text{margin-bottom:8px;font-style:normal!important}.ff_conv_section_wrapper .ff_conv_media_preview{width:100%}.ff_conv_section_wrapper .ff_conv_media_preview img{max-width:100%;max-height:300px}.ff_conv_section_wrapper.ff_conv_layout_media_right .ff_conv_media_preview{text-align:center}.ff_conv_section_wrapper.ff_conv_layout_media_left{flex-direction:row-reverse}.ff_conv_section_wrapper.ff_conv_layout_media_left .ff_conv_media_preview{text-align:center}.ff_conv_section_wrapper.ff_conv_layout_media_left .ff_conv_input{width:100%;padding:30px 0 30px 30px}.ff_conv_section_wrapper.ff_conv_layout_media_right_full .ff_conv_media_preview{margin:-10px -10px -10px 0}.ff_conv_section_wrapper.ff_conv_layout_media_right_full img{display:block;margin:0 auto;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;border-top-right-radius:8px;border-bottom-right-radius:8px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full{flex-direction:row-reverse}.ff_conv_section_wrapper.ff_conv_layout_media_left_full .ff_conv_media_preview{margin:-10px 0 -10px -10px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full .ff_conv_input{width:100%;padding:30px 0 30px 30px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full img{display:block;margin:0 auto;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;border-top-left-radius:8px;border-bottom-left-radius:8px}.ff_conv_section{color:#262627;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);-webkit-animation:expand 1s cubic-bezier(.22,1,.36,1) 0s 1 normal none running;animation:expand 1s cubic-bezier(.22,1,.36,1) 0s 1 normal none running;width:100%;height:100%;position:relative;background-color:transparent;margin-bottom:20px;cursor:pointer}.ff_conv_section .hover-action-middle{align-items:flex-start;justify-content:flex-end}.ff_conv_section .panel__body--item{border-radius:10px}.ff_conv_section .panel__body--item.selected{background:#fff;box-shadow:0 0 5px 1px #409eff}.ff_iconed_radios>label{border:1px solid #737373;padding:5px 10px;color:#737373;margin-right:20px}.ff_iconed_radios>label span.el-radio__input{display:none}.ff_iconed_radios>label .el-radio__label{padding-left:0}.ff_iconed_radios>label i{font-size:30px;width:30px;height:30px}.ff_iconed_radios>label.is-checked{border:1px solid #409eff;background:#409eff}.ff_iconed_radios>label.is-checked i{color:#fff;display:block}.ff_conversion_editor{background:#fafafa}.ff_conversion_editor .form-editor--body,.ff_conversion_editor .form-editor__body-content,.ff_conversion_editor .panel__body--list{background-color:#fafafa!important}.ff_conversion_editor .ffc_btn_wrapper{margin-top:20px;display:flex;align-items:center}.ff_conversion_editor .ffc_btn_wrapper .fcc_btn_help{padding-left:15px}.ff_conversion_editor .welcome_screen.text-center .ffc_btn_wrapper{justify-content:center}.ff_conversion_editor .welcome_screen.text-right .ffc_btn_wrapper{justify-content:flex-end}.ff_conversion_editor .ff_default_submit_button_wrapper{display:block!important}.ff_conversion_editor .fcc_pro_message{margin:10px 0;background:#fef6f1;padding:15px;text-align:center;font-size:13px}.ff_conversion_editor .fcc_pro_message a{display:block;margin-top:10px}.ff_conversion_editor .ffc_raw_content{max-height:250px;max-width:60%;margin:0 auto;overflow:hidden}.form-editor *{box-sizing:border-box}.form-editor .address-field-option label.el-checkbox{display:inline-block}.form-editor--body,.form-editor--sidebar{float:left}.form-editor--body{background-color:#fff;width:60%;padding:20px 20px 30px;height:calc(100vh - 51px);overflow-y:scroll}.form-editor--body::-webkit-scrollbar{-webkit-appearance:none;display:none}.form-editor--body .ff-el-form-hide_label .el-form-item__label,.form-editor--body .ff-el-form-hide_label>label{display:none}.form-editor--body .el-slider__button-wrapper{z-index:0}.form-editor .ff-el-form-bottom.el-form-item,.form-editor .ff-el-form-bottom .el-form-item{display:flex;flex-direction:column-reverse}.form-editor .ff-el-form-bottom .el-form-item__label{padding:10px 0 0}.form-editor .ff-el-form-right .el-form-item__label{text-align:right;padding-right:5px}.form-editor--sidebar{width:40%;background-color:#f3f3f4}.form-editor--sidebar-content{height:90vh;overflow-y:scroll;border-left:1px solid #e2e4e7;padding-bottom:50px}.form-editor--sidebar-content::-webkit-scrollbar{-webkit-appearance:none;display:none}.form-editor--sidebar-content .nav-tab-list li{background-color:#f3f3f4}.form-editor--sidebar-content .nav-tab-list li a{padding:15px}.form-editor--sidebar-content .nav-tab-list li.active{background-color:#f3f3f4;box-shadow:inset 0 -2px #409eff}.form-editor--sidebar-content .nav-tab-list li+li{border-left:1px solid #e3e5e8}.form-editor--sidebar-content .search-element{margin:0;padding:0}.form-editor--sidebar-content .search-element .el-input--small .el-input__inner{height:40px}.form-editor--sidebar-content .search-element-result{padding:16px 15px 15px;margin-top:0!important;border-top:1px solid #e3e5e8}.form-editor--sidebar .nav-tab-items{background-color:transparent}.form-editor--sidebar .ff_advnced_options_wrap{max-height:300px;overflow-y:auto;margin-bottom:10px}.form-editor__body-content{max-width:100%;margin:0 auto}.form-editor__body-content .ff_check_photo_item{float:left;margin-right:10px;margin-bottom:10px}.form-editor__body-content .ff_check_photo_item .ff_photo_holder{width:120px;height:120px;background-size:cover;background-position:50%;background-repeat:no-repeat}div#js-form-editor--body .form-editor__body-content{background-color:#fff;padding:30px 20px 30px 0}#ff_form_editor_app{margin-right:-30px}body.ff_full_screen{overflow-y:hidden}body.ff_full_screen #ff_form_editor_app{margin-right:0}body.ff_full_screen .form-editor--sidebar-content{height:calc(100vh - 56px)}body.ff_full_screen .wrap.ff_form_wrap{background:#fff;color:#444;z-index:100099!important;position:fixed;overflow:hidden;top:0;bottom:0;left:0!important;right:0!important;height:100%;min-width:0;cursor:default;margin:0!important}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu{position:absolute;top:0;left:0;right:0}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu li{opacity:.5}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu li:hover{opacity:1}body.ff_full_screen div#js-form-editor--body .form-editor__body-content{padding:30px}body{overflow-y:hidden}.styler_row{width:100%;overflow:hidden;margin-bottom:10px}.styler_row .el-form-item{width:50%;float:left}.styler_row.styler_row_3 .el-form-item{width:32%;margin-right:1%}#wp-link-wrap,.el-color-picker__panel,.el-dialog__wrapper,.el-message,.el-notification,.el-notification.right,.el-popper,.el-tooltip__popper,div.mce-inline-toolbar-grp.mce-arrow-up{z-index:9999999999!important}.ff_code_editor textarea{background:#353535!important;color:#fff!important}.el-popper.el-dropdown-list-wrapper .el-dropdown-menu{width:100%}.ff_editor_html{display:block;width:100%;overflow:hidden}.ff_editor_html img.aligncenter{display:block;text-align:center;margin:0 auto}.address-field-option__settings{margin-top:10px}.address-field-option .pad-b-20{padding-bottom:20px!important}.el-form-item .ff_list_inline>div{width:auto!important;float:none!important;margin:0 15px 10px 0;display:-moz-inline-stack;display:inline-block}.el-form-item .ff_list_3col{width:100%}.el-form-item .ff_list_3col>div{width:33.3%;display:-moz-inline-stack;display:inline-block;margin:0 0 2px;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_2col{width:100%}.el-form-item .ff_list_2col>div{width:50%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_4col{width:100%}.el-form-item .ff_list_4col>div{width:25%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_5col{width:100%}.el-form-item .ff_list_5col>div{width:20%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images){width:auto!important;float:none!important;display:-moz-inline-stack;display:inline-block;position:relative;margin:0 0 10px;line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:6px 20px;border-radius:0}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images) input{opacity:0;outline:none;position:absolute;margin:0;z-index:-1}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images):first-child{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images):last-child{border-radius:0 4px 4px 0}#wpwrap{background:#fff}#switchScreen{color:grey;font-size:25px;vertical-align:middle;font-weight:700;margin-left:10px;cursor:pointer}.form-editor--sidebar .el-form--label-top .el-form-item__label{padding-bottom:6px}.ff_setting_menu li{opacity:.5}.ff_setting_menu li:hover{opacity:1}.ff_setting_menu li.active{opacity:.8}.ff_form_name{opacity:.5}.ff_form_name:hover{opacity:1}.ff-navigation-right .btn.copy,.ff-navigation-right>a{opacity:.5}.ff-navigation-right:hover .btn.copy,.ff-navigation-right:hover>a{opacity:1}.editor_play_video{position:absolute;top:373px;right:38%;background:#409eff;padding:10px 20px;color:#fff;border-radius:20px;box-shadow:0 1px 2px 2px #dae9cc;font-size:19px;cursor:pointer}.form-editor .form-editor--sidebar{position:relative}.form-editor .code{overflow-x:scroll}.form-editor .search-element{padding:10px 20px}.form-editor .ff-user-guide{text-align:center;margin-top:-105px;position:relative;z-index:1}.form-editor .post-form-settings label.el-form-item__label{font-weight:500;margin-top:8px;color:#606266}.chained-select-settings .uploader{width:100%;height:130px;position:relative;margin-top:10px}.chained-select-settings .el-upload--text,.chained-select-settings .el-upload-dragger{width:100%;height:130px}.chained-select-settings .el-upload-list,.chained-select-settings .el-upload-list .el-upload-list__item{margin:-5px 0 0}.chained-select-settings .btn-danger{color:#f56c6c}.conditional-logic{margin-bottom:10px}.condition-field,.condition-value{width:30%}.condition-operator{width:85px}.form-control-2{line-height:28;height:28px;border-radius:5px;padding:2px 5px;vertical-align:middle}mark{background-color:#929292!important;color:#fff!important;font-size:11px;padding:5px;display:inline-block;line-height:1}.highlighted .field-options-settings{background-color:#ffc6c6}.flexable{display:flex}.flexable .el-form-item{margin-right:5px}.flexable .el-form-item:last-of-type{margin-right:0}.field-options-settings{margin-bottom:5px;background-color:#f1f1f1;padding:3px 8px;transition:all .5s}.address-field-option .el-form-item{margin-bottom:15px}.address-field-option .el-checkbox+.el-checkbox{margin-left:0}.address-field-option .required-checkbox{margin-right:10px;display:none}.address-field-option .required-checkbox.is-open{display:block}.address-field-option__settings{margin-top:15px;display:none}.address-field-option__settings.is-open{display:block}.el-form-item.ff_full_width_child .el-form-item__content{width:100%;margin-left:0!important}.el-select .el-input{min-width:70px}.input-with-select .el-input-group__prepend{background-color:#fff}.pull-right.top-check-action>label{margin-right:10px}.pull-right.top-check-action>label:last-child{margin-right:0}.pull-right.top-check-action span.el-checkbox__label{padding-left:3px}.item_desc textarea{margin-top:5px;width:100%}.optionsToRender{margin:7px 0}.action-btn{display:inline-block;min-width:32px}.sidebar-popper{max-width:300px;line-height:1.5}.el-form-item .select{height:35px!important;min-width:100%}.address-field-wrapper{margin-top:10px}.chained-Select-template .header{margin-right:5px}.checkable-grids{border-collapse:collapse}.checkable-grids thead>tr>th{padding:7px 10px;background:#f1f1f1}.checkable-grids tbody>tr>td{padding:7px 10px}.checkable-grids tbody>tr>td:not(:first-of-type){text-align:center}.checkable-grids tbody>tr:nth-child(2n)>td{background:#f1f1f1}.checkable-grids tbody>tr:nth-child(2n - 1)>td{background:#fff}.net-promoter-button{border-radius:inherit}.ff-el-net-promoter-tags{display:flex;justify-content:space-between;max-width:550px}.ff-el-net-promoter-tags p{font-size:12px;opacity:.6}.ff-el-rate{display:inline-block}.repeat-field--item{width:calc(100% - 40px);float:left;margin-right:5px;display:flex}.repeat-field--item>div{flex-grow:1;margin:0 3px}.repeat-field--item .el-form-item__label{text-align:left}.repeat-field-actions{margin-top:40px}.section-break__title{margin-top:0;margin-bottom:10px;font-size:18px}.el-form-item .select{width:100%;min-height:35px}.ff-btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:6px 12px;font-size:16px;line-height:1.5;border-radius:4px;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.ff-btn:focus,.ff-btn:hover{outline:0;text-decoration:none;box-shadow:0 0 0 2px rgba(0,123,255,.25)}.ff-btn.disabled,.ff-btn:disabled{opacity:.65}.ff-btn-lg{padding:8px 16px;font-size:18px;line-height:1.5;border-radius:6px}.ff-btn-sm{padding:4px 8px;font-size:13px;line-height:1.5;border-radius:3px}.ff-btn-block{display:block;width:100%}.ff-btn-primary{background-color:#409eff;color:#fff}.ff-btn-green{background-color:#67c23a;color:#fff}.ff-btn-orange{background-color:#e6a23c;color:#fff}.ff-btn-red{background-color:#f56c6c;color:#fff}.ff-btn-gray{background-color:#909399;color:#fff}.taxonomy-template .el-form-item .select{width:100%;height:35px!important;min-width:100%}.taxonomy-template .el-form-item .el-checkbox .el-checkbox__inner{border:1px solid #7e8993;border-radius:4px;background:#fff;color:#555;clear:both;height:1rem;margin:-.25rem .25rem 0 0;width:1rem;min-width:1rem;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}.taxonomy-template .el-form-item .el-checkbox{line-height:19px;display:block;margin:5px 0}.taxonomy-template .el-form-item .el-checkbox .el-checkbox__label{padding-left:5px}.ff_tc{overflow:hidden}.ff_tc .el-checkbox__input{vertical-align:top}.ff_tc .el-checkbox__label{overflow:hidden;word-break:break-word;white-space:break-spaces}.v-row.ff_items_1 .v-col--33,.v-row.ff_items_2 .v-col--33,.v-row .v-col--50:last-child{padding-right:15px}ul.ff_bulk_option_groups{height:300px;overflow:scroll;padding:0;margin:0;list-style:none;border:1px solid #dcdfe5;border-radius:5px}ul.ff_bulk_option_groups li{padding:5px 20px;border-bottom:1px solid #ddd;margin:0;line-height:27px;cursor:pointer}ul.ff_bulk_option_groups li:hover{background:#f5f5f5}.panel{border-radius:8px;border:1px solid #ebebeb;overflow:hidden;margin-bottom:15px}.panel__heading{background:#f5f5f5;border-bottom:1px solid #ebebeb;height:42px}.panel__heading .form-name-editable{float:left;font-size:14px;padding:4px 8px;margin:8px 0 8px 8px;max-width:250px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:2px}.panel__heading .form-name-editable:hover{background-color:#fff;cursor:pointer}.panel__heading .copy-form-shortcode{float:left;padding:4px 8px;margin:8px 0 8px 8px;background-color:#909399;color:#fff;cursor:pointer;border-radius:2px}.panel__heading--btn{padding:3px}.panel__heading .form-inline{padding:5px;float:left}.panel__body{background:#fff;padding:10px 0}.panel__body p{font-size:14px;line-height:20px;color:#666}.panel__body--list{background:#fff}.panel__body--item,.panel__body .panel__placeholder{width:100%;min-height:70px;padding:10px;background:#fff;box-sizing:border-box}.panel__body--item.no-padding-left{padding-left:0}.panel__body--item:last-child{border-bottom:none}.panel__body--item{position:relative;max-width:100%}.panel__body--item.selected{background-color:#eceef1;border:1px solid #eceef1;box-shadow:-3px 0 0 0 #555d66}.panel__body--item>.popup-search-element{transition:all .3s;position:absolute;left:50%;transform:translateX(-50%);bottom:-10px;visibility:hidden;opacity:0;z-index:3}.panel__body--item.is-editor-inserter>.item-actions-wrapper,.panel__body--item.is-editor-inserter>.popup-search-element,.panel__body--item:hover>.item-actions-wrapper,.panel__body--item:hover>.popup-search-element{opacity:1;visibility:visible}.panel__body--item iframe,.panel__body--item img{max-width:100%}.panel .panel__placeholder{background:#f5f5f5}.panel.panel--info .panel__body,.panel>.panel__body{padding:15px}.el-fluid{width:100%!important}.label-block{display:inline-block;margin-bottom:10px;line-height:1;font-weight:500}.form-group{margin-bottom:15px}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}textarea.form-control{height:auto}label.is-required:before{content:"* ";color:red}.el-checkbox-horizontal,.el-radio-horizontal{display:inline-block}.el-checkbox-horizontal .el-checkbox,.el-checkbox-horizontal .el-radio,.el-radio-horizontal .el-checkbox,.el-radio-horizontal .el-radio{display:block;white-space:normal;margin-left:23px;margin-bottom:7px}.el-checkbox-horizontal .el-checkbox+.el-checkbox,.el-checkbox-horizontal .el-checkbox+.el-radio,.el-checkbox-horizontal .el-radio+.el-checkbox,.el-checkbox-horizontal .el-radio+.el-radio,.el-radio-horizontal .el-checkbox+.el-checkbox,.el-radio-horizontal .el-checkbox+.el-radio,.el-radio-horizontal .el-radio+.el-checkbox,.el-radio-horizontal .el-radio+.el-radio{margin-left:23px}.el-checkbox-horizontal .el-checkbox__input,.el-checkbox-horizontal .el-radio__input,.el-radio-horizontal .el-checkbox__input,.el-radio-horizontal .el-radio__input{margin-left:-23px}.form-inline{display:inline-block}.form-inline .el-input{width:auto}.v-form-item{margin-bottom:15px}.v-form-item:last-of-type{margin-bottom:0}.v-form-item label{margin-top:9px;display:inline-block}.settings-page{background-color:#fff}.settings-body{padding:15px}.el-text-primary{color:#20a0ff}.el-text-info{color:#58b7ff}.el-text-success{color:#13ce66}.el-text-warning{color:#f7ba2a}.el-text-danger{color:#ff4949}.el-notification__content{text-align:left}.el-input-group--append .el-input-group__append{left:-2px}.action-buttons .el-button+.el-button{margin-left:0}.el-box-card{box-shadow:none}.el-box-footer,.el-box-header{background-color:#edf1f6;padding:15px}.el-box-body{padding:15px}.el-form-item__force-inline.el-form-item__label{float:left;padding:11px 12px 11px 0}.el-form-item .el-form-item{margin-bottom:10px}.el-form-item__content .line{text-align:center}.el-basic-collapse{border:0;margin-bottom:15px}.el-basic-collapse .el-collapse-item__header{padding-left:0;display:inline-block;border:0}.el-basic-collapse .el-collapse-item__wrap{border:0}.el-basic-collapse .el-collapse-item__content{padding:0;background-color:#fff}.el-collapse-settings{margin-bottom:15px}.el-collapse-settings .el-collapse-item__header{background:#f1f1f1;padding-left:20px}.el-collapse-settings .el-collapse-item__content{padding-bottom:0;margin-top:15px}.el-collapse-settings .el-collapse-item__arrow{line-height:48px}.el-popover{text-align:left}.option-fields-section--content .el-form-item{margin-bottom:10px}.option-fields-section--content .el-form-item__label{padding-bottom:5px;font-size:13px;line-height:1}.option-fields-section--content .el-input__inner{height:30px;padding:0 8px}.option-fields-section--content .el-form-item__content{line-height:1.5;margin-bottom:5px}.el-dropdown-list{border:0;margin:5px 0;box-shadow:none;padding:0;z-index:10;position:static;min-width:auto;max-height:280px;overflow-y:scroll}.el-dropdown-list .el-dropdown-menu__item{font-size:13px;line-height:18px;padding:4px 10px;border-bottom:1px solid #f1f1f1}.el-dropdown-list .el-dropdown-menu__item:last-of-type{border-bottom:0}.el-form-nested.el-form--label-left .el-form-item__label{float:left;padding:10px 5px 10px 0}.el-message{top:40px}.el-button{text-decoration:none}.form-editor-elements:not(.el-form--label-left):not(.el-form--label-right) .el-form-item__label{line-height:1}.folded .el-dialog__wrapper{left:36px}.el-dialog__wrapper{left:160px}.ff-el-banner{width:200px;height:250px;border:1px solid #dce0e5;float:left;display:inline-block;padding:5px;transition:border .3s}.ff-el-banner,.ff-el-banner-group{overflow:hidden}.ff-el-banner-group .ff-el-banner{margin-right:10px;margin-bottom:30px}.ff-el-banner+.ff-el-banner{margin-right:10px}.ff-el-banner img{width:100%;height:auto;display:block}.ff-el-banner-header{text-align:center;margin:0;background:#909399;padding:3px 6px;font-size:13px;color:#fff;font-weight:400}.ff-el-banner-inner-item{position:relative;overflow:hidden;height:inherit}.ff-el-banner:hover .ff-el-banner-text-inside{opacity:1!important;visibility:visible!important}.ff-el-banner-text-inside{display:flex;justify-content:center;flex-direction:column}.ff-el-banner-text-inside-hoverable{position:absolute;transition:all .3s;color:#fff;top:0;left:0;right:0;bottom:0;padding:10px}.ff-el-banner-text-inside .form-title{color:#fff;margin:0 0 10px}.ff_backdrop{background:rgba(0,0,0,.5);position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999999}.compact td>.cell,.compact th>.cell{white-space:nowrap}.list-group{margin:0}.list-group>li.title{background:#ddd;padding:5px 10px}.list-group li{line-height:1.5;margin-bottom:6px}.list-group li>ul{padding-left:10px;padding-right:10px}.flex-container{display:flex;align-items:center}.flex-container .flex-col{flex:1 100%;padding-left:10px;padding-right:10px}.flex-container .flex-col:first-child{padding-left:0}.flex-container .flex-col:last-child{padding-right:0}.hidden-field-item{background-color:#f5f5f5;margin-bottom:10px}.form-step__wrapper.form-step__wrapper{background:#f5f5f5;border:1px solid #f0f0f0;padding:10px}.form-step__start{border-radius:3px 3px 0 0;margin-bottom:10px;border-radius:0 0 3px 3px}.step-start{margin-left:-10px;margin-right:-10px}.step-start__indicator{text-align:center;position:relative;padding:5px 0}.step-start__indicator strong{font-size:14px;font-weight:600;color:#000;background:#f5f5f5;padding:3px 10px;position:relative;z-index:2}.step-start__indicator hr{position:absolute;top:7px;left:10px;right:10px;border:0;z-index:1;border-top:1px solid #e3e3e3}.vddl-list{padding-left:0;min-height:70px}.vddl-placeholder{width:100%;min-height:70px;border:1px dashed #cfcfcf;background:#f5f5f5}.empty-dropzone{height:70px;border:1px dashed #cfcfcf;margin:0 10px}.empty-dropzone.vddl-dragover{border-color:transparent;height:auto}.popup-search-element{display:inline-block;cursor:pointer;font-style:normal;background:#009fff;color:#fff;width:23px;height:23px;line-height:20px;font-size:16px;border-radius:50%;text-align:center;font-weight:700}.empty-dropzone-placeholder{display:table-cell;text-align:center;width:1000px;height:inherit;vertical-align:middle}.empty-dropzone-placeholder .popup-search-element{background-color:#676767;position:relative;z-index:2}.field-option-settings .section-heading{font-size:15px;margin-top:0;border-bottom:1px solid #f5f5f5;margin-bottom:1rem;padding-bottom:8px}.item-actions-wrapper{top:0;opacity:0;z-index:3;position:absolute;transition:all .3s;visibility:hidden}.item-actions{background-color:#000}.item-actions .icon{color:#fff;cursor:pointer;padding:7px 10px}.item-actions .icon:hover{background-color:#409eff}.hover-action-top-right{top:-12px;right:15px}.hover-action-middle{left:0;width:100%;height:100%;border:1px solid #e3e5e8;display:flex;align-items:center;justify-content:center;background-color:hsla(0,0%,87.1%,.3764705882352941)}.item-container{border:1px dashed #ffb900;display:flex}.item-container .col{box-sizing:border-box;flex-grow:1;border-right:1px dashed #ffb900;flex-basis:0;background:rgba(255,185,0,.08)}.item-container .col .panel__body{background:transparent}.item-container .col:last-of-type{border-right:0}.ff-el-form-left .el-form-item__label,.ff-el-form-right .el-form-item__label{padding-right:10px;float:left!important;width:120px;line-height:40px;padding-bottom:0}.ff-el-form-left .el-form-item__content,.ff-el-form-right .el-form-item__content{margin-left:120px}.ff-el-form-left .el-form-item__label{text-align:left}.ff-el-form-right .el-form-item__label{text-align:right}.ff-el-form-top .el-form-item__label{text-align:left;padding-bottom:10px;float:none;display:inline-block;line-height:1}.ff-el-form-top .el-form-item__content{margin-left:auto!important}.action-btn .icon{cursor:pointer;vertical-align:middle}.sr-only{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.editor-inserter__wrapper{height:auto;position:relative}.editor-inserter__wrapper:before{border:8px solid #e2e4e7}.editor-inserter__wrapper:after{border:8px solid #fff}.editor-inserter__wrapper:after,.editor-inserter__wrapper:before{content:" ";position:absolute;left:50%;transform:translateX(-50%);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent}.editor-inserter__wrapper.is-bottom:after,.editor-inserter__wrapper.is-bottom:before{border-top:none}.editor-inserter__wrapper.is-bottom:before{top:-9px}.editor-inserter__wrapper.is-bottom:after{top:-7px}.editor-inserter__wrapper.is-top:after,.editor-inserter__wrapper.is-top:before{border-bottom:none}.editor-inserter__wrapper.is-top:before{bottom:-9px}.editor-inserter__wrapper.is-top:after{bottom:-7px}.editor-inserter__contents{height:235px;overflow:scroll}.editor-inserter__content-items{display:flex;flex-wrap:wrap;padding:10px}.editor-inserter__content-item{width:33.33333%;text-align:center;padding:15px 5px;cursor:pointer;border-radius:4px;border:1px solid transparent}.editor-inserter__content-item:hover{box-shadow:1px 2px 3px rgba(0,0,0,.15);border-color:#bec5d0}.editor-inserter__content-item .icon{font-size:18px}.editor-inserter__content-item .icon.dashicons{font-family:dashicons}.editor-inserter__content-item div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-inserter__search.editor-inserter__search{width:100%;border-radius:0;height:35px;padding:6px 8px;border-color:#e2e4e7}.editor-inserter__tabs li{width:25%}.editor-inserter__tabs li a{padding:10px 6px}.search-popup-wrapper{position:fixed;z-index:3;background-color:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7}.userContent{max-height:200px;border:1px solid #ebedee;padding:20px;overflow:scroll}.address-field-option{margin-bottom:10px;padding-bottom:10px;margin-left:-10px;padding-left:10px}.address-field-option .el-icon-caret-top,.address-field-option>.el-icon-caret-bottom{font-size:18px}.address-field-option .address-field-option__settings.is-open{padding:10px 15px 0;background:#fff}.address-field-option:hover{box-shadow:-5px 0 0 0 #409eff}.vddl-list__handle_scrollable{max-height:190px;overflow:scroll;width:100%;margin-bottom:10px;background:#fff;padding:5px 10px;margin-top:5px}.entry_navs a{text-decoration:none;padding:2px 5px}.entry_navs a.active{background:#20a0ff;color:#fff}.entry-multi-texts{width:100%}.entry-multi-texts .mult-text-each{float:left;margin-right:2%;min-width:30%}.addresss_editor{background:#eaeaea;padding:10px 20px;overflow:hidden;display:block;width:100%;margin-left:-20px}.addresss_editor .each_address_field{width:45%;float:left;padding-right:5%}.repeat_field_items{overflow:hidden;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.repeat_field_items .field_item{display:flex;flex-direction:column;flex-basis:100%;flex:1;padding-right:20px}.repeat_field_items .field_item.field_item_action{display:block!important;flex:0.35;padding-right:0}.ff-table,.ff_entry_table_field,table.editor_table{display:table;width:100%;text-align:left;border-collapse:collapse;white-space:normal}.ff-table td,.ff_entry_table_field td,table.editor_table td{border:1px solid #e4e4e4;padding:7px;text-align:left}.ff-table th,.ff_entry_table_field th,table.editor_table th{border:1px solid #e4e4e4;padding:0 7px;background:#f5f5f5}.ff-payment-table tbody td{padding:15px 10px}.ff-payment-table thead th{padding:15px 10px;font-weight:500;font-size:120%}.ff-payment-table tfoot th{padding:10px}.ff-payment-table tfoot .text-right{text-align:right}.ff_list_items li{display:block;list-style:none;padding:7px 0;overflow:hidden}.ff_list_items li:hover{background:#f7fafc}.ff_list_items li .ff_list_header{width:180px;float:left;font-weight:700;color:#697386}.ff_list_items li .ff_list_value{color:#697386}.ff_card_badge{background-color:#d6ecff;border-radius:20px;padding:2px 8px;color:#3d4eac;font-weight:500;text-transform:capitalize}.edit_entry_view .el-form-item>label{font-weight:700}.edit_entry_view .el-form-item{margin:0 -20px;padding:10px 20px}.edit_entry_view .el-form-item:nth-child(2n){background:#f9f7f7}.edit_entry_view .el-dialog__footer{margin:20px -20px -25px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:2px solid #dcdfe6}.fluentform-wrapper .json_action{cursor:pointer}.fluentform-wrapper .show_code{width:100%;min-height:500px;background:#2e2a2a;color:#fff;padding:20px;line-height:24px}.fluentform-wrapper .entry-details{background-color:#fff}.fluentform-wrapper .entry-details .table{width:100%;border-collapse:collapse}.fluentform-wrapper .entry-details .table tr:nth-child(2n),.fluentform-wrapper .entry-details .table tr:nth-child(odd){background-color:#fff}.fluentform-wrapper .entry-details .table tr td{padding:8px 10px}.fluentform-wrapper .entry-title{font-size:17px;margin:0;border-bottom:1px solid #fdfdfd;padding:15px}.fluentform-wrapper .entry-body,.fluentform-wrapper .entry-field,.fluentform-wrapper .entry-value{padding:6px 10px}.fluentform-wrapper .entry-footer{padding:10px;text-align:right;border-top:1px solid #ddd;background:#f5f5f5}.response_wrapper .response_header{font-weight:700;background-color:#eaf2fa;border-bottom:1px solid #fff;line-height:1.5;padding:7px 7px 7px 10px}.response_wrapper .response_body{border-bottom:1px solid #dfdfdf;padding:7px 7px 15px 40px;line-height:1.8;overflow:hidden}.response_wrapper .response_body *{box-sizing:border-box}.ff-table{width:100%;border-collapse:collapse;text-align:left}.ff-table thead>tr>th{padding:7px 10px;background:#f1f1f1}.ff-table tbody>tr>td{padding:7px 10px}.ff-table tbody>tr:nth-child(2n)>td{background:#f1f1f1}.ff-table tbody>tr:nth-child(2n - 1)>td{background:#fff}.input-image{height:auto;width:150px;max-width:100%;float:left;margin-right:10px}.input-image img{width:100%}.input_file_ext{width:100%;display:block;background:#eee;font-size:16px;text-align:center;color:#a7a3a3;padding:15px 10px}.input_file_ext i{font-size:22px;display:block;color:#797878}.input_file a,.input_file a:hover{text-decoration:none}.entry_info_box{box-shadow:0 7px 14px 0 rgba(60,66,87,.1),0 3px 6px 0 rgba(0,0,0,.07);border-radius:4px;background-color:#fff;margin-bottom:30px}.entry_info_box .entry_info_header{padding:16px 20px;box-shadow:inset 0 -1px #e3e8ee}.entry_info_box .entry_info_header .info_box_header{line-height:24px;font-size:20px;font-weight:500;font-size:16px;display:inline-block}.entry_info_box .entry_info_header .info_box_header_actions{display:inline-block;float:right;text-align:right}.entry_info_box .entry_info_body{padding:16px 20px}.wpf_each_entry{margin:0 -20px;padding:12px 20px;box-shadow:inset 0 -1px 0 #f3f4f5}.wpf_each_entry:last-child{box-shadow:none}.wpf_each_entry:hover{background-color:#f7fafc}.wpf_each_entry .wpf_entry_label{font-weight:700;color:#697386}.wpf_each_entry .wpf_entry_value{margin-top:8px;padding-left:25px;white-space:pre-line}.entry_info_body.narrow_items{padding:0 15px 15px}.entry_info_body.narrow_items .wpf_each_entry{margin:0 -15px;padding:10px 15px}.entry_info_body.narrow_items .wpf_each_entry p{margin:5px 0}.entry_header{display:block;overflow:hidden;margin:0 0 15px}.entry_header h3{margin:0;line-height:31px}.wpf_entry_value input[type=checkbox]:disabled:checked{opacity:1!important;border:1px solid #65afd2}.wpf_entry_value input[type=checkbox]:disabled{opacity:1!important;border:1px solid #909399}a.input-image{border:1px solid #e3e8ee}a.input-image:hover{border:1px solid grey}a.input-image:hover img{opacity:.8}.show_on_hover{display:none}.el-table__row:hover .show_on_hover{display:inline-block}.show_on_hover [class*=el-icon-],.show_on_hover [class^=el-icon-]{font-size:16px}.inline_actions{margin-left:5px}.inline_item.inline_actions{display:inline-block}.action_button{cursor:pointer}.current_form_name button.el-button.el-button--default.el-button--mini{max-width:170px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.entries_table{overflow:hidden}.compact_input{margin-left:10px}.compact_input span.el-checkbox__label{padding-left:5px}.report_status_filter label.el-checkbox{display:block;margin-left:0!important;padding-left:0;margin-bottom:7px}.ff_report_body{width:100%;min-height:20px}@media print{.ff_nav_action,.form_internal_menu,div#adminmenumain,div#wpadminbar{display:none}.ff_chart_switcher,.ff_print_hide{display:none!important}div#wpcontent{margin-left:0;padding-left:0}html.wp-toolbar{padding:0}.wrap.ff_form_wrap,div#wpcontent{background:#fff}.ff_report_body{position:absolute;top:0;left:10px;right:10px}.ff_form_application_container{margin-top:0!important}.all_report_items{width:100%!important}.ff-table{width:auto;border-collapse:collapse;text-align:left;float:right}}.ff_report_card{display:block;width:100%;margin-bottom:20px;border-radius:10px;background:#fff}.ff_report_card .report_header{padding:10px 20px;border-bottom:1px solid #e4e4e4;font-weight:700}.ff_report_card .report_header .ff_chart_switcher{display:inline-block;float:right}.ff_report_card .report_header .ff_chart_switcher span{cursor:pointer;color:#bbb}.ff_report_card .report_header .ff_chart_switcher span.active_chart{color:#f56c6c}.ff_report_card .report_header .ff_chart_switcher span.ff_rotate_90{transform:rotate(90deg)}.ff_report_card .report_body{padding:20px;overflow:hidden}.ff_report_card .report_body .chart_data{width:50%;float:right;padding-left:20px}.ff_report_card .report_body .ff_chart_view{width:50%;float:left;max-width:380px}ul.entry_item_list{padding-left:30px;list-style:disc;list-style-position:initial;list-style-image:none;list-style-type:disc}.star_big{font-size:20px;display:inline-block;margin-right:5px;vertical-align:middle!important}.wpf_each_entry ul{padding-left:20px;list-style:disc}.el-table-column--selection .cell{text-overflow:clip!important}.payments_wrapper{margin-top:20px}.payments_wrapper *{box-sizing:border-box}.payment_header .payment_title{display:inline-block;margin-right:20px;font-size:23px}.ff-error{background:#ff9800}.ff-error,.ff-success{color:#fff;padding:10px}.ff-success{background:#4caf50}.payment_header{overflow:hidden}.payment_header .payment_actions{float:right}.entry_chart{padding:10px;background:#fff;margin:20px 0;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-table .warning-row{background:#fdf5e6}span.ff_payment_badge{padding:0 10px 2px;border:1px solid grey;border-radius:9px;margin-left:5px;font-size:12px}tr.el-table__row td{padding:18px 0}.pull-right.ff_paginate{margin-top:20px}.payment_details{margin-top:10px;padding-top:10px;border-top:1px solid #ddd}.add_note_wrapper{padding:20px}.fluent_notes .fluent_note_content{background:#eaf2fa;padding:10px 15px;font-size:13px;line-height:160%}.fluent_notes .fluent_note_meta{padding:5px 15px;font-size:11px}.wpf_add_note_box button{float:right;margin-top:15px}.wpf_add_note_box{overflow:hidden;display:block;margin-bottom:30px;border-bottom:1px solid #dcdfe6;padding-bottom:30px}span.ff_tag{background:#697386;color:#fff;padding:2px 10px;border-radius:10px;font-size:10px}.el-table .cell.el-tooltip{max-height:50px;overflow:hidden}.form-editor--sidebar{position:relative}.code{overflow-x:scroll}.search-element{padding:10px 20px}.ff-user-guide{text-align:center;margin-top:-105px;position:relative;z-index:1}.post-form-settings label.el-form-item__label{font-weight:500;margin-top:8px;color:#606266}.transaction_item_small{margin:0 -20px 20px;padding:10px 20px;background:#f5f5f5}.transaction_item_heading{display:block;border-bottom:1px solid grey;margin:0 -20px 20px;padding:10px 20px}.transaction_heading_title{display:inline-block;font-size:16px;font-weight:500}.transaction_heading_action{float:right;margin-top:-10px}.transaction_item_line{padding:0;font-size:15px;margin-bottom:10px}.transaction_item_line .ff_list_value{background:#ff4;padding:2px 6px}.ff_badge_status_pending{background-color:#ffff03}.ff_badge_status_paid{background:#67c23a;color:#fff}.entry_submission_log .wpf_entry_label{margin-bottom:10px}.entry_submission_log_component{font-weight:700;text-transform:capitalize}.entry_submission_log span:first-child{color:#fff;border-radius:3px}.entry_submission_log .log_status_error,.entry_submission_log .log_status_failed{background:#c23434}.entry_submission_log .log_status_success{background:#348938}@media (max-width:768px){.form_internal_menu{width:100%;left:0!important;top:44px!important}.form_internal_menu .ff-navigation-right{display:none}.form_internal_menu ul.ff_setting_menu{float:right;padding-right:10px!important}.form_internal_menu ul.ff_setting_menu li a{padding:10px 3px!important}.form_internal_menu .ff_form_name{padding:10px 5px!important;max-width:120px!important}.ff_nav_action{float:right!important;text-align:left!important}div#wpbody-content{padding-right:10px!important}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{min-height:30px}.ff_form_main_nav .plugin-name{display:none}.row-actions{display:inline-block!important}.el-form .el-form-item .el-form-item__label{width:100%!important}.el-form .el-form-item .el-form-item__content{margin-left:0!important}.ff_settings_container{margin:0!important;padding:0 10px!important}.ff_settings_wrapper .ff_settings_sidebar{width:120px!important}.ff_settings_wrapper .ff_settings_sidebar ul.ff_settings_list li a{padding:10px 5px;font-size:10px}.settings_app{min-width:500px}.el-tabs__content{padding:20px 10px!important}.wpf_each_entry a{word-break:break-all}div#js-form-editor--body{padding:20px 0}div#js-form-editor--body .form-editor__body-content{padding:60px 0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu{top:0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{display:block}}@media (max-width:425px){.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{margin-right:0}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right a,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right button,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right span{font-size:10px;padding:5px 4px!important;margin:0 3px}#ff_form_entries_app .ff_nav_top .ff_nav_action,#ff_form_entries_app .ff_nav_top .ff_nav_title{width:100%;margin-bottom:10px}.form_internal_menu{position:relative;display:block!important;background:#fff;overflow:hidden;top:0!important;margin:0 -10px;width:auto}.form_internal_menu ul.ff_setting_menu li a{font-size:11px}.ff_form_application_container{margin-top:0!important}.ff_form_main_nav .ninja-tab{font-size:12px;padding:10px 5px;margin:0}ul.el-pager{display:none!important}.ff_settings_wrapper{min-width:600px}.ff_form_wrap .ff_form_wrap_area{overflow:scroll}button.el-button.pull-right{float:left!important}.entry_header h3{display:block;width:100%!important;clear:both}.v-row .v-col--33{width:100%!important;padding-right:0;margin-bottom:15px}.v-row .v-col--33:last-child{margin-bottom:0}.option-fields-section--content{padding:15px 5px}}.el-popover{text-align:left!important;word-break:inherit!important}
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */html{line-height:1.15;-webkit-text-size-adjust:100%}body{margin:0}main{display:block}h1{font-size:2em;margin:.67em 0}hr{box-sizing:content-box;height:0;overflow:visible}pre{font-family:monospace,monospace;font-size:1em}a{background-color:transparent}abbr[title]{border-bottom:none;text-decoration:underline;-webkit-text-decoration:underline dotted;text-decoration:underline dotted}b,strong{font-weight:bolder}code,kbd,samp{font-family:monospace,monospace;font-size:1em}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-.25em}sup{top:-.5em}img{border-style:none}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}[type=button],[type=reset],[type=submit],button{-webkit-appearance:button}[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner,button::-moz-focus-inner{border-style:none;padding:0}[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring,button:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto}[type=checkbox],[type=radio]{box-sizing:border-box;padding:0}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}details{display:block}summary{display:list-item}[hidden],template{display:none}@font-face{font-family:element-icons;src:url(../fonts/element-icons.woff?535877f50039c0cb49a6196a5b7517cd) format("woff"),url(../fonts/element-icons.ttf?732389ded34cb9c52dd88271f1345af9) format("truetype");font-weight:400;font-display:"auto";font-style:normal}[class*=" el-icon-"],[class^=el-icon-]{font-family:element-icons!important;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;vertical-align:baseline;display:inline-block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.el-icon-ice-cream-round:before{content:"\E6A0"}.el-icon-ice-cream-square:before{content:"\E6A3"}.el-icon-lollipop:before{content:"\E6A4"}.el-icon-potato-strips:before{content:"\E6A5"}.el-icon-milk-tea:before{content:"\E6A6"}.el-icon-ice-drink:before{content:"\E6A7"}.el-icon-ice-tea:before{content:"\E6A9"}.el-icon-coffee:before{content:"\E6AA"}.el-icon-orange:before{content:"\E6AB"}.el-icon-pear:before{content:"\E6AC"}.el-icon-apple:before{content:"\E6AD"}.el-icon-cherry:before{content:"\E6AE"}.el-icon-watermelon:before{content:"\E6AF"}.el-icon-grape:before{content:"\E6B0"}.el-icon-refrigerator:before{content:"\E6B1"}.el-icon-goblet-square-full:before{content:"\E6B2"}.el-icon-goblet-square:before{content:"\E6B3"}.el-icon-goblet-full:before{content:"\E6B4"}.el-icon-goblet:before{content:"\E6B5"}.el-icon-cold-drink:before{content:"\E6B6"}.el-icon-coffee-cup:before{content:"\E6B8"}.el-icon-water-cup:before{content:"\E6B9"}.el-icon-hot-water:before{content:"\E6BA"}.el-icon-ice-cream:before{content:"\E6BB"}.el-icon-dessert:before{content:"\E6BC"}.el-icon-sugar:before{content:"\E6BD"}.el-icon-tableware:before{content:"\E6BE"}.el-icon-burger:before{content:"\E6BF"}.el-icon-knife-fork:before{content:"\E6C1"}.el-icon-fork-spoon:before{content:"\E6C2"}.el-icon-chicken:before{content:"\E6C3"}.el-icon-food:before{content:"\E6C4"}.el-icon-dish-1:before{content:"\E6C5"}.el-icon-dish:before{content:"\E6C6"}.el-icon-moon-night:before{content:"\E6EE"}.el-icon-moon:before{content:"\E6F0"}.el-icon-cloudy-and-sunny:before{content:"\E6F1"}.el-icon-partly-cloudy:before{content:"\E6F2"}.el-icon-cloudy:before{content:"\E6F3"}.el-icon-sunny:before{content:"\E6F6"}.el-icon-sunset:before{content:"\E6F7"}.el-icon-sunrise-1:before{content:"\E6F8"}.el-icon-sunrise:before{content:"\E6F9"}.el-icon-heavy-rain:before{content:"\E6FA"}.el-icon-lightning:before{content:"\E6FB"}.el-icon-light-rain:before{content:"\E6FC"}.el-icon-wind-power:before{content:"\E6FD"}.el-icon-baseball:before{content:"\E712"}.el-icon-soccer:before{content:"\E713"}.el-icon-football:before{content:"\E715"}.el-icon-basketball:before{content:"\E716"}.el-icon-ship:before{content:"\E73F"}.el-icon-truck:before{content:"\E740"}.el-icon-bicycle:before{content:"\E741"}.el-icon-mobile-phone:before{content:"\E6D3"}.el-icon-service:before{content:"\E6D4"}.el-icon-key:before{content:"\E6E2"}.el-icon-unlock:before{content:"\E6E4"}.el-icon-lock:before{content:"\E6E5"}.el-icon-watch:before{content:"\E6FE"}.el-icon-watch-1:before{content:"\E6FF"}.el-icon-timer:before{content:"\E702"}.el-icon-alarm-clock:before{content:"\E703"}.el-icon-map-location:before{content:"\E704"}.el-icon-delete-location:before{content:"\E705"}.el-icon-add-location:before{content:"\E706"}.el-icon-location-information:before{content:"\E707"}.el-icon-location-outline:before{content:"\E708"}.el-icon-location:before{content:"\E79E"}.el-icon-place:before{content:"\E709"}.el-icon-discover:before{content:"\E70A"}.el-icon-first-aid-kit:before{content:"\E70B"}.el-icon-trophy-1:before{content:"\E70C"}.el-icon-trophy:before{content:"\E70D"}.el-icon-medal:before{content:"\E70E"}.el-icon-medal-1:before{content:"\E70F"}.el-icon-stopwatch:before{content:"\E710"}.el-icon-mic:before{content:"\E711"}.el-icon-copy-document:before{content:"\E718"}.el-icon-full-screen:before{content:"\E719"}.el-icon-switch-button:before{content:"\E71B"}.el-icon-aim:before{content:"\E71C"}.el-icon-crop:before{content:"\E71D"}.el-icon-odometer:before{content:"\E71E"}.el-icon-time:before{content:"\E71F"}.el-icon-bangzhu:before{content:"\E724"}.el-icon-close-notification:before{content:"\E726"}.el-icon-microphone:before{content:"\E727"}.el-icon-turn-off-microphone:before{content:"\E728"}.el-icon-position:before{content:"\E729"}.el-icon-postcard:before{content:"\E72A"}.el-icon-message:before{content:"\E72B"}.el-icon-chat-line-square:before{content:"\E72D"}.el-icon-chat-dot-square:before{content:"\E72E"}.el-icon-chat-dot-round:before{content:"\E72F"}.el-icon-chat-square:before{content:"\E730"}.el-icon-chat-line-round:before{content:"\E731"}.el-icon-chat-round:before{content:"\E732"}.el-icon-set-up:before{content:"\E733"}.el-icon-turn-off:before{content:"\E734"}.el-icon-open:before{content:"\E735"}.el-icon-connection:before{content:"\E736"}.el-icon-link:before{content:"\E737"}.el-icon-cpu:before{content:"\E738"}.el-icon-thumb:before{content:"\E739"}.el-icon-female:before{content:"\E73A"}.el-icon-male:before{content:"\E73B"}.el-icon-guide:before{content:"\E73C"}.el-icon-news:before{content:"\E73E"}.el-icon-price-tag:before{content:"\E744"}.el-icon-discount:before{content:"\E745"}.el-icon-wallet:before{content:"\E747"}.el-icon-coin:before{content:"\E748"}.el-icon-money:before{content:"\E749"}.el-icon-bank-card:before{content:"\E74A"}.el-icon-box:before{content:"\E74B"}.el-icon-present:before{content:"\E74C"}.el-icon-sell:before{content:"\E6D5"}.el-icon-sold-out:before{content:"\E6D6"}.el-icon-shopping-bag-2:before{content:"\E74D"}.el-icon-shopping-bag-1:before{content:"\E74E"}.el-icon-shopping-cart-2:before{content:"\E74F"}.el-icon-shopping-cart-1:before{content:"\E750"}.el-icon-shopping-cart-full:before{content:"\E751"}.el-icon-smoking:before{content:"\E752"}.el-icon-no-smoking:before{content:"\E753"}.el-icon-house:before{content:"\E754"}.el-icon-table-lamp:before{content:"\E755"}.el-icon-school:before{content:"\E756"}.el-icon-office-building:before{content:"\E757"}.el-icon-toilet-paper:before{content:"\E758"}.el-icon-notebook-2:before{content:"\E759"}.el-icon-notebook-1:before{content:"\E75A"}.el-icon-files:before{content:"\E75B"}.el-icon-collection:before{content:"\E75C"}.el-icon-receiving:before{content:"\E75D"}.el-icon-suitcase-1:before{content:"\E760"}.el-icon-suitcase:before{content:"\E761"}.el-icon-film:before{content:"\E763"}.el-icon-collection-tag:before{content:"\E765"}.el-icon-data-analysis:before{content:"\E766"}.el-icon-pie-chart:before{content:"\E767"}.el-icon-data-board:before{content:"\E768"}.el-icon-data-line:before{content:"\E76D"}.el-icon-reading:before{content:"\E769"}.el-icon-magic-stick:before{content:"\E76A"}.el-icon-coordinate:before{content:"\E76B"}.el-icon-mouse:before{content:"\E76C"}.el-icon-brush:before{content:"\E76E"}.el-icon-headset:before{content:"\E76F"}.el-icon-umbrella:before{content:"\E770"}.el-icon-scissors:before{content:"\E771"}.el-icon-mobile:before{content:"\E773"}.el-icon-attract:before{content:"\E774"}.el-icon-monitor:before{content:"\E775"}.el-icon-search:before{content:"\E778"}.el-icon-takeaway-box:before{content:"\E77A"}.el-icon-paperclip:before{content:"\E77D"}.el-icon-printer:before{content:"\E77E"}.el-icon-document-add:before{content:"\E782"}.el-icon-document:before{content:"\E785"}.el-icon-document-checked:before{content:"\E786"}.el-icon-document-copy:before{content:"\E787"}.el-icon-document-delete:before{content:"\E788"}.el-icon-document-remove:before{content:"\E789"}.el-icon-tickets:before{content:"\E78B"}.el-icon-folder-checked:before{content:"\E77F"}.el-icon-folder-delete:before{content:"\E780"}.el-icon-folder-remove:before{content:"\E781"}.el-icon-folder-add:before{content:"\E783"}.el-icon-folder-opened:before{content:"\E784"}.el-icon-folder:before{content:"\E78A"}.el-icon-edit-outline:before{content:"\E764"}.el-icon-edit:before{content:"\E78C"}.el-icon-date:before{content:"\E78E"}.el-icon-c-scale-to-original:before{content:"\E7C6"}.el-icon-view:before{content:"\E6CE"}.el-icon-loading:before{content:"\E6CF"}.el-icon-rank:before{content:"\E6D1"}.el-icon-sort-down:before{content:"\E7C4"}.el-icon-sort-up:before{content:"\E7C5"}.el-icon-sort:before{content:"\E6D2"}.el-icon-finished:before{content:"\E6CD"}.el-icon-refresh-left:before{content:"\E6C7"}.el-icon-refresh-right:before{content:"\E6C8"}.el-icon-refresh:before{content:"\E6D0"}.el-icon-video-play:before{content:"\E7C0"}.el-icon-video-pause:before{content:"\E7C1"}.el-icon-d-arrow-right:before{content:"\E6DC"}.el-icon-d-arrow-left:before{content:"\E6DD"}.el-icon-arrow-up:before{content:"\E6E1"}.el-icon-arrow-down:before{content:"\E6DF"}.el-icon-arrow-right:before{content:"\E6E0"}.el-icon-arrow-left:before{content:"\E6DE"}.el-icon-top-right:before{content:"\E6E7"}.el-icon-top-left:before{content:"\E6E8"}.el-icon-top:before{content:"\E6E6"}.el-icon-bottom:before{content:"\E6EB"}.el-icon-right:before{content:"\E6E9"}.el-icon-back:before{content:"\E6EA"}.el-icon-bottom-right:before{content:"\E6EC"}.el-icon-bottom-left:before{content:"\E6ED"}.el-icon-caret-top:before{content:"\E78F"}.el-icon-caret-bottom:before{content:"\E790"}.el-icon-caret-right:before{content:"\E791"}.el-icon-caret-left:before{content:"\E792"}.el-icon-d-caret:before{content:"\E79A"}.el-icon-share:before{content:"\E793"}.el-icon-menu:before{content:"\E798"}.el-icon-s-grid:before{content:"\E7A6"}.el-icon-s-check:before{content:"\E7A7"}.el-icon-s-data:before{content:"\E7A8"}.el-icon-s-opportunity:before{content:"\E7AA"}.el-icon-s-custom:before{content:"\E7AB"}.el-icon-s-claim:before{content:"\E7AD"}.el-icon-s-finance:before{content:"\E7AE"}.el-icon-s-comment:before{content:"\E7AF"}.el-icon-s-flag:before{content:"\E7B0"}.el-icon-s-marketing:before{content:"\E7B1"}.el-icon-s-shop:before{content:"\E7B4"}.el-icon-s-open:before{content:"\E7B5"}.el-icon-s-management:before{content:"\E7B6"}.el-icon-s-ticket:before{content:"\E7B7"}.el-icon-s-release:before{content:"\E7B8"}.el-icon-s-home:before{content:"\E7B9"}.el-icon-s-promotion:before{content:"\E7BA"}.el-icon-s-operation:before{content:"\E7BB"}.el-icon-s-unfold:before{content:"\E7BC"}.el-icon-s-fold:before{content:"\E7A9"}.el-icon-s-platform:before{content:"\E7BD"}.el-icon-s-order:before{content:"\E7BE"}.el-icon-s-cooperation:before{content:"\E7BF"}.el-icon-bell:before{content:"\E725"}.el-icon-message-solid:before{content:"\E799"}.el-icon-video-camera:before{content:"\E772"}.el-icon-video-camera-solid:before{content:"\E796"}.el-icon-camera:before{content:"\E779"}.el-icon-camera-solid:before{content:"\E79B"}.el-icon-download:before{content:"\E77C"}.el-icon-upload2:before{content:"\E77B"}.el-icon-upload:before{content:"\E7C3"}.el-icon-picture-outline-round:before{content:"\E75F"}.el-icon-picture-outline:before{content:"\E75E"}.el-icon-picture:before{content:"\E79F"}.el-icon-close:before{content:"\E6DB"}.el-icon-check:before{content:"\E6DA"}.el-icon-plus:before{content:"\E6D9"}.el-icon-minus:before{content:"\E6D8"}.el-icon-help:before{content:"\E73D"}.el-icon-s-help:before{content:"\E7B3"}.el-icon-circle-close:before{content:"\E78D"}.el-icon-circle-check:before{content:"\E720"}.el-icon-circle-plus-outline:before{content:"\E723"}.el-icon-remove-outline:before{content:"\E722"}.el-icon-zoom-out:before{content:"\E776"}.el-icon-zoom-in:before{content:"\E777"}.el-icon-error:before{content:"\E79D"}.el-icon-success:before{content:"\E79C"}.el-icon-circle-plus:before{content:"\E7A0"}.el-icon-remove:before{content:"\E7A2"}.el-icon-info:before{content:"\E7A1"}.el-icon-question:before{content:"\E7A4"}.el-icon-warning-outline:before{content:"\E6C9"}.el-icon-warning:before{content:"\E7A3"}.el-icon-goods:before{content:"\E7C2"}.el-icon-s-goods:before{content:"\E7B2"}.el-icon-star-off:before{content:"\E717"}.el-icon-star-on:before{content:"\E797"}.el-icon-more-outline:before{content:"\E6CC"}.el-icon-more:before{content:"\E794"}.el-icon-phone-outline:before{content:"\E6CB"}.el-icon-phone:before{content:"\E795"}.el-icon-user:before{content:"\E6E3"}.el-icon-user-solid:before{content:"\E7A5"}.el-icon-setting:before{content:"\E6CA"}.el-icon-s-tools:before{content:"\E7AC"}.el-icon-delete:before{content:"\E6D7"}.el-icon-delete-solid:before{content:"\E7C9"}.el-icon-eleme:before{content:"\E7C7"}.el-icon-platform-eleme:before{content:"\E7CA"}.el-icon-loading{-webkit-animation:rotating 2s linear infinite;animation:rotating 2s linear infinite}.el-icon--right{margin-left:5px}.el-icon--left{margin-right:5px}@-webkit-keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@keyframes rotating{0%{transform:rotate(0)}to{transform:rotate(1turn)}}@font-face{font-family:fluentform;src:url(../fonts/fluentform.eot?bd247f4736d5cb3fc5fcb8b8650cc549);src:url(../fonts/fluentform.eot?bd247f4736d5cb3fc5fcb8b8650cc549?#iefix) format("embedded-opentype"),url(../fonts/fluentform.woff?483735301c8b46d6edb8fded7b6c75d7) format("woff"),url(../fonts/fluentform.ttf?9209f40bff8597892e6b2e91e8a79507) format("truetype"),url(../fonts/fluentform.svg?ce3318fa2f1123ecc0fde93bd4a30375#fluentform) format("svg");font-weight:400;font-style:normal}[data-icon]:before{content:attr(data-icon)}[class*=" icon-"]:before,[class^=icon-]:before,[data-icon]:before{font-family:fluentform!important;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-trash-o:before{content:"\E000"}.icon-pencil:before{content:"\E001"}.icon-clone:before{content:"\E002"}.icon-arrows:before{content:"\E003"}.icon-user:before{content:"\E004"}.icon-text-width:before{content:"\E005"}.icon-unlock-alt:before{content:"\E006"}.icon-paragraph:before{content:"\E007"}.icon-columns:before{content:"\E008"}.icon-plus-circle:before{content:"\E009"}.icon-minus-circle:before{content:"\E00A"}.icon-link:before{content:"\E00B"}.icon-envelope-o:before{content:"\E00C"}.icon-caret-square-o-down:before{content:"\E00D"}.icon-list-ul:before{content:"\E00E"}.icon-dot-circle-o:before{content:"\E00F"}.icon-check-square-o:before{content:"\E010"}.icon-eye-slash:before{content:"\E011"}.icon-picture-o:before{content:"\E012"}.icon-calendar-o:before{content:"\E013"}.icon-upload:before{content:"\E014"}.icon-globe:before{content:"\E015"}.icon-pound:before{content:"\E016"}.icon-map-marker:before{content:"\E017"}.icon-credit-card:before{content:"\E018"}.icon-step-forward:before{content:"\E019"}.icon-code:before{content:"\E01A"}.icon-html5:before{content:"\E01B"}.icon-qrcode:before{content:"\E01C"}.icon-certificate:before{content:"\E01D"}.icon-star-half-o:before{content:"\E01E"}.icon-eye:before{content:"\E01F"}.icon-save:before{content:"\E020"}.icon-puzzle-piece:before{content:"\E021"}.icon-slack:before{content:"\E022"}.icon-trash:before{content:"\E023"}.icon-lock:before{content:"\E024"}.icon-chevron-down:before{content:"\E025"}.icon-chevron-up:before{content:"\E026"}.icon-chevron-right:before{content:"\E027"}.icon-chevron-left:before{content:"\E028"}.icon-circle-o:before{content:"\E029"}.icon-cog:before{content:"\E02A"}.icon-info:before{content:"\E02C"}.icon-info-circle:before{content:"\E02B"}.icon-ink-pen:before{content:"\E02D"}.icon-keyboard-o:before{content:"\E02E"}@font-face{font-family:fluentformeditors;src:url(../fonts/fluentformeditors.eot?a038536a0a1cc2bc001758da589bec20);src:url(../fonts/fluentformeditors.eot?a038536a0a1cc2bc001758da589bec20?#iefix) format("embedded-opentype"),url(../fonts/fluentformeditors.woff?239e1c8f54d107e3d9a1b4d16f7b00ee) format("woff"),url(../fonts/fluentformeditors.ttf?f02d86d8c42f8966121c9a432d3decb0) format("truetype"),url(../fonts/fluentformeditors.svg?be1434b6a10d2f8df2694a86009f6f5d#fluentformeditors) format("svg");font-weight:400;font-style:normal}[class*=" ff-edit-"]:before,[class^=ff-edit-]:before{font-family:fluentformeditors!important;font-style:normal!important;font-weight:400!important;font-variant:normal!important;text-transform:none!important;speak:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.ff-edit-column-2:before{content:"b"}.ff-edit-rating:before{content:"c"}.ff-edit-checkable-grid:before{content:"d"}.ff-edit-hidden-field:before{content:"e"}.ff-edit-section-break:before{content:"f"}.ff-edit-recaptha:before{content:"g"}.ff-edit-html:before{content:"h"}.ff-edit-shortcode:before{content:"i"}.ff-edit-terms-condition:before{content:"j"}.ff-edit-action-hook:before{content:"k"}.ff-edit-step:before{content:"l"}.ff-edit-name:before{content:"m"}.ff-edit-email:before{content:"n"}.ff-edit-text:before{content:"o"}.ff-edit-mask:before{content:"p"}.ff-edit-textarea:before{content:"q"}.ff-edit-address:before{content:"r"}.ff-edit-country:before{content:"s"}.ff-edit-dropdown:before{content:"u"}.ff-edit-radio:before{content:"v"}.ff-edit-checkbox-1:before{content:"w"}.ff-edit-multiple-choice:before{content:"x"}.ff-edit-website-url:before{content:"y"}.ff-edit-password:before{content:"z"}.ff-edit-date:before{content:"A"}.ff-edit-files:before{content:"B"}.ff-edit-images:before{content:"C"}.ff-edit-gdpr:before{content:"E"}.ff-edit-three-column:before{content:"G"}.ff-edit-repeat:before{content:"F"}.ff-edit-numeric:before{content:"t"}.ff-edit-credit-card:before{content:"a"}.ff-edit-keyboard-o:before{content:"D"}.ff-edit-shopping-cart:before{content:"H"}.ff-edit-link:before{content:"I"}.ff-edit-ios-cart-outline:before{content:"J"}.ff-edit-tint:before{content:"K"}.ff_form_wrap{margin:0}.ff_form_wrap *{box-sizing:border-box}.ff_form_wrap .ff_form_wrap_area{padding:15px 0;overflow:hidden;display:block}.ff_form_wrap .ff_form_wrap_area>h2{margin-top:0}input[type=color],input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week],textarea{-webkit-appearance:none;background-color:#fff;border-radius:4px;border:1px solid #dcdfe6;color:#606266;box-shadow:none;margin:0;transition:border-color .2s cubic-bezier(.645,.045,.355,1)}input[type=color]:focus,input[type=date]:focus,input[type=datetime-local]:focus,input[type=datetime]:focus,input[type=email]:focus,input[type=month]:focus,input[type=number]:focus,input[type=password]:focus,input[type=search]:focus,input[type=tel]:focus,input[type=text]:focus,input[type=time]:focus,input[type=url]:focus,input[type=week]:focus,textarea:focus{box-shadow:none}input[type=color].el-select__input,input[type=date].el-select__input,input[type=datetime-local].el-select__input,input[type=datetime].el-select__input,input[type=email].el-select__input,input[type=month].el-select__input,input[type=number].el-select__input,input[type=password].el-select__input,input[type=search].el-select__input,input[type=tel].el-select__input,input[type=text].el-select__input,input[type=time].el-select__input,input[type=url].el-select__input,input[type=week].el-select__input,textarea.el-select__input{border:none;background-color:transparent}p{margin-top:0;margin-bottom:10px}.icon{font:normal normal normal 14px/1 ultimateform;display:inline-block}.mr15{margin-right:15px}.mb15{margin-bottom:15px}.pull-left{float:left!important}.pull-right{float:right!important}.text-left{text-align:left}.text-center{text-align:center}.el-icon-clickable{cursor:pointer}.help-text{margin:0;font-style:italic;font-size:.9em}.btn{display:inline-block;padding:6px 12px;margin-bottom:0;font-size:14px;font-weight:500;line-height:1.42857143;text-align:center;white-space:nowrap;vertical-align:middle;touch-action:manipulation;cursor:pointer;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;background-image:none;border:1px solid transparent;border-radius:4px}.btn-primary{color:#fff;background-color:#337ab7;border-color:#2e6da4}.btn-primary:hover{color:#fff;background-color:#286090;border-color:#204d74}.btn-block{width:100%}.clearfix:after,.clearfix:before,.form-editor:after,.form-editor:before{display:table;content:" "}.clearfix:after,.form-editor:after{clear:both}.el-notification__content p{text-align:left}.label-lh-1-5 label{line-height:1.5}.ff_form_main_nav{display:block;width:auto;overflow:hidden;border-bottom:1px solid #ddd;background:#fff;margin:0 -20px;padding:10px 20px 0;box-sizing:border-box}.ff_form_main_nav span.plugin-name{font-size:16px;color:#6e6e6e;margin-right:30px}.ff_form_main_nav .ninja-tab{padding:10px 10px 18px;display:inline-block;text-decoration:none;color:#000;font-size:15px;line-height:16px;margin-right:15px;border-bottom:2px solid transparent}.ff_form_main_nav .ninja-tab:focus{box-shadow:none}.ff_form_main_nav .ninja-tab.ninja-tab-active{font-weight:700;border-bottom:2px solid #ffd65b}.ff_form_main_nav .ninja-tab.buy_pro_tab{background:#e04f5e;padding:10px 25px;color:#fff}.el-dialog__wrapper .el-dialog{background:transparent}.el-dialog__wrapper .el-dialog__header{display:block;overflow:hidden;background:#f5f5f5;border:1px solid #ddd;padding:10px;border-top-left-radius:5px;border-top-right-radius:5px}.el-dialog__wrapper .el-dialog__header .el-dialog__headerbtn{top:12px}.el-dialog__wrapper .el-dialog__footer{background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px}.el-dialog__wrapper .el-dialog__body{padding:20px;background:#fff;border-radius:0}.el-dialog__wrapper .el-dialog__body .dialog-footer{padding:10px 20px 20px;text-align:right;box-sizing:border-box;background:#f5f5f5;border-bottom-left-radius:5px;border-bottom-right-radius:5px;width:auto;display:block;margin:0 -20px -20px}.ff_nav_top{overflow:hidden;display:block;margin-bottom:15px;width:100%}.ff_nav_top .ff_nav_title{float:left;width:50%}.ff_nav_top .ff_nav_title h3{float:left;margin:0;padding:0;line-height:28px}.ff_nav_top .ff_nav_title .ff_nav_sub_actions{display:inline-block;margin-left:20px}.ff_nav_top .ff_nav_action{float:left;width:50%;text-align:right}.ff_nav_top .ff_search_inline{width:200px;text-align:right;display:inline-block}.el-table__header-wrapper table.el-table__header tr th{background-color:#f5f9f9!important;color:rgba(0,0,0,.6)!important}.ff_global_notices{display:block;width:100%;overflow:hidden;margin-top:20px;box-sizing:border-box}.ff_global_notices .ff_global_notice{background:#fff;margin-right:20px;display:block;position:relative;padding:.75rem 1.25rem;margin-bottom:1rem;border:1px solid transparent;border-radius:.25rem}.ff_global_notices .ff_global_notice.ff_notice_error{color:#856404;background-color:#fff3cd;border-color:#ffeeba}.ff_global_notices .ff_global_notice.ff_notice_success{color:#155724;background-color:#d4edda;border-color:#c3e6cb}.el-select-dropdown.el-popper{z-index:99999999999!important}ul.ff_entry_list{list-style:disc;margin-left:20px}span.ff_new_badge{background:#ff4747;padding:0 5px 3px;border-radius:4px;font-size:11px;vertical-align:super;color:#fff;line-height:100%;margin-left:5px}label.el-checkbox,label.el-radio{display:inline-block}.el-time-spinner__list .el-time-spinner__item{margin-bottom:0!important}.ff_card_block{padding:15px 20px;background:#f1f1f1;border-radius:5px}.ff_card_block h3{padding:0;margin:0 0 15px}#wpbody-content{padding-right:30px}#wpbody-content,#wpbody-content *{box-sizing:border-box}.videoWrapper{position:relative;padding-bottom:56.25%;height:0}.videoWrapper iframe{position:absolute;top:0;left:0;width:100%;height:100%}.ff-left-spaced{margin-left:10px!important}.doc_video_wrapper{text-align:center;background:#fff;padding:20px 0 0;max-width:800px;margin:0 auto}.el-big-items .el-select-dropdown__wrap{max-height:350px}.ff_email_resend_inline{display:inline-block}.ff_settings_off{background-color:#f7fafc;padding:10px 15px;margin:-15px -35px}.ff_settings_off .ff_settings_block{background:#fff;padding:20px;margin-top:20px;margin-bottom:30px;border-radius:6px;box-shadow:0 0 35px 0 rgba(16,64,112,.15)}.ff_settings_header{margin-left:-15px;margin-right:-15px;margin-top:-10px;padding:10px 20px;border-bottom:1px solid #e0dbdb}.ff_settings_header h2{margin:0;line-height:30px}.ultimate-nav-menu{background-color:#fff;border-radius:4px}.ultimate-nav-menu>ul{margin:0}.ultimate-nav-menu>ul>li{display:inline-block;margin:0;font-weight:600}.ultimate-nav-menu>ul>li+li{margin-left:-4px}.ultimate-nav-menu>ul>li a{padding:10px;display:block;text-decoration:none;color:#23282d}.ultimate-nav-menu>ul>li a:hover{background-color:#337ab7;color:#fff}.ultimate-nav-menu>ul>li:first-of-type a{border-radius:4px 0 0 4px}.ultimate-nav-menu>ul>li.active a{background-color:#337ab7;color:#fff}.nav-tabs *{box-sizing:border-box}.nav-tab-list{margin:0}.nav-tab-list li{display:inline-block;margin-bottom:0;text-align:center;background-color:#f5f5f5}.nav-tab-list li+li{margin-left:-4x;border-left:1px solid #e2e4e7}.nav-tab-list li:hover{background-color:#e2e4e7}.nav-tab-list li.active{background-color:#fff;border-bottom-color:#fff;font-size:15px}.nav-tab-list li a{color:#000;display:block;padding:12px;font-weight:600;text-decoration:none;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.nav-tab-list li a:focus{box-shadow:none}.toggle-fields-options{overflow:hidden}.toggle-fields-options li{width:50%;float:left}.nav-tab-items{background-color:#fff}.vddl-draggable,.vddl-list{position:relative}.vddl-dragging{opacity:1}.vddl-dragging-source{display:none}.select{min-width:200px}.new-elements .btn-element{padding:10px 5px;background-color:#fff;display:block;color:#636a84;cursor:move;font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;transition:all .05s;text-align:center;border-radius:0;box-shadow:0 1px 2px 0 #d9d9da}.new-elements .btn-element:hover{background-color:#636a84;color:#fff}.new-elements .btn-element:active:not([draggable=false]){box-shadow:inset 0 2px 7px -4px rgba(0,0,0,.5);transform:translateY(1px)}.new-elements .btn-element i{display:block;text-align:center;margin:0 auto}.new-elements .btn-element[draggable=false]{opacity:.5;cursor:pointer}.mtb15{margin-top:15px;margin-bottom:15px}.text-right{text-align:right}.container,footer{max-width:980px;min-width:730px;margin:0 auto}.help-text{margin-bottom:0}.demo-content{width:100%}.vddl-list__handle div.vddl-nodrag{display:flex;align-items:center;-webkit-touch-callout:none;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.vddl-list__handle input[type=radio]{margin-right:0}.vddl-list__handle .nodrag div{margin-right:6px}.vddl-list__handle .nodrag div:last-of-type{margin-right:0}.vddl-list__handle .handle{cursor:move;width:25px;height:16px;background:url(../images/handle.png?e2ed9fef1f5e01da3fbe7239f619d775) 50% no-repeat;background-size:20px 20px}.vddl-draggable .el-form-item{margin-bottom:5px}.tooltip-icon{color:#828f96;vertical-align:middle!important}.option-fields-section{border-bottom:1px solid #dfdfdf;background:#fff}.option-fields-section:last-child{margin-bottom:-5px}.option-fields-section.option-fields-section_active{background:#f3f4f5}.option-fields-section:first-child .option-fields-section--title{border-top:1px solid #e3e5e8!important;background:#fff}.option-fields-section:first-child .option-fields-section--title.active{border-top:0}.option-fields-section--title{padding:14px 20px;margin:0;font-size:13px;font-weight:600;cursor:pointer;overflow:hidden;position:relative}.option-fields-section--title:after{content:"\E025";position:absolute;right:20px;font-family:fluentform;vertical-align:middle}.option-fields-section--title.active{font-weight:700}.option-fields-section--title.active:after{content:"\E026"}.option-fields-section--icon{float:right;vertical-align:middle;margin-top:3px}.option-fields-section--content{max-height:1050vh;padding:15px 20px}.slide-fade-enter-active,.slide-fade-leave-active{overflow:hidden;transition:all .2s ease-in-out}.slide-fade-enter,.slide-fade-leave-to{max-height:0!important;opacity:.2;transform:translateY(-11px)}.ff_conv_section_wrapper{display:flex;flex-direction:row;justify-content:space-between;align-items:center;flex-grow:1;flex-basis:50%}.ff_conv_section_wrapper.ff_conv_layout_default{padding:10px 0}.ff_conv_section_wrapper.ff_conv_layout_default .ff_conv_media_preview{display:none!important}.ff_conv_section_wrapper.ff_conv_layout_default .ff_conv_input{padding-left:30px;width:100%}.ff_conv_section_wrapper .ff_conv_input{width:100%;padding:0 20px 0 30px;display:flex;flex-direction:column-reverse}.ff_conv_section_wrapper .ff_conv_input label.el-form-item__label{font-size:18px;margin-bottom:5px}.ff_conv_section_wrapper .ff_conv_input .help-text{margin-bottom:8px;font-style:normal!important}.ff_conv_section_wrapper .ff_conv_media_preview{width:100%}.ff_conv_section_wrapper .ff_conv_media_preview img{max-width:100%;max-height:300px}.ff_conv_section_wrapper.ff_conv_layout_media_right .ff_conv_media_preview{text-align:center}.ff_conv_section_wrapper.ff_conv_layout_media_left{flex-direction:row-reverse}.ff_conv_section_wrapper.ff_conv_layout_media_left .ff_conv_media_preview{text-align:center}.ff_conv_section_wrapper.ff_conv_layout_media_left .ff_conv_input{width:100%;padding:30px 0 30px 30px}.ff_conv_section_wrapper.ff_conv_layout_media_right_full .ff_conv_media_preview{margin:-10px -10px -10px 0}.ff_conv_section_wrapper.ff_conv_layout_media_right_full img{display:block;margin:0 auto;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;border-top-right-radius:8px;border-bottom-right-radius:8px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full{flex-direction:row-reverse}.ff_conv_section_wrapper.ff_conv_layout_media_left_full .ff_conv_media_preview{margin:-10px 0 -10px -10px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full .ff_conv_input{width:100%;padding:30px 0 30px 30px}.ff_conv_section_wrapper.ff_conv_layout_media_left_full img{display:block;margin:0 auto;width:100%;height:100%;-o-object-fit:cover;object-fit:cover;-o-object-position:50% 50%;object-position:50% 50%;border-top-left-radius:8px;border-bottom-left-radius:8px}.ff_conv_section{color:#262627;border-radius:8px;box-shadow:0 2px 4px rgba(0,0,0,.08),0 2px 12px rgba(0,0,0,.06);-webkit-animation:expand 1s cubic-bezier(.22,1,.36,1) 0s 1 normal none running;animation:expand 1s cubic-bezier(.22,1,.36,1) 0s 1 normal none running;width:100%;height:100%;position:relative;background-color:transparent;margin-bottom:20px;cursor:pointer}.ff_conv_section .hover-action-middle{align-items:flex-start;justify-content:flex-end}.ff_conv_section .panel__body--item{border-radius:10px}.ff_conv_section .panel__body--item.selected{background:#fff;box-shadow:0 0 5px 1px #409eff}.ff_iconed_radios>label{border:1px solid #737373;padding:5px 10px;color:#737373;margin-right:20px}.ff_iconed_radios>label span.el-radio__input{display:none}.ff_iconed_radios>label .el-radio__label{padding-left:0}.ff_iconed_radios>label i{font-size:30px;width:30px;height:30px}.ff_iconed_radios>label.is-checked{border:1px solid #409eff;background:#409eff}.ff_iconed_radios>label.is-checked i{color:#fff;display:block}.ff_conversion_editor{background:#fafafa}.ff_conversion_editor .form-editor--body,.ff_conversion_editor .form-editor__body-content,.ff_conversion_editor .panel__body--list{background-color:#fafafa!important}.ff_conversion_editor .ffc_btn_wrapper{margin-top:20px;display:flex;align-items:center}.ff_conversion_editor .ffc_btn_wrapper .fcc_btn_help{padding-left:15px}.ff_conversion_editor .welcome_screen.text-center .ffc_btn_wrapper{justify-content:center}.ff_conversion_editor .welcome_screen.text-right .ffc_btn_wrapper{justify-content:flex-end}.ff_conversion_editor .ff_default_submit_button_wrapper{display:block!important}.ff_conversion_editor .fcc_pro_message{margin:10px 0;background:#fef6f1;padding:15px;text-align:center;font-size:13px}.ff_conversion_editor .fcc_pro_message a{display:block;margin-top:10px}.ff_conversion_editor .ffc_raw_content{max-height:250px;max-width:60%;margin:0 auto;overflow:hidden}.subscription-field-options{display:block;width:100%;border:1px solid #dcdfe6;border-radius:4px;margin-bottom:20px}.subscription-field-options .plan_header{padding:10px 15px;border-bottom:1px solid #dcdfe6;font-weight:700;display:block;overflow:hidden}.subscription-field-options .plan_header .plan_label{float:left}.subscription-field-options .plan_header .plan_actions{float:right}.subscription-field-options .plan_body{overflow:hidden;padding:15px;background:#fff}.subscription-field-options .plan_footer{border-top:1px solid #dcdfe6;padding:10px 15px}.subscription-field-options .plan_settings{width:50%;display:block;float:left;padding-right:50px}.plan_msg{margin-top:5px}.form-editor *{box-sizing:border-box}.form-editor .address-field-option label.el-checkbox{display:inline-block}.form-editor--body,.form-editor--sidebar{float:left}.form-editor--body{background-color:#fff;width:60%;padding:20px 20px 30px;height:calc(100vh - 51px);overflow-y:scroll}.form-editor--body::-webkit-scrollbar{-webkit-appearance:none;display:none}.form-editor--body .ff-el-form-hide_label .el-form-item__label,.form-editor--body .ff-el-form-hide_label>label{display:none}.form-editor--body .el-slider__button-wrapper{z-index:0}.form-editor .ff-el-form-bottom.el-form-item,.form-editor .ff-el-form-bottom .el-form-item{display:flex;flex-direction:column-reverse}.form-editor .ff-el-form-bottom .el-form-item__label{padding:10px 0 0}.form-editor .ff-el-form-right .el-form-item__label{text-align:right;padding-right:5px}.form-editor--sidebar{width:40%;background-color:#f3f3f4}.form-editor--sidebar-content{height:90vh;overflow-y:scroll;border-left:1px solid #e2e4e7;padding-bottom:50px}.form-editor--sidebar-content::-webkit-scrollbar{-webkit-appearance:none;display:none}.form-editor--sidebar-content .nav-tab-list li{background-color:#f3f3f4}.form-editor--sidebar-content .nav-tab-list li a{padding:15px}.form-editor--sidebar-content .nav-tab-list li.active{background-color:#f3f3f4;box-shadow:inset 0 -2px #409eff}.form-editor--sidebar-content .nav-tab-list li+li{border-left:1px solid #e3e5e8}.form-editor--sidebar-content .search-element{margin:0;padding:0}.form-editor--sidebar-content .search-element .el-input--small .el-input__inner{height:40px}.form-editor--sidebar-content .search-element-result{padding:16px 15px 15px;margin-top:0!important;border-top:1px solid #e3e5e8}.form-editor--sidebar .nav-tab-items{background-color:transparent}.form-editor--sidebar .ff_advnced_options_wrap{max-height:300px;overflow-y:auto;margin-bottom:10px}.form-editor__body-content{max-width:100%;margin:0 auto}.form-editor__body-content .ff_check_photo_item{float:left;margin-right:10px;margin-bottom:10px}.form-editor__body-content .ff_check_photo_item .ff_photo_holder{width:120px;height:120px;background-size:cover;background-position:50%;background-repeat:no-repeat}div#js-form-editor--body .form-editor__body-content{background-color:#fff;padding:30px 20px 30px 0}#ff_form_editor_app{margin-right:-30px}body.ff_full_screen{overflow-y:hidden}body.ff_full_screen #ff_form_editor_app{margin-right:0}body.ff_full_screen .form-editor--sidebar-content{height:calc(100vh - 56px)}body.ff_full_screen .wrap.ff_form_wrap{background:#fff;color:#444;z-index:100099!important;position:fixed;overflow:hidden;top:0;bottom:0;left:0!important;right:0!important;height:100%;min-width:0;cursor:default;margin:0!important}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu{position:absolute;top:0;left:0;right:0}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu li{opacity:.5}body.ff_full_screen .wrap.ff_form_wrap .form_internal_menu li:hover{opacity:1}body.ff_full_screen div#js-form-editor--body .form-editor__body-content{padding:30px}body{overflow-y:hidden}.styler_row{width:100%;overflow:hidden;margin-bottom:10px}.styler_row .el-form-item{width:50%;float:left}.styler_row.styler_row_3 .el-form-item{width:32%;margin-right:1%}#wp-link-wrap,.el-color-picker__panel,.el-dialog__wrapper,.el-message,.el-notification,.el-notification.right,.el-popper,.el-tooltip__popper,div.mce-inline-toolbar-grp.mce-arrow-up{z-index:9999999999!important}.ff_code_editor textarea{background:#353535!important;color:#fff!important}.el-popper.el-dropdown-list-wrapper .el-dropdown-menu{width:100%}.ff_editor_html{display:block;width:100%;overflow:hidden}.ff_editor_html img.aligncenter{display:block;text-align:center;margin:0 auto}.address-field-option__settings{margin-top:10px}.address-field-option .pad-b-20{padding-bottom:20px!important}.el-form-item .ff_list_inline>div{width:auto!important;float:none!important;margin:0 15px 10px 0;display:-moz-inline-stack;display:inline-block}.el-form-item .ff_list_3col{width:100%}.el-form-item .ff_list_3col>div{width:33.3%;display:-moz-inline-stack;display:inline-block;margin:0 0 2px;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_2col{width:100%}.el-form-item .ff_list_2col>div{width:50%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_4col{width:100%}.el-form-item .ff_list_4col>div{width:25%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_5col{width:100%}.el-form-item .ff_list_5col>div{width:20%;display:-moz-inline-stack;display:inline-block;margin:0;padding-right:16px;min-height:28px;vertical-align:top}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images){width:auto!important;float:none!important;display:-moz-inline-stack;display:inline-block;position:relative;margin:0 0 10px;line-height:1;font-weight:500;white-space:nowrap;vertical-align:middle;cursor:pointer;background:#fff;border:1px solid #dcdfe6;border-left:0;color:#606266;-webkit-appearance:none;text-align:center;box-sizing:border-box;outline:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;padding:6px 20px;border-radius:0}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images) input{opacity:0;outline:none;position:absolute;margin:0;z-index:-1}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images):first-child{border-left:1px solid #dcdfe6;border-radius:4px 0 0 4px;box-shadow:none!important}.el-form-item .ff_list_buttons>div:not(.ff_checkable_images):last-child{border-radius:0 4px 4px 0}#wpwrap{background:#fff}#switchScreen{color:grey;font-size:25px;vertical-align:middle;font-weight:700;margin-left:10px;cursor:pointer}.form-editor--sidebar .el-form--label-top .el-form-item__label{padding-bottom:6px}.ff_setting_menu li{opacity:.5}.ff_setting_menu li:hover{opacity:1}.ff_setting_menu li.active{opacity:.8}.ff_form_name{opacity:.5}.ff_form_name:hover{opacity:1}.ff-navigation-right .btn.copy,.ff-navigation-right>a{opacity:.5}.ff-navigation-right:hover .btn.copy,.ff-navigation-right:hover>a{opacity:1}.editor_play_video{position:absolute;top:373px;right:38%;background:#409eff;padding:10px 20px;color:#fff;border-radius:20px;box-shadow:0 1px 2px 2px #dae9cc;font-size:19px;cursor:pointer}.form-editor .form-editor--sidebar{position:relative}.form-editor .code{overflow-x:scroll}.form-editor .search-element{padding:10px 20px}.form-editor .ff-user-guide{text-align:center;margin-top:-105px;position:relative;z-index:1}.form-editor .post-form-settings label.el-form-item__label{font-weight:500;margin-top:8px;color:#606266}.chained-select-settings .uploader{width:100%;height:130px;position:relative;margin-top:10px}.chained-select-settings .el-upload--text,.chained-select-settings .el-upload-dragger{width:100%;height:130px}.chained-select-settings .el-upload-list,.chained-select-settings .el-upload-list .el-upload-list__item{margin:-5px 0 0}.chained-select-settings .btn-danger{color:#f56c6c}.conditional-logic{margin-bottom:10px}.condition-field,.condition-value{width:30%}.condition-operator{width:85px}.form-control-2{line-height:28;height:28px;border-radius:5px;padding:2px 5px;vertical-align:middle}mark{background-color:#929292!important;color:#fff!important;font-size:11px;padding:5px;display:inline-block;line-height:1}.highlighted .field-options-settings{background-color:#ffc6c6}.flexable{display:flex}.flexable .el-form-item{margin-right:5px}.flexable .el-form-item:last-of-type{margin-right:0}.field-options-settings{margin-bottom:5px;background-color:#f1f1f1;padding:3px 8px;transition:all .5s}.address-field-option .el-form-item{margin-bottom:15px}.address-field-option .el-checkbox+.el-checkbox{margin-left:0}.address-field-option .required-checkbox{margin-right:10px;display:none}.address-field-option .required-checkbox.is-open{display:block}.address-field-option__settings{margin-top:15px;display:none}.address-field-option__settings.is-open{display:block}.el-form-item.ff_full_width_child .el-form-item__content{width:100%;margin-left:0!important}.el-select .el-input{min-width:70px}.input-with-select .el-input-group__prepend{background-color:#fff}.pull-right.top-check-action>label{margin-right:10px}.pull-right.top-check-action>label:last-child{margin-right:0}.pull-right.top-check-action span.el-checkbox__label{padding-left:3px}.item_desc textarea{margin-top:5px;width:100%}.optionsToRender{margin:7px 0}.action-btn{display:inline-block;min-width:32px}.sidebar-popper{max-width:300px;line-height:1.5}.el-form-item .select{height:35px!important;min-width:100%}.address-field-wrapper{margin-top:10px}.chained-Select-template .header{margin-right:5px}.checkable-grids{border-collapse:collapse}.checkable-grids thead>tr>th{padding:7px 10px;background:#f1f1f1}.checkable-grids tbody>tr>td{padding:7px 10px}.checkable-grids tbody>tr>td:not(:first-of-type){text-align:center}.checkable-grids tbody>tr:nth-child(2n)>td{background:#f1f1f1}.checkable-grids tbody>tr:nth-child(2n - 1)>td{background:#fff}.net-promoter-button{border-radius:inherit}.ff-el-net-promoter-tags{display:flex;justify-content:space-between;max-width:550px}.ff-el-net-promoter-tags p{font-size:12px;opacity:.6}.ff-el-rate{display:inline-block}.repeat-field--item{width:calc(100% - 40px);float:left;margin-right:5px;display:flex}.repeat-field--item>div{flex-grow:1;margin:0 3px}.repeat-field--item .el-form-item__label{text-align:left}.repeat-field-actions{margin-top:40px}.section-break__title{margin-top:0;margin-bottom:10px;font-size:18px}.el-form-item .select{width:100%;min-height:35px}.ff-btn{display:inline-block;font-weight:400;text-align:center;white-space:nowrap;vertical-align:middle;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;border:1px solid transparent;padding:6px 12px;font-size:16px;line-height:1.5;border-radius:4px;transition:background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out}.ff-btn:focus,.ff-btn:hover{outline:0;text-decoration:none;box-shadow:0 0 0 2px rgba(0,123,255,.25)}.ff-btn.disabled,.ff-btn:disabled{opacity:.65}.ff-btn-lg{padding:8px 16px;font-size:18px;line-height:1.5;border-radius:6px}.ff-btn-sm{padding:4px 8px;font-size:13px;line-height:1.5;border-radius:3px}.ff-btn-block{display:block;width:100%}.ff-btn-primary{background-color:#409eff;color:#fff}.ff-btn-green{background-color:#67c23a;color:#fff}.ff-btn-orange{background-color:#e6a23c;color:#fff}.ff-btn-red{background-color:#f56c6c;color:#fff}.ff-btn-gray{background-color:#909399;color:#fff}.taxonomy-template .el-form-item .select{width:100%;height:35px!important;min-width:100%}.taxonomy-template .el-form-item .el-checkbox .el-checkbox__inner{border:1px solid #7e8993;border-radius:4px;background:#fff;color:#555;clear:both;height:1rem;margin:-.25rem .25rem 0 0;width:1rem;min-width:1rem;box-shadow:inset 0 1px 2px rgba(0,0,0,.1);transition:border-color .05s ease-in-out}.taxonomy-template .el-form-item .el-checkbox{line-height:19px;display:block;margin:5px 0}.taxonomy-template .el-form-item .el-checkbox .el-checkbox__label{padding-left:5px}.ff_tc{overflow:hidden}.ff_tc .el-checkbox__input{vertical-align:top}.ff_tc .el-checkbox__label{overflow:hidden;word-break:break-word;white-space:break-spaces}.v-row.ff_items_1 .v-col--33,.v-row.ff_items_2 .v-col--33,.v-row .v-col--50:last-child{padding-right:15px}ul.ff_bulk_option_groups{height:300px;overflow:scroll;padding:0;margin:0;list-style:none;border:1px solid #dcdfe5;border-radius:5px}ul.ff_bulk_option_groups li{padding:5px 20px;border-bottom:1px solid #ddd;margin:0;line-height:27px;cursor:pointer}ul.ff_bulk_option_groups li:hover{background:#f5f5f5}.panel{border-radius:8px;border:1px solid #ebebeb;overflow:hidden;margin-bottom:15px}.panel__heading{background:#f5f5f5;border-bottom:1px solid #ebebeb;height:42px}.panel__heading .form-name-editable{float:left;font-size:14px;padding:4px 8px;margin:8px 0 8px 8px;max-width:250px;text-overflow:ellipsis;white-space:nowrap;overflow:hidden;border-radius:2px}.panel__heading .form-name-editable:hover{background-color:#fff;cursor:pointer}.panel__heading .copy-form-shortcode{float:left;padding:4px 8px;margin:8px 0 8px 8px;background-color:#909399;color:#fff;cursor:pointer;border-radius:2px}.panel__heading--btn{padding:3px}.panel__heading .form-inline{padding:5px;float:left}.panel__body{background:#fff;padding:10px 0}.panel__body p{font-size:14px;line-height:20px;color:#666}.panel__body--list{background:#fff}.panel__body--item,.panel__body .panel__placeholder{width:100%;min-height:70px;padding:10px;background:#fff;box-sizing:border-box}.panel__body--item.no-padding-left{padding-left:0}.panel__body--item:last-child{border-bottom:none}.panel__body--item{position:relative;max-width:100%}.panel__body--item.selected{background-color:#eceef1;border:1px solid #eceef1;box-shadow:-3px 0 0 0 #555d66}.panel__body--item>.popup-search-element{transition:all .3s;position:absolute;left:50%;transform:translateX(-50%);bottom:-10px;visibility:hidden;opacity:0;z-index:3}.panel__body--item.is-editor-inserter>.item-actions-wrapper,.panel__body--item.is-editor-inserter>.popup-search-element,.panel__body--item:hover>.item-actions-wrapper,.panel__body--item:hover>.popup-search-element{opacity:1;visibility:visible}.panel__body--item iframe,.panel__body--item img{max-width:100%}.panel .panel__placeholder{background:#f5f5f5}.panel.panel--info .panel__body,.panel>.panel__body{padding:15px}.el-fluid{width:100%!important}.label-block{display:inline-block;margin-bottom:10px;line-height:1;font-weight:500}.form-group{margin-bottom:15px}.form-control{display:block;width:100%;height:34px;padding:6px 12px;font-size:14px;line-height:1.42857143;color:#555;background-color:#fff;background-image:none;border:1px solid #ccc;border-radius:4px;box-shadow:inset 0 1px 1px rgba(0,0,0,.075);transition:border-color .15s ease-in-out,box-shadow .15s ease-in-out}textarea.form-control{height:auto}label.is-required:before{content:"* ";color:red}.el-checkbox-horizontal,.el-radio-horizontal{display:inline-block}.el-checkbox-horizontal .el-checkbox,.el-checkbox-horizontal .el-radio,.el-radio-horizontal .el-checkbox,.el-radio-horizontal .el-radio{display:block;white-space:normal;margin-left:23px;margin-bottom:7px}.el-checkbox-horizontal .el-checkbox+.el-checkbox,.el-checkbox-horizontal .el-checkbox+.el-radio,.el-checkbox-horizontal .el-radio+.el-checkbox,.el-checkbox-horizontal .el-radio+.el-radio,.el-radio-horizontal .el-checkbox+.el-checkbox,.el-radio-horizontal .el-checkbox+.el-radio,.el-radio-horizontal .el-radio+.el-checkbox,.el-radio-horizontal .el-radio+.el-radio{margin-left:23px}.el-checkbox-horizontal .el-checkbox__input,.el-checkbox-horizontal .el-radio__input,.el-radio-horizontal .el-checkbox__input,.el-radio-horizontal .el-radio__input{margin-left:-23px}.form-inline{display:inline-block}.form-inline .el-input{width:auto}.v-form-item{margin-bottom:15px}.v-form-item:last-of-type{margin-bottom:0}.v-form-item label{margin-top:9px;display:inline-block}.settings-page{background-color:#fff}.settings-body{padding:15px}.el-text-primary{color:#20a0ff}.el-text-info{color:#58b7ff}.el-text-success{color:#13ce66}.el-text-warning{color:#f7ba2a}.el-text-danger{color:#ff4949}.el-notification__content{text-align:left}.el-input-group--append .el-input-group__append{left:-2px}.action-buttons .el-button+.el-button{margin-left:0}.el-box-card{box-shadow:none}.el-box-footer,.el-box-header{background-color:#edf1f6;padding:15px}.el-box-body{padding:15px}.el-form-item__force-inline.el-form-item__label{float:left;padding:11px 12px 11px 0}.el-form-item .el-form-item{margin-bottom:10px}.el-form-item__content .line{text-align:center}.el-basic-collapse{border:0;margin-bottom:15px}.el-basic-collapse .el-collapse-item__header{padding-left:0;display:inline-block;border:0}.el-basic-collapse .el-collapse-item__wrap{border:0}.el-basic-collapse .el-collapse-item__content{padding:0;background-color:#fff}.el-collapse-settings{margin-bottom:15px}.el-collapse-settings .el-collapse-item__header{background:#f1f1f1;padding-left:20px}.el-collapse-settings .el-collapse-item__content{padding-bottom:0;margin-top:15px}.el-collapse-settings .el-collapse-item__arrow{line-height:48px}.el-popover{text-align:left}.option-fields-section--content .el-form-item{margin-bottom:10px}.option-fields-section--content .el-form-item__label{padding-bottom:5px;font-size:13px;line-height:1}.option-fields-section--content .el-input__inner{height:30px;padding:0 8px}.option-fields-section--content .el-form-item__content{line-height:1.5;margin-bottom:5px}.option-fields-section--content .el-input-number--mini{line-height:28px}.el-dropdown-list{border:0;margin:5px 0;box-shadow:none;padding:0;z-index:10;position:static;min-width:auto;max-height:280px;overflow-y:scroll}.el-dropdown-list .el-dropdown-menu__item{font-size:13px;line-height:18px;padding:4px 10px;border-bottom:1px solid #f1f1f1}.el-dropdown-list .el-dropdown-menu__item:last-of-type{border-bottom:0}.el-form-nested.el-form--label-left .el-form-item__label{float:left;padding:10px 5px 10px 0}.el-message{top:40px}.el-button{text-decoration:none}.form-editor-elements:not(.el-form--label-left):not(.el-form--label-right) .el-form-item__label{line-height:1}.folded .el-dialog__wrapper{left:36px}.el-dialog__wrapper{left:160px}.ff-el-banner{width:200px;height:250px;border:1px solid #dce0e5;float:left;display:inline-block;padding:5px;transition:border .3s}.ff-el-banner,.ff-el-banner-group{overflow:hidden}.ff-el-banner-group .ff-el-banner{margin-right:10px;margin-bottom:30px}.ff-el-banner+.ff-el-banner{margin-right:10px}.ff-el-banner img{width:100%;height:auto;display:block}.ff-el-banner-header{text-align:center;margin:0;background:#909399;padding:3px 6px;font-size:13px;color:#fff;font-weight:400}.ff-el-banner-inner-item{position:relative;overflow:hidden;height:inherit}.ff-el-banner:hover .ff-el-banner-text-inside{opacity:1!important;visibility:visible!important}.ff-el-banner-text-inside{display:flex;justify-content:center;flex-direction:column}.ff-el-banner-text-inside-hoverable{position:absolute;transition:all .3s;color:#fff;top:0;left:0;right:0;bottom:0;padding:10px}.ff-el-banner-text-inside .form-title{color:#fff;margin:0 0 10px}.ff_backdrop{background:rgba(0,0,0,.5);position:fixed;top:0;left:0;right:0;bottom:0;z-index:999999999}.compact td>.cell,.compact th>.cell{white-space:nowrap}.list-group{margin:0}.list-group>li.title{background:#ddd;padding:5px 10px}.list-group li{line-height:1.5;margin-bottom:6px}.list-group li>ul{padding-left:10px;padding-right:10px}.flex-container{display:flex;align-items:center}.flex-container .flex-col{flex:1 100%;padding-left:10px;padding-right:10px}.flex-container .flex-col:first-child{padding-left:0}.flex-container .flex-col:last-child{padding-right:0}.hidden-field-item{background-color:#f5f5f5;margin-bottom:10px}.form-step__wrapper.form-step__wrapper{background:#f5f5f5;border:1px solid #f0f0f0;padding:10px}.form-step__start{border-radius:3px 3px 0 0;margin-bottom:10px;border-radius:0 0 3px 3px}.step-start{margin-left:-10px;margin-right:-10px}.step-start__indicator{text-align:center;position:relative;padding:5px 0}.step-start__indicator strong{font-size:14px;font-weight:600;color:#000;background:#f5f5f5;padding:3px 10px;position:relative;z-index:2}.step-start__indicator hr{position:absolute;top:7px;left:10px;right:10px;border:0;z-index:1;border-top:1px solid #e3e3e3}.vddl-list{padding-left:0;min-height:70px}.vddl-placeholder{width:100%;min-height:70px;border:1px dashed #cfcfcf;background:#f5f5f5}.empty-dropzone{height:70px;border:1px dashed #cfcfcf;margin:0 10px}.empty-dropzone.vddl-dragover{border-color:transparent;height:auto}.popup-search-element{display:inline-block;cursor:pointer;font-style:normal;background:#009fff;color:#fff;width:23px;height:23px;line-height:20px;font-size:16px;border-radius:50%;text-align:center;font-weight:700}.empty-dropzone-placeholder{display:table-cell;text-align:center;width:1000px;height:inherit;vertical-align:middle}.empty-dropzone-placeholder .popup-search-element{background-color:#676767;position:relative;z-index:2}.field-option-settings .section-heading{font-size:15px;margin-top:0;border-bottom:1px solid #f5f5f5;margin-bottom:1rem;padding-bottom:8px}.item-actions-wrapper{top:0;opacity:0;z-index:3;position:absolute;transition:all .3s;visibility:hidden}.item-actions{background-color:#000}.item-actions .icon{color:#fff;cursor:pointer;padding:7px 10px}.item-actions .icon:hover{background-color:#409eff}.hover-action-top-right{top:-12px;right:15px}.hover-action-middle{left:0;width:100%;height:100%;border:1px solid #e3e5e8;display:flex;align-items:center;justify-content:center;background-color:hsla(0,0%,87.1%,.3764705882352941)}.item-container{border:1px dashed #ffb900;display:flex}.item-container .col{box-sizing:border-box;flex-grow:1;border-right:1px dashed #ffb900;flex-basis:0;background:rgba(255,185,0,.08)}.item-container .col .panel__body{background:transparent}.item-container .col:last-of-type{border-right:0}.ff-el-form-left .el-form-item__label,.ff-el-form-right .el-form-item__label{padding-right:10px;float:left!important;width:120px;line-height:40px;padding-bottom:0}.ff-el-form-left .el-form-item__content,.ff-el-form-right .el-form-item__content{margin-left:120px}.ff-el-form-left .el-form-item__label{text-align:left}.ff-el-form-right .el-form-item__label{text-align:right}.ff-el-form-top .el-form-item__label{text-align:left;padding-bottom:10px;float:none;display:inline-block;line-height:1}.ff-el-form-top .el-form-item__content{margin-left:auto!important}.action-btn .icon{cursor:pointer;vertical-align:middle}.sr-only{border:0;clip:rect(1px,1px,1px,1px);-webkit-clip-path:inset(50%);clip-path:inset(50%);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;word-wrap:normal!important}.editor-inserter__wrapper{height:auto;position:relative}.editor-inserter__wrapper:before{border:8px solid #e2e4e7}.editor-inserter__wrapper:after{border:8px solid #fff}.editor-inserter__wrapper:after,.editor-inserter__wrapper:before{content:" ";position:absolute;left:50%;transform:translateX(-50%);border-bottom-style:solid;border-left-color:transparent;border-right-color:transparent}.editor-inserter__wrapper.is-bottom:after,.editor-inserter__wrapper.is-bottom:before{border-top:none}.editor-inserter__wrapper.is-bottom:before{top:-9px}.editor-inserter__wrapper.is-bottom:after{top:-7px}.editor-inserter__wrapper.is-top:after,.editor-inserter__wrapper.is-top:before{border-bottom:none}.editor-inserter__wrapper.is-top:before{bottom:-9px}.editor-inserter__wrapper.is-top:after{bottom:-7px}.editor-inserter__contents{height:235px;overflow:scroll}.editor-inserter__content-items{display:flex;flex-wrap:wrap;padding:10px}.editor-inserter__content-item{width:33.33333%;text-align:center;padding:15px 5px;cursor:pointer;border-radius:4px;border:1px solid transparent}.editor-inserter__content-item:hover{box-shadow:1px 2px 3px rgba(0,0,0,.15);border-color:#bec5d0}.editor-inserter__content-item .icon{font-size:18px}.editor-inserter__content-item .icon.dashicons{font-family:dashicons}.editor-inserter__content-item div{overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.editor-inserter__search.editor-inserter__search{width:100%;border-radius:0;height:35px;padding:6px 8px;border-color:#e2e4e7}.editor-inserter__tabs li{width:25%}.editor-inserter__tabs li a{padding:10px 6px}.search-popup-wrapper{position:fixed;z-index:3;background-color:#fff;box-shadow:0 3px 20px rgba(25,30,35,.1),0 1px 3px rgba(25,30,35,.1);border:1px solid #e2e4e7}.userContent{max-height:200px;border:1px solid #ebedee;padding:20px;overflow:scroll}.address-field-option{margin-bottom:10px;padding-bottom:10px;margin-left:-10px;padding-left:10px}.address-field-option .el-icon-caret-top,.address-field-option>.el-icon-caret-bottom{font-size:18px}.address-field-option .address-field-option__settings.is-open{padding:10px 15px 0;background:#fff}.address-field-option:hover{box-shadow:-5px 0 0 0 #409eff}.vddl-list__handle_scrollable{max-height:190px;overflow:scroll;width:100%;margin-bottom:10px;background:#fff;padding:5px 10px;margin-top:5px}.entry_navs a{text-decoration:none;padding:2px 5px}.entry_navs a.active{background:#20a0ff;color:#fff}.entry-multi-texts{width:100%}.entry-multi-texts .mult-text-each{float:left;margin-right:2%;min-width:30%}.ff_entry_user_change{display:inline-block;float:right}.addresss_editor{background:#eaeaea;padding:10px 20px;overflow:hidden;display:block;width:100%;margin-left:-20px}.addresss_editor .each_address_field{width:45%;float:left;padding-right:5%}.repeat_field_items{overflow:hidden;display:flex;flex-direction:row;flex-wrap:wrap;width:100%}.repeat_field_items .field_item{display:flex;flex-direction:column;flex-basis:100%;flex:1;padding-right:20px}.repeat_field_items .field_item.field_item_action{display:block!important;flex:0.35;padding-right:0}.ff-table,.ff_entry_table_field,table.editor_table{display:table;width:100%;text-align:left;border-collapse:collapse;white-space:normal}.ff-table td,.ff_entry_table_field td,table.editor_table td{border:1px solid #e4e4e4;padding:7px;text-align:left}.ff-table th,.ff_entry_table_field th,table.editor_table th{border:1px solid #e4e4e4;padding:0 7px;background:#f5f5f5}.ff-payment-table tbody td{padding:15px 10px}.ff-payment-table thead th{padding:15px 10px;font-weight:500;font-size:120%}.ff-payment-table tfoot th{padding:10px}.ff-payment-table tfoot .text-right{text-align:right}.ff_list_items li{display:block;list-style:none;padding:7px 0;overflow:hidden}.ff_list_items li:hover{background:#f7fafc}.ff_list_items li .ff_list_header{width:180px;float:left;font-weight:700;color:#697386}.ff_list_items li .ff_list_value{color:#697386}.ff_card_badge{background-color:#d6ecff;border-radius:20px;padding:2px 8px;color:#3d4eac;font-weight:500;text-transform:capitalize}.edit_entry_view .el-form-item>label{font-weight:700}.edit_entry_view .el-form-item{margin:0 -20px;padding:10px 20px}.edit_entry_view .el-form-item:nth-child(2n){background:#f9f7f7}.edit_entry_view .el-dialog__footer{margin:20px -20px -25px;border-bottom-left-radius:5px;border-bottom-right-radius:5px;border-top:2px solid #dcdfe6}.fluentform-wrapper .json_action{cursor:pointer}.fluentform-wrapper .show_code{width:100%;min-height:500px;background:#2e2a2a;color:#fff;padding:20px;line-height:24px}.fluentform-wrapper .entry-details{background-color:#fff}.fluentform-wrapper .entry-details .table{width:100%;border-collapse:collapse}.fluentform-wrapper .entry-details .table tr:nth-child(2n),.fluentform-wrapper .entry-details .table tr:nth-child(odd){background-color:#fff}.fluentform-wrapper .entry-details .table tr td{padding:8px 10px}.fluentform-wrapper .entry-title{font-size:17px;margin:0;border-bottom:1px solid #fdfdfd;padding:15px}.fluentform-wrapper .entry-body,.fluentform-wrapper .entry-field,.fluentform-wrapper .entry-value{padding:6px 10px}.fluentform-wrapper .entry-footer{padding:10px;text-align:right;border-top:1px solid #ddd;background:#f5f5f5}.response_wrapper .response_header{font-weight:700;background-color:#eaf2fa;border-bottom:1px solid #fff;line-height:1.5;padding:7px 7px 7px 10px}.response_wrapper .response_body{border-bottom:1px solid #dfdfdf;padding:7px 7px 15px 40px;line-height:1.8;overflow:hidden}.response_wrapper .response_body *{box-sizing:border-box}.ff-table{width:100%;border-collapse:collapse;text-align:left}.ff-table thead>tr>th{padding:7px 10px;background:#f1f1f1}.ff-table tbody>tr>td{padding:7px 10px}.ff-table tbody>tr:nth-child(2n)>td{background:#f1f1f1}.ff-table tbody>tr:nth-child(2n - 1)>td{background:#fff}.input-image{height:auto;width:150px;max-width:100%;float:left;margin-right:10px}.input-image img{width:100%}.input_file_ext{width:100%;display:block;background:#eee;font-size:16px;text-align:center;color:#a7a3a3;padding:15px 10px}.input_file_ext i{font-size:22px;display:block;color:#797878}.input_file a,.input_file a:hover{text-decoration:none}.entry_info_box{box-shadow:0 7px 14px 0 rgba(60,66,87,.1),0 3px 6px 0 rgba(0,0,0,.07);border-radius:4px;background-color:#fff;margin-bottom:30px}.entry_info_box .entry_info_header{padding:16px 20px;box-shadow:inset 0 -1px #e3e8ee}.entry_info_box .entry_info_header .info_box_header{line-height:24px;font-size:20px;font-weight:500;font-size:16px;display:inline-block}.entry_info_box .entry_info_header .info_box_header_actions{display:inline-block;float:right;text-align:right}.entry_info_box .entry_info_body{padding:16px 20px}.wpf_each_entry{margin:0 -20px;padding:12px 20px;box-shadow:inset 0 -1px 0 #f3f4f5}.wpf_each_entry:last-child{box-shadow:none}.wpf_each_entry:hover{background-color:#f7fafc}.wpf_each_entry .wpf_entry_label{font-weight:700;color:#697386}.wpf_each_entry .wpf_entry_value{margin-top:8px;padding-left:25px;white-space:pre-line}.entry_info_body.narrow_items{padding:0 15px 15px}.entry_info_body.narrow_items .wpf_each_entry{margin:0 -15px;padding:10px 15px}.entry_info_body.narrow_items .wpf_each_entry p{margin:5px 0}.entry_header{display:block;overflow:hidden;margin:0 0 15px}.entry_header h3{margin:0;line-height:31px}.wpf_entry_value input[type=checkbox]:disabled:checked{opacity:1!important;border:1px solid #65afd2}.wpf_entry_value input[type=checkbox]:disabled{opacity:1!important;border:1px solid #909399}a.input-image{border:1px solid #e3e8ee}a.input-image:hover{border:1px solid grey}a.input-image:hover img{opacity:.8}.show_on_hover{display:none}.el-table__row:hover .show_on_hover{display:inline-block}.show_on_hover [class*=el-icon-],.show_on_hover [class^=el-icon-]{font-size:16px}.inline_actions{margin-left:5px}.inline_item.inline_actions{display:inline-block}.action_button{cursor:pointer}.current_form_name button.el-button.el-button--default.el-button--mini{max-width:170px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.entries_table{overflow:hidden}.compact_input{margin-left:10px}.compact_input span.el-checkbox__label{padding-left:5px}.report_status_filter label.el-checkbox{display:block;margin-left:0!important;padding-left:0;margin-bottom:7px}.ff_report_body{width:100%;min-height:20px}@media print{.ff_nav_action,.form_internal_menu,div#adminmenumain,div#wpadminbar{display:none}.ff_chart_switcher,.ff_print_hide{display:none!important}div#wpcontent{margin-left:0;padding-left:0}html.wp-toolbar{padding:0}.wrap.ff_form_wrap,div#wpcontent{background:#fff}.ff_report_body{position:absolute;top:0;left:10px;right:10px}.ff_form_application_container{margin-top:0!important}.all_report_items{width:100%!important}.ff-table{width:auto;border-collapse:collapse;text-align:left;float:right}}.ff_report_card{display:block;width:100%;margin-bottom:20px;border-radius:10px;background:#fff}.ff_report_card .report_header{padding:10px 20px;border-bottom:1px solid #e4e4e4;font-weight:700}.ff_report_card .report_header .ff_chart_switcher{display:inline-block;float:right}.ff_report_card .report_header .ff_chart_switcher span{cursor:pointer;color:#bbb}.ff_report_card .report_header .ff_chart_switcher span.active_chart{color:#f56c6c}.ff_report_card .report_header .ff_chart_switcher span.ff_rotate_90{transform:rotate(90deg)}.ff_report_card .report_body{padding:20px;overflow:hidden}.ff_report_card .report_body .chart_data{width:50%;float:right;padding-left:20px}.ff_report_card .report_body .ff_chart_view{width:50%;float:left;max-width:380px}ul.entry_item_list{padding-left:30px;list-style:disc;list-style-position:initial;list-style-image:none;list-style-type:disc}.star_big{font-size:20px;display:inline-block;margin-right:5px;vertical-align:middle!important}.wpf_each_entry ul{padding-left:20px;list-style:disc}.el-table-column--selection .cell{text-overflow:clip!important}.payments_wrapper{margin-top:20px}.payments_wrapper *{box-sizing:border-box}.ff-payment_details .payment_header{box-shadow:0 7px 14px 0 rgba(60,66,87,.1),0 3px 6px 0 rgba(0,0,0,.07);background:#fff;padding:0 20px}.payment_header{margin-top:20px;margin-bottom:20px;display:block}.payment_header .payment_title{display:inline-block;margin-right:20px;font-size:23px}.payment_header .payment_head_top{width:100%;overflow:hidden;display:block;padding-top:10px;padding-bottom:15px}.payment_header .payment_head_top p{padding:0;margin:0}.payment_header .payment_head_top p.head_small_title{color:#697386;font-size:14px;padding-bottom:10px;display:block;overflow:hidden;position:relative}.payment_header .payment_head_top .head_payment_amount .pay_amount{font-size:20px;line-height:28px}.payment_header .payment_head_top .payment_header_left{width:48%;float:left}.payment_header .payment_head_top .payment_header_right{width:48%;float:right;text-align:right}.payment_header .payment_head_bottom{margin:2px -20px 0;padding:10px 20px 20px;box-shadow:0 -2px #e3e8ee;background-color:#f7fafc}.payment_header .payment_head_bottom .info_block{display:inline-block;margin-right:20px;box-shadow:inset -1px 0 #e3e8ee;padding-right:20px}.payment_header .payment_head_bottom .info_block:last-child{box-shadow:none;padding-right:0;margin-right:0}.payment_header.subscripton_item{margin:-15px -20px 20px;background-color:#f7fafc}.payment_header.subscripton_item:last-child{margin-bottom:-15px}.payment_header.subscripton_item .payment_head_bottom{background-color:#fff}.payment_header.subscripton_item .payment_head_top{background-color:#f7fafc}.payment_header.subscripton_item th{padding:7px 10px;background:#f1f1f1;font-weight:500;font-size:120%}.payment_header .table_payment_amount{font-size:16px}.payment_header .payment_currency{text-transform:uppercase}.ff-error{background:#ff9800}.ff-error,.ff-success{color:#fff;padding:10px}.ff-success{background:#4caf50}.payment_header{overflow:hidden}.payment_header .payment_actions{float:right}.entry_chart{padding:10px;background:#fff;margin:20px 0;box-shadow:0 2px 12px 0 rgba(0,0,0,.1)}.el-table .warning-row{background:#fdf5e6}span.ff_payment_badge{padding:0 10px 2px;border:1px solid grey;border-radius:9px;margin-left:5px;font-size:12px}tr.el-table__row td{padding:18px 0}.pull-right.ff_paginate{margin-top:20px}.payment_details{margin-top:10px;padding-top:10px;border-top:1px solid #ddd}.add_note_wrapper{padding:20px}.fluent_notes .fluent_note_content{background:#eaf2fa;padding:10px 15px;font-size:13px;line-height:160%}.fluent_notes .fluent_note_meta{padding:5px 15px;font-size:11px}.wpf_add_note_box button{float:right;margin-top:15px}.wpf_add_note_box{overflow:hidden;display:block;margin-bottom:30px;border-bottom:1px solid #dcdfe6;padding-bottom:30px}span.ff_tag{background:#697386;color:#fff;padding:2px 10px;border-radius:10px;font-size:10px}.el-table .cell.el-tooltip{max-height:50px;overflow:hidden}.form-editor--sidebar{position:relative}.code{overflow-x:scroll}.search-element{padding:10px 20px}.ff-user-guide{text-align:center;margin-top:-105px;position:relative;z-index:1}.post-form-settings label.el-form-item__label{font-weight:500;margin-top:8px;color:#606266}.transaction_item_small{margin:0 -20px 20px;padding:10px 20px;background:#f5f5f5}.transaction_item_heading{display:block;border-bottom:1px solid grey;margin:0 -20px 20px;padding:10px 20px}.transaction_heading_title{display:inline-block;font-size:16px;font-weight:500}.transaction_heading_action{float:right;margin-top:-10px}.transaction_item_line{padding:0;font-size:15px;margin-bottom:10px}.transaction_item_line .ff_list_value{background:#ff4;padding:2px 6px}.ff_badge_status_pending{background-color:#ffff03}.ff_badge_status_paid{background:#67c23a;color:#fff}.entry_submission_log .wpf_entry_label{margin-bottom:10px}.entry_submission_log_component{font-weight:700;text-transform:capitalize}.entry_submission_log .log_status_error,.entry_submission_log .log_status_failed{background:#c23434}.entry_submission_log .log_status_success{background:#348938}.ff_pay_status_badge{background-color:#d6ecff;border-radius:20px;padding:2px 8px;color:#3d4eac;font-weight:500;text-transform:capitalize}.ff_pay_status_badge.ff_pay_status_pending{background-color:#ffc107;color:#fff}.ff_pay_status_badge.ff_pay_status_failed{background:#f44336;color:#fff}@media (max-width:768px){.form_internal_menu{width:100%;left:0!important;top:44px!important}.form_internal_menu .ff-navigation-right{display:none}.form_internal_menu ul.ff_setting_menu{float:right;padding-right:10px!important}.form_internal_menu ul.ff_setting_menu li a{padding:10px 3px!important}.form_internal_menu .ff_form_name{padding:10px 5px!important;max-width:120px!important}.ff_nav_action{float:right!important;text-align:left!important}div#wpbody-content{padding-right:10px!important}input[type=date],input[type=datetime-local],input[type=datetime],input[type=email],input[type=month],input[type=number],input[type=password],input[type=search],input[type=tel],input[type=text],input[type=time],input[type=url],input[type=week]{min-height:30px}.ff_form_main_nav .plugin-name{display:none}.row-actions{display:inline-block!important}.el-form .el-form-item .el-form-item__label{width:100%!important}.el-form .el-form-item .el-form-item__content{margin-left:0!important}.ff_settings_container{margin:0!important;padding:0 10px!important}.ff_settings_wrapper .ff_settings_sidebar{width:120px!important}.ff_settings_wrapper .ff_settings_sidebar ul.ff_settings_list li a{padding:10px 5px;font-size:10px}.settings_app{min-width:500px}.el-tabs__content{padding:20px 10px!important}.wpf_each_entry a{word-break:break-all}div#js-form-editor--body{padding:20px 0}div#js-form-editor--body .form-editor__body-content{padding:60px 0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu{top:0!important}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{display:block}}@media (max-width:425px){.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right{margin-right:0}.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right a,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right button,.wrap.ff_form_wrap.ff_screen_editor .form_internal_menu .ff-navigation-right span{font-size:10px;padding:5px 4px!important;margin:0 3px}#ff_form_entries_app .ff_nav_top .ff_nav_action,#ff_form_entries_app .ff_nav_top .ff_nav_title{width:100%;margin-bottom:10px}.form_internal_menu{position:relative;display:block!important;background:#fff;overflow:hidden;top:0!important;margin:0 -10px;width:auto}.form_internal_menu ul.ff_setting_menu li a{font-size:11px}.ff_form_application_container{margin-top:0!important}.ff_form_main_nav .ninja-tab{font-size:12px;padding:10px 5px;margin:0}ul.el-pag